/* ==========================================================================
   FRUIT POST — ドリアン＆マンゴスチン プレゼント LP
   配色：深いブラウン × 金（ドリアン）× 紫（マンゴスチン）
   ========================================================================== */

:root {
  --bg: #120a06;
  --surface: #1d120c;
  --surface-2: #251610;
  --ink: #fff8f2;
  --muted: rgba(255, 248, 242, 0.64);
  --muted-2: rgba(255, 248, 242, 0.42);
  --line: rgba(255, 248, 242, 0.1);
  --gold: #f5a524;
  --gold-soft: #ffcf70;
  --coral: #e8452b;
  --purple: #7b46b8;
  --radius: 20px;
  --shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.9);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(245, 165, 36, 0.16), transparent 62%),
    radial-gradient(720px 480px at 6% 12%, rgba(123, 70, 184, 0.14), transparent 60%),
    radial-gradient(600px 400px at 50% 108%, rgba(232, 69, 43, 0.12), transparent 65%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; position: relative; z-index: 1; }

/* ------------------------------------------------------------------ 头部 */

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: var(--header-bg, rgba(18, 10, 6, 0.78));
  border-bottom: 1px solid var(--line);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 66px;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold), var(--coral));
  box-shadow: 0 8px 18px -8px rgba(245, 165, 36, 0.8);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__name { font-size: 17px; letter-spacing: 0.02em; white-space: nowrap; }
.brand__en {
  font-family: Oswald, sans-serif; font-size: 10px; letter-spacing: 0.22em;
  color: var(--muted-2); padding-top: 4px; white-space: nowrap;
}
@media (max-width: 480px) { .brand__en { display: none; } }
.brand__name em { font-style: normal; color: var(--gold); }
.top__spacer { flex: 1; }
.top__badge {
  font-size: 11px; font-weight: 700; color: var(--gold-soft);
  border: 1px solid rgba(245, 165, 36, 0.45);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}

/* ------------------------------------------------------------------ 首屏 */

.hero { padding: 44px 0 26px; }
.hero__grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 40px; }
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; gap: 48px; }
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold-soft);
  border: 1px solid rgba(245, 165, 36, 0.4);
  background: rgba(245, 165, 36, 0.08);
  padding: 7px 14px; border-radius: 999px;
  margin: 0 0 20px;
}
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(245,165,36,.18); }

.h1 {
  font-size: clamp(34px, 8.4vw, 62px);
  line-height: 1.18;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.h1 span { display: block; }
.h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-soft) 0%, var(--gold) 42%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h1 .thin { font-size: 0.58em; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; margin-top: 10px; display: block; }

