/* ===================================================
   partners.css — Dr.'s パートナープログラム
   エディトリアル（誌面風）：罫線・番号・大きなタイポ・余白
   =================================================== */

:root {
  --ink:       #0f1115;
  --ink-2:     #3f434b;
  --muted:     #8b9099;
  --line:      #e6e8eb;
  --line-2:    #c9cdd3;
  --paper:     #ffffff;
  --paper-2:   #f7f8f9;
  --pp-accent: #1aa6c9;       /* テキスト用（白地でも視認できる濃さ） */
  --pp-brand:  #7DD9ED;       /* ブランドの明るいシアン（面・差し色） */
  --pp-tint:   #f1fafd;       /* ごく淡いシアンの面 */
}

/* ---- ベース ---- */
.pp-page { color: var(--ink); background: var(--paper); }
.pp-page ::selection { background: #d7f1f8; }
.ed-wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ナビが白背景に乗るための調整（固定ナビの分の余白） */
.ed-sec { padding: 104px 0; }
.ed-sec--tight { padding: 72px 0; }
.ed-sec--alt { background: var(--pp-tint); }

/* ---- 見出し（罫線＋ラベル＋番号＋大きな左寄せタイトル） ---- */
.ed-head { border-top: 1px solid var(--line-2); padding-top: 20px; margin-bottom: 56px; }
.ed-head-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 30px;
}
.ed-kicker {
  font-size: 0.72rem; letter-spacing: 0.24em; font-weight: 700;
  text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
}
.ed-kicker::before {
  content: ''; width: 22px; height: 4px; background: var(--pp-brand); border-radius: 2px;
}
.ed-num { font-size: 0.78rem; font-weight: 700; color: var(--pp-accent); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.ed-title {
  font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.14; color: var(--ink);
}
.ed-lead { margin-top: 20px; max-width: 660px; font-size: 1.02rem; color: var(--ink-2); line-height: 1.95; }

/* =====================================================
   HERO
   ===================================================== */
.ed-hero { padding: 128px 0 0; background: var(--paper); }
.ed-hero-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line-2); padding-bottom: 16px;
  font-size: 0.72rem; letter-spacing: 0.22em; font-weight: 700; text-transform: uppercase;
}
.ed-hero-meta .ed-hero-meta-r { color: var(--muted); }
.ed-hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px;
  padding: 64px 0 96px; align-items: start;
}
.ed-hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.12; color: var(--ink);
  margin-bottom: 28px;
}
.ed-hero-title > .u:first-child, .ed-hero-title { } /* "Dr.'s" 行 */
.ed-hero-title .u { box-shadow: inset 0 -0.16em 0 var(--pp-brand); }
.ed-hero-lead { font-size: 1.08rem; color: var(--ink-2); line-height: 1.95; max-width: 480px; margin-bottom: 36px; }

/* スペック行（罫線で仕切る） */
.ed-specs { display: flex; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.ed-spec { padding: 22px 32px 22px 0; }
.ed-spec + .ed-spec { padding-left: 32px; border-left: 1px solid var(--line); }
.ed-spec b { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ed-spec span { font-size: 0.8rem; color: var(--muted); font-weight: 600; margin-top: 6px; display: block; }
/* キーポイント（罫線リスト） */
.ed-points { margin: 4px 0 36px; max-width: 480px; }
.ed-points li {
  display: flex; gap: 14px; align-items: baseline;
  border-top: 1px solid var(--line); padding: 16px 2px;
  font-size: 1rem; font-weight: 600; color: var(--ink-2);
}
.ed-points li:last-child { border-bottom: 1px solid var(--line); }
.ed-points li::before {
  content: ''; flex-shrink: 0; width: 9px; height: 9px;
  background: var(--pp-brand); transform: translateY(1px);
}
.ed-points li b { font-weight: 800; color: var(--ink); }
.ed-hero-actions { margin-top: 4px; }

/* テキストリンク風CTA */
.ed-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--ink); padding-bottom: 4px;
  transition: gap 0.2s, color 0.2s;
}
.ed-link:hover { gap: 16px; color: var(--pp-accent); border-color: var(--pp-accent); }

