:root {
  --color-primary: #D75A11;
  --color-primary-text: #B44A0E;
  --color-ink: #231815;
  --color-bg: #F2EFEA;
  --color-surface: #FFFFFF;
  --color-surface-sub: #F9F8F6;
  --color-muted: #6B6B6B;
  --color-divider: #E3E8EE;

  --color-service: #2E8794;

  --border-ink: 2px solid var(--color-ink);
  --border-hairline: 1px solid var(--color-ink);

  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Sulphur Point", var(--font-jp);

  --ease: cubic-bezier(0.4, 0.4, 0, 1);
  --container-max: 1200px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-jp);
  color: var(--color-ink);
  letter-spacing: 0.05em;
}

a {
  color: var(--color-primary-text);
  text-decoration: none;
}
a:hover { color: var(--color-primary); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary-text);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
  box-sizing: border-box;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-bar {
  margin: 16px 24px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: 12px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo-mark {
  font: 700 20px var(--font-en);
  letter-spacing: 0.05em;
  color: var(--color-ink);
}
.logo-sub {
  font-size: 13px;
  color: var(--color-muted);
  white-space: nowrap;
}

.header-right { display: flex; align-items: center; gap: 28px; }

.main-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.main-nav a { color: var(--color-ink); }

.btn-consult {
  background: var(--color-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 24px;
  white-space: nowrap;
}
.btn-consult:hover { color: #fff; opacity: 0.85; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-ink);
  border: none;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 150px 80px 120px;
  max-width: var(--container-max);
  margin: 0 auto;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none !important; opacity: 1 !important; }
}

.hero-anim {
  opacity: 0;
  animation: heroUp 1.2s var(--ease) forwards;
}
.hero-label {
  font: 700 20px var(--font-en);
  color: var(--color-primary-text);
  letter-spacing: 0.05em;
  margin-bottom: 36px;
  animation-delay: 0.1s;
}
.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 0;
  animation-delay: 0.35s;
}
.hero-title em {
  font-style: normal;
  color: var(--color-primary);
}
.hero-lead {
  font-size: 17px;
  line-height: 2.0;
  margin: 44px 0 0;
  animation-delay: 0.65s;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  animation-delay: 0.95s;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--color-primary);
  color: #fff;
  /* 白文字 × primary は 3.90:1。18.66px 以上の太字（大文字扱い）で 3:1 基準を満たす */
  font-size: 19px;
  font-weight: 700;
  border-radius: 10px;
  padding: 24px 48px;
  border: 2px solid var(--color-ink);
  transition: transform 0.3s var(--ease);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); }
.btn-primary .arrow { font-family: var(--font-en); }

.link-secondary {
  font-size: 13px;
  color: var(--color-ink);
  border-bottom: 1px dashed var(--color-ink);
  padding-bottom: 4px;
}
.link-secondary:hover { color: var(--color-primary); border-color: var(--color-primary); }

.hero-note {
  font-size: 13px;
  margin-top: 24px;
  animation-delay: 1.15s;
}

/* ---------- Service strip ---------- */
.service-strip {
  border-top: var(--border-ink);
  border-bottom: var(--border-ink);
  display: flex;
}
.service-strip-item {
  flex: 1;
  padding: 32px 40px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-right: var(--border-ink);
}
.service-strip-item:last-child { border-right: none; }
.service-strip-item .tag {
  font: 700 32px var(--font-en);
  color: var(--color-service);
}
.service-strip-item .desc {
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- Section shell ---------- */
.section {
  padding: 120px 80px 100px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.section.tight { padding-top: 120px; padding-bottom: 120px; }

.eyebrow {
  font: 700 16px var(--font-en);
  color: var(--color-primary-text);
  margin-bottom: 16px;
}
.section h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin: 0 0 64px;
}
.section .section-lead {
  font-size: 16px;
  line-height: 2.0;
  margin: -40px 0 64px;
  max-width: 640px;
}

/* ---------- Why (reasons) ---------- */
.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.reason { padding: 0 40px; }
.reason:first-child { padding-left: 0; }
.reason:last-child { padding-right: 0; }
.reason:not(:first-child) { border-left: var(--border-hairline); }
.reason .num {
  font: 700 36px var(--font-en);
  color: var(--color-primary);
}
.reason h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 16px 0;
  border-bottom: 1px dashed var(--color-ink);
  padding-bottom: 16px;
}
.reason p {
  font-size: 14px;
  line-height: 2.0;
  margin: 0;
}

