*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    --aoao-black: hsl(from black h s calc(l + 10));
    --aoao-peach: #FFF0F0;
    --aoao-pink: #FFCECE;
    --aoao-apricot: #AD4B60;
    --aoao-pomegranate: #B17272;
    font-family: "Noto Serif JP";
    scroll-behavior: smooth;

    &:has(#hamburger-btn.open) {
        scrollbar-gutter: stable;
    }
}

body {
    &:has(#hamburger-btn.open) {
        overflow: clip;
    }
}

section,
#map-container {
    position: relative;
    padding-top: 56px;

    &::before,
    &::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 100%;
        height: 100%;

    }

    &::before {
        z-index: -1;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: .2;
    }

    &::after {
        background-color: var(--aoao-peach);
        z-index: -1;
        opacity: .2;
    }
}

h1 {
    aspect-ratio: 1;
    height: 180px;
    margin-bottom: 6svh;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--aoao-apricot);
    letter-spacing: .08em;
    text-align: center;

    span {
        font-size: 24px;
        display: block;
        padding-top: 18px;
    }
}

li {
    list-style-type: none;
}

img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

address {
    font-style: normal;
}

strong {
    font-weight: inherit;
}

button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.normal-link {
    color: var(--aoao-black);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 278px;
    height: 48px;
    background-color: var(--aoao-pink);
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0px 0.5px 2px 0px #00000040;
}

.to-single,
.to-archive {
    color: var(--aoao-black);
    display: flex;
    align-items: center;
    background-color: var(--aoao-pink);

    &::after {
        content: "";
        display: block;
        aspect-ratio: 1;
        height: 20px;
        background-color: white;
        clip-path: shape(from 20% 0,
                line to 100% 50%,
                line to 20% 100%,
                close);
    }
}

.to-single {
    font-size: 18px;
    justify-content: space-between;
    width: 183px;
    height: 41px;
    padding-right: 8px;
    padding-left: 22px;
    border-radius: 10px;
    box-shadow: 0px 0.5px 2px 0px #00000040;
}

.to-archive {
    font-size: 24px;
    justify-content: center;
    gap: 5px;
    width: 282px;
    height: 79px;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px #00000040;
    margin: 0 auto;
}

.swiper-pagination-bullet {
    cursor: pointer;
}

.row {
    display: flex;
}

.for-tb,
.from-tb {
    display: none;
}

.from-pc {
    display: none;
}

.btn-container {
    position: relative;

    .prev-btn,
    .next-btn {
        position: relative;
        z-index: 1;
        display: block;
        width: 24px;
        height: 41px;

        &:not(:disabled) {
            &:active {
                &::after {
                    translate: 0 10%;
                }
            }
        }

        &:disabled {
            &::after {
                background-color: gray;
            }
        }

        &::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            background-color: #AD4B60;
        }

        &.prev-btn {
            &::after {
                clip-path: shape(from 60% 0,
                        line to 85% 15%,
                        line to 40% 50%,
                        line to 85% 85%,
                        line to 60% 100%,
                        line to 0 50%,
                        close);
            }
        }

        &.next-btn {
            &::after {
                clip-path: shape(from 40% 0,
                        line to 15% 15%,
                        line to 60% 50%,
                        line to 15% 85%,
                        line to 40% 100%,
                        line to 100% 50%,
                        close);
            }
        }
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;

    #hamburger-btn {
        position: absolute;
        top: 4.8svh;
        left: 6vw;
        z-index: 1;
        width: 44px;
        height: 36px;
        padding: 4px;

        &.start {
            span {
                animation-name: none !important;
            }
        }

        &.open {
            +#hamburger-menu {
                opacity: 1;
                pointer-events: auto;
            }

            span {

                &:first-of-type,
                &:last-of-type {
                    top: 50%;
                }

                &:first-of-type {
                    rotate: -45deg;
                }

                &:nth-of-type(2) {
                    height: 0;
                }

                &:last-of-type {
                    rotate: 45deg;
                }
            }
        }

        &:not(.open) {
            span {
                animation-duration: .8s;

                &:first-of-type {
                    transition-property: rotate, top, width;
                    transition-duration: .2s, 0s, .6s;
                    transition-delay: 0s, .5s, 0s;
                    rotate: none;
                    animation-name: hamburgerAnim;
                }

                &:last-of-type {
                    transition-property: rotate, top, width;
                    transition-duration: .2s, 0s, .6s;
                    transition-delay: 0s, .5s, 0s;
                    rotate: none;
                    animation-name: hamburgerAnim;
                }
            }
        }

        span {
            position: absolute;
            left: 4px;
            display: block;
            width: calc(100% - 8px);
            height: 4px;
            background-color: white;
            box-shadow: 0px 0px 4px 0px #000000;
            translate: 0 -50%;

            &:first-of-type,
            &:last-of-type {
                transition-property: top, rotate, width;
                transition-duration: .5s, .2s, .6s;
                transition-delay: 0s, .5s, 0s;
            }

            &:first-of-type {
                top: 4px;
            }

            &:nth-of-type(2) {
                top: 50%;
                transition-property: height;
                transition-duration: .5s;
            }

            &:last-of-type {
                top: calc(100% - 4px);
            }
        }
    }

    #hamburger-menu {
        font-size: 18px;
        color: white;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100svh;
        padding-top: 7svh;
        opacity: 0;
        pointer-events: none;
        transition-property: opacity;
        transition-duration: .4s;
        backdrop-filter: blur(5px);

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            display: block;
            width: 100%;
            height: 100%;
            background-color: var(--aoao-pomegranate);
            opacity: .8;
            backdrop-filter: blur(5px);
        }

        ul {
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 6svh;

            li {
                position: relative;

                &::before {
                    content: "";
                    position: absolute;
                    left: 50%;
                    bottom: -5px;
                    translate: -50%;
                    width: 0;
                    height: 2px;
                    background-color: var(--aoao-apricot);
                    border-radius: 2px;
                }

                &.current {
                    &::before {
                        width: calc(100% + 8px);
                    }
                }
            }
        }

        .link-container {
            gap: 3.2vw;
            margin-top: 10svh;

            a {
                display: block;
                aspect-ratio: 1;
                width: 54px;
            }
        }
    }
}

