/* ==============================================================
   Mitsukeru LP v2 — additional styles
   lp-styles.css を継承。このファイルには新規追加分のみ記述。
   ============================================================== */

/* ---------------------------------------------------------------
   1. KPIバッジブロック（数値大表示）
   Urgencyセクション カード2「数字で見る、今の実態」で使用
--------------------------------------------------------------- */
.kpi-badge-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 16px;
}
.kpi-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(0, 188, 212, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.kpi-badge-num {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-cyan);
  line-height: 1.35;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 160px;
}
.kpi-badge-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  flex: 1;
}
.kpi-badge-label small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}
@media (max-width: 600px) {
  .kpi-badge { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kpi-badge-num { white-space: normal; min-width: 0; }
}

/* ---------------------------------------------------------------
   2. 所見ハイライトカード（深刻度バッジ付き）
   /for-apache-nginx/ と /report-sample/ で使用
--------------------------------------------------------------- */
.finding-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.finding-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 4px solid var(--c-line-strong);
}
.finding-card.sev-critical { border-left-color: var(--c-alert); }
.finding-card.sev-high     { border-left-color: #e87a3e; }
.finding-card.sev-medium   { border-left-color: var(--c-warn); }

.finding-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.sev-badge {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 4px;
  flex: none;
}
.sev-badge-critical { background: var(--c-alert); color: #fff; }
.sev-badge-high     { background: #e87a3e; color: #fff; }
.sev-badge-medium   { background: var(--c-warn); color: #fff; }

.finding-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.4;
}

.finding-kpis {
  display: flex;
  gap: 16px;
  margin: 14px 0 12px;
  flex-wrap: wrap;
}
.finding-kpi {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
}
.finding-kpi-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1;
  display: block;
}
.finding-kpi-label {
  font-size: 11px;
  color: var(--c-muted);
  margin-top: 4px;
  display: block;
}

.finding-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin: 0 0 12px;
}

.finding-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
}
.finding-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  line-height: 1.7;
}
.finding-row-label {
  font-weight: 700;
  color: var(--c-muted);
  font-size: 12px;
  letter-spacing: .04em;
  padding-top: 2px;
}
.finding-row-value {
  color: var(--c-ink-soft);
}

@media (max-width: 880px) {
  .finding-card { padding: 20px 20px; }
  .finding-kpis { gap: 10px; }
}

/* ---------------------------------------------------------------
   3. 確認事項バッジ（チェックリスト形式）
   /for-apache-nginx/ のPoC開始セクション末尾で使用
--------------------------------------------------------------- */
.check-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.check-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-bg-tint-cy);
  border: 1px solid rgba(0, 188, 212, 0.35);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-cyan-deep);
}
.check-badge::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--c-cyan);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-4.5' stroke='%23063e4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
  flex: none;
}

/* ---------------------------------------------------------------
   4. 安心訴求マイクロコピーバー（CTA周辺）
   全CTAバンドの直上または直下に配置
--------------------------------------------------------------- */
.reassure-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 14px 0 0;
}
.reassure-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.reassure-item::before {
  content: "✓";
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--c-cyan);
  font-size: 12px;
}

/* ライト背景バリアント */
.reassure-bar.light .reassure-item {
  color: var(--c-muted);
}
.reassure-bar.light .reassure-item::before {
  color: var(--c-success);
}

/* ---------------------------------------------------------------
   5. Secondary誘導帯（Pain Pointsセクション末尾）
   既存 pain-cause カードの下に追加する /for-apache-nginx/ 誘導コンポーネント
--------------------------------------------------------------- */
.secondary-nudge {
  margin-top: 24px;
  background: var(--c-bg-tint-cy);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.secondary-nudge-text h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 6px;
}
.secondary-nudge-text p {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.75;
  margin: 0;
}
.secondary-nudge-cta {
  flex: none;
}
@media (max-width: 880px) {
  .secondary-nudge { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------
   6. CFフォームのselectスタイル（既存cfフォームへの追加）
   既存 .cta-form 内のselectは未定義のため追加
--------------------------------------------------------------- */
.cf-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14.5px;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}
.cf-select option {
  background: var(--c-navy-dark);
  color: #fff;
}
.cf-select:focus {
  outline: none;
  border-color: var(--c-cyan);
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

/* ---------------------------------------------------------------
   7. /report-sample/ CTAグリッド レスポンシブ対応
--------------------------------------------------------------- */
@media (max-width: 880px) {
  .report-cta-grid { grid-template-columns: 1fr !important; }
}

/* ---------------------------------------------------------------
   8. /report-sample/ CTAグリッド 定義（インラインスタイル置き換え）
--------------------------------------------------------------- */
.report-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .report-cta-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   9. WCAG AA フォーカスリング対応（lp-styles.cssの outline:none を上書き）
--------------------------------------------------------------- */
.cf-label input:focus,
.cf-label textarea:focus,
.cf-select:focus {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(0,188,212,.45);
}
@media (forced-colors: active) {
  .cf-label input:focus,
  .cf-label textarea:focus,
  .cf-select:focus {
    outline: 2px solid ButtonText;
  }
}

/* ---------------------------------------------------------------
   10. Dual-Path — 仕組みセクション 提案対象別パス表示
--------------------------------------------------------------- */
.dual-path { margin-top: 48px; }
.dual-path > .h3 { text-align: center; margin-bottom: 8px; }
.dual-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .dual-path-grid { grid-template-columns: 1fr; }
}
.dpath {
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--c-bg);
}
.dpath-a { border-top: 3px solid var(--c-navy); }
.dpath-b { border-top: 3px solid var(--c-cyan-deep); }
.dpath-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--c-navy);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.dpath-badge-b { background: var(--c-cyan-deep); }
.dpath-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 10px;
}
.dpath-desc {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.75;
  margin-bottom: 20px;
}
.dpath-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--c-bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 12.5px;
}
.dpath-node {
  text-align: center;
  line-height: 1.4;
  padding: 5px 8px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--c-line);
  font-size: 12px;
}
.dpath-node small { display: block; color: var(--c-muted); font-size: 11px; margin-top: 2px; }
.dpath-node-key {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
  font-weight: 600;
}
.dpath-node-key small { color: rgba(255,255,255,.75); }
.dpath-arrow { color: var(--c-muted); font-size: 14px; flex-shrink: 0; }
.dpath-plus { color: var(--c-cyan-deep); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.dpath-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dpath-list li {
  font-size: 14px;
  color: var(--c-ink-soft);
  padding: 5px 0 5px 20px;
  position: relative;
  border-bottom: 1px solid var(--c-line-soft);
}
.dpath-list li:last-child { border-bottom: none; }
.dpath-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-cyan-deep);
  font-weight: 700;
}

