  :root{
    --blue:#0b4aa2;
    --sky:#e6f4ff;
    --sky2:#cfeaff;
    --yellow:#ffd400;
    --text:#123;
    --muted:#5a6b7b;
    --line:#bcd9f2;
    --white:#fff;
    --shadow: 0 10px 24px rgba(10,40,80,.10);
    --radius: 16px;
  }



/* 見出し内の“白い囲み（枠・角丸・影）”を強制解除 */
h2 span{
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

  /* 既存CSSに負けないよう、IDで強めに */
  #sucutaTablesWrap{
    font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.75;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
  }

  #sucutaTablesWrap .st-title{
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: .02em;
    font-size: clamp(20px, 2.2vw, 28px);
    color: var(--white);
    position: relative;
    padding-left: 14px;
  }

  #sucutaTablesWrap .st-lead{
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
  }

  #sucutaTablesWrap .st-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  @media (min-width: 920px){
    #sucutaTablesWrap .st-grid{
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    #sucutaTablesWrap .st-grid .st-card--wide{
      grid-column: 1 / -1;
    }
  }

  #sucutaTablesWrap .st-card{
    background: linear-gradient(180deg, var(--sky), var(--white));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  #sucutaTablesWrap .st-cardHead{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 14px 14px 10px;
    background: linear-gradient(90deg, var(--blue), #1676d2);
    color: #fff;
  }
  #sucutaTablesWrap .st-cardHead h3{
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
  }
  #sucutaTablesWrap .st-badge{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,212,0,.95);
    color: #1a2a3a;
    font-weight: 800;
    font-size: 12px;
    white-space: nowrap;
  }

  #sucutaTablesWrap .st-table{
    width:100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  #sucutaTablesWrap .st-table th,
  #sucutaTablesWrap .st-table td{
    border-top: 1px solid var(--line);
    padding: 12px 14px;
    vertical-align: top;
    word-break: break-word;
  }
  #sucutaTablesWrap .st-table th{
    width: 34%;
    background: linear-gradient(180deg, var(--sky2), var(--sky));
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
  }
  #sucutaTablesWrap .st-table td{
    background: rgba(255,255,255,.75);
    font-size: 14px;
  }

  #sucutaTablesWrap .st-list{
    margin: 0;
    padding-left: 18px;
  }
  #sucutaTablesWrap .st-list li{ margin: 4px 0; }
  #sucutaTablesWrap .st-note{
    margin-top: 8px;
    color: var(--muted);
    font-size: 12.5px;
  }
  #sucutaTablesWrap a{
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
  }
  #sucutaTablesWrap .st-foot{
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--radius);
    background: #f7fbff;
    border: 1px dashed var(--line);
    color: var(--muted);
    font-size: 13px;
  }

  /* スマホで見やすく：見出し列を少し広くしすぎない */
  @media (max-width: 420px){
    #sucutaTablesWrap .st-table th{ width: 38%; }
    #sucutaTablesWrap .st-table th,
    #sucutaTablesWrap .st-table td{ padding: 10px 12px; }
  }

/* アンカーリンク（目次） */
.st-anchorNav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.st-anchorNav li a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px dotted #0066cc;
}

.st-anchorNav li a:hover {
  text-decoration: underline;
}

/* アンカー位置ずれ対策（固定ヘッダーがある場合） */
.st-card {
  scroll-margin-top: 80px;
}

/* =========================================================
   目次（アンカー）見やすく：同サイズ＋囲み枠＋虫眼鏡アイコン
   ========================================================= */

#sucutaTablesWrap .st-anchorBox{
  /* 囲み枠（中央ソロ） */
  max-width: 860px;
  margin: 14px auto 14px;
  padding: 14px 16px;
  background: #ffffff;     /* 指定どおり */
  border: none;            /* フチなし */
  border-radius: 0;        /* 角Rなし */
  box-sizing: border-box;
}

#sucutaTablesWrap .st-anchorNav{
  /* ul のデフォルトを消す */
  list-style: none;
  margin: 0;
  padding: 0;

  /* 文字サイズ：下の説明文（st-lead）と同等にしたいので 1rem に固定 */
  font-size: 1rem;
  line-height: 1.7;

  /* 見やすい並び（PCは2列、スマホは1列） */
  column-count: 2;
  column-gap: 24px;
}