footer {
    position: relative;
    padding-top: 9.9svh;
    padding-bottom: 3.1svh;

    &::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 100%;
        height: 100%;
        background-image: url("../assets/imgs/フッター背景.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    a {
        font-size: 32px;
        font-weight: 900;
        color: var(--aoao-apricot);
        display: flex;
        align-items: center;
        gap: 6px;
        width: fit-content;
        margin: 0 auto 5px;

        .img-container {
            width: 40px;
            height: 40px;
            margin: 7px;
        }
    }

    p {
        text-align: center;
        margin-bottom: 14px;
    }

    table {
        margin: 13svh auto;
        border-collapse: collapse;
        background-color: white;

        tr {

            >:first-of-type {
                color: red;
            }

            th,
            td {
                width: 45px;
                border: 1px var(--aoao-black) solid;

                &:last-of-type {
                    color: hsl(from blue h s calc(l + 10));
                }
            }

            th {
                height: 30px;

                &:first-of-type {
                    font-size: .6em;
                }
            }

            td {
                font-size: 12px;
                letter-spacing: .15em;
                text-align: center;
                height: 45px;

                &:first-of-type {
                    font-size: 24px;
                    letter-spacing: 0;
                }

                .border {
                    width: 2px;
                    height: 8px;
                    background-color: var(--aoao-black);
                    margin: 0 auto;
                }
            }
        }
    }

    .img-container {
        aspect-ratio: 1;
        width: 300px;
        margin: 0 auto 13svh;
    }

    small {
        font-family: "Sawarabi Mincho";
        font-size: 18px;
        display: block;
        text-align: center;
    }
}

#hero {
    .eye-catch {
        color: var(--aoao-apricot);
        height: 100svh;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-left: 2.6vw;
        padding-bottom: 10.6svh;

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            display: block;
            width: 100%;
            height: 100vh;
            background-image: url("../assets/imgs/ヒーローイメージ.jpg");
            background-size: 335%;
            background-position: center center;
            background-repeat: no-repeat;
            filter: brightness(1.2);
        }

        .img-container {
            width: 80px;
            height: 80px;
            margin-bottom: 20px;
        }

        strong {
            -webkit-text-stroke: white 2px;
            paint-order: stroke;
            letter-spacing: .1em;

            >span {
                font-size: 24px;
                letter-spacing: 0;
                display: block;
                margin-bottom: 10px;

                span {
                    letter-spacing: .1em;
                    display: block;
                }
            }
        }
    }

    a {
        .banner {
            color: green;
            background-image: url("../assets/imgs/ハンディキャップ割引バナーmb.png");
        }
    }

    .banner {
        font-family: "BIZ UDGothic";
        color: var(--aoao-apricot);
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        aspect-ratio: 75 / 23;
        width: 100%;
        padding: 10px;
        background-image: url("../assets/imgs/アオアオ誕生日バナーmb.jpg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;

        h2 {
            font-size: 32px;
            font-weight: 900;
            color: inherit;
            line-height: 1.4em;

            >span {
                line-height: 1.2em;
                font-size: 18px;
                padding-top: 0;
                letter-spacing: -0.08em;

                span {
                    font-size: 10px;
                    padding-top: 0;
                }
            }
        }

        small {
            font-size: 10px;
            color: var(--aoao-black);
        }
    }
}