/* ---------------------------------------------------------------
   11. Case divider & WAF未導入ケース
--------------------------------------------------------------- */
.case-divider {
  position: relative;
  margin: 40px 0 32px;
  text-align: center;
}
.case-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-line);
}
.case-divider-label {
  position: relative;
  background: var(--c-cyan-deep);
  padding: 6px 18px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0,151,167,.45);
}
.case-nowaf { border-left: 3px solid var(--c-cyan-deep); }
.case-findings-preview {
  margin-top: 14px;
  font-size: 14px;
  padding: 14px 18px;
  background: rgba(0,188,212,.05);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--c-cyan-deep);
  line-height: 1.75;
}

/* ---------------------------------------------------------------
   12. Report Sample — タブUI
--------------------------------------------------------------- */
.report-tabs-hint {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 10px;
}
/* レポートページ：イントロ〜タブ間の余白を詰める */
#report-content { padding-top: 28px; }
#intro { padding-bottom: 24px; }
#intro .sec-head { margin-bottom: 0; }
.report-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.report-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 20px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
  text-align: left;
  font-family: var(--font-jp);
}
.report-tab:hover { border-color: var(--c-navy); box-shadow: 0 6px 16px -8px rgba(31,78,121,.3); }
.report-tab.active {
  border-color: var(--c-navy);
  background: var(--c-navy);
  color: #fff;
}
/* パネルへ繋がる下向き▼コネクタ */
.report-tab.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border: 8px solid transparent;
  border-top-color: var(--c-navy);
}
/* 選択中チェック */
.rtab-check {
  display: none;
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-cyan);
  line-height: 1;
}
.report-tab.active .rtab-check { display: block; }
.rtab-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.rtab-meta {
  font-size: 12.5px;
  color: var(--c-muted);
  letter-spacing: .01em;
}
.report-tab.active .rtab-meta { color: rgba(255,255,255,.78); }
.report-tab.active .rtab-badge { background: rgba(255,255,255,.18); color: #fff; }
.rtab-badge {
  display: inline-block;
  width: fit-content;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--c-navy);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: .05em;
}
.rtab-badge-b { background: var(--c-cyan-deep); }
.report-tab.active .rtab-badge-b { background: var(--c-cyan); color: var(--c-navy); }
@media (max-width: 640px) {
  .report-tabs-nav { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   13. Report Sample — レポートカード・サマリー
--------------------------------------------------------------- */
.rpt-cover {
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  background: var(--c-bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.rpt-cover-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 6px;
}
.rpt-cover-sub {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.85;
  margin: 0;
}
.rpt-sample-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  background: #e8f4fb;
  color: var(--c-navy);
  border: 1px solid var(--c-navy);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  align-self: flex-start;
}
.risk-critical {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-alert-soft);
  border: 1.5px solid var(--c-alert);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-alert);
  margin-bottom: 20px;
}
.rpt-kpi-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.rpt-kpi {
  flex: 1;
  min-width: 120px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
}
.rpt-kpi-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.1;
  font-family: var(--font-en);
  display: block;
}
.rpt-kpi-num small { font-size: 16px; }
.rpt-kpi-label { font-size: 12px; color: var(--c-muted); margin-top: 4px; display: block; line-height: 1.4; }
.rpt-kpi-alert .rpt-kpi-num { color: var(--c-alert); }

/* Improvement table */
.improve-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
}
.improve-table th {
  background: var(--c-navy);
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.improve-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
  line-height: 1.65;
}
.improve-table tr:last-child td { border-bottom: none; }
.improve-table tr:nth-child(even) td { background: var(--c-bg-soft); }
.improve-num {
  font-weight: 700;
  color: var(--c-navy);
  white-space: nowrap;
}

