/* ================================================================
   Immortelle Face Serum LP — 画像型
   flatsome-child/イモーテル/style.css
   ================================================================ */

/* ── このLPではヘッダー・ナビ・フッターウィジェットを非表示 ── */
body:has(.im-lp) #masthead,
body:has(.im-lp) #wide-nav,
body:has(.im-lp) .footer-widgets { display: none !important; }

/* ── Flatsome テーマのコンテナ幅をリセット ─────────────── */
body:has(.im-lp) .page-wrapper {
  padding: 0 !important;
}
body:has(.im-lp) #main,
body:has(.im-lp) #page-content,
body:has(.im-lp) .container,
body:has(.im-lp) .row:not(.im-strip),
body:has(.im-lp) .col {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body:has(.im-lp) .entry-content,
body:has(.im-lp) .page-content {
  padding: 0 !important;
  margin: 0 !important;
}
body:has(.im-lp) .page-title-inner,
body:has(.im-lp) .breadcrumb-container {
  display: none !important;
}

/* ── LP ラッパー ─────────────────────────────────────────── */
.im-lp {
  background: #fdf8f2;
  margin: 0;
  padding: 0;
}

/* ── 画像ストリップ ──────────────────────────────────────── */
.im-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  line-height: 0;
  font-size: 0;
}

.im-strip__img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  /* PC で1024px以上の場合にわずかな区切りを防ぐ */
  vertical-align: bottom;
}

.im-strip__item {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  line-height: 0;
}
.im-strip__item .im-strip__img {
  max-width: 100%;
  margin: 0;
}

/* ヒーロー画像内の透明オーバーレイボタン */
.im-strip__overlay-btn {
  position: absolute;
  /* 画像内ボタン（今すぐ試してみる）の位置に合わせて調整 */
  top: 86.3%;
  left: 7%;
  right: 7%;
  height: 7.8%;
  display: block;
  border-radius: 999px;
  cursor: pointer;
}

/* ── 購入セクション ──────────────────────────────────────── */
.im-purchase {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 88px;
  text-align: center;
  background: #1e2e22;
  color: #fff;
  /* 画像ストリップとの間に継ぎ目が出ないよう line-height をリセット */
  line-height: normal;
  font-size: 1rem;
}

.im-purchase__eyebrow {
  margin: 0 0 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c3d0ba;
}

.im-purchase__name {
  margin: 0 0 20px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.im-purchase__vol {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.05em;
}

.im-purchase__price {
  margin: 6px 0 36px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(40px, 10vw, 62px);
  font-weight: 700;
  color: #c9a34e;
  line-height: 1.1;
}

.im-purchase__price span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.42em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  vertical-align: baseline;
  margin-left: 2px;
}

/* 購入ボタン */
.im-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 16px 48px;
  background: linear-gradient(135deg, #c9a34e 0%, #e8c870 52%, #8a6d2e 100%);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 48px rgba(138, 109, 46, 0.42);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.im-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(138, 109, 46, 0.58);
}

.im-purchase__note {
  margin: 20px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.03em;
}

/* ── スティッキーCTA ─────────────────────────────────────── */
.im-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 12px 20px;
  background: rgba(20, 32, 24, 0.97);
  border-top: 1px solid rgba(201, 163, 78, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* 最初は非表示 */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 250ms ease, opacity 250ms ease;
  /* 幅を画像ストリップに揃える */
  max-width: 760px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  border-radius: 0;
}

/* スクロール後に表示 */
.im-sticky--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.im-sticky__label {
  flex: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.im-sticky__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #c9a34e, #e8c870);
  color: #1e2e22;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 180ms ease;
}

.im-sticky__btn:hover {
  transform: translateY(-1px);
}

/* ================================================================
   CTA セクション
   ================================================================ */
.im-cta {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px 100px;
  background: #fdf8f0;
  text-align: center;
}

/* リビールアニメーション */
.im-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.im-reveal.is-visible    { opacity: 1; transform: translateY(0); }
.im-reveal-delay-1       { transition-delay: 150ms; }
.im-reveal-delay-2       { transition-delay: 300ms; }

