html {
    font-size: 18px;
}

h1 {
    height: 120px;
}

.normal-link {
    transition-property: box-shadow, translate;
    transition-duration: .3s;

    &:hover {
        box-shadow: -3px 3px 2px 0px #00000040;
        translate: 3px -3px;
    }

    &:active {
        box-shadow: 0 .5px 0 0 #00000040;
        translate: none;
        transition-duration: 0s;
    }
}

.to-single {
    transition-property: box-shadow, translate;
    transition-duration: .3s;

    &:hover {
        box-shadow: -3px 3px 2px 0px #00000040;
        translate: 3px -3px;
    }

    &:active {
        box-shadow: 0 .5px 0 0 #00000040;
        translate: none;
        transition-duration: 0s;
    }
}

.to-archive {
    font-size: 32px;
    width: fit-content;
    padding: 20.5px 37px;
    transition-property: box-shadow, translate;
    transition-duration: .3s;

    &:hover {
        box-shadow: -4px 4px 0 0 #00000040;
        translate: 4px -4px;
    }

    &:active {
        box-shadow: 0 0 4px 0 #00000040;
        translate: none;
        transition-duration: 0s;
    }
}

.btn-container {

    .prev-btn,
    .next-btn {
        width: 48px;
        height: 82px;

        &:not(:disabled) {
            &:hover {
                &::after {
                    scale: 1.1;
                }
            }
        }

        &::after {
            transition-property: scale;
            transition-duration: .3s;
        }
    }
}

button {
    cursor: pointer;
}

.for-mb,
.none-from-pc {
    display: none;
}

.row-from-pc {
    display: flex;
}

.from-pc {
    display: block;
}

header {
    width: calc(100% / 3);
    transition-property: translate;
    transition-duration: .4s;
    translate: -50%;

    &:has(#hamburger-btn.open) {
        translate: none;
    }

    #hamburger-btn {
        left: unset;
        right: 6vw;

        &:hover {
            span {
                scale: 1.2;
            }
        }

        &:not(.open) {
            span {
                &:first-of-type {
                    transition-property: rotate, top, width, scale;
                    transition-duration: .2s, 0s, .6s, .2s;
                    transition-delay: 0s, .5s, 0s, 0s;
                }

                &:nth-of-type(2) {
                    transition-property: height, scale;
                    transition-duration: .5s, .2s;
                    transition-delay: 0s, .2s;
                }

                &:last-of-type {
                    transition-property: rotate, top, width, scale;
                    transition-duration: .2s, 0s, .6s, .2s;
                    transition-delay: 0s, .5s, 0s, .4s;
                }
            }
        }

        span {
            &:first-of-type {
                transition-property: top, rotate, width, scale;
                transition-duration: .5s, .2s, .6s, .2s;
                transition-delay: 0s, .5s, 0s, 0s;
            }

            &:nth-of-type(2) {
                transition-property: height, width, left, scale;
                transition-duration: .1s, .5s, .5s, .2s;
                transition-delay: 0s, 0s, .6s, 0s;
            }

            &:last-of-type {
                transition-property: top, width, rotate, scale;
                transition-duration: .5s, .6s, .2s, .2s;
                transition-delay: 0s, 0s, .5s, 0s;
            }
        }
    }

    #hamburger-menu {
        font-size: 20px;

        ul {
            flex-direction: column;
            gap: 6svh;

            &:hover {
                li {
                    opacity: .6;

                    &:has(a:hover) {
                        opacity: 1;
                    }
                }
            }

            li {
                transition-property: opacity;
                transition-duration: .2s;
            }
        }

        .link-container {
            gap: 12px;

            a {
                transition-property: scale;
                transition-duration: .3s;

                &:hover {
                    scale: 1.05;
                }

                &:active {
                    transition-duration: 0s;
                    scale: none;
                }
            }
        }
    }
}

footer {
    a {
        pointer-events: none;
    }

    table {
        height: min-content;
        margin: 0;
    }

    .img-container {
        margin: 0;
    }

    .row-from-pc {
        justify-content: space-around;
        align-items: center;
    }
}