/* Comparison table (WAF未導入) */
.cmp-risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
}
.cmp-risk-table th {
  background: var(--c-bg-soft-2);
  color: var(--c-navy);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--c-line);
}
.cmp-risk-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: middle;
  line-height: 1.5;
}
.cmp-risk-table tr:last-child td { border-bottom: none; }
.risk-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.risk-critical-badge { background: var(--c-alert-soft); color: var(--c-alert); border: 1px solid var(--c-alert); }
.risk-high-badge { background: #fff5e6; color: #b45309; border: 1px solid #f59e0b; }
.risk-med-badge { background: #fefce8; color: #854d0e; border: 1px solid #ca8a04; }

/* Download note bar */
.dl-note-bar {
  background: var(--c-bg-tint-nv);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.dl-note-icon {
  width: 40px;
  height: 40px;
  background: var(--c-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.dl-note-text strong { color: var(--c-navy); font-size: 15px; }
.dl-note-text p { font-size: 14px; color: var(--c-muted); margin: 4px 0 0; }

/* ---------------------------------------------------------------
   14. CTA フォーム — WP 受け取りトグル
--------------------------------------------------------------- */
.cf-wp-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,188,212,0.35);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
}
.cf-wp-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-cyan);
  cursor: pointer;
}
.cf-wp-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #fff;
}
.cf-wp-label strong { font-size: 14px; font-weight: 700; }
.cf-wp-label small  { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }
#cf-result {
  font-size: 14px;
  color: var(--c-alert);
  min-height: 16px;
}

/* ===== アンカースクロールのヘッダーオフセット ===== */
html { scroll-padding-top: 84px; }

/* ===== 統一メッセージ帯（コア・プロミス） ===== */
.msg-band {
  background: var(--c-navy);
  background-image: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-dark) 100%);
  padding: clamp(44px, 7vw, 70px) 16px;
  border-top: 3px solid var(--c-cyan);
}
.msg-band-inner {
  text-align: center;
}
.msg-band-kicker {
  margin: 0 0 16px;
  color: var(--c-cyan);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: clamp(15px, 2.4vw, 20px);
}
.msg-band-head {
  margin: 0 0 22px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.25;
}
.msg-band-body {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 2.1vw, 18px);
  line-height: 1.88;
}
.msg-band-body strong {
  color: var(--c-cyan);
  font-weight: 700;
}
.tagline-accent { color: var(--c-cyan); }
@media (max-width: 640px) {
  .msg-band-br { display: none; }
}

/* ===== ストーリー（困った→相談→レポート→ハッピー） ===== */
.story-sec { background: var(--c-bg-soft); }
.story {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.story-step {
  position: relative;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.story-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  color: var(--c-cyan);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  z-index: 2;
}
.story-step:last-child::after { display: none; }
.story-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-bg-tint-nv);
  color: var(--c-navy);
  margin-bottom: 14px;
}
.story-icon svg { width: 28px; height: 28px; }
.story-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--c-cyan-dark);
  margin-bottom: 8px;
}
.story-title {
  display: block;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--c-ink);
  margin-bottom: 8px;
  line-height: 1.5;
}
.story-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.story-step-happy {
  border-color: var(--c-cyan);
  background: var(--c-bg-tint-cy);
}
.story-step-happy .story-icon {
  background: var(--c-cyan);
  color: #fff;
}
@media (max-width: 900px) {
  .story { grid-template-columns: repeat(2, 1fr); }
  .story-step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .story { grid-template-columns: 1fr; }
  .story-step { padding: 24px 18px 20px; }
  .story-step::after {
    content: "↓";
    top: auto;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
  }
  .story-step:nth-child(2)::after { display: block; }
  .story-step:last-child::after { display: none; }
}

/* ===== 統一フロー図（デザイン強化版） ===== */
.flowmap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 0 6px;
}
.fm-ic { display: inline-flex; align-items: center; justify-content: center; }
.fm-ic svg { width: 32px; height: 32px; }
.fm-ic-sm { display: inline-flex; }
.fm-ic-sm svg { width: 20px; height: 20px; }

.fm-actors { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.fm-actor {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 13px 14px;
  min-width: 178px;
  box-shadow: var(--shadow-sm);
}
.fm-actor .fm-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; }
.fm-actor .fm-ic svg { width: 24px; height: 24px; }
.fm-actor-user .fm-ic { background: var(--c-bg-tint-nv); color: var(--c-navy); }
.fm-actor-bad { border-color: #f3c9c4; background: #fff7f6; }
.fm-actor-bad .fm-ic { background: var(--c-alert-soft); color: var(--c-alert); }
.fm-actor-label {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-ink);
  line-height: 1.3;
}
.fm-actor-label small {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--c-muted);
  margin-top: 3px;
}

.fm-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 22px 12px;
  min-width: 132px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fm-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fm-node .fm-ic {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--c-bg-tint-nv);
  color: var(--c-navy);
  margin-bottom: 4px;
}
.fm-node strong { font-size: 16px; color: var(--c-ink); }
.fm-node small { font-size: 12.5px; color: var(--c-muted); line-height: 1.6; }

.fm-key {
  border: 2px solid var(--c-cyan);
  background: var(--c-bg-tint-cy);
  box-shadow: 0 0 0 6px rgba(0,188,212,.08), var(--shadow-md);
}
.fm-key .fm-ic { background: var(--c-cyan); color: #fff; }
.fm-key strong { color: var(--c-cyan-deep); }
.fm-key-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px -3px rgba(0,188,212,.6);
}