#about {

    >div,
    article {
        height: 100svh;

        strong,
        p {
            font-size: 18px;
            line-height: 2em;
            letter-spacing: .08em;
            width: 291px;
            padding-top: 25px;
            margin: 0 auto;
        }
    }

    >div {
        display: flex;
        flex-direction: column;
        background-color: var(--aoao-peach);

        .bg-img {
            height: 65%;
            background-image: url("../assets/imgs/施術室.jpg");
            background-size: 400%;
            background-position: 55% 30%;
            background-repeat: no-repeat;
            border-bottom-left-radius: 80px;
        }

        strong {
            flex: 1;
            font-family: "Sawarabi Mincho";
            display: flex;
            align-items: center;
            height: 35%;
            padding-top: 0;
        }
    }

    article {
        position: relative;

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            display: block;
            height: 100%;
            width: 100%;
            background-size: 400%;
            background-repeat: no-repeat;
        }

        &:first-of-type {
            height: 100svh;
            background-image: linear-gradient(to top, white 60%, transparent 70%);
            padding-top: calc(35svh + (100svh - 562px) / 2);

            &::before {
                height: calc(35svh + (100svh - 562px) / 2);
                background-image: url("../assets/imgs/首を揉んでいる.jpg");
                background-position: 40% 20%;
                background-size: cover;
            }
        }

        &:last-of-type {
            height: 200svh;
            background-image: linear-gradient(to top, white 50%, transparent 55%);
            padding-top: calc(100svh + (100svh - 589px) / 2);

            &::before {
                background-image: url("../assets/imgs/黒いわんちゃん.jpg");
                background-position: 40% 0;
                scale: -1 1;
            }

            h3,
            p {
                position: relative;
            }

            strong {
                display: block;
            }
        }

        h3 {
            font-size: 24px;
            font-weight: 400;
            margin-bottom: 17px;
            width: 291px;
            margin: 0 auto;
        }
    }
}

#menu {
    color: var(--aoao-apricot);
    padding-bottom: 41px;

    &::before {
        background-image: url("../assets/imgs/メニュー背景.jpg");
    }

    h3 {
        font-size: 32px;
        font-weight: 400;
        letter-spacing: .08em;
        text-align: center;

        span {
            font-size: 24px;
            display: block;
        }
    }

    h2 {
        padding-bottom: 42px;
    }

    .menu-article {
        width: 305px;
        margin: 0 auto;
        padding-top: 60px;

        &:nth-of-type(odd) {
            .img-container {
                &:first-of-type {
                    margin-top: 27px;
                }

                &:last-of-type {
                    margin-bottom: 27px;
                }
            }
        }

        &:nth-of-type(even) {
            .img-container {
                &:first-of-type {
                    margin-bottom: 27px;
                }

                &:last-of-type {
                    margin-top: 27px;
                }
            }
        }

        &:first-of-type {
            img {
                filter: brightness(1.7);
            }
        }

        &:nth-of-type(2) {
            .img-container {
                position: relative;
                overflow: clip;
                border-radius: 20px;

                &:last-of-type {
                    img {
                        top: -60%;
                        left: -40%;
                        width: 175%;
                        height: 175%;
                    }
                }
            }

            img {
                position: absolute;
                top: -15%;
                left: -5%;
                width: 150%;
                height: 150%;
                filter: brightness(1.2);
                scale: -1 1;
            }
        }

        &:last-of-type {
            img {
                filter: brightness(1.3);
            }
        }
    }

    h3 {
        text-align: start;
        padding-bottom: 31px;
    }

    p {
        line-height: 3.2em;
        padding-bottom: 66px;
    }

    .row {
        justify-content: space-around;
        margin: 43px calc(50% - 49vw) 0;

        .img-container {
            aspect-ratio: 156 / 196;
            width: 41vw;
            box-shadow: 0px 2px 13px 0px #B2ACAC80;
            border: 1px solid var(--aoao-pomegranate);
            border-radius: 20px;

            img {
                object-fit: cover;
                border-radius: 20px;
                display: block;
            }
        }
    }

    .to-archive {
        margin-top: 104px;
    }
}

#staff {
    padding-bottom: 56px;

    &::before {
        background-image: url("../assets/imgs/スタッフ背景.png");
    }

    h2 {
        margin-bottom: 56px;
    }

    article {
        margin: 0 auto 56px;
    }

    .btn-container {

        .prev-btn,
        .next-btn {
            position: absolute;
            top: 45%;
            display: none;
        }

        .prev-btn {
            left: 10%;
            translate: -50%;
        }

        .next-btn {
            right: 10%;
            translate: 50%;
        }
    }

    .staff-article {
        display: flex;
        flex-direction: column;
        aspect-ratio: 224 / 429;
        width: 60%;
        box-shadow: 0px 2px 13px 0px #B2ACAC80;
        border: 1px solid var(--aoao-pomegranate);
        border-radius: 40px;
        overflow: clip;

        .thumb {
            height: 54.5%;

            img {
                object-fit: cover;
                object-position: center 15%;
            }
        }

        .name {
            font-size: 24px;
            font-weight: 400;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 11%;
            background-color: var(--aoao-pomegranate);
        }

        .charge {
            font-size: 18px;
            line-height: 1.7em;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: white;
            flex-grow: 1;
        }
    }

    .sub-staff-article {
        display: flex;
        flex-direction: column;
        aspect-ratio: 1;
        width: 281px;
        border: 1px solid var(--aoao-pomegranate);
        border-radius: 40px;
        overflow: clip;

        &:first-of-type {
            .thumb {
                filter: brightness(1.5);

                img {
                    position: absolute;
                    top: 0;
                    left: -25%;
                    width: 150%;
                    height: 150%;
                }
            }
        }

        .thumb {
            position: relative;
            height: 70%;
            overflow: clip;

            img {
                object-fit: cover;
                object-position: center 30%;
            }
        }

        .name,
        .charge {
            font-weight: 400;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-grow: 1;
            background-color: white;
        }

        .name {
            font-size: 24px;
            color: white;
            background-color: var(--aoao-pomegranate);
        }

        .charge {
            font-size: 18px;
        }
    }
}


