/* ═══════════════════════════════════════════
   サワダケミカル社 共通スタイル
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600&display=swap');

:root {
  --sky:       #d6eef9;   /* 明るい薄水色ベース */
  --sky-mid:   #a8d8f0;
  --sky-deep:  #2e9cd8;
  --sky-dark:  #1275b0;
  --accent:    #082844;   /* 濃いネイビー */
  --accent-mid:#0f3d6e;
  --accent2:   #d44d00;   /* CTA：オレンジ */
  --text:      #111111;   /* 説明文：ほぼ黒 */
  --text-mid:  #222222;   /* 説明文サブ：黒に近い */
  --text-light:#4a6880;
  --bg:        #eaf5fb;   /* 背景：明るい薄水色 */
  --bg-white:  #ffffff;
  --border:    #9ecde8;
  --border-mid:#6ab8e0;
  --radius:    6px;
  --shadow:    0 2px 16px rgba(8,40,68,.10);
  --shadow-md: 0 6px 28px rgba(8,40,68,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 18px;
}

/* ── HEADER ── */
header {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(8,40,68,.10);
}
.header-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.75rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
  letter-spacing: .08em;
  line-height: 1.2;
}
.logo small {
  display: block; font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem; font-weight: 400; color: var(--accent-mid);
  letter-spacing: .14em; margin-bottom: 1px; margin-top: 0;
}
header nav { display: flex; align-items: center; gap: 2px; }
header nav a {
  color: var(--accent); text-decoration: none;
  font-size: 1.05rem; padding: 8px 16px; border-radius: 4px;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
header nav a:hover, header nav a.active { background: var(--sky-mid); color: var(--accent); }
header nav a.nav-cta {
  background: transparent; color: var(--accent);
  padding: 8px 16px; font-weight: 500; margin-left: 6px;
  border-radius: 4px; border: 1.5px solid var(--accent);
}
header nav a.nav-cta:hover { background: var(--accent); color: #fff; }

/* hamburger */
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--accent); margin: 5px 0; transition: .3s; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--sky); border-bottom: 1px solid var(--border);
  padding: 9px 24px; font-size: 1.05rem; color: var(--text-mid);
}
.breadcrumb a { color: var(--sky-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(140deg, #1a5280 0%, #2d7fb5 35%, #5ea8d4 70%, #a8d8f0 100%);
  color: #fff; padding: 52px 24px;
}
.page-hero-inner { max-width: 1080px; margin: 0 auto; }
.page-hero .eyebrow {
  font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.9); margin-bottom: 10px;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700; line-height: 1.4; letter-spacing: .04em;
  color: #ffe07a;
}
.page-hero p {
  margin-top: 14px; font-size: 1rem;
  color: rgba(255,255,255,1); max-width: 100%; line-height: 1.9;
}

/* ── SECTION ── */
section { padding: 64px 24px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 1rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sky-deep); margin-bottom: 6px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700; color: var(--accent);
  line-height: 1.45; margin-bottom: 10px;
}
.section-lead { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 36px; line-height: 1.9; }
.section-divider {
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--sky-deep) 100%);
  margin-bottom: 32px; border-radius: 2px;
}

/* ── CARD ── */
.card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: box-shadow .22s, transform .22s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
  background: linear-gradient(140deg, #1a5280 0%, #2d7fb5 35%, #5ea8d4 70%, #a8d8f0 100%);
  color: #fff; padding: 22px 24px;
}
.card-header .tag {
  font-size: 1rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.95); display: block; margin-bottom: 4px;
}
.card-header h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.35rem; font-weight: 700;
  color: #ffe07a;
}
.card-header h3 small {
  display: block; font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,.9);
  margin-top: 3px;
}
.card-body { padding: 26px; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 3px; padding: 5px 10px;
  font-size: 1rem; font-weight: 500; letter-spacing: .04em;
}
.badge-cert {
  background: rgba(91,164,204,.12);
  border: 1px solid rgba(91,164,204,.35);
  color: var(--accent);
}
.badge-cert::before {
  content: '認'; background: var(--sky-deep); color: #fff;
  width: 16px; height: 16px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
}

