/* AIO×SEO ページ固有スタイル */

/* Hero watermark */
.hero::before { content: 'AIO'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-size: clamp(200px, 28vw, 360px); font-weight: 900; color: rgba(255,255,255,.025); letter-spacing: -.04em; line-height: 1; pointer-events: none; white-space: nowrap; }

/* Hero h1 override */
.hero h1 { font-size: clamp(28px, 4vw, 44px); }


/* Blockquote (aio-seo uses .blockquote instead of .bq) */
.blockquote { margin-top: 48px; padding: 36px 40px; background: var(--bg-dark); color: rgba(255,255,255,.7); border-radius: 6px; position: relative; }
.blockquote::before { content: '\201C'; position: absolute; top: 12px; left: 20px; font-size: 48px; font-weight: 900; color: rgba(255,255,255,.08); line-height: 1; }
.blockquote p { font-size: 14px; line-height: 2; font-weight: 300; }
.blockquote strong { font-weight: 700; color: #fff; }

/* Approach Steps */
.approach-steps { margin-bottom: 72px; }
.a-step { display: grid; grid-template-columns: 80px 1fr; gap: 0; align-items: stretch; border-bottom: 1px solid var(--border-light); }
.a-step:first-child { border-top: 1px solid var(--border-light); }
.a-num-wrap { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--border-light); padding: 28px 0; }
.a-num { font-size: 24px; font-weight: 900; color: #AFAFB0; }
.a-step-body { padding: 28px 32px; display: flex; align-items: center; }
.a-step-text { font-size: 14px; color: var(--text-sub); line-height: 1.9; }

/* Comparison Table */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; overflow: hidden; border: 1px solid var(--border-light); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { background: var(--bg-dark); color: #fff; font-weight: 700; padding: 18px 24px; text-align: left; letter-spacing: .04em; }
thead th:first-child { color: rgba(255,255,255,.4); width: 110px; font-weight: 500; font-size: 12px; }
tbody td { padding: 18px 24px; border-bottom: 1px solid var(--border-light); color: var(--text-sub); font-weight: 300; vertical-align: top; line-height: 1.8; }
tbody td:first-child { font-weight: 700; color: var(--text); font-size: 13px; background: var(--bg-light); }
tbody tr:last-child td { border-bottom: none; }
thead th:last-child { position: relative; }
thead th:last-child::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.15); }

/* Menu Cards */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.menu-card { background: var(--bg); border: 1px solid var(--border-light); border-radius: 6px; padding: 44px 40px; position: relative; overflow: hidden; }
.menu-card::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--black); }
.menu-num { font-size: 48px; font-weight: 900; color: #AFAFB0; line-height: 1; margin-bottom: 24px; letter-spacing: -.04em; }
.menu-card h3 { font-size: 17px; font-weight: 900; color: var(--black); margin-bottom: 14px; line-height: 1.5; }
.menu-card p { font-size: 14px; color: var(--text-sub); line-height: 2; font-weight: 300; }
.menu-grid .fi:nth-child(2) { transition-delay: .1s; }
.menu-grid .fi:nth-child(3) { transition-delay: .2s; }
.menu-grid .fi:nth-child(4) { transition-delay: .3s; }

/* KPI */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--border-light); }
.kpi-col { padding: 44px 40px; background: var(--bg); }
.kpi-col + .kpi-col { border-left: 1px solid var(--border-light); }
.kpi-col h3 { font-size: 12px; font-weight: 700; color: var(--black); letter-spacing: .1em; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 10px; }
.kpi-col h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--black); }
.kpi-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.kpi-list li { font-size: 14px; color: var(--text-sub); line-height: 1.9; font-weight: 300; padding-left: 20px; position: relative; }
.kpi-list li::before { content: '\2014'; position: absolute; left: 0; color: var(--text-pale); }

/* Responsive */
@media (max-width: 760px) {
  .blockquote { padding: 28px 24px; }
  .a-step { grid-template-columns: 56px 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-col + .kpi-col { border-left: none; border-top: 1px solid var(--border-light); }
}
@media (max-width: 540px) {
  .menu-card { padding: 28px 24px; }
  .kpi-col { padding: 28px 24px; }
  .a-step-body { padding: 20px 16px; }
}