#blog {
    display: none;
    padding-top: 27px;
    padding-bottom: 59px;

    &::before {
        background-image: url("../assets/imgs/ブログ背景.jpg");
    }

    h2 {
        margin-bottom: 41px;
    }

    .blog-article {
        display: flex;
        flex-direction: column;
        aspect-ratio: 331 / 267;
        width: 88%;
        height: 367px;
        border-radius: 20px;
        overflow: clip;
        margin: 0 auto 41px;

        .thumb {
            height: 250px;

            img {
                object-fit: cover;
            }
        }

        .text {
            flex-grow: 1;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 15px;
            background-color: white;

            h3 {
                font-size: 32px;
                font-weight: 400;
            }

            .row {
                gap: 9px;
            }
        }
    }
}


#news {
    padding-bottom: 43px;

    &::before {
        background-image: url("../assets/imgs/お知らせ背景.png");
    }

    h2 {
        margin-bottom: 54px;
    }

    .btn-container {
        .row {
            width: fit-content;
            min-width: 234px;
            margin: 20px auto 0;

            #pagination {
                flex-grow: 1;
                display: flex;
                justify-content: center;
                gap: 24px;
                font-family: "Noto Sans JP";
                font-size: 24px;
                margin: 0 45px;

                .swiper-pagination-bullet-active {
                    color: var(--aoao-pomegranate);
                    text-decoration: underline;
                }
            }
        }
    }

    swiper-container {
        swiper-slide {
            padding: 0 3.2vw;
        }
    }

    .news-article {
        font-size: 24px;
        text-align: center;
        padding: 25px 0;
        border-bottom: 1px var(--aoao-black) solid;

        &:first-of-type {
            border-top: 1px var(--aoao-black) solid;
        }

        time {
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 203px;
            height: 50px;
            background-color: var(--aoao-pomegranate);
            border-radius: 10px;
            margin: 0 auto 20px;
        }

        h3 {
            font-size: 18px;
            font-weight: 400;
        }
    }
}


#access {
    padding-bottom: 39px;

    &::before {
        background-image: url("../assets/imgs/アクセス背景.png");
    }

    address,
    p {
        font-size: 18px;
        color: var(--aoao-apricot);
        width: 84%;
        margin: 7px auto;

        span {
            display: inline-block;
        }
    }

    p {
        line-height: 2em;

        &:first-of-type {
            font-size: 1.3em;
        }
    }

    article {
        &:first-of-type {
            .img-container {
                img {
                    object-position: top;
                }
            }
        }
    }

    .access-article {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 343px;
        height: 180px;
        margin: 14px auto;
        border-radius: 10px;
        overflow: clip;

        h3 {
            font-size: 16px;
            font-weight: 400;
            position: absolute;
            top: 14px;
            left: 50%;
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 180px;
            height: 32px;
            background-color: white;
            border-radius: 7px;
            translate: -50%
        }

        .img-container {
            display: block;
            height: 149px;

            img {
                object-fit: cover;
            }
        }

        p {
            font-size: 1rem;
            line-height: unset;
            flex-grow: 1;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            background-color: var(--aoao-pomegranate);
            margin: 0;
        }
    }

    .iframe-container {
        width: 350px;
        height: 347px;
        margin: 23px auto;
        border-radius: 20px;
        overflow: clip;
        box-shadow: 0px 2px 13px 0px #B2ACAC80;
        border: 1px solid var(--aoao-pomegranate);

        iframe {
            width: 100%;
            height: 100%;
        }
    }

    form {
        position: absolute;
        inset: 0;
        z-index: 1;

        button {
            position: absolute;
            inset: 0;
            display: block;
        }
    }
}

#eye-catch {
    position: relative;
    height: 347px;
    padding-top: 30px;

    &::after {
        background-color: unset;
        background-image: url("../assets/imgs/アイキャッチ背景1.png");
        background-size: 120% 120%;
        background-position: center center;
        background-repeat: no-repeat;
        mask-image: linear-gradient(to right, transparent, black 50%, transparent);
        opacity: .5;
    }

    .img-container {
        aspect-ratio: 1;
        width: 80px;
        margin: 0 auto;
    }

    h2 {
        font-weight: 700;
        letter-spacing: 0;
        text-align: left;
        position: relative;
        z-index: 1;
        padding-top: 60px;
        padding-left: 29px;

        span {
            padding-top: 45px;
        }
    }

    .keseran-container {
        position: absolute;
        top: 0;
        left: 0;

        .keseran {
            position: absolute;
            aspect-ratio: 1;
            background-color: white;
            border-radius: 50%;
            filter: blur(6px);

            &:nth-of-type(1),
            &:nth-of-type(2) {
                width: 42px;
            }

            &:nth-of-type(1) {
                top: 105px;
                left: 84px;
            }

            &:nth-of-type(2) {
                top: 115px;
                left: 188px;
            }

            &:nth-of-type(3),
            &:nth-of-type(4) {
                width: 67px;
            }

            &:nth-of-type(3) {
                top: 147px;
                left: 0;
            }

            &:nth-of-type(4) {
                top: 157px;
                left: 247px;
            }

            &:nth-of-type(5),
            &:nth-of-type(6) {
                width: 38px;
            }

            &:nth-of-type(5) {
                top: 224px;
                left: 67px;
            }

            &:nth-of-type(6) {
                top: 224px;
                left: 209px;
            }
        }
    }
}

