@charset "UTF-8";
:root{
  --product-page-maxwidth: 510px;
}

/* -------------------------------------------- */
/* product */
/* -------------------------------------------- */
.product{
  position: relative;
  z-index: 0;
}

/* 固定画像 */
.product-bg-image{
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
}

.product-bg-image img{
  height: 100%;
  width: 100%;
}

.imgchang{
  display: none;
}

/* コンテンツ部分 */
.product-content{
  height: 100%;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.product-content-inner{
  width: calc(100% - 40px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  padding-top: 70px;
  padding-bottom: 100px;
}

.product-action-area{
  max-width: var(--product-page-maxwidth);
  width: 100%;
}

.product .product__en-name{
  border-bottom: 1px solid #fff;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.product .product__price{
  margin-top: 16px;
  display: inline-block;
}

.product__clear-box{
  background-color: rgba(255, 255, 255,0.2);
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  padding: 10px;
  text-align: center;
  margin-top: 24px;
}

/*----- 白いボックス ----*/
.product-dropdown-box{
  background-color: #fff;
  margin-top: 40px;
  width: 100%;
}

.product-dropdown__heading{
  font-size: 16px;
  font-weight: bold;
  padding: 30px 20px;
}

.product-dropdown__heading .plus{
  height: 2px;
  width: 17px;
}

.product-dropdown__contents{
  padding: 0 20px 30px;
}

.product-dropdown-item-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}

.product-dropdown__item{
  display: grid;
  grid-template-rows: subgrid;
  position: relative;
  grid-row: span 4;
  gap: 6px;
  border-radius: 10px;
  cursor: pointer;
  padding: 14px 8px;
  font-weight: bold;
  letter-spacing: normal;
}

.product-dropdown__copy{
  font-size: 14px;
  text-align: center;
}

.product-dropdown__item-price{
  font-size: 12px;
}

/*----- ボタン -----*/
.product-dropdown__btn{
  width: 100%;
  max-width: var(--product-page-maxwidth);
}

.product-dropdown__btn.--regular{
  margin-top: 30px;
}

.product-dropdown__btn.--regular a{
  margin-top: 30px;
  color:#fff;
}

.product-dropdown__btn.--single{
  margin-top: 15px;
}

.product-dropdown__btn a{
  background-color: #fff;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* color:var(--blueColor); */
}

/*----- 成分のセクション -----*/
.product-ingredient-area{
  max-width: var(--product-page-maxwidth);
}

.product .product__xl-copy{
  font-size: 26px;
  letter-spacing: 0.06em;
}

.product .product__note{
  text-align: left;
  margin-top: 20px;
  margin-bottom: 80px;
  font-size: 13px;
}

.product .product__en-copy{
  margin-bottom: 16px;
}

/*----- ポイント -----*/
/* point見出し */
.product__point-heading-body{
  font-size: 20px;
  letter-spacing: 0.03em;
  font-weight: bold;
  margin-top: 30px;
  line-height: 2;
}

/* ポイントの説明文 */
.product .product__point-desc{
  margin-top: 24px;
}

.point-list{
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* 説明文の注釈 */
.product__point-note{
  font-size: 13px;
  margin-top: 30px;
}

/*----- ドロップダウン -----*/
.product-dropdown-list{
  background-color: rgba(255, 255, 255,0.2);
  margin-top: 40px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 見出し */
.product-dropdown-list__heading{
  font-weight: bold;
  border-bottom: 1px solid #fff;
  padding-bottom: 24px;
  font-size: 16px;
  letter-spacing: 0.05em;
}

/* ドロップダウンの中身 */
.product-dropdown-list__contents{
  margin-top: 24px;
  line-height: 1.8;
}

.product-img-sp-only{
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.product-dropdown-list .plus{
  width: 17px;
  height: 2px;
}

/*----- 香りのセクション -----*/
.product-fragrance-area{
  margin-top: -20px;
  max-width: var(--product-page-maxwidth);
  margin-inline: auto;
}

.product-fragrance-area .product__xl-copy{
  margin-top: 72px;
}

/* 三角の図 */
.fragrance-triangle{
  background: linear-gradient(rgba(255, 255, 255,0.4) 0% 49%,rgba(255, 255, 255,0.2) 49% 100% );
  width: clamp(335px, calc(335 /375 *100vw), 510px);
  margin-inline: auto;
  height: clamp(292px, calc(292 /375 *100vw), 400px);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(50px, calc(50 / 375*100vw), 82px);
  padding-top: clamp(40px, calc(40 / 375*100vw), 50px);
  margin-top: 40px;
  position: relative;
  font-size: clamp(14px, calc(14 / 375*100vw), 16px);
}
.moisture-fragrance-triangle {
  background: linear-gradient(rgba(255, 255, 255, 0.4) 0% 62%, rgba(255, 255, 255, 0.2) 49% 100%);
}
/* 中央の線  */
.fragrance-triangle::before{
  content: "";
  border-bottom: 2px solid var(--blueColor);
  position: absolute;
  display: block;
  width: 100%;
  left: 0;
  top: 49%;
  z-index: 1;
}
.moisture-fragrance-triangle::before {
  top: 62%;
}
/* 香りの名前 */
.fragrance-triangle__fragrance-name{
  font-weight: bold;
  margin-top: 12px;
}

.triangle-badge{
  background-color: #fff;
  color:var(--blueColor);
  display: inline-block;
  text-align: center;
  font-weight: bold;
  line-height: 1;
  padding: 2px 15px;
  border-radius: 11px;
  min-width: 63px;
  font-size: 16px;
}

.fragrance-triangle .triangle-badge{
  font-size: clamp(14px, calc(14 / 375*100vw), 16px);
}

.fragrance-triangle-list{
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.fragrance-triangle-list__heading{
  font-size: 17px;
  font-weight: bold;
  margin-top: 12px;
}

.fragrance-triangle-box{
  padding: 24px 20px;
  margin-top: 12px;
}

.fragrance-triangle-box.--top{
  background-color: rgba(255, 255, 255,0.4);
}

.fragrance-triangle-box.--bottom{
  background-color: rgba(255, 255, 255,0.2);
}

.fragrance-triangle-box-list{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fragrance-triangle-box-list__heading{
  border-bottom: 1px solid #fff;
  display: inline-block;
  font-weight: bold;
}

.fragrance-triangle-box-list__desc{
  margin-top: 12px;
  line-height: 2;
}

.product-page-inner{
  margin-bottom: 520px;
}

@media (min-width: 768px) {

  .product-wrap{
    display: flex;
  }
  
  /* 固定画像 */
  .product-bg-image{
    width: 50vw;
    position: fixed;
  }
  
  .product-bg-image img{
    transition: opacity .6s;
  }
  
  .product-bg-image.is-change.product-bg-image img{
    opacity: 1;
  }

  .product-bg-image .imgchang{
    display: block;
    position: absolute;
    z-index: 1;
    opacity: 0;
    left: 0;
    top: 0;
  }
  
  /* コンテンツ部分 */
  .product-content{
    width: 100vw;
  }
  
  .product-content-inner{
    width: 50%;
    gap: 140px;
    padding: 140px 80px 140px 50px;
    margin-inline: 0;
    align-items: start;
  }

  .product-action-area{
    margin-inline: 0;
  }
  
  .product .product__en-name{
    margin-bottom: 32px;
  }

  .product__clear-box{
    margin-top: 30px;
  }
  
  /*----- 白いボックス ----*/
  /* ドロップダウン */
  .product-dropdown-box{
    margin-top: 60px;
  }
  
  .product-dropdown__heading{
    font-size: 20px;
    padding: 30px 24px;
  }

  .product-dropdown__contents{
    padding: 0 24px 30px;
  }
  
  .product-dropdown__item{
    gap: 12px;
    padding: 24px 19px 32px;
    letter-spacing: 0.04em;
  }
  
  .product-dropdown__copy{
    font-size: 18px;
  }
  
  .product-dropdown__item-price{
    font-size: 14px;
  }
  
  /*----- ボタン -----*/

  .product-dropdown__btn a{
    font-size: 20px;
    padding: 30px 24px;
  }
  
  /*----- 成分のセクション -----*/
  .product-ingredient-area{
    margin-inline: 0;
  }

  .product .product__en-copy{
    margin-bottom: 32px;
  }
  
  /*----- ポイント -----*/
  /* point見出し */
  .product__point-heading-body{
    font-size: 22px;
    margin-top: 32px;
    letter-spacing: 0.06em;
  }
  
  /* 説明文の注釈 */
  .product__point-note{
    font-size: 12px;
    margin-top: 40px;
  }
  
  /*----- ドロップダウン -----*/
  .product-dropdown-list{
    margin-top: 50px;
    padding: 40px 34px;
    gap: 40px;
  }
  
  /* 見出し */
  .product-dropdown-list__heading{
    letter-spacing: 0.06em;
  }

  .product-img-sp-only{
    display: none;
  }
  
  /*----- 香りのセクション -----*/
  .product-fragrance-area{
    margin-inline: 0;
  }
  
  .product-fragrance-area .product__xl-copy{
    margin-top: 64px;
  }
  
  /* 三角の図 */
  .fragrance-triangle{
    width: clamp(241px, calc(241 /768 *100vw), 422px);
    height: clamp(210px, calc(210 /768 *100vw), 368px);
    gap: clamp(40px, calc(40 / 768*100vw), 82px);
    padding-top: clamp(30px, calc(30 / 768*100vw), 50px);
    margin-top: 60px;
    font-size: clamp(12px, calc(12 / 768*100vw), 16px);
  }
  .moisture-fragrance-triangle{
    height: clamp(210px, calc(310 / 768* 100vw), 368px);
  }
  
  /* 香りの名前 */
  .fragrance-triangle__fragrance-name{
    margin-top: 16px;
  }
  
  .fragrance-triangle .triangle-badge{
    font-size: clamp(12px, calc(12 / 768*100vw), 16px);
  }
  
  .fragrance-triangle-list{
    gap: 48px;
    margin-top: 80px;
  }
  
  .fragrance-triangle-list__heading{
    font-size: 19px;
  }
  
  .fragrance-triangle-box{
    padding: 40px 24px;
    margin-top: 20px;
  }
  
  .fragrance-triangle-box-list{
    gap: 32px;
  }

  .product-page-inner{
    margin-bottom: 800px;
  }

  .top-products.--product-page{
    width: 100%;
    border: 1px solid #E5C0B2;
    position: relative;
    z-index: 0;
    background-color: #E5C0B2;
  }

}


/* Hover Event */
@media (hover: hover){
  .product-dropdown__btn{
    /* transition: opacity .4s; */
  }

  .header-menu-list__link:hover,
  .product-dropdown__btn:hover,
  .footer-nav-list__link:hover,
  .footer-nav-list__dropdown-item:hover{
    opacity: 0.7;
  }
}