body {
    background-color: #f1f4f7;
    background-position: center top;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    line-height: 1.7;
    color: #292929;
}

h1,
h2,
h3 {
    font-weight: 700;
}

.bld {
    font-weight: 800;
    font-size: 1.1em;
}

.txt8 {
    font-size: 0.8em;
}

.txt7 {
    font-size: 0.7em;
}

.link-txt {
    text-decoration-line: underline;
}

.cyan {
    color: #40dfea;
}

.status-preparing {
    display: inline-flex;
    align-items: center;
    width: 90px;
    gap: 6px;
    background-color: #bcb8b8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 0px 12px;
    border-radius: 9999px;
    letter-spacing: 0.03em;
    margin-top: -4px;
}

.ext-icon::after {
    content: "\f35d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 2px;
    font-size: 0.9em;
    color: currentColor;
    vertical-align: bottom;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 10px;
    position: relative;
    z-index: 2; /* ヘッダー写真より前面に出す */
}

/*　--------------------
hover
--------------------  */
.shitsumon-blocks a,
.top-info-bar a,
.btn_entry,
.event-map,
.videoURL,
.speech-detail a,
.archive-header a,
.iken a,
footer a {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.shitsumon-blocks a:hover,
.top-info-bar a:hover,
.btn_entry:hover,
.event-map:hover,
.videoURL:hover,
.speech-detail a:hover,
.archive-header a:hover,
.iken a:hover,
footer a:hover {
    opacity: 0.4;
}

/* -----------------------------
news
----------------------------- */
.top-info-bar {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #292929;
    text-align: center;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-info-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #292929;
    text-underline-offset: 3px;
    transition: opacity 0.25s ease;
}

.top-info-link:hover {
    opacity: 0.7;
}

.top-info-badge {
    display: inline-block;
    background-color: #fabe00;
    color: #001eb4;
    font-size: 12px;
    font-weight: 700;
    padding: 1px 7px;
}

/*　--------------------
footer
--------------------  */
footer {
    background-color: #a5eaef;
    text-align: center;
    padding: 80px 0;
    margin: 80px 0 0;
}

.footer-items {
    width: 400px;
    display: block;
    margin: auto;
    text-align: center;
}

.footer-name {
    width: 260px;
    display: block;
    margin: auto;
}

.footer-logos {
    display: block;
    margin: 20px 0;
}

.footer-logos ul li {
    display: inline-block;
    width: 50px;
    margin: 0 8px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 36px;
    background-color: #ffffff;
    color: #292929;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    margin: 0 0 24px;
}

.logo-kkmn {
    display: inline-block;
    margin: auto;
    width: 120px;
}

.copy {
    display: block;
    font-size: 12px;
}

#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;

    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #091e94;

    border: none;
    outline: none;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.1s ease;
}

/* スクロール後に付与するクラス */
#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#backToTopBtn.show:hover {
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

/* 白い上向き矢印（くの字）の描画 */
.arrow-up {
    width: 20px;
    height: 20px;
    /* 上と左だけ太い枠線を付ける */
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    /* 45度回転させて上向きの矢印にする */
    transform: rotate(45deg);
    /* 視覚的な中央揃えの微調整 */
    margin-top: 8px;
}

/* -----------------------------



以下レスポンシブ



----------------------------- */
@media screen and (max-width: 768px) {
    body {
        background-color: #fff;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        line-height: 1.7;
        color: #292929;
    }

    .top-info-bar {
        padding: 14px 16px;
        font-size: 13px;
        text-align: left;
    }

    .top-info-link {
        display: block;
        line-height: 1.6;
    }

    .top-info-badge {
        white-space: nowrap;
        margin-right: 6px;
        vertical-align: 2px;
    }
    footer {
        padding: 60px 0;
        margin: 60px 0 0;
    }

    .footer-items {
        width: 80%;
    }

    .footer-name {
        width: 230px;
        display: block;
        margin: auto;
    }

    .footer-logos {
        display: block;
        margin: 20px 0 10px;
    }

    .footer-logos ul li {
        display: inline-block;
        width: 44px;
        margin: 0 4px;
    }

    .btn-contact {
        gap: 2px;
        padding: 6px 40px;
        font-size: 18px;
        margin: 0 0 20px;
    }

    .logo-kkmn {
        display: inline-block;
        margin: 0 auto 10px;
        width: 100px;
    }

    .copy {
        display: block;
        font-size: 12px;
    }
}
