:root {
    --sp-max-width: 600px;
    --section-gutter: 32px;


}

.sp-container {
    position: relative;
}

.sub-header {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 101;

    .navbar-toggler {
        z-index: 102;
    }

    .navbar-container {
        justify-content: flex-end;
    }

    .navbar-collapse {
        top: 0 !important;
        z-index: 100;
    }
}


.pc-wrapper {
    display: flex;
    flex-flow: row;
    height: 100vh;
    background-color: #92929226;
    ;
}

.pc-wrapper .pc-side {
    display: flex;
    justify-content: center;
}

.pc-side>div {
    display: none;
    padding: 10px var(--section-gutter);
}

.pc-side img.logo {
    display: block;
    height: 70px;
    margin: 90px auto 64px;
}

.pc-side .anker-list {
    list-style: none;
    margin-bottom: 50px;
    padding: 0;
}

.pc-side .anker-list li {
    margin: 10px 0;
}

.pc-side .anker-list li a {
    font-family: 'Noto Serif JP';
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-brown-dark);
}

.pc-side .contact-button {
    max-width: 337px;
}

.pc-wrapper .pc-side.pc-right>div {
    width: -webkit-fill-available;
    max-width: calc(300px + (var(--section-gutter) * 2));
}



.qr-code {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 50px;
    margin-bottom: 58px;
    background-color: white;
    border-radius: 20px;
}

.qr-code p {
    margin: 0;
    font-family: 'Noto Serif JP';
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-gold);
}

.qr-code img {
    max-width: 160px;
    aspect-ratio: 1/1;
}

.powered-by {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 16px;
    color: var(--color-gold);
    font-family: 'Noto Serif JP';
    font-size: 1.4rem;
    font-weight: 400;
}

.powered-by span {
    flex: 0 0 auto;
}

.powered-by img {
    flex: 0 1 auto;
    width: 100%;
}

.pc-side .side-container {
    position: fixed;
    background-color: white;
}

.sp-wrapper {
    container-type: inline-size;
    width: 100%;
    background-color: white;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    box-shadow: 0px 4px 20px 0px #0000000D;
}

.sp-container {
    max-width: var(--sp-max-width);
}

.sp-container section {
    padding-left: var(--section-gutter);
    padding-right: var(--section-gutter);
}

.sp-container header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.sp-container header img.logo {
    height: 46px;
}

.carousel {
    margin-left: calc(var(--section-gutter) * -1);
    margin-right: calc(var(--section-gutter) * -1);
}

.carousel .slick-slide {
    margin: 0 5px;
}

.carousel img {
    object-fit: cover;
    border-radius: 5px;
}

/* お問い合わせ */
section#contact {

    background-color: #F8F8F8;
    border-radius: 50px;

    >div {
        text-align: center;
        color: #949494;

        span {
            display: block;
        }
    }

    h2 {
        font-size: 32px;
        margin: 0;
        text-align: center;
        position: relative;
        font-family: 'Noto Serif JP';
        color: #C8B4A0;

        span {
            font-size: 24px;
        }

    }

    .form-section {
        margin: 50px 5% 0 5% !important;

        h4 {

            font-weight: 350;
            color: #FFFFFF;
            background-color: #A58D74;
            padding: 2% 50px 2% 10px;
            margin: 0;
            border-radius: 4px 20px 20px 4px;
        }

        .group-title {
            display: flex;
            align-items: center;
        }

        small {
            color: #AE1818;
            margin-left: 10px;
        }

        .full-time {
            font-weight: bold;
            font-size: 1.4rem;
        }

        .form-group {
            margin-top: 20px;
            font-size: 12px;

            input {
                height: 40px;
                border-radius: 5px;
                border: solid 0.5px #C8B4A0;
                font-size: 12px;
            }

            select {
                appearance: none;
                -webkit-appearance: none;
                -moz-appearance: none;

                height: 40px;
                border-radius: 20px;
                border: solid 0.5px #C8B4A0;
                font-size: 12px;
                padding-left: 30px;

                background-image: url(../../../../img/lp/select_arrow.svg);

                background-repeat: no-repeat;

                background-position: right 20px center;

            }


            .custom-placeholder:invalid {
                color: rgba(83, 75, 69, 0.3);
            }

            .custom-placeholder option:not([value=""]) {
                color: #212529;
            }

            .custom-placeholder option[value=""] {
                color: #6c757d;
            }
        }


    }



}

