@charset "utf-8";

@media screen and (max-width: 768px) {

    body {
        color: #000000;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 16px;
        line-height: 1.6;
        overflow-x: hidden;
    }

    p {
        font-size: 14px;
    }

    .container {
        max-width: 100%;
        margin: 0 auto;
    }



    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }


    .header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .header__list {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 0;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 15px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        z-index: 999;
        text-align: center;
        left: -10px;
        width: calc(100% + 20px);
    }

    .header__list.active {
        display: flex;
    }

    .header__item a {
        font-size: 18px;
        color: #000000;
        font-weight: 600;
        padding: 12px 20px;
        display: inline-block;
        width: 100%;
    }

    .header__item a:hover {
        font-size: 14px;
        color: #ff5733;
        background-color: rgba(255, 87, 51, 0.1);
    }

    .header .btn {
        font-size: 18px;
        font-weight: bold;
        background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
            radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%),
            radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 45%),
            radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 35%),
            radial-gradient(circle at 60% 50%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 55%),
            radial-gradient(circle at 25% 55%, rgba(85, 140, 120, 0.9), rgba(185, 236, 225, 0) 60%),
            radial-gradient(circle at 75% 60%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 50%),
            radial-gradient(circle at 50% 20%, rgba(185, 236, 225, 0.75), rgba(185, 236, 225, 0) 70%),
            radial-gradient(circle at 50% 80%, rgba(185, 236, 225, 0.7), rgba(185, 236, 225, 0) 70%);
        color: #333;
        border-radius: 100px;
        padding: 5px 10px 8px;
        margin: 10px;
        text-align: center;
        display: inline-block;
        width: calc(100% - 20px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #000;
    }


    main {
        background-color: #f3e8e7;
    }

    .About,
    .Flow {
        background-color: #fff;
    }



    .mv {
        position: relative;
        /* 親コンテナを基準に子要素を絶対配置可能にする ← ここ追加 */
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    .mv__inner {
        position: absolute;
        /* 画像を親にピッタリ重ねるため絶対配置に変更 ← ここ追加 */
        top: 0;
        /* 上端を親の上端に合わせる ← ここ追加 */
        left: 0;
        /* 左端を親の左端に合わせる ← ここ追加 */
        width: 100%;
        /* 幅を親に合わせる ← ここ追加 */
        height: 100%;
        /* 高さを親に合わせる ← ここ追加 */
    }

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

    .mv__overlay {
        position: absolute;
        /* オーバーレイも絶対配置で親にピッタリ重ねる ← ここ追加 */
        top: 0;
        /* 上端を合わせる ← ここ追加 */
        left: 0;
        /* 左端を合わせる ← ここ追加 */
        width: 100%;
        /* 幅を親に合わせる ← ここ追加 */
        height: 100%;
        /* 高さを親に合わせる ← ここ追加 */
        background: linear-gradient(135deg, rgba(0, 128, 0, 0.2), rgba(128, 64, 64, 0.2));
        pointer-events: none;
    }

    .mv__middle__inner {
        position: absolute;
        top: 45%;
        /* 上から45%で画面中央付近に配置 */
        left: 5%;
        /* 左側に少し余白 */
        width: 100%;
        /* 右側の空白も自然に */
        max-width: 360px;
        /* 折り返し制御 */
        text-align: left;
        /* 左寄せで自然な折り返し */
    }

    .catchphrase p {
        margin: 0.4em 0;
        font-size: 1.2rem;
        /* 十分大きく */
        line-height: 1.5;
        /* 行間調整 */
        word-break: break-word;
        /* 長い単語も折り返し可 */
        color: #fff;
    }


    .section__subtitle {
        text-align: center;
        padding-bottom: 30px;
        font-size: 11px;
        color: #296A65;
    }


    /* Productsセクション */
    .Products {
        padding: 40px 20px;
        background-color: #f3e8e7;
    }

    .Products .section__title {
        text-align: center;
        font-size: 24px;
    }

    .Products__title h3 {
        line-height: 1.8;
        font-size: 13px;
        padding: 10px 0;
    }

    .slider-hint {
        font-size: 0.6rem;
        color: #666;
        text-align: center;
        margin: 0.5em 0 1em;
    }



    .Siema-container {
        width: 100%;
        margin: auto;
    }

    .siema img {
        width: 100%;
        height: auto;
        display: block;
    }

    .thumbnails {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 5px;
        margin-top: 20px;
    }

    .thumbnails .thumb {
        width: 80px;
        flex-shrink: 0;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.3s;
    }

    .thumbnails .thumb:hover {
        opacity: 1;
    }





    .btn-container {
        text-align: center;
    }

    .btn-container .btn,
    .Products .btn {
        display: inline-block;
        font-weight: bold;
        font-size: 14px;
        background-image:
            radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
            radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%),
            radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 45%),
            radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 35%),
            radial-gradient(circle at 60% 50%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 55%),
            radial-gradient(circle at 25% 55%, rgba(85, 140, 120, 0.9), rgba(185, 236, 225, 0) 60%),
            radial-gradient(circle at 75% 60%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 50%),
            radial-gradient(circle at 50% 20%, rgba(185, 236, 225, 0.75), rgba(185, 236, 225, 0) 70%),
            radial-gradient(circle at 50% 80%, rgba(185, 236, 225, 0.7), rgba(185, 236, 225, 0) 70%);
        color: #333;
        border-radius: 100px;
        padding: 10px 48px;
        margin: 20px 0 0;
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    }


    .Products .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

    .Products .btn:active {
        transform: translateY(2px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        color: #ff5733;
    }

    .Flow__note {
        margin-top: 20px;
    }




    /* Aboutセクション */
    .About {
        padding: 40px 0;
    }

    .About .section__title {
        text-align: center;
        font-size: 24px;
    }

    .About__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .About__image img {
        width: 40%;
    }

    .About__textContent {
        max-width: 350px;
        text-align: center;
    }

    .About__textContent h3 {
        line-height: 1.8;
        padding: 20px 10px;
    }

    .About__textContent p {
        text-align: left;
        padding: 0 20px;
    }





    .Flow {
        padding: 40px 20px 60px;
        background-color: #f3e8e7;
    }

    .Flow__title {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 1.5em;
    }

    .Flow__item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .Flow__list {
        list-style: none;
        padding-left: 0;
        counter-reset: step;
        max-width: 700px;
        margin: 0 auto;
    }

    .Flow__list li {
        font-size: 14px;
        margin-bottom: 1.2em;
        padding-left: 4.0em;
        position: relative;
    }

    .Flow__list li::before {
        counter-increment: step;
        content: "Step " counter(step) ": ";
        font-weight: bold;
        color: #996666;
        position: absolute;
        left: 0;
    }

    /* フッター */
    .copy {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        font-size: 12px;
        background-image:
            radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
            radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%),
            radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 45%),
            radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 35%),
            radial-gradient(circle at 60% 50%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 55%),
            radial-gradient(circle at 25% 55%, rgba(85, 140, 120, 0.9), rgba(185, 236, 225, 0) 60%),
            radial-gradient(circle at 75% 60%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 50%),
            radial-gradient(circle at 50% 20%, rgba(185, 236, 225, 0.75), rgba(185, 236, 225, 0) 70%),
            radial-gradient(circle at 50% 80%, rgba(185, 236, 225, 0.7), rgba(185, 236, 225, 0) 70%);
        color: #333;
        height: 42px;
        padding-right: 70px;
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.15);
        /* 上方向に薄い影 */
        position: relative;
    }


    #back-to-top-home {
        position: fixed;
        bottom: 60px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: #996666;
        color: #fff;
        font-size: 14px;
        text-align: center;
        line-height: 50px;
        border-radius: 50%;
        cursor: pointer;
        text-decoration: none;
        opacity: 0;
        transition: opacity 0.3s ease-in-out, bottom 0.3s ease-in-out;
        z-index: 1000;
    }

    #back-to-top-home.show {
        opacity: 0.7;
    }

    #back-to-top-home:hover {
        opacity: 0.9;
    }



    .header__list.active {
        display: flex;
    }

    .section__title,
    .section__subtitle {
        text-align: center;
    }

    /* フェードイン用 */
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    }

    .fade-in-animate {
        opacity: 1;
        transform: translateY(0);
    }


    html {
        scroll-behavior: smooth;
    }
}