/* =========================================================
   無料M&A広場 紹介LP スタイルシート
   ページ固有スタイル
   ========================================================= */

:root {
  --navy: #1b1d24;
  --paper: #f4f2ed;
  --surface: #ffffff;
  --ink: #2a2c34;
  --muted: #5e626e;
  --accent: #b8935a;
  --gold: #b8935a;
  --ok: #2f7a4d;
  --warn: #b8862b;
  --ng: #c0553f;
  --line: rgba(27, 29, 36, 0.14);
  --line-light: rgba(27, 29, 36, 0.08);

  /* M&A広場 ブランドアクセント（落ち着いた深緑） */
  --mh-green: #2f5d50;
  --mh-green-dark: #23473d;
  --mh-green-light: #eaf1ee;
  --mh-cream: #f9f8f5;

  /* ファーストビュー用変数 */
  --fv-bg: #14171c;
  --fv-bg-2: #1b1f26;
  --fv-line: rgba(255, 255, 255, 0.16);
  --fv-ink: #f4f2ed;
  --fv-accent: #2f5d50;
  --fv-accent-dark: #23473d;
  --fv-gold: #b8935a;

  --font-head: "Zen Kaku Gothic New", -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-body: -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-num: "Space Grotesk", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---- 基本設定 ---- */
body {
  background: #fdfdfc;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
  padding: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* アクセシビリティ・スキップリンク */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 0;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 10000;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* 共通コンテナ */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 共通セクション */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-white {
  background: #ffffff;
}
.section-cream {
  background: var(--mh-cream);
}
.section-dark {
  background: var(--navy);
  color: #ffffff;
}

/* セクションヘッダー */
.section-head {
  margin-bottom: 40px;
}
.section-head.center {
  text-align: center;
}
.section-head.center .section-title {
  border-left: 0;
  padding-left: 0;
  position: relative;
  display: inline-block;
}
.section-head.center .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-head.center .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: block;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 4.2vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.section-dark .section-title {
  color: #ffffff;
}
.section-desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
  max-width: 820px;
}
.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.82);
}

/* 共通ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--mh-green);
  color: #ffffff;
  border-color: var(--mh-green);
  box-shadow: 0 4px 12px rgba(47, 93, 80, 0.25);
}
.btn-primary:hover {
  background: var(--mh-green-dark);
  border-color: var(--mh-green-dark);
}
.btn-secondary {
  background: #ffffff;
  color: var(--mh-green);
  border-color: var(--mh-green);
}
.btn-secondary:hover {
  background: var(--mh-green-light);
}

/* =========================================================
   ファーストビュー部品（hero--slider / entry4 / offer-band）
   ========================================================= */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--fv-bg);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
  background: rgba(10, 10, 10, 0.86);
  padding: 6px 14px;
  border-radius: 4px;
  border-left: 3px solid var(--accent);
  margin-bottom: 18px;
  line-height: 1.6;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 5.8vw, 50px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}
.hero-title .accent {
  color: #ffffff;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 2px;
}
.hero-subtitle {
  font-size: clamp(14px, 3.2vw, 17px);
  color: #f0f0f0;
  margin-top: 20px;
  line-height: 1.95;
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-tag {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(20, 24, 30, 0.7);
  border: 1px solid rgba(184, 147, 90, 0.6);
  color: #ffffff;
  backdrop-filter: blur(4px);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero .btn-primary {
  background: var(--mh-green);
  color: #ffffff;
  border: 1px solid #ffffff;
}
.hero .btn-primary:hover {
  background: var(--mh-green-dark);
}
.hero .btn-secondary {
  background: rgba(10, 14, 20, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.hero .btn-secondary:hover {
  background: rgba(20, 28, 40, 0.85);
  border-color: #ffffff;
}

/* スライダーアニメーション */
.hero--slider .hs-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 0;
}
.hero--slider .hs-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero--slider .hs-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero--slider .hs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}
@media (max-width: 767px) {
  .hero--slider .hs-slide img {
    object-position: 60% 50%;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .hero--slider .hs-slide img {
    object-position: 66% 50%;
  }
}

/* 暗幕グラデーション */
.hero--slider .hero-veil {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.58) 55%, rgba(10, 10, 10, 0.92));
}
@media (min-width: 720px) {
  .hero--slider .hero-veil {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.48) 58%, rgba(10, 10, 10, 0.9)),
      linear-gradient(90deg, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.34) 62%, rgba(10, 10, 10, 0.06));
  }
}

