/* Spice now LP。構成と余白はnewmatch.appに倣い、色はアプリ(Theme.swift)に揃える。
   飾りは足さない: 黒1色 + 差し色のオレンジだけ。 */

:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --sub: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.5);
  --orange: #f36c21;
  --orange-soft: rgba(243, 108, 33, 0.14);
  --green: #44cc77;
  --gutter: 24px;
  --max: 640px;
  --header-h: 56px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-wordmark: "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13, 13, 13, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.wordmark { font-family: var(--font-wordmark); font-weight: 900; font-size: 18px; letter-spacing: -0.02em; }
.header-cta {
  font-size: 13px; font-weight: 700; text-decoration: none;
  padding: 7px 14px; border-radius: 999px;
  background: var(--orange); color: #fff;
}

main { padding-top: calc(var(--header-h) + env(safe-area-inset-top)); }

/* ---------- ヒーロー ---------- */
.hero {
  min-height: calc(100svh - var(--header-h));
  padding: 40px var(--gutter) 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}

/* newmatchのミラーボールの位置。ゆっくり傾きながら浮かぶ。 */
.symbol { width: 208px; perspective: 800px; margin-bottom: 28px; }
.symbol img { width: 100%; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(243, 108, 33, 0.28)); }
.symbol-sm { width: 132px; margin-bottom: 24px; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotateY(-14deg) rotateX(4deg); }
  50%      { transform: translateY(-10px) rotateY(14deg) rotateX(-4deg); }
}
@media (prefers-reduced-motion: reduce) { .symbol img { animation: none; } }

.hero-title {
  font-size: clamp(24px, 7.2vw, 44px);
  font-weight: 800; line-height: 1.35; letter-spacing: 0.01em;
}
.hero-title span { display: block; }
.hero-tag { margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--orange); letter-spacing: 0.04em; }

.status {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 700; line-height: 1.4;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.status.is-open .status-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(68, 204, 119, 0.2); }

.store-badge { display: inline-block; margin-top: 20px; }
.store-badge img { height: 56px; width: auto; }
.hero-note { margin-top: 12px; font-size: 12px; color: var(--faint); }

/* newmatchの実績の数字の帯。数字の代わりに特徴を置く。 */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts li {
  padding: 20px 6px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font-size: 24px; font-weight: 700; line-height: 32px; letter-spacing: -0.6px; }
.facts span { font-size: 12px; color: var(--faint); line-height: 16.5px; }

/* ---------- セクション共通 ---------- */
.section {
  padding: 44px var(--gutter);
  border-top: 1px solid var(--line);
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
}
.facts + .section { border-top: 0; }
.section-flush { padding-left: 0; padding-right: 0; }
.section-head { padding: 0 var(--gutter); }

.eyebrow { font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 1.8px; color: var(--faint); }
.section h2, .download h2 { margin-top: 12px; font-size: 24px; font-weight: 700; line-height: 32px; }
.lead { margin-top: 16px; font-size: 14px; line-height: 22.75px; color: var(--sub); }
.lead-about { color: rgba(255, 255, 255, 0.7); }
.section h3 { font-size: 15px; font-weight: 700; line-height: 20.625px; }

.kv { margin-top: 24px; }
.kv img { border-radius: 16px; width: 100%; }

/* ---------- 使い方(手動スワイプ) ---------- */
.steps { margin-top: 24px; }
.steps-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.steps-track::-webkit-scrollbar { display: none; }
.step {
  flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center;
}
.step-text { width: 100%; }
.step-no {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-size: 14px; font-weight: 700; line-height: 28px; text-align: center;
}
.step h3 { margin-top: 12px; font-size: 16px; line-height: 24px; }
.step-text p:not(.step-no) { margin-top: 4px; font-size: 14px; line-height: 22.75px; color: var(--sub); min-height: 68.25px; }

