/* 夜景ドライブナビ 紹介ページ。TalkLens の紹介ページと同じ作り（ガラスのカード＋白い大きな文字＋シャンパンゴールドのボタン）を、
   アプリのアイコンに合わせた夜空の色（紺と月の青）で。写真は使わず、背景はグラデーションだけ。
   スマートフォンの幅を先に作り、広い画面で段組みを増やす。 */
:root {
  --gold: #d9bd88;
  --gold-light: #ecd7a8;
  --moon: #aebcff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --glass: rgba(16, 22, 52, 0.55);
  --glass-line: rgba(255, 255, 255, 0.16);
  --radius: 20px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #070b1e;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: 0.01em; word-break: keep-all; overflow-wrap: anywhere; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.sp-only { display: inline; }
@media (min-width: 720px) { .sp-only { display: none; } }

/* ---- 夜空の背景（セクションごとに少しずつ色を変える） ---- */
.sky, .sky-2, .sky-3 { position: relative; isolation: isolate; }
.sky {
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(110, 130, 255, 0.28), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(217, 189, 136, 0.12), transparent 70%),
    linear-gradient(180deg, #070b1e 0%, #0d1438 60%, #0a1030 100%);
}
.sky::before {
  /* 小さな星（ドットの模様。画像は使わない） */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 32% 8%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 58% 26%, #fff, transparent),
    radial-gradient(1px 1px at 84% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 92% 44%, #fff, transparent),
    radial-gradient(1px 1px at 22% 52%, #fff, transparent),
    radial-gradient(1px 1px at 44% 70%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 70% 84%, #fff, transparent);
}
.sky-2 { background: linear-gradient(180deg, #0a1030 0%, #111a46 100%); }
.sky-3 { background: linear-gradient(180deg, #111a46 0%, #0a1030 100%); }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 11, 30, 0.76);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; min-height: 44px; }
.brand img { border-radius: 8px; }
.header-nav { display: none; gap: 24px; }
.header-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 10px 0; }
.header-nav a:hover { color: var(--text); }
@media (min-width: 820px) { .header-nav { display: flex; } }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700; text-decoration: none; text-align: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.98); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #1d1608; box-shadow: 0 8px 24px rgba(217, 189, 136, 0.3); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: var(--text); border: 1px solid rgba(255, 255, 255, 0.45); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn-large { min-height: 58px; padding: 14px 34px; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.cta-row .btn { flex: 1 1 200px; }
@media (min-width: 720px) { .cta-row .btn { flex: 0 0 auto; } }

/* ---- ガラスのカード ---- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.card { padding: 22px 20px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-icon { font-size: 28px; margin-bottom: 8px; }

/* ---- 最初の画面 ---- */
.hero { padding: 48px 0 56px; }
.hero-inner { display: grid; gap: 36px; align-items: center; }
.eyebrow { color: var(--gold-light); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; margin-bottom: 12px; }
.hero h1 { font-size: clamp(34px, 9vw, 64px); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.lead { font-size: clamp(16px, 4.2vw, 19px); color: var(--muted); margin-top: 18px; max-width: 34em; }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }
.hero-phone { margin: 0 auto; max-width: 280px; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .hero-phone { max-width: 330px; }
}

/* 端末の画面（スクリーンショット）を角の丸い枠に入れる */
.hero-phone img, .phone img {
  border-radius: 34px;
  border: 6px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ---- セクション ---- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-title { font-size: clamp(26px, 6.4vw, 40px); text-align: center; margin-bottom: 14px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.section-lead { color: var(--muted); text-align: center; max-width: 36em; margin: 0 auto 36px; }
.section-lead strong { color: var(--text); }
.grid-3, .grid-2 { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
/* カード6枚の段は、中くらいの幅では2列×3段にする */
@media (min-width: 720px) and (max-width: 999px) { .grid-3.grid-six { grid-template-columns: repeat(2, 1fr); } }

/* ---- 機能 ---- */
.feature { display: grid; gap: 20px; align-items: center; margin-top: 48px; }
.feature .phone { margin: 0 auto; max-width: 240px; }
.feature-text { padding: 24px 22px; }
.feature-text h3 { font-size: 24px; margin-bottom: 10px; }
.feature-text p { color: var(--muted); }
.feature-text p + p { margin-top: 10px; }
.feature-text .small { font-size: 13px; }
.feature-num { color: var(--gold-light); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 4px; }
.wide-shot { margin: 0 auto; max-width: 560px; }
.wide-shot img { border-radius: 22px; border: 6px solid rgba(255, 255, 255, 0.14); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 300px 1fr; gap: 56px; margin-top: 72px; }
  .feature.reverse { grid-template-columns: 1fr 300px; }
  .feature.reverse > :first-child { order: 2; }
  .feature-wide, .feature-wide.reverse { grid-template-columns: 1fr 1fr; }
  .feature .phone { max-width: 300px; }
  .feature-text { padding: 32px 34px; }
}

/* 夜景ガイドの声（吹き出し） */
.voice { margin: 0 auto; width: 100%; max-width: 320px; text-align: center; }
.voice-bubble {
  position: relative; display: inline-block; padding: 22px 26px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(174, 188, 255, 0.28), rgba(174, 188, 255, 0.1));
  border: 1px solid rgba(174, 188, 255, 0.5);
  font-size: clamp(20px, 5.4vw, 26px); font-weight: 700; line-height: 1.5;
  box-shadow: 0 18px 50px rgba(60, 80, 200, 0.35);
}
.voice-bubble::before { content: "\1F50A"; display: block; font-size: 22px; margin-bottom: 6px; }
.voice-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 18px; transform: translateX(-50%) rotate(45deg);
  background: rgba(174, 188, 255, 0.14); border-right: 1px solid rgba(174, 188, 255, 0.5); border-bottom: 1px solid rgba(174, 188, 255, 0.5);
}
.voice-spots { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.voice-spots li { padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.06); }

/* ---- CarPlay ---- */
.soon { display: inline-block; margin-bottom: 12px; padding: 3px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #1d1608; background: var(--gold); }
.carplay-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .carplay-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.carplay { margin: 0; }
.carplay img { width: 100%; border-radius: 18px; border: 8px solid #1b1f2c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.45); }
.carplay figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.carplay figcaption b { display: block; color: var(--text); font-size: 16px; }

/* ---- 使い方 ---- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.step-num { color: var(--gold-light); font-weight: 700; letter-spacing: 0.12em; font-size: 14px; margin-bottom: 6px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---- 料金 ---- */
.pricing { display: grid; gap: 28px; align-items: center; }
.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 260px; gap: 48px; } }
.pricing-phone { margin: 0 auto; max-width: 220px; }
@media (min-width: 900px) { .pricing-phone { max-width: 260px; } }
.plan { position: relative; padding: 24px 20px; }
.plan h3 { font-size: 22px; }
.plan.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 14px 40px rgba(0, 0, 0, 0.3); }
.badge { position: absolute; top: -12px; right: 16px; background: var(--gold); color: #1d1608; font-weight: 700; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.price { margin: 6px 0 14px; font-size: 15px; color: var(--muted); }
.yen { font-size: 34px; font-weight: 800; color: var(--text); margin: 0 2px; letter-spacing: -0.01em; }
.plan ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 14px; }
.plan li + li { margin-top: 6px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; text-align: center; }

/* ---- 安心して使うために ---- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--gold-light); font-weight: 700; }
.checks b { display: block; color: var(--text); font-size: 17px; }

/* ---- よくある質問 ---- */
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { padding: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--gold-light); font-size: 22px; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---- 最後の案内 ---- */
.final .owner { margin: 40px auto 0; max-width: 560px; text-align: center; }
.final .owner .btn { margin-top: 16px; }

/* ---- 画面の下 ---- */
.site-footer { background: #050816; padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a, .contact a { color: var(--muted); }
.contact a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-note { margin-top: 12px; font-size: 12px; line-height: 1.8; }
.copyright { margin-top: 8px; }

/* ---- 控えめな表示のアニメーション（画面に入ったときに少しだけ浮かぶ） ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