/* ボタン（塗り） */
.ed-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-size: 0.95rem; font-weight: 700;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.ed-btn:hover { background: #fff; color: var(--ink); }
.ed-btn--ghost { background: transparent; color: var(--ink); }
.ed-btn--ghost:hover { background: var(--ink); color: #fff; }

/* 問い合わせフォーム（罫線・下線入力） */
.ed-form { border: 1px solid var(--line-2); padding: 36px 34px; background: var(--paper); }
.ed-form h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.ed-form .ed-form-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 26px; }
.ed-field { margin-bottom: 22px; }
.ed-field label {
  display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); margin-bottom: 8px;
}
.ed-field label .ed-req, .ed-field label .ed-opt {
  margin-left: 7px; font-size: 0.6rem; letter-spacing: 0.02em; font-weight: 800;
  padding: 1px 6px; border-radius: 3px; vertical-align: middle;
}
.ed-field label .ed-req { color: #c0392b; background: #fdeae8; }
.ed-field label .ed-opt { color: var(--muted); background: var(--paper-2); }
.ed-field input, .ed-field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--line-2);
  padding: 8px 0; font-size: 0.98rem; font-family: var(--font); color: var(--ink);
  background: transparent; transition: border-color 0.2s;
}
.ed-field input::placeholder, .ed-field textarea::placeholder { color: #c2c6cc; }
.ed-field input:focus, .ed-field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.ed-field textarea { resize: vertical; min-height: 52px; }
.ed-form-btn {
  width: 100%; margin-top: 6px; padding: 16px; border: none; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem; font-family: var(--font);
  transition: opacity 0.2s;
}
.ed-form-btn:hover { opacity: 0.85; }
.ed-form-note { font-size: 0.72rem; color: var(--muted); text-align: center; margin-top: 14px; }
.ed-form-done { padding: 40px 0; text-align: center; }
.ed-form-done .ed-form-done-mark { font-size: 2rem; }
.ed-form-done p { font-weight: 800; margin: 12px 0 6px; }
.ed-form-done span { font-size: 0.84rem; color: var(--muted); }

/* =====================================================
   PRODUCT
   ===================================================== */
.ed-product { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.ed-product-figure { border: 1px solid var(--line-2); }
.ed-product-figure img { width: 100%; display: block; }
.ed-product-cap { font-size: 0.76rem; color: var(--muted); margin-top: 12px; letter-spacing: 0.02em; }
.ed-deflist { margin-top: 4px; }
.ed-deflist dt {
  font-size: 1rem; font-weight: 800; color: var(--ink);
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px;
  display: flex; align-items: baseline; gap: 12px;
}
.ed-deflist dt::before { content: attr(data-n); font-size: 0.74rem; color: var(--muted); font-weight: 700; }
.ed-deflist dd { font-size: 0.9rem; color: var(--ink-2); line-height: 1.7; padding: 6px 0 0 28px; }

/* PRODUCT — リッチレイアウト */
.ed-prod-top { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: start; margin-bottom: 4px; }
.ed-prod-figure { border: 1px solid var(--line-2); }
.ed-prod-figure img { width: 100%; display: block; }
.ed-prod-side { display: flex; flex-direction: column; }
.ed-prod-ai { padding-bottom: 8px; }
.ed-prod-ai-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--muted);
  margin-bottom: 16px;
}
.ed-prod-ai-label::before { content: ''; width: 16px; height: 3px; background: var(--pp-brand); border-radius: 2px; }
.ed-prod-block + .ed-prod-block { margin-top: 32px; }
.ed-ai-icons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.ed-ai-icons .platform-logo-wrap { width: 42px; height: 42px; border-radius: 11px; }
.ed-ai-icons .platform-logo-wrap img { width: 28px; height: 28px; }
.ed-reasons dt {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 1.02rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em;
}
.ed-reasons dt span { color: var(--pp-accent); font-size: 0.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ed-reasons dd { font-size: 0.9rem; color: var(--ink-2); line-height: 1.75; padding-left: 30px; margin: 6px 0 0; }
.ed-reasons dd:not(:last-child) { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }

.ed-featgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); margin-top: 48px; }
.ed-feat { padding: 26px 26px 26px 0; }
.ed-feat:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); padding-left: 26px; }
.ed-feat:nth-child(n+4) { border-top: 1px solid var(--line); }
.ed-feat-n { font-size: 0.78rem; font-weight: 700; color: var(--pp-accent); }
.ed-feat h4 { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; margin: 10px 0 8px; }
.ed-feat p { font-size: 0.86rem; color: var(--ink-2); line-height: 1.7; }

