  /* ===== ステップ比較レイアウト ===== */
  .step-compare{
    display:flex; flex-direction:column; gap:12px;
  }
  .step-row{
    display:grid;
    grid-template-columns: 90px 1fr 1fr; /* 左：STEPラベル / 右：旧・新 */
    gap:10px;
    align-items:stretch; /* 同じ行内で高さを合わせる */
    font-family: sans-serif;
  }
  @media screen and (max-width: 767px){
    .step-row{
      grid-template-columns: 80px 1fr; 
      grid-template-areas:
        "label old"
        "label new";
    }
    .step-row .step-label{ grid-area: label; }
    .step-row .step-col.old{ grid-area: old; }
    .step-row .step-col.new{ grid-area: new; }
  }

  .step-label{
    display:flex; align-items:center; justify-content:center;
    background:#6380ff; color:#fff; font-weight:700;
    border-radius:10px; min-height: 72px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
  }

  .step-col{ display:flex; }
  .step-card{
    flex:1; display:flex; flex-direction:column;
    border:1px solid #eee; border-radius:10px; background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.03);
    overflow:hidden;
  }
  .step-head{
    font-weight:700; padding:8px 12px;
    background:#fafafa; border-bottom:1px solid #eee;
  }
  .step-body{
    padding:12px; line-height:2.0;
  }
  .sub{ font-size:12px; color:#6b7280; }

  /* 変更点の視覚強調 */
  .is-changed .step-card{ border-color:#d9e3ff; }
  .is-changed .step-col.new .step-card{ 
    background:linear-gradient(180deg, rgba(240,243,255,.55), #fff 40%);
    box-shadow:0 2px 14px rgba(31,43,214,.06);
  }
  .change-badge{
    display:inline-block; margin-left:.4em;
    padding:.1em .5em; font-size:11px; font-weight:800;
    color:#1f2bd6; background:#EAF0FF; border:1px solid rgba(31,43,214,.18);
    border-radius:999px; vertical-align:middle;
  }
  .hl{
    background: linear-gradient(transparent 60%, #FFF3A6 0%);
    font-weight:700;
    padding:0 .05em;
  }



section.notice-lead {
    font-family: serif;
    font-weight: 600;
    border: solid 1px;
    padding: 20px;
}
/* 大きめ独自カラーのボタン */
.btn--custom.btn--xl {
  font-size: 1.3rem;
  padding: 1.1rem 2.8rem;
  border-radius: 10px;
  font-weight: bold;
  background-color: #1E3A8A; /* ディープブルー */
  color: #FFD700; /* ゴールド文字 */
  border: 2px solid #FFD700;
  box-shadow: 0 6px 14px rgba(30, 58, 138, 0.4);
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

/* ホバー時 */
.btn--custom.btn--xl:hover {
  background-color: #153074; /* 濃くする */
  color: #FFF8DC; /* 文字を少し明るく */
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.5);
}

/* クリック時 */
.btn--custom.btn--xl:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.35);
}

/* 中央寄せ */
.btn-wrap--large {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}



  /* 既存の .points-card / .note / .table-wrap / .table-scroll は前段コードを継承 */
  /* 追加・強調用の最小スタイル */


  .update-badge{
    display:inline-block; padding:.1em .5em; border-radius:999px; font-size:12px; font-weight:700;
    background:#F0F3FF; color:#1f2bd6; border:1px solid rgba(31,43,214,.18);
    margin-right:.25em;
  }

  /* フローの2カラム（モバイルで縦積み） */
  .flow-grid{
    display:grid; gap:16px; margin-top:16px;
    grid-template-columns: 1fr;
  }
  @media screen and (min-width: 768px){
    .flow-grid{ grid-template-columns: 1fr 1fr; }
  }



  /* note の見た目（既存に準拠）— 重複定義を避けるため強すぎる指定はしない */
  .note{ border:1px solid #eaeaea; border-radius:10px; padding:20px; background:#fafafa; }
  .note-icon{ font-size:18px; margin-bottom:6px; margin-top:10px; }
  .note-text{ line-height:1.8; }

  /* points-card（既存に準拠・補強） */
  .points-card{ border:1px solid #000000; border-radius:12px; padding:12px; background:#fff; }
  .points-card .point-item{
    display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-top:1px dashed #504a4a;
  }
  .points-card .point-item:first-child{ border-top:none; }
  .points-card .point-icon{
    min-width:28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center;
    background:#E7F7FF; color:#036b9a; font-weight:700; box-shadow:0 2px 6px rgba(0,0,0,.05);
  }
  .points-card .point-text .small{ margin-top:0.6rem; font-family: sans-serif; }


    table { border-collapse: collapse; width: 100%; }
    th, td { border: 1px solid #dfe3f0; padding: 10px; text-align: center; vertical-align: middle; }
    .small { font-size: .92rem; color: #000000; }
    .note { background: #fff8e1; border-left: 4px solid #ffb300; padding: 20px; }


    .btn-wrap { margin: 1rem 0; display: flex; gap: .5rem; flex-wrap: wrap; }
    .btn { display: inline-block; padding: .5rem .75rem; border: 1px solid #cbd5e1; border-radius: 6px; text-decoration: none; }

.plan-description {width: 100%;text-align: center;margin-bottom: 20px;}
.plan-description img {width: 100%;max-width: 500px;height: auto;object-fit: contain;display: block;margin: 0 auto;}


:root{
  /* Brand colors */
  --c-gekiyasu: #E4007F;  /* 激安便 */
  --c-tsujo:    #00A1E9;  /* 通常便 */
  --c-tokkyu:   #333333;  /* 特急便 */
  /* Base */
  --c-bg: #ffffff;
  --c-text: #1f2937;
  --c-muted: #6b7280;
  --c-border: #e5e7eb;
  --c-head: #f5f7ff;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* ---------- Table ---------- */

.table-wrap{
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;            /* 角丸を維持 */
  margin: 1rem 0 1.25rem;
}

/* 任意：横スクロール許容（スマホ） */
.table-scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table{
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 720px;            /* スマホで横スクロール */
  font-family: 'Arial', sans-serif;
}

thead th {
  background: linear-gradient(180deg, #75c2cc82, #7d97ffa6);
  color: var(--c-text);
  padding: 14px 12px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--c-border);
}


th, td{
  border-right: 1px solid var(--c-border);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
  color: var(--c-text);
  background: #fff;
}
th:last-child, td:last-child{ border-right: 0; }

tbody tr{
  transition: background-color .18s ease, transform .08s ease;
}
tbody tr:nth-child(odd) td{ background: #fcfdff; }
tbody tr:active td{ transform: scale(.999); }

thead tr:first-child th:first-child { border-top-left-radius: calc(var(--radius) - 1px); }
thead tr:first-child th:last-child  { border-top-right-radius: calc(var(--radius) - 1px); }
tbody tr:last-child td:first-child  { border-bottom-left-radius: calc(var(--radius) - 1px); }
tbody tr:last-child td:last-child   { border-bottom-right-radius: calc(var(--radius) - 1px); }

/* iOS Safari の自動テキスト拡大を防止（テーブル要素のみ） */
.table-wrap table {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%; /* 将来の標準仕様対応 */
}

/* 横スクロール可能テーブル（共通） */
.table-wrap.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* スマホのみヒントを表示（テーブルの外・上に配置） */
.table-scroll-hint { display: none; }

@media (max-width: 800px) {
  .table-scroll-hint {
    display: inline-flex;            /* コンパクトな右寄せバッジ */
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    line-height: 1;
    padding: .35rem .6rem;
    border-radius: 999px;
    color: #fff;
    background: #0809e4;/* 既存の青に寄せる */
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    float: left;                    /* 左側に寄せる */
    margin: 0 0 .4rem .6rem;         /* 下に少し余白を確保 */
  }

  /* ヒントの下にテーブルを回り込ませない */
  .table-wrap.table-scroll { clear: both; }
}