/* ---------- Service cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card .price {
  font: 700 20px var(--font-en);
  color: var(--color-primary-text);
  margin-top: 4px;
}
.card {
  background: var(--color-surface);
  border: var(--border-ink);
  border-radius: 10px;
  padding: 40px 32px;
}
.card .tag {
  font: 700 28px var(--font-en);
  color: var(--color-service);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 16px;
}
.card p {
  font-size: 14px;
  line-height: 2.0;
  margin: 0;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px dashed var(--color-ink);
  padding-bottom: 6px;
}
.link-arrow:hover { color: var(--color-primary); border-color: var(--color-primary); }
.link-arrow .arrow { font-family: var(--font-en); }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--color-surface);
  border: var(--border-ink);
  border-radius: 48px;
  padding: 56px 48px;
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 48px;
  background: var(--color-primary-text);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 128px;
  padding: 4px 16px;
}
.price-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}
.price-card .plan-sub {
  font-size: 13px;
  color: var(--color-ink);
  margin-bottom: 32px;
}
.price-figures {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px dashed var(--color-ink);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-row .amount-init { font: 700 44px var(--font-en); }
.price-row .amount-month { font: 700 28px var(--font-en); }
.price-row .unit { font-size: 13px; white-space: nowrap; }

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-features li {
  display: flex;
  gap: 10px;
}
.price-features .check {
  color: var(--color-primary);
  font-weight: 700;
}

/* ---------- Flow ---------- */
.flow-list {
  display: flex;
  flex-direction: column;
}
.flow-step {
  display: grid;
  grid-template-columns: 120px 260px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px dashed var(--color-ink);
  align-items: baseline;
}
.flow-step:last-child { border-bottom: none; }
.flow-step .num {
  font: 700 36px var(--font-en);
  color: var(--color-primary);
}
.flow-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.flow-step p {
  font-size: 14px;
  line-height: 2.0;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.faq-item {
  background: var(--color-surface);
  border: var(--border-ink);
  border-radius: 10px;
  padding: 32px;
}
.faq-q {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 0 0 12px;
}
.faq-q .q-mark {
  font: 700 22px var(--font-en);
  color: var(--color-primary);
  flex-shrink: 0;
}
.faq-q .q-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.faq-item p {
  font-size: 14px;
  line-height: 2.0;
  margin: 0;
  padding-left: 36px;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 0 80px 120px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.cta-panel {
  background: var(--color-surface);
  border: var(--border-ink);
  border-radius: 48px;
  padding: 80px;
  text-align: center;
}
.cta-panel h2 {
  color: var(--color-ink);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin: 0 0 24px;
}
.cta-panel p {
  color: var(--color-ink);
  font-size: 15px;
  line-height: 2.0;
  margin: 0 0 48px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.cta-btn {
  font-size: 19px;   /* 塗りボタンの白文字が大文字扱いになるサイズ（9.2参照） */
  font-weight: 700;
  border: var(--border-ink);
  border-radius: 10px;
  padding: 22px 40px;
}
.cta-btn.fill { background: var(--color-primary); color: #fff; }
.cta-btn.fill:hover { color: #fff; opacity: 0.9; }
.cta-btn.outline { background: var(--color-surface); color: var(--color-ink); }
.cta-btn.outline:hover { color: var(--color-primary); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: var(--border-ink);
  padding: 48px 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.footer-logo .logo-mark { font: 700 18px var(--font-en); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  white-space: nowrap;
}
.footer-nav a { color: var(--color-ink); }
.copyright {
  font: 13px var(--font-en);
  color: var(--color-muted);
  white-space: nowrap;
}

/* =========================================================
   Sub-page components (service / price / about / contact / privacy)
   ========================================================= */

/* ---------- Page hero (non-home pages) ---------- */
.page-hero {
  padding: 140px 80px 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin: 0 0 24px;
}
.page-lead {
  font-size: 16px;
  line-height: 2.0;
  margin: 0;
  max-width: 640px;
}

.page-hero + .section {
  padding-top: 24px;
}

/* ---------- Prose / intro copy ---------- */
.prose { font-size: 16px; line-height: 2.0; max-width: 760px; }
.prose p { margin: 0 0 24px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 700; }

.pull-quote {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-primary-text);
  border-top: 1px dashed var(--color-ink);
  border-bottom: 1px dashed var(--color-ink);
  padding: 32px 0;
  margin: 48px 0;
  max-width: 760px;
}

/* ---------- Numbered content blocks (service detail) ---------- */
.content-block {
  padding: 64px 0;
  border-top: 1px dashed var(--color-ink);
}
.content-block:first-of-type { border-top: none; }
.content-block .num {
  font: 700 36px var(--font-en);
  color: var(--color-primary);
  margin-bottom: 16px;
}
.content-block h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 0 0 20px;
}
.content-block .block-lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 640px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.8;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 640px;
}
.checklist li { display: flex; gap: 10px; }
.checklist .check { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }

.subhead-block { margin-top: 56px; }
.subhead-block:first-child { margin-top: 0; }
.subhead-block h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 24px;
  border-bottom: 1px dashed var(--color-ink);
  padding-bottom: 16px;
}

/* ---------- Contact method cards ---------- */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}
.contact-method {
  background: var(--color-surface);
  border: var(--border-ink);
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
}
.contact-method .tag {
  font: 700 28px var(--font-en);
  color: var(--color-service);
}
.contact-method h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0 12px;
}
.contact-method p {
  font-size: 14px;
  line-height: 2.0;
  margin: 0 0 24px;
}
.contact-method .cta-btn { display: inline-block; width: auto; padding: 16px 32px; font-size: 15px; }
.contact-method .note {
  font-size: 13px;
  color: var(--color-muted);
  margin: 12px 0 0;
}