.lead { color: var(--muted); font-size: 15.5px; margin: 0 0 24px; max-width: 46ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.cta {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 16px 40px;
  border: 0; border-radius: 999px;
  background: linear-gradient(120deg, var(--coral), #f4702c 52%, var(--gold));
  color: #2a0b02;
  font-weight: 900; font-size: 19px; letter-spacing: 0.02em;
  box-shadow: 0 16px 34px -14px rgba(232, 69, 43, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  max-width: 380px;
}
.cta small { font-size: 11.5px; font-weight: 700; opacity: 0.78; letter-spacing: 0.06em; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 22px 42px -14px rgba(232, 69, 43, 1); }
.cta:active { transform: translateY(0); }
@media (min-width: 640px) { .cta { width: auto; min-width: 320px; } }

.cta-note { font-size: 12px; color: var(--muted-2); }

.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  background: var(--tint, rgba(255, 248, 242, 0.05));
  border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px;
}
.trust__item svg { width: 15px; height: 15px; color: var(--gold); }

/* 首屏图 */

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  filter: saturate(1.06) contrast(1.03);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 26px;
  background: linear-gradient(180deg, transparent 45%, rgba(18, 10, 6, 0.55));
  pointer-events: none;
}
.ribbon {
  position: absolute; top: -14px; left: -8px; z-index: 2;
  background: linear-gradient(120deg, var(--coral), var(--gold));
  color: #2a0b02; font-weight: 900;
  font-size: 13px; letter-spacing: 0.04em;
  padding: 10px 18px; border-radius: 12px;
  box-shadow: 0 12px 26px -12px rgba(232, 69, 43, 0.9);
  transform: rotate(-3deg);
}
.hero__price {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  background: rgba(12, 7, 4, 0.72);
  border: 1px solid rgba(245, 165, 36, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 14px; padding: 9px 14px;
  font-size: 12px; color: var(--gold-soft); font-weight: 700;
  line-height: 1.4;
}
.hero__price b { display: block; font-size: 17px; color: #fff; font-family: Oswald, sans-serif; letter-spacing: 0.02em; }

/* 倒计时 + 库存 */

.countdown { display: flex; gap: 8px; margin: 22px 0 0; }
.cd__cell {
  flex: 1; min-width: 0;
  background: rgba(255, 248, 242, 0.055);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 9px 4px 7px;
  text-align: center;
}
.cd__cell b {
  display: block; font-family: Oswald, sans-serif; font-weight: 700;
  font-size: 24px; line-height: 1.1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cd__cell span { font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted-2); }
.cd__label { font-size: 11.5px; color: var(--muted-2); margin: 12px 0 0; letter-spacing: 0.08em; }

.stock { margin-top: 18px; }
.stock__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.stock__head b { color: var(--gold-soft); font-family: Oswald, sans-serif; font-size: 17px; letter-spacing: 0.02em; }
.stock__bar { height: 8px; border-radius: 99px; background: rgba(255, 248, 242, 0.1); overflow: hidden; }
.stock__fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ 通用区块 */

.sec { padding: 58px 0; }
.sec--tight { padding: 34px 0; }
.sec__head { text-align: center; margin-bottom: 32px; }
.sec__kicker {
  font-family: Oswald, sans-serif; font-size: 12px; letter-spacing: 0.28em;
  color: var(--gold); margin: 0 0 10px; text-transform: uppercase;
}
.sec__title { font-size: clamp(22px, 5vw, 32px); font-weight: 900; margin: 0; line-height: 1.35; }
.sec__sub { color: var(--muted); font-size: 14px; margin: 12px auto 0; max-width: 54ch; }

/* 步骤 */

.steps { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.step {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
}
.step__n {
  font-family: Oswald, sans-serif; font-size: 34px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--num-step, rgba(245, 165, 36, 0.55));
  line-height: 1; margin-bottom: 12px; display: block;
}
.step__t { font-size: 16.5px; font-weight: 900; margin: 0 0 8px; }
.step__d { font-size: 13.5px; color: var(--muted); margin: 0; }
.step::after {
  content: ""; position: absolute; right: 22px; top: 26px;
  width: 26px; height: 26px; border-radius: 9px;
  background: radial-gradient(circle at 50% 50%, rgba(245,165,36,.5), rgba(245,165,36,0) 70%);
}

/* 奖品 */

.prizes { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .prizes { grid-template-columns: 1fr 1fr; gap: 22px; } }
.prize {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prize__img { position: relative; }
.prize__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.prize__role {
  position: absolute; left: 14px; top: 14px;
  font-size: 11.5px; font-weight: 900; letter-spacing: 0.08em;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(12, 7, 4, 0.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 165, 36, 0.4); color: var(--gold-soft);
}
.prize--queen .prize__role { border-color: rgba(160, 110, 220, 0.55); color: #d9b8ff; }
.prize__body { padding: 20px 20px 24px; }
.prize__name { font-size: 24px; font-weight: 900; margin: 0 0 6px; letter-spacing: 0.01em; }
.prize__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.prize__meta span {
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px;
}
.prize__desc { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.prize__price { font-size: 13px; color: var(--gold-soft); font-weight: 900; }
.prize__price s { color: var(--muted-2); font-weight: 400; margin-left: 6px; }

/* 产地横条 */

.band {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.band img { width: 100%; height: 320px; object-fit: cover; }
.band__txt {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18, 10, 6, 0.1) 0%, rgba(18, 10, 6, 0.86) 72%);
}
.band__txt h3 { margin: 0 0 8px; font-size: clamp(20px, 4.4vw, 27px); font-weight: 900; }
.band__txt p { margin: 0; font-size: 13.5px; color: rgba(255, 248, 242, 0.78); max-width: 52ch; }
@media (min-width: 760px) { .band img { height: 380px; } .band__txt { padding: 34px; } }

/* 特点 */

.feats { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feats { grid-template-columns: 1fr 1fr; } }
.feat {
  display: flex; gap: 14px;
  background: rgba(255, 248, 242, 0.035);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 18px;
}
.feat__ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(245, 165, 36, 0.12); color: var(--gold);
}
.feat__ico svg { width: 20px; height: 20px; }
.feat__t { font-size: 15px; font-weight: 900; margin: 0 0 5px; }
.feat__d { font-size: 13px; color: var(--muted); margin: 0; }

/* 评价 */

.revs { position: relative; }
.revs::before,
.revs::after {
  content: "";
  position: absolute; top: 0; bottom: 18px; width: 46px;
  pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity 0.2s ease;
}
.revs::before { left: -20px; background: linear-gradient(90deg, var(--bg), rgba(18, 10, 6, 0)); }
.revs::after { right: -20px; background: linear-gradient(270deg, var(--bg), rgba(18, 10, 6, 0)); }
.revs[data-at-start="false"]::before { opacity: 1; }
.revs[data-at-end="false"]::after { opacity: 1; }

.revs__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: none; place-items: center;
  background: rgba(20, 12, 8, 0.9);
  border: 1px solid var(--line);
  color: var(--ink); z-index: 3;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.9);
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.revs__nav svg { width: 18px; height: 18px; }
.revs__nav:hover { border-color: rgba(245, 165, 36, 0.6); }
.revs__nav[disabled] { opacity: 0.25; pointer-events: none; }
.revs__nav--prev { left: -18px; }
.revs__nav--next { right: -18px; }
/* 有鼠标就显示箭头（窄窗口也能点），触屏靠滑动 */
@media (pointer: fine) { .revs__nav { display: grid; } }
.revs[data-at-start="true"][data-at-end="true"] .revs__nav { display: none; }

.reviews {
  display: flex; gap: 14px;
  overflow-x: auto; padding: 4px 20px 18px;
  margin-inline: -20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.reviews::-webkit-scrollbar { display: none; }
.reviews.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.reviews.is-drag .review { user-select: none; }

.review {
  flex: 0 0 84%;
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px; padding: 20px;
}
@media (min-width: 760px) { .review { flex-basis: 46%; } }
.review__stars { color: var(--gold); font-size: 13px; letter-spacing: 0.12em; margin-bottom: 10px; }
.review__text { font-size: 13.5px; color: rgba(255, 248, 242, 0.86); margin: 0 0 14px; }
.review__who { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted-2); }
.review__ava {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #2a0b02;
  background: linear-gradient(140deg, var(--gold-soft), var(--coral));
}
.review__who b { color: var(--ink); font-weight: 700; font-size: 12.5px; }

/* FAQ */

.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px;
}
.faq summary {
  list-style: none; cursor: pointer;
  font-size: 14.5px; font-weight: 700; padding: 14px 26px 14px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 12px;
  color: var(--gold); font-size: 20px; font-weight: 400; line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }

/* 末尾 CTA */

.final {
  text-align: center;
  border-radius: 26px;
  padding: 42px 22px;
  background:
    radial-gradient(600px 260px at 50% -10%, rgba(245, 165, 36, 0.24), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(245, 165, 36, 0.22);
}
.final h2 { margin: 0 0 10px; font-size: clamp(22px, 5vw, 32px); font-weight: 900; line-height: 1.4; }
.final p { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; }
.final .cta { margin-inline: auto; }

/* 页脚 */

.foot {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--muted-2);
  font-size: 12px;
}
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.foot__links a { color: var(--muted); }
.foot__links a:hover { color: var(--gold-soft); }
.foot small { display: block; line-height: 1.9; }
.foot__credits { margin-top: 12px; font-size: 10.5px; opacity: 0.55; }

/* 下载弹层（仅用户点击后出现） */

.sheet {
  position: fixed; inset: 0; z-index: 120;
  display: none;
  align-items: flex-end; justify-content: center;
  background: rgba(8, 4, 2, 0.72);
  backdrop-filter: blur(6px);
  padding: 0;
}
.sheet.is-open { display: flex; }
@media (min-width: 640px) { .sheet { align-items: center; padding: 24px; } }
.sheet__panel {
  width: 100%; max-width: 440px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  animation: sheetIn 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 640px) { .sheet__panel { border-radius: 24px; } }
@keyframes sheetIn { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__close {
  float: right; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 248, 242, 0.06);
  display: grid; place-items: center; color: var(--muted);
}
.sheet__kicker { font-family: Oswald, sans-serif; letter-spacing: 0.24em; font-size: 11px; color: var(--gold); margin: 0 0 6px; }
.sheet h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.sheet__note { margin: 0 0 18px; font-size: 12.5px; color: var(--muted); }
.dl-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left;
  background: rgba(255, 248, 242, 0.05);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 10px;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.dl-btn:hover { border-color: rgba(245, 165, 36, 0.5); background: rgba(245, 165, 36, 0.07); }
.dl-btn b { display: block; font-size: 15px; font-weight: 900; }
.dl-btn small { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.dl-btn svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.dl-btn--main {
  background: linear-gradient(120deg, var(--coral), var(--gold));
  border: 0; color: #2a0b02;
}
.dl-btn--main small { color: rgba(42, 11, 2, 0.72); }
.dl-btn--main svg { color: #2a0b02; }
.sheet__fine { margin: 14px 0 0; font-size: 11px; color: var(--muted-2); text-align: center; }
.sheet__spin { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; min-height: 18px; }

/* 手机底部常驻 CTA */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(18, 10, 6, 0), rgba(18, 10, 6, 0.94) 40%);
  display: flex; justify-content: center;
}
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 78px; } }
.sticky-cta .cta { max-width: none; font-size: 16.5px; padding: 13px 26px; }
body:has(.sheet.is-open) .sticky-cta { display: none; }

/* 淡入 */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sheet__panel { animation: none; }
}
