/* ════════════════════════════════════════
   AIOコンサルティングLP固有スタイル
   basic.css を前提とした上書き・追加のみ
   ════════════════════════════════════════ */
:root {
 --lp-glow:    rgba(30,64,175,0.08);
 --lp-cyan:    #0369a1;
  --lp-gold:    #c47a00;
}
/* ── ベース ── */
html {
	scroll-behavior: smooth;
	font-size: 18px;
}
body {
	-webkit-font-smoothing: antialiased;
}
ol {
	margin: 0;
	padding-left: 1.5rem;
}
ol li {
	margin-top:0.5rem;
}
ol a {
	word-break: break-all;
}
section .sec-inner, aside .sec-inner {
    padding: 3rem 2.5rem;
}

/* ── HERO ── */
.main-bar {
	padding-bottom: 4rem;
	background: linear-gradient(140deg, #0f172a 0%, #1c2975 55%, #0e2a50 100%) !important;
	border-bottom: 3px solid var(--danger-gold);
	overflow: hidden;
	position: relative;
	text-align:center;
}
.main-bar::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(3,105,161,0.15) 0%, transparent 60%),  radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200,51,26,0.08) 0%, transparent 60%);
	pointer-events: none;
}
.main-bar::after {
	content: 'Google AI';
	position: absolute;
	right: 4%;
	top: 50%;
	transform: translateY(-50%);
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: clamp(80px, 12vw, 160px);
	color: rgba(255,255,255,0.04);
	letter-spacing: -0.05em;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}
.main-bar h1 {
	font-weight: 900;
	color: #fff !important;
	line-height: 1.35 !important;
	margin-bottom: 1rem;
}
.main-bar h1 small {
	display: block;
	font-size: 0.55em;
	font-weight: 400;
	color: rgba(255,255,255,0.7);
	margin-top: 0.4rem;
}
.main-bar p {
	color: rgba(255,255,255,0.75);
	font-size: 1.05rem;
}
.pain-list {
	padding: 1.2rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.pain-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: rgba(255,255,255,0.85);
}
.pain-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: rgba(245,158,11,0.2);
	border: 1px solid var(--danger-gold);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	margin-top: 0.15rem;
	color: var(--danger-gold);
	font-weight: 700;
}
.screenshot{
	margin-top:-4rem
}
.screenshot .sec-inner{
	padding-top:0;
	padding-bottom:2rem;
}


/* ── 見出し ── */
#article-content h2 {
	font-weight: 900;
	color: var(--primary-deep);
	padding-bottom:0;
}
/* 第二章 h2*/
#chapter2 h2 {
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--border-light);
	margin-bottom: 0.2em;
}
h3.sstitle {
	position: relative;
	font-weight: 700;
	font-size: clamp(0.9rem, 1.8vw, 1.1rem);
	color: var(--primary-deep);
	margin-bottom: 0.9rem;
	padding: 0.5em 1em 0.55em 1.1em;
	background: linear-gradient(90deg, var(--lp-glow) 0%, transparent 100%);
	border-left: 3px solid var(--accent);
	border-right: 1px solid var(--border-light);
}
/* ── STAT CARDS ── */
.stat-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 15px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30,64,175,0.06);
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
}
.stat-card.c-red::after   { background: var(--lita-red); }
.stat-card.c-blue::after  { background: var(--accent); }
.stat-card.c-cyan::after  { background: var(--lp-cyan); }
.stat-card.c-gold::after  { background: var(--lp-gold); }
.stat-card.c-green::after { background: #16a34a; }
/* 数値 */
.stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 5.0rem);
  line-height: 1;
}
.stat-num small{ font-size:0.45em; font-family:inherit; }
/* c-blue カードのゼロクリック表示 */
.stat-card.c-blue .stat-zeroclic {
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--lita-blue);
  line-height: 1.2;
}
/* 第三章カードタイトル：ゼロクリック文字と同サイズ */
.ch3-card-title {
  display: block;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.6rem) !important;
  line-height: 1.2;
}
.stat-label  { font-size: 0.78rem; color: var(--text-sub); line-height: 1.6; }
.stat-label1 { font-size: 0.95rem; line-height: 1.6; }
/* 出典 */
.stat-source  { color: var(--lp-dim);}
.stat-source1 { color: var(--lp-dim); font-size: 0.8rem; }