#to-top {
    font-size: 0;
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 2;
    display: block;
    aspect-ratio: 1;
    width: 42px;
    background-color: var(--aoao-apricot);
    border-radius: 50%;

    &:active {
        background-color: white;

        &::before {
            background-color: var(--aoao-apricot);
        }
    }

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: white;
        clip-path: shape(from 50% 20%,
                line to 80% 60%,
                arc by -9.5% 9.5% of 9.5% cw,
                line to 50% 45%,
                line to calc(29.5%) calc(69.5%),
                arc by -9.5% -9.5% of 9.5% cw,
                close);
    }
}

#menu-prime,
#staff-prime {
    position: relative;

    &::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -2;
        display: block;
        width: 100%;
        height: calc(100% - 347px);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: .2;
    }
}

#menu-prime {
    &::before {
        background-image: url("../assets/imgs/メニュー背景.jpg");
    }

    &:has(#normal-btn.active) {
        #normal-menu {
            display: block;
            opacity: 1;
            transition-property: opacity, display;
            transition-duration: .6s;
            transition-behavior: allow-discrete;

            @starting-style {
                display: block;
                opacity: 0;
            }
        }
    }

    &:has(#reserve-btn.active) {
        #reserve-menu {
            display: block;
            opacity: 1;
            transition-property: opacity, display;
            transition-duration: .6s;
            transition-behavior: allow-discrete;

            @starting-style {
                display: block;
                opacity: 0;
            }
        }
    }

    #eye-catch {
        &::before {
            background-image: url("../assets/imgs/アイキャッチ.png");
            opacity: .5;
            background-size: 150%;
            background-position: 40% center;
        }
    }
}

#menu-sticky {
    position: fixed;
    bottom: 50px;
    right: 0;
    z-index: 1;
    padding-top: 19px;
    padding-right: 14px;

    button {
        position: relative;
        display: block;
        width: 104px;
        height: 40px;
        background-color: var(--aoao-peach);
        border-radius: 20px;
        box-shadow: 0px 0px 4px 0px #00000040;
        margin-bottom: 24px;
        margin-left: auto;

        &:after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            opacity: 0;
            transition-property: opacity;
            transition-duration: .6s;
        }

        .arrow {
            position: relative;

            &::before {
                content: "";
                position: absolute;
                top: 47%;
                left: 50%;
                display: inline-block;
                aspect-ratio: 1;
                width: 1em;
                background-color: var(--aoao-apricot);
                clip-path: shape(from 0 10%,
                        line to 100% 10%,
                        line to 50% 100%,
                        close);
                scale: 1.4;
                opacity: 0;
                transition-property: opacity;
                transition-duration: .6s;
                translate: -50% -50%;
            }

            &::after {
                content: "";
                display: inline-block;
                aspect-ratio: 1;
                width: 1em;
                background-color: white;
                clip-path: shape(from 0 10%,
                        line to 100% 10%,
                        line to 50% 100%,
                        close);
            }
        }

        &.active {
            &::after {
                border: 2px var(--aoao-apricot) solid;
                opacity: 1;
            }

            .arrow {
                &::before {
                    opacity: 1;
                }
            }
        }
    }
}

#normal-menu,
#reserve-menu {
    letter-spacing: .08em;
    color: var(--aoao-apricot);
    display: none;
    padding-top: 130px;

    h3 {
        font-size: 32px;
        text-align: center;
    }

    .menu-article {
        padding-top: 142px;
        width: 337px;
        margin: 0 auto;

        h4 {
            font-size: 32px;
            font-weight: 400;
            padding-bottom: 16px;
        }

        p {
            &:first-of-type {
                line-height: 2em;
            }

            &:last-of-type {
                font-size: 24px;
                text-align: center;
                margin-top: 29px;

                span {
                    font-size: 18px;
                }
            }
        }

        dl {
            font-size: 32px;
            text-align: center;

            &:first-of-type {
                margin-bottom: 69px;

                dt {
                    color: white;
                    display: flex;
                    justify-content: center;
                    align-items: flex-end;
                    padding: 9px 0;
                    background-color: var(--aoao-apricot);
                    margin-top: 39px;
                    margin-bottom: 12px;

                    span {
                        padding-bottom: .2em;
                    }
                }

                dd {
                    span {
                        &:last-of-type {
                            line-height: 3em;
                            display: block;
                        }
                    }
                }
            }

            &:last-of-type {
                border: 1px solid var(--aoao-apricot);
                background-color: white;
                padding-top: 21px;

                dt {
                    font-size: 24px;
                }

                dd {
                    line-height: 2em;
                }
            }

            span {
                font-size: 18px;
            }
        }

        .img-container {
            height: 137px;
            margin-bottom: 64px;
            box-shadow: 0px 2px 13px 0px #B2ACAC80;
            border: 1px solid var(--aoao-pomegranate);

            img {
                object-fit: cover;
            }
        }
    }

    .notice {
        text-align: center;
        margin-top: 29px;

        strong {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;

            span {
                position: relative;
                line-height: 3em;
                display: inline-block;
                width: fit-content;

                &::before,
                &::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    display: block;
                    width: 100%;
                    height: 1px;
                    background-color: currentColor;
                }

                &::before {
                    bottom: 4px;
                }

                &::after {
                    bottom: -4px;
                }
            }
        }

        >p {
            font-weight: 700;
            margin-top: 50px;
        }

        >article {
            font-weight: 700;
            margin-top: 29px;

            h5 {
                font-size: 24px;
                line-height: 2.5em;
            }

            >p {
                font-size: 18px;
                line-height: 2em;
                margin-bottom: 60px;
            }

            article {
                text-align: left;
                width: 312px;
                margin: 0 auto;

                &:first-of-type {
                    margin-bottom: 33px;
                }

                h6 {
                    font-size: 32px;
                    line-height: 2em;
                    margin-bottom: 20px;
                }

                p {
                    line-height: 2em;
                }
            }
        }
    }
}