/* 画像は縦横比がばらばらなので、高さを揃えて幅を成り行きにする */
.step-media { margin-top: 20px; height: min(440px, 62svh); display: flex; justify-content: center; }
.step-media img { height: 100%; width: auto; max-width: 100%; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
.step-media-wide img { width: 100%; }

.steps-nav { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.steps-dots { display: flex; gap: 6px; }
.steps-dots button {
  width: 22px; height: 4px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, 0.2); cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.steps-dots button[aria-selected="true"] { width: 36px; background: var(--orange); }
.steps-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0 0 3px;
}
.steps-arrow:disabled { opacity: 0.3; cursor: default; }

/* ---------- 開放時間 ---------- */
.times { margin-top: 32px; display: grid; gap: 8px; }
.times li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 12px; background: var(--surface);
}
.times-label { font-size: 12px; line-height: 16px; color: var(--faint); }
.times strong { font-size: 17px; line-height: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.next-open { margin-top: 16px; font-size: 14px; line-height: 22.75px; font-weight: 700; color: var(--orange); }

/* ---------- エリア ---------- */
.areas { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.area { padding: 18px 16px; border-radius: 12px; background: var(--surface); }
.area-city { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; color: var(--faint); }
.area-spots { margin-top: 8px; font-size: 20px; line-height: 28px; font-weight: 700; }
.area-spots span { color: var(--faint); font-weight: 400; }

/* ---------- 特徴 ---------- */
.features { margin-top: 32px; }
.features li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.features li:first-child { padding-top: 0; }
.features li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-no { font-size: 10px; line-height: 15px; font-weight: 500; letter-spacing: 1px; color: var(--orange); }
.features h3 { margin-top: 6px; }
.features p:not(.feature-no) { margin-top: 12px; font-size: 14px; line-height: 22.75px; color: rgba(255, 255, 255, 0.55); }

/* ---------- 比較表 ---------- */
.compare-wrap { margin-top: 32px; }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 19.5px; }
.compare th, .compare td { padding: 16px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-size: 10px; line-height: 15px; letter-spacing: 1px; color: rgba(255, 255, 255, 0.4); font-weight: 700; padding-top: 12px; padding-bottom: 12px; }
.compare thead th:first-child { width: 5.6em; }
.compare tbody th { font-weight: 700; color: var(--text); font-size: 12px; line-height: 16px; }
.compare td { color: rgba(255, 255, 255, 0.5); }
.compare .compare-us { color: rgba(255, 255, 255, 0.85); font-weight: 400; background: var(--orange-soft); }
.compare thead .compare-us { color: var(--orange); }
.compare small { font-size: 11px; color: var(--sub); }

/* ---------- 安全 ---------- */
.safety { margin-top: 32px; display: grid; gap: 8px; }
.safety li { padding: 16px; border-radius: 12px; background: var(--surface); }
.safety h3 { font-size: 14px; line-height: 20px; }
.safety p { margin-top: 4px; font-size: 12px; line-height: 19.5px; color: var(--faint); }

/* ---------- 料金 ---------- */
.call-price {
  margin-top: 32px; padding: 22px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid rgba(243, 108, 33, 0.4);
  text-align: center;
}
.call-price-head { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; color: var(--faint); }
.call-who { margin-top: 12px; display: grid; gap: 6px; text-align: left; }
.call-who div { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.call-who dt { flex: none; font-size: 12px; font-weight: 800; color: var(--orange); width: 2.5em; }
.call-who dd { font-size: 14px; line-height: 20px; font-weight: 700; }
.call-price-main { margin-top: 20px; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.call-price-main span { font-size: 14px; font-weight: 700; color: var(--sub); }
.call-price-main strong { margin-top: 4px; font-size: 44px; font-weight: 900; color: var(--orange); letter-spacing: -0.01em; }
.call-price-copy { margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 22.75px; }
.price-table { margin-top: 16px; width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.price-table th, .price-table td { padding: 12px 4px; border-top: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.price-table th { font-weight: 400; color: var(--sub); }
.price-table td { font-weight: 700; }
.price-table td:last-child { text-align: right; font-weight: 400; color: var(--sub); font-size: 12px; }
.price-table .is-pick th, .price-table .is-pick td { color: var(--orange); font-weight: 700; }

.plans { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan { padding: 16px; border-radius: 12px; background: var(--surface); }
.plan-name { font-size: 12px; line-height: 16px; letter-spacing: 1.2px; font-weight: 600; color: var(--faint); }
.plan-price { margin-top: 8px; font-size: 24px; font-weight: 700; line-height: 32px; }
.plan-desc { margin-top: 8px; font-size: 12px; line-height: 19.5px; color: var(--faint); }

.invite { margin-top: 8px; padding: 18px 16px; border-radius: 12px; background: var(--orange-soft); }
.invite-head { font-size: 15px; line-height: 20.625px; font-weight: 700; }
.invite-list { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.invite-list div { padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); }
.invite-list dt { font-size: 12px; font-weight: 800; color: var(--orange); }
.invite-list dd { font-size: 14px; line-height: 20px; font-weight: 700; }
.invite-note { margin-top: 12px; font-size: 12px; line-height: 19.5px; color: var(--sub); }
.fine { margin-top: 12px; font-size: 10px; line-height: 15px; color: rgba(255, 255, 255, 0.4); }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 40px 18px 0; position: relative;
  font-size: 14px; font-weight: 400; line-height: 20px; color: rgba(255, 255, 255, 0.8);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 16px; font-size: 14px; line-height: 22.75px; color: rgba(255, 255, 255, 0.55); }

/* ---------- ダウンロード ---------- */
.download {
  padding: 112px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.download-copy { margin-top: 16px; font-size: 14px; line-height: 22.75px; color: var(--sub); }

/* ---------- 特商法・フッター ---------- */
.legal h2 { font-size: 18px; }
.tokusho { margin-top: 32px; font-size: 12px; line-height: 19.5px; }
.tokusho div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; }
.tokusho dt { color: var(--faint); }
.tokusho dd { color: var(--sub); }
.tokusho a { color: var(--text); }

.site-footer {
  padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); text-align: center;
}
.footer-links { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; }
.footer-links a { color: var(--sub); text-decoration: none; }
.copy { margin-top: 16px; font-size: 11px; color: var(--faint); }

/* ---------- PC ---------- */
@media (min-width: 768px) {
  .facts { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .symbol { width: 240px; }
  .step-media { height: 520px; }
  .safety { grid-template-columns: 1fr 1fr; }
}
