/* ==========================================================================
   BitTo 公式サイト 共有スタイル
   トーン: 誠実・冷静・信頼（被害者向け。煽らない／保証しない）
   ========================================================================== */

:root {
  --navy: #0f2540;
  --navy-2: #16335a;
  --teal: #14b8a6;
  --teal-dark: #0e8f82;
  --line-green: #06c755;
  --line-green-dark: #05a648;
  --ink: #1f2933;
  --muted: #5b6b7b;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-navy-soft: #0c1d33;
  --amber-bg: #fff8ec;
  --amber-line: #f3b14b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(15, 37, 64, 0.08);
  --shadow-lg: 0 14px 40px rgba(15, 37, 64, 0.14);
  --maxw: 1080px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.4; color: var(--navy); font-weight: 700; }
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section__lead { color: var(--muted); max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section__title { font-size: 1.7rem; text-align: center; margin: 0 0 12px; }
.section__title small { display: block; font-size: 0.85rem; color: var(--teal-dark); letter-spacing: .12em; font-weight: 700; margin-bottom: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand__logo { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.brand__logo span { color: var(--teal); }
.brand__reading { font-size: .72rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav a:hover { color: var(--teal-dark); }
.nav__cta { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--line { background: var(--line-green); color: #fff; box-shadow: 0 6px 18px rgba(6, 199, 85, .28); }
.btn--line:hover { background: var(--line-green-dark); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(20, 184, 166, .26); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn__sub { font-size: .72rem; font-weight: 600; opacity: .92; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0a4a52 130%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, .22), transparent 45%);
  pointer-events: none;
}
.hero__inner { padding: 72px 0 64px; position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-block; font-size: .82rem; letter-spacing: .14em; font-weight: 700;
  color: #9be7df; border: 1px solid rgba(155, 231, 223, .4); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 2.2rem; margin: 0 0 18px; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: #6fe3d4; }
.hero__sub { font-size: 1.08rem; color: #d4dde8; max-width: 640px; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin-top: 18px; font-size: .82rem; color: #9fb1c4; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg-navy-soft); color: #cdd8e4; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; text-align: center; }
.trustbar__item strong { display: block; color: #fff; font-size: 1.05rem; }
.trustbar__item span { font-size: .8rem; color: #9fb1c4; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card__icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(20, 184, 166, .12);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.12rem; margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.step__num {
  counter-increment: step; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step__num::before { content: counter(step); }
.step h3 { margin: 2px 0 6px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Notice / honesty box (差別化: 保証しない・誠実) ---------- */
.notice {
  background: var(--amber-bg); border: 1px solid var(--amber-line);
  border-left: 5px solid var(--amber-line); border-radius: var(--radius-sm);
  padding: 18px 22px; margin: 26px 0;
}
.notice strong { color: #9a6512; }
.notice p { margin: 6px 0 0; font-size: .92rem; color: #6b4e1f; }

/* ---------- Diagnosis (無料診断) ---------- */
.diag {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 32px; max-width: 760px; margin: 0 auto;
}
.diag__q { margin-bottom: 22px; border-bottom: 1px dashed var(--line); padding-bottom: 18px; }
.diag__q:last-of-type { border-bottom: none; }
.diag__q > p { font-weight: 700; margin: 0 0 12px; color: var(--navy); }
.diag__opts { display: grid; gap: 10px; }
.diag__opt {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: .95rem;
  transition: border-color .15s ease, background .15s ease;
}
.diag__opt:hover { border-color: var(--teal); background: rgba(20,184,166,.04); }
.diag__opt input { accent-color: var(--teal); width: 18px; height: 18px; }
.diag__opt input:checked + span { font-weight: 700; color: var(--navy); }
.diag__result {
  margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft);
  border: 1px solid var(--line); display: none;
}
.diag__result.is-visible { display: block; }
.diag__result h3 { margin: 0 0 12px; }
.diag__result ul { margin: 0 0 18px; padding-left: 20px; color: var(--ink); }
.diag__result li { margin-bottom: 8px; }
.diag__error { color: #b4232a; font-size: .9rem; margin-top: 8px; display: none; }
.diag__error.is-visible { display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--teal); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy), #0a4a52);
  color: #fff; text-align: center; border-radius: 0;
}
.cta-band__inner { padding: 56px 0; }
.cta-band h2 { color: #fff; font-size: 1.6rem; margin: 0 0 12px; }
.cta-band p { color: #cdd8e4; margin: 0 0 26px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Form ---------- */
.form { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .95rem; }
.field .req { color: #b4232a; font-size: .8rem; margin-left: 6px; }
.field .opt { color: var(--muted); font-size: .78rem; margin-left: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field__hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }

/* ---------- Compare table (差別化) ---------- */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
table.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
table.compare td.good { color: var(--teal-dark); font-weight: 700; }
table.compare tbody tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d6; padding: 48px 0 28px; font-size: .9rem; }
.site-footer a { color: #cdd8e4; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer__brand .brand__logo { color: #fff; }
.footer__brand p { color: #93a4b8; margin: 12px 0 0; font-size: .85rem; }
.footer h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer__disclaimer { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; color: #8295a9; font-size: .8rem; line-height: 1.9; }
.footer__copy { margin-top: 16px; color: #6f8298; font-size: .78rem; }

/* ---------- Floating LINE button (mobile conversion) ---------- */
.float-line {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  box-shadow: var(--shadow-lg);
}

/* ---------- Breadcrumb / page head ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0; }
.page-head h1 { font-size: 1.8rem; margin: 6px 0 0; }
.page-head .crumb { font-size: .82rem; color: var(--muted); }
.page-head .crumb a { color: var(--muted); }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.prose p { color: var(--ink); }
.prose ul { color: var(--ink); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Hero AI note ---------- */
.hero__ai-note {
  display: inline-block; font-size: .92rem; font-weight: 600; color: #aef0e6;
  background: rgba(20, 184, 166, .14); border: 1px solid rgba(110, 227, 212, .4);
  padding: 6px 14px; border-radius: 999px; margin: 0 0 20px;
}
.hero__ai-note strong { color: #fff; }

/* ---------- Problem illustration cards ---------- */
.card--illust { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__illust { line-height: 0; }
.card__illust svg { display: block; width: 100%; height: auto; }
.card__body { padding: 22px 24px 26px; }
.card__body h3 { font-size: 1.12rem; margin: 0 0 10px; color: var(--navy); }
.card__body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.price-highlight {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: linear-gradient(150deg, var(--navy), #0a4a52); color: #fff;
  border-radius: var(--radius); padding: 22px 26px; max-width: 380px; margin: 0 auto 30px;
  box-shadow: var(--shadow-lg);
}
.price-highlight__label { font-size: .76rem; letter-spacing: .14em; color: #9be7df; font-weight: 700; }
.price-highlight__num { font-size: 2.5rem; font-weight: 800; line-height: 1.1; }
.price-highlight__num span { font-size: .82rem; font-weight: 600; color: #cdd8e4; margin-left: 6px; }
.price-highlight__sub { font-size: .82rem; color: #cdd8e4; }
table.price-table td.good { color: var(--teal-dark); font-weight: 800; }
table.price-table td.muted-cell { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91, 107, 123, .5); }

/* ---------- Step price badge & checklist ---------- */
.step__price { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: var(--teal); padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.step__check { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 7px; }
.step__check li { position: relative; padding-left: 28px; font-size: .93rem; color: var(--ink); line-height: 1.5; }
.step__check li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  background: rgba(20, 184, 166, .16); color: var(--teal-dark); border-radius: 50%;
  font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid--3, .grid--2, .footer__grid { grid-template-columns: 1fr; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero h1 { font-size: 1.8rem; }
  .nav { gap: 14px; }
  .nav a:not(.nav__cta) { display: none; }
  .section { padding: 48px 0; }
  .diag, .form { padding: 22px; }
}
@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}
