/* =========================================
   Boost Dev — Complete Redesign v5.0
   Design: "Confident Clarity" + Contrast & UX improvements
   Fonts: Outfit (headings/labels), Noto Sans JP (body)
   ========================================= */

/* --- Tokens --- */
:root {
  --c-navy: #0F172A;
  --c-navy-soft: #1E293B;
  --c-gold: #B8976A;
  --c-gold-pale: #D4C4A8;
  --c-gold-deep: #96794E;
  --c-bg: #FAFAF8;
  --c-bg-warm: #F3F0EB;
  --c-text: #1F2937;
  --c-text-sub: #374151;
  --c-text-light: #6B7280;
  --c-border: #E5E1DB;
  --c-white: #FFFFFF;
  --c-teal: #0D9488;
  --c-teal-light: #2DD4BF;
  --c-teal-bg: #F0FDFA;
  --c-teal-text: #0F766E;
  --ff-head: "Outfit", "Noto Sans JP", sans-serif;
  --ff-body: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --ff-num: "Outfit", "Noto Sans JP", sans-serif;
  --w-max: 1200px;
  --w-narrow: 700px;
  --r: 10px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff-body); color: var(--c-text); background: var(--c-white); line-height: 1.85; font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ol, ul { list-style: none; }

/* --- Scroll offset for sticky header --- */
section[id] {
  scroll-margin-top: 80px;
}

/* --- Utility --- */
.sp-only { display: none; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 18px 44px;
  border-radius: 8px;
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
  cursor: pointer;
  text-align: center;
}
.btn--primary {
  background: var(--c-navy);
  color: var(--c-white);
}
.btn--primary:hover {
  background: #283548;
  box-shadow: 0 4px 20px rgba(15,23,42,0.18);
  transform: translateY(-1px);
}
.btn--gold {
  background: var(--c-gold);
  color: var(--c-white);
}
.btn--gold:hover {
  background: var(--c-gold-deep);
  box-shadow: 0 4px 20px rgba(184,151,106,0.3);
  transform: translateY(-1px);
}
.btn--lg {
  font-size: 17px;
  padding: 22px 56px;
}

/* =========================================
   HEADER — Sticky + Scroll Effect
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 34px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-sub);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--c-text); }
.header-cta {
  background: var(--c-navy);
  color: var(--c-white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}
.header-cta:hover { background: #283548; }

/* Mobile header CTA — hidden on PC */
.header-cta-sp { display: none; }

/* Hamburger — hidden on PC */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================
   HERO — baigie-inspired light layout
   ========================================= */
.hero {
  background: var(--c-white);
  color: var(--c-text);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 72px 40px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  text-align: left;
}
.hero-text {
  flex: 1;
  max-width: 700px;
}

/* Prehead (改善1-A) */
.hero-prehead {
  font-size: 15px;
  color: #6B7280;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* --- Logo + services: right column --- */
.hero-logo-area {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-logo {
  max-width: 220px;
  height: auto;
}

/* --- Two-tier heading (baigie style) --- */
.hero-lead {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--c-navy);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.hero h1 .hero-lead + br { display: none; }
/* Main statement */
.hero h1 {
  font-family: var(--ff-body);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--c-navy-soft);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--c-text-sub);
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
}

/* Benefit supplement (改善1-B) */
.hero-benefit {
  font-size: 14px;
  color: #6B7280;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 28px;
}

/* Services heading (改善7) */
.hero-services-heading {
  font-size: 15px;
  color: #6B7280;
  font-weight: 600;
  margin-bottom: 16px;
}

/* --- Hero service cards (3-column horizontal) --- */
.hero-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  border-top: 1px solid var(--c-border);
  padding-top: 24px;
  text-align: center;
}
.hero-services--left {
  text-align: left;
}
.hero-svc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}
.hero-svc-desc {
  font-size: 13px;
  color: var(--c-text-sub);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.hero-actions--right {
  align-items: center;
  margin-top: 12px;
}
.hero-actions .btn--primary {
  background: var(--c-navy);
}
.hero-actions .btn--primary:hover {
  background: #283548;
  box-shadow: 0 6px 24px rgba(15,23,42,0.2);
}
.hero-note {
  font-size: 13px;
  color: var(--c-text-light);
  letter-spacing: 0.08em;
}
.hero-actions--right .hero-note {
  text-align: center;
  display: block;
  width: 100%;
}

/* =========================================
   PROBLEM → SOLUTION SECTION (改善3, 4)
   ========================================= */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.ps-card {
  background: var(--c-navy-soft);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.15s;
}
.ps-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.ps-problem {
  background: var(--c-navy-soft);
  padding: 32px 28px;
}
.ps-solution {
  background: rgba(13, 148, 136, 0.08);
  border-left: 4px solid var(--c-teal);
  padding: 32px 28px;
  flex: 1;
}
.ps-label {
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  color: #64748B;
}
.ps-label--solution {
  color: var(--c-teal-light) !important;
  font-weight: 700;
}

/* Arrow between Problem and Solution */
.ps-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  background: var(--c-navy-soft);
}
.ps-arrow svg {
  opacity: 0.9;
}

