        .lead_img{ height: 380px; background-size: cover; background-position: center center;}
         @media screen and (max-width: 768px){ .lead_img{ height: 200px;}}  

p.x-small {
    font-size: 10px !important;
    font-family: 'Arial', sans-serif!important;
    color: #000b42!important;
}


    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: #555; }
    .note { background: #fff8e1; border-left: 4px solid #ffb300; padding: 10px 12px; }
    ul { padding-left: 1.2em; }

    .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;}
@media screen and (max-width: 768px) {.plan-description img {max-height: 200px;}
}

: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; }
}



/* 注意表示 */
.note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-left: 6px solid #ffb300;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #5c4400;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.note-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
  color: #ff9800;
}

.note-text {
  flex: 1;
  line-height: 1.6;
}

/* モバイル時の読みやすさ調整 */
@media (max-width: 768px) {
  .note {
    flex-direction: column;
    align-items: flex-start;
  }

.point-icon {
  flex: 0 0 28px!important;
  height: 28px!important;
}
}



/* お問い合わせリスト（ボックスなし） */
.request-list {
  list-style: none;
  margin: 0.75rem 0 1.5rem;
  padding: 0;
}

.request-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  line-height: 1.6;
}

.request-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 1rem;
  color: #1E3A8A; /* 信頼感のあるブルー */
}




/* プランバッジ */
.badge{
  display: inline-block; line-height: 1;
  padding: .55rem .55rem; border-radius: 999px;
  font-size: .85rem; font-weight: 700; color: #fff;
}
.badge--gekiyasu{ background: var(--c-gekiyasu); }
.badge--tsujo{    background: var(--c-tsujo); }
.badge--tokkyu{   background: var(--c-tokkyu); }

/* ---------- Buttons ---------- */

.btn-wrap{
  margin: 1rem 0;
  display: flex; gap: .6rem; flex-wrap: wrap;
}

.btn{
  --btn-bg: #ffffff;
  --btn-fg: var(--c-text);
  --btn-bd: #cbd5e1;


  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .6rem .9rem;
  border: 1px solid var(--btn-bd);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: box-shadow .2s ease, transform .06s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,1.0);
}
a.btn.btn--tokkyu {
    color: white;
}

/* 大きめ独自カラーのボタン */
.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;
}





/* ボタンクリック（押し込み）アクション */
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

a.btn.btn--tsujo.btn--outline {
    background-color: #00a1e9;
    color: white;
}

a.btn.btn--gekiyasu {
    color: white;
}

