@media screen and (max-width: 767px) {
    .pc {
        display: none;
    }

    .sp {
        display: inline-block;
    }

    body {
        font-size: 16px;
    }

    .flex-wrap {
        flex-direction: column;
    }

    /*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
    h1 {
        padding: 20px 0 0 5vw;
    }

    h1 .header-logo {
        width: 102px;
    }

    /*--------------------------------------------------------------
# title-section
--------------------------------------------------------------*/
    .site-title {
        padding: 70px 0 10px;
        width: 90%;
    }

    .ribbon-text {
        padding: 0.6em 20px;
        letter-spacing: 0.05em;
        font-size: min(3.73vw, 28px);
    }

    /* .ribbon-text:before {
        border-width: 1.6em 0px 1.6em 15px;
        border-color: transparent transparent transparent #FFF7EB;
        border-style: solid;
    }

    .ribbon-text:after {
        border-width: 1.6em 15px 1.6em 0px;
        border-color: transparent #FFF7EB transparent transparent;
        border-style: solid;
    } */

    /*--------------------------------------------------------------
# kv-section
--------------------------------------------------------------*/
    .kv-section {
        margin-top: 5%;
        padding-bottom: 8%;
    }

    .kv-img {
        margin-top: 0;
    }

    /*--------------------------------------------------------------
# what-section
--------------------------------------------------------------*/
    .what-section,
    .benefits-section,
    .layered-section,
    .faq-section {
        width: 100vw;
    }

    .what-section .flex-wrap {
        padding: 70px 0 100px;
        gap: 30px;
        align-items: center;
    }

    .what-movie {
        width: 70%;
        max-width: none;
    }

    .what-content {
        width: 100%;
    }

    .what-section h3 {
        font-size: 29px;
        margin-bottom: 20px;
    }

    .what-content p:first-child {
        margin-bottom: 20px;
    }

    .modal-btn {
        margin-top: 30px;
    }

    .btn img {
        filter: drop-shadow(3px 3px 0 #000);
    }

    .modal-bg {
        padding: 12px;
        border-radius: 14px;
    }

    .modal-wrapper {
        width: 86vw;
        padding: 10px 2%;
        border-radius: 14px;
        height: 70vh;
    }

    .modal-wrapper h3 {
        font-size: 24px;
    }

    .modal-title img {
        transform: none;
    }

    .what-section .modal-wrapper .flex-wrap {
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
        padding: 10px 0 0;
    }

    .what-section .modal-wrapper .flex-wrap p {
        font-size: 16px;
        width: 100%;
    }

    .what-section .modal-wrapper .flex-wrap .modal-img {
        width: 85%;
    }

    .what-section .modal-wrapper .flex-wrap .modal-img .modal-illust {
        width: 55%;
        margin: 10px;
    }

    .modal-wrapper h4 {
        font-size: 20px;
        line-height: 1;
    }

    .close {
        transform: translate(0, -100%);
    }

    .what-section .close {
        transform: translate(0, -100%);
    }

    .close-btn {
        width: 50px;
        height: 50px;
        transform: translate(0, -10px);
    }

    .close-btn::before,
    .close-btn::after {
        height: 26px;
    }

    .modal-wrapper::-webkit-scrollbar {
        width: 6px;
    }

    .wave {
        overflow: unset;
    }

    /*--------------------------------------------------------------
# benefits-section
--------------------------------------------------------------*/
    h3 {
        font-size: 46px;
        margin-bottom: 20px;
        line-height: 1;
    }

    .benefits-content {
        width: 100%;
        border-top: none;
        border-right: none;
    }

    .benefits-section .flex-wrap.key {
        flex-direction: row;
    }

    .key_01 {
        border-top: 2px solid #000;
    }

    .key-title {
        font-size: min(4.53vw, 30px);
        margin: 10px 0;
    }

    .benefits-section .flex-wrap.key img {
        max-height: 240px
    }

    .benefits-section .flex-wrap.key p {
        font-size: min(5.33vw, 36px);
    }

    /*--------------------------------------------------------------
# layered-section
--------------------------------------------------------------*/
    .layered-section {
        padding-bottom: 80px;
    }

    .layered-section .flex-wrap {
        gap: 26px;
    }

    .design-title {
        font-size: 23px;
        margin-bottom: 10px;
    }

    .layered-section .btn {
        margin: 50px auto 0;
    }

    .layered-modal-wrap {
        width: 100%;
    }

    .layered-modal-wrap .modal-wrapper {
        width: 90vw;
    }

    .layered-modal-wrap .modal-wrapper p {
        font-size: 22px;
    }

    .layered-modal-wrap .close-btn {
        transform: translate(0, -10px);
    }

    .slider-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        /* ← 縦方向中央寄せ */
        justify-content: center;
        /* ← 横方向中央寄せ（任意） */
        flex-direction: column;
        position: relative;
        margin: 30px 0;
    }

    .slick-slider {
        width: 86%;
        max-width: 400px;
        max-height: 60vh;
    }

    .layered-modal-wrap.asagao .slick-slider {
        width: 60%;
        max-width: 240px;
    }

    .layered-modal-wrap.ramen .slick-slider {
        width: 70%;
        max-width: 240px;
    }

    .slick-dotted.slick-slider {
        height: fit-content;
        margin-bottom: 0;
    }

    .slick-initialized .slick-slide {
        padding: 0 10px;
    }

    .slider img {
        width: 100%;
        object-fit: cover;
    }

    /****** 矢印 ******/

    .arrow_box {
        display: flex;
        width: 90px;
        align-items: center;
        justify-content: space-between;
        margin-top: 24px;
    }

    .prev-arrow,
    .next-arrow {
        display: block;
        width: 30px;
        height: 30px;
        background: coral;
        border-radius: 50%;
        transition: all .3s ease;
        cursor: pointer;
        position: relative;
    }

    .prev-arrow {
        transform: rotate(180deg);
        margin-right: 20px;
    }

    .prev-arrow::before,
    .next-arrow::before {
        position: absolute;
        content: "";
        width: 10px;
        height: 10px;
        border-right: 2px solid #FFF;
        border-top: 2px solid #FFF;
        top: 50%;
        left: 44%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    /****** dot ******/
    .slick-dots {
        /*画像の下部へ配置*/
        position: relative;
        z-index: 100;
        bottom: -10px;
    }

    .slick-dots li button:before {
        color: #ffd8ba;
        opacity: 1;
    }

    .slick-dots li.slick-active button:before {
        color: #EF781B;
        opacity: 1;
    }

    /*--------------------------------------------------------------
# step-section
--------------------------------------------------------------*/
    .step-section .wrapper {
        padding: 60px 0 100px;
    }

    .step-section h3 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .step-content-wrapper {
        flex-direction: column;
        filter: none;
        border: 2px solid #000;
        border-radius: 15px;
        overflow: hidden;
    }

    .step-content {
        width: 100%;
        border-radius: 0;
        border: none;
    }

    .step-content.step01 {
        border-left: none;
    }

    .step-number {
        font-size: 40px;
        border-top: 2px solid #000;
        padding: 10px 20px;
    }

    .step-content.step01 .step-number {
        border-top: none;
    }

    .step-item p {
        font-size: 24px;
    }

    .step-item .step-img {
        min-height: auto;
        width: 50%;
    }

    .step-item .step-img img {
        width: 100%;
    }

    .step-item p.small-text {
        font-size: 18px;
    }

    /*--------------------------------------------------------------
# setup-section
--------------------------------------------------------------*/
    .setup-section {
        padding-bottom: 80px;
    }

    .setup-img-wrap {
        margin-top: 70px;
    }

    .setup-img-wrap .bubble-setup {
        right: 50%;
        transform: translate(50%, -70%);
        filter: drop-shadow(3px 3px 0 #000);
        max-width: none;
    }

    .setup-img-wrap .setup-img {
        filter: drop-shadow(3px 3px 0 #000);
    }

    /*--------------------------------------------------------------
# faq-section
--------------------------------------------------------------*/
    .accordion {
        padding: 0;
    }

    span.qa-mark {
        font-size: 24px;
    }

    .nav-open,
    .qa-answer {
        gap: 10px;
        padding: 20px 1em 20px 0;
    }

    .qa-answer {
        padding: 0 40px 20px 0;
    }


    .qa-answer p {
        font-size: 14px;
    }

    /*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
    .footer {
        padding: 80px 0 85px;
    }

    .footer .btn {
        margin-bottom: 50px;
    }

    .footer-logo {
        margin-bottom: 20px;
        max-width: 170px;
    }

    .footer-content-wrap {
        flex-direction: column;
    }

    .site-link p {
        font-size: 12px;
    }

    .sns-icon {
        justify-content: center;
        margin-top: 32px;
        gap: 15px;
    }

    .sns-icon img {
        width: 24px;
    }

    .copy-right {
        font-size: 9px;
        bottom: 60px;
    }


}