@charset "utf-8";

@media screen and (min-width: 769px) {
    body {
        color: #000000;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 18px;
        line-height: 1.8;
    }

    p {
        font-size: 16px;
    }



    img {
        opacity: 1;
        transition: opacity 1s ease;
    }


    .container {
        max-width: 980px;
        margin: 0 auto;
    }

    .header .container {
        max-width: 100%;
        padding: 0 20px;
    }

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

    .header.hidden {
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .header {
        transform: translateY(0);
        transition: transform 0.3s ease;
    }


    .header__inner {
        display: flex;
        justify-content: right;
        align-items: center;
    }

    .header__list {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        position: static;
        border-radius: 50px;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 10px 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    }

    .header__list.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }


    .header__list:hover {
        transform: translateY(0) scale(1.05);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .header__list.has-background {
        background-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .header__list .header__item a {
        font-size: 20px;
        color: #000000;
    }

    .header__list .header__item a:hover {
        color: #ff5733;
        font-size: 22px;
        transition: transform 0.3s ease;
    }

    .header .btn {
        font-size: 20px;
        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), #b9ece100 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;
        text-align: center;
        display: inline-block;
        transition: opacity 0.3s;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    }

    .header .btn:hover {
        opacity: 0.85;
    }

    .hamburger {
        display: none;
    }

    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;
        bottom: 100px;
        left: 100px;
        text-align: left;
    }

    .catchphrase p {
        margin: 0.5em 0;
        font-weight: 600;
        color: #fff;
        font-size: 1.4rem;
    }



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


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



    .Products {
        padding: 80px 0;
        background-color: #f3e8e7;
        /* 必ずこの色 */
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* JSでスクロール時に .visible を追加 */
    .Products.visible {
        opacity: 1;
        transform: translateY(0);
    }



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

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

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

    .thumbnails {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }

    .thumbnails .thumb {
        width: 150px;
        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: 18px;
        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: 15px 60px;
        text-align: center;
        margin: 50px 0 0;
        text-decoration: none;
        transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    }

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

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

    .Flow__note {
        margin-top: 50px;
    }



    .About {
        padding: 80px 0;
    }

    .About .container {
        max-width: 800px;
    }

    .About__item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 60px;
    }

    .About__image img {
        width: 250px;
    }

    .About__textContent {
        max-width: 50%;
    }

    .About__textContent p {
        padding: 0;

    }

    .About__textContent h3 {
        text-align: left;
        font-size: 25px;
        line-height: 1.8;
        padding: 20px 0;
    }


    .Flow {
        padding: 80px 0 100px;
        background-color: #f3e8e7;
    }

    .Flow__title {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1em;
        color: #996666;
        text-align: center;
    }

    .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 {
        margin-bottom: 1.5em;
        font-size: 1rem;
        line-height: 1.6;
        padding-left: 5.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;
        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: 60px;
        padding-right: 100px;
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.15);
        /* 上方向に薄い影 */
        position: relative;
    }

    #back-to-top-home {
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 60px;
        height: 60px;
        background: #996666;
        color: #fff;
        font-size: 16px;
        text-align: center;
        line-height: 60px;
        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;
    }


}

/* フェードイン用 */
.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;
}