/* スライダーコントロール */
.hs-ctrl {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
}
.hs-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(10, 10, 10, 0.5);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}
.hs-btn:hover,
.hs-btn:focus-visible {
  background: rgba(10, 10, 10, 0.75);
  border-color: var(--accent);
}
.hs-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hs-toggle .i-play {
  display: none;
}
.hs-toggle.is-paused .i-play {
  display: block;
}
.hs-toggle.is-paused .i-pause {
  display: none;
}
.hs-dots {
  display: flex;
  gap: 0;
  margin: 0 6px;
}
.hs-dot {
  width: 40px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hs-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s, background 0.3s;
}
.hs-dot.is-active::before {
  width: 26px;
  background: var(--accent);
}
.hs-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (min-width: 960px) {
  .hs-ctrl {
    justify-content: flex-end;
    padding-right: max(20px, calc((100vw - 1200px) / 2 + 20px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero--slider .hs-slide {
    transition: none;
  }
}

/* 入口タイル4枚 */
.entry4 {
  background: var(--fv-bg);
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--fv-line);
}
.entry4 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.entry4-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.entry-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 236px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  text-decoration: none;
  isolation: isolate;
  background: #1a1e24;
}
.entry-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: 0;
  transition: transform 0.6s ease;
}
.entry-tile:hover > img {
  transform: scale(1.05);
}
.entry-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.95));
}
.entry-body {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 14px 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.entry-en {
  display: block;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--accent);
  margin-bottom: 4px;
}
.entry-title {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  color: #ffffff;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.entry-desc {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: #f0f0f0;
  margin-top: 6px;
}
.entry-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  min-height: 44px;
}
.entry-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.entry-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (min-width: 720px) {
  .entry-tile {
    min-height: 0;
    aspect-ratio: 3/2;
  }
  .entry-body {
    padding: 18px 16px;
  }
  .entry-title {
    font-size: 19px;
  }
}
@media (min-width: 960px) {
  .entry4 {
    padding: 30px 0 34px;
  }
  .entry4-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .entry-tile {
    aspect-ratio: 4/5;
  }
  .entry-title {
    font-size: 20px;
  }
}

/* 数字の帯 */
.offer-band {
  background: linear-gradient(135deg, var(--mh-green), var(--mh-green-dark));
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.offer-band-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 16px;
  gap: 8px;
}
.offer-item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  gap: 2px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.offer-item .oi-lbl {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
.offer-item .oi-big {
  font-family: var(--font-num);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}
.offer-item .oi-small {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
@media (min-width: 720px) {
  .offer-band-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================================
   各セクション スタイル
   ========================================================= */

/* お悩みセクション（#issues） */
.mh-issues-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.mh-issue-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(27, 29, 36, 0.04);
  display: flex;
  flex-direction: column;
}
.mh-issue-num {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: var(--mh-green);
  margin-bottom: 12px;
  display: block;
}
.mh-issue-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--navy);
}
.mh-issue-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}
.mh-issues-answer {
  margin: 32px 0 0;
  padding: 26px 30px;
  background: var(--navy);
  color: #ffffff;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
}
.mh-issues-answer h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 10px;
  color: #ffffff;
}
.mh-issues-answer p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}
@media (max-width: 960px) {
  .mh-issues-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .mh-issues-grid {
    grid-template-columns: 1fr;
  }
}