@media (max-width: 640px){
  #sucutaTablesWrap .st-anchorNav{
    column-count: 1;
  }
}

#sucutaTablesWrap .st-anchorNav li{
  break-inside: avoid;
  padding: 2px 0;
  margin: 0;
}

#sucutaTablesWrap .st-anchorNav a{
  /* “説明文に負けない”見え方に */
  display: inline-flex;
  align-items: center;
  gap: 0.45em;

  font-size: 1em;          /* st-anchorNav の 1rem に揃う */
  font-weight: 700;
  color: #0b3a8a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

#sucutaTablesWrap .st-anchorNav a:hover{
  opacity: 0.85;
}

#sucutaTablesWrap .st-anchorNav a:focus-visible{
  outline: 2px solid rgba(11,58,138,0.35);
  outline-offset: 3px;
}

/* 控えめでおしゃれな虫眼鏡（CSSで付与） */
#sucutaTablesWrap .st-anchorNav a::before{
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 1.05em;

  /* SVG（虫眼鏡） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230b3a8a' d='M10 2a8 8 0 105.293 14.293l4.707 4.707a1 1 0 001.414-1.414l-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  opacity: 0.55;           /* 控えめ */
  transform: translateY(0.03em);
}

/* ================================
   目次リンク：下線（アンダーバー）削除
   ================================ */

#sucutaTablesWrap .st-anchorNav a{
  text-decoration: none !important;
}

.alert-notice-box {
    margin: 20px 0;
    border: 2px solid #ff9800;
    border-radius: 10px;
    background-color: #fff9f0;
    overflow: hidden;
}

/* A. 見出しを改行させない設定 */
.alert-header {
    background-color: #ff9800;
    color: #fff;
    padding: 10px 12px;
    font-weight: bold;
    /* 改行禁止の設定 */
    white-space: nowrap; 
    /* 横幅からはみ出る場合は少し小さくする調整（スマホ対応） */
    font-size: clamp(0.85rem, 4vw, 1.05rem); 
    display: flex;
    align-items: center;
}

.alert-icon {
    margin-right: 5px;
    flex-shrink: 0;
}

.alert-body {
    padding: 15px;
}

/* B. 文章のサイズを下のテキスト（0.85rem）に合わせる */
.alert-item {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.85rem; /* 下の注釈と同じサイズに設定 */
}

