/* 丸投げCSV — 共通スタイル (V2 / Chrome拡張版) */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #FF0211;
  --red-dark: #CC000F;
  --pink: #FFD0D5;
  --pink-light: #FFEEEF;
  --bg: #FFFFFF;
  --text: #222222;
  --text-light: #666666;
  --border: #FFD0D5;
  --gray-bg: #FAFAFA;
  --green: #14B96E;
  --green-bg: #F0FFF4;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN',
    'ヒラギノ角ゴ ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

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

/* 本文中に差し込むアイコン（Chromeの拡張機能・ピン留めなど） */
.ico { display: inline-block; vertical-align: -0.16em; margin: 0 3px; }

/* ── ナビ ───────────────────────────── */
.site-nav {
  background: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--pink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav .logo {
  font-size: 19px;
  font-weight: 900;
  color: var(--red);
  text-decoration: none;
  line-height: 1.25;
}
.site-nav .logo span {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a:hover { color: var(--red); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ── レイアウト ──────────────────────── */
section { padding: 72px 20px; }
/* 追従ナビの下に見出しが潜らないようにする */
section[id], .doc h2[id] { scroll-margin-top: 76px; }
.container { max-width: 820px; margin: 0 auto; }
.container-narrow { max-width: 700px; margin: 0 auto; }

.section-title {
  font-size: clamp(21px, 4vw, 31px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 14px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 44px;
  font-size: 15px;
}

/* ── ボタン ─────────────────────────── */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn:disabled { background: #ccc; cursor: default; transform: none; }
.btn-ghost {
  display: inline-block;
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 900;
  text-decoration: none;
}
.btn-block { display: block; width: 100%; text-align: center; }

/* ── カード ─────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.callout {
  background: var(--pink-light);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  font-size: 15px;
}
.callout.neutral { background: var(--gray-bg); border-left-color: #bbb; }
.callout.good { background: var(--green-bg); border-left-color: var(--green); }

/* ── 法務・記事ページ ─────────────────── */
.doc { max-width: 820px; margin: 40px auto 72px; padding: 0 20px; }
.doc h1 { font-size: 25px; font-weight: 900; margin-bottom: 6px; }
.doc .subtitle { color: var(--text-light); font-size: 13px; margin-bottom: 36px; }
.doc h2 {
  font-size: 17px;
  font-weight: 900;
  margin: 34px 0 10px;
  border-left: 4px solid var(--red);
  padding-left: 12px;
}
.doc h3 { font-size: 15px; font-weight: 900; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 14.5px; margin-bottom: 8px; }
.doc ul, .doc ol { padding-left: 24px; margin-bottom: 14px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-size: 14px;
}
.doc th, .doc td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: var(--pink-light); width: 30%; font-weight: 700; }
@media (max-width: 560px) {
  .doc th, .doc td { display: block; width: 100%; border-bottom: none; }
  .doc tr { display: block; border-bottom: 1px solid var(--border); }
}
.doc .note {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--pink-light);
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--text-light);
}

/* ── FAQ ────────────────────────────── */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '＋'; float: right; color: var(--red); font-weight: 900; }
.faq-item details[open] summary::after { content: '−'; }
.faq-a {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
}

/* ── フッター ───────────────────────── */
.site-footer {
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 34px 20px;
  font-size: 13px;
  color: var(--text-light);
}
.site-footer a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
}
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.site-footer p + p { margin-top: 10px; }