/* 引き戻しコピー */
.im-cta__hero     { margin-bottom: 52px; }

.im-cta__kicker {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #b8956a;
  margin: 0 0 20px;
}

.im-cta__headline {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 700;
  line-height: 1.75;
  color: #2e2420;
  margin: 0 0 22px;
}
.im-cta__headline em {
  font-style: normal;
  color: #b8956a;
}

.im-cta__sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2.1;
  color: #7a6a5e;
  margin: 0 0 36px;
}

.im-cta__line {
  display: block;
  width: 40px;
  height: 1px;
  background: #b8956a;
  margin: 0 auto;
}

/* 商品情報 */
.im-cta__product      { margin-bottom: 52px; }

.im-cta__product-name {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  color: #2e2420;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}

.im-cta__product-vol {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #9a8a7e;
  margin: 0 0 10px;
}

.im-cta__product-price {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(38px, 9vw, 52px);
  font-weight: 700;
  color: #2e2420;
  line-height: 1.1;
  margin: 0;
}
.im-cta__product-price span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.38em;
  font-weight: 400;
  color: #9a8a7e;
  vertical-align: baseline;
  margin-left: 4px;
}

/* キャンペーン枠 */
.im-cta__gift {
  background: #fffaf3;
  border: 1px solid #d4b896;
  border-radius: 4px;
  padding: 28px 22px 22px;
  margin-bottom: 52px;
}

.im-cta__gift-badge {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.30em;
  color: #fdf8f0;
  background: #b8956a;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.im-cta__gift-title {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 700;
  color: #2e2420;
  margin: 0 0 14px;
}

.im-cta__gift-body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2.0;
  color: #5a4a3e;
  margin: 0 0 14px;
}
.im-cta__gift-body strong {
  color: #b8956a;
  font-weight: 700;
}

.im-cta__gift-note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #9a8a7e;
  border-top: 1px solid #e8d8c4;
  padding-top: 12px;
  margin: 0;
}

/* レビュー */
.im-cta__reviews      { margin-bottom: 48px; text-align: left; }

.im-cta__reviews-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #b8956a;
  text-align: center;
  margin: 0 0 24px;
}

.im-cta__review       { padding: 18px 0; }

.im-cta__review-stars {
  color: #b8956a;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.im-cta__review-text {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  line-height: 1.9;
  color: #2e2420;
  margin: 0 0 8px;
}

.im-cta__review-attr {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: #9a8a7e;
  margin: 0;
}

.im-cta__review-sep {
  border: none;
  border-top: 1px solid #e8d8c4;
  margin: 0;
}

/* ボタン */
.im-cta__action       { margin-bottom: 56px; }

.im-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  min-height: 64px;
  margin: 0 auto 22px;
  padding: 16px 24px;
  background: #2e4a35;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(46, 74, 53, 0.28);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.im-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(201, 163, 78, 0.45);
  background: linear-gradient(135deg, #c9a34e, #e8c870);
  color: #1e2e22;
}

.im-cta__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.im-cta__checklist li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #7a6a5e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.im-cta__checklist li::before {
  content: "✓";
  color: #b8956a;
  font-size: 11px;
  flex-shrink: 0;
}

/* クロージングコピー */
.im-cta__closing {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  color: #b8956a;
  letter-spacing: 0.18em;
  margin: 0;
}

/* ── PC: 画像両サイドの余白を埋める ─────────────────────── */
@media (min-width: 761px) {
  .im-lp {
    background: #1e2e22;
  }
  .im-strip {
    background: #fdf8f2;
    max-width: 760px;
    margin: 0 auto;
  }
  .im-cta {
    width: 760px;
  }
}

/* ── モバイル ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .im-cta {
    padding: 64px 20px 80px;
  }
  .im-cta__btn {
    max-width: none;
    width: 100%;
  }
  .im-sticky {
    left: 0;
    transform: translateX(0) translateY(100%);
    max-width: none;
  }
  .im-sticky--visible {
    transform: translateX(0) translateY(0);
  }
  .im-sticky__label {
    font-size: 11px;
  }
  .im-sticky__btn {
    font-size: 13px;
    padding: 10px 18px;
  }
}