#reserve-menu {
    .notice {
        margin-top: 101px;
    }
}

#menu-notice {
    font-weight: 700;
    color: var(--aoao-apricot);
    line-height: 4em;
    text-align: center;
    position: relative;
    display: block;
    padding-top: 156px;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: var(--aoao-peach);
        opacity: .2;
        pointer-events: none;
    }

    .img-container {
        display: block;
        aspect-ratio: 1;
        width: 293px;
        margin: 62px auto;
        box-shadow: 0px 2px 13px 0px #B2ACAC80;
        border: 1px solid var(--aoao-pomegranate);

        img {
            display: block;
        }
    }
}

#staff-prime {
    &::before {
        background-image: url("../assets/imgs/スタッフ背景.png");
    }

    &:has(#therapist-btn.active) {
        #therapist-staff {
            display: block;
            opacity: 1;
            transition-property: opacity;
            transition-duration: .6s;
            transition-behavior: allow-discrete;

            @starting-style {
                display: block;
                opacity: 0;
            }
        }
    }

    &:has(#guide-btn.active) {
        #guide-staff {
            display: block;
            opacity: 1;
            transition-property: opacity;
            transition-duration: .6s;
            transition-behavior: allow-discrete;

            @starting-style {
                display: block;
                opacity: 0;
            }
        }
    }

    #eye-catch {
        &::before {
            background-image: url("../assets/imgs/黒いわんちゃん.jpg");
        }
    }

    .btn-container {
        letter-spacing: .08em;
        text-align: center;
        padding-top: 92px;
        padding-bottom: 128px;

        p {
            font-size: 20px;
            color: var(--aoao-apricot);
            margin-bottom: 125px;

            span {
                display: block;
            }
        }

        button {
            font-size: 20px;
            display: block;
            width: 202px;
            height: 35px;
            border: 1px var(--aoao-pomegranate) solid;
            border-radius: 10px;
            margin: 31px auto;
            transition-property: color, background-color;
            transition-duration: .6s;

            &.active {
                color: white;
                background-color: var(--aoao-pomegranate);
            }
        }
    }

    .link-container {
        margin-top: 83px;
        padding-bottom: 107px;

        a {
            margin: 20px auto;
        }
    }
}

#therapist-staff,
#guide-staff {
    display: none;

    h3 {
        font-size: 24px;
        font-weight: 400;
        color: var(--aoao-apricot);
        position: relative;
        width: 334px;
        margin: 0 auto;
        border-bottom: 1px var(--aoao-black) solid;
    }

    .staff-article {
        letter-spacing: .08em;
        width: 290px;
        margin: 0 auto;

        .thumb {
            aspect-ratio: 285 / 322;
            width: 285px;
            overflow: clip;
            border: 1px solid var(--aoao-pomegranate);
            border-radius: 40px;
            margin: 41px auto 20px;
            flex-shrink: 0;
            align-self: flex-start;

            img {
                object-fit: cover;
                display: block;
            }
        }

        p {
            &:first-of-type {
                color: white;
                text-align: center;
                background-color: var(--aoao-pomegranate);
                margin: 0 auto 26px;
            }

            &:not(:first-of-type) {
                margin-top: 29px;
                margin-bottom: 33px;

                span {
                    font-size: 14px;
                    display: block;
                }
            }
        }

        h4 {
            font-size: 22px;
            font-weight: 400;
            padding-left: 4px;
            padding-bottom: 26px;
            border-bottom: 1px solid var(--aoao-black);

            span {
                font-size: 14px;
                display: block;
            }
        }

        .tag-container {
            margin-top: 31px;

            div {
                font-size: 14px;
            }

            form {
                color: white;
                display: inline-block;
                padding: 1px 3px;
                background-color: var(--aoao-pomegranate);
                border: 1px var(--aoao-black) solid;
                border-radius: 5px;
                margin: 7px 5px;
            }
        }
    }
}

