@charset "utf-8";

/* リセット・基本設定ここから*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-image: url('img/dairiseki.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



body {
  font-family: 'Noto Serif JP', serif;
  color: #333;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  overflow-x: hidden;

  background-image: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;

}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* リセット・基本設定ここまで*/



/* bodyの背景画像 */
body {
  background-image: url('img/dairiseki.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* FVここから */
.fv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 20px;
  position: relative;
  background-image: url(img/background_green.webp);

}


/* ロゴここから */
.fv-section {
  position: relative;
  /* 基準にする */
}

.fv-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  /* fvの画像より前面に */
}


.fv-logo img {
  width: 120px;
  /* お好みで調整 */
}

/* ロゴここまで */



/* オーガニック */
.item02 {
  grid-row: 1 / 2;
  grid-column: 1 / 3;
  justify-self: center;
  align-self: center;
  width: 80%;
  margin-top: 50px;
}


/* グレートリートメント */
.item03 {
  grid-row: 3 / 4;
  grid-column: 1 / 2;
}

/* グリーントリートメント */
.item04 {
  grid-row: 3 / 4;
  grid-column: 2 / 3;
}

/* テキストここから */
.text01 {
  grid-column: 1 /2;
  grid-row: 4 / 5;
  font-size: 18px;
  text-align: left;
  align-self: center;
  position: relative;
  z-index: 1;
  color: #F5F5F5;
  padding-left: 20px;
}

.text02 {
  grid-column: 1 / 2;
  grid-row: 5 / 6;
  font-size: 26px;
  text-align: left;
  align-self: center;
  position: relative;
  z-index: 1;
  color: #E0C373;
  padding-left: 20px;
}

/* 背面の長方形 */
.text01::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -50px;
  left: 10px;
  right: 0;
  /* 文字より少し大きく */
  background-color: #463522;
  border-radius: 20px;
  z-index: -1;
  margin-bottom: 10px;
}

/* テキストここまで */

/* FVここまで */



/* 共通：セクション内 .titleここから */
.title {
  padding: 32px 20px 8px;
  text-align: center;
}

/* 共通：セクション内 .titleここまで */



/* 商品価格セクションここから*/

.kakaku-section {
  text-align: center;
  position: relative;
  overflow: visible;
  background-color: #F5F5F5;
}


/* #D9E5FBの背景長方形 */
.kakaku-section::before {
  content: "";
  position: absolute;
  overflow: visible;
  background-color: #D9E5FB;
  /* border-radius: 20px; */
  left: 50px;
  right: 0;
  top: 20px;
  bottom: 350px;
  z-index: 0;
}

/* 全要素を前面に */
.kakaku-section.title,
.kakaku .item06,
.kakaku .item07,
.kakaku .item08,
.kakaku p {
  position: relative;
  z-index: 1;
}

.title h2 {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  background-color: #F5F5F5;
  border-radius: 20px;
  padding: 10px 20px;
  margin: 8px 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  /* 枠透明度 */
  background-color: rgba(245, 245, 245, 0.4);
  border: 1px solid rgba(150, 180, 230, 1.0);
}

.title .kakaku-title {
  margin-bottom: 50px;
  /* お好みで調整 */
  border: none;

}

/* クローバー */
.kakaku-bg-clover {
  position: absolute;
  top: 0;
  /* 青い四角のtopに合わせる */
  right: 0;
  /* 青い四角のleftに合わせる */
  width: 60%;
  /* サイズはお好みで */
  opacity: 0.2;
  /* 透明度はお好みで */
  z-index: 0;
}

.kakaku {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 20px;
  position: relative;
}

/* グレートリートメント （左）*/
.kakaku .item06 {
  grid-column: 1;
  grid-row: 1;
  margin-top: -50px;
}

/* グリーントリートメント（右） */
.kakaku .item07 {
  grid-column: 2;
  grid-row: 1;
  margin-top: -50px;
}