/* ---------- Form ---------- */
.contact-form { max-width: 720px; }
.form-row { margin-bottom: 28px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-row .required,
.form-row .optional {
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  letter-spacing: 0.05em;
}
.form-row .required { background: var(--color-primary-text); color: #fff; }
.form-row .optional { background: var(--color-surface-sub); color: var(--color-muted); border: 1px solid var(--color-divider); }
/* バッジの文字は CSS 側で描く。
   Netlify Forms はデプロイ時に HTML のソースから <label> の文字を読んで
   項目名にするため、ここに「必須」と書くと通知メールの項目名が
   「院名必須」になってしまう（2026-08-17 に実測）。
   必須かどうかは input の required 属性が持っているので、
   このバッジは視覚的な装飾として aria-hidden にしてある。 */
.form-row .required::after { content: "必須"; }
.form-row .optional::after { content: "任意"; }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  /* 16px 未満にしない（iOS でフォーカス時に自動ズームが起きるため） */
  font: 400 16px var(--font-jp);
  letter-spacing: 0.05em;
  padding: 14px 16px;
  border: var(--border-hairline);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-ink);
  box-sizing: border-box;
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary-text);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-ink);
  margin: 8px 0 32px;
}
.form-note a { color: var(--color-primary-text); }

.form-submit {
  background: var(--color-primary);
  color: #fff;
  font-size: 19px;   /* 同上 */
  font-weight: 700;
  border: 2px solid var(--color-ink);
  border-radius: 10px;
  padding: 22px 48px;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
  font-family: var(--font-jp);
  letter-spacing: 0.05em;
}
.form-submit:hover { transform: translateY(-2px); }

/* 送信結果はページ内に出さず thanks.html へ遷移する方式にしたため、
   .form-status と .form-submit[disabled] の定義は 2026-08-17 に削除した。
   （JavaScript でフォームを制御しなくなり、参照元が無くなったため） */

/* ---------- Legal / policy content ---------- */
.legal-section {
  padding: 40px 0;
  border-top: 1px dashed var(--color-ink);
}
.legal-section:first-of-type { border-top: none; padding-top: 0; }
.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 16px;
}
.legal-section p,
.legal-section li {
  font-size: 14px;
  line-height: 2.0;
  margin: 0 0 12px;
}
.legal-section ul {
  margin: 0 0 16px;
  padding-left: 1.4em;
}
.legal-note {
  font-size: 13px;
  color: var(--color-muted);
  border: 1px dashed var(--color-muted);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 56px;
}
/* =========================================================
   Responsive — Tablet (768px 〜 1023px)
   デスクトップの型を保ったまま、文字と列数を落とす段
   ========================================================= */