.fm-arrow {
  flex: 0 0 auto;
  align-self: center;
  color: var(--c-cyan);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
}
.fm-arrow-key { color: var(--c-cyan-dark); font-size: 30px; }

.fm-report {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(160deg, var(--c-navy), var(--c-navy-dark));
  border-radius: 16px;
  padding: 18px 15px;
  min-width: 214px;
  max-width: 240px;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.fm-report-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}
.fm-report-head .fm-ic-sm { color: var(--c-cyan); }
.fm-report-panel {
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}
.fm-panel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,.16);
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 5px;
}
.fm-report-panel-add { background: rgba(0,188,212,.16); }
.fm-panel-tag-add { background: var(--c-cyan); color: #06303a; }

@media (max-width: 980px) {
  .flowmap { flex-direction: column; align-items: stretch; gap: 10px; }
  .fm-actors { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .fm-actor { flex: 1 1 200px; }
  .fm-node, .fm-report { width: 100%; max-width: none; min-width: 0; box-sizing: border-box; }
  .fm-node { flex-direction: row; gap: 16px; text-align: left; align-items: center; }
  .fm-node .fm-ic { flex: 0 0 auto; }
  .fm-key-flag { top: -12px; left: 26px; transform: none; }
  .fm-arrow { transform: rotate(90deg); }
}

/* ===== 追従CTA ===== */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-navy);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -6px rgba(0,188,212,.5), var(--shadow-md);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.float-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-cta span { font-size: 16px; }
.fc-text strong { color: var(--c-cyan); }
.float-cta:hover { background: var(--c-navy-dark, #0d2e4a); color: #fff; }
@media (max-width: 560px) {
  .float-cta { right: 12px; bottom: 12px; padding: 11px 18px; font-size: 14px; }
}

/* ===== アコーディオン（段階開示） ===== */
details.case-findings-preview > summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  color: var(--c-navy);
  position: relative;
  padding-right: 22px;
}
details.case-findings-preview > summary::-webkit-details-marker { display: none; }
details.case-findings-preview > summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  font-weight: 700;
  color: var(--c-cyan-dark);
}
details.case-findings-preview[open] > summary::after { content: "−"; }

.faq-more {
  margin-top: 8px;
  border-top: 1px dashed var(--c-line-strong);
  padding-top: 10px;
  text-align: center;
}
.faq-more > summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-navy);
  padding: 8px 26px 8px 10px;
  position: relative;
}
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary::after {
  content: "＋";
  position: absolute;
  right: 8px;
  font-weight: 700;
  color: var(--c-cyan-dark);
}
.faq-more[open] > summary::after { content: "−"; }
.faq-more-body { text-align: left; margin-top: 8px; }

/* ===== 伴走サポート（圧縮） ===== */
.support-compact {
  margin-top: 28px;
  text-align: center;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 18px 22px;
}
.support-compact-title {
  display: block;
  font-size: 15px;
  color: var(--c-navy);
  margin-bottom: 6px;
}
.support-compact-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}
.support-compact-line b { color: var(--c-ink); font-weight: 700; }

/* ===== 課題統合：顧客の悩み（ダーク版） ===== */
.pain-dark { margin-top: 44px; }
.pain-dark-head {
  text-align: center;
  color: #fff;
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 700;
  margin: 0 0 18px;
}
.pain-dark-list {
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pain-dark-list li {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 12px 14px 12px 40px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  line-height: 1.6;
}
.pain-dark-list li::before {
  content: "!";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-alert);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cause-dark {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(0,188,212,.12);
  border: 1px solid rgba(0,188,212,.35);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.7;
}
.cause-dark strong { color: var(--c-cyan); }
@media (max-width: 640px) {
  .pain-dark-list { grid-template-columns: 1fr; }
}

/* ===== 実績ハイライト ===== */
.result-highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 48px;
  margin-bottom: 30px;
  text-align: center;
}
.rh-stat { min-width: 160px; }
.rh-stat b {
  display: block;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.1;
}
.rh-stat b small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.rh-stat span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--c-muted);
  line-height: 1.5;
}
.rh-stat-alert b { color: var(--c-alert); }
.result-cta { text-align: center; }