.alert-num {
    background-color: #ff9800;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

.alert-item strong {
    color: #e65100;
    background: linear-gradient(transparent 70%, #ffe0b2 70%);
    font-weight: bold;
}

.alert-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ffb74d;
    font-size: 0.85rem; /* ここに合わせています */
    color: #555;
}

.alert-footer p {
    margin: 4px 0;
}


/* --- 50ccコミ画像の入れ替え　基本設定 --- */
.plan-section {
    padding: 40px 10px 40px;
    background-color: #fdfdfd;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

.plan-section .container {
    max-width: 1050px;
    margin: 0 auto;
}

.plan-layout-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

/* ラベル共通デザイン */
.label,
.label-option {
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 6px;
}

.label { background: #f39800; }
.label-option { background: #00a1e9; }

/* メインプランボックス */
.main-plan-box {
    background: #fff;
    border: 4px solid #f39800;
    border-radius: 18px;
    padding: 20px 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.main-plan-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f3f3;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.plan-info { flex: 1; }

.plan-title-huge {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #000;
    white-space: nowrap;
    margin: 0 0 4px 0;
}

.price-display .amount {
    font-size: 3.2rem;
    font-weight: bold;
    color: #000;
}
.price-display .unit {
    font-size: 1.2rem;
    font-weight: bold;
}

.plan-visual {
    flex: 0 0 64%;
    text-align: right;
}
.bike-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,0.15));
}

.include-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.include-list li {
    font-size: 0.98rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.check {
    color: #f39800;
    margin-right: 8px;
    font-weight: bold;
    font-style: normal;
}

/* 安心パックボックス */
.option-plan-box {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 18px 16px;
}

.option-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.option-text-area { flex: 1; }

.option-header h3 {
    font-size: 1.4rem;
    margin: 6px 0 4px 0;
}
.option-title {
    white-space: nowrap;
}

.option-description {
    font-size: 1.0rem;
    color: #e60012;
    margin: 15px 0 0 0;
}

.option-visual-area {
    flex: 0 0 90px;
    text-align: center;
    margin: 10px 0 0 0;
}
.anshin-icon-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    display: block;
}

.option-price-area {
    text-align: right;
    min-width: 220px;
}

.plus-label {
    margin: 0 0 4px 0;
}
.plus-label span {
    font-size: 2.2rem;
    color: #e60012;
    font-weight: bold;
}
.total-badge {
    font-size: 0.95rem;
}
.total-badge span {
    font-size: 1.4rem;
    border-bottom: 2px solid #333;
    font-weight: bold;
}

.payment-footer-note {
    font-size: 0.82rem;
    color: #666;
    margin-top: 8px;
    border-top: 1px dashed #ccc;
    padding-top: 8px;
}

/* CTA */
.cta-section {
    text-align: center;
    margin-top: 10px;
}
.line-button {
    display: inline-block;
    background: #06C755;
    color: #fff;
    padding: 16px 40px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(6,199,85,0.35);
}
.cta-hint {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #666;
}

/* --- スマホ対応修正（問題箇所） --- */
@media (max-width: 950px) {
    .main-plan-box,
    .option-plan-box {
        padding: 10px 10px;
    }

    .main-plan-flex {
        flex-direction: column;
        text-align: center;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .plan-visual {
        margin-top: 5px;
        order: 3;
        text-align: center;
    }
    .bike-img {
        max-width: 95%;
        height: auto;
    }

    /* 修正点：nowrapの解除と余白の適正化 */
    .plan-title-huge {
        font-size: 1.8rem !important;
        font-weight: 800;
        line-height: 1.2 !important; /* 0.8から1.2へ修正：文字の重なり防止 */
        margin-bottom: 5px !important; /* -15pxから5pxへ修正：下の要素との重なり防止 */
        white-space: normal !important; /* nowrapからnormalへ修正：スマホ画面内での自然な改行を許可 */
        display: block;
        letter-spacing: -0.05em;
    }

    .price-display .amount {
        font-size: 2.2rem;
    }

    .include-list {
        grid-template-columns: 1fr;
        gap: 6px 10px;
    }
    .include-list li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .option-flex-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .option-visual-area {
        flex: none;
        width: 72px;
        margin: 0 auto;
    }
    .option-price-area {
        margin-top: 0px;
        margin-bottom: 20px;
        min-width: auto;
        text-align: center;
    }

    .option-header h3 {
        font-size: 1.2rem;
    }
    .plus-label span {
        font-size: 2.0rem;
    }

    .plan-section {
        padding: 30px 8px 32px;
    }
}

/* =========================================================
   1. テンプレート(style.css)の h2 / h3 の装飾を強制リセット
   ========================================================= */

/* コミコミプラン(#sucuta-plan-2026) と ご利用方法(.box74) 内のタイトルを対象 */
#main #sucuta-plan-2026 h2,
#main #sucuta-plan-2026 h3,
#main .box74 h3 {
    background: transparent !important; /* 青や白の背景を消す */
    border: none !important;           /* 枠線を消す */
    padding: 0 !important;            /* 内側の余白を消す */
    margin: 0 !important;             /* 外側の余白を消す */
    border-radius: 0 !important;       /* 角丸を消す */
    clear: none !important;            /* 改行の強制解除 */
    box-shadow: none !important;       /* 影を消す */
}

/* テンプレート特有の「1文字目の縦線」を消す */
#main #sucuta-plan-2026 h2::first-letter,
#main #sucuta-plan-2026 h3::first-letter,
#main .box74 h3::first-letter {
    border-left: none !important;
    padding-left: 0 !important;
}

/* =========================================================
   2. デザインの再定義（文字の大きさを適切に調整）
   ========================================================= */

/* 「50cc 月額レンタル」などの大きなタイトル */
.plan-title-huge {
    font-size: 1.6rem !important; /* 2.6remから1.6remに縮小。適宜調整してください */
    font-weight: 800 !important;
    color: #000 !important;
    line-height: 1.3 !important;
    display: block !important;
}

/* 「【ご利用方法】」などのボックス内見出し */
.box74 h3 {
    font-size: 1.2rem !important; /* 本文より少し大きく */
    font-weight: bold !important;
    color: #038aa4 !important;    /* タイトル色に合わせる */
    margin: 15px 0 10px !important;
}

/* 安心パック内のタイトル調整（スマホで重ならないように） */
@media (max-width: 950px) {
    .plan-title-huge {
        font-size: 1.4rem !important;
    }
}

/* =========================================================
   詳細テーブル（#sucutaTablesWrap）内の装飾リセット
   ========================================================= */

/* 1. テンプレート(style.css)の枠線・背景・余白をすべて消去 */
#main #sucutaTablesWrap h3,
#main #sucutaTablesWrap h2 {
    background: transparent !important; /* 青い帯を消す */
    border: none !important;           /* 白い枠線を消す */
    padding: 0 !important;            /* 内側の余白を消す */
    margin: 0 !important;             /* 外側の余白を消す */
    border-radius: 0 !important;       /* 角丸を消す */
    box-shadow: none !important;       /* 影を消す */
    clear: none !important;            /* 改行の強制を解除 */
}

