/* 15 */
.product15 *{
  font-family: 'Noto Sans TC', sans-serif;
}
.product15 h1,.product15 h2,.product15 h3{
    text-indent: 0;
}

small {
    font-size: 0.5em !important;
}

.flex{
  display: flex;
}

.product15 .w1000 {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.product15 .p4 .p15-content img{
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}
  
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.product15{
  .product-content{
    background: #4bb3ca;
  }
  .kv::before,.kv::after,.p8::before,.p8::after {
        content: '';
        background: none;
    }
  .p15-title {
    font-size: 66px;
    font-variation-settings: 'wght' 900;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text !important;
    background: linear-gradient(
        180deg,
        #FFF3B6 0%,
        #F2D468 100%
    );
    position: absolute;
    top: 35%;
    left: calc(50% - -120px);
    letter-spacing: 2px;
    padding: 20px 0;
    transform: skewX(352deg) ;
  }

  .p15-title span {
    font-variation-settings: 'wght' 700;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text !important;
    background: linear-gradient(
        180deg,
        #c9f38d 0%,
        #a7e756 100%
    );
  }

  .kv {
    background: transparent url('../images/img/p15/kv.jpg') center top no-repeat;
    width: 100%;
    max-height: 540px;
    height: 540px;
    position: relative;
  }

  .p2 {
    background: transparent url('../images/img/p15/p2.jpg') center top no-repeat;
    width: 100%;
    max-height: 551px;
    height: 551px;
    position: relative;
  }

  .p3{
    background: transparent url('../images/img/p15/p3.jpg') center top no-repeat;
    width: 100%;
    max-height: 603px;
    height: 603px;
    position: relative;
  }

  .p3-2{
    background: transparent url('../images/img/p15/p3-2.jpg') center top no-repeat;
    width: 100%;
    max-height: 531px;
    height: 531px;
    position: relative;
  }

  .p4 {
    background: transparent url('../images/img/p15/p4.jpg') center top no-repeat;
    width: 100%;
    max-height: 1325px;
    height: 1325px;
    position: relative;
  }

  .p5 {
    background: transparent url('../images/img/p15/p5.jpg') center top no-repeat;
    width: 100%;
    max-height: 1257px;
    height: 1257px;
    position: relative;
  }

  .p6 ,.p7 ,.p8 {
    background: none;
    background-color: #4bb3ca;
    width: 100%;
    position: relative;
    height: auto;
    padding: 40px 30px;
  }

  .p6{
    padding-top: 80px;
  }


  .p2 .p15_t{
    position: relative;
    z-index: 5;
  }

  .p2::before{
    content: '';
    background: none;
}

  .p2 .p15_t h2{
    font-size: 54px;
    color: #ffea8f;
    font-weight: 900;
    text-align: center;
    padding-top: 60px;
  }
  .p2 .p15_t h2 span{
    color: #a7e858;
  }

  .p2 .p15_t h2 i{
    font-size: 50px;
    color: #fff;
    font-weight: 900;
    transform: skewX(350deg);
    display: inline-block;
    padding-left: 5px;
  }

  .p2 .p15_t .h3-text{
      display: flex;
      width: 100%;
      flex-wrap: wrap;
      align-items: center;
      top: 70px;
      position: relative;
      justify-content: center;
      justify-content: space-evenly;
  }

  .p2 .p15_t h3{
    font-size: 32px;
    color: #04808f;
    font-weight: bold;
    text-align: center;
    padding-top: 70px;
    padding-bottom: 20px;
    padding-left: 80px;
    width: 35%;
    transform: skewX(355deg);
    line-height: 1.2;
  }

  .p2 .p15_t h3 span{
    color: #ff8523;
  }

  .p2 .p15_t h3 span i{
    font-size: 16px;
  }

  .p2 .p15_t h3:nth-child(4){
    padding-top:80px
  }

  .p3 .p15_t {
    font-size: 70px;
    font-variation-settings: 'wght' 900;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text !important;
    background: linear-gradient(
        180deg,
        #FFF3B6 0%,
        #F2D468 100%
    );
    position: absolute;
    top: 17%;
    left: calc(50% - 60px);
    letter-spacing: 2px;
    padding: 20px 0;
    transform: skewX(352deg) ;
  }

  .p3 h2 span {
    
    font-variation-settings: 'wght' 700;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text !important;
      background: linear-gradient(
        180deg,
        #c9f38d 0%,
        #a7e756 100%
      );
  }

  .p3-2 .p15-video{
    position: relative;
    width: 80%;
    height: 400px;
    margin-top: 14px;
    margin-left: 30px;
  }

  .p4 .p15-content{
    display: flex;
    gap: 100px;
    margin-top: 50px;
    align-items: flex-start;
  }

  .p4 .p15-content img{
    width: 40%;
  }
  .p4 .p15-content:nth-child(1) img{
    top: 55px;
    position: relative;
  }
  .p4 .p15-content:nth-child(2){
    margin-top: 80px;
  }

  .p4 .p15-content:nth-child(2) img{
    top: 25px;
    left: -25px;
    position: relative;
  }

  .p4 .p15-content:nth-child(3){
    margin-top: 120px;
  }


  .p4 .p15-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .p4 .p15-text .text-shadow{
    text-shadow: 0 0 30px #102134b3;
    margin-bottom: 15px;
  }

  .p4 h2{
    font-size: 55px;
    font-weight: 900;
    color:#ffec87;
    display: inline-block;
    line-height: 1.2;
  }

  .p4 h3{
    font-size: 40px;
    font-weight: 900;
    color:#c9f38d;
    display: inline-block;
    line-height: 1.2;
    transform: skewX(0deg);
  }

 .p4 .flex{
    flex-direction: column;
  }

  .p4 .p15-text h3 span{
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 56px;
    transform: skewX(355deg);
    display: inline-block;
  }

  .p4 .p15-text li{
    list-style: disc;
    color: #fff;
    font-size: 19px;
  }

  .p4 .p15-text p{
    color: #fff;
    font-size: 19px;
  }

  .p4 .p15-text li strong{
    color: #ffec87;
    font-weight: bold;
  }

  .p4 .p15-text .keypoint {
      padding: 8px 36px;
      color: #5d7b00;
      font-weight: 700;
      font-size: 18px;
      line-height: 1;
      margin-top: 20px;
      background: linear-gradient(
          90deg,
          #dff46b 0%,
          #d8ef64 60%,
          rgba(88, 221, 211, 0.5) 85%,
          rgba(88, 221, 211, 0) 100%
      );

      border-radius: 999px;
      width: 100%;
  }

  .p4 .p15-text .keypoint p{
    font-size: 24px;
    transform: skewX(355deg);
    color: #23596d;
  } 

  .p5 .p15-text h2{
      color: transparent;
      -webkit-background-clip: text;
      background-clip: text !important;
      background: linear-gradient(
          180deg,
          #FFF3B6 0%,
          #F2D468 100%
      );
      text-align: center;
      letter-spacing: 2px;
      line-height: 40px;
      font-size: 40px;
      font-weight: bold;
      position: relative;
      margin-top: 45px;
      transform: skewX(355deg);
  }

  .p5 .p15-text h2 span{
    background-clip: text !important;
    background: linear-gradient(
        180deg,
        #c9f38d 0%,
        #a7e756 100%
    );
  }


  .p5 .p15-text h3{
    font-size: 80px;
    line-height: 1.2;
    font-variation-settings: 'wght' 900;
    color: transparent;
    text-align: center;
    margin-top: 25px;
    transform: skewX(0deg);
    text-indent: 0px;
  }

  .p5 .p15-text h3 span {
    position: relative;
  }

  .p5 .p15-text h3 span::before {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    -webkit-text-stroke: 6px #fff;
    -webkit-text-fill-color: #fff;
  }

  .p5 .p15-text h3 span::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    color: #719641;
  }

  /* 亮綠：打造的優蛋白 */
  .p5 .p15-text h3 span.light::after {
    color: #9dcf5a;
  }

  .p5 .p15-text ul {
    text-align: left;
    transform: translate(30px, 20px);
  }

  .p5 .p15-text li {
    display: flex;
    flex-direction: row;
    margin-bottom: 5%;
  }

  .p5 .p15-text li p {
    line-height: 1.2;
    font-size: 33px;
    font-family: 'Noto Sans TC';
    font-weight: bold;
    letter-spacing: 1.5px;
  }

  .p5 .p15-text li p span{
    color: #0c8e9e;
    font-size: 30px;
  }

  .icon-leaf{
    background: url('../images/img/p15/icon-leaf.png')no-repeat;
    background-size: contain;
    width: 34px;
    height: 27px;
    object-fit: contain;
    top: 5px;
    position: relative;
  }

  .p6-img-bg,.p7-img-bg{
    background-color: #46c2e0;
    padding: 40px 0;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .p6 .p15-content{
    display: flex;
    gap: 22px;
    margin: 0 30px 20px 30px;
  }



  .p6-img{
    position: relative;
  }

  .p6 h2,.p7 h2{
    color: #174e53;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 4px;
    padding-bottom: 50px;
  }

  .p6 h3{
    position: absolute;
    bottom: 5%;
    font-size: 24px;
    color: #009a9d;
    font-weight: bold;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    left: 0;
    transform: skewX(0deg)
  }

  .p6 p{
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    max-width: 100%;
  }

  .p6-img br{
    display: none;
  }

  /*7*/

  .p7 .p15-content{
    background-color: #fff;
    border-radius: 25px;
    height: auto;
    width: 94%;
  }



  .p7 > div {
    position: relative;
  }


  .p7 .p15-text{
    position: absolute;
    display: flex;
    top: 65%;
    width: 94%;
  }

  .p7 .p15-text p{
    font-size: 22px;
    font-weight: 500;
    color: #199891;
    width: 33.333%;
    text-align: left;
  padding-left: 20px;
  }

  .p7 .p15-text p:nth-child(1){
    transform: translateX(20px) translateY(10px);
  }

  .p7 p{
    color: #fff;
    font-size: 20px;
    margin-top: 5px;
  }

  .p8 p{
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 10px;
  }


}


@media (max-width: 1217px) {
 .product15{
  .p15-title {
    font-size: 3.8rem;
    letter-spacing: 1px;
    left: calc(50% - -115px);
  }

  .p5 .p15-text h3 {
    font-size: 66px;
  }

  .p4 .p15-content {
    gap: 80px;
  }
 }
}

@media (max-width: 1105px) {
.product15{
    .p4 {
      background: transparent url('../images/img/p15/p4-L.jpg') center top no-repeat;
      width: 100%;
      max-height: 1302px;
      position: relative;
    }
    .p5 {
      background: transparent url('../images/img/p15/p5-L.jpg') center top no-repeat;
      width: 100%;
      max-height: 1302px;
      position: relative;
    }
    .p5 .p15-text h2 {
        margin-top: 80px;
        font-size: 50px;
        padding-top: 10px;
      }
    .p7 .p15-text p {
      font-size: 20px;
      }
    }
}
@media (max-width: 991px) {

  
  .product15{

    .product-content {
      width: 100%;
      max-width: 640px;
    }

    .kv {
      background: transparent url('../images/img/p15/kv-m.jpg') center top no-repeat;
      background-size: contain;
      width: 100%;
      position: relative;
      max-width: 100%;
      max-height: none;
      height: auto;
      aspect-ratio: 640 / 939;
    }

    .p15-title {
      font-size: 4.4rem;
      left: calc(50% - +65px);
      top: 17%;
      letter-spacing: 1px;
    }

    .p2 {
      background: transparent url('../images/img/p15/p2-m.jpg') center top no-repeat;
      background-size: contain;
      position: relative;
      width: 100%;
      max-width: 100%;
      max-height: none;
      height: auto;
      position: relative;
      aspect-ratio: 640 / 876;
      padding: 0;
  }


    .p2 .p15_t .h3-text {
      top: 20px;
      flex-direction: column;
      margin-top: 45px;
    }

    .p2 .p15_t h3 {
      width: 60%;
      padding-bottom: 30px;
      font-size: 36px;
      line-height: 1.2;
      font-weight: 800;
      padding-top: 80px;
    }

    .p2 .p15_t h3:nth-child(2) {
          padding-bottom: 36px;
    }

    .p2 .p15_t h3:nth-child(3) {
      padding-bottom:15px;
    }

    .p3 {
      background: transparent url('../images/img/p15/p3-m.jpg') center top no-repeat;
      background-size: contain;
      width: 100%;
      max-width: 100%;
      max-height: none;
      height: auto;
      position: relative;
      aspect-ratio: 640 / 956;
      padding: 0;

    }

    .p3-2{
      background: transparent url('../images/img/p15/p3-2-m.jpg') center top no-repeat;
      background-size: contain;
      width: 100%;
      max-width: 100%;
      max-height: none;
      height: auto;
      position: relative;
      aspect-ratio: 640 / 432;
      padding: 0;
    }

    .p3 .p15_t{
      top: 11%;
      font-size: 4rem;
    }

    .p3-2 .p15-video{
      position: relative;
      width: 84%;
      height: 300px;
      margin-top: 26px;
      margin-left: 12px;
    }

    .p4 {
      background: transparent url('../images/img/p15/p4-m.jpg') center top no-repeat;
      background-size: contain;
      width: 100%;
      max-width: 100%;
      max-height: none;
      height: auto;
      position: relative;
      aspect-ratio: 640 / 2091;
      padding: 0;

    }

    .p4 h2{
      font-size: 68px;
    }

    .p4 h3{
      font-size: 50px;
      letter-spacing: 1px;
    }

    .p4 .p15-text .text-shadow{
      position: absolute;
      left: 9%;
      width: 88%;
    }

    .p4 .p15-content{
      gap: 80px;
      position: relative;
      margin-left: 15px;
      margin-right: 15px;
    }

    .p4 .p15-content img{
      width: 250px;
      margin-left: 10px;
    }

    .p4 .p15-content:nth-child(1) {
      margin-top: 250px;
      gap: 50px;
    }

    .p4 .p15-content:nth-child(2){
      margin-top: 300px;
      gap: 30px;

    }

    .p4 .p15-content:nth-child(2) .p15-text{
      margin-left: 30px;
    }

    .p4 .p15-content:nth-child(2) img{
      left: -5%;
      position: relative;
    }

    .p4 .p15-content:nth-child(3) img{
      left: 0%;
      position: relative;
    }


    .p4 .p15-content:nth-child(3){
      margin-top: 450px;
      gap: 50px;
    }

    .p4 .p15-text li ,  .p4 .p15-text >p {
      font-size: 26px;
      margin-bottom: 20px;
      line-height: 1.5;

    }
    .p4 .p15-text .keypoint{
      position: absolute;
      left: 5%;
      padding: 20px;
    }
    .p4 .p15-text .keypoint p{
      font-size: 30px;
      left: 20px;
      position: relative;
    }

    .p4 .p15-content:nth-child(1) .p15-text  .text-shadow{
      top: calc(-40% + 10px);
    }

    .p4 .p15-content:nth-child(1) .p15-text .keypoint{
      top: calc(60% + 180px);
    }

    .p4 .p15-content:nth-child(2) .p15-text  .text-shadow{
      top: calc(-80% + 10px);
      left: 5%;
      }
    .p4 .p15-content:nth-child(2) .p15-text .keypoint{
      top: calc(60% + 150px);
    }

    .p4 .p15-content:nth-child(3) .p15-text  .text-shadow{
      top: calc(-80% + 10px);
    }

    .p4 .p15-content:nth-child(3) .p15-text .keypoint{
        top: calc(60% + 150px);
    }
    
    .p4 .p15-content:nth-child(3) .p15-text >p{
      margin-top: 50px
    }

    .p5 {
      background: transparent url('../images/img/p15/p5-m.jpg') center top no-repeat;
      background-size: contain;
      width: 100%;
      max-width: 100%;
      max-height: none;
      height: auto;
      position: relative;
      aspect-ratio: 640 / 1278;
      padding: 0;
    }

    .p5 .p15-text {
      transform: translateY(180px);
      margin-left: 15px;
    }

    .p5 .p15-text h2 {
      font-size: 60px;
      margin: 0;
      padding: 10px;
      position: relative;
    }

    .p5 .p15-text h3 {
      font-size: 65px;
      text-align: left;
      margin-left: 40px;
      margin-top: 50px;
    }

    .p5 .p15-text h3 span {
      display: inline-block;
    }

    .p5 .p15-text ul {
      text-align: left;
      transform: translate(0px, 20px);
    }

    .p5 .p15-text li:nth-child(1) p{
      max-width: 100%;
    }  

    .p5 .p15-text li:nth-child(2) p{
      max-width: 55%;
    }    


    .p6 h3{
      left: 0%;
      width: 45%;
      top: 40%;
      font-size: 2rem;
      line-height: 1.2;
    }

    .p6-img br{
      display: block;
    }
    .p6 .p15-content{
      flex-direction: column;
      width: 80%;
    }

    .p7 {
        width: 100%;
        max-width: 640px;
        height: auto;
        padding: 40px 30px; 
    }

    .p7 .p15-content {
      width: 80%;
    }

    .p7 p {
      width: 80%;
      text-align: left;
      font-size: 22px;
    }

    .p7 .w900 >p {
      margin-top: 25px;
    }
        

    .p7 .p15-text {
      top: 27%;
      width:80%;
      flex-direction: column;
      align-items: center;
      gap: 230px;
    }
    .p7 .p15-text p {
    width: 100%;
    padding-left: 120px;
    }
    .p7 .p15-text p:nth-child(1) {
        transform: none;
    }
    .p7 .p15-text p:nth-child(2) {
        transform: none;
    }
    .p7 .p15-text p:nth-child(3) {
        transform: none;
    }

    .p8{
      padding: 40px 30px;
    }
  }
}



@media (max-width: 640px) {
  /*
    ===== 640px 以下等比例縮放 =====
    這段版型（背景 aspect-ratio、文字 px/rem）是照 640px 寬度設計的，
    純 CSS 沒辦法把「目前寬度 / 640」這種算式轉成 scale() 需要的無單位數字
    (calc() 的除法規則不允許用 px 去除 px 再拿來當 scale 的值，這也是原本
    只能用 640/600/500 幾個斷點土法煉鋼硬寫 scale(1) / scale(0.82) 的原因，
    在斷點之間或非該尺寸的手機上比例還是會跑掉)。
    這裡改用少量 JS 動態量測 .js-scale-outer 的實際寬度，即時算出精確的
    scale 值套用在 .js-scale-inner 上，任何寬度都能連續、精準地等比例縮放。
    請在 product_15.asp（或共用的 js 檔）加入對應的縮放小腳本，這裡不需要改 html。
    以下只留容器本身需要的基本設定，實際 transform / width 由 JS 動態寫入 inline style。
    JS在 prduct_15.asp
  */
  .js-scale-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
  }

  .js-scale-inner {
    transform-origin: top left;
    will-change: transform;
    transition: all 0.3s ease-in-out;
  }
}