/* 顧客の利用料金（報酬ベース） */
.ed-prodprice { margin-top: 52px; border-top: 1px solid var(--line-2); padding-top: 28px; }
.ed-prodprice-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted);
  margin-bottom: 22px;
}
.ed-prodprice-label::before { content: ''; width: 16px; height: 3px; background: var(--pp-brand); border-radius: 2px; }
.ed-prodprice-row { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ed-prodprice-item { flex: 1; padding: 22px 28px 22px 0; }
.ed-prodprice-item + .ed-prodprice-item { border-left: 1px solid var(--line); padding-left: 28px; }
.ed-prodprice-item b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ed-prodprice-item span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.ed-prodprice-note { font-size: 0.92rem; color: var(--ink-2); margin-top: 18px; line-height: 1.8; }
.ed-prodprice-note b { color: var(--pp-accent); font-weight: 800; }

/* 機能（2カラム・小） ＋ 料金表 の横並び */
.ed-prod-fp {
  display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 56px; align-items: start;
  margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line-2);
}
.ed-minifeats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-top: 6px; }
.ed-mini { padding: 14px 0; border-top: 1px solid var(--line); }
.ed-minifeats .ed-mini:nth-child(1), .ed-minifeats .ed-mini:nth-child(2) { border-top: none; padding-top: 0; }
.ed-mini h4 { font-size: 0.96rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.ed-mini h4::before { content: ''; width: 7px; height: 7px; background: var(--pp-brand); flex-shrink: 0; }
.ed-mini p { font-size: 0.82rem; color: var(--ink-2); line-height: 1.6; }

.ed-pricetable { width: 100%; border-collapse: collapse; margin-top: 6px; }
.ed-pricetable tr { border-top: 1px solid var(--line); }
.ed-pricetable tr:last-child { border-bottom: 1px solid var(--line); }
.ed-pricetable td { padding: 15px 0; vertical-align: baseline; }
.ed-pricetable td:first-child { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.ed-pricetable td:first-child small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.ed-pricetable td:last-child { text-align: right; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.ed-price-note { font-size: 0.84rem; color: var(--ink-2); line-height: 1.75; margin-top: 18px; }
.ed-price-note b { color: var(--pp-accent); font-weight: 800; }

/* 主な機能（選択式タブ＋画像） */
.ed-feattabs { margin-top: 8px; }
.ed-feattab-nav {
  display: flex; flex-wrap: wrap; gap: 0; margin: 14px 0 36px;
  border-bottom: 1px solid var(--line-2);
}
.ed-fbtn {
  background: none; border: none; cursor: pointer; font-family: var(--font);
  font-size: 0.96rem; font-weight: 700; color: var(--muted);
  padding: 12px 22px 16px; position: relative; transition: color 0.2s;
}
.ed-fbtn:hover { color: var(--ink-2); }
.ed-fbtn.is-active { color: var(--ink); }
.ed-fbtn.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--pp-brand);
}
.ed-fpanel { display: none; grid-template-columns: 0.82fr 1.18fr; gap: 52px; align-items: center; }
.ed-fpanel.is-active { display: grid; }
.ed-fpanel-text h4 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; }
.ed-fpanel-text p { font-size: 1rem; color: var(--ink-2); line-height: 1.95; }
.ed-fpanel-fig { border: 1px solid var(--line-2); }
.ed-fpanel-fig img { width: 100%; display: block; }

/* 対応AI ｜ 料金表 */
.ed-prod-bottom {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: start;
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-2);
}

/* =====================================================
   座組（フロー図）
   ===================================================== */