/* ホワイトローズ＆ベリーの香り */
.kakaku .kakaku-name01 {
  grid-column: 1;
  grid-row: 2;
  font-size: 9px;
  font-weight: bold;
  background-color: #D9E5FB;
  border: 1px solid rgba(150, 180, 230, 0.8);
  border-radius: 10px;
  padding: 10px 20px;
  margin: 8px;
  position: relative;
  z-index: 1;

}

/* グレープフルーツ＆カモミールの香り */
.kakaku .kakaku-name02 {
  grid-column: 2;
  grid-row: 2;
  font-size: 9px;
  font-weight: bold;
  background-color: #D9E5FB;
  border: 1px solid rgba(150, 180, 230, 0.8);
  border-radius: 10px;
  padding: 10px 20px;
  margin: 8px;
  position: relative;
  z-index: 1;
}

/* 各 460㎖￥1,200 */
.kakaku .kakaku-price {
  grid-column: 1 / 3;
  grid-row: 3;
  text-align: center;
  margin: 20px 0 20px;
  font-family: Josefin Sans;
  font-weight: bold;
}

/* 買い物かご */
.kakaku .item08 {
  grid-column: 1 / 3;
  grid-row: 4;
  text-align: center;
  justify-items: center;
  margin-bottom: 30px;
}

.kakaku .item08 img {
  width: 50%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

/* 商品価格セクションここまで*/




/* 商品紹介セクション共通ここから */
.syoukai-section {
  text-align: center;
  background-image: url(img/background_blue.webp);
}

.title h2 {
  text-align: center;
  font-weight: bold;
}

/* 商品紹介セクション共通ここまで */



/* ホワイトローズ＆ベリーここから */
.syoukai01 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* グレートリートメント（中央・前面） */
.syoukai01 li:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

/* ベリー（左半分・背後） */
.syoukai01 li:nth-child(2) {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 35%;
  margin-left: 20px;
  width: 100%;
  transform: rotate(-20deg);
  /* 左に30度傾ける */
}

/* ホワイトローズ（右半分・背後） */
.syoukai01 li:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 10%;
  margin-right: 50px;
  width: 150%;

}

/* テキスト（左下） */
.syoukai01 li:nth-child(4) {
  /* pの代わりにli:nth-child(4) */
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  font-weight: bold;
  background-color: #F5F5F5;
  border-radius: 20px;
  padding: 10px;
  margin: 8px 10px;
  margin-bottom: 60px;
}

/* データ画像（右下）はnth-child(5)に変更 */
.syoukai01 li:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
  width: 80%;
}

/* ホワイトローズ＆ベリーここまで */



/* グレープフルーツ＆カモミールここから */
.syoukai02 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  list-style: none;
  padding: 0;
  position: relative;
}

/* グリーントリートメント（中央・前面） */
.syoukai02 li:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

/* グレープフルーツ（左半分・背後） */
.syoukai02 li:nth-child(2) {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin-bottom: 100px;
  margin-left: 0;
  width: 130%;
  align-self: end;


}

/* カモミール（右半分・背後） */
.syoukai02 li:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 20%;
  margin-right: 50px;
  width: 110%;
  transform: rotate(50deg);
}

/* テキスト（左下） */
.syoukai02 li:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  font-weight: bold;
  background-color: #F5F5F5;
  border-radius: 20px;
  padding: 10px;
  margin: 8px 10px;
  margin-bottom: 60px;
}

/* データ画像（右下）はnth-child(5)に変更 */
.syoukai02 li:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
  width: 80%;
}

/* グレープフルーツ＆カモミールここまで */

/* 商品紹介セクション共通ここまで */



/* 髪のお悩みセクションここから*/
.nayami {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  background-color: #FAFAEC;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* 髪のお悩みh1 */
.nayami li:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: center;
  margin-left: 100px;
  white-space: nowrap;
  font-size: 14px;
}


/* あしらい線 */
.nayami .item09 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 90%;
  margin-top: -40px;
  margin-left: 70px;

}

/* 傷んだ髪画像：左カラム */
.nayami .item10 {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  width: 60%;
  margin-top: 50px;
  margin-left: -50px;
  margin-bottom: 30px;

}