.stat-card.c-red   .stat-num { color: var(--lita-red); }
.stat-card.c-blue  .stat-num { color: var(--accent); }
.stat-card.c-cyan  .stat-num { color: var(--lp-cyan); }
.stat-card.c-gold  .stat-num { color: var(--lp-gold); }
.stat-card.c-green .stat-num { color: #16a34a; }
/* stat-label1内の p タグ共通スタイル */
.stat-label1 p { font-size: 20px; line-height: 1.6; }

/* stat-label1内の強調色 */
.stat-card.c-red   .stat-label1 strong { color: var(--lita-red); font-size: 24px; }
.stat-card.c-blue  .stat-label1 strong { color: var(--lita-blue); font-size: 24px; }
.stat-card.c-green .stat-label1 strong { color: #16a34a; }
.stat-card.c-cyan  .stat-label1 strong { color: var(--lp-cyan); }
.stat-card.c-gold  .stat-label1 strong { color: var(--lp-gold); }
.stat-card.c-blue  .stat-label1 .stat-hl-accent { color: var(--accent); }


.mk1.kome{ font-size:0.9rem; margin-top:0.5rem}
/* ── CHART BOX ── */
.chart-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 24px 20px 16px;
  margin: 1.8rem 0;
  box-shadow: 0 2px 10px rgba(30,64,175,0.05);
}
/* chart-box の下マージン縮小 */
.chart-box.mb-sm { margin-bottom: 0.4rem; }

/* 第一章：chart-with-text の中央＋マークを非表示 */
#chapter1 .chart-with-text::after {
  display: none;
}

/* ── グラフ＋テキスト 横並びレイアウト ── */
.chart-with-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: 0 4px 24px rgba(30,64,175,0.09), 0 1px 4px rgba(0,0,0,0.04);
  margin: 1.8rem 0 0;
  overflow: visible; /* ⊕ が境界をはみ出せるように */
  position: relative;
}
/* 境目中央の ＋ マーク */
.chart-with-text::after {
  content: '+';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.6rem;
  height: 2.6rem;
  line-height: 2.5rem;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  background: var(--lita-red);
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(200,51,26,0.35);
}
/* テキストエリア */
.chart-with-text__body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  border-right: 1px solid var(--border-light);
  background: linear-gradient(160deg, #f8fafc 0%, #fff 100%);
  position: relative;
}
/* 右カラム（WEBアクセス解析） */
.chart-with-text__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #064e98;
  overflow: hidden;
}
.chart-with-text__right .chart-with-text__title {
  color: #fff;
  padding: 22px 24px 14px;
  margin-bottom: 0;
}
.chart-with-text__right .chart-with-text__chart--img {
  flex: 1;
  width: 100%;
}
.chart-with-text__body::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--lita-red) 0%, #7f1d1d 100%);
}
/* バッジ */
.chart-with-text__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-gold);
  background: rgba(196,122,0,0.1);
  border: 1px solid rgba(196,122,0,0.3);
  border-radius: 2px;
  padding: 3px 8px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.chart-with-text__badge::before {
  content: '●';
  font-size: 0.5em;
  color: var(--lp-gold);
}
/* タイトル */
.chart-with-text__title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 900;
  color: var(--primary-deep);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