.ed-flow-row { border-top: 1px solid var(--line-2); padding: 48px 0; }
.ed-flow-row:last-child { border-bottom: 1px solid var(--line); }
.ed-flow-head { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 36px; }
.ed-flow-no {
  font-size: 3.2rem; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em;
  color: var(--ink); flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.ed-flow-htext h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.ed-flow-htext p { font-size: 0.95rem; color: var(--ink-2); line-height: 1.8; max-width: 620px; }

.ed-flow { display: flex; align-items: stretch; }
.ed-node {
  flex: 1; border: 1px solid var(--ink); padding: 28px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.ed-node--fill { background: var(--pp-brand); border-color: var(--pp-brand); color: var(--ink); }
.ed-node-tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ed-node--fill .ed-node-tag { color: rgba(15,17,21,0.55); }
.ed-node-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.ed-conn { flex: 0 0 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ed-conn-label { font-size: 0.74rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ed-conn-line { width: 100%; height: 1px; background: var(--ink); position: relative; }
.ed-conn-line::after {
  content: ''; position: absolute; right: 0; top: -4px;
  border-left: 9px solid var(--ink); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}
.ed-flow-no { color: var(--pp-accent); }

/* 双方向の取引（もらう／払う）を矢印で示す */
.ed-exch { display: flex; align-items: stretch; }
.ed-exch > .ed-node { flex: 1; }
.ed-exch-mid { flex: 0 0 260px; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 0 22px; }
.ed-xrow { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ed-xlabel { font-size: 0.82rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ed-xline { position: relative; width: 100%; height: 2px; background: var(--ink); }
.ed-xline--r::after {
  content: ''; position: absolute; right: -1px; top: -4px;
  border-left: 9px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.ed-xmoney .ed-xlabel { color: var(--pp-accent); font-weight: 800; font-size: 0.95rem; }
.ed-xmoney .ed-xlabel b { font-size: 1.15rem; }
.ed-xmoney .ed-xline { background: var(--pp-accent); }
.ed-xline--l::before {
  content: ''; position: absolute; left: -1px; top: -4px;
  border-right: 9px solid var(--pp-accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.ed-exch-src { margin-top: 18px; font-size: 0.86rem; color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.ed-exch-src::before { content: '※'; }

/* =====================================================
   ランク（スペック表）
   ===================================================== */
.ed-table { width: 100%; border-collapse: collapse; }
.ed-table thead th {
  text-align: left; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); padding: 0 24px 16px 0; border-bottom: 1px solid var(--line-2);
}
.ed-table tbody td { padding: 30px 24px 30px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ed-table tbody tr:last-child td { border-bottom: 1px solid var(--line-2); }
.ed-rank-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.ed-rank-name small { display: block; font-size: 0.74rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.ed-rank-rate { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ed-rank-rate sup { font-size: 0.9rem; font-weight: 700; vertical-align: super; margin-left: 2px; }
.ed-rank-crit { font-size: 0.92rem; color: var(--ink-2); line-height: 1.7; }
.ed-rank-crit b { color: var(--ink); font-weight: 700; }
.ed-rank-crit em { font-style: normal; color: var(--muted); margin: 0 8px; font-size: 0.82rem; }
.ed-rank-crit--ask { color: var(--muted); font-weight: 600; }
.ed-rank-pri { font-size: 0.92rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ed-table tr.is-top td { background: var(--pp-tint); }
.ed-table tr.is-top td:first-child { box-shadow: inset 4px 0 0 var(--pp-brand); }
.ed-table tr.is-top .ed-rank-rate { color: var(--pp-accent); }
/* ランク色の帯（左サイド） */
.ed-table tbody td:first-child { padding-left: 20px; }
.ed-rank--sv td:first-child { box-shadow: inset 6px 0 0 #9aa5b1; }
.ed-rank--gd td:first-child { box-shadow: inset 6px 0 0 #e0a800; }
.ed-rank--pt td:first-child { box-shadow: inset 6px 0 0 #6f7dff; }
.ed-tag-top { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; color: var(--pp-accent); display: block; margin-bottom: 4px; }
.ed-notes { margin-top: 36px; max-width: 820px; }
.ed-notes li { font-size: 0.84rem; color: var(--muted); line-height: 1.7; padding-left: 18px; position: relative; margin-bottom: 6px; list-style: none; }
.ed-notes li::before { content: '—'; position: absolute; left: 0; }

/* =====================================================
   流れ（番号リスト）
   ===================================================== */
.ed-steps { border-top: 1px solid var(--line-2); }
.ed-step {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  border-bottom: 1px solid var(--line); padding: 32px 0; align-items: baseline;
}
.ed-step-no { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; color: var(--pp-accent); }
.ed-step-body h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.ed-step-body p { font-size: 0.94rem; color: var(--ink-2); line-height: 1.8; max-width: 620px; }

/* =====================================================
   FAQ
   ===================================================== */
.ed-faq { border-top: 1px solid var(--line-2); }
.ed-faq .faq-item { border: none; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin: 0; }
.ed-faq .faq-q {
  width: 100%; background: transparent; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; text-align: left; font-family: var(--font);
}
.ed-faq .faq-q span { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.ed-faq .faq-icon { color: var(--ink); transition: transform 0.3s; flex-shrink: 0; }
.ed-faq .faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.ed-faq .faq-a { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.ed-faq .faq-q[aria-expanded="true"] + .faq-a { max-height: 320px; }
.ed-faq .faq-a p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.9; padding: 0 0 26px; max-width: 760px; }

/* =====================================================
   CTA（クロージング）
   ===================================================== */
.ed-cta { background: var(--pp-brand); padding: 88px 0; }
.ed-cta-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.ed-cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.12; color: var(--ink); }
.ed-cta p { font-size: 0.98rem; color: rgba(15,17,21,0.72); margin-top: 16px; max-width: 460px; line-height: 1.9; }
.ed-cta-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* =====================================================
   レスポンシブ
   ===================================================== */
@media (max-width: 900px) {
  .ed-sec { padding: 72px 0; }
  .ed-hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 48px 0 72px; }
  .ed-product { grid-template-columns: 1fr; gap: 36px; }
  .ed-prod-top { grid-template-columns: 1fr; gap: 32px; }
  .ed-prod-fp { grid-template-columns: 1fr; gap: 36px; }
  .ed-fpanel.is-active { grid-template-columns: 1fr; gap: 24px; }
  .ed-fpanel-text { order: 2; }
  .ed-prod-bottom { grid-template-columns: 1fr; gap: 36px; }
  .ed-fbtn { padding: 10px 16px 14px; font-size: 0.9rem; }
  .ed-featgrid { grid-template-columns: 1fr; }
  .ed-feat { border-left: none !important; border-top: 1px solid var(--line); padding: 22px 0; }
  .ed-feat:first-child { border-top: none; }
  .ed-prodprice-row { flex-direction: column; }
  .ed-prodprice-item + .ed-prodprice-item { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .ed-flow { flex-direction: column; }
  .ed-conn { flex: none; padding: 16px 0; }
  .ed-conn-line { width: 1px; height: 26px; }
  .ed-conn-line::after { right: -4px; top: auto; bottom: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 9px solid var(--ink); border-bottom: none; }
  .ed-exch { flex-direction: column; }
  .ed-exch-mid { flex: none; flex-direction: row; gap: 28px; padding: 22px 0; width: 100%; }
  .ed-xrow { flex: 1; }
  .ed-xline { } /* keep horizontal; arrows already left/right */
  /* ランク表 → カード的に縦積み */
  .ed-table, .ed-table tbody, .ed-table tr, .ed-table td { display: block; width: 100%; }
  .ed-table thead { display: none; }
  .ed-table tbody tr { border-top: 1px solid var(--line-2); padding: 22px 0; }
  .ed-table tbody td { border: none; padding: 4px 0; }
  .ed-table tbody tr:last-child td { border: none; }
  .ed-step { grid-template-columns: 64px 1fr; gap: 16px; }
  .ed-cta-grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .ed-wrap { padding: 0 22px; }
  .ed-specs { flex-wrap: wrap; }
  .ed-spec { width: 50%; padding: 18px 0 !important; border-left: none !important; }
  .ed-hero-actions .ed-btn { width: 100%; justify-content: center; }
}