/* 円グラフ：右カラム */
.nayami .item11 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  width: 180%;
  margin-left: -120px;
  margin-top: 30px;
}

/* 女性イラスト */
.nayami .item12 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  width: 30%;
  justify-self: end;
  margin-right: 30px;
  margin-top: 30px;
  /* 右カラム内で右寄せ */

  /* .nayamiがグリッドなので効く */
}


/* clearfix */
.nayami::after {
  content: "";
  display: block;
  clear: both;
}

/* 髪のお悩みセクションここまで*/


/* Voiceセクションここから*/
.voice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px;
  background-color: #DAC6C6;
}

.voice h2 {
  font-size: 40px;
  font-family: Dancing Script;
  font-weight: bold;
  margin-left: 100px;
}

/* 各行をflexにして隙間をなくす */
.voice .row {
  grid-column: 1 / 3;
  display: flex;
}

/* 写真 */
.voice .row img {
  width: 150px;
  height: 130px;
  object-fit: cover;
  flex-shrink: 0;
}

/* コメント */
.voice .row .comment {
  flex: 1;
  background-color: #F5F5F5;
  font-weight: bold;
  padding: 20px;
  display: flex;
  align-items: center;
  font-size: 10px;
}

.voice-tag {
  border-bottom: 1px solid #b8b2b2;
  padding-bottom: 2px;
}


/* Voiceセクションここまで*/



/* ラッピングここから */

.wrapping-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}


.wrapping-bg-img {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 200px;
  /* サイズはお好みで調整 */
  opacity: 0.3;
  /* 透明度もお好みで */
  z-index: 0;
}

/* 背後の画像より前面に出す */
.wrapping-section>*:not(.wrapping-bg-img) {
  position: relative;
  z-index: 1;
}

.wrapping-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

}

.wrapping-heading img {
  width: 35px;
  flex-shrink: 0;
}

.wrapping-section h2 {
  font-size: 16px;

}