/* ===== 3層AI分析（コンパクト水面図） ===== */
.layers3 {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.l3-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  padding: 14px 18px;
}
.l3-shallow { background: var(--c-bg-soft); border: 1px solid var(--c-line); }
.l3-deep {
  background: linear-gradient(180deg, var(--c-navy), var(--c-navy-dark));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.l3-tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--c-muted);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 4px 8px;
}
.l3-tag-cy { color: #06303a; background: var(--c-cyan); border-color: var(--c-cyan); }
.l3-body { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.4; }
.l3-body strong { font-size: 15px; }
.l3-shallow .l3-body strong { color: var(--c-ink); }
.l3-deep .l3-body strong { color: #fff; }
.l3-body span { font-size: 14px; margin-top: 2px; }
.l3-shallow .l3-body span { color: var(--c-muted); }
.l3-deep .l3-body span { color: rgba(255,255,255,.78); }
.l3-note {
  flex: 0 0 auto;
  text-align: right;
  font-size: 11.5px;
  color: var(--c-muted);
  line-height: 1.4;
}
.l3-stat {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 800;
  color: var(--c-cyan);
  white-space: nowrap;
}
.l3-stat small { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.7); margin-left: 2px; }
.l3-waterline {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--c-cyan);
  margin: 4px 6px;
}
.l3-waterline span {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-bg);
  color: var(--c-cyan-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 0 8px;
}
.l3-below-note {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--c-cyan-dark);
  font-weight: 700;
  margin-top: 2px;
}
.solution-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 22px;
}
.sol-badge {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  background: var(--c-bg-tint-cy);
  border: 1px solid rgba(0,188,212,.3);
  border-radius: 14px;
  padding: 12px 22px;
}
.sol-badge b { color: var(--c-navy); font-weight: 700; }
@media (max-width: 560px) {
  .sol-badge { font-size: 14.5px; }
}
@media (max-width: 560px) {
  .l3-row { flex-wrap: wrap; gap: 8px 12px; }
  .l3-note, .l3-stat { flex-basis: 100%; text-align: left; }
}

/* ===== 氷山図 デザイン強化 ===== */
.ice-enhanced { position: relative; }
.ice-enhanced::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 -46px 64px -22px rgba(8,26,44,.55),
              inset 0 34px 54px -34px rgba(255,255,255,.28);
}
.ice-enhanced .ice-card { transition: transform .2s ease, box-shadow .2s ease; }
.ice-enhanced .ice-card-light { box-shadow: 0 10px 26px -12px rgba(15,44,73,.34); }
.ice-enhanced .ice-card-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.ice-enhanced .ice-waterline span {
  font-size: 14px;
  font-weight: 800;
  padding: 9px 26px;
  letter-spacing: .06em;
  box-shadow: 0 0 0 5px rgba(0,188,212,.28), 0 6px 20px -4px rgba(0,0,0,.38);
}
.ice-enhanced .ice-zone {
  font-size: 14px;
  padding: 8px 20px;
  margin-bottom: 20px;
}
.ice-enhanced .ice-zone-up {
  background: rgba(31,78,121,.22);
  border: 1.5px solid rgba(31,78,121,.35);
  color: var(--c-navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.ice-enhanced .ice-zone-down {
  background: linear-gradient(135deg, rgba(0,188,212,.5), rgba(0,150,180,.3));
  border: 1.5px solid rgba(0,188,212,.7);
  color: #fff;
  font-size: 15px;
  text-shadow: 0 0 14px rgba(0,188,212,.9);
  box-shadow: 0 0 24px rgba(0,188,212,.4), 0 4px 14px rgba(0,0,0,.28);
}
.ice-enhanced .ice-stat b { text-shadow: 0 0 18px rgba(0,188,212,.5); }

/* ===== 見えない壁 — 分断プレート型（lp-styles.css の .layers-line を上書き） ===== */
.layers-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  margin: 8px 0;
}
.layers-line::before,
.layers-line::after { content: none; }
.layers-line span {
  background: none;
  color: inherit;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.layers-line span::before { content: none; }

.layers-line .ll-up,
.layers-line .ll-down {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
.layers-line .ll-up { color: var(--c-cyan-deep, #0097a7); }
.layers-line .ll-down { color: var(--c-muted); }

.ll-band {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  border-top: 3px double var(--c-navy);
  border-bottom: 3px double var(--c-navy);
}
.layers-line .ll-plate {
  background: var(--c-navy);
  color: #fff;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 14px 32px;
  border: 1.5px solid var(--c-cyan);
  border-radius: 5px;
  box-shadow: 0 12px 26px -8px rgba(31,78,121,.5);
}
@media (max-width: 640px) {
  .layers-line .ll-plate { font-size: 14px; padding: 11px 18px; }
  .layers-line .ll-up,
  .layers-line .ll-down { font-size: 12px; text-align: center; }
}

/* ===== 差別化の3本柱 ===== */
.diff-pillars {
  max-width: 980px;
  margin: 0 auto 40px;
}
.diff-pillars-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-navy);
  text-align: center;
  margin: 0 0 18px;
}
.diff-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.diff-pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
}
.diff-pillar-no {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-cyan-deep, #0097a7);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.diff-pillar-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.5;
  margin-bottom: 8px;
}
.diff-pillar-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0;
}
@media (max-width: 640px) {
  .diff-pillars-grid { grid-template-columns: 1fr; }
}

/* layers-head内のmutedは行間を絞る（デフォルト1.8は広すぎる） */
.layers-head .muted { line-height: 1.55; }

/* ===== 運営会社・開発体制セクション ===== */
.company {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line);
  padding: 64px 0;
}
.company-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-navy);
  text-align: center;
  margin: 0 0 12px;
}
.company-lead {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.company-lead strong { color: var(--c-navy); font-weight: 700; }
.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.company-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.company-logo-wrap {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 16px;
}
.company-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  margin-bottom: 0;
  object-fit: contain;
}
.company-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-cyan-deep, #0097a7);
  background: rgba(0,188,212,.10);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.company-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0 0 10px;
}
.company-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
}
.company-meta {
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.7;
}
.company-meta dt { color: var(--c-muted); font-weight: 700; margin-bottom: 2px; }
.company-meta dd { color: var(--c-ink-soft); margin: 0; }
.company-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.company-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.company-links a:hover { border-bottom-color: var(--c-navy); }
@media (max-width: 640px) {
  .company-grid { grid-template-columns: 1fr; }
  .company { padding: 48px 0; }
}