@media (max-width: 1023.98px) {
  .container,
  .hero,
  .section,
  .cta-section,
  .site-footer,
  .page-hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* 見出しの縮小（1024px 未満で 64px / 40px は大きすぎる） */
  .hero { padding-top: 120px; padding-bottom: 80px; }
  .hero-title { font-size: 44px; }
  .hero-label { font-size: 17px; margin-bottom: 28px; }
  .hero-lead { font-size: 16px; margin-top: 36px; }
  .hero-actions { margin-top: 44px; }

  .section { padding-top: 80px; padding-bottom: 72px; }
  .section h2 { font-size: 32px; margin-bottom: 48px; }
  .section .section-lead { margin-top: -28px; }
  .page-hero { padding-top: 120px; padding-bottom: 32px; }
  .page-hero h1 { font-size: 32px; }
  .content-block { padding: 52px 0; }
  .content-block h2 { font-size: 26px; }
  .cta-section { padding-bottom: 80px; }
  .cta-panel { padding: 56px 40px; }
  .cta-panel h2 { font-size: 30px; }

  /* サービスストリップ:
     desc の white-space: nowrap と 32px のタグが 640px 付近で
     横スクロールを起こしていたため、縦積み + 折り返しに変更 */
  .service-strip-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px;
  }
  .service-strip-item .tag { font-size: 26px; }
  .service-strip-item .desc { white-space: normal; font-size: 15px; }

  /* ヘッダーのロゴ補足は幅が足りなくなるため隠す */
  .logo-sub { display: none; }

  /* タッチ操作の端末に入る幅なので、タップ領域を 44px 以上に揃える */
  .logo { min-height: 44px; align-items: center; }
  /* 「料金」「流れ」のような短いリンクは文字幅が 44px に届かないため、
     高さだけでなく幅も 44px を確保して中央に置く */
  .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }
  .link-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .link-arrow { min-height: 44px; }
  /* 幅も 44px を確保する。理由は .main-nav a のコメントを参照 */
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }
  /* インライン要素への上下 padding は行の高さを変えずに当たり判定だけ広げる */
  .prose a,
  .legal-section a,
  .form-note a,
  dd a { padding: 13px 0; }

  /* カードは 3 列 → 2 列 */
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3,
  .cards-2,
  .price-grid,
  .faq-grid { gap: 20px; }
  .card { padding: 32px 24px; }

  /* 選ばれる理由も 2 列に。左罫線は各行の先頭で外す */
  .reasons { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .reason { padding: 0 24px; }
  .reason:nth-child(2n+1) { padding-left: 0; border-left: none; }
  .reason:nth-child(2n) { padding-right: 0; }

  /* 流れ: 3 列だと説明文の幅が 150px 程度まで潰れるため 2 列に */
  .flow-step {
    grid-template-columns: 72px 1fr;
    column-gap: 20px;
    row-gap: 8px;
  }
  .flow-step .num { grid-row: 1 / span 2; font-size: 30px; }
  .flow-step h3 { grid-column: 2; }
  .flow-step p { grid-column: 2; }

  /* 料金 */
  .price-card { padding: 44px 32px; }
  .price-row .amount-init { font-size: 38px; }
  .price-row .amount-month { font-size: 26px; }

  .faq-item { padding: 28px; }
}

/* =========================================================
   Responsive — 大きめのスマホ・小さめのタブレット (〜767px)
   1 カラムへの切り替えと、ハンバーガーメニューへの切り替え
   ========================================================= */
@media (max-width: 767.98px) {
  /* ヘッダー: 横並びのナビが入りきらなくなる幅でハンバーガーへ */
  .main-nav { display: none; }
  .header-bar > .header-right > .btn-consult { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    display: none;
    flex-direction: column;
    margin: 8px 24px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 12px;
    padding: 8px;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--color-ink);
    font-size: 15px;
    font-weight: 500;
    padding: 12px;
    border-bottom: 1px dashed var(--color-divider);
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav .btn-consult {
    display: flex;
    justify-content: center;
    margin: 8px 4px 4px;
    color: #fff;
  }

  /* すべてのグリッドを 1 カラムに */
  .cards-3,
  .cards-2,
  .price-grid,
  .faq-grid,
  .contact-methods { grid-template-columns: 1fr; }

  .reasons { grid-template-columns: 1fr; row-gap: 40px; }
  .reason { padding: 0 !important; border-left: none !important; }

  /* サービスストリップは縦積み。区切りは下辺の罫線に */
  .service-strip { flex-direction: column; }
  .service-strip-item {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    border-right: none;
    border-bottom: var(--border-ink);
  }
  .service-strip-item:last-child { border-bottom: none; }

  .contact-form { max-width: none; }
}

/* =========================================================
   Responsive — スマートフォン (〜639px)
   ========================================================= */