/* リード文 */
.chart-with-text__lead {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 1rem;
}
.chart-with-text__lead strong { color: var(--primary-deep); }
.chart-with-text__lead .txt-red  { color: var(--lita-red); font-weight: 700; }
.chart-with-text__lead .txt-blue { color: var(--lp-cyan);  font-weight: 700; }
/* 数値ハイライト */
.chart-with-text__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(200,51,26,0.05);
  border-left: 3px solid var(--lita-red);
  margin-top: 0.2rem;
}
.chart-with-text__stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--lita-red);
  line-height: 1;
  white-space: nowrap;
}
.chart-with-text__stat-num small {
  font-size: 0.5em;
  font-family: inherit;
}
.chart-with-text__stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.chart-with-text__stat-label a {
  color: var(--lp-cyan);
  font-size: 0.78rem;
}
/* グラフエリア */
.chart-with-text__chart {
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.chart-with-text__chart-header {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  flex-shrink: 0;
}
.chart-with-text__chart svg {
  width: 100%;
  height: auto;
  display: block;
  padding: 12px 10px 4px;
  box-sizing: border-box;
  flex: 1;
}
.chart-with-text__chart figcaption {
  font-size: 0.75rem;
  color: var(--text-sub);
  padding: 6px 14px 10px;
  border-top: 1px dashed var(--border-light);
}
/* 画像を使う場合：パディングなし・全面フィット */
.chart-with-text__chart--img {
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.chart-with-text__chart--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .chart-with-text {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .chart-with-text::after {
    display: none; /* SP縦並び時は非表示 */
  }
  .chart-with-text__body {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 20px 20px 20px 24px;
  }
  .chart-with-text__stat-num {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
}

/* ── 第三章：アクションカード4枚 ── */
.aio-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.aio-action-card {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: #fff;
  position: relative;
  transition: background 0.2s;
}
.aio-action-card:last-child {
  border-right: none;
}
.aio-action-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--lp-cyan));
  opacity: 0;
  transition: opacity 0.2s;
}
.aio-action-card:hover {
  background: var(--lp-glow);
}
.aio-action-card:hover::before {
  opacity: 1;
}
.aio-action-card h3 {
  text-align:left;
  color: var(--lita-blue);
}
.aio-action-card p {
  font-size: 0.8rem;
  text-align:left;
  line-height: 1.5;
  margin: 0;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .aio-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aio-action-card:nth-child(2) { border-right: none; }
  .aio-action-card:nth-child(3) { border-right: 1px solid var(--border-light); }
  .aio-action-card:nth-child(1),
  .aio-action-card:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }
}
@media (max-width: 480px) {
  .aio-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aio-action-card {
    padding: 16px 12px;
  }
}

.chart-box figcaption {
  font-size: 0.9rem !important;
  color: var(--text-sub, #475569) !important;
  text-align: left !important;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light, #e2e8f0);
}
.chart-box svg { width: 100%; height: auto; display: block; }

/* ── グラフのタイトル ── */
.chart-title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
}
.chart-title h3 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--primary-deep, #1e293b);
}
.chart-title p {
  display: block;
  font-size: 18px;
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
}
.chart-title small { font-size: 0.82em; }