.ps-problem h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 10px;
  color: #CBD5E1;
}
.ps-problem p {
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.8;
}
.ps-solution h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 10px;
  color: #F1F5F9;
  display: inline;
}
.ps-solution p {
  font-size: 16px;
  color: #CBD5E1;
  line-height: 1.8;
}

/* =========================================
   SECTIONS — Common
   ========================================= */
.sec {
  padding: 60px 32px;
}
.sec--light {
  background: var(--c-bg);
}
.sec--dark {
  background: var(--c-navy);
  color: var(--c-white);
}
.sec-inner {
  max-width: var(--w-max);
  margin: 0 auto;
}
.sec-inner--narrow {
  max-width: var(--w-narrow);
}

.sec-label {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-light);
  text-align: center;
  margin-bottom: 10px;
}
.sec--dark .sec-label { color: #94A3B8; }

.sec-heading {
  font-family: var(--ff-body);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  line-height: 1.55;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
  color: var(--c-text);
}
.sec--dark .sec-heading { color: #F1F5F9; }
.sec-heading-lg {
  font-size: 34px;
  letter-spacing: 0.02em;
}

/* =========================================
   WHY BOOST DEV — Timeline (改善9)
   ========================================= */
.why-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Group Card --- */
.why-group {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.why-group--accent {
  border-color: var(--c-gold);
  box-shadow: 0 4px 20px rgba(184,151,106,0.15);
}

/* --- Group Header --- */
.why-group-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--c-navy);
  border-bottom: 1px solid var(--c-border);
}
.why-group + .why-group .why-group-header {
  padding: 21px 28px 13px;
}
.why-group-header--accent {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-deep) 100%);
  border-bottom: 1px solid transparent;
}
.why-group-label {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-white);
}

/* --- Group Body --- */
.why-group-body {
  padding: 28px 28px 8px;
}

/* --- Steps --- */
.why-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}
.why-step:last-child { padding-bottom: 20px; }
/* vertical line */
.why-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  width: 2px;
  bottom: 0;
  background: var(--c-border);
}
.why-group--accent .why-step:not(:last-child)::before {
  background: var(--c-gold-pale);
}
.why-step-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-num);
  font-size: 20px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.why-step-marker--accent {
  background: var(--c-gold);
}
.why-step-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}
.why-step-body p {
  font-size: 16px;
  color: var(--c-text-sub);
  line-height: 1.8;
}
.why-step-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-gold-deep);
  background: rgba(184,151,106,0.1);
  padding: 4px 14px;
  border-radius: 5px;
}
.why-step-tag--accent {
  background: var(--c-gold);
  color: var(--c-white);
}
.why-step-body .marker {
  background: linear-gradient(transparent 60%, rgba(184,151,106,0.25) 60%);
  font-weight: 700;
  color: var(--c-text);
}

/* --- Group Connector Arrow --- */
.why-group + .why-group::before {
  content: "";
  display: block;
  width: 2px;
  height: 0;
  margin: -10px auto -10px;
  background: transparent;
}

/* --- Micro copy under CTA --- */
.micro-copy {
  display: block;
  font-size: 13px;
  color: var(--c-text-light);
  margin-top: 10px;
}

/* =========================================
   MID CTA — Banner Style (改善8)
   ========================================= */