#access-prime {
    #eye-catch {
        &::before {
            background-image: url("../assets/imgs/アクセスアイキャッチ.jpg");
            opacity: .5;
            background-size: cover;
            background-position: left;
            mask-image: linear-gradient(to right, transparent 40%, black 100%);
            mask-size: cover;
            mask-position: center center;
            mask-repeat: no-repeat;
        }
    }
}

#map-container,
#route-guide {
    &::before {
        background-image: url("../assets/imgs/アクセス背景.png");
        opacity: 1;
    }
}

#map-container {
    color: var(--aoao-apricot);
    padding-top: 59px;
    padding-bottom: 94px;

    >p {
        font-size: 20px;
        text-align: center;
        margin-bottom: 138px;

        span {
            display: block;
            font-size: 16px;
        }
    }

    .row-from-pc {
        p {
            font-size: 20px;
            padding-left: 46px;
            margin-bottom: 37px;
        }
    }

    .iframe-container {
        aspect-ratio: 1;
        width: 298px;
        margin: 0 auto;
        border-radius: 40px;
        overflow: clip;
        box-shadow: 0px 2px 13px 0px #B2ACAC80;
        border: 1px solid var(--aoao-pomegranate);

        iframe {
            width: 100%;
            height: 100%;
        }
    }

    .info {
        line-height: 2em;
        width: 337px;
        margin: 26px auto 49px;

        address {
            line-height: 1.2em;
            margin-bottom: .8em;
        }
    }

    article {
        font-size: 18px;

        h3 {
            font-weight: 400;
            color: white;
            text-align: center;
            width: 149px;
            background-color: var(--aoao-pomegranate);
            margin-left: 46px;
        }

        dl {
            display: flex;
            width: 310px;
            margin: 8px 0 8px 46px;

            dt {
                display: flex;
                width: 160px;
                justify-content: flex-end;

                &::after {
                    content: "　・・・　";
                }
            }

            dd {
                flex-grow: 1;

                span {
                    display: block;
                    width: fit-content;
                    margin-left: auto;
                }
            }
        }
    }

    a {
        font-weight: 900;
        display: flex;
        gap: 6px;
        margin: 41px 0 0 46px;

        .img-container {
            aspect-ratio: 1;
            width: 18px;

            img {
                display: block;
            }
        }
    }
}

#route-guide {
    padding-bottom: 167px;

    &:has(#kitahama-btn.active) {
        #kitahama-route {
            display: block;
            opacity: 1;
            transition-property: display, opacity;
            transition-duration: .6s;
            transition-behavior: allow-discrete;

            @starting-style {
                display: block;
                opacity: 0;
            }
        }
    }

    &:has(#yodoyabashi-btn.active) {
        #yodoyabashi-route {
            display: block;
            opacity: 1;
            transition-property: display, opacity;
            transition-duration: .6s;
            transition-behavior: allow-discrete;

            @starting-style {
                display: block;
                opacity: 0;
            }
        }
    }

    h3 {
        font-size: 20px;
        text-align: center;
        background-color: white;
        margin-bottom: 68px;
        border-radius: 9px;
    }

    >.btn-container {
        button {
            position: relative;
            font-size: 18px;
            text-align: center;
            display: flex;
            align-items: center;
            width: 330px;
            height: 50px;
            padding-right: 17px;
            background-color: var(--aoao-peach);
            border-radius: 10px;
            box-shadow: 0px 0.5px 2px 0px #00000040;
            margin: 0 auto 29px;

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                display: block;
                width: 100%;
                height: 100%;
                border: 1px var(--aoao-apricot) solid;
                border-radius: 10px;
                opacity: 0;
                transition-property: opacity;
                transition-duration: .3s;
            }

            &::after {
                content: "";
                display: inline-block;
                aspect-ratio: 1;
                height: 1em;
                background-color: var(--aoao-black);
                clip-path: shape(from 50% 80%,
                        line to 100% 50%,
                        line to 100% calc(50% + 1px),
                        line to 50% calc(80% + 1px),
                        line to 0 calc(50% + 1px),
                        line to 0 50%,
                        close);
            }

            &.active {
                &::before {
                    opacity: 1;
                }
            }

            span {
                flex-grow: 1;
            }
        }
    }

    .normal-link {
        margin-top: 147px;
    }
}

#kitahama-route,
#yodoyabashi-route {
    color: var(--aoao-apricot);
    margin: 89px auto 0;
    width: 306px;
    display: none;

    h4 {
        font-size: 20px;

        border-bottom: 1px var(--aoao-black) solid;
    }

    article {
        position: relative;
        left: 8px;
        margin-top: 52px;

        h5 {
            font-size: 18px;
            display: flex;
            gap: 12px;

            .img-container {
                display: block;
                aspect-ratio: 1;
            }
        }

        .btn-container {
            position: relative;

            button {
                position: absolute;
                top: 50%;
                translate: 0 -50%;

                &.prev-btn {
                    left: 5px;
                }

                &.next-btn {
                    right: 5px;
                }
            }

            .swiper-pagination-bullets {
                display: flex;
                justify-content: center;
                gap: 3px;
                margin: 11px 0;

                .swiper-pagination-bullet {
                    display: block;
                    aspect-ratio: 7 / 6;
                    width: 7px;
                    background-color: #D9D9D9;
                    border-radius: 50%;

                    &.swiper-pagination-bullet-active {
                        background-color: var(--aoao-pomegranate);
                    }
                }
            }
        }

        swiper-container,
        .video-container {
            border-radius: 20px;
            overflow: clip;
            aspect-ratio: 306 / 188;
            box-shadow: 0px 2px 13px 0px #B2ACAC80;
            border: 1px solid var(--aoao-pomegranate);

            swiper-slide {
                img {
                    object-fit: cover;
                }
            }
        }

        .video-container {
            background-color: var(--aoao-apricot);

            video {
                object-fit: cover;
                display: block;
                width: 100%;
                height: calc(100% + 1px);
                box-sizing: content-box;
            }
        }
    }
}