/* ── データグループラベル ── */
.stat-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-dim, #94a3b8);
  margin-bottom: 0.8rem;
}
.stat-group-label::before {
  content: '';
  display: inline-block;
  width: 12px; height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

/* chart parts */
.ch-grid    { stroke: #f1f5f9; stroke-width: 1; fill: none; }
.ch-axis    { stroke: #e2e8f0; stroke-width: 1.5; fill: none; }
.ch-bar-blue  { fill: var(--accent); }
.ch-bar-red   { fill: var(--lita-red); }
.ch-bar-cyan  { fill: var(--lp-cyan); }
.ch-bar-gold  { fill: var(--lp-gold); }
.ch-bar-green { fill: #16a34a; }
.ch-val { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; }
.ch-label    { fill: #64748b; font-size: 14px; }
.ch-axis-lbl { fill: #94a3b8; font-size: 12px; }
.ch-decline  { fill: #ef4444; font-size: 11px; font-weight: 700; }
.ch-badge    { fill: rgba(239,68,68,0.1); stroke: #ef4444; stroke-width: 1.5; }
.ch-line-decline  { fill: none; stroke: var(--lita-red); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ch-area-decline  { fill: url(#decline-fill); }
.ch-ref-line      { stroke: var(--lp-gold); stroke-width: 1.5; stroke-dasharray: 6 4; fill: none; }
.ch-dot-red       { fill: var(--lita-red); }
.ch-dot-red-lg    { fill: var(--lita-red); stroke: rgba(200,51,26,0.25); stroke-width: 5; }
/* ── WebPita機能テーブル ── */
.feature-table-wrap {
	overflow-x: auto;
	margin: 1.8rem 0;
}
.feature-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 1rem;
}
.feature-table th, .feature-table td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--border-light);
}
.feature-table thead th {
	background: var(--lp-glow);
	color: var(--accent);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-bottom: 2px solid rgba(30,64,175,0.2);
}
.feature-table tbody tr:hover {
	background: var(--lp-glow);
}
.feature-table .ft-tag {
	display: inline-block;
	background: rgba(30,64,175,0.07);
	border: 1px solid rgba(30,64,175,0.2);
	color: var(--accent);
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 0;
	white-space: nowrap;
	width: 100%;
}
/* ── CTA ── */

.cta-section h2 {
	margin-bottom:2rem
}
/* ── STEP FLOW ── */
.step-flow {
	display: grid;
	grid-template-columns: 1fr 40px 1fr 40px 1fr;
	align-items: center;
	gap: 0;
	margin: 2rem auto;
}
.step-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 0;
	padding: 24px 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(30,64,175,0.06);
	transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(30,64,175,0.12);
}
.step-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--accent), var(--lp-cyan));
}
.step-num {
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: 2rem;
	color: rgba(30,64,175,0.1);
	line-height: 1;
	position: absolute;
	top: 10px;
	right: 12px;
}
.step-icon {
	font-size: 1.8rem;
	margin-bottom: 10px;
	display: block;
}
.step-title {
	font-size: clamp(1.25rem, 3vw, 1.6rem);
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 6px;
}
.step-desc {
	display: none !important;
	font-size: 0.9rem;
	color: var(--text-sub);
	line-height: 1.65;
}
.step-arrow {
	text-align: center;
	color: var(--lita-blue);
	font-size: 1.4rem;
	opacity: 0.5;
}
/* ── FAQ ── */
section#faq {
	background-color: var(--gray-bg);
}
.faq-list {
	margin-top: 1.5rem;
}
.faq-card {
	background: #fff !important;
	border: 1px solid var(--border-light) !important;
	border-radius: 0;
	margin-bottom: 8px !important;
	padding: 0 !important;
	overflow: hidden;
	transition: box-shadow 0.2s;
}
.faq-card:hover {
	box-shadow: 0 2px 12px rgba(30,64,175,0.08);
}
.faq-q {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 20px;
	cursor: pointer;
	user-select: none;
}
.faq-q-text {
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--lita-blue);
	line-height: 1.5;
	flex: 1;
}
.faq-q-text::before {
	content: 'Q.';
	font-family: 'JetBrains Mono', monospace;
	font-weight: 700;
	color: var(--lita-blue);
	margin-right: 10px;
}
.faq-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: var(--lp-glow);
	border: 1px solid rgba(30,64,175,0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-size: 1rem;
	transition: transform 0.3s;
	margin-top: 2px;
}
.faq-card.open .faq-icon {
	transform: rotate(45deg);
}
.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}
.faq-card.open .faq-a {
	max-height: 600px;
}
.faq-a-inner {
	padding: 14px 20px 18px 50px;
	border-top: 1px solid var(--border-light);
	position: relative;
}
.faq-a-inner::before {
	content: 'A.';
	position: absolute;
	left: 20px;
	top: 14px;
	font-family: 'JetBrains Mono', monospace;
	font-weight: 700;
	color: var(--lita-red);
	font-size: 1rem;
}
/* ── 引用文献セクション ── */
#references {
}