.mid-cta-banner {
  background: var(--c-navy);
  padding: 60px 32px;
  position: relative;
}
.mid-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(184,151,106,0.06), transparent 70%);
  pointer-events: none;
}
.mid-cta-banner-inner {
  position: relative;
  max-width: var(--w-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.mid-cta-banner-text h2 {
  font-family: var(--ff-body);
  font-size: 24px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 4px;
}
.mid-cta-banner-text p {
  font-size: 14px;
  color: #94A3B8;
}

/* =========================================
   COMPARISON (改善5)
   ========================================= */
.compare {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 25% 30% 45%;
}
.compare-head {
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare-head > div {
  padding: 16px 24px;
}
.compare-head .compare-new {
  background: var(--c-teal);
  color: var(--c-white);
  position: relative;
}

.compare-row {
  border-top: 1px solid var(--c-border);
}
.compare-row > div {
  padding: 18px 24px;
  font-size: 15px;
}
.compare-row .compare-label {
  font-weight: 600;
  color: var(--c-text);
}
.compare-row .compare-old {
  color: var(--c-text-light);
  background: var(--c-white);
}
.compare-row .compare-new {
  color: var(--c-teal-text);
  font-weight: 600;
  background: var(--c-teal-bg);
}

/* Summary row */
.compare-row--summary {
  border-top: 2px solid var(--c-border);
}
.compare-row--summary .compare-label,
.compare-row--summary .compare-old {
  background: var(--c-white);
}
.compare-new--summary {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--c-teal-text) !important;
  background: var(--c-teal-bg) !important;
  line-height: 1.6;
}

/* Comparison icons */
.compare-x {
  color: #9CA3AF;
  font-size: 13px;
  font-weight: 700;
  margin-right: 6px;
}
.compare-check {
  color: var(--c-teal);
  font-weight: 700;
  font-size: 15px;
  margin-right: 6px;
}

/* =========================================
   QUALITY
   ========================================= */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.quality-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 40px 32px;
}
.quality-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-text);
}
.quality-card p {
  font-size: 15px;
  color: var(--c-text-sub);
  line-height: 1.85;
}
.quality-card p + p {
  margin-top: 8px;
}
.quality-card p .highlight {
  background: linear-gradient(transparent 60%, #FEF3C7 60%);
  font-weight: 700;
}
.quality-card--wide {
  grid-column: 1 / -1;
  border-left: 3px solid var(--c-gold);
  background: var(--c-bg-warm);
}

/* =========================================
   USE CASES
   ========================================= */
.cases {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.case {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-gold);
  border-radius: 8px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.case:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.case-from {
  font-size: 14px;
  color: var(--c-text-light);
  line-height: 1.5;
}
.case-arrow {
  display: none;
}
.case-to {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}

/* =========================================
   FAQ — native <details>
   ========================================= */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq {
  border-bottom: 1px solid var(--c-border);
}
.faq:first-child {
  border-top: 1px solid var(--c-border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ""; }
.faq-q::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--ff-num);
  font-size: 24px;
  font-weight: 300;
  color: var(--c-gold);
  margin-left: 20px;
  transition: transform 0.25s;
}
.faq[open] .faq-q::after {
  content: "\2212";
}
.faq-q:hover { color: var(--c-gold-deep); }
.faq-a {
  padding: 0 6px 24px;
  font-size: 15px;
  color: var(--c-text-sub);
  line-height: 1.85;
}

/* =========================================
   FORM
   ========================================= */
.form-wrap {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 44px 40px;
}
.form-loading {
  text-align: center;
  padding: 56px 0;
  color: var(--c-text-light);
  font-size: 15px;
}
.spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 2px solid var(--c-border);
  border-top-color: var(--c-gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Trust badges above form */
.form-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.form-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-gold-deep);
  background: rgba(184,151,106,0.1);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* HubSpot overrides */
.form-wrap .hs-form fieldset { max-width: 100% !important; }
.form-wrap .hs-form .hs-input {
  width: 100% !important;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-white);
  font-family: var(--ff-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-wrap .hs-form .hs-input:focus {
  border-color: var(--c-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184,151,106,0.1);
}
.form-wrap .hs-form textarea.hs-input { min-height: 140px; resize: vertical; }
.form-wrap .hs-form label {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}
.form-wrap .hs-form .hs-button {
  background: var(--c-navy) !important;
  border: none !important;
  color: var(--c-white) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 18px 64px !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: background 0.2s !important;
  display: block;
  margin: 32px auto 0;
  font-family: var(--ff-body) !important;
}
.form-wrap .hs-form .hs-button:hover {
  background: #283548 !important;
}
.form-wrap .hs-form .hs-error-msgs {
  color: #DC2626;
  font-size: 14px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--c-navy);
  padding: 48px 32px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  text-align: center;
}
.footer-links { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin: 0 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--c-gold-pale); }
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 767px) {
  .sp-only { display: inline; }

  /* Header */
  .header-inner { padding: 0 16px; height: 60px; }
  .header-logo img { height: 28px; }
  .header-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .header-nav.open {
    display: flex;
  }
  .header-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border);
    font-size: 15px;
  }
  .header-nav a:last-child { border-bottom: none; }
  .header-nav .header-cta {
    margin-top: 8px;
    text-align: center;
    display: block;
    padding: 14px 28px;
  }
  .header-cta-sp {
    display: inline-block;
    background: var(--c-navy);
    color: var(--c-white);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.2s;
    white-space: nowrap;
    margin-right: 8px;
  }
  .header-cta-sp:hover { background: #283548; }
  .hamburger {
    display: flex;
  }

  /* Hero — display:contents で全要素を .hero の flex children として order 制御 */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-inner {
    display: contents;
  }
  .hero-text {
    display: contents;
  }
  .hero-logo-area {
    display: contents;
  }

  /* 並び順 */
  .hero-logo { order: 0; width: 140px; margin-top: 40px; margin-bottom: 16px; }
  .hero-prehead { order: 1; text-align: center; padding: 0 24px; font-size: 13px; margin-bottom: 8px; }
  .hero h1 { order: 2; font-size: 22px; line-height: 1.45; text-align: center; width: 100%; padding: 0 24px; margin-bottom: 12px; }
  .hero-lead { font-size: 24px; }
  .hero-sub { order: 3; font-size: 15px; text-align: center; padding: 0 24px; margin-bottom: 0; }
  .hero-benefit { order: 4; text-align: center; padding: 0 24px; font-size: 13px; margin-top: 12px; margin-bottom: 20px; }
  .hero-services-heading { order: 5; text-align: center; padding: 0 24px; font-size: 13px; margin-bottom: 12px; }
  .hero-services { order: 6; grid-template-columns: 1fr; padding: 0 24px; gap: 16px; text-align: center; max-width: 320px; margin-bottom: 28px; }
  .hero-actions { order: 7; align-items: center; padding: 0 24px; margin-bottom: 0; }

  /* Problem → Solution */
  .ps-grid { grid-template-columns: 1fr; }
  .ps-problem h3 { font-size: 17px; }
  .ps-solution h3 { font-size: 20px; }
  .ps-problem p { font-size: 14px; }
  .ps-solution p { font-size: 14px; }

  /* Why Boost Dev */
  .why-timeline { gap: 16px; }
  .why-group-header { padding: 14px 20px; }
  .why-group-label { font-size: 14px; }
  .why-group-body { padding: 20px 20px 4px; }
  .why-step { gap: 16px; padding-bottom: 28px; }
  .why-step-marker { width: 40px; height: 40px; font-size: 17px; }
  .why-step:not(:last-child)::before { left: 19px; top: 44px; }
  .why-step-body h3 { font-size: 18px; }
  .why-step-body p { font-size: 15px; }

  /* Sections */
  .sec { padding: 60px 20px; }
  .sec-heading { font-size: 22px; margin-bottom: 36px; }
  .sec-heading-lg { font-size: 30px; }

  /* Mid CTA Banner */
  .mid-cta-banner { padding: 60px 20px; }
  .mid-cta-banner-text h2 { font-size: 20px; }
  .mid-cta-banner-text p { font-size: 13px; }

  /* Comparison */
  .compare-head, .compare-row {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
  .compare-row > div { padding: 14px 12px; font-size: 13px; }
  .compare-head > div { padding: 14px 12px; font-size: 11px; }
  .compare-badge { font-size: 9px; padding: 2px 5px; margin-right: 4px; }
  .compare-new--summary { font-size: 12px !important; }

  /* Quality */
  .quality-grid { grid-template-columns: 1fr; }

  /* Cases */
  .cases { grid-template-columns: 1fr; }
  .case { padding: 18px 20px; }

  /* CTA */
  .mid-cta-banner .btn--lg {
    padding: 18px 40px;
    font-size: 15px;
  }

  /* Form */
  .form-wrap { padding: 28px 24px; }

  /* FAQ */
  .faq-q { font-size: 15px; }
}