/* ===== 比較表：＋ミツケル列の強調（lp-styles.css を上書き） ===== */
.cmp thead th.cmp-col-key {
  background: var(--c-navy);
  color: #fff;
  font-weight: 800;
}
.cmp tbody td.cmp-col-key,
.cmp tbody tr:nth-child(even) td.cmp-col-key {
  background: #d3f1f7;
  font-weight: 700;
  color: var(--c-ink);
}
.cmp tbody tr:nth-child(even) td.cmp-col-key { background: #c5ebf3; }
.cmp tbody td.cmp-col-key .muted { color: var(--c-ink-soft); }

/* ===== パートナーカード — Mitsukeru が加えること dd ハイライト ===== */
.dd-mit {
  background: linear-gradient(135deg, rgba(0,188,212,.10) 0%, rgba(0,188,212,.05) 100%);
  border: 1px solid rgba(0,188,212,.3);
  border-left: 3px solid var(--c-cyan);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--c-ink);
}
.dd-mit strong {
  color: var(--c-cyan-deep);
  background: linear-gradient(transparent 55%, rgba(0,188,212,.28) 55%);
  padding: 0 2px;
}

/* ===== パートナーセクション 締めコピー ===== */
.partner-closing {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  color: var(--c-ink);
  padding: 36px 40px;
  background: var(--c-navy);
  color: rgba(255,255,255,.92);
  border-radius: 16px;
  box-shadow: 0 12px 32px -10px rgba(31,78,121,.35);
  position: relative;
}
.partner-closing::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300BCD4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 640px) {
  .partner-closing { padding: 28px 22px; }
}

/* ==============================================================
   02 — 課題 メインビジュアル（ClaudeDesign実装）
   全クラス u- 名前空間。グローバル --c-alert 等は上書きせず
   .urg2 スコープ変数 --ua/--uw を使用。
   ============================================================== */
.urg2 {
  --ua: #ff6b5e;   /* dark背景向け threat red */
  --uw: #f0b54e;   /* dark背景向け warn amber */
  --u-ink-80: rgba(255,255,255,.80);
  --u-ink-65: rgba(255,255,255,.65);
  --u-ink-45: rgba(255,255,255,.45);
  --u-line: rgba(255,255,255,.10);
  --u-line-2: rgba(255,255,255,.18);
  position: relative;
  z-index: 2;
  color: #fff;
}
.urg2 .u-en { font-family: var(--font-en); font-variant-numeric: tabular-nums; }

/* ---------- eyebrow ---------- */
.u-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-cyan); background: rgba(0,188,212,.14);
  border: 1px solid rgba(0,188,212,.30);
  padding: 6px 14px; border-radius: 99px; width: fit-content;
}
.u-eyebrow .u-ja { font-family: var(--font-jp); letter-spacing: .08em; }
.u-eyebrow.u-alert { color: #ffb4ab; background: rgba(255,107,94,.12); border-color: rgba(255,107,94,.32); }
.u-eyebrow .u-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(0,188,212,.16); }
.u-eyebrow.u-alert .u-dot { box-shadow: 0 0 0 4px rgba(255,107,94,.16); }