/* ── 第三章：AIアクセス解析説明ボックス ── */
.aio-explain-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--lp-cyan);
  padding: 24px 20px;
  margin: 1.8rem 0;
}
.aio-explain-box .grid {
  margin-top: 1.2rem;
}
.aio-explain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
}
.aio-explain-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}
.aio-explain-item h3 {
  display: block;
  font-weight: 700;
  color: var(--lita-blue);
  margin-bottom: 4px;
}
.aio-explain-item p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}
/* ── card（第三章グリッドカード） ── */
#chapter3 .card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  padding: 20px 18px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
#chapter3 .card:hover {
  box-shadow: 0 4px 16px rgba(30,64,175,0.1);
  transform: translateY(-2px);
}
#chapter3 .card h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
#chapter3 .card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 640px) {
  .aio-explain-box {
    padding: 16px 14px;
  }
  .aio-explain-item {
    flex-direction: column;
    gap: 8px;
  }
}
#references h2 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom:0;
}
#references ol {
	font-size: 0.85rem;
}
#references ol em {
	font-style:normal;
}

/* ════════════════════════════════════════
   レスポンシブ追加
   ════════════════════════════════════════ */

/* ── タブレット（〜960px） ── */
@media (max-width: 960px) {
  /* HERO 装飾文字を縮小 */
  .main-bar::after {
    font-size: clamp(60px, 10vw, 120px);
    right: 2%;
  }

  /* stat-num を少し縮める */
  .stat-num {
    font-size: clamp(3rem, 7vw, 5rem);
  }

  /* stat-label1 内の固定px を流動化 */
  .stat-label1 p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
  }
  .stat-card.c-red   .stat-label1 strong,
  .stat-card.c-blue  .stat-label1 strong {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  }

  /* step-flow を3列→縦積みに */
  .step-flow {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step-arrow {
    transform: rotate(90deg);
    font-size: 1.1rem;
    margin: -0.4rem auto;
  }

  /* step-desc をタブレットから表示 */
  .step-desc {
    display: block;
  }
}