#handicap-prime {
    #eye-catch {
        &::before {
            background-image: url("../assets/imgs/ヘルプマーク.jpg");
        }

        h2 {
            font-size: 28px;

            span {
                font-size: 16px;
            }
        }
    }
}

#handicap-content {
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--aoao-apricot);
    text-align: center;
    position: relative;
    padding-top: 132px;
    padding-bottom: 210px;
    overflow: clip;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: var(--aoao-peach);
        z-index: -1;
    }

    .absolute-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        img,
        div {
            position: absolute;
        }

        img {
            width: unset;
            height: unset;
        }
    }

    #bean-container {
        .bean {
            &:first-of-type {
                top: 80px;
                right: 0;
            }

            &:last-of-type {
                bottom: 168px;
                left: 0;
            }
        }
    }

    #sphere-container {
        .sphere {
            aspect-ratio: 1;
            border-radius: 50%;

            &:first-of-type {
                top: -50px;
                right: 5px;
                width: 180px;
                background-color: #A9EF73;
            }

            &:nth-of-type(2) {
                top: 157px;
                right: 29px;
                width: 64px;
                background-color: #73EFB1;
            }

            &:nth-last-of-type(2) {
                left: 60px;
                bottom: 315px;
                width: 51px;
                background-color: #EFDE73;
            }

            &:last-of-type {
                left: -13px;
                bottom: 54px;
                width: 145px;
                background-color: #A9EF73;
            }
        }
    }

    #hand {
        top: 50%;
        left: 50%;
        aspect-ratio: 386 / 341;
        width: 386px;
        height: unset;
        translate: -50% -50%;
        filter: drop-shadow(1px 1px 0 hsl(from var(--aoao-apricot) h s l / .2));

        .hand-part {
            &:first-of-type {
                top: 1px;
                right: 1px;
            }

            &:nth-of-type(2) {
                top: 0;
                left: 0;
            }

            &:nth-of-type(3) {
                top: 158px;
                left: 46px;
            }

            &:nth-last-of-type(3) {
                top: 195px;
                left: 83px;
            }

            &:nth-last-of-type(2) {
                top: 232px;
                left: 120px;
            }

            &:last-of-type {
                top: 269px;
                left: 157px;
            }
        }
    }

    p,
    strong {
        position: relative;
    }

    p {
        &:first-of-type {
            line-height: 2em;
            margin-bottom: 46px;
        }

        &:last-of-type {
            line-height: 3em;
            margin-top: 46px;
        }
    }

    strong {
        font-size: 24px;
        line-height: 2em;

        span {
            font-size: 1.5em;
        }
    }
}

@media screen and (orientation: landscape) {
    header {
        #hamburger-menu {
            ul {
                flex-direction: unset;
                gap: 7vw;
            }

            .link-container {
                margin-top: 8svh;
            }
        }
    }

    #hero {
        .eye-catch {
            &::before {
                background-size: 135%;
            }
        }
    }

    #about {

        >div,
        article {
            height: 150svh;

            strong,
            p {
                width: 390px;
            }
        }

        >div {
            .bg-img {
                height: 50%;
                background-size: 135%;
            }
        }

        article {
            &:first-of-type {
                height: 150svh;
                padding-top: calc(65svh + (150svh - 562px) / 2);

                &::before {
                    height: calc(65svh + (150svh - 562px) / 2);
                }
            }

            &:last-of-type {
                height: 330svh;
                padding-top: calc(150svh + (150svh - 348px) / 2);

                &::before {
                    background-size: 200%;
                }
            }
        }
    }

    #menu {
        .row {
            justify-content: space-evenly;
        }
    }

    #staff {
        .staff-article {
            aspect-ratio: 300 / 224;
            width: unset;
            height: 80svh;

            .thumb {
                img {
                    object-position: 50% 30%;
                }
            }

            .charge {
                font-size: 17px;
            }
        }

        .sub-staff-article {
            width: unset;
            height: 75svh;

            .charge {
                font-size: 17px;
            }
        }
    }

    #access {
        .access-article {
            margin: 40px auto;
        }

        .iframe-container {
            margin: 70px auto 0;
        }
    }

    #access-prime {
        #eye-catch {
            &::before {
                background-size: contain;
                background-position: right;
            }
        }
    }
}

@keyframes hamburgerAnim {
    62% {
        width: calc(100% - 8px);
    }

    63% {
        width: 0;
    }

    100% {
        width: calc(100% - 8px);
    }
}