/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  /* Color */
  --c-bg:       #ffffff;
  --c-surface:  #f4f7fb;
  --c-surface2: #eef2f8;
  --c-navy:     #0d2147;
  --c-navy-mid: #1a3a6c;
  --c-teal:     #0faa82;
  --c-teal-lt:  #e6f9f4;
  --c-orange:   #ff5533;
  --c-text:     #1a2438;
  --c-sub:      #4a5570;
  --c-muted:    #8a94a8;
  --c-border:   #dde4ef;
  --c-white:    #ffffff;

  /* Type */
  --f-display: 'Barlow Condensed', sans-serif;
  --f-body:    'Noto Sans JP', sans-serif;

  /* Layout */
  --radius:   14px;
  --max-w:    1080px;
  --sec-pad:  clamp(60px, 8vw, 120px);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ============================================================
   NAV
============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  border-color: var(--c-border);
  box-shadow: 0 2px 16px rgba(13,33,71,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}
.nav-logo {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c-navy);
}
.nav-logo span { color: var(--c-teal); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--c-navy-mid); transform: translateY(-1px); letter-spacing: 0.02em; }
.nav-cta { transition: background 0.2s, transform 0.2s, letter-spacing 0.2s; }

/* ============================================================
   HERO — フル背景ポスター型
============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: var(--c-navy);
}

/* 背景画像レイヤー */
.hero-bg {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% + 40px);
  background: #fff;
  z-index: 0;
}
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* 左側グラデーションオーバーレイ */
/* ============================================================
   ★ オーバーレイ 3案 — コメントアウトで切り替え
   現在: 案A（左半分グラデーション・薄め）
============================================================ */

/* オーバーレイ無効（白背景画像のため） */
.hero-bg::after {
  display: none !important;
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    100deg,
    rgba(13,33,71,0.72) 0%,
    rgba(13,33,71,0.45) 38%,
    rgba(13,33,71,0.08) 60%,
    transparent 75%
  );
}

/* 案B: オーバーレイなし＋テキストエリアにすりガラス ------- */
/*
.hero-bg::after { display: none; }
.hero-content {
  background: rgba(10, 20, 50, 0.38);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-radius: 16px;
  padding-left: 40px !important;
  padding-right: 40px !important;
}
*/

/* 案C: オーバーレイなし＋テキスト影のみ ----------------- */
/*
.hero-bg::after { display: none; }
.hero-title   { text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.5); }
.hero-title-sub,
.hero-desc,
.stat-label   { text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.stat-val     { text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
*/

/* コンテンツ */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 0 clamp(24px, 8vw, 120px);
}

.hero-content {
  width: min(65%, 900px);
  padding: clamp(60px,8vw,100px) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,170,130,0.12);
  color: var(--c-teal);
  border: 1px solid rgba(15,170,130,0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
  position: relative;
}
.hero-badge::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  border: 1px solid rgba(15,170,130,0.3);
  animation: badgePing 2.5s ease-in-out infinite;
}
@keyframes badgePing {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%     { transform: scale(1.08); opacity: 0; }
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--c-teal);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100%{opacity:1} 50%{opacity:0.3}
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-navy);
  margin-bottom: 24px;
  text-shadow: none;
  animation: fadeUp 0.7s 0.1s ease both;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero-line-navy {
  color: var(--c-navy);
  -webkit-text-fill-color: var(--c-navy);
  font-size: 0.64em;
}
.nowrap-pc { white-space: nowrap; }
@media (max-width: 767px) { .nowrap-pc { white-space: normal; } }
.br-sp { display: none; }
@media (max-width: 767px) { .br-sp { display: block; } }
.br-pc-hero { display: block; }
@media (max-width: 767px) { .br-pc-hero { display: none; } }
.br-pc-767 { display: block; }
@media (max-width: 767px) { .br-pc-767 { display: none; } }
.br-sp2 { display: none; }
@media (max-width: 560px) { .br-sp2 { display: block; } }

