/* =====================================================================
   B案：構成の組み替え・導線の統一のための追加スタイル（b.html / c.html で使用）
   ===================================================================== */

/* --- ヒーロー：主ボタンを最初の画面に --- */
.hero .stats { margin: 30px 0 10px; }
.stats-note { font-size: 11.5px; color: rgba(255,255,255,.62); margin-bottom: 4px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }
.btn-hero { margin: 0; background: #fff; color: var(--ink); box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.btn-hero:hover { background: #e8f1f8; box-shadow: 0 14px 34px rgba(0,0,0,.32); }
.hero-link { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; transition: border-color .2s; }
.hero-link:hover { border-color: #fff; }
.hero-note { font-size: 13px; color: rgba(255,255,255,.78); margin-top: 14px; }

/* --- 問題提起 --- */
.problem { background: #fff; }
.pains { display: grid; gap: 12px; margin: 30px auto 26px; max-width: 660px; }
.pains li { text-align: left; padding: 16px 22px; background: #f4f7fa; border-left: 4px solid var(--alert); font-weight: 700; font-size: 16.5px; border-radius: 0 8px 8px 0; }
.problem-lead { color: #34475a; font-size: 15px; }
.problem-close { margin-top: 22px; font-family: var(--font-head); font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); color: var(--blue-text); }

/* --- 比較のタブ --- */
.center-block { max-width: 920px; margin: 0 auto; }
.tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin: 8px auto 36px; border-bottom: 1px solid var(--line); }
.tabs [role="tab"] { font: inherit; font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 14px 22px; border: 0; background: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; transition: color .2s, border-color .2s; }
.tabs [role="tab"]:hover { color: var(--blue-text); }
.tabs [role="tab"][aria-selected="true"] { color: var(--blue-text); border-bottom-color: var(--blue); }
.tabpanel[hidden] { display: none; }
.tab-sub { font-size: 20px; color: var(--blue-text); text-align: center; margin: 56px 0 22px; }
.cam { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; max-width: 780px; margin: 0 auto; }
.cam-col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.cam-sg { border-color: #8cc0e3; background: #f4faff; }
.cam-col h4 { font-size: 18px; margin-bottom: 10px; }
.cam-sg h4 { color: var(--blue-text); }
.cam-col li { padding: 9px 0; border-top: 1px solid #edf1f4; font-weight: 500; }
.cam-plus { align-self: center; font-size: 30px; color: var(--blue); }
.cam-note { max-width: 780px; margin: 22px auto 0; text-align: center; color: #34475a; font-size: 14.5px; }

/* --- 導入の流れ --- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px 26px; }
.flow li:not(:last-child)::after { content: ''; position: absolute; right: -15px; top: 42px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }
.flow-no { display: block; font-family: var(--num); font-weight: 600; font-size: 40px; line-height: 1; color: var(--blue); margin-bottom: 12px; }
.flow h3 { font-size: 17px; margin-bottom: 8px; }
.flow p { font-size: 14px; line-height: 1.85; color: #34475a; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.promises li { text-align: center; padding: 16px; background: #fff; border-radius: 10px; border: 1px solid var(--line); font-size: 13.5px; color: #34475a; }
.promises b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--blue-text); }

/* --- 実績の章 --- */
.places-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.places-row li { border: 1px solid var(--line); background: #fff; padding: 2px 14px; border-radius: 4px; font-size: 13.5px; }
.res-photos.photos { padding: 0; background: none; margin-bottom: 56px; }
.res-claim { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.res-claim .data-text { padding: 0; font-size: 14.5px; align-self: auto; }
.res-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px; align-items: stretch; margin-bottom: 40px; }
.res-grid .donut { border-radius: 12px; padding: 32px 20px; }
.res-grid .chart { margin: 0; max-width: none; }
.voices-title { margin-top: 64px; }

@media (max-width: 1000px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none; }
  .res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { white-space: nowrap; padding: 14px 16px; }
  .cam { grid-template-columns: 1fr; }
  .cam-plus { justify-self: center; }
  .flow, .promises { grid-template-columns: 1fr; }
  .hero-cta { gap: 14px 22px; }
}

/* グリッドの子が内容幅（グラフの最小幅など）で列を押し広げ、スマホで横にはみ出すのを防ぐ */
.res-grid > *, .mech-grid > *, .check-board > *, .flow > *, .promises > *, .cam > * { min-width: 0; }