/* ── FEATURE LIST ── */
.feat-list { list-style: none; margin: 16px 0; }
.feat-list li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 1rem; color: var(--text); line-height: 1.75;
  display: flex; align-items: flex-start; gap: 8px;
}
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before {
  content: '✦'; color: var(--sky-deep); font-size: 1.05rem;
  flex-shrink: 0; line-height: 1.75;
}

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 0; }
.step {
  padding: 28px 22px; background: var(--bg-white);
  border: 1px solid var(--border); border-right: none; position: relative;
}
.step:last-child { border-right: 1px solid var(--border); }
.step-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.4rem; font-weight: 700;
  color: rgba(91,164,204,.2); line-height: 1; margin-bottom: 10px;
}
.step h4 { font-size: 1rem; font-weight: 500; color: var(--accent); margin-bottom: 6px; }
.step p { font-size: 1rem; color: var(--text); line-height: 1.8; }
.step::after {
  content: '→';
  position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%);
  font-size: 1rem; color: var(--sky-deep); z-index: 1;
}
.step:last-child::after { display: none; }

/* ── NOTICE BOX ── */
.notice {
  background: rgba(91,164,204,.08); border-left: 3px solid var(--sky-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 20px; font-size: 1.05rem;
  color: var(--text); line-height: 1.9; margin-bottom: 28px;
}
.notice strong { color: var(--accent); }

/* ── INFO TABLE ── */
.info-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.info-table th, .info-table td {
  padding: 13px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.info-table th {
  width: 150px; background: var(--sky); color: var(--accent);
  font-weight: 500; white-space: nowrap; border-left: 3px solid var(--accent);
}
.info-table td { color: var(--text); }

/* ── Q&A ── */
.qa-item { margin-bottom: 16px; }
.qa-q {
  background: var(--sky); border-left: 3px solid var(--sky-deep);
  padding: 16px 20px 16px 50px; font-weight: 500; font-size: 1rem;
  color: var(--accent); position: relative; cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  transition: background .18s;
}
.qa-q:hover { background: var(--sky-mid); }
.qa-q::before {
  content: 'Q'; position: absolute; left: 15px; top: 16px;
  font-family: 'Noto Serif JP', serif; font-size: 1.1rem;
  font-weight: 700; color: var(--sky-deep);
}
.qa-q .arrow {
  flex-shrink: 0; font-size: 1rem; color: var(--sky-dark);
  transition: transform .25s; margin-top: 3px;
}
.qa-q.open .arrow { transform: rotate(180deg); }
.qa-a {
  background: var(--bg-white); border: 1px solid var(--border);
  border-top: none; padding: 16px 20px 16px 50px;
  font-size: 1.05rem; color: var(--text); line-height: 1.9;
  position: relative; display: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.qa-a::before {
  content: 'A'; position: absolute; left: 15px; top: 17px;
  font-family: 'Noto Serif JP', serif; font-size: 1.1rem;
  font-weight: 700; color: var(--accent2);
}
.qa-a.open { display: block; }

/* ── FORM ── */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 1.05rem; font-weight: 500;
  color: var(--accent); margin-bottom: 7px;
}
.form-group label .req {
  background: var(--accent2); color: #fff;
  font-size: 1.05rem; padding: 1px 6px; border-radius: 2px;
  margin-left: 5px; vertical-align: middle;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  font-family: 'Noto Sans JP', sans-serif; font-size: 1rem;
  color: var(--text); background: var(--bg-white);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(91,164,204,.2);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit {
  background: var(--accent2); color: #fff; border: none; cursor: pointer;
  padding: 15px 48px; font-size: 1rem; font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  border-radius: var(--radius); transition: background .2s;
  letter-spacing: .06em;
}
.form-submit:hover { background: #c44d1e; }

/* ── BTN ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sky-deep); color: #fff;
  padding: 11px 24px; font-size: 1rem; font-weight: 500;
  border-radius: var(--radius); text-decoration: none;
  transition: background .2s; letter-spacing: .04em;
}
.btn:hover { background: var(--accent); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--sky-deep); color: var(--sky-dark);
}
.btn-outline:hover { background: var(--sky-deep); color: #fff; }
.btn-accent { background: var(--accent2); }
.btn-accent:hover { background: #c44d1e; }

/* ── GRID UTILS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--bg); color: var(--accent);
  padding: 44px 24px 28px;
  border-top: 2px solid var(--border);
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: start; margin-bottom: 28px;
}
.footer-brand { font-family: 'Noto Serif JP', serif; font-size: 1.15rem; color: var(--accent); margin-bottom: 8px; }
.footer-info { font-size: 1.05rem; line-height: 1.9; color: var(--text-mid); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.footer-nav a { color: var(--accent); text-decoration: none; font-size: 1rem; }
.footer-nav a:hover { color: var(--sky-dark); }
.footer-copy {
  max-width: 1080px; margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 18px; font-size: 1rem;
  color: var(--text-light); letter-spacing: .1em;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   タブレット: 〜768px　スマホ: 〜480px
══════════════════════════════════════════ */

/* ── タブレット ── */
@media (max-width: 768px) {

  /* ナビ（ヘッダーのnavだけに限定。footer-navを巻き込まないようheader navで絞る） */
  header nav {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 2px solid var(--sky-deep);
    padding: 8px 16px 16px; box-shadow: var(--shadow-md); gap: 2px;
  }
  header nav.open { display: flex; }
  header nav a { width: 100%; padding: 12px 14px; font-size: 1rem; border-radius: 4px; }
  header nav a.nav-cta { margin-left: 0; text-align: center; justify-content: center; margin-top: 6px; }
  .menu-btn { display: block; }

  /* グリッド */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  /* ステップ */
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
  .step::after { display: none; }
  .step-num { font-size: 1.7rem; margin-bottom: 4px; }

  /* フッター */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-nav { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }

  /* テーブル */
  .info-table th { width: 120px; font-size: 1rem; }
  .info-table td { font-size: 1rem; }

  /* セクション余白 */
  section { padding: 32px 20px; }
  .page-hero { padding: 36px 20px; }
  .section-divider { margin-bottom: 20px; }
  .section-lead { margin-bottom: 22px; }

  /* grid間隔 */
  .grid-3 { gap: 14px; }

  /* Q&A */
  .qa-q { font-size: 1.05rem; padding: 14px 18px 14px 46px; }
  .qa-a { font-size: 1rem; padding: 14px 18px 14px 46px; }
}

/* ── スマホ ── */
@media (max-width: 480px) {

  /* ヘッダー */
  .header-inner { padding: 0 16px; height: 68px; }
  .logo { font-size: 1.35rem; }
  header nav { top: 68px; }

  /* ヒーロー（各ページ） */
  .page-hero { padding: 28px 16px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p { font-size: 1rem; }

  /* セクション */
  section { padding: 20px 16px; }
  .section-title { font-size: 1.2rem; margin-bottom: 4px; }
  .section-divider { margin-bottom: 12px; }
  .section-lead { margin-bottom: 14px; font-size: 1.05rem; }

  /* 認定バナーなどの上余白セクション */
  section[style*="padding-top:32px"] { padding-top: 16px !important; }
  section[style*="padding:48px"] { padding: 20px 16px 0 !important; }
  .cert-highlight { padding: 14px 16px !important; margin-bottom: 16px !important; gap: 12px !important; }

  /* インラインmargin指定の上書き（cr1ns2.html等） */
  div[style*="margin-bottom:32px"] { margin-bottom: 16px !important; }
  .notice[style*="margin-bottom:32px"] { margin-bottom: 16px !important; }
  .steps[style*="margin-bottom:40px"] { margin-bottom: 16px !important; }

  /* カード */
  .card-header { padding: 14px 16px; }
  .card-header h3 { font-size: 1.05rem; }
  .card-body { padding: 14px 16px; }

  /* 特長リスト */
  .feat-list { margin: 8px 0; }
  .feat-list li { padding: 6px 0; line-height: 1.6; }

  /* 特長カード（grid-3内のカード）の内部余白を詰める */
  .grid-3 > .card > div { padding: 8px 14px !important; }
  .grid-3 { gap: 8px; margin-bottom: 0 !important; }

  /* テーブル：縦並びに変換 */
  .info-table,
  .info-table tbody,
  .info-table tr { display: block; width: 100%; }
  .info-table tr { margin-bottom: 6px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .info-table th {
    display: block; width: 100%;
    background: var(--sky); padding: 6px 14px;
    font-size: 1.05rem; border-left: 3px solid var(--accent);
    border-bottom: 1px solid var(--border);
  }
  .info-table td { display: block; width: 100%; padding: 8px 14px; font-size: 1rem; line-height: 1.6; }

  /* ステップ */
  .step { padding: 14px 16px; }
  .step-num { font-size: 1.6rem; margin-bottom: 2px; }
  .step h4 { font-size: 1rem; margin-bottom: 3px; }
  .step p { font-size: 1.05rem; line-height: 1.6; }

  /* ノーティス */
  .notice { font-size: 1.05rem; padding: 10px 12px; margin-bottom: 18px; line-height: 1.7; }

  /* steps / grid の余白詰め */
  .steps { gap: 8px; margin-bottom: 24px !important; }
  .grid-2 { gap: 14px; }

  /* ボタン */
  .btn { font-size: 1rem; padding: 12px 20px; width: 100%; justify-content: center; }
  .cta-btn-group .btn { max-width: 300px; }

  /* フォーム */
  .form-card { padding: 22px 18px; }
  .form-submit { width: 100%; padding: 15px; }

  /* Q&A */
  .qa-q { font-size: 1rem; padding: 13px 14px 13px 40px; }
  .qa-q::before { left: 12px; top: 14px; }
  .qa-a { font-size: 1rem; padding: 12px 14px 12px 40px; }
  .qa-a::before { left: 12px; top: 13px; }

  /* フッター */
  footer { padding: 32px 16px 20px; }
  .footer-brand { font-size: 1rem; }
  .footer-info { font-size: 1.05rem; }
  .footer-nav { gap: 6px 14px; }
  .footer-nav a { font-size: 1.05rem; }
  .footer-copy { font-size: 1.05rem; }

  /* コンタクトページ */
  .contact-info-card { padding: 20px 18px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-2 { animation: fadeUp .5s .12s ease both; }
.fade-up-3 { animation: fadeUp .5s .24s ease both; }

/* PC専用改行：スマホでは非表示 */
@media (max-width: 480px) {
  br.pc-only { display: none; }
}

/* ══════════════════════════════════════════
   PRINT STYLES（A4印刷対応）
══════════════════════════════════════════ */
@media print {
  @page {
    size: A4;
    margin: 8mm;
  }

  /* 背景色・背景画像を強制的に印刷する */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* ── ヘッダー：背景は薄水色で印刷されるため、ロゴ・ナビは濃紺のまま ── */
  header {
    position: static !important; box-shadow: none !important;
    margin: 0 !important; padding: 0 !important; border: none !important;
    line-height: 1 !important; z-index: auto !important; top: auto !important;
  }
  .header-inner { height: auto !important; padding: 3mm 8mm !important; margin: 0 !important; }
  .logo { font-size: 13pt !important; color: var(--accent) !important; }
  .logo small { font-size: 8pt !important; color: var(--accent) !important; }

  /* ヘッダーとヒーローの間に隙間が出ないようにする */
  header + div, header + .top-hero, .top-hero { margin-top: 0 !important; }

  /* ハンバーガーボタンは印刷不要 */
  .menu-btn { display: none !important; }

  /* パンくずリストは印刷不要 */
  .breadcrumb { display: none !important; }

  /* ナビは横並びのまま縮小して1行に収める。薄水色背景の上なので濃紺文字（header navのみ対象） */
  header nav { display: flex !important; flex-direction: row !important; position: static !important; gap: 2px !important; }
  header nav a { font-size: 8pt !important; padding: 2px 6px !important; color: var(--accent) !important; font-weight: 500 !important; text-decoration: none !important; }
  header nav a:hover { color: var(--sky-dark) !important; }
  header nav a.nav-cta { background: transparent !important; border: 1px solid var(--accent) !important; }

  /* 全体の横幅を用紙に収める */
  body { font-size: 10pt; line-height: 1.5 !important; background: #fff !important; }
  .header-inner, .section-inner, .page-hero-inner, .footer-inner {
    max-width: 100% !important;
  }
  section, .page-hero, footer {
    padding-left: 8mm !important; padding-right: 8mm !important;
    padding-top: 4mm !important; padding-bottom: 4mm !important;
  }
  .section-divider { margin-bottom: 6px !important; height: 2px !important; }
  .section-title { margin-bottom: 2px !important; font-size: 12pt !important; }
  .section-label { font-size: 7.5pt !important; margin-bottom: 2px !important; }
  .section-lead { margin-bottom: 6px !important; }

  /* グリッドは印刷幅に収まるよう列数を落とす */
  .product-grid, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .steps { grid-template-columns: 1fr 1fr !important; }

  /* カード・ボックスの影は印刷で潰れるので簡素化 */
  .card, .step, .dl-item, .contact-info-card, .form-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  .card:hover, .feat-card:hover { transform: none !important; }
  .card-header { padding: 5px 12px !important; }
  .card-header .tag { color: rgba(255,255,255,.95) !important; }
  .card-header h3 { color: #fff !important; }
  .card-header h3 small { color: rgba(255,255,255,.9) !important; }
  .card-body { padding: 6px 12px !important; }
  .feat-list { margin: 4px 0 !important; }
  .feat-list li { padding: 2px 0 !important; font-size: 9.5pt !important; }
  .card-body > p { font-size: 9.5pt !important; }
  .grid-3 > .card > div { padding: 4px 10px !important; }
  .card-header .tag { font-size: 7.5pt !important; }
  .card-header h3 { font-size: 12pt !important; }
  .card-header h3 small { font-size: 8.5pt !important; }
  .badge, .cert-inline { font-size: 9pt !important; }

  /* 製品概要テーブル・特長カード説明文を「ご採用前の注意」と同じサイズに統一 */
  .info-table th, .info-table td { font-size: 9.5pt !important; padding: 6px 10px !important; }
  .grid-3 > .card > div[style*="line-height:1.75"] { font-size: 9.5pt !important; }
  .grid-3 h4 { font-size: 10pt !important; }

  /* アニメーションは印刷時に不要・むしろ崩れの原因になるため無効化 */
  .fade-up, .fade-up-2, .fade-up-3 { animation: none !important; opacity: 1 !important; transform: none !important; }

  /* フォーム入力欄・送信ボタンは印刷不要（入力できないため） */
  .form-submit { display: none !important; }

  /* 要素の途中でページが割れないようにする */
  .card, .step, .qa-item, .dl-item, .cert-highlight, .notice {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* セクションの先頭で改ページが起きた場合に見出しだけ孤立しないようにする */
  .section-title, h1, h2, h3 {
    page-break-after: avoid;
    break-after: avoid;
  }

  /* ── フッター：ナビゲーション一覧は印刷不要、ボタンは白文字を保持 ── */
  footer { padding: 4mm 8mm 3mm !important; }
  .footer-inner { margin-bottom: 4px !important; display: block !important; }
  .footer-nav { display: none !important; }
  .footer-brand { font-size: 10pt !important; margin-bottom: 2px !important; }
  .footer-info { font-size: 8pt !important; line-height: 1.5 !important; }
  .footer-copy { font-size: 7pt !important; padding-top: 5px !important; }

  /* 一般リンクは下線で示す。ナビ・ボタン類はリンク色の上書き対象から除外 */
  section a, footer a { text-decoration: underline; }
  nav a, .btn { text-decoration: none !important; }

  /* ボタンは印刷だと押せないため簡素な枠表示に統一（ネイビー文字・枠） */
  .btn {
    background: transparent !important;
    color: var(--accent) !important;
    border: 1px solid var(--accent) !important;
    font-size: 9pt !important; padding: 6px 14px !important;
  }
  /* ネイビー背景（top-hero・header等）の上のボタンは白塗り・ネイビー文字でくっきり表示 */
  .top-hero .btn, header .btn {
    background: #fff !important;
    color: var(--accent) !important;
    border: 1px solid #fff !important;
    font-weight: 600 !important;
  }
  /* CTAストリップは薄水色背景になったため、枠線タイプで表示 */
  .cta-strip .btn {
    background: transparent !important;
    color: var(--accent) !important;
    border: 1px solid var(--accent) !important;
    font-weight: 600 !important;
  }
}