.wrapping {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.wrapping img {
  width: 30%;
}

.wrapping-comment {
  font-size: 12px;
  display: inline-block;
  border-bottom: 1px solid #e0dcdc;
  padding-bottom: 4px;
}

/* ラッピングここまで */




/* 最終セクションここから*/

.saisyu-section {
  padding-top: 60px;
  padding-bottom: 30px;
  background-color: #FAFAEC;
}

.saisyu {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 女性写真：背景 */
.saisyu .item17 {
  width: 90%;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
}

.saisyu .item17 img {
  width: 100%;
  object-fit: cover;
}

/* ペアのトリートメント：女性写真に重ねる */
.saisyu .item18 {
  position: absolute;
  bottom: -150px;
  /* 上下位置を調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

/* organic文字：トリートメントに重ねる */
.saisyu .item19 {
  position: absolute;
  bottom: -100px;
  /* 上下位置を調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
}

.item20 {
  display: block;
  margin-top: 130px;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  text-align: center;
  cursor: pointer;
}

.item20 img {
  margin: 0 auto;
}

.item20 img {
  width: 80%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}


/* 最終セクションここまで*/




/* フッターここから*/
.footer {
  background-color: #658660;
  color: #d4ddd2;
  text-align: center;
  padding: 36px 20px 28px;
}

.footer-inner {
  margin-bottom: 4px;
}

.footer .footer-logo {
  display: block;
  width: 40%;
  margin: 0 auto;
}


/* ロゴ画像 */
.footer-logo {
  display: none;
}

.site-menu {
  margin-bottom: 18px;
}

.site-menu ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-menu ul a:hover {
  color: #ffffff;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(255, 255, 255, 0.6),
    0 0 15px rgba(255, 255, 255, 0.4);


}

.site-menu li a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #F5F5F5;
  transition: color 0.2s;
}

.site-menu li a:hover {
  color: #fff;
}

.copyright {
  font-size: 0.65rem;
  color: #F5F5F5;
  margin-top: 18px;
}

/* SNS画像 */
.sns-img {
  display: block;
  padding-top: 20px;
  margin: 0 auto;
  cursor: pointer;

}

/* 免責テキスト */
footer p:not(.copyright) {
  font-size: 0.8rem;
  color: #F5F5F5;
  margin-top: -30px;
  margin-bottom: -20px;

}

/* フッターここまで*/



/* ショップへ相談ここから */

.floating-btn {
  position: fixed;
  left: max(0px, calc(50% - 375px / 2 - 80px));
  /* left: calc(50% - 375px/2 - 80px); */
  /* 中央から375px幅の左端、さらにボタン幅分左へ */
  bottom: 40px;
  width: 80px;
  /* 画像サイズに合わせて調整 */
  z-index: 999;
  cursor: pointer;
  transition: opacity 0.2s;
}

.floating-btn:hover {
  opacity: 0.8;
}

/* ショップへ相談ここまで */


/* 右のお買い物かご＆お気に入りここから */
.shopping_basket2-btn {
  position: fixed;
  /* コンテンツ右端にぴったり追従 */
  left: min(100%, calc(50% + 375px / 2));
  bottom: 40px;
  width: 150px;
  z-index: 999;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.5s ease, visibility 0.5s;
  transform: translateX(150px);
  /* 右に隠れた状態 */
  visibility: hidden;
  opacity: 0;
}

/* アニメーションで表示 */
.shopping_basket2-btn.is-visible {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.shopping_basket2-btn:hover {
  opacity: 0.8;
  /* 少し透けて、薄くなる */
}

/* 右のお買い物かご＆お気に入りここまで */




/*固定追従コンテナ*/
.treatment-fixed {
  position: fixed;
  /* スクロールしても追従 */
  top: 50%;
  /* bodyの右端にぴったり追従 */
  left: calc(50% + 375px / 2 + 40px);
  transform: translateY(-50%);
  z-index: 100;
}

/* ===== 2枚横並び ===== */
.treatment-wrapper {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* ===== 各カード共通 ===== */
.treatment-card {
  display: block;
  width: 120px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  /* カーソルの形を手のひら */
}

.treatment-card img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}



.treatment-label {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  margin-top: 6px;
  color: #fff;
  /* 背景画像に合わせて調整 */
}

.treatment-sub {
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

/*ワイパーアニメーションここから*/

/* 頭（上端）を支点に左右に振る */
.card-left {
  transform-origin: top center;
  animation: wiper-left 2.4s ease-in-out infinite;
}

.card-right {
  transform-origin: top center;
  animation: wiper-right 2.4s ease-in-out infinite;
}

/* 左カード：内→外→内 */
@keyframes wiper-left {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-18deg);
  }

  75% {
    transform: rotate(18deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* 右カード：外→内→外（左と逆位相） */
@keyframes wiper-right {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(18deg);
  }

  75% {
    transform: rotate(-18deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* ホバーで一時停止（お好みで） */
.treatment-card:hover {
  animation-play-state: paused;
}

/*ワイパーアニメーションここまで*/




/*  水玉はじけアニメーションここから */
.bubble-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;

}

.bubble {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
      rgba(255, 255, 255, 0.95),
      rgba(160, 210, 255, 0.4) 50%,
      rgba(120, 190, 255, 0.15));
  box-shadow:
    inset -2px -2px 4px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(120, 190, 255, 0.6);
  animation: bubble-pop ease-in-out infinite;
}

@keyframes bubble-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  20% {
    transform: scale(1.1);
    opacity: 1;
  }

  70% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/*  水玉はじけアニメーションここまで */



/* PC：375px超のとき右外に出す */
@media (min-width: 376px) {
  .shopping_basket2-btn {
    left: min(100%, calc(50% + 375px / 2));
  }

  .treatment-fixed {
    left: min(calc(100% - 10px), calc(50% + 375px / 2 + 40px));
  }
}

/* iPhone SE：375px以下のとき揺れるカード消す */
@media (max-width: 768px) {

  .treatment-fixed,
  .shopping_basket2-btn {
    display: none;
  }
}

/* iPhone SE：375px以下のとき水玉消す */
@media (max-width: 768px) {
  .bubble-container {
    display: none;
  }
}