.hero-title .accent {
  color: var(--c-teal);
  -webkit-text-fill-color: var(--c-teal);
  font-size: 1.4em;
}

.hero-title-sub {
  font-family: var(--f-display);
  font-size: clamp(16px,2.2vw,28px);
  font-weight: 600;
  color: #3a4a5c;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.15s ease both;
}

.hero-desc {
  font-size: clamp(14px,1.5vw,16px);
  color: #4a5568;
  line-height: 1.9;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* アウトラインボタン：ダーク背景用 */
#hero .btn-outline {
  border-color: var(--c-border);
  color: var(--c-navy);
  background: #ffffff;
}
#hero .btn-outline:hover {
  background: var(--c-surface);
  border-color: var(--c-navy);
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-teal);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
  box-shadow: 0 6px 24px rgba(15,170,130,0.3);
}
.btn-main::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  width: 8px; height: 8px;
  top: 50%; left: 50%;
  transform: scale(0);
  pointer-events: none;
}
.btn-main.rippling::after { animation: ripple 0.5s ease-out forwards; }
.btn-main:hover {
  background: #0d9872;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(15,170,130,0.45);
}
.btn-main:active { transform: translateY(-1px) scale(0.99); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--c-navy);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--c-border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--c-navy); background: var(--c-surface); }

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: none;
  animation: fadeUp 0.7s 0.4s ease both;
  /* PC: hero-contentの直後に自然配置 */
  width: min(65%, 900px);
  padding-left: 0;
}
.stat-val {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--c-teal);
  line-height: 1;
}
.stat-label { font-size: 12px; color: #64748b; margin-top: 4px; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:none; }
}
@keyframes fadeDown {
  from { opacity:0; transform:translateY(-24px); }
  to   { opacity:1; transform:none; }
}
@keyframes fadeLeft {
  from { opacity:0; transform:translateX(32px); }
  to   { opacity:1; transform:none; }
}
@keyframes fadeRight {
  from { opacity:0; transform:translateX(-32px); }
  to   { opacity:1; transform:none; }
}
@keyframes scaleUp {
  from { opacity:0; transform:scale(0.92); }
  to   { opacity:1; transform:scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes ripple {
  0%   { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}
@keyframes countUp {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:none; }
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* ============================================================
   SECTION COMMONS
============================================================ */
.section     { padding: var(--sec-pad) 0; }
.section-alt { background: var(--c-surface); }
.section-navy {
  background: var(--c-navy);
  color: #fff;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--c-teal);
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 4px;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--c-teal);
  transition: width 0.5s ease 0.3s;
}
.reveal.visible .section-label::after,
.reveal-left.visible .section-label::after { width: 100%; }
.section-navy .section-label { color: rgba(15,170,130,0.9); }

.section-title {
  font-family: var(--f-display);
  font-size: clamp(28px,4vw,46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-navy);
  margin-bottom: 14px;
}
.section-navy .section-title { color: #fff; }

.section-lead {
  font-size: 15px;
  color: var(--c-sub);
  width: 100%;
  margin-bottom: 48px;
}
.section-navy .section-lead { color: rgba(255,255,255,0.7); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left  { opacity:0; transform:translateX(-36px); transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.reveal-right { opacity:0; transform:translateX(36px);  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.reveal-scale { opacity:0; transform:scale(0.93);       transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity:1; transform:none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ============================================================
   PAIN / PROBLEM
============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 28px 28px 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.pain-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.pain-card:hover {
  border-color: rgba(255,85,51,0.4);
  box-shadow: 0 8px 32px rgba(255,85,51,0.1);
  transform: translateY(-4px);
}
.pain-card:hover::after { left: 140%; }
.pain-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff5533, #ff9966);
  border-radius: 4px 0 0 4px;
}

.pain-num {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 800;
  color: rgba(255,85,51,0.15);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}
.pain-title  { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pain-body   { font-size: 13px; color: var(--c-sub); }

/* ============================================================
   HOW IT WORKS
============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-border));
  z-index: 0;
}

.how-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.how-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 3px solid var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(15,170,130,0.15);
  transition: box-shadow 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.how-step:hover .how-icon {
  animation: floatY 2s ease-in-out infinite;
  box-shadow: 0 8px 28px rgba(15,170,130,0.3);
}

.how-step-num   { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; color: var(--c-teal); margin-bottom: 6px; }
.how-step-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.how-step-body  { font-size: 13px; color: var(--c-sub); }

/* ============================================================
   IMAGE + TEXT SPLIT
============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-img {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-body {
  padding: clamp(40px,6vw,80px) clamp(32px,5vw,64px);
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-body.navy {
  background: var(--c-navy);
}

/* ============================================================
   AD EDUCATION
============================================================ */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.edu-card {
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s;
}
.edu-card.rec {
  border-color: var(--c-teal);
  background: linear-gradient(135deg, var(--c-teal-lt) 0%, #fff 60%);
}
.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.edu-card:hover {
  box-shadow: 0 8px 32px rgba(13,33,71,0.12);
  transform: translateY(-4px);
}
.edu-card:hover::before { left: 160%; }

.edu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.edu-type {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-navy);
}
.tag-rec { background: var(--c-teal); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.tag-no  { background: var(--c-surface2); color: var(--c-muted); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }

.edu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  gap: 12px;
}
.edu-row:last-child { border: none; }
.edu-row-label {
  color: var(--c-sub);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
}
.edu-row-val   { font-weight: 600; }
.good { color: var(--c-teal); }
.bad  { color: #e53935; }

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.edu-tag {
  background: #e8edf8;
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ============================================================
   PRICING
============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.price-card {
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s;
}
.price-card.main {
  border-color: var(--c-teal);
  background: linear-gradient(145deg, var(--c-teal-lt), var(--c-bg));
}
.price-card:hover {
  box-shadow: 0 10px 40px rgba(13,33,71,0.11);
  transform: translateY(-4px);
}

.price-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-muted); margin-bottom: 8px; }
.price-val   { font-family: var(--f-display); font-size: 52px; font-weight: 800; color: var(--c-teal); line-height: 1; }
.price-unit  { font-size: 13px; color: var(--c-sub); margin-bottom: 20px; }
.price-range-wrap { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.price-range-track { flex: 1; height: 5px; background: var(--c-surface2); border-radius: 3px; }
.price-dl-item--divided {
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.price-range-fill  { height: 100%; background: linear-gradient(90deg, var(--c-teal), #4fb8ff); border-radius: 3px; width: 60%; }
.price-range-lbl   { font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.price-note        { font-size: 11px; color: var(--c-sub); line-height: 1.9; border-top: 1px solid var(--c-border); padding-top: 14px; margin-top: 14px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
}
.price-table td { padding: 11px 0; border-bottom: 1px solid var(--c-border); }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--c-teal); }

/* ============================================================
   OFFER GUIDE
============================================================ */
.offer-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.offer-tab {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-sub);
  transition: all 0.2s;
}
.offer-tab.active {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}

.offer-panel { display: none; }
.offer-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 12px; }

.offer-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.offer-item:hover {
  border-color: var(--c-teal);
  box-shadow: 0 6px 24px rgba(15,170,130,0.12);
  transform: translateY(-3px);
}
.offer-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--c-teal-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}
.offer-item strong { display: block; margin-bottom: 2px; color: var(--c-navy); }
.offer-item span   { font-size: 12px; color: var(--c-muted); }

/* ============================================================
   RESEARCH TOOL
============================================================ */
.research-box {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
  box-shadow: 0 4px 32px rgba(13,33,71,0.06);
}
.research-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-sub);
  margin-bottom: 7px;
}
.form-select {
  width: 100%;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 14px;
  padding: 10px 36px 10px 14px;
  border-radius: 9px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a94a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.2s;
  outline: none;
}
.form-select:focus { border-color: var(--c-teal); }

.research-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.filter-toggle.filter-sub {
  opacity: 0.8;
  padding-left: 12px;
  border-left: 2px solid var(--c-border);
}
.filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  color: var(--c-text);
}
.filter-toggle input { display: none; }
.toggle-ui {
  width: 38px; height: 22px;
  background: var(--c-border);
  border-radius: 100px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.filter-toggle input:checked ~ .toggle-ui { background: var(--c-teal); }
.toggle-ui::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.filter-toggle input:checked ~ .toggle-ui::after { transform: translateX(16px); }

.btn-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-search:hover { background: var(--c-navy-mid); transform: translateY(-1px); }

.research-results { display: none; margin-top: 24px; }
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--c-sub);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 16px;
}
.result-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s;
}
.result-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(13,33,71,0.12);
  border-color: rgba(15,170,130,0.3);
}
.result-thumb img {
  transition: transform 0.5s ease;
}
.result-card:hover .result-thumb img {
  transform: scale(1.06);
}
.result-thumb {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: var(--c-surface);
}
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.result-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.result-badge.lp        { background: var(--c-navy);            color: #fff; }
.result-badge.jobs      { background: var(--c-orange);          color: #fff; }
.result-badge.official  { background: var(--c-navy);            color: #fff; }
.result-badge.promotion { background: #e05c00;                  color: #fff; }
.result-badge.img-badge { background: #7c3aed;                  color: #fff; }
.result-badge.portal    { background: #0891b2;                  color: #fff; }
.result-badge.sns       { background: #16a34a;                  color: #fff; }
.result-badge.hp-yes    { background: var(--c-teal);            color: #fff; }
.result-badge.none      { background: rgba(0,0,0,0.25);        color: #666; }
.result-body    { padding: 14px; }
.result-name    { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--c-navy); }
.result-address { font-size: 12px; color: var(--c-muted); }
.result-url     { font-size: 12px; margin-top: 6px; }
.result-url a   { color: var(--c-teal); text-decoration: none; }
.result-url a:hover { text-decoration: underline; }

/* ============================================================
   FLOW
============================================================ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  margin-top: 48px;
  counter-reset: step;
}
.flow-step {
  padding: 32px 24px;
  border: 1px solid var(--c-border);
  margin-left: -1px;
  position: relative;
  counter-increment: step;
  background: var(--c-bg);
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}
.flow-step:hover {
  transform: translateY(-4px);
  z-index: 1;
  border-color: var(--c-teal);
  box-shadow: 0 8px 32px rgba(15,170,130,0.12);
}
.flow-icon {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.flow-step:hover .flow-icon { transform: none; }
.flow-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display);
  font-size: 52px;
  font-weight: 800;
  color: rgba(15,170,130,0.08);
  position: absolute;
  top: 12px; right: 16px;
  line-height: 1;
}
.flow-icon  { font-size: 28px; margin-bottom: 14px; }
.flow-title { font-size: 15px; font-weight: 700; color: var(--c-navy); margin-bottom: 8px; }
.flow-body  { font-size: 13px; color: var(--c-sub); }

/* ============================================================
   FORM
============================================================ */
#apply { background: var(--c-surface); }

.form-wrap {
  max-width: 100%;
  margin: 0;
}
.form-card {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 4px 40px rgba(13,33,71,0.08);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-full { grid-column: 1 / -1; }

.form-section-title {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--c-teal);
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--c-teal-lt);
  margin-top: 4px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-sub);
  margin-bottom: 7px;
}
.field-label .req { color: #e53935; margin-left: 3px; }

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 9px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field-input::placeholder { color: #bbc1ce; }
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(15,170,130,0.12);
  background: #fff;
}
.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a94a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.field-textarea { resize: vertical; min-height: 76px; }

.price-hint {
  background: var(--c-teal-lt);
  border: 1px solid rgba(15,170,130,0.2);
  border-radius: 9px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--c-sub);
  line-height: 1.8;
  grid-column: 1 / -1;
}

.form-submit-wrap { text-align: center; margin-top: 32px; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-teal);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 52px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 28px rgba(15,170,130,0.3);
}
.btn-submit:hover { background: #0d9872; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(15,170,130,0.4); }

.form-disclaimer {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 14px;
  line-height: 1.8;
}

/* Success */
#form-success { display: none; text-align: center; padding: 48px 0; }
.success-icon  { font-size: 56px; margin-bottom: 16px; }
.success-title { font-size: 24px; font-weight: 700; color: var(--c-teal); margin-bottom: 8px; }
.success-body  { font-size: 15px; color: var(--c-sub); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.5);
  padding: 36px 0;
  font-size: 13px;
  text-align: center;
}
.footer-logo {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--c-teal); }

/* ============================================================
   RESPONSIVE
============================================================ */
.price-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
}
.price-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.price-tag-row:hover {
  border-color: var(--c-teal);
  background: var(--c-teal-lt);
}
.price-tag-label {
  font-size: 13px;
  color: var(--c-text);
  font-weight: 500;
}
.price-tag-range {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-teal);
  font-family: var(--f-display);
  white-space: nowrap;
}


/* ============================================================
   PRICE CPA HINT
============================================================ */
.price-cpa-hint {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
}
.price-cpa-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
}
.price-cpa-item.low  { background: #eff6ff; border-color: rgba(59,130,246,0.25); }
.price-cpa-item.high { background: #fff3f0; border-color: rgba(255,85,51,0.25); }
.price-cpa-icon {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  min-width: 20px;
  text-align: center;
}
.price-cpa-item.low  .price-cpa-icon { color: #3b82f6; }
.price-cpa-item.high .price-cpa-icon { color: var(--c-orange); }
.price-cpa-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 2px;
}
.price-cpa-desc {
  font-size: 12px;
  color: var(--c-sub);
  line-height: 1.6;
}
@media (max-width: 900px) {
  /* ── Hero SP: 画面いっぱいのMV、flex縦方向でstatsを自然に下へ ── */
  #hero {
    min-height: 100svh;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
    background: #f7f8fb;
  }
  .hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
  }
  .hero-bg img {
    object-fit: cover;
    object-position: 90% top;
    transform: none;
  }
  /* グラデオーバーレイ無効 */
  .hero-bg::after { display: none !important; }
  /* hero-inner を縦flex全高に */
  #hero .hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-height: 100svh;
    padding: clamp(80px, 14vw, 104px) clamp(20px, 5vw, 40px) clamp(28px, 5vw, 40px);
    box-sizing: border-box;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-badge { position: static; margin-bottom: 16px; }
  /* stats はflex末尾（下部）に固定 */
  .hero-stats {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(13,33,71,0.15);
    margin-top: 0;         /* space-between が間隔を自動調整 */
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    border-left: none; border-right: none; border-bottom: none;
    padding-left: 0;
  }
  .hero-stats .stat-val   {
    font-size: 22px;
    -webkit-text-stroke: 3px #ffffff;
    paint-order: stroke fill;
  }
  .hero-stats .stat-label {
    font-size: 11px;
    text-shadow:
      1px  1px 0 #fff,
     -1px  1px 0 #fff,
      1px -1px 0 #fff,
     -1px -1px 0 #fff,
      2px  0   0 #fff,
     -2px  0   0 #fff;
  }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-grid::before { display: none; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-step { margin-left: 0; margin-top: -1px; }
  .edu-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}


/* edu-row タグ型ターゲット */
.edu-row-tags { align-items: flex-start; }
.edu-row-tags .edu-row-label { padding-top: 6px; }
.edu-tag-inline { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; flex: 1; justify-content: flex-end; }

/* edu-row 縦並び（成果報酬型） */
.edu-row-col { align-items: flex-start; }
.edu-row-col-right { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.edu-row-note { font-size: 12px; color: var(--c-sub); font-weight: 400; line-height: 1.6; margin: 0; }
.edu-tag-inline .edu-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  background: #f0f3f8; color: #4a5568;
  display: inline-flex; align-items: center; gap: 4px;
}
.edu-tag-inline .edu-tag.good-tag {
  background: rgba(15,170,130,0.1); color: var(--c-teal);
}


/* ============================================================
   PRICE INDUSTRY TABLE
============================================================ */
.price-industry-table { width: 100%; margin-top: 4px; font-size: 12px; }
.pit-head, .pit-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}
.pit-head {
  font-weight: 700;
  font-size: 11px;
  color: var(--c-sub);
  background: var(--c-surface);
  border-radius: 6px 6px 0 0;
}
.pit-row:last-child { border-bottom: none; }
.pit-row span:first-child { font-weight: 600; color: var(--c-navy); }
.pit-row span:not(:first-child) { color: var(--c-teal); font-weight: 600; font-size: 11px; }

/* footer nav */
.footer-nav { margin-bottom: 8px; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
/* ============================================================
   SERVICE OVERVIEW
============================================================ */
.overview-section {
  padding: 80px 0 72px;
  background: var(--c-navy);
}

/* メインステートメント */
.overview-statement {
  width: 100%;
  margin-bottom: 56px;
}
.ovr-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-teal);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.br-pc { display: inline; }
@media (max-width: 560px) { .br-pc { display: none; } }
.ovr-heading {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.ovr-sub {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.ovr-authority {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 32px;
  border-left: 4px solid var(--c-teal);
  background: rgba(255,255,255,0.08);
  border-radius: 0 12px 12px 0;
}
.ovr-authority-main {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}
.ovr-authority-note {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 0;
}

/* 補足タイル */
.overview-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}
.ovr-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.ovr-tile-icon { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.ovr-tile-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 900px) {
  .overview-tiles { grid-template-columns: repeat(2, 1fr); }
  /* ターゲットタグ SP縦並び */
  .edu-tag-inline { flex-direction: column; align-items: flex-end; gap: 5px; }
  .edu-tag { align-self: flex-end; }
}
@media (max-width: 560px) {
  .overview-tiles { grid-template-columns: 1fr; }
  
.br-pc { display: inline; }
@media (max-width: 560px) { .br-pc { display: none; } }
.ovr-heading { font-size: clamp(24px, 6vw, 36px); }
}
/* ============================================================
   INDUSTRY ACCORDION
============================================================ */
.industry-accordion { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.ind-item { border-bottom: 1px solid var(--c-border); }
.ind-item:last-child { border-bottom: none; }
.ind-trigger {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: none; border: none; cursor: pointer;
  text-align: left; transition: background 0.2s;
}
.ind-trigger:hover { background: var(--c-surface); }
.ind-item.open .ind-trigger { background: var(--c-surface); }
.ind-name { font-size: 15px; font-weight: 700; color: var(--c-navy); flex: 1; }
.ind-tags { display: flex; gap: 6px; flex-shrink: 0; }
.ind-tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; background: rgba(15,170,130,0.1); color: var(--c-teal); }
.ind-arrow { font-size: 11px; color: var(--c-muted); transition: transform 0.25s; flex-shrink: 0; }
.ind-item.open .ind-arrow { transform: rotate(180deg); }
.ind-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  padding: 0 20px; font-size: 14px; color: var(--c-sub); line-height: 1.8;
}
.ind-body p { margin: 0 0 10px; }
.ind-body p:last-child { margin-bottom: 0; }
.ind-item.open .ind-body { max-height: 400px; padding: 16px 20px; }

@media (max-width: 560px) {
  .ind-tags { display: none; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(22px, 6.5vw, 28px); line-height: 1.35; margin-bottom: 14px; }
  .hero-title .accent { font-size: 1.3em; }
  .hero-line-navy { font-size: 0.95em; }
  .hero-title-sub { font-size: 13px !important; }
  .hero-title, .hero-title-sub, .hero-line-navy, .hero-title .accent {
    -webkit-text-stroke: 4px #fefff9;
    paint-order: stroke fill;
  }
  .hero-actions { gap: 10px; margin-bottom: 0; }
  .btn-main { font-size: 14px; padding: 13px 20px; }
  .btn-outline { font-size: 13px; padding: 12px 16px; }
  .hero-stats { gap: 10px 14px; margin-top: 16px; padding-top: 14px; }
  .hero-stats .stat-val { font-size: 18px; }
  .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-step { padding: 20px 16px; }
  .flow-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }
  .form-section-title { grid-column: 1; }
  .price-hint { grid-column: 1; }
}
/* ============================================================
   追加修正スタイル
============================================================ */


/* ⑭ edu-card タイトル 1行に収める */
.edu-type { font-size: 18px; }
.edu-head { flex-wrap: nowrap; gap: 8px; align-items: flex-start; }

/* ⑯ edu-subtitle（タイトル下の補足文言） */
.edu-subtitle {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin: -12px 0 12px;
  display: inline-block;
}
.edu-subtitle.bad-note  { background: #fff0f0; color: #c0392b; }
.edu-subtitle.good-note { background: var(--c-teal-lt); color: var(--c-teal); }

/* ⑰ 業種別目安単価テーブル：業種列を広く、集客・採用を右寄せ */
.pit-head, .pit-row {
  grid-template-columns: 2.2fr 0.9fr 0.9fr;
}
.pit-head span:not(:first-child),
.pit-row span:not(:first-child) {
  text-align: right;
}

/* ㉑ price-dl（費用内訳の縦組み） */
.price-dl { list-style: none; margin: 0; padding: 0; }
.price-dl-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 2px 0 16px;
  border-bottom: 1px solid var(--c-border);
}
.price-dl-item:last-child { border-bottom: none; }
.price-dl-item dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-sub);
  letter-spacing: 0.05em;
}
.price-dl-item dd {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-teal);
  line-height: 1.7;
  margin: 0;
}
.price-dl-item dd small {
  font-size: 11px;
  font-weight: 400;
  color: var(--c-sub);
}