@media (max-width: 639.98px) {
  .container,
  .hero,
  .section,
  .cta-section,
  .site-footer,
  .page-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* ---- 告知バー / ヘッダー ---- */
  .header-bar { margin: 12px 12px 0; padding: 0 16px; }
  .logo-sub { display: none; }
  .header-right { gap: 12px; }
  .mobile-nav { margin: 8px 12px 0; }

  /* ---- ヒーロー ---- */
  .hero { padding: 100px 24px 64px; }
  .hero-label { font-size: 14px; margin-bottom: 24px; }
  .hero-title { font-size: 32px; line-height: 1.5; }
  .hero-lead { font-size: 16px; margin-top: 28px; }
  .hero-lead br { display: none; }
  .hero-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 40px;
  }
  .btn-primary { width: 100%; justify-content: center; padding: 20px 24px; }
  .link-secondary { font-size: 14px; }
  .hero-note { font-size: 13px; margin-top: 20px; }

  /* ---- サービスストリップ ---- */
  .service-strip-item { padding: 24px; }
  .service-strip-item .tag { font-size: 24px; }

  /* ---- セクション ---- */
  .section { padding: 64px 24px; }
  .section h2 { font-size: 24px; margin-bottom: 40px; }
  .eyebrow { font-size: 14px; }
  .section .section-lead { font-size: 16px; margin-top: -16px; }

  /* 本文は 16px を下回らない（読み手が 40〜60 代のため） */
  .card p,
  .reason p,
  .flow-step p,
  .faq-item p,
  .contact-method p,
  .checklist,
  .price-features,
  .legal-section p,
  .legal-section li { font-size: 16px; }

  /* ---- 選ばれる理由 ---- */
  .reason .num { font-size: 32px; }

  /* ---- カード ---- */
  .card { padding: 28px 24px; }
  .card .tag { font-size: 24px; }

  /* ---- 本文中の矢印リンク ---- */
  .link-arrow { font-size: 16px; }
  .section-cta { margin-top: 40px; }

  /* ---- 料金 ---- */
  .price-card { border-radius: 48px; padding: 40px 28px 56px; }
  .price-badge { left: 28px; font-size: 13px; }
  .price-row .amount-init { font-size: 36px; }
  .price-row .amount-month { font-size: 26px; }

  /* ---- 流れ ---- */
  .flow-step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
  .flow-step .num { grid-row: auto; font-size: 28px; }
  .flow-step h3,
  .flow-step p { grid-column: 1; }

  /* ---- FAQ ---- */
  .faq-item { padding: 24px; }
  .faq-q .q-text { font-size: 16px; }
  .faq-item p { padding-left: 0; }

  /* ---- CTA ---- */
  .cta-section { padding: 0 24px 64px; }
  .cta-panel { padding: 48px 24px; border-radius: 32px; }
  .cta-panel h2 { font-size: 26px; }
  .cta-panel p { font-size: 16px; margin-bottom: 40px; }
  .cta-buttons { flex-direction: column; gap: 0; }
  .cta-btn {
    width: 100%;
    border-radius: 0;
    font-size: 18px;
    padding: 20px 24px;
  }
  .cta-btn:first-child { border-radius: 10px 10px 0 0; }
  .cta-btn:last-child { border-radius: 0 0 10px 10px; border-top: none; }

  /* ---- フッター ---- */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 0;
    white-space: normal;
    width: 100%;
    font-size: 15px;
  }
  .footer-nav a {
    display: flex;
    /* 縦積みでは全幅になるので、上の段の中央寄せを左寄せに戻す */
    justify-content: flex-start;
    border-bottom: 1px dashed var(--color-divider);
  }
  .footer-nav a:last-child { border-bottom: none; }

  /* ---- 下層ページ見出し ---- */
  .page-hero { padding: 100px 24px 32px; }
  .page-hero h1 { font-size: 26px; margin-bottom: 16px; }
  .page-lead { font-size: 16px; }

  /* ---- 本文 ---- */
  .prose { font-size: 16px; }
  .pull-quote { font-size: 18px; padding: 24px 0; margin: 32px 0; }

  /* ---- サービス詳細 ---- */
  .content-block { padding: 40px 0; }
  .content-block .num { font-size: 30px; }
  .content-block h2 { font-size: 22px; }
  .content-block .block-lead { font-size: 17px; }
  .subhead-block { margin-top: 40px; }
  .subhead-block h3 { font-size: 18px; }

  /* ---- お問い合わせ ---- */
  .contact-methods { margin-bottom: 56px; }
  .contact-method { padding: 32px 24px; }
  .contact-method .tag { font-size: 24px; }
  .contact-method .cta-btn { width: 100%; border-radius: 10px; font-size: 17px; }

  .form-row { margin-bottom: 24px; }
  .form-row .required,
  .form-row .optional { display: inline-block; margin-left: 8px; }
  .form-note { font-size: 14px; }
  .form-submit { width: 100%; padding: 20px 24px; }

  /* ---- 法務ページ ---- */
  .legal-note { padding: 16px 20px; margin-bottom: 40px; font-size: 14px; }
}
