#hero.slider {
    position: relative;
    width: 100%;
    height: clamp(600px, 80vh, 800px);
    overflow: hidden;
}

#hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#hero .slide.active {
    opacity: 1;
    z-index: 1;
}

#hero .slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#about {
    position: relative;
    padding-bottom: 8rem;
}

#about::before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 0 40rem 40rem 0;
    width: calc(50vw - 600px + 800px);
    background-color: var(--c-bg);
    box-shadow: var(--shadow);
    z-index: -1;
}

#about .flex {
    row-gap: 3rem;
    column-gap: 2rem;
}

#about .text-content {
    width: 55%;
}

#about strong {
    margin-bottom: 1em;
}

#about .text-content div {
    line-height: 1.8em;
}

#about img {
    width: 45%;
}

#about .btn {
    margin-top: 5rem;
}

#features li {
    box-shadow: var(--shadow);
    background-color: var(--c-bg);
    width: calc(100% / 3);
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20%;
    width: 23%;
}

#features li>div {
    aspect-ratio: 1 / 1;
}

#features li span {
    position: absolute;
    top: 0;
    left: min(2vw, 2rem);
    color: var(--c-sub);
    font-size: clamp(3rem, 3vw, 4rem);
}

#features li img {
    height: 30%;
    margin-bottom: 1rem;
    pointer-events: none;
}

#features li .en {
    border-bottom: 1px solid var(--c-sub);
    margin-bottom: 1rem;
    line-height: 1.5em;
}

#menu ul.flex {
    flex-wrap: wrap;
    row-gap: 8rem;
    margin-bottom: 8rem;
    column-gap: 4%;
}

#menu ul.flex>* {
    width: 48%;
}

#menu figure {
    position: relative;
}

#menu figure h3 {
    margin-bottom: 0;
}

#menu figure>span {
    position: absolute;
    top: 2rem;
    padding-inline: 1em 1.2em;
    line-height: 2.2em;
    border-radius: 0 1.1em 1.1em 0;
    left: 0;
    background-color: #fff;
    color: var(--c-sub);
}

#menu figure img {
    margin-bottom: 1rem;
}

#menu div:has(>span) {
    margin-top: 1.5rem;
}

#menu figcaption span {
    color: var(--c-sub);
    padding-inline: .6em;
    padding-block: .15em .2em;
    border-radius: 1.35em;
    font-size: 1.4rem;
    border: 1px solid var(--c-sub);
}

#counseling {
    margin-top: clamp(10rem, 12vw, 12rem);
    background-color: var(--c-bg);
    padding: 2rem;
    gap: 2rem;
    box-shadow: var(--shadow);
}

#counseling img {
    width: 50%;
}

#counseling .text-content {
    width: 50%;
}

#counseling div:has(>span) {
    color: var(--c-sub);
}

#counseling .price {
    color: var(--c-sub);
    font-size: 3rem;
}

#counseling div:has(>span) {
    margin-bottom: 1.5rem;
}

#counseling span {
    display: block;
    line-height: 1.5em;
}

#counseling h3 {
    margin-bottom: 2rem;
}

#counseling .btn {
    margin-top: 4rem;
}

#instagram .btn {
    gap: .5em;
}

#info .flex {
    gap: 4rem;
}

#info .flex img {
    width: 50%;
}

#info .flex>div {
    width: 50%;
}

#info h3 {
    font-size: clamp(2.4rem, 3vw, 2.8rem);
}

#info h3 span {
    font-size: 1.4rem;
    color: var(--c-sub);
    display: block;
    margin-top: .2em;
}

#info dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: min(3vw, 2rem);
}

#info dt {
    font-weight: 400;
}

#info dd {
    grid-column: 2;
    margin-bottom: 1.5rem;
}

#info dd.last {
    margin-bottom: 0;
}

#map {
    aspect-ratio: 5 / 1;
    overflow: hidden;
    margin-top: clamp(10rem, 12vw, 14rem)
}

#map iframe {
    width: 100%;
    height: 100%;
}

@media screen and (max-width:992px) {
    .btn {
        margin-inline: auto;
    }

    #top-page .flex.flex-column-sp>*,
    #top-page .flex.flex-column-re-sp>* {
        width: 100%;
    }

    #about::before {
        border-radius: 0 20rem 20rem 0;
        width: 100%;
    }

    #about h2 {
        margin-bottom: 1em;
    }

    #about .text-content {
        padding-left: 0;
    }

    #about .text-content br {
        display: none;
    }

    #about .btn {
        margin-top: 3rem;
    }

    #features ul {
        margin-inline: auto;
        row-gap: 4rem;
        flex-wrap: wrap;
    }

    #features li {
        width: 48%;
    }

    #counseling {
        padding-bottom: 6rem;
    }

    #instagram .flex {
        gap: 2rem;
    }

    #info .shop-name {
        margin-bottom: .5em;
    }

    #map {
        aspect-ratio: 3 / 2;
    }
}

@media screen and (max-width:460px) {
    #features li {
        width: 100%;
    }
}