@charset "UTF-8";

/* ===========================
   商品ページ共通CSS（plan-pages.css）
   /digital-diagnosis/ と /digital-partner/ にのみ適用
   共通パーツ（hero・section-*・btn-primary）はprice.cssと同じ設計を踏襲
   新規部品は .mds- 名前空間（既存グローバルへ影響しない）
=========================== */

section { padding: 96px 80px; }

/* 英語小見出し */
.section-label { font-size: var(--font-label); letter-spacing: 0.25em; color: var(--teal-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--teal); }

/* 日本語大見出し */
.section-title { font-family: 'Shippori Mincho', serif; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.5; margin-bottom: 16px; color: var(--navy); }

/* 見出し下の説明文 */
.section-desc { color: var(--text-light); font-size: var(--font-card); line-height: 2.2; font-weight: 300; }

/* メインボタン */
.btn-primary { background: var(--teal); color: var(--white); padding: 16px 36px; font-size: var(--font-card); font-weight: 700; text-decoration: none; border-radius: 100px; display: inline-block; transition: all 0.2s; border: 2px solid var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

/* サブボタン（白抜き） */
.mds-btn-secondary { background: transparent; color: var(--teal-dark); padding: 16px 36px; font-size: var(--font-card); font-weight: 700; text-decoration: none; border-radius: 100px; display: inline-block; transition: all 0.2s; border: 2px solid var(--teal); }
.mds-btn-secondary:hover { background: var(--teal-pale); }

/* ===========================
   ヒーロー（紺背景）
=========================== */
.hero { min-height: 50vh; background: var(--navy); display: flex; align-items: center; padding: 100px 80px 50px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(130,216,208,0.1) 0%, transparent 70%); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; font-size: var(--font-label); letter-spacing: 0.2em; color: var(--teal); margin-bottom: 28px; }
.hero-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--teal); }
.hero h1 { font-family: 'Shippori Mincho', serif; font-size: clamp(32px, 5vw, 56px); color: var(--white); line-height: 1.5; font-weight: 700; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub { color: rgba(255,255,255,0.85); font-size: var(--font-card); line-height: 2.2; font-weight: 300; }

/* ヒーロー内の価格表示 */
.mds-hero-price { margin-top: 28px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mds-hero-price-num { font-family: 'Shippori Mincho', serif; font-size: clamp(36px, 4vw, 48px); color: var(--teal); line-height: 1; }
.mds-hero-price-unit { font-size: var(--font-card); color: rgba(255,255,255,0.85); }
.mds-hero-price-taxex { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===========================
   対象（こんな会社に）
=========================== */
.mds-for { background: var(--teal-pale); border-bottom: 3px solid var(--teal-mid); }
.mds-for-inner { max-width: 800px; margin: 0 auto; }
.mds-for-list { list-style: none; margin-top: 40px; }
.mds-for-list li { font-size: var(--font-card); color: var(--text); padding: 16px 0 16px 36px; border-bottom: 1px solid var(--teal-mid); position: relative; font-weight: 300; line-height: 1.9; }
.mds-for-list li:last-child { border-bottom: none; }
.mds-for-list li::before { content: '✓'; color: var(--teal-dark); position: absolute; left: 4px; font-weight: 700; }
.mds-for-list li strong { color: var(--navy); font-weight: 700; }

/* ===========================
   含まれる内容
=========================== */
.mds-include { background: var(--white); }
.mds-include-inner { max-width: 900px; margin: 0 auto; }
.mds-include-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; margin-top: 48px; }
.mds-include-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--bg2); border-radius: 14px; }
.mds-include-item::before { content: '✓'; color: var(--teal-dark); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.mds-include-item span { font-size: var(--font-card); color: var(--text); font-weight: 300; line-height: 1.8; }
.mds-include-item strong { color: var(--navy); font-weight: 700; }

/* 補足ノート（範囲・条件） */
.mds-note-box { max-width: 900px; margin: 48px auto 0; background: var(--teal-pale); border-radius: 12px; padding: 28px 32px; }
.mds-note-box h3 { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 14px; }
.mds-note-box ul { list-style: none; }
.mds-note-box li { font-size: 15px; color: var(--text-light); padding: 6px 0 6px 20px; position: relative; font-weight: 300; line-height: 1.8; }
.mds-note-box li::before { content: '・'; position: absolute; left: 0; color: var(--teal-dark); }

/* ===========================
   別途見積もり（含まれない内容）
=========================== */
.mds-exclude { background: var(--bg2); }
.mds-exclude-inner { max-width: 900px; margin: 0 auto; }
.mds-exclude-list { list-style: none; margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; }
.mds-exclude-list li { font-size: 15px; color: var(--text-light); padding: 10px 0 10px 26px; position: relative; font-weight: 300; line-height: 1.8; border-bottom: 1px solid var(--border); }
.mds-exclude-list li::before { content: '—'; position: absolute; left: 0; color: var(--text-light); }

/* ===========================
   納品物・流れ
=========================== */
.mds-flow { background: var(--white); }
.mds-flow-inner { max-width: 800px; margin: 0 auto; }
.mds-flow-list { list-style: none; margin-top: 48px; counter-reset: mds-step; }
.mds-flow-list li { counter-increment: mds-step; display: flex; gap: 24px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.mds-flow-list li:last-child { border-bottom: none; }
.mds-flow-list li::before { content: counter(mds-step, decimal-leading-zero); font-family: 'Shippori Mincho', serif; font-size: 28px; color: var(--teal-dark); line-height: 1.2; flex-shrink: 0; min-width: 48px; }
.mds-flow-body h3 { font-size: 18px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.mds-flow-body p { font-size: 15px; color: var(--text-light); font-weight: 300; line-height: 1.9; }

/* ===========================
   料金・契約条件ボックス
=========================== */
.mds-fee { background: var(--teal-pale); border-top: 3px solid var(--teal-mid); border-bottom: 3px solid var(--teal-mid); }
.mds-fee-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.mds-fee-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 28px 0 8px; }
.mds-fee-price-num { font-family: 'Shippori Mincho', serif; font-size: clamp(44px, 5vw, 60px); color: var(--navy); line-height: 1; }
.mds-fee-price-unit { font-size: var(--font-card); color: var(--text-light); }
.mds-fee-taxex { font-size: 13px; color: var(--text-light); }
.mds-fee-terms { list-style: none; margin-top: 32px; text-align: left; display: inline-block; }
.mds-fee-terms li { font-size: 15px; color: var(--text-light); padding: 8px 0 8px 22px; position: relative; font-weight: 300; line-height: 1.8; }
.mds-fee-terms li::before { content: '・'; position: absolute; left: 0; color: var(--teal-dark); }
.mds-fee-terms li strong { color: var(--navy); font-weight: 700; }

/* 診断費充当などの特典表示 */
.mds-fee-bonus { margin-top: 28px; background: var(--white); border: 2px solid var(--teal); border-radius: 12px; padding: 20px 26px; font-size: 15px; color: var(--navy); line-height: 1.9; }

/* ===========================
   ページ内CTA
=========================== */
.mds-cta { background: var(--navy); text-align: center; }
.mds-cta .section-label { justify-content: center; color: var(--teal); }
.mds-cta h2 { font-family: 'Shippori Mincho', serif; font-size: clamp(26px, 3.5vw, 38px); color: var(--white); line-height: 1.6; margin-bottom: 20px; }
.mds-cta h2 em { font-style: normal; color: var(--teal); }
.mds-cta p { color: rgba(255,255,255,0.85); font-size: var(--font-card); line-height: 2.2; font-weight: 300; margin-bottom: 36px; }
.mds-cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.mds-cta .mds-btn-secondary { color: var(--teal); border-color: rgba(130,216,208,0.6); }
.mds-cta .mds-btn-secondary:hover { background: rgba(130,216,208,0.12); }
.mds-cta-note { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 24px; font-weight: 300; line-height: 1.9; }

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 900px) {
  section { padding: 72px 32px; }
  .hero { padding: 96px 32px 44px; }
  .mds-include-grid { grid-template-columns: 1fr; }
  .mds-exclude-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 60px 20px; }
  .hero { padding: 92px 20px 40px; min-height: auto; }
  .mds-flow-list li { gap: 16px; }
  .mds-cta-buttons { flex-direction: column; align-items: stretch; }
  .mds-cta-buttons .btn-primary,
  .mds-cta-buttons .mds-btn-secondary { width: 100%; text-align: center; }
}