/* 無料M&A広場とは（#about） */
.mh-about-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.mh-about-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.mh-about-card.is-green {
  border-top: 4px solid var(--mh-green);
}
.mh-about-card.is-accent {
  border-top: 4px solid var(--accent);
}
.mh-about-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 14px;
  color: var(--navy);
}
.mh-about-card p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 14px;
}
.mh-about-card p:last-child {
  margin-bottom: 0;
}
.mh-notice-box {
  margin-top: 24px;
  padding: 22px 26px;
  background: var(--mh-cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.mh-notice-box h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--navy);
}
.mh-notice-box p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 767px) {
  .mh-about-boxes {
    grid-template-columns: 1fr;
  }
}

/* 流れステップ（#seller / #buyer） */
.mh-step-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 16px;
}
.mh-step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(27, 29, 36, 0.03);
}
.mh-step-num {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mh-green);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
}
.mh-step-content {
  flex: 1;
  min-width: 0;
}
.mh-step-content h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--navy);
  min-width: 0;
  overflow-wrap: anywhere;
}
.mh-step-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mh-step-action {
  margin-top: 14px;
}
@media (max-width: 640px) {
  .mh-step-item {
    gap: 14px;
    padding: 18px 16px;
  }
  .mh-step-num {
    flex-basis: 38px;
    height: 38px;
    font-size: 16px;
  }
  .mh-step-content h3 {
    font-size: 17px;
  }
}

/* 秘密の守り方（#secret）段階開示図 */
.mh-diagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.mh-diagram-col {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mh-diagram-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--mh-cream);
  color: var(--mh-green);
  border: 1px solid rgba(47, 93, 80, 0.2);
  margin-bottom: 12px;
}
.mh-diagram-col h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--navy);
}
.mh-diagram-col p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}
.mh-diagram-items {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--mh-cream);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.75;
}
.mh-diagram-items strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}
@media (max-width: 840px) {
  .mh-diagram-grid {
    grid-template-columns: 1fr;
  }
}

/* 秘密保持の電子契約（#sign） */
.mh-sign-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: 24px;
}
.mh-sign-media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(27, 29, 36, 0.08);
}
.mh-sign-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.mh-sign-text h3 {
  font-family: var(--font-head);
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 16px;
  color: var(--navy);
}
.mh-sign-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 16px;
}
.mh-sign-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.mh-sign-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.mh-sign-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.mh-section-visual {
  max-width: 420px;
  margin: 0 auto 28px;
  border-radius: 12px;
  overflow: hidden;
}
.mh-section-visual img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .mh-sign-layout {
    grid-template-columns: 1fr;
  }
}

/* 料金セクション（#price） */
.mh-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  min-width: 0;
}
.mh-price-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(27, 29, 36, 0.04);
}
.mh-price-card.is-popular {
  border: 2px solid var(--mh-green);
  box-shadow: 0 8px 24px rgba(47, 93, 80, 0.12);
}
.mh-price-target {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--navy);
  min-width: 0;
  overflow-wrap: anywhere;
}
.mh-price-amount {
  margin: 0 0 18px;
  color: var(--mh-green);
  font-weight: 900;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mh-price-amount .num {
  font-family: var(--font-num);
  font-size: clamp(38px, 6vw, 56px);
}
.mh-price-amount .unit {
  font-size: 18px;
  margin-left: 4px;
}
.mh-price-amount .sub {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 6px;
}
.mh-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 10px;
}
.mh-price-features li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mh-price-features li::before {
  content: "✓";
  color: var(--mh-green);
  font-weight: 900;
}
.mh-price-card .btn {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}
.mh-step-action .btn {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.mh-price-notes {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}
.mh-price-notes p {
  margin: 4px 0;
}
@media (max-width: 767px) {
  .mh-price-grid {
    grid-template-columns: 1fr;
  }
}

/* 比較表（#compare） */
.mh-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  margin-top: 30px;
  -webkit-overflow-scrolling: touch;
}
.mh-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.8;
}
.mh-table th,
.mh-table td {
  min-width: 0;
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.mh-table thead th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
}
.mh-table thead th:last-child {
  background: var(--mh-green);
}
.mh-table tbody th {
  width: 24%;
  font-weight: 800;
  background: var(--mh-cream);
  color: var(--navy);
}
.mh-table tbody td:last-child {
  background: rgba(47, 93, 80, 0.04);
  font-weight: 700;
  color: var(--mh-green-dark);
}
.mh-table tr:last-child th,
.mh-table tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 640px) {
  .mh-table th,
  .mh-table td {
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.65;
  }
}

