/* =============================================
   SHD LP: やってよかったストレスチェック
   stress-check.css
   ============================================= */

:root {
  --primary:       #0F6E56;
  --primary-dark:  #0a5040;
  --primary-light: #E1F5EE;
  --primary-mid:   #1D9E75;
  --accent:        #BA7517;
  --accent-light:  #FAEEDA;
  --text:          #1a1a1a;
  --text-sub:      #555;
  --border:        #e0e0da;
  --bg:            #FAFAF8;
  --white:         #fff;
  --radius:        14px;
  --shadow:        0 2px 16px rgba(15, 110, 86, 0.08);
  --shadow-lg:     0 8px 40px rgba(15, 110, 86, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* =============================================
   UTILITIES
   ============================================= */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 14px 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,110,86,0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 12px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-full { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* =============================================
   HEADER NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img { height: 28px; display: block; }
.header-logo-fallback { font-size: 16px; font-weight: 700; color: var(--primary); }

.header-nav {
  display: flex;
  gap: 24px;
  flex: 1;
}
.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--primary); }

.btn-nav-cta {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-nav-cta:hover { background: var(--primary-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.mobile-nav-link {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  margin: 12px 16px;
  border-radius: 8px;
  text-align: center;
  border-bottom: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--white);
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 32px 100px;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-orb--1 {
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.04);
  top: -200px; right: -150px;
}
.hero-bg-orb--2 {
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.04);
  bottom: -80px; left: 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

/* テキストスイッチアニメーション */
.hero-before {
  display: inline-block;
  position: relative;
}
.hero-before::after {
  content: attr(data-after);
  position: absolute;
  left: 0;
  top: 0;
  color: #7EEAC2;
  opacity: 0;
  white-space: nowrap;
}
.hero-before.switched {
  color: transparent;
}
.hero-before.switched::after {
  opacity: 1;
  animation: fadeInAfter 0.6s ease forwards;
}
@keyframes fadeInAfter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-noun {
  font-size: 0.92em;
  opacity: 0.9;
}

.hero-transform {
  display: block;
  font-size: 0.75em;
  opacity: 0.75;
  margin-top: 6px;
}

.hero-sub {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.9;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-actions .btn-ghost {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 28px;
}

.stat-num {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num small {
  font-size: 16px;
  font-weight: 400;
}

.stat-label {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  opacity: 0.55;
  letter-spacing: 0.12em;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.5);
  position: relative;
  animation: scrollPulse 1.6s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 24px; }
  50% { opacity: 0.9; height: 40px; }
}

/* =============================================
   REASONS
   ============================================= */
.reasons { background: var(--white); }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.reason-card--featured {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.reason-card--featured .reason-title,
.reason-card--featured .reason-body { color: var(--white); }
.reason-card--featured .reason-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.2);
}

.reason-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 20px;
}
.reason-card--featured .reason-num { color: rgba(255,255,255,0.65); }

.reason-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.reason-icon svg { width: 100%; height: 100%; }

.reason-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
}

.reason-body {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 20px;
}

.reason-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid var(--primary-light);
  background: var(--primary-light);
  color: var(--primary);
}

/* =============================================
   PLANS
   ============================================= */
.plans { background: var(--bg); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.plan-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(15,110,86,0.12);
}

.plan-card--custom {
  border-color: var(--accent);
  background: var(--accent-light);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-header {}

.plan-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.plan-catch {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-sub);
}

.plan-feature--on { color: var(--text); }
.plan-feature--off { opacity: 0.5; }

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.feat-icon--off {
  background: #f0f0ea;
  color: #aaa;
}

.plan-price-note {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.7;
}

.btn-plan-estimate {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.btn-plan-estimate:hover {
  background: var(--primary);
  color: var(--white);
}

.plan-card--custom .btn-plan-estimate {
  border-color: var(--accent);
  color: var(--accent);
}
.plan-card--custom .btn-plan-estimate:hover {
  background: var(--accent);
  color: var(--white);
}

/* =============================================
   FLOW
   ============================================= */
.flow { background: var(--white); }

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.flow-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-step-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.flow-step-body p {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.8;
}

.flow-connector {
  flex-shrink: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-light);
  margin-top: 24px;
}

/* =============================================
   ESTIMATE SECTION
   ============================================= */
.estimate-section { background: var(--bg); }

.estimate-step { max-width: 640px; margin: 0 auto 24px; }

.estimate-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.estimate-card--done {
  text-align: center;
  padding: 48px 36px;
}

.estimate-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.est-step-num {
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

/* フォーム部品 */
.field-group { margin-bottom: 20px; }

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.req {
  font-size: 10px;
  background: #e8303a;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.field-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.field-input:focus {
  outline: none;
  border-color: var(--primary);
}
.field-textarea { resize: vertical; min-height: 96px; }

.field-note {
  font-size: 11.5px;
  color: var(--text-sub);
  margin-top: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.input-with-unit {
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-with-unit .field-input { flex: 1; }
.input-unit { font-size: 13px; color: var(--text-sub); white-space: nowrap; }

/* トグル */
.toggle-row { display: flex; align-items: center; gap: 12px; }

.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; cursor: pointer; inset: 0;
  background: #ccc; border-radius: 24px; transition: background 0.2s;
}
.toggle input:checked + .toggle-track { background: var(--primary); }
.toggle-thumb {
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: white; border-radius: 50%;
  transition: transform 0.2s;
}
.toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(20px); }
.toggle-label { font-size: 13px; color: var(--text-sub); }

/* プランラジオ */
.plan-radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }

.plan-radio { cursor: pointer; }
.plan-radio input { display: none; }

.plan-radio-inner {
  display: block;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s, background 0.15s;
}
.plan-radio input:checked + .plan-radio-inner {
  border-color: var(--primary);
  background: var(--primary-light);
}

.plan-radio-name { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.plan-radio-desc { display: block; font-size: 11px; color: var(--text-sub); margin-top: 2px; }

/* プラン内容表示 */
.plan-detail-display {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.plan-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 4px 0;
}
.plan-detail-label { color: var(--text-sub); }
.plan-detail-value { font-weight: 700; }
.plan-detail-value.yes { color: var(--primary); }
.plan-detail-value.no  { color: #999; }

/* 見積もり結果 */
.estimate-result { margin-bottom: 28px; }

.result-plan-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.result-table { width: 100%; border-collapse: collapse; }
.result-table td {
  padding: 10px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
}
.result-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.result-table .subtotal-row td {
  border-top: 2.5px solid var(--text);
  background: var(--bg);
  font-weight: 500;
  color: var(--text-sub);
  font-size: 13px;
  padding-top: 12px;
}

.result-table .tax-row td {
  background: var(--bg);
  color: var(--text-sub);
  font-size: 12.5px;
  border-bottom: none;
}

.result-table .total-row td {
  border-bottom: none;
  border-top: 2px solid var(--primary);
  padding-top: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
}

.result-note-inline {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 400;
  margin-top: 2px;
}

.result-note-row td {
  font-size: 11.5px;
  color: #c0392b;
  background: #fff5f5;
  border-radius: 4px;
  padding: 8px 10px !important;
}

.result-custom-notice {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.result-custom-req {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.result-custom-req-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.result-note {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 8px;
}

.estimate-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* 完了画面 */
.done-icon { width: 72px; height: 72px; margin: 0 auto 24px; }
.done-icon svg { width: 100%; height: 100%; }

.done-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.done-body {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 32px;
}

.done-resend-area {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.done-resend-lead {
  font-size: 12.5px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.resend-form {
  display: flex;
  gap: 10px;
}
.resend-form .field-input { flex: 1; padding: 10px 12px; }

.resend-done {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.btn-contact {
  display: inline-flex;
  font-size: 13px;
}

/* プログレス */
.estimate-progress {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 0;
}

.progress-step {
  font-size: 11px;
  color: #bbb;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.progress-step.active { color: var(--primary); font-weight: 700; }

.progress-connector {
  flex: 1;
  height: 1.5px;
  background: var(--border);
  margin: 0 8px;
  max-width: 48px;
}

/* プライバシー */
.privacy-note {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 20px;
}
.privacy-note a { color: var(--primary); }

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--white); }

.faq-list {
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 4px 20px;
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.9;
}

.faq-more {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-sub);
}
.faq-more a { color: var(--primary); font-weight: 500; }

/* =============================================
   CTA FOOTER
   ============================================= */
.cta-footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 80px 32px;
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 36px;
}

.cta-footer .btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.cta-footer .btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--primary);
}

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.6);
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo img { height: 22px; filter: brightness(0) invert(1); opacity: 0.75; }
.footer-logo-fallback { color: rgba(255,255,255,0.75); font-size: 14px; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
  font-size: 12px;
  line-height: 1.8;
}
.footer-contact a { color: rgba(255,255,255,0.65); }

.footer-copy { font-size: 11px; opacity: 0.4; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { flex-direction: column; align-items: flex-start; gap: 24px; }
  .flow-connector { width: 2px; height: 24px; margin: 0 0 0 23px; }
  .flow-step { flex-direction: row; text-align: left; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 24px; }
  .header-inner { padding: 0 18px; }
  .header-nav { display: none; }
  .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
  .hero { padding: 64px 18px 80px; min-height: 80vh; }
  .hero-stats { flex-direction: column; padding: 20px; gap: 16px; }
  .stat-divider { width: 48px; height: 1px; }
  .plans-grid { grid-template-columns: 1fr; }
  .estimate-card { padding: 28px 20px; }
  .plan-radio-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .estimate-actions { flex-direction: column-reverse; }
  .resend-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =============================================
   カスタムダイアログ
   ============================================= */
.dlg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: dlgFadeIn 0.18s ease;
}
@keyframes dlgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.dlg-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  animation: dlgSlideUp 0.2s ease;
}
@keyframes dlgSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.dlg-icon {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}

.dlg-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.dlg-body {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 24px;
  white-space: pre-wrap;
}

.dlg-ok {
  min-width: 120px;
  padding: 11px 28px;
}

/* =============================================
   プライバシー同意チェックボックス
   ============================================= */
.privacy-consent {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.privacy-consent-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.privacy-consent-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 12px;
}
.privacy-consent-desc a { color: var(--primary); }

.privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-checkbox-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
