@charset "utf-8";

body {
    width: 100%;
    height: auto;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    background-color: #E7E7E8;
    letter-spacing: 0;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }
}

section {
    max-width: 1040px;
    padding: 40px 20px;
    margin: 0 auto;

}

h1 {
    font-size: 40px;
    line-height: 1.5;
    letter-spacing: 0.3rem;
    font-weight: bold;
}

h2 {
    font-size: 24px;
    font-weight: bold;
}

ul {
    font-size: 18px;
    line-height: 2;
    margin: 50px 0;
}

b {
    background: linear-gradient(transparent 70%, #c9c9c9 50%);
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #ABA8AF;
    text-decoration: none;
    cursor: pointer;
}


.page-top {
    margin-top: 80px;
}

.warning-box {
    background-color: #E1E1E1;
    border: 1px solid #ABA8AF;
    padding: 20px 50px;
    margin: 20px 0;
    color: #EA0000;
    gap: 20px;
    align-items: center;
}

.note-box {
    background-color: #E1E1E1;
    border: 1px solid #ABA8AF;
    padding: 20px 50px;
    margin: 20px 0;
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 28px;
        letter-spacing: 0.2rem;
    }

    h2 {
        font-size: 22px;
    }

    .warning-box {
        padding: 10px 20px;
        gap: 16px;
    }

    .note-box {
        padding: 10px 20px;
    }
}

.sw-update__note-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 14px;
}

.sw-update__note-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.sw-update__note-table tr {
    vertical-align: top;
}

.sw-update__note-table tr:nth-child(even) {
    background-color: #dcdcdc;
}

.sw-update__note-table th {
    background-color: #E7E7E8;
    border-bottom: 2px solid #000;
    padding: 8px 10px;

}

.sw-update__note-table td {
    padding: 8px 10px;
}


.sw-update__container {
    width: 100%;
    height: auto;
    position: relative;
    align-items: start;
    margin: 50px 0;
    gap: 50px;
    overflow: visible;
}

.sw-update__container {
    display: flex;
    gap: 6%;
    align-items: flex-start;
}

.sw-update__container .js-modal-open {
    flex: 0 0 28%;
    max-width: 28%;
}

.thumb-img {
    width: 100%;
    height: auto;
    display: block;
}

.sw-update__text {
    flex: 0 0 66%;
    max-width: 66%;
}



.custom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.custom-overlay.is-active {
    display: flex;
}

.js-modal-open_btn {
    cursor: pointer;
    background-color: #63bdf9ff;
    margin: 0 0 40px;
}

.modal-content {
    width: 80%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

#modal-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.sw-update__container li {
    margin-bottom: 30px;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 9999;
}

.modal-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    text-align: center;
}

#modal-text-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.terms-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-close-btn {
    color: #fff;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.125em;
}


@media screen and (max-width: 767px) {
    .sw-update__container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .sw-update__container .js-modal-open {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .thumb-img {
        width: 100%;
        height: auto;
        display: block;
    }

    .sw-update__text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .js-modal-open_btn {
        font-size: 1.125em;
        padding: 12px 30px;
        line-height: 1.5;
    }

}

.dl-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #000000;
    cursor: pointer;

    border-radius: 50px;
    padding: 8px 24px;
    font-weight: bold;
    font-size: 20px;
    background-color: #e7e7e8;
    color: #000;
    transition: background-color 0.3s;
}

.dl-btn:hover {
    background-color: #000000;
    color: #FFFFFF;
}