/* lung-killer.fujibit.com 共通スタイル（index.html / privacy.html） */
:root {
  --bg: #050605;
  --bg-2: #0b0d0b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(134, 212, 42, 0.16);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f4ef;
  --muted: #b4bbae;
  --faint: #7f877a;
  --green: #86d42a;
  --green-2: #b6f05e;
  --red: #e53935;
  --red-2: #ff6b5e;
  --radius: 20px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Segoe UI", "Noto Sans JP", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .store:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.en { color: var(--faint); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 5, 0.66);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand .icon { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-soft); }
.brand .wordmark { height: 17px; width: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .cta {
  color: #071000; padding: 7px 16px; border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(182, 240, 94, 0.4), 0 8px 24px rgba(134, 212, 42, 0.28);
}
.nav .cta:hover { color: #071000; background: var(--green-2); }
@media (max-width: 820px) { .nav .hide-sm { display: none; } }
@media (max-width: 400px) { .brand .wordmark { display: none; } }

/* ===== ヒーロー ===== */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 45% at 78% 60%, rgba(134, 212, 42, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(229, 57, 53, 0.12), transparent 70%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 72%, var(--bg));
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--red-2);
  border: 1px solid rgba(229, 57, 53, 0.4); background: rgba(229, 57, 53, 0.08);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero .logo { width: min(440px, 100%); height: auto; margin-bottom: 26px; filter: drop-shadow(0 0 28px rgba(134, 212, 42, 0.35)); }
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.15; font-weight: 900; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--red-2), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .ln { white-space: nowrap; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 36em; }
.lead.en { font-size: 0.92rem; margin-top: 8px; color: var(--faint); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 11px 20px 11px 16px; border-radius: 14px;
  background: #f4f6f1; color: #050605; font-weight: 800; font-size: 1.05rem; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.store small { display: block; font-size: 0.68rem; font-weight: 600; color: #4a5045; letter-spacing: 0.04em; }
.store svg { width: 26px; height: 26px; flex: none; }
.store.alt { background: transparent; color: var(--text); border: 1px solid rgba(134, 212, 42, 0.55); }
.store.alt small { color: var(--muted); }
.store:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(134, 212, 42, 0.22); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font-size: 0.78rem; color: var(--muted); border: 1px solid var(--border-soft); background: var(--surface); padding: 4px 12px; border-radius: 999px; }

.device { position: relative; justify-self: center; width: min(310px, 78vw); }
.device::before {
  content: ""; position: absolute; inset: 12% -18% -6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(134, 212, 42, 0.32), transparent);
  filter: blur(10px);
}
.device img {
  width: 100%; height: auto; border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 8px #111410, 0 0 0 9px rgba(255, 255, 255, 0.08);
}
.device .badge {
  position: absolute; left: -26px; bottom: 36%;
  background: rgba(10, 12, 10, 0.88); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 14px; font-size: 0.8rem; color: var(--muted);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.device .badge b { display: block; color: var(--green); font-size: 1.15rem; }

/* ===== 数字ストリップ ===== */
.stats { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border-soft); }
.stat b { display: block; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; color: var(--green); line-height: 1.2; }
.stat b.red { color: var(--red-2); }
.stat span { font-size: 0.8rem; color: var(--muted); }

/* ===== セクション共通 ===== */
.block { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 900; line-height: 1.25; margin-bottom: 14px; }
.section-head p { color: var(--muted); }
.section-head p.en { font-size: 0.9rem; margin-top: 6px; color: var(--faint); }

/* コンセプト（引用） */
.concept { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.concept p { color: var(--muted); }
.concept p + p { margin-top: 14px; }
.quotes { display: grid; gap: 12px; }
.quote {
  position: relative; padding: 16px 20px 16px 22px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-soft);
  font-weight: 700; color: var(--text);
}
.quote::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--red); }
.quote small { display: block; font-weight: 400; color: var(--faint); font-size: 0.82rem; }

/* スクリーンショット */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shot { text-align: center; }
.shot img {
  width: 100%; height: auto; border-radius: 26px; margin: 0 auto 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transition: transform .3s ease;
}
.shot:hover img { transform: translateY(-4px); }
.shot figcaption { font-weight: 700; font-size: 0.95rem; }
.shot figcaption span { display: block; font-weight: 400; color: var(--faint); font-size: 0.8rem; }

