@charset "utf-8";

:root {
  --baseColor: #191919;
  --hColor: #333;
  --pColor: #333;
  --darkRed: #8a0707;
  --lightRed: #c21010;
  --yellow: #e0ca7e;
  --noteColor: #878787;
  --baskerville: "baskerville-urw", serif;
  --tenMincho: "ten-mincho", serif;
}

/* JSでbodyに付与するクラス */
/* body.is-modal-open {
  overflow: hidden;
} */

img {
  width: 100%;
}
/* ページ全体のスタイル　主に色 */
body {
  background-color: var(--baseColor);
  overflow-x: hidden;
  /* overflow: hidden; */
}
body.is-modal-open {
  overflow: hidden;
}

.box_top {
  background-color: #fff;
  color: 000000;
}
.maindiv {
  /* ページ下部に余白 */
  margin-bottom: 0px;
  padding-bottom: 50px;
  position: relative;
}

/* 黒背景＋シャドウ */
.nametx {
  display: block;
  background-color: var(--baseColor);
  font-family: var(--tenMincho);
  z-index: 0;
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 8px 0px rgba(224, 202, 126, 0.8);
}
.nametx p {
  color: #fff;
  font-weight: bold;
  font-family: var(--tenMincho);
}

.nametx--ls {
  letter-spacing: 0.2em;
}

.img_notes_2_wrapper img {
  vertical-align: bottom;
}
.fragrance_tx {
  color: var(--yellow);
  margin-top: 2rem;
  font-family: var(--tenMincho);
}

.fragrance_note {
  font-family: var(--tenMincho);
}

.info_area {
  color: #000;
  padding-bottom: 3.5em;
}

.fragrance_text_r2 {
  margin: 0 0 2% 2%;
  color: #fff;
}
.img_notes_2 {
  margin: 0;
}

.img_notes_2_wrapper {
  position: relative;
}
/* 商品画像のあしらい */
.img_notes_2_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, var(--baseColor) 6%, transparent 6%, transparent 94%, var(--baseColor) 94%);
}

