#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%;
}

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

#top-page section#concept {
    padding-top: calc(var(--pd-sectoin) * 1.5);
}

#concept.before::before {
    width: calc(6rem + (50vw - 600px));
    height: 35%;
    left: 0;
    top: 0;
}

#concept h2 {
    margin-bottom: 0;
}

#concept .flex {
    gap: 3rem;
}

#concept .text-content {
    width: 50%;
    margin-top: 3rem;
}

#concept .img-wrap {
    width: 50%;
}

#concept .before::before {
    top: min(2vw, 3rem);
    left: min(2vw, 3rem);
}

#concept .btn {
    margin-top: 6rem;
}

#features.before::before {
    height: 50%;
    bottom: 0;
    left: 0;
}

#features li {
    width: 23%;
    padding-block: 6rem;
    background-color: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

#features ul img {
    width: auto;
    aspect-ratio: 1 / 1;
    max-height: 12rem;
    height: 20vw;
    margin-bottom: 2rem;
}

#features ul img {
    transform: scale(.75);
}

#features li a {
    position: absolute;
    font-size: 1.3rem;
    right: 1rem;
    bottom: 1rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#menu li.fade-in-up:nth-child(n + 2) {
    margin-top: 10rem;
}

#menu figure {
    gap: 4rem;
}

#menu figure img {
    width: 50%;
}

#menu figcaption {
    width: 50%;
}

#menu h3 {
    border-bottom: 1px solid var(--c-sub);
    margin-bottom: 1rem;
}

#menu figcaption ul {
    background-color: var(--c-bg);
    margin-bottom: 4rem;
    margin-top: 2rem;
    padding: 1rem;
}

#menu #counseling {
    margin-top: var(--pd-sectoin);
    border: 1px solid var(--c-sub);
    padding-block: 2rem;
    padding-inline: min(3vw, 3rem);
}

#insta::before {
    top: 0;
    width: calc(50vw - 600px + 1200px);
    left: 0;
}

#insta .text-content {
    width: 40%;
}

#insta .widget {
    width: 60%;
    border: 1px solid var(--c-sub);
    height: fit-content;
    margin-right: 5rem;
}

#insta iframe {
    width: 100%;
    aspect-ratio: 2.55 / 1;
    padding: 1rem;
    background-color: #fff;
}

#contact ul {
    gap: 3rem;
}

#contact li:last-child .btn {
    background-color: transparent;
    color: #000;
}

#contact a {
    width: clamp(30rem, 35vw, 40rem);
    height: 8.5rem;
    gap: .5em;
    font-size: 2rem;
    border: 1px solid var(--c-sub);
}

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

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

    #concept {
        text-align: center;
    }

    #concept.before::before {
        display: none;
    }

    #concept h2 {
        margin-bottom: 1.2em;
    }

    #concept .text-content {
        margin-top: 0;
    }

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

    #features.before::before {
        height: 70%;
    }

    #features ul {
        flex-wrap: wrap;
        row-gap: 4rem;

        margin-inline: auto;
    }

    #features li {
        width: 47%;
        padding-block: 3rem;
    }

    #features img {
        margin-bottom: 1rem;
    }

    #menu figure {
        gap: 2rem;
    }

    #menu #counseling {
        padding-block: 1.5rem;
    }

    #insta.before::before {
        width: 100%;
        height: 63%;
        top: auto;
        bottom: 0;
    }

    #insta .widget {
        margin-right: 0;
    }

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

    #contact a {
        height: 7rem;
    }
}

@media screen and (max-width:1411px) {
    #concept.before::before {
        width: calc(7.5vw + 6rem);
    }

    #insta::before {
        width: 95vw;
    }
}