/* SiteZero 紹介ページ */

:root {
  --ink: #1b2426;
  --muted: #5b6669;
  --line: #dfe5e4;
  --bg: #ffffff;
  --bg-alt: #f3f6f5;
  --brand: #0f3d3e;
  --accent: #e8743b;
  --accent-dark: #c95d27;
  --danger: #b4483c;
  --ok: #1f7a5a;
  --radius: 12px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt";
}

a { color: var(--brand); }

h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; }
h2 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }

.pc { display: none; }
@media (min-width: 768px) { .pc { display: inline; } }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; color: var(--brand); text-decoration: none; margin: 0; }
.logo span { color: var(--accent); }
.header-cta {
  font-size: .9rem; font-weight: 700; text-decoration: none;
  color: #fff; background: var(--brand);
  padding: .4em 1em; border-radius: 999px;
}

/* ボタン */
.btn {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 700;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-large { font-size: 1.1rem; padding: 1em 2.4em; }

/* ファーストビュー */
.hero {
  background: linear-gradient(160deg, var(--brand) 0%, #164f50 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.eyebrow { font-size: .9rem; opacity: .85; margin-bottom: .8em; }
.hero h1 { font-size: clamp(1.7rem, 6.4vw, 2.9rem); }
.lead { font-size: clamp(.98rem, 2.6vw, 1.08rem); opacity: .95; max-width: 44em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li {
  font-size: .88rem; font-weight: 700;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  padding: .3em .9em; border-radius: 999px;
}

/* セクション共通 */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 46em; }
.note { font-size: .88rem; color: var(--muted); margin-top: 20px; }

/* 困りごと */
.cards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--danger);
  border-radius: var(--radius); padding: 22px;
}
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* 比較 */
.compare { display: grid; gap: 12px; align-items: center; margin-top: 28px; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr auto 1fr; } }
.compare-col { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.compare-col ul { margin: 0; padding-left: 1.2em; }
.compare-label { font-weight: 800; margin-bottom: .5em; }
.before .compare-label { color: var(--danger); }
.after { border: 2px solid var(--ok); }
.after .compare-label { color: var(--ok); }
.compare-arrow { text-align: center; font-size: 1.8rem; color: var(--muted); transform: rotate(90deg); }
@media (min-width: 768px) { .compare-arrow { transform: none; } }

/* 実績 */
.works { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 768px) { .works { grid-template-columns: 1.3fr 1fr; } }
.work { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.work h3 { font-size: 1.35rem; }
.work h3 a { text-decoration: none; }
.work h3 a:hover { text-decoration: underline; }
.work p { color: var(--muted); }
.work-tag {
  display: inline-block; font-size: .78rem; font-weight: 700;
  color: var(--brand); background: var(--bg-alt);
  padding: .15em .8em; border-radius: 999px; margin-bottom: .8em;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.stats div { background: var(--bg-alt); border-radius: 8px; padding: 12px 8px; text-align: center; }
.stats dt { font-size: .8rem; color: var(--muted); }
.stats dd { margin: 0; font-size: clamp(1.05rem, 4.6vw, 1.4rem); font-weight: 800; color: var(--brand); line-height: 1.3; white-space: nowrap; }
.stats small { font-size: .75rem; font-weight: 700; margin-left: 2px; }

/* 料金 */
.plans { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.plan-main { border: 2px solid var(--accent); }
.plan-badge {
  position: absolute; top: -13px; left: 20px; margin: 0;
  font-size: .78rem; font-weight: 700; color: #fff; background: var(--accent);
  padding: .1em .9em; border-radius: 999px;
}
.plan-price { font-size: 2rem; font-weight: 800; color: var(--brand); margin: 0 0 .5em; line-height: 1.2; }
.plan-price span { font-size: .95rem; margin-left: 2px; }
.plan ul { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.plan-note { font-size: .85rem; color: var(--muted); margin: 1em 0 0; }

/* 流れ */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800;
}
.steps strong { display: block; margin-bottom: .3em; }
.steps span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
.faq details p { color: var(--muted); }

/* 問い合わせ */
.contact { text-align: center; background: var(--brand); color: #fff; }
.contact p { opacity: .9; }
.contact-mail { margin-top: 1em; font-size: .9rem; }

/* フッター */
.site-footer { padding: 28px 0; font-size: .85rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }

/* 特定商取引法に基づく表記 */
.site-footer a { color: inherit; }
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: 1.5rem; margin: 0 0 24px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.legal th { width: 32%; font-weight: 700; color: var(--brand); background: var(--bg-alt); }
@media (max-width: 600px) {
  .legal th, .legal td { display: block; width: auto; }
  .legal th { padding-bottom: 6px; }
  .legal td { padding-top: 6px; }
}
.legal .back { display: inline-block; margin-top: 28px; }