/* ボタンのスタイル */
.p-button__box {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.p-button__dtl {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-button__dtl a {
  background: #fff;
  border: solid 2px #686868;
  color: #686868;
  margin: 0;
  padding: 10px 15px;
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.p-button__dtl__red {
  color: var(--lightRed);
  margin: 0;
  display: inline-block;
  font-family: var(--tenMincho);
  font-weight: bold;
}
.p-button__dtl__p {
  margin: 0;
  line-height: 1;
  text-align: center;
  font-family: var(--tenMincho);
}

.p-button__ec {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--tenMincho);
}
.p-button__ec__a {
  display: inline-block;
  background: #686868 !important;
  border: solid 2px #686868;
  color: #fff;
  width: 168px;
  margin-top: 0em;
  padding: 10px 15px;
  line-height: 1;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
}

/* キャンペーンのお知らせ要素 */
.campaign__title {
  background: linear-gradient(transparent 50%, #ccc 50%);
  width: fit-content;
}
.product-ul {
  padding-left: 2em;
  line-height: 2;
  margin-top: 2em;
  margin-bottom: 0;
  list-style: none;
  gap: 0.5em;
}
.product-li {
  text-align: center;
  width: fit-content;
}
.product-li img {
  width: 300px;
}

.campaign__title {
  background: linear-gradient(transparent 50%, #ccc 50%);
  width: fit-content;
}

.product-ul__span {
  font-size: 13px;
}

/* ページ下部の画像 */
.p-bottomImg {
  position: absolute;
  /* 変更点: 画面全体を覆うような配置にして、下部から生やす */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* クリックを阻害しない */
  pointer-events: none;
  /* overflow: hidden; */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* background: linear-gradient(to top, rgba(138, 7, 7, 0.7) 0%, rgba(255, 255, 255, 0.1) 100%); */
}
.p-bottomImg__back {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}
.p-bottomImg__front {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 彼岸花の画像共通 */
.higanbana-img {
  position: absolute;
  bottom: 0;
  transform-origin: bottom center;

  /* 初期状態: 非表示 */
  opacity: 0;
  transform: scaleY(0);

  /* 出現アニメーション: ゆっくり生えてくる */
  transition:
    opacity 1.5s ease,
    transform 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* ぼんやりと呼吸するようなアニメーション */
  animation: breathe 7s infinite alternate ease-in-out;

  /* 【重要】ブレンドモードとフィルタで「染み」のように見せる */
  /* 黒背景に馴染むように hard-light や screen を選択 */
  mix-blend-mode: hard-light;
  filter: sepia(0.6) blur(0.5px) contrast(1.2) drop-shadow(0px 0px 5px rgba(138, 7, 7, 0.5));
}

/* 表示時の状態 (JSでクラス付与) */
.higanbana-img.is-visible {
  opacity: 1;
  transform: scaleY(1);
}

/* バリエーション */
.type-a {
  width: 100px;
  left: -3%;
  bottom: 10px;
}
.type-b {
  width: 230px;
  left: 5%;
  bottom: -10px;
}
.type-c {
  width: 100px;
  left: 26%;
  bottom: 10px;
}
.type-d {
  width: 200px;
  left: 35%;
  bottom: -5px;
}
.type-e {
  width: 100px;
  left: 50%;
  bottom: 10px;
}
.type-f {
  width: 230px;
  left: 55%;
  bottom: 10px;
}
.type-g {
  width: 100px;
  left: 73%;
  bottom: 10px;
}
.type-h {
  width: 210px;
  right: 0%;
  bottom: 10px;
}
.type-r {
  width: 150px;
  left: 60%;
  bottom: -10px;
}

.type-i {
  width: 180px;
  left: 0%;
  bottom: -30px;
}
.type-j {
  width: 120px;
  left: 16%;
  bottom: -30px;
}
.type-k {
  width: 120px;
  left: 23%;
  bottom: -10px;
}
.type-l {
  width: 170px;
  left: 30%;
  bottom: -30px;
}
.type-m {
  width: 180px;
  left: 42%;
  bottom: -30px;
}
.type-n {
  width: 120px;
  left: 53%;
  bottom: -40px;
}
.type-o {
  width: 180px;
  left: 65%;
  bottom: -28px;
}
.type-p {
  width: 180px;
  left: 80%;
  bottom: -30px;
}
.type-q {
  width: 120px;
  left: 76%;
  bottom: -30px;
}
.type-s {
  width: 120px;
  right: 0%;
  bottom: -35px;
}
.type-t {
  width: 100px;
  left: -5%;
  bottom: -30px;
}
.type-u {
  width: 180px;
  left: 12%;
  bottom: -30px;
}

.higanbana-img.reverse {
  transform: scaleX(-1); /* 左右反転 */
  left: auto;
  right: 42%;
  /* right: 81%; */
  /* width: 150px; */
}

/* アニメーションのランダム化 */
.delay-1 {
  animation-delay: 0s;
}
.delay-2 {
  animation-delay: 1.5s;
  animation-duration: 8s;
}
.delay-3 {
  animation-delay: 3s;
  animation-duration: 6s;
}
.delay-4 {
  animation-delay: 0.5s;
  animation-duration: 9s;
}

/* 呼吸アニメーションの定義 */
@keyframes breathe {
  0% {
    transform: scale(1) translateY(0) rotate(0deg);
    filter: sepia(0.6) blur(0.5px) contrast(1.2);
  }
  100% {
    transform: scale(1.05) translateY(-8px) rotate(2deg); /* 少し大きく、上へ、少し傾く */
    filter: sepia(0.6) blur(0px) contrast(1.3); /* ピントが合う */
  }
}

.spHidden {
  display: block;
}
.hidden550 {
  display: block;
}

@media (max-width: 799px) {
  .p-caution {
    width: 600px;
  }
  .p-caution.js-open {
    max-height: 262px;
  }
  .p-caution__container {
    outline: 2px solid #fff;
    justify-content: space-between;
    outline-offset: -8px;
  }
  .p-caution__imgBox {
    width: 150px;
    background-size: 100%;
    background-position: 5px 60%;
  }
  .p-caution__pBox {
    margin-top: 0;
    padding-right: 0.75em;
  }
  .p-caution__p {
    margin: 1em 0;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 767px) {
  /* .fragrance_tx {
    font-size: 14px;
    margin-top: 25px;
  } */
  .maindiv {
    /* ページ下部に余白 */
    padding-bottom: 36px;
  }

  /* キャンペーンのお知らせ */
  .detail_box_flex {
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 1.5em;
  }
  .fragrance_text_r2 {
    margin: 0 auto;
  }
  .product-ul {
    justify-content: left;
    padding-left: 0;
  }
  .product-li {
    margin-top: 0;
  }

  .product-li img {
    width: 100%;
  }

  /* 彼岸花 */
  .type-a {
    width: 10%;
    left: -3%;
    bottom: 10px;
  }
  .type-b {
    width: 24%;
    left: 5%;
    bottom: -4px;
  }
  .type-c {
    width: 10%;
    left: 26%;
    bottom: 0px;
  }
  .type-d {
    width: 24%;
    left: 35%;
  }
  .type-e {
    width: 9%;
    left: 50%;
    bottom: 16px;
  }
  .type-f {
    width: 20%;
    left: 55%;
    bottom: 10px;
  }
  .type-g {
    width: 10%;
    left: 73%;
    bottom: 10px;
  }
  .type-h {
    width: 20%;
    right: 0%;
    bottom: 10px;
  }
  .type-r {
    width: 20%;
    left: 60%;
  }

  .type-i {
    width: 15%;
    left: 0%;
    bottom: -15px;
  }
  .type-j {
    width: 13%;
    left: 12%;
    bottom: -20px;
  }
  .type-k {
    width: 15%;
    left: 21%;
    bottom: -5px;
  }
  .type-l {
    width: 20%;
    left: 28%;
    bottom: -20px;
  }
  .type-m {
    width: 15%;
    left: 42%;
    bottom: -20px;
  }
  .type-n {
    width: 15%;
    left: 53%;
    bottom: -30px;
  }
  .type-o {
    width: 18%;
    left: 65%;
    bottom: -18px;
  }
  .type-p {
    width: 18%;
    left: 77%;
    bottom: -24px;
  }
  .type-q {
    width: 13%;
    left: 73%;
    bottom: -30px;
  }
  .type-s {
    width: 12%;
    right: 4%;
    bottom: -20px;
  }
  .type-t {
    width: 14%;
    left: -5%;
    bottom: -26px;
  }
  .type-u {
    width: 24%;
    left: 12%;
    bottom: -30px;
  }
  .spHidden {
    display: none;
  }
}

@media (max-width: 550px) {
  .type-a {
    width: 16%;
    left: -3%;
    bottom: 10px;
  }
  .type-b {
    width: 34%;
    left: 5%;
    bottom: 12px;
  }
  .type-c {
    width: 15%;
    left: 26%;
    bottom: 10px;
  }
  .type-d {
    width: 30%;
    left: 35%;
    bottom: 8px;
  }
  .type-e {
    width: 16%;
    left: 50%;
    bottom: 8px;
  }
  .type-f {
    width: 36%;
    left: 55%;
    bottom: 6px;
  }
  .type-g {
    width: 15%;
    left: 78%;
    bottom: 40px;
  }
  .type-h {
    width: 36%;
    right: 1%;
    bottom: 16px;
  }
  .type-r {
    width: 20%;
    left: 60%;
  }

  .type-i {
    width: 24%;
    left: -5%;
    bottom: -16px;
  }
  .type-j {
    width: 20%;
    left: 10%;
    bottom: -24px;
  }
  .type-k {
    width: 22%;
    left: auto;
    right: 0;
    bottom: -5px;
    animation: none;
  }
  .type-l {
    width: 30%;
    left: 16%;
    bottom: -20px;
  }
  .type-m {
    width: 28%;
    left: 36%;
    bottom: -20px;
  }
  .type-n {
    width: 25%;
    left: 36%;
    bottom: -30px;
  }
  .type-o {
    width: 36%;
    left: 56%;
    bottom: -24px;
  }
  .type-p {
    width: 18%;
    left: 77%;
    bottom: -24px;
  }
  .type-q {
    width: 22%;
    left: 75%;
    bottom: -20px;
  }
  .type-s {
    width: 20%;
    right: 0;
    bottom: -10px;
    animation: none;
  }
  .type-t {
    width: 14%;
    left: -5%;
    bottom: -26px;
  }
  .hidden550 {
    display: none;
  }
}