.btn:hover{ box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn--sm{ padding: .45rem .7rem; border-radius: 9px; font-size: .92rem; }
.btn--lg{ padding: .75rem 1.1rem; border-radius: 12px; font-size: 1.05rem; }

/* 種別：塗り */
.btn--gekiyasu{
  --btn-bg: var(--c-gekiyasu);
  --btn-fg: #fff;
  --btn-bd: var(--c-gekiyasu);
}
.btn--tsujo{
  --btn-bg: var(--c-tsujo);
  --btn-fg: #fff;
  --btn-bd: var(--c-tsujo);
}
.btn--tokkyu{
  --btn-bg: var(--c-tokkyu);
  --btn-fg: #fff;
  --btn-bd: var(--c-tokkyu);
}

a.btn {
    margin: 0 auto;
}

/* 種別：アウトライン */
.btn--outline{ --btn-bg: #fff; }
.btn--outline.btn--gekiyasu{ --btn-bd: var(--c-gekiyasu); color: var(--c-gekiyasu); }
.btn--outline.btn--tsujo{    --btn-bd: var(--c-tsujo);    color: var(--c-tsujo); }
.btn--outline.btn--tokkyu{   --btn-bd: var(--c-tokkyu);   color: var(--c-tokkyu); }
.btn--outline:hover{ background: #f8fafc; }

/* ---------- Responsive ---------- */
@media (max-width: 768px){
  thead th{ font-size: 0.7rem; }
  th, td{ padding: 10px 8px; font-size: 0.7rem; }
  .btn--lg{ font-size: 1rem; }

}


/* チェックポイントリスト */
/* カード全体 */
.points-card {
  background: #f8faff;
  border: 1px solid #e0e6f0;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 100%;
}

/* タイトル */
.points-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #333;
  border-left: 5px solid #4CAF50;
  padding-left: 0.5rem;
}

/* 各ポイントのラップ */
.point-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  border: 1px solid #e5e9f0;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}



/* アイコン部分 */
.point-icon {
  flex: 0 0 36px;
  height: 36px;
  background-color: #4CAF50;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-right: 0.75rem;
}

/* テキスト部分 */
.point-text {
  flex: 1;
}

.point-text strong {
  color: #333;
  font-weight:bold;
}

.point-text p {
  font-size: 0.92rem;
  color: #555;
  margin: 0.2rem 0 0;
}



/* ===== Modern TOC (Article Index) ===== */
.article-index { 
  /* configurable theme */ 
  --toc-bg: #ffffff; 
  --toc-fg: #1f2937; 
  --toc-muted: #6b7280; 
  --toc-accent: #5865f2;      /* main accent */ 
  --toc-accent-2: #8b5cf6;    /* gradient end */ 
  --toc-border: #e5e7eb; 
  --toc-shadow: 0 10px 30px rgba(0,0,0,.06); 

  background: var(--toc-bg); 
  color: var(--toc-fg); 
  border: 1px solid var(--toc-border); 
  border-radius: 16px; 
  padding: 1.25rem 1.25rem 1.1rem; 
  box-shadow: var(--toc-shadow); 
  position: relative; 
  overflow: hidden; 
  max-width: 500px;
  margin: 0 auto;
}


/* heading */
.article-index .mokuji { 
  display:flex; 
  align-items:center; 
  gap:.6rem; 
  font-weight:800; 
  letter-spacing:.02em; 
  margin:-1.25rem -1.25rem 1rem -1.25rem; /* 枠いっぱいに広げる */ 
  padding:0.8rem 1.25rem; 
  background: linear-gradient(90deg, var(--toc-accent), var(--toc-accent-2)); 
  color:#fff; 
  border-top-left-radius: 16px; 
  border-top-right-radius: 16px; 
}
.article-index .mokuji::before { 
  content:"📑"; 
  font-size:1.05rem; 
  line-height:1; 
}

/* reset lists */
.article-index > ol{
  counter-reset: main-section;
  list-style:none;
  margin:0;
  padding:0;
}

/* top-level item */
.article-index > ol > li{
  counter-increment: main-section;
  position:relative;
  padding:.55rem .5rem .55rem 3.2rem;
  border-radius:12px;
  transition: background .25s ease, transform .06s ease;
}

/* number badge */
.article-index > ol > li::before{
  content: counter(main-section);
  position:absolute;
  left:.85rem; top:.64rem;
  width:1.9rem; height:1.9rem;
  display:grid; place-items:center;
  font-weight:800; font-size:.95rem; color:#fff;
  background: linear-gradient(135deg, var(--toc-accent), var(--toc-accent-2));
  border-radius:999px;
  box-shadow: 0 6px 16px rgba(88,101,242,.25);
}

/* item hover */
.article-index > ol > li:hover{
  background: linear-gradient(180deg, rgba(88,101,242,.06), rgba(139,92,246,.06));
}

/* links */
.article-index a{
  color: var(--toc-fg);
  text-decoration:none;
  font-weight:700;
  transition: color .2s ease, transform .2s ease;
}
.article-index a:hover{
  color: var(--toc-accent);
}

/* second level */
.article-index > ol > li > ol{
  counter-reset: sub-section;
  list-style:none;
  margin:.4rem 0 .2rem 0;
  padding-left:3.2rem; /* align with badges */
  border-left: 2px dashed rgba(88,101,242,.25);
  font-size: 13px;
  line-height: 13px;

}

/* second-level items */
.article-index > ol > li > ol > li{
  counter-increment: sub-section;
  position:relative;
  padding:.38rem .5rem .38rem 1.1rem;
  color: var(--toc-muted);
  font-weight:600;
  border-radius:10px;
  transition: background .2s ease, color .2s ease;
}

/* 1-1 label + chevron */
.article-index > ol > li > ol > li::before{
  content: counter(main-section) "-" counter(sub-section) "  ›";
  position:absolute;
  left: -1.75rem; top:.42rem;
  font-variant-numeric: tabular-nums;
  color: var(--toc-accent);
  font-weight:800;
  opacity:.85;
}

/* sub link hover */
.article-index > ol > li > ol > li a:hover{
  color: var(--toc-accent);
  transform: translateX(2px);
}

/* responsive tweaks */
@media (max-width: 768px){
  .article-index{ padding: .9rem .9rem .8rem; border-radius:14px; }
  .article-index > ol > li{ padding-left:2.9rem; }
  .article-index > ol > li::before{ left:.65rem; }
  .article-index > ol > li > ol{ padding-left:2.2rem; }
}