/* ── スマートフォン（〜640px） ── */
@media (max-width: 640px) {
  /* HERO 装飾文字を非表示 */
  .main-bar::after {
    display: none;
  }

  /* HERO パディング縮小 */
  .main-inner {
    padding: 2rem 1.2rem;
  }

  /* pain-list テキスト */
  .pain-list li {
    font-size: 0.95rem;
  }

  /* stat-card: 文字を流動的に */
  .stat-num {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
  .stat-num small {
    font-size: 0.5em;
  }

  /* stat-label1 固定px → 流動化 */
  .stat-label1 p {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    line-height: 1.5;
  }
  .stat-card.c-red   .stat-label1 strong,
  .stat-card.c-blue  .stat-label1 strong {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }
  .stat-card.c-green .stat-label1 strong,
  .stat-card.c-cyan  .stat-label1 strong,
  .stat-card.c-gold  .stat-label1 strong {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }

  /* stat-card ゼロクリック表示 */
  .stat-card.c-blue .stat-zeroclic {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  /* stat-card パディング */
  .stat-card {
    padding: 16px 12px;
  }

  /* chart-box */
  .chart-box {
    padding: 16px 10px 12px;
    margin: 1.2rem 0;
    overflow-x: auto;
  }
  /* SVGはviewBox維持でスケール、最小幅を設定 */
  .chart-box svg {
    min-width: 300px;
  }

  /* chart-title */
  .chart-title h3 {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }
  .chart-title p {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
  }

  /* step-flow */
  .step-flow {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .step-card {
    padding: 18px 14px;
  }
  .step-title {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }
  .step-desc {
    display: block;
    font-size: 0.88rem;
  }

  /* feature-table：カード型レイアウトに切り替え */
  .feature-table-wrap {
    margin: 1.2rem 0;
    padding: 0;
    overflow-x: visible;
  }
  .feature-table {
    font-size: 0.9rem;
  }
  /* thead（特徴・内容ラベル行）を非表示 */
  .feature-table thead {
    display: none;
  }
  /* tbody の各行をカードとして表示 */
  .feature-table tbody tr {
    display: block;
    border: 1px solid var(--border-light);
    margin-bottom: 10px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(30,64,175,0.05);
  }
  .feature-table tbody tr:last-child {
    margin-bottom: 0;
  }
  /* 各セルをブロック表示 */
  .feature-table td {
    display: block;
    padding: 10px 14px;
    border-bottom: none;
    text-align: left;
  }
  /* 「特徴」列（ft-tag 含む）：カード上部に背景色帯 */
  .feature-table td:first-child {
    background: rgba(30,64,175,0.05);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 14px;
  }
  .feature-table .ft-tag {
    font-size: 0.85rem;
    padding: 3px 10px;
    white-space: normal;
    width: auto;
    display: inline-block;
  }

  /* sstitle */
  h3.sstitle {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    padding: 0.5em 0.8em 0.5em 0.9em;
    margin-bottom: 1.2rem;
  }

  /* FAQ */
  .faq-q-text {
    font-size: 1rem;
  }
  .faq-a-inner {
    padding: 12px 14px 14px 40px;
    font-size: 0.95rem;
  }

  /* CTA section内 */
  .cta-section h2 {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    margin-bottom: 1.2rem;
  }
}

/* ── 小型スマートフォン（〜400px） ── */
@media (max-width: 400px) {
  .stat-num {
    font-size: clamp(2.2rem, 14vw, 3.2rem);
  }
  .stat-card {
    padding: 14px 10px;
  }
  .chart-box svg {
    min-width: 280px;
  }
  .feature-table td {
    padding: 8px 12px;
  }
}

/* ========== CV爆上がりフロー図 ========== */
.cv-flow {
  margin: 2rem 0 0.4rem;
  width: 100%;
}
.cv-flow__label {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.65rem 1.6rem;
}
.cv-flow__body {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

/* ── 入力カード（A・B 共通） ── */
.cv-flow__card {
  flex: 1 1 0;
  padding: 2rem 1.2rem;
  text-align: center;
  background-color:var(--white);
  border-right: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(30,64,175,0.06);
}
.cv-flow__card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
}
.cv-flow__card--a::after { background: var(--lp-gold); }
.cv-flow__card--b::after { background: var(--accent); }

.cv-flow__card strong {
  display: block;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.cv-flow__card--a strong { color: var(--lp-gold); }
.cv-flow__card--b strong { color: var(--accent); }
.cv-flow__card p {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

/* ── プラス記号 ── */
.cv-flow__plus {
  flex: 0 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--border-dark);
  background: var(--gray-bg);
}

/* ── 矢印 ── */
.cv-flow__arrow {
  flex: 0 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lita-red);
  background: var(--gray-bg);
}
.cv-flow__arrow svg {
  width: 48px;
  height: 48px;
}

/* ── 結果カード ── */
.cv-flow__result {
  flex: 1 1 0;
  padding: 2rem 1.2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--lita-red) 0%, #7f1d1d 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cv-flow__result::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.cv-flow__result strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.cv-flow__result p {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0;
}

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  .cv-flow__body {
    flex-direction: column;
  }
  .cv-flow__card {
    flex: 0 0 auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1.6rem 1.2rem;
  }
  .cv-flow__plus {
    flex: 0 0 auto;
    width: 100%;
    padding: 0.6rem 0;
    font-size: 1.8rem;
  }
  .cv-flow__arrow {
    flex: 0 0 auto;
    width: 100%;
    padding: 0.6rem 0;
  }
  .cv-flow__arrow svg {
    width: 40px;
    height: 40px;
    transform: rotate(90deg);
  }
  .cv-flow__result {
    flex: 0 0 auto;
    width: 100%;
    padding: 1.8rem 1.2rem;
  }
  .cv-flow__result strong {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
}
/* ── 第三章：AI対応チェックリスト タグスタイル ── */
.chart-with-text__body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
}
.chart-with-text__body ul li {
  padding: 0;
  position: static;
  white-space: nowrap;
}
.chart-with-text__body ul li::before {
  display: none;
}
.chart-with-text__body ul li p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  background: #fff;
  color: var(--primary-deep);
  transition: background 0.15s, border-color 0.15s;
  box-shadow: 0 1px 3px rgba(30,64,175,0.07);
}
.chart-with-text__body ul li p::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}