/* ---------- hero ---------- */
.u-hero { position: relative; overflow: hidden; padding: 8px 0 44px; }
.u-logstream {
  position: absolute; top: -8px; right: -24px; bottom: 0; width: min(540px, 46%); z-index: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 58%,#000 88%,transparent);
          mask-image: linear-gradient(90deg,transparent,#000 58%,#000 88%,transparent);
}
.u-logstream .ln { font-family: var(--font-en); font-size: 11px; line-height: 2.05; white-space: nowrap; color: rgba(255,255,255,.09); }
.u-logstream .ln .cy { color: rgba(0,188,212,.30); }
.u-logstream .ln .rd { color: rgba(255,107,94,.34); }
.u-h1 {
  position: relative; z-index: 1;
  font-family: var(--font-jp); font-weight: 900;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.24; letter-spacing: -.01em;
  margin: 22px 0 0; color: #fff;
}
.u-accent { position: relative; white-space: nowrap; }
.u-accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .16em;
  background: var(--c-cyan); opacity: .55; border-radius: 3px;
}
.u-lede {
  position: relative; z-index: 1;
  font-size: clamp(16px, 2.2vw, 19px); line-height: 1.85; color: var(--u-ink-80);
  font-weight: 500; margin-top: 22px; max-width: 720px;
}
.u-lede b { color: #fff; font-weight: 700; }

/* ---------- section blocks ---------- */
.u-sec { padding: 46px 0; border-top: 1px solid var(--u-line); }
.u-head { margin-bottom: 28px; }
.u-h2 {
  font-family: var(--font-jp); font-weight: 900;
  font-size: clamp(21px, 3vw, 28px); line-height: 1.34; letter-spacing: -.005em;
  margin: 16px 0 0; color: #fff;
  display: flex; align-items: flex-start; gap: 14px;
}
.u-h2text { flex: 1; }
.u-sub { font-size: clamp(14px, 1.6vw, 15.5px); color: var(--u-ink-65); margin-top: 11px; font-weight: 500; line-height: 1.7; }
.u-sub b { color: #fff; font-weight: 700; }

/* icon wrappers */
.u-ico { flex: none; width: 48px; height: 48px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.u-ico svg { width: 26px; height: 26px; }
.u-ico-threat { background: rgba(255,107,94,.13); color: var(--ua); border: 1px solid rgba(255,107,94,.24); }
.u-ico-warn   { background: rgba(240,181,78,.13); color: var(--uw); border: 1px solid rgba(240,181,78,.24); }
.u-ico-cyan   { background: rgba(0,188,212,.13); color: var(--c-cyan); border: 1px solid rgba(0,188,212,.24); }

/* ---------- feature stat (1,325) ---------- */
.u-feat {
  display: grid; grid-template-columns: 392px 1fr;
  border: 1px solid var(--u-line); border-radius: var(--radius-lg, 14px); overflow: hidden;
  background: rgba(255,255,255,.035); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.u-big {
  padding: 38px 36px; border-right: 1px solid var(--u-line);
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, rgba(255,107,94,.10), transparent 80%); position: relative;
}
.u-big::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ua); }
.u-num { font-family: var(--font-en); font-variant-numeric: tabular-nums; font-weight: 800; font-size: clamp(48px, 7vw, 74px); line-height: 1; color: #fff; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 8px; }
.u-unit { font-family: var(--font-jp); font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; letter-spacing: 0; color: var(--ua); }
.u-num-alert { color: var(--ua); }
.u-num-alert .u-unit { color: var(--u-ink-65); }
.u-cap { font-size: 14.5px; color: #fff; margin-top: 16px; line-height: 1.7; font-weight: 600; }
.u-tag { font-family: var(--font-en); font-size: 11px; letter-spacing: .06em; color: var(--u-ink-45); margin-top: 12px; }
.u-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.u-body p { font-size: clamp(15px, 1.9vw, 18px); line-height: 1.9; color: var(--u-ink-80); font-weight: 500; }
.u-hl { color: #fff; font-weight: 700; }
.u-hlred { color: #ff9389; font-weight: 700; }

/* ---------- duo danger stats ---------- */
.u-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.u-scard {
  border: 1px solid var(--u-line); border-radius: var(--radius-lg, 14px); padding: 28px 28px 26px;
  background: rgba(255,255,255,.04); position: relative; overflow: hidden;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.u-scard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ua); }
.u-scard .u-meta { font-family: var(--font-en); font-size: 11px; letter-spacing: .14em; color: var(--u-ink-45); text-transform: uppercase; }
.u-scard .u-num { font-size: clamp(36px, 5vw, 50px); margin-top: 12px; }
.u-scard .u-num .u-unit { font-family: var(--font-jp); font-size: 19px; color: var(--u-ink-65); font-weight: 600; }
.u-scard .u-desc { font-size: 15.5px; line-height: 1.75; color: #fff; margin-top: 14px; font-weight: 600; }
.u-scard .u-desc span { color: var(--u-ink-65); font-weight: 500; }
.u-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--font-jp); font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: #ffb4ab; background: rgba(255,107,94,.12); border: 1px solid rgba(255,107,94,.30);
  padding: 6px 13px; border-radius: 99px;
}
.u-badge .u-d { width: 6px; height: 6px; border-radius: 50%; background: var(--ua); }
.u-scard.u-warn::before { background: var(--uw); }
.u-scard.u-warn .u-badge { color: #f6cd82; background: rgba(240,181,78,.12); border-color: rgba(240,181,78,.30); }
.u-scard.u-warn .u-badge .u-d { background: var(--uw); }

.u-foot { margin-top: 20px; padding: 18px 22px; border: 1px dashed var(--u-line-2); border-radius: var(--radius-md, 10px); background: rgba(255,255,255,.02); }
.u-foot p { font-size: 13.5px; line-height: 1.8; color: var(--u-ink-65); font-weight: 500; }
.u-foot p + p { margin-top: 8px; }
.u-mk { font-family: var(--font-en); font-size: 10.5px; letter-spacing: .1em; color: var(--c-cyan); margin-right: 8px; font-weight: 700; }
.u-truth { color: #fff; font-weight: 700; }
.u-foot b { color: #fff; }

/* ---------- turn — 貴社の次の一手 ---------- */
.u-turn { border-top: 1px solid rgba(0,188,212,.28); background: linear-gradient(180deg, rgba(0,188,212,.10), rgba(0,188,212,.02) 60%, transparent); }
.u-turngrid { display: grid; grid-template-columns: 430px 1fr; gap: 36px; align-items: center; }
.u-panel {
  border: 1px solid rgba(0,188,212,.35); border-radius: var(--radius-lg, 14px); padding: 34px 34px 30px;
  background: linear-gradient(160deg, rgba(0,188,212,.14), rgba(255,255,255,.03));
  position: relative; overflow: hidden; box-shadow: 0 14px 36px -10px rgba(0,188,212,.24);
}
.u-flag {
  position: absolute; top: -1px; left: 28px;
  font-family: var(--font-jp); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--c-cyan-deep); background: var(--c-cyan); padding: 5px 13px; border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px -2px rgba(0,188,212,.5);
}
.u-panel .u-meta { font-family: var(--font-en); font-size: 11px; letter-spacing: .14em; color: var(--c-cyan); text-transform: uppercase; margin-top: 18px; }
.u-panel .u-num { font-size: clamp(44px, 6.5vw, 68px); margin-top: 12px; }
.u-panel .u-num .u-unit { color: var(--c-cyan); }
.u-panel .u-desc { font-size: 15.5px; line-height: 1.75; color: #fff; margin-top: 16px; font-weight: 600; }
.u-panel .u-desc .u-hl { color: var(--c-cyan); font-weight: 700; }
.u-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-en); font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--c-cyan); background: rgba(0,188,212,.10); border: 1px solid rgba(0,188,212,.32);
  padding: 7px 14px; border-radius: 99px;
}
.u-talk p { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.95; color: #fff; font-weight: 500; }
.u-talk p .u-hl { color: var(--c-cyan); font-weight: 700; }
.u-vstrong { color: #fff; font-weight: 800; }

/* ---------- pain list ---------- */
.u-pains { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.u-pain {
  display: flex; gap: 15px; align-items: flex-start;
  border: 1px solid var(--u-line); border-radius: var(--radius-md, 10px); padding: 20px 22px;
  background: rgba(255,255,255,.04);
}
.u-chk {
  flex: none; width: 30px; height: 30px; border-radius: 7px;
  border: 1px solid rgba(255,107,94,.40); background: rgba(255,107,94,.10);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 800; font-size: 13px; color: var(--ua);
}
.u-pain p { font-size: 15px; line-height: 1.7; color: #fff; font-weight: 600; padding-top: 3px; }
.u-pain p b { color: #ff9389; font-weight: 700; }
.u-cause {
  margin-top: 18px; display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--u-line-2); border-radius: var(--radius-md, 10px); padding: 22px 26px;
  background: linear-gradient(110deg, rgba(240,181,78,.07), rgba(255,255,255,.02));
  position: relative; overflow: hidden;
}
.u-cause::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, var(--c-cyan) 50%, transparent); }
.u-causetag { flex: none; font-family: var(--font-jp); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--c-cyan-deep); background: var(--uw); padding: 6px 12px; border-radius: 5px; margin-top: 2px; white-space: nowrap; }
.u-cause p { font-size: 16px; line-height: 1.85; color: var(--u-ink-65); font-weight: 500; }
.u-cause p b { color: #fff; font-weight: 700; }
.u-am { color: var(--uw); font-weight: 700; }

/* ---------- end strip ---------- */
.u-endstrip {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 44px; padding: 20px 0 0; border-top: 1px solid var(--u-line);
}
.u-el { font-family: var(--font-en); font-size: 11px; letter-spacing: .16em; color: var(--u-ink-45); }
.u-er { display: flex; align-items: center; gap: 9px; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; color: var(--u-ink-65); }
.u-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--c-cyan); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes u-pulse-kf { 0%{box-shadow:0 0 0 0 rgba(0,188,212,.5)} 70%{box-shadow:0 0 0 7px rgba(0,188,212,0)} 100%{box-shadow:0 0 0 0 rgba(0,188,212,0)} }
  .u-pulse { animation: u-pulse-kf 2.4s infinite; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .u-turngrid { grid-template-columns: 1fr; gap: 22px; }
  .u-panel { padding: 30px 26px 26px; }
}
@media (max-width: 760px) {
  .u-feat { grid-template-columns: 1fr; }
  .u-big { border-right: none; border-bottom: 1px solid var(--u-line); }
  .u-body { padding: 28px 26px; }
}
@media (max-width: 640px) {
  .u-duo { grid-template-columns: 1fr; }
  .u-pains { grid-template-columns: 1fr; }
  .u-sec { padding: 38px 0; }
  .u-h2 { gap: 11px; }
  .u-ico { width: 42px; height: 42px; }
  .u-ico svg { width: 23px; height: 23px; }
  .u-logstream { display: none; }
  .u-cause { flex-direction: column; gap: 12px; }
  .u-endstrip { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* === ナビ brand-by（A案：by インフラレッド合同会社） === */
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-by {
  font-size: 10.5px;
  color: var(--c-muted);
  font-weight: 400;
  opacity: .72;
  line-height: 1;
  letter-spacing: .01em;
}

/* === Trustbar A案：左＝対応プラットフォーム、右＝Fastly認定バッジ === */
.tb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.tb-platforms {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
  font-family: var(--font-en);
}
.tb-plist {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0; margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-soft);
  flex-wrap: wrap;
}
.tb-plist li + li::before {
  content: '|';
  margin: 0 10px;
  color: var(--c-line);
  font-weight: 300;
}
.tb-cert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
  background: rgba(31, 78, 121, .06);
  border: 1px solid rgba(31, 78, 121, .22);
  border-radius: 6px;
  padding: 6px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .brand-by { display: none; }
  .tb-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tb-plist { font-size: 12.5px; }
  .tb-cert { font-size: 12px; padding: 5px 11px; }
}

/* === アクセシビリティ：フォーカスリング === */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #00BCD4;
  outline-offset: 3px;
  border-radius: 2px;
}