#hero {
    .eye-catch {
        &::before {
            background-size: cover;
        }

        .img-container {
            width: 250px;
            height: 250px;
        }

        strong {
            font-size: 32px;

            >span {
                font-size: 64px;
            }
        }
    }

    a {
        &:hover {
            .banner {
                border-radius: 40px;
                scale: 1.1;
                box-shadow: 0px 0.5px 4px 4px #00000040;
            }
        }

        &:active {
            .banner {
                border-radius: 0;
                scale: none;
                transition-duration: 0s;
            }
        }

        .banner {
            right: 11px;
            background-image: url("../assets/imgs/ハンディキャップ割引バナーpc.png");

            h2 {
                font-size: 20px;

                >span {
                    font-size: 18px;
                    padding-top: 0;

                    span {
                        font-size: 16px;
                    }
                }
            }

            small {
                font-size: 14px;
            }
        }
    }

    .banner {
        position: fixed;
        right: 200px;
        bottom: 11px;
        z-index: 2;
        width: 150px;
        height: 150px;
        background-image: url("../assets/imgs/アオアオ誕生日バナーpc.jpg");
        transition-property: opacity, border-radius, scale, box-shadow;
        transition-duration: .3s;
        transform-origin: right bottom;

        &.opacity {
            opacity: 0;
            pointer-events: none;
        }

        h2 {
            font-size: 16px;

            >span {
                font-size: 10px;
                padding-top: 9px;

                span {
                    font-size: 10px;
                }
            }
        }

        small {
            font-size: 10px;
        }
    }
}

#about {
    position: relative;
    z-index: -1;
    padding-bottom: 12.5svh;
    background-color: var(--aoao-peach);

    >div,
    article {

        p,
        strong {
            font-size: 20px;
        }
    }

    >div {
        .bg-img {
            background-position-y: 90%;
        }

        strong {
            width: fit-content;
        }
    }

    article {
        height: 75svh !important;
        margin: 12.5svh 0;

        &:first-of-type {
            background-image: linear-gradient(to left, white 45%, transparent);
            padding-top: calc((75svh - 205px) / 2);
            padding-left: 50%;

            &:before {
                height: 100%;
                width: 55%;
                background-size: 150%;
            }
        }

        &:last-of-type {
            background-image: linear-gradient(to right, white 35%, transparent);
            padding-top: calc((75svh - 445px) / 2);
            padding-right: 40%;
            margin-top: 25svh;
            margin-bottom: 0;

            &::before {
                left: unset;
                right: 0;
                width: 65%;
                background-size: 300%;
            }
        }

        &::before {
            background-position: center !important;
        }
    }
}

#menu {
    .menu-article {
        display: flex;
        justify-content: space-evenly;
        width: unset;
        margin-bottom: 152px;

        &:nth-of-type(even) {
            flex-direction: row-reverse;
        }
    }

    .row {
        gap: 83px;
        margin: 0;

        .img-container {
            width: 336px;
        }
    }
}

#staff {
    padding-bottom: 133px;

    .btn-container {
        swiper-container {
            width: 804px;

            swiper-slide {
                width: calc(100% / 3);
            }
        }
    }

    .staff-article {
        aspect-ratio: 224 / 429;
        height: unset;

        .charge {
            font-size: 20px;
        }
    }

    .row-from-pc {
        justify-content: center;
        gap: 66px;

        .charge {
            font-size: 20px;
        }
    }

    .sub-staff-article {
        width: 281px;
        height: unset;
        margin: 0;
    }

    .to-archive {
        margin-top: 202px;
    }
}

#news {
    .news-article {
        gap: 30px;
        width: 75%;

        time {
            margin-bottom: 16px;
        }

        h3 {
            font-size: 24px;
        }
    }

    .btn-container {
        .row {
            #pagination {
                &:hover {
                    color: var(--aoao-pomegranate);
                    text-decoration: underline;
                }
            }
        }
    }
}

#access {

    address,
    p {
        font-size: 20px;
    }

    .access-article {
        width: unset;

        .img-container {
            position: relative;

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                display: block;
                width: 100%;
                height: 100%;
                background-color: black;
                opacity: .4;
                transition-property: opacity;
                transition-duration: .4s;
            }
        }

        p {
            transition-property: background-color;
            transition-duration: .4s;
        }
    }

    .iframe-container {
        width: 600px;
        height: 600px;
        margin: 0;
    }

    .row-from-pc {
        justify-content: center;
        flex-direction: row-reverse;
        gap: 50px;
    }

    article {
        &:has(button:hover) {
            .img-container {
                &::before {
                    opacity: 0;
                }
            }

            p {
                background-color: var(--aoao-apricot);
            }
        }
    }
}

