#hero {
    position: relative;
}

#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;
    height: 100%;
    object-fit: cover;
}

#hero::before {
    position: absolute;
    display: block;
    content: "";
    background-color: rgba(125, 125, 125, 0.2);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

#hero p {
    position: absolute;
    z-index: 10;
    color: #fff;
    bottom: min(5vw, 5rem);
    left: min(5vw, 5rem);
    font-size: clamp(2.4rem, 2.5vw, 3rem);
    line-height: 1.5em;
    letter-spacing: .1em;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

#concept .content {
        column-gap: 4rem;
    row-gap: 3rem;
}

#concept .text-content {
    width: 60%;
}

#concept .img-wrap {
    width: 40%;
    row-gap: 2rem;
    column-gap: 1rem;
}

#concept .text-block {
    margin-bottom: 6rem;
}

#concept .catch {
    margin-bottom: 5rem;
}

#concept strong {
    margin-bottom: 2rem;
}

#concept strong br {
    display: none;
}

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

#features .sakura {
    top: 6%;
    left: 6%;
}

#features li {
    width: 30%;
}

#features li>img {
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 10px solid var(--c-sub);
}

#problems ul {
    flex-wrap: wrap;
    row-gap: 2rem;
    column-gap: 2%;
}

#problems li {
    width: 32%;
    position: relative;
    overflow: hidden;
}

#problems li {
    position: relative;
    display: block;
}

#problems li::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2;
}

#problems li h3 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    color: #fff;
    z-index: 3;
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-inner {
    position: relative;
    background: #fff;
    padding-block: 4rem 5rem;
    width: 90vw;
    max-width: 600px;

    opacity: 0;
    transform: scale(.95);
    transition: opacity .35s ease, transform .35s ease;
}

.popup.show .popup-inner {
    opacity: 1;
    transform: scale(1);
}

.close-icon {
    all: unset;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
}

.close-icon span {
    font-size: 3rem;
    line-height: 1;
    font-weight: 300;
}

.popup .img-wrap {
    margin-block: 3rem 2rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    width: 90%;
    margin-inline: auto;
    position: relative;
}

.popup .img-wrap::before {
    position: absolute;
    content: "";
    display: block;
    background-color: rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.popup .img-wrap img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.popup p {
    margin-bottom: 1.5rem;
}

.popup .btn {
    width: 80%;
    max-width: 24rem;
}

#problems .btn-wrap {
    gap: 1.5rem;
}

#menu ul {
    flex-wrap: wrap;
    row-gap: 8rem;
}

#menu li {
    width: 47%;
    padding-bottom: 5rem;
}

#menu img {
    margin-bottom: 2rem;
}

#menu h3 {
    border-bottom: 1px solid var(--c-font);
    padding-bottom: .2em;
    margin-bottom: 1rem;
}

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

#voice li {
    background-color: var(--c-sub);
    padding: min(3vw, 3rem);
    position: relative;
    border-radius: 1.5rem 1.5rem 1.5rem 0;
}

#voice li:nth-child(n + 2) {
    margin-top: 5rem;
}

#voice .stars {
    width: 15rem;
    margin-bottom: 1rem;
}

#voice .user {
    text-align: end;
}

#voice .bubble {
    width: 4%;
    max-width: 3rem;
    position: absolute;
    right: 99.7%;
    bottom: 0;
    aspect-ratio: 5 / 2;
}

#instagram .img-wrap {
    aspect-ratio: 5 / 2;
}

#instagram iframe {
    width: 100%;
    aspect-ratio: 5 / 2;
}

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

@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 .img-wrap {
        display: flex;
        flex-direction: row;
    }

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

    #concept .text-block {
        margin-bottom: 3rem;
    }

    #concept .catch {
        margin-bottom: 2rem;
    }

    #top-page main #features li {
        width: 75%;
        max-width: 400px;
    }

    #features .sakura {
        top: 7%;
        left: 7%;
    }

    #problems ul {
        column-gap: 4%;
        row-gap: 3.5vw;
    }

    #problems li {
        width: 48%;
    }

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

@media screen and (max-width:420px) {
    #concept strong br {
        display: block;
    }
}