/* 機能グリッド */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
  transition: border-color .25s ease, transform .25s ease;
}
.feature:hover { border-color: rgba(134, 212, 42, 0.45); transform: translateY(-3px); }
.feature .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(134, 212, 42, 0.12); color: var(--green); border: 1px solid rgba(134, 212, 42, 0.25);
}
.feature .ico.red { background: rgba(229, 57, 53, 0.12); color: var(--red-2); border-color: rgba(229, 57, 53, 0.3); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.9rem; }
.feature p.en { color: var(--faint); font-size: 0.8rem; margin-top: 4px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: linear-gradient(120deg, rgba(229, 57, 53, 0.12), rgba(134, 212, 42, 0.06) 70%); }
.feature.wide .ico { margin-bottom: 0; }

/* プライバシー要約 */
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pcard { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--surface); }
.pcard h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.pcard h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex: none; }
.pcard.warn h3::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
.pcard p { color: var(--muted); font-size: 0.9rem; }
.pcard p.en { color: var(--faint); font-size: 0.82rem; margin-top: 8px; }
.more { margin-top: 24px; }

/* CTA / サポート */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 56px 24px; border-radius: 28px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(134, 212, 42, 0.18), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--border);
}
.cta-band img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; border: 1px solid var(--border-soft); }
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; margin-bottom: 8px; }
.cta-band p { color: var(--muted); }
.cta-band .stores { justify-content: center; }
.support { margin-top: 56px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--surface); }
.support h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.support p { color: var(--muted); font-size: 0.9rem; }
.support p.en { color: var(--faint); font-size: 0.82rem; }
.mail {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(134, 212, 42, 0.5); font-weight: 700; white-space: nowrap;
}
.mail:hover { background: rgba(134, 212, 42, 0.1); text-decoration: none; }
.mail svg { width: 18px; height: 18px; }

/* フッター */
.site-footer { border-top: 1px solid var(--border-soft); padding: 36px 0 44px; margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-footer small { color: var(--faint); font-size: 0.82rem; letter-spacing: 0.04em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a { color: var(--muted); font-size: 0.85rem; }

/* スクロール表示 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .store, .feature, .shot img { transition: none; }
}

/* ===== プライバシーポリシーページ ===== */
.doc-hero { padding: 64px 0 28px; position: relative; isolation: isolate; }
.doc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 85% 0%, rgba(134, 212, 42, 0.12), transparent 70%);
}
.doc-hero h1 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); font-weight: 900; line-height: 1.2; margin-bottom: 10px; }
.doc-hero h1 .en { display: block; font-size: 0.55em; font-weight: 700; margin-top: 4px; }
.updated { color: var(--faint); font-size: 0.85rem; }
.lang-switch { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.lang-switch a { border: 1px solid var(--border-soft); border-radius: 999px; padding: 5px 14px; font-size: 0.82rem; color: var(--muted); }
.lang-switch a:hover { color: var(--text); border-color: var(--border); text-decoration: none; }
.doc { max-width: 820px; padding-bottom: 40px; }
.doc .lang-head { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green); margin: 40px 0 16px; scroll-margin-top: 80px; }
.doc .card { padding: 24px 26px; border-radius: 18px; border: 1px solid var(--border-soft); background: var(--surface); margin-bottom: 14px; }
.doc .card h2 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.doc .card p, .doc .card li { color: var(--muted); font-size: 0.93rem; }
.doc .card p + p, .doc .card ul + p, .doc .card p + ul { margin-top: 10px; }
.doc .card ul { padding-left: 1.3em; }
.doc .card li + li { margin-top: 4px; }
.doc .card strong { color: var(--text); }

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .device .badge { left: -8px; }
  .concept { grid-template-columns: 1fr; gap: 28px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 640px) {
  .block { padding: 68px 0; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
  .features, .privacy-grid { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; gap: 14px; }
  .shots {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -20px; padding: 0 20px 12px; -webkit-overflow-scrolling: touch;
  }
  .shot { flex: 0 0 68%; scroll-snap-align: center; }
  .store { flex: 1 1 100%; }
  .support { grid-template-columns: 1fr; }
  .doc .card { padding: 20px; }
}
