    /* ===== color ===== */    
    :root {
    --color-bg-primary: #e2ffcf;
    --color-bg-brack: #333;
    --color-border: #6ca81f;
    --color-border-white: #ffffff;
    --color-border-gray: #ccc;
    --color-font-base: #000;
    --color-font-white: #ffffff;
    }





    /* ===== Reset ===== */
    *, *::before, 
    *::after { 
      box-sizing: border-box; 
    }

    body { 
      margin: 0; 
      font-family: serif; 
      color: #333; 
      line-height: 1.7; 
      background-image:url(../img/bg.jpg); 
      background-size:  cover; 
    }

    img { 
      max-width: 100%; 
      height: auto; 
      display: block; 
    }




    /* ===== Utility ===== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .text-center { text-align: center; }
    .btn {
      display: inline-block;
      padding: 14px 32px;
      background: #6ca81f;
      color: #fff;
      text-decoration: none;
      border-radius: 30px;
      font-weight: bold;
      transition: opacity .3s;
    }
    .btn:hover { opacity: .85; }


    


  /* ===== kv ===== */
    .kv {
      position: relative;
      overflow: hidden;
      padding: 0 0;
    }

    .kv-bg,
    .kv-bg picture,
    .kv-bg img {
      width: 100%;
      height: 100%;
    }

    .kv-bg img {
      object-fit: cover;
    }





    /* ===== Trouble ===== */


    .trouble-woman-top {
      display: flex;
      gap: 30px;
    }

    .trouble-speech-bubble-top {
      display: block;
      background: var(--color-bg-primary);
      border-radius: 64px;
      padding: 0px 30px;
    }



    /* ===== Trouble 女性画像：最大360pxで縮小対応 ===== */
    .trouble-woman-img-top {
      width: min(360px, 100%);
      flex-shrink: 0;
    }

    .trouble-woman-img {
      width: 100%;
      height: auto;
      display: block;
    }




    /* ===== Section ===== */
    section { padding: 80px 0 0 0; }
    section h2 {
      text-align: center;
      font-size: 28px;
      color: var(--color-font-base);
      margin-bottom: 40px;
    }

    section p {
      font-size: 21px;
      color: var(--color-font-base);
    }






    /* ===== Check List ===== */
    .check-list {
      margin: 0 auto 0 0;
      list-style: none;
      padding: 30px;
      font-size: 28px;
      font-weight: 700;
    }
    .check-list li {
      margin-bottom: 16px;
      padding-left: 40px;
      position: relative;
    }
    .check-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 14px;                 /* テキスト中央合わせ */
      width: 24px;
      height: 24px;
      background: url("../img/check-mark.png") no-repeat center / contain;
    }



    .trouble-check-list-img {
      display: grid;
      grid-template-columns: 1fr 120px 1fr; /* 左・矢印・右 */
      align-items: center;
      gap: 60px;
      width: 100%;
    }




    .trouble-check-list-img img {
      width: 100%;
      height: auto;
      display: block;
    }


    .arrow-img,
    .komorebi-img,
    .chemicals-img {
      max-width: none;
    }

    .arrow-img {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .trouble-check-list-and-img {
      display: flex;
      flex-wrap: wrap-reverse;
      justify-content:center;
    }




    /* ===== Ingredients ===== */
    .ingredients {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .ingredient-card {
      background: #fff;
      padding: 20px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,.05);
      border: 4px solid  var(--color-border);
    }
    .ingredient-card h3 { margin: 12px 0 8px; font-size: 28px; }





    /* ===== Products ===== */
    .products {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .product-card {
      display: flex;
      align-items: center; /* ← 重要 */
      gap: 30px;
      background: #fff;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,.05);
      border: 4px solid var(--color-border);
    }


    .products-img {
      display: block;
      width: auto;
      height: auto;
      max-width: 100%;
      object-fit: contain;
    }


    .product-img-wrap {
      min-width: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }


    .products-detail {
      display: flex;
      flex-direction: column;
      justify-content: center; /* 画像とのバランスを中央に */
    }


    .product-card h3 { margin-top: 12px; font-size: 28px; }



    .cleansing-lotion-img {
      height: 250px;
    }

    .facial-soap-img {
      height: 240px;
    }

    .milky-lotion-img {
      height: 200px;
    }

    .lotion-img {
      height: 200px;
    }

    .cream-img {
      height: 100px;
    }






    /* ===== Flow ===== */
    .flow {
      display: grid;
      grid-template-columns:
        1fr 40px
        1fr 40px
        1fr 40px
        1fr;
      gap: 20px;
      text-align: center;
    }

    .flow-step {
      position: relative;
      background: #fff;
      padding: 40px 20px 30px;
      box-shadow: 0 4px 10px rgba(0,0,0,.05);
      border: 4px solid  var(--color-border);
      text-align: left;
    }

    .flow-step-title {
      font-size: 28px;
    }

    .flow-number {
      position: absolute;
      top: -4px;
      left: -4px;
      background: var(--color-border);
      color: #fff;
      font-weight: bold;
      font-size: 20px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .flow-balloon {
      position: absolute;
      background: var(--color-border);
      color: #fff;
      padding: 10px 16px;
      border-radius: 20px;
      font-size: 16px;
      font-weight: bold;
      white-space: nowrap;
    }

    .flow-balloon::after {
      content: "";
      position: absolute;
    }


    .balloon-1 {
      left: 20px;
      top: 250px;
    }

    .balloon-1::after {
      bottom: -8px;
      left: 20px;
      border-width: 8px 8px 0 8px;
      border-style: solid;
      border-color: var(--color-border) transparent transparent transparent;
    }


    .balloon-2 {
      right: 20px;
      bottom: 35px;
    }

    .balloon-2::after {
      top: -8px;
      left: 20px;
      border-width: 0 8px 8px 8px;
      border-style: solid;
      border-color: transparent transparent var(--color-border) transparent;
    }


    .balloon-3 {
      right: 10px;
      top: 170px;
    }

    .balloon-3::after {
      bottom: -8px;
      left: 38px;
      border-width: 8px 8px 0 8px;
      border-style: solid;
      border-color: var(--color-border) transparent transparent transparent;
    }


    .balloon-4 {
      right: 10px;
      bottom: 120px;
    }

    .balloon-4::after {
      top: -8px;
      left: 20px;
      border-width: 0 8px 8px 8px;
      border-style: solid;
      border-color: transparent transparent var(--color-border) transparent;
    }





    .flow-arrow {
      width: 40px;
      height: 40px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      align-self: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }



    .arrow-1 {
      background-image: url("../img/flow-arrow-1.png");
    }

    .arrow-2 {
      background-image: url("../img/flow-arrow-2.png");
    }

    .arrow-3 {
      background-image: url("../img/flow-arrow-3.png");
    }












    /* ===== Voice ===== */
    .voice-speech-bubble-top {
      display: flex;
      gap: 30px;
      padding: 30px 0;
    }

    .voice-speech-bubble {
      display: block;
      background: var(--color-bg-primary);
      border-radius: 64px;
      padding: 0px 30px;
    }

    .voice-speech-bubble-reverse {
      flex-direction: row-reverse;
    }



    .voice-title {
      font-size: 28px;
    }

    .voice-detail span {
      position: relative;
      background: linear-gradient(transparent 40%, yellow 40%);
    }

    /* ===== Voice 女性画像：最大360pxで縮小対応 ===== */
    .voices-img-top {
      width: min(360px, 100%);
      flex-shrink: 0;
    }

    .voices-img {
      width: 100%;
      height: auto;
      display: block;
    }


    /* ===== flexのはみ出し防止（重要） ===== */
    .trouble-speech-bubble-top,
    .voice-speech-bubble {
      min-width: 0;
    }


    /* ===== nav-portfolio ===== */

    .nav-portfolio {
      text-decoration: none;
      color: var(--color-font-base);
      padding: 10px;
    }




    /* ===== Responsive ===== */
    @media (max-width: 768px) {
      .hero-inner { grid-template-columns: 1fr; text-align: center; }
      section { padding: 60px 0 0 0; }
      .ingredients, .products, .flow, .voices { grid-template-columns: 1fr; }

      .trouble-speech-bubble-top {
        padding: 30px;
      }

      .trouble-woman-top {
        display: flex;
        flex-flow: column;
        justify-content:center;
      }

      .trouble-woman-img-top {
        margin: 0 auto;
      }

      section h2 {
        font-size: 18px;
      }

      section p {
        font-size: 16px;
      }

      .check-list li::before {
        width: 20px;
        height: 20px;
        top: 7px;
      }

      .check-list {
        font-size: 18px;
      }

      .ingredient-card h3,.product-card h3{ 
        font-size: 18px; 
      }

      .Ingredients-effect,.products-effect {
        font-size: 16px;
      }

      .trouble-check-list-img {
        gap: 20px;
      }



      .trouble-check-list-img {
        display: grid;
        grid-template-columns: 1fr 40px 1fr; /* 左・矢印・右 */
        align-items: center;
        gap: 20px;
        width: 100%;
      }


      .flow-step-title {
        font-size: 18px;
      }
      .flow {
        grid-template-columns: 1fr;
      }

      .flow-arrow {

        margin: 10px auto;
      }

      .arrow-1 {
        background-image: url("../img/flow-arrow-down-1.png");
      }

      .arrow-2 {
        background-image: url("../img/flow-arrow-down-2.png");
      }

      .arrow-3 {
        background-image: url("../img/flow-arrow-down-3.png");
      }




      .balloon-1 {
        left: 20px;
        top: auto;
        bottom: 80px;
      }

      .balloon-1::after {
        bottom: -8px;
        left: 20px;
        border-width: 8px 8px 0 8px;
        border-style: solid;
        border-color: var(--color-border) transparent transparent transparent;
      }


      .balloon-2 {
        right: auto;
        left: 150px;
        bottom: 25px;
      }

      .balloon-2::after {
        top: -8px;
        left: 20px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: transparent transparent var(--color-border) transparent;
      }


      .balloon-3 {
        right: auto;
        left: 90px;
        top: 110px;
      }

      .balloon-3::after {
        bottom: -8px;
        left: 38px;
        border-width: 8px 8px 0 8px;
        border-style: solid;
        border-color: var(--color-border) transparent transparent transparent;
      }


      .balloon-4 {
        right: auto;
        bottom: 20px;
        left: 20px;
      }

      .balloon-4::after {
        top: auto;
        bottom: auto;
        top: -8px;
        left: 60px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: transparent transparent var(--color-border) transparent;
      }

      .voice-speech-bubble-top {
        display: flex;
        flex-flow: column;
        justify-content:center;
      }

      .voices-img-top {
        margin: 0 auto;
      }

      .voice-title {
        font-size: 18px;
      }


    }



@media screen and (min-width: 769px) and (max-width: 1045px) {
      .flow {
        grid-template-columns: 1fr;
      }

      .flow-arrow {

        margin: 10px auto;
      }

      .arrow-1 {
        background-image: url("../img/flow-arrow-down-1.png");
      }

      .arrow-2 {
        background-image: url("../img/flow-arrow-down-2.png");
      }

      .arrow-3 {
        background-image: url("../img/flow-arrow-down-3.png");
      }





      .balloon-1 {
        left: 20px;
        top: auto;
        bottom: 85px;
      }

      .balloon-1::after {
        bottom: -8px;
        left: 20px;
        border-width: 8px 8px 0 8px;
        border-style: solid;
        border-color: var(--color-border) transparent transparent transparent;
      }


      .balloon-2 {
        right: auto;
        left: 200px;
        bottom: 40px;
      }

      .balloon-2::after {
        top: -8px;
        left: 20px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: transparent transparent var(--color-border) transparent;
      }


      .balloon-3 {
        right: auto;
        left: 135px;
        top: 165px;
      }

      .balloon-3::after {
        bottom: -8px;
        left: 38px;
        border-width: 8px 8px 0 8px;
        border-style: solid;
        border-color: var(--color-border) transparent transparent transparent;
      }


      .balloon-4 {
        right: auto;
        top: 135px;
        left: 520px;
        bottom: auto;
      }

      .balloon-4::after {
        left: -8px;
        top: 26px;
        border-width: 8px 8px 8px 0;
        border-style: solid;
        border-color: transparent var(--color-border) transparent transparent;
        transform: translateY(-50%);
      }






    }


    /* ===== fade up animation ===== */
    .js-fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition:
        opacity 1.2s ease,
        transform 1.2s ease;
    }

    .js-fade-up.is-show {
      opacity: 1;
      transform: translateY(0);
    }



    /* Ingredients 専用：より穏やかなフェード */
    .ingredient-card.js-fade-up {
      transform: translateY(15px);
    }



    /* Products 専用：さらに穏やかなフェード */
    .product-card.js-fade-up {
      transform: translateY(10px);
    }


    /* Voice 専用：最も穏やかなフェード */
    .voice-speech-bubble-top.js-fade-up {
      transform: translateY(8px);
    }


    @media (prefers-reduced-motion: reduce) {
      .js-fade-up {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }

