/*ネストなってるらしい*/
.body {
    overflow-x: hidden;
    background-color: #eeeeee;
}

body {
    font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
    z-index: 1;
}

.footer{
    margin-top: 5rem;
}
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

a {
    z-index: 0 !important;
}

.grade-nav {
    z-index: 0 !important;
}

tbody {
    z-index: 0 !important;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

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

    color: white;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .5);
}

.hero-number {
    font-size: 1.2rem;
    letter-spacing: .4em;
}

.hero h1 {
    font-family: "Zen Antique Soft", serif;
    font-size: 6rem;
    font-weight: 400;
}

.hero-school {
    margin-top: 15px;
    font-size: 1.2rem;
    letter-spacing: .2em;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;

    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            white);
}

.top-menu {
    width: min(1200px, 90%);
    margin: 70px auto;

    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.menu-button {

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

    width: 220px;
    height: 58px;

    border-radius: 999px;

    text-decoration: none;

    color: #333;
    font-weight: 600;

    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, .9);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .08);

    transition: .35s;
}

.menu-button:hover {

    transform: translateY(-5px);

    background: white;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .15);

}

.news {

    width: min(1000px, 90%);
    margin: auto;

}

.news h2 {

    font-family: "Josefin Sans", sans-serif;

    font-size: 3rem;

    margin-bottom: 40px;

}

.news-item {

    border-bottom: 1px solid #ffffff;
    padding: 20px 0;

}

.news-item summary {

    cursor: pointer;

    list-style: none;

}

.news-item summary::-webkit-details-marker {
    display: none;
}

.news-item summary::after {

    content: "▼";

    float: right;

    transition: .3s;

}

.news-item[open] summary::after {

    transform: rotate(180deg);

}

.news-content {

    padding: 20px 0 10px;
    line-height: 2;

}

.main_title {
    background-image: url(/images/background.jpg);
    background-size: cover;
    padding: 120px 1.2rem 1.2rem 5rem;
    position: fixed;
    top: 1.3rem;
    width: 100%;
    font-family: "Zen Antique Soft", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;

    h3 {
        font-size: 50px;
    }

    h1 {
        font-size: 130px;
    }

    p {
        font-size: 25px;
    }
}

.count_down {
    position: fixed;
    display: flex;
    justify-content: right;
    padding: 1rem 5rem 1rem 1rem;
    width: 100%;
    font-family: "Zen Antique Soft", serif;
    font-weight: 400;

    .number {
        font-family: "Zen Antique Soft", serif;
        font-weight: 400;
        font-size: 400%;

    }
}

.strong-chara {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: inherit;
}

.large-chara {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
    font-family: inherit;
}

.normal-chara {
    font-size: 1.0rem;
    font-family: inherit;
    font-weight: 500;
}

.class-select {
    border: 1px solid black;
    border-radius: 10px;
    padding: 0.3rem;
    margin: 0.2rem;
    font-size: 1rem;
    text-align: center;
}

.pointer {
    cursor: pointer;
}

.menu-open {
    display: none;
}

.active {
    display: block;
    margin: auto;
}

.inactive {
    display: none;
}

.update-button {
    border: 1px solid black;
    border-radius: 10px;
    background-color: #addded;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    margin: 0.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: absolute;
    right: 10%;
}

.turnstile-error-container {
    background-color: #dd4433;
    font-family: arial;
    font-weight: bold;
    color: white;
}

.modal-open {
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    position: fixed;
}

button:hover,
.guest-submit-button:hover,
.submit-button:hover,
.scan-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 3px 0px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.1s ease !important;
}

.alert-message,
.success-message {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    margin-top: 1.2rem !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    text-align: center !important;
    box-sizing: border-box !important;

    white-space: normal !important;
    word-break: break-all !important;
}

.alert-message {
    color: #d32f2f !important;
    background-color: #ffebee !important;
    border: 2px solid #ef5350 !important;
}

.success-message {
    color: #2e7d32 !important;
    background-color: #e8f5e9 !important;
    border: 2px solid #66bb6a !important;
}

.monitor-link-container {
    text-align: right;
}

