/* ═══════════════════════════════════════════════════════════════
   ユダヤ思考ラボ 公式サイト（決済審査用）
   配色：オフホワイト #FAF8F3 / 濃紺 #1B2A4A / ブラス金 #C9A227
   フォント：見出し Shippori Mincho B1 / 本文 Zen Kaku Gothic New
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:        #FAF8F3;
  --ink:       #1B2A4A;
  --ink-soft:  #44506b;
  --gold:      #C9A227;
  --line:      #e3ddd0;
  --card:      #ffffff;
  --max:       960px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .mincho {
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  line-height: 1.5;
}

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── ヘッダー ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,243,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--ink); color: var(--gold);
  display: grid; place-items: center;
  font-family: "Shippori Mincho B1", serif; font-weight: 700; font-size: 17px;
}
.brand b { font-family: "Shippori Mincho B1", serif; font-size: 17px; letter-spacing: .04em; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 14px; }
.nav a:hover { color: var(--gold); }
.nav-toggle { display: none; }

/* ── ボタン ───────────────────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--gold); color: #1a1408;
  font-weight: 700; letter-spacing: .03em;
  padding: 14px 30px; border-radius: 999px;
  border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(201,162,39,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,39,.36); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); box-shadow: none;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ── ヒーロー ─────────────────────────────────────────────── */
.hero {
  background: var(--ink); color: var(--bg);
  padding: 84px 0 76px;
  text-align: center;
}
.hero .eyebrow {
  color: var(--gold); letter-spacing: .22em; font-size: 13px;
  font-weight: 700; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(28px, 5vw, 46px); margin-bottom: 22px; color: #fff; }
.hero p { color: #cdd3e0; max-width: 640px; margin: 0 auto 32px; font-size: 17px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── セクション ───────────────────────────────────────────── */
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .kicker { color: var(--gold); font-weight: 700; letter-spacing: .18em; font-size: 12px; }
.section-head h2 { font-size: clamp(24px, 3.5vw, 34px); margin-top: 10px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; }
.alt { background: #f3efe5; }

/* ── カードグリッド ───────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px;
}
.card .no { color: var(--gold); font-family: "Shippori Mincho B1", serif; font-size: 22px; }
.card h3 { font-size: 19px; margin: 8px 0 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ── 料金 ─────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 32px 26px; text-align: center; position: relative;
}
.plan.feature { border: 2px solid var(--gold); box-shadow: 0 12px 30px rgba(27,42,74,.10); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1408; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
}
.plan .name { font-family: "Shippori Mincho B1", serif; font-size: 18px; }
.plan .price { font-size: 34px; font-weight: 700; margin: 14px 0 4px; }
.plan .price small { font-size: 15px; color: var(--ink-soft); font-weight: 400; }
.plan .note { color: var(--ink-soft); font-size: 13px; }

/* ── 法務ページ（特商法・規約・プライバシー）───────────────── */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(24px,4vw,32px); margin-bottom: 8px; }
.legal .lead { color: var(--ink-soft); margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: #2b3550; font-size: 15px; }
.legal ul, .legal ol { margin: 10px 0 10px 22px; }
.legal li { margin-bottom: 6px; }

/* 定義テーブル（特商法表記） */
.deftable { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.deftable th, .deftable td {
  text-align: left; vertical-align: top; padding: 14px 16px;
  border: 1px solid var(--line); font-size: 15px;
}
.deftable th {
  width: 34%; background: #f3efe5; font-family: "Shippori Mincho B1", serif;
  font-weight: 700; color: var(--ink);
}
.todo { color: #b4451f; font-weight: 700; }

/* ── フッター ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: #aeb6c7;
  padding: 48px 0 36px; margin-top: 40px; font-size: 14px;
}
.site-footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer a { color: #cdd3e0; text-decoration: none; display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand b { color: #fff; }
.site-footer .copy { border-top: 1px solid #2c3654; margin-top: 30px; padding-top: 20px; color: #7e879b; font-size: 13px; }

/* ── 汎用 ─────────────────────────────────────────────────── */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.muted { color: var(--ink-soft); }

/* ── フォーム ─────────────────────────────────────────────── */
.form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field .req { color: #b4451f; font-size: 12px; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.planpick { display: grid; gap: 12px; }
.planpick label {
  display: flex; align-items: center; gap: 12px; font-weight: 500;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer;
}
.planpick label:hover { border-color: var(--gold); }
.planpick input { width: auto; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.check input { width: auto; margin-top: 4px; }
.form-note { color: var(--ink-soft); font-size: 13px; margin-top: 10px; }
.thanks { display: none; text-align: center; padding: 40px 20px; }
.thanks.show { display: block; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; position: absolute; right: 22px; color: var(--gold); font-weight: 700; }
.faq-item[open] summary::after { content: "－"; }
.faq-item .body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; }

/* ── プロフィール（運営者）────────────────────────────────── */
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.profile .photo { width: 200px; height: 200px; border-radius: 12px; background: #ece6d8;
  display: grid; place-items: center; color: var(--ink-soft); font-size: 13px; text-align: center; }
.profile h3 { font-size: 20px; margin-bottom: 6px; }
.profile .role { color: var(--gold); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.profile p { color: var(--ink-soft); font-size: 15px; }

/* ── 統計バッジ ───────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.fact { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.fact .num { font-family: "Shippori Mincho B1", serif; font-size: 30px; color: var(--ink); font-weight: 700; }
.fact .lbl { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }

/* ── レスポンシブ ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .nav { display: none; }
  .grid-3, .grid-2, .plans, .facts { grid-template-columns: 1fr; }
  .deftable th { width: 40%; }
  .site-footer .cols { flex-direction: column; }
  .profile { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