/* 2. 1文字目に出る「縦線（::first-letter）」を完全に消す */
#main #sucutaTablesWrap h3::first-letter,
#main #sucutaTablesWrap h2::first-letter {
    border-left: none !important;      /* テンプレートの縦線を消去 */
    padding-left: 0 !important;        /* 縦線用の余白を消去 */
}

/* 3. 本来のデザイン（st-cardHead内のh3）を維持するための調整 */
#sucutaTablesWrap .st-cardHead h3 {
    display: block !important;
    font-size: 16px !important;        /* デザイン通りのサイズ */
    font-weight: 800 !important;
    color: #fff !important;            /* 文字は白にする */
    line-height: 1.4 !important;
}

/* 以前お伝えしたコミコミプラン用のリセットも念のため統合 */
#main #sucuta-plan-2026 h3,
#main #sucuta-plan-2026 h2 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
#main #sucuta-plan-2026 h3::first-letter,
#main #sucuta-plan-2026 h2::first-letter {
    border-left: none !important;
    padding-left: 0 !important;
}

/* スマホメニューが最初から開いてしまう現象の修正 */
@media screen and (max-width: 900px) {
    #menubar-s {
        display: none; /* 初期状態を非表示に強制する */
    }
}

/* レンタルバイク車両補償セクション専用スタイル */
.rb-guard-main-container {
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
    border: 4px solid #1a4a9c;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: 'Noto Sans JP', sans-serif;
    color: #000;
}

.rb-guard-header {
    background-color: #1a4a9c;
    color: #ffffff;
    text-align: center;
    padding: 20px 10px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rb-guard-header::before {
    content: "";
    width: 8px;
    height: 24px;
    background: #fff;
    display: inline-block;
}

.rb-guard-content-grid {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .rb-guard-content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.rb-guard-box {
    display: flex;
    align-items: flex-start;
    border: 2px solid #1a4a9c;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
    box-shadow: 2px 2px 0px rgba(26, 74, 156, 0.1);
}

.rb-guard-box.is-blue-light {
    background-color: #e3f2fd;
    border-color: #03a9f4;
}

.rb-guard-box.is-alert {
    background-color: #fff5f5;
    border-color: #e53935;
}

.rb-guard-icon {
    min-width: 35px;
    font-size: 24px;
    margin-right: 12px;
    margin-top: -2px;
}

.rb-guard-label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1a4a9c;
    font-weight: 700;
}

.rb-guard-box.is-alert .rb-guard-label {
    color: #e53935;
}

.rb-guard-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
}

.rb-guard-price-blue { color: #0288d1; }
.rb-guard-price-red { color: #d32f2f; }
/* レンタルバイク車両補償セクション専用スタイル ここまで */