.monitor-link {
    text-decoration: none;
    color: rgba(100, 100, 100, 0.8);
    margin: 0.2rem;
    display: inline-block;
    font-weight: 700;

}

.grade-title {
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 8px solid #0b3962;
    color: #0b3962;
    font-size: 1.6rem;
    font-weight: 700;
}

.kuniidQR {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.input-field::placeholder {
    color: rgba(55, 55, 55, 0.5);
}

.notice {
    border-radius: 10px;
    border: 1px solid #aa4444;
    background-color: rgba(170, 44, 44, 0.5);
    padding: 0.4rem;
    font-family: inherit;
    font-weight: 700;
    color: black;
    margin: 1rem;
}

@media(min-width: 481px) {

    /*画面幅が481px以上のときに適用されるCSS*/
    .body {
        overflow-x: hidden;
        background-color: #eeeeee;
    }

    .allpage {
        margin: 0 auto;
        padding-left: 10%;
        padding-right: 10%;
        position: relative;

    }


    .header1 {
        margin: 0 auto;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 10%;
        background-color: #eeeeee;
        font-family: serif;
        font-size: 1.5rem;
        align-items: center;
        word-spacing: 0.2rem;
        position: relative;
    }

    .header2 {
        margin: 0 auto;
        font-family: serif;
        font-size: 2.0rem;
        font-weight: 500;
        width: 100%;
        background-color: #addded;
        padding-left: 10%;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
    }

    .kunikousai2026 {
        font-weight: bold;
        word-spacing: 1.0rem;
        max-width: 1200px;
        font-family: serif;
    }

    .footercontainer {
        position: absolute;
        width: 100%;
        background-color: #addded;
        text-align: center;
        padding: 20px 0;
       z-index: 1000;
        margin-top: 20px;
    }

    .footertitle {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .strong-chara {
        font-weight: 750;
    }

    /*以下ログイン、ログアウト関連*/
    .login-container {
        position: relative;
        align-items: center;
    }

    .reception-numberbox {
        border: 1px solid black;
        border-radius: 10px;
        background-color: #ffffff;
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    .login-button {
        background-color: #3399bb;
        border: 1px solid black;
        border-radius: 10px;
        padding: 0.5rem 1rem;
        margin-top: 2rem;
        font-size: 1.5rem;
        cursor: pointer;
        color: white;
    }

    .guestinfocard-wrapper {
        display: flex;
        flex-wrap: nowrap;
        justify-content: left;
        max-width: 100%;
        padding: 0.5rem;
        padding-top: 1rem;
        gap: 20px;
        overflow-x: auto;
        -ms-overflow-style: none;
        /* IE, Edge */
        scrollbar-width: none;
        /* Firefox * でスクロールバーを非表示に*/
    }

    .guestinfocard {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
        width: 15rem;
        padding: 1rem;
        flex-shrink: 0;
    }

    .guestinfo-container {
        background-color: #ffffff !important;
        border: 3px solid #333333 !important;
        border-radius: 12px !important;
        box-shadow: 0 0.4rem 0px rgba(0, 0, 0, 0.15) !important;
        padding: 1.5rem !important;
        box-sizing: border-box !important;

        width: fit-content !important;
        min-width: 280px !important;
        max-width: 90% !important;

        margin: 1.5rem auto !important;
        text-align: left !important;
        display: block !important;
        overflow: hidden !important;
    }

    /*class=guestinfocard-wrapperの子要素にclass=guestinfocardを適用するとこのCSSが適用できます
            例) <div class="guestinfocard-wrapper">
                    <div class="guestinfocard">...</div>
                </div>
                ただし、kuni-id-overview要素の中で繰り返す(php while())こと*/

    .kuni-id-detail-button {
        background-color: #3399bb;
        border: 1px solid #3399bb;
        border-radius: 10px;
        padding: 0.25rem 0.8rem;
        margin-top: 10px;
        font-size: 0.8rem auto;
        width: auto;
        cursor: pointer;
        color: white;
    }

    .kuni-id-overview-wrapper {
        display: flex;
        flex-wrap: nowrap;
        justify-content: left;
        gap: 20px;
        max-width: 100%;
        padding: 0.5rem;
        overflow-x: auto;
        -ms-overflow-style: none;
        /* IE, Edge */
        scrollbar-width: none;
        /* Firefox * でスクロールバーを非表示に*/
    }

    .kuni-id-overview-wrapper::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .kuni-id-overview {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
        width: 15rem;
        padding: 1rem;
        flex-shrink: 0;
    }

    .kuni-id-overview-text {
        font-family: arial, sans-serif;
    }

    .header1menu-wrapper-for-pc {
        flex-wrap: nowrap;
        display: flex;
        font-size: 1rem;
        font-weight: bold;
        font-family: sans-serif;
        margin: 0 auto;
        text-align: left;
        justify-content: flex-start;
        /* 左寄せ */
        gap: 15px;
        /* メニュー同士の間隔（必要なら調整） */
    }

    .logout-button {
        border: 2px solid #3399bb;
        border-radius: 5px;
        background-color: white;
        font-family: arial;
        color: #3399bb;
        padding: 0.3rem;
        position: absolute;
        right: 0;
        margin-right: 13%;
        margin-top: 1rem;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        z-index: 9999;
    }

    .header1menu-wrapper-for-mobile,
    .nav_item,
    .nav_list {
        display: none;
    }

    ul {
        list-style-type: circle;
        /* 四角形マーカー */
    }

    .labelforkuniid {
        position: relative;
        left: 15%;
    }

    .input-field {
        position: relative;
        left: 15%;
        width: 40%;
        padding: 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        margin-left: 0.3rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .submit-button {
        background-color: white;
        border: 2px solid #3399bb;
        color: #3399bb;
        border-radius: 10px;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
        font-size: 1.0rem;
        font-weight: bold;
        cursor: pointer;
        position: absolute;
        margin-right: 10%;
        margin-left: 15%;
    }

    .back-button {
        background-color: white;
        border: 2px solid #bb9933;
        color: #bb9933;
        border-radius: 10px;
        padding: 0.5rem 1rem;
        font-size: 1.0rem;
        font-weight: bold;
        cursor: pointer;
        margin-top: 0.5rem;
        margin-left: 10%;
        margin-right: 20%;
    }

    .guestinfo-container {
        margin-top: 1rem;
        text-align: center;
        white-space: nowrap;
    }

    .cf-turnstile {
        margin-left: 4rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        height: 2rem;
    }

    .qrreader {
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .read-start {
        color: white;
        font-weight: 500;
        background-color: #3399bb;
        padding: 0.4rem;
        border-radius: 0.5rem;
        margin-right: 1rem;
    }

    .read-stop {
        color: white;
        font-weight: 500;
        background-color: #bb9933;
        padding: 0.4rem;
        border-radius: 0.5rem;
    }

    .numtictable-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .num_tic_table {
        border: 1px solid black;
        border-collapse: collapse;
        margin: 1rem;
        width: 100%;
    }

    tr {
        border: 1px solid black;
        border-collapse: collapse;
    }

    th {
        border: 1px solid black;
        border-collapse: collapse;
        padding: 0.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    td {
        border: 1px solid black;
        border-collapse: collapse;
        padding: 1rem;
    }

    .dis-container {
        display: flex;
        justify-content: flex-end;
        gap: 20px;
        /* 2つの要素の間隔 */
    }


    .updated-time {
        font-size: 1rem;
        color: rgba(150, 150, 150, 0.9);
    }

    .error_link {
        display: inline-block;
        text-decoration: none;
        color: #3399bb;
        font-weight: 700;
        margin: 0.2rem 0;
    }

    .error_link:hover {
        text-decoration: underline;
        color: #3399bb;
        font-weight: 700;
        transform: scale(1.02);
        transition: 0.1s;
    }

    .marker {
        background: linear-gradient(transparent 65%, #bcc6fd 65%);
        font-weight: 600;
    }

    .text-link {
        color: #0f4c81;
        text-decoration: underline;
    }

    .text-link:hover {
        color: #00448d;
    }

    .faq-list {
        margin-top: 10px;
        margin-bottom: 70px;
    }

    .faq-item {
        background: #fff;
        border: 1px solid #d9d9d9;
        border-radius: 12px;
        margin-bottom: 14px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
    }

    .faq-item summary {
        list-style: none;
        cursor: pointer;

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

        gap: 20px;
        padding: 18px 22px;

        font-weight: 600;
        color: #222;

        transition: .2s;
    }

    .faq-item summary::-webkit-details-marker {
        display: none;
    }

    .faq-item summary:hover {
        background: #f7fbff;
    }

    .faq-question {
        line-height: 1.6;
    }

    .faq-arrow {
        flex-shrink: 0;
        color: #0f4c81;
        font-size: .9rem;
        font-weight: bold;
        transition: .25s;
    }

    /* 開いたとき矢印を上下反転 */
    .faq-item[open] .faq-arrow {
        transform: scaleY(-1);
    }

    /* 回答 */
    .faq-answer {
        padding: 18px 22px 20px;
        border-top: 1px solid #ececec;
        background: #fcfcfc;
    }

    .faq-answer p {
        margin: 0;
        color: #333;
        line-height: 1.9;
    }

    .button-container {
        position: relative;
    }

    .confirm-button {
        font-family: inherit;
        font-weight: 600;
        border: 2px solid #3399bb;
        background-color: white;
        color: #3399bb;
        border-radius: 10px;
        padding: 0.3rem 0.6rem;
        position: absolute;
        left: 80%;
    }

}

@media(max-width: 480px) {
    /*画面幅が480px以下のときに適用されるCSS*/

    .body {
        overflow-x: hidden;
        margin: 10px;
        padding: 10px;
        background-color: #eeeeee;
        font-family: arial, serif;
    }

    .normal-chara {
        font-size: 1.0rem;
        font-family: inherit;
        font-weight: 500;
    }

    .allpage {
        margin: 0 auto;
        padding-left: 2%;
        padding-right: 2%;
        position: relative;
    }

    .header1menu-wrapper-for-pc {
        display: none;
    }

    .header1 {
        padding-top: 0.20rem;
        padding-bottom: 0.20rem;
        padding-left: 2%;
        background-color: #eeeeee;
        font-family: serif;
        font-size: 1.5rem;
        align-items: center;
        word-spacing: 0.2rem;
    }

    .header2 {
        margin: 0 auto;
        font-family: serif;
        font-size: 1.2rem;
        font-weight: bold;
        width: 100%;
        background-color: #addded;
        padding-left: 2%;
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }

    .kunikousai2026 {
        font-weight: bold;
        word-spacing: 1.0rem;
        max-width: 1200px;
        font-family: serif;
    }

    .footercontainer {
        width: 100%;
        background-color: #addded;
        text-align: center;
        padding: 20px 0;
        position: absolute;
        margin-top: 20px;
    }

    .footertitle {
        font-size: 1rem;
        font-weight: bold;
    }

    /*以下ログイン、ログアウト関連*/
    .login-container {
        position: relative;
    }

    .reception-numberbox {
        border: 1px solid black;
        border-radius: 10px;
        background-color: #ffffff;
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    .login-button {
        background-color: #3399bb;
        border: 1px solid black;
        border-radius: 10px;
        padding: 0.5rem 1rem;
        margin-top: 2rem;
        font-size: 1.5rem;
        cursor: pointer;
        color: white;
    }


    .guestinfocard-wrapper {
        display: flex;
        flex-wrap: nowrap;
        justify-content: left;
        max-width: 100%;
        padding: 0.5rem;
        padding-top: 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        gap: 20px;
        overflow-x: auto;
        -ms-overflow-style: none;
        /* IE, Edge */
        scrollbar-width: none;
        /* Firefox * でスクロールバーを非表示に*/
    }

    .guestinfocard {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
        width: auto;
        padding: 1rem;
        flex-shrink: 0;
    }

    .kuni-id-detail-button {
        background-color: #3399bb;
        border: 1px solid #3399bb;
        border-radius: 10px;
        padding: 0.2rem 0.5rem;
        margin: 10px;
        font-size: 0.9rem auto;
        cursor: pointer;
        white-space: nowrap;
        display: flex;
        justify-content: center;
        font-family: inherit;
        font-weight: 500;
        color: white;
    }

    .kuni-id-overview-text {
        font-family: inherit;
        display: flex;
        justify-content: center;
        font-weight: 500;
    }

    .kuni-id-overview-wrapper {
        display: flex;
        flex-wrap: nowrap;
        justify-content: left;
        gap: 30px;
        max-width: 100%;
        padding: 0.3rem;
        overflow-x: auto;
        -ms-overflow-style: none;
        /* IE, Edge */
        scrollbar-width: none;
        /* Firefox * でスクロールバーを非表示に*/
    }

    .kuni-id-overview-wrapper::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .kuni-id-overview {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        width: 30vw auto;
        padding: 1rem;
        flex-shrink: 0;
        font-size: 1.0rem;
    }

    .logout-button {
        border: 2px solid #3399bb;
        border-radius: 5px;
        background-color: white;
        font-family: inherit;
        color: #3399bb;
        padding: 0.3rem;
        position: absolute;
        right: 0;
        margin-right: 2%;
        margin-top: 1rem;
        appearance: none;
        -webkit-appearance: none;
        -ms-progress-appearance: none;
        cursor: pointer;
        z-index: 9999;
    }

    .drawer_open {
        display: block;
        width: 30px;
        padding: 5px;
    }

    .nav_content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        border-radius: 10px;
        border-color: #333;
        border-width: 2px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
        display: none;
        /* 初期は非表示 */
        z-index: 20001;
        width: 70vw;
        height: auto;
    }

    #nav_content.active {
        display: block;
        border-radius: 10px;
        border: 1px solid #999;
    }

    #nav_content.inactive {
        display: none;
    }

    .drawer_open span {
        position: absolute;
        height: 4px;
        width: 30px;
        background: #333;
        transition: 0.3s ease;
        margin-top: 10px;
        margin-left: 80%;
        padding-top: 2px;
    }

    /* 各線の位置 */
    .drawer_open span:nth-child(1) {
        top: 0;
    }

    .drawer_open span:nth-child(2) {
        top: 9px;
    }

    .drawer_open span:nth-child(3) {
        top: 18px;
    }

    /*body.modal-open::before {
            content: "";
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
        }*/


    .nav_close {
        position: absolute;
        right: 5%;
        cursor: pointer;
    }

    .nav_item {
        font-family: sans-serif;
        font-size: 1rem;
        font-weight: bold;
        margin-top: 0.3rem;
        margin-bottom: 0.3rem;
    }

    ul {
        list-style-type: circle;
        /* 四角形マーカー */
    }

    .labelforkuniid {
        margin-left: 0.2rem;
    }

    .input-field {
        width: 50%;
        padding: 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        margin-left: 0.3rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .submit-button {
        background-color: white;
        border: 2px solid #3399bb;
        color: #099bcb;
        border-radius: 10px;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
        font-size: 1.0rem;
        font-weight: bold;
        cursor: pointer;
        position: absolute;
        right: 0;
        margin-right: 10%;
    }

    .back-button {
        background-color: white;
        border: 2px solid #bb9933;
        color: #bb9933;
        border-radius: 10px;
        padding: 0.5rem 1rem;
        font-size: 1.0rem;
        font-weight: bold;
        cursor: pointer;
        margin-top: 0.5rem;
    }

    .cf-turnstile {
        margin-left: 4rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        height: 2rem;
    }

    .qrreader {
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .read-start {
        color: white;
        font-weight: 500;
        background-color: #3399bb;
        padding: 0.4rem;
        border-radius: 0.5rem;
        margin-right: 1rem;
    }

    .read-stop {
        color: white;
        font-weight: 500;
        background-color: #bb9933;
        padding: 0.4rem;
        border-radius: 0.5rem;
    }

    .numtictable-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .num_tic_table {
        border: 1px solid black;
        border-collapse: collapse;
        margin: 1rem;
        width: 100%;
    }

    tr {
        border: 1px solid black;
        border-collapse: collapse;
    }

    th {
        border: 1px solid black;
        border-collapse: collapse;
        padding: 0.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    td {
        border: 1px solid black;
        border-collapse: collapse;
        padding: 1rem;
    }

    .dis-container {
        display: flex;
        justify-content: space-between;
        align-items: right;
    }

    .updated-time {
        font-size: 14px;
        color: #555;
    }


    .error_link {
        display: inline-block;
        text-decoration: none;
        color: #3399bb;
        font-weight: 700;
        margin: 0.2rem 0;
    }

    .error_link:hover {
        text-decoration: underline;
        color: #3399bb;
        font-weight: 700;
        transform: scale(1.02);
        transition: 0.1s;
    }

    .faq-list {
        margin-top: 10px;
        margin-bottom: 70px;
    }

    .faq-item {
        background: #fff;
        border: 1px solid #d9d9d9;
        border-radius: 12px;
        margin-bottom: 14px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
    }

    .faq-item summary {
        list-style: none;
        cursor: pointer;

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

        gap: 20px;
        padding: 18px 22px;

        font-weight: 600;
        color: #222;

        transition: .2s;
    }

    .faq-item summary::-webkit-details-marker {
        display: none;
    }

    .faq-item summary:hover {
        background: #f7fbff;
    }

    .faq-question {
        line-height: 1.6;
    }

    .faq-arrow {
        flex-shrink: 0;
        color: #0f4c81;
        font-size: .9rem;
        font-weight: bold;
        transition: .25s;
    }

    /* 開いたとき矢印を上下反転 */
    .faq-item[open] .faq-arrow {
        transform: scaleY(-1);
    }

    /* 回答 */
    .faq-answer {
        padding: 18px 22px 20px;
        border-top: 1px solid #ececec;
        background: #fcfcfc;
    }

    .faq-answer p {
        margin: 0;
        color: #333;
        line-height: 1.9;
    }

    .text-link {
        color: #0f4c81;
        text-decoration: underline;
    }

    .text-link:hover {
        color: #00448d;
    }

    .marker {
        background: linear-gradient(transparent 65%, #bcc6fd 65%);
        font-weight: 600;
    }

    .kuniidQR {
        display: flex;
        justify-content: center;
        margin-bottom: 18px;
    }

}

.about-text .normal-chara,
.about-list .normal-chara {
    font-weight: normal;
    line-height: 1.8;
}

.about-title {
    margin-bottom: 1.5rem;
}


/* 段落間の余白 */
.about-text p {
    margin-bottom: 1.5rem;
}


/* 手順リスト */
.about-list {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin-top: 20px;
}

/* 各項目 */
.about-list li {
    counter-increment: step;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dddddd;
}

/* 最後の線は消す */
.about-list li:last-child {
    border-bottom: none;
}

/* 番号の丸 */
.about-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -0.2rem;

    width: 2rem;
    height: 2rem;

    border-radius: 50%;
    background: #0f4c81;
    color: #fff;

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

    font-weight: bold;
}

/* タイトル */
.step-title {
    margin-left: 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.text-link {
    color: #0f4c81;
    text-decoration: underline;
}

.text-link:hover {
    color: #00448d;
}

.timetable-page .normal-chara {
    font-weight: normal;
    line-height: 1.8;
}


/* 表 */
.timetable-table {
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}


.timetable-table th,
.timetable-table td {
    border: 1px solid black;
    padding: 0.5rem;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    z-index: 0 !important;
}

.notice-box {
    background: #eef8fc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.button-container {
    position: relative;
    /*overflow-x: hidden;*/
}

.confirm-button {
    font-family: inherit;
    font-weight: 600;
    border: 2px solid #3399bb;
    background-color: white;
    color: #3399bb;
    border-radius: 10px;
    padding: 0.3rem 0.6rem;
    position: absolute;
    left: 70%;
    margin-right: 1rem;

}




@media print {
    .for-print {
        display: block !important;
        overflow: visible !important;
    }

    .guestinfocard {
        page-break-inside: avoid;
        /* カードが途中で切れないようにする */
        margin-bottom: 20px;
    }
}