/* よくあるご質問（#faq） */
.mh-faq-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.mh-faq-list details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mh-faq-list details[open] {
  border-color: var(--mh-green);
  box-shadow: 0 2px 10px rgba(47, 93, 80, 0.08);
}
.mh-faq-list summary {
  padding: 18px 22px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  box-sizing: border-box;
}
.mh-faq-list summary::-webkit-details-marker {
  display: none;
}
.mh-faq-list summary::after {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  border-right: 2px solid var(--mh-green);
  border-bottom: 2px solid var(--mh-green);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.mh-faq-list details[open] summary::after {
  transform: rotate(-135deg);
}
.mh-faq-answer {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  border-top: 1px dashed var(--line-light);
  padding-top: 14px;
}

/* 最後の帯（#contact） */
.mh-contact-section {
  background: linear-gradient(135deg, var(--mh-green), var(--mh-green-dark));
  color: #ffffff;
  padding: 72px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.mh-contact-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.mh-contact-inner .section-label {
  color: rgba(255, 255, 255, 0.85);
}
.mh-contact-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 16px;
  color: #ffffff;
}
.mh-contact-inner p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
}
.mh-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}
.mh-contact-buttons .btn-primary {
  background: #ffffff;
  color: var(--mh-green-dark);
  border-color: #ffffff;
  font-size: 17px;
  padding: 14px 32px;
}
.mh-contact-buttons .btn-primary:hover {
  background: var(--paper);
}
.mh-contact-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}
.mh-contact-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}
.mh-contact-mail {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}
.mh-contact-mail a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* 運営会社（#company） */
.mh-company-table {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  max-width: 860px;
  margin: 30px auto 0;
}
.mh-company-table dl {
  display: grid;
  grid-template-columns: minmax(160px, 26%) 1fr;
  margin: 0;
}
.mh-company-table dt,
.mh-company-table dd {
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.8;
}
.mh-company-table dt {
  background: var(--mh-cream);
  font-weight: 800;
  color: var(--navy);
}
.mh-company-table dd a {
  color: var(--mh-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mh-company-table dt:nth-last-of-type(1),
.mh-company-table dd:nth-last-of-type(1) {
  border-bottom: 0;
}
.mh-company-notice {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .mh-company-table dl {
    grid-template-columns: 1fr;
  }
  .mh-company-table dt {
    border-bottom: 0;
    padding-bottom: 4px;
  }
  .mh-company-table dd {
    padding-top: 4px;
  }
}

/* フッター補正 */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 32px;
  font-size: 14px;
  line-height: 1.8;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 40px;
}
.footer-logo {
  display: block;
  max-width: 180px;
  height: auto;
  margin-bottom: 16px;
}
.footer-address {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer-col h2 {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0 0 14px;
}
.footer-col a,
.footer-col span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.8;
  padding: 6px 0;
  text-decoration: none;
  min-height: 36px;
  box-sizing: border-box;
}
.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-col span {
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ下部固定バー */
.mobile-actions {
  display: none;
}
@media (max-width: 767px) {
  .mobile-actions {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(20, 24, 30, 0.94);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 14px;
    gap: 10px;
  }
  .mobile-actions a {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
  }
  .mobile-actions a:first-child {
    background: var(--mh-green);
    color: #ffffff;
  }
  .mobile-actions a:last-child {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  body {
    padding-bottom: 68px;
  }
}