.event_btn {
    display: inline-block !important;
    min-width: 200px;
    width: 80%;
    background-color: #534B45;
    border-radius: 50px;
    cursor: pointer;
    color: #C8B4A0;
    margin: 40px auto 0 auto;
    display: block;
    text-align: center;
    font-size: 1.4rem;
    line-height: 40px;
    text-decoration: none;
    user-select: none;
    aspect-ratio: 324 / 54;
    box-sizing: border-box;
    border: 1px solid #C8B4A0;

    &:hover {
        color: #E0D6CC;
    }
}

a.event_btn {
    height: 50px;
    line-height: 50px;
}

/* button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
} */

.form-flow-header {
    text-align: center;
    padding: 3rem;

    h1 {
        font-size: 2.2rem;
        font-family: 'Noto Serif JP';
        font-weight: 500;
        color: #A29181;
    }
}

.form-flow-body {
    padding-top: 0;

    >div {
        background-color: rgba(165, 141, 116, 0.1);
        text-align: center;
        margin: auto calc(var(--section-gutter) * -1);
        padding: 2.5rem 0;

        h2 {
            font-size: 32px;
            margin: 0;
            text-align: center;
            position: relative;
            font-family: 'Noto Serif JP';
            color: rgba(200, 180, 160, 1);

            span {
                font-size: 24px;
            }

        }
    }

    >p {
        text-align: center;
        margin: 3rem auto;
    }


    .form-group {
        margin: 10px auto;

        .form-control-plaintext {
            font-size: 1.6rem;
            font-weight: 500;
        }
    }


    ul {
        margin: 4rem auto;
    }

    .cheng_label {
        font-size: 1.6rem;
        line-height: 1.8;
        color: #C8B4A0;
        text-decoration: underline;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        font-family: inherit;
    }
}

footer {
    background-color: #FFFFFF;
    padding: 30px 3rem;

    h2 {
        margin-bottom: 30px !important;
        font-weight: 500;
        font-size: 1.2rem;
        color: #C8B4A0;
    }

    .vertical-divider {
        width: 1px;
        height: 60px;
        max-height: 100%;
        background-color: #D9D9D9;
    }

    .logo {
        display: flex;
        flex-direction: column;
        margin-top: 8px;
        flex-basis: 49%;
        justify-content: space-evenly;

        &:nth-of-type(1) {
            >img {
                height: 24px;
                margin-top: 1px;

                @media (max-width: 600px) {
                    height: 18px;
                }
            }

        }

        &:nth-of-type(3) {
            >img {
                height: 27px;

                @media (max-width: 600px) {
                    height: 21px;
                }
            }

        }

        a {
            margin: auto auto 0 !important;
            display: block;
        }
    }

    .event-contact-note {
        margin: 30px 0;
        font-weight: 500;
        font-size: 0.8rem;
        color: #C8B4A0;
    }

    .cl {
        color: #C8B4A0;
        text-align: center;
    }
}


@container (width <=600px) {
    footer {
        padding: 60px 37px;
    }

    footer .container {
        padding: 0 !important;
    }

    footer .footer-btn {
        flex: 0 0 100% !important;
    }

    .footer-btn-1 {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    ul.sitemap {
        display: flex;
        flex-flow: column !important;
        gap: 1rem;
    }

    .sitemap li {
        margin-bottom: 0;
    }
}


@media (min-width: 600px) {

    :root {
        --section-gutter: 36px;
    }

    .pc-wrapper .pc-side {
        position: relative;
        flex: 1 1 calc(100vw - var(--sp-max-width));
        overflow: hidden;
    }

    .sub-header {
        display: none;
    }
}


@media (min-width: 768px) {

    .sp-wrapper {
        max-width: 480px;
    }
}

@media (min-width: 991px) {

    .pc-side>div {
        display: block;
    }
}


/* アニメーションの定義 */
@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim {
    opacity: 0;
}

.anim.is-animated {
    animation: fadeInFromBottom 0.8s ease-out forwards;
}