/* ㉖ 検索ボタン独立行 */
.research-search-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* 確認画面 戻るボタン */
.btn-back {
  background: var(--c-surface);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--f-body);
}
.btn-back:hover { background: var(--c-surface2); }

/* ② iPhone SE等 極小SP — ベーススタイルより後に配置して確実に上書き */
@media (max-width: 375px) {
  .hero-title { font-size: clamp(22px, 6.5vw, 28px); line-height: 1.35; margin-bottom: 14px; }
  .hero-line-navy { font-size: 0.95em; }
  .hero-title .accent { font-size: 1.3em; }
  .hero-stats .stat-val { font-size: 17px; }

  /* ヒーロー余白を気持ち広く */
  #hero .hero-inner {
    padding-top: clamp(88px, 16vw, 112px);
    padding-bottom: clamp(32px, 6vw, 48px);
  }
  .hero-actions { gap: 12px; margin-top: 20px; }

  /* 費用内訳カード */
  .price-card { padding: 20px 16px; }
  .price-dl-item dd { font-size: 13px; }
  .price-dl-item dd small { font-size: 11px; letter-spacing: -0.01em; }
  .price-note { font-size: 10px; line-height: 1.8; }

  /* 比較表（edu-card）行ラベル・値 */
  .edu-row { font-size: 12.5px; gap: 8px; }
  .edu-row-label { min-width: 64px; font-size: 12px; }
  .edu-tag { font-size: 11px; padding: 3px 8px; }

  /* 業種別目安単価テーブル */
  .pit-head, .pit-row { font-size: 11.5px; }
  .pit-head { font-size: 11px; }

  /* ターゲットタグ 縦並び */
  .edu-tag-inline { flex-direction: column; align-items: flex-end; gap: 5px; }
  .edu-tag { align-self: flex-end; }

  /* オファー施策セクション */
  .offer-title { font-size: clamp(16px, 4.5vw, 20px); }
}

/* フォームバリデーションエラー */
.field-error {
  display: block;
  font-size: 12px;
  color: #e03535;
  margin-top: 5px;
  min-height: 1em;
}
.field-error-input {
  border-color: #e03535 !important;
  background: #fff8f8 !important;
}