#eye-catch {
    /* .img-container {
        margin-left: calc(100% / 3 + 50px);
    } */

    h2 {
        padding-left: calc(100% / 3 + 100px);
    }

    .keseran-container {
        left: calc(100% / 3);
    }
}

#menu-prime {
    #eye-catch {
        &::before {
            background-size: cover;
            background-position: 40% 65%;
        }
    }
}

#to-top {
    width: 71px;
    transition-property: background-color;
    transition-duration: .3s;

    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: 90%;
        height: 90%;
        border: 3px var(--aoao-peach) solid;
        border-radius: 50%;
        opacity: 0;
        translate: -50% -50%;
        transition-property: opacity;
        transition-duration: .3s;
    }

    &:hover {
        &::after {
            opacity: 1;
        }
    }

    &::before {
        transition-property: background-color;
        transition-duration: .3s;
    }
}

#menu-sticky {
    bottom: 50%;
    translate: 0 50%;

    button {
        &:hover {
            &::before {
                opacity: 1;
            }
        }

        &:active {
            opacity: .8;
        }
    }
}

#staff-prime {
    .btn-container {
        button {
            transition-property: box-shadow, translate;
            transition-duration: .3s;

            &:hover {
                box-shadow: -4px 4px 0 0 #00000040;
                translate: 4px -4px;
            }

            &:active {
                box-shadow: 0 0 4px 0 #00000040;
                translate: none;
                transition-duration: 0s;
            }
        }
    }
}

#therapist-staff {
    .tag-container {
        form {
            transition-property: box-shadow, translate;
            transition-duration: .3s;

            &:hover {
                box-shadow: -4px 4px 0 0 #00000040;
                translate: 4px -4px;
            }

            &:active {
                box-shadow: 0 0 4px 0 #00000040;
                translate: none;
                transition-duration: 0s;
            }
        }
    }
}

#access-prime {
    #eye-catch {
        &::before {
            width: calc(100% / 3 * 2);
            background-size: cover;
            background-position: center center;
            mask-image: linear-gradient(to right, transparent, black);
        }
    }
}

#map-container {
    height: 100svh;
    padding-top: 30px;
    padding-bottom: 0;

    >p {
        font-size: 32px;
        margin-bottom: 35px;

        span {
            font-size: 24px;
            margin-top: 18px;
        }
    }

    .row-from-pc {
        position: relative;
        justify-content: center;
        align-items: flex-end;
        gap: 8%;

        p {
            position: absolute;
            top: 0;
            left: calc((100% - 480px * 2 - 9vw) / 2 + 480px + 9vw);
            padding-left: 30px;
            margin: 0;
        }
    }

    .iframe-container {
        margin: 0;
    }

    .info {
        line-height: calc(1em + 11px);
    }

    address {
        margin-bottom: 23px;
    }

    article {
        h3 {
            width: 224px;
        }

        dl {
            dt {
                width: 180px;
            }
        }
    }

    a {
        font-size: 32px;
        gap: 16px;
        pointer-events: none;

        .img-container {
            width: 34px;
        }
    }
}

#route-guide {
    h3 {
        width: 1061px;
    }

    >.btn-container {
        gap: 205px;
    }
}

#kitahama-route,
#yodoyabashi-route {
    width: unset;

    h4 {
        font-size: 32px;
        width: 1061px;
        margin: 0 auto;
    }

    .row-from-pc {
        justify-content: center;
        gap: 8%;
    }

    article {
        width: 468px;
    }

    .btn-container {
        button {
            width: 24px;
            height: 41px;
        }
    }
}

#handicap-prime {
    #eye-catch {
        h2 {
            padding-left: calc(100% / 3 + 100px);
        }
    }
}

#handicap-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100svh;

    p {
        &:last-of-type {
            line-height: 2em;
        }
    }
}

@media screen and (min-width: 1500px) {
    html {
        font-size: 20px;
    }

    #menu-sticky {
        button {
            width: 184px;
        }
    }
}