/* common.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP",
                "Hiragino Sans", "Hiragino Kaku Gothic ProN",
                "Yu Gothic UI", "Yu Gothic", Meiryo,
                sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    font-feature-settings: "palt";  /* 約物の詰め */
    font-synthesis-weight: none;    /* 疑似ボールド禁止（にじみ対策）*/
    background: url('../images/background-texture.webp') repeat;
}
main {
    background-color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

h1.header-logo {
    transition: 0.4s;
}
/* 各セクションの説明用の非表示見出し */
h2.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* テキストが途中で改行されないように */
    border: 0;
    font-size: 0; /* フォントサイズを0にして、テキストが表示されないように */
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    text-align: center;
}

section.bg-img {
    width: 100%;
    /* height: 0; */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.action-buttons-section {
    padding: 0 0 30px 0; /* 上下の余白 */
    /* background-color: #f9f9f9; など、セクション全体の背景色 */
}
section.emergency {
    height: auto;
     position: relative; /* 説明文の位置の起点になる */
}
section.emergency-description {
    padding: 20px auto; /* 上下の余白 */
    box-sizing: border-box;
}

/* 点線下線（Q&AとSPのナビメニューに使用） */
.dotted-seperate-line {
    border-bottom: 1px dotted #1a1a1a;
    text-decoration: none;
}

footer {
    background-color: #999999;
    color: #fff;
    text-align: center;
}
footer > a > img {
    margin-top: 20px;
    margin-bottom: 20px;
}
footer > div.flex-callnum {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
body > footer p {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin: 0 auto;
    max-width: 600px; /* テキストの最大幅 */
}
body > footer > p.copyright {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
}