body {
    font-family: "Noto Serif JP", serif;
    margin: 0;
}

a {
    text-decoration: none;
}

ul {
    padding-inline-start: 0 !important;
}

header {
    nav {
        font-weight: 600;
        display: flex;
        justify-content: space-around;
        margin-top: 20px;
        letter-spacing: 1px;

        a {
            color: #776a67;
            text-decoration: none;
            position: relative;
        }
    }
}

header nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 50px;
    height: 10px;
    background: url(image/header-nav.png) no-repeat center/contain;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

header nav a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.header-bg {
    background-image: url(image/header-bg.png);
    background-size: cover;
    height: 40px;
}

/* ハンバーガーボタン */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 0;
    color: white;
}

/* オーバーレイ全体 */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
}

/* 表示時 */
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 閉じるボタン */
.overlay-close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 32px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* メニュー項目 */
.overlay nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.overlay nav a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.overlay nav a:hover {
    color: #f0c040;
    transform: scale(1.1);
}

.main-wrapper {
    text-align: center;

    img {
        width: 40%;
        margin: 50px auto;
    }
}

.about-wrapper {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    padding: 0 20px;

    img {
        max-width: 300px;
    }

    ul {

        li {
            padding: 14px;
            list-style: none;
            border-top: 1px solid #759d85;
        }
    }
}

.about-wrapper li:last-child {
    border-bottom: 1px solid #759d85;
}

.services-wrapper {
    text-align: center;

    img {
        width: 40%;
        margin: 50px auto;
    }
}

.reservation-wrapper {
    text-align: center;
    margin-top: 50px;
    font-family: "Noto Sans JP", sans-serif;
}

.contact-form {
    max-width: 700px;
    margin: auto;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

    .required {
        background: #236363;
        color: white;
        border-radius: 20px;
        padding: 2px 10px;
        margin-right: 5px;
        font-size: 12px;
    }

    .any {
        border: 1px solid #236363;
        color: #236363;
        border-radius: 20px;
        padding: 2px 10px;
        margin-right: 5px;
        font-size: 12px;
    }

    table {
        border-spacing: 0 20px;
    }

    th {
        font-size: 16px;
        padding-right: 10px;
        color: #3f3f3f;
    }

    input {
        border: 1px solid #78c5de;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }

    textarea {
        border: 1px solid #78c5de;
        width: 100%;
    }

    .reset-submit {
        text-align: center;

        input {
            background: white;
            width: 100px;
            border-radius: 20px;
            color: #78c5de;
        }

        .reset-button {
            border: 1px solid #236363;
            color: #236363;
            margin: 0 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .reset-button:hover {
            scale: 1.1;
        }

        .submit-button {
            background: #236363;
            color: white;
            border: none;
            margin: 0 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-button:hover {
            scale: 1.1;
        }
    }
}

.check {
    width: 50px;
    height: 50px;
    border: 4px solid #20e02a;
    border-radius: 50%;
    position: relative;
    margin: 80px auto 0 auto;
}

.check::before,
.check::after {
    content: "";
    position: absolute;
    background: #20e02a;
    height: 6px;
    border-radius: 2px;
}

.check::before {
    width: 16px;
    top: 28px;
    left: 10px;
    transform: rotate(45deg);
}

.check::after {
    width: 28px;
    top: 22px;
    left: 17px;
    transform: rotate(-45deg);
}

.thanks-wrapper {
    margin: 10px auto 0 auto;
    text-align: left;
    max-width: 600px;
    padding: 16px;
}
.check-title{
    text-align: center;
    margin-top: 50px;
}
.check-return-button {
    margin-bottom: 10px;
}

.check-submit-button {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 50px;
}

@media screen and (max-width:768px) {
    header nav a:hover::after {
        opacity: 0 !important;
        transform: none
    }

    .pc-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-wrapper {
        img {
            width: 80%;
        }
    }

    .services-wrapper {
        img {
            width: 80%;
        }

    }


    .contact-form {
        max-width: none;
        width: 90%;

        input {
            margin-bottom: 30px;
        }

        table {
            width: 98%;
        }

        th {
            margin-bottom: 10px;
            font-size: 16px;
        }

        tr,
        th,
        td {
            display: block;
            width: 100%;
        }
    }

}