* {
    margin: 0;
    padding: 0;
}

.st-MainContents {
  font-feature-settings: "palt";
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; 
}

:root {
    --crimson-red: #BF0000;    
    --blue: #E1F5FE;
    --yellow: #FFFDE7;
    --orange: #EC6B02;
    --black: #333333;
}

body {
    color: var(--black);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

p {
    margin-bottom: 0px;
}

section {
    margin-bottom: 0px;
}


    /* ==================== カウントダウン ==================== */

.section-first .contdown-area {
  text-align: center;
  margin: 15px 0px;
}
.section-first .contdown-area .balloon {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  margin-right: 10px;
  border: 1px solid #dddddd;
  border-radius: 4px;
}
.section-first .contdown-area .balloon:after,
.section-first .contdown-area .balloon:before {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.section-first .contdown-area .balloon:after {
  border-color: rgba(255, 255, 255, 0);
  border-left-color: #ffffff;
  border-width: 6px;
  margin-top: -6px;
}
.section-first .contdown-area .balloon:before {
  border-color: rgba(221, 221, 221, 0);
  border-left-color: #dddddd;
  border-width: 7px;
  margin-top: -7px;
}
.section-first .contdown-area #countdown-time {
  font-size: 16px;
  vertical-align: middle;
}
.section-first .contdown-area #countdown-time span {
  margin: 0 5px;
  font-weight: bold;
  font-size: 24px;
  color: #bf0000;
}

/*countdown*/
@media all and (max-width: 768px) {
      .section-first .contdown-area .balloon:before,
      .section-first .contdown-area .balloon:after {
        border: 0 !important;
      }
      .section-first .contdown-area .balloon {
        position: relative;
        display: inline-block;
        padding: 0;
        border: 0;
        margin-right: 0;
      }
      .contdown-area {
        padding: 5px 0;
        text-align: center;
        font-size: 14px;
      }
      .contdown-area #countdown-time {
        font-size: 14px !important;
        vertical-align: top !important;
      }     
      .contdown-area #countdown-time span {
        margin: 0 5px;
        font-size: 16px !important;
        font-weight: bold;
        color: #bf0000;
      }
  }

    /* ==================== メインビジュアル ==================== */
.point5x-hero_banner {
    margin: 0;
}

picture {
    display: block;
}

    /* ==================== キャンペーン期間 ==================== */
.point5x-period {
    background-color: #303848;
    text-align: center;
    padding: 15px 16px;
    color: white;
}

.point5x-period_date {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.point5x-period_caution {
    font-size: 11px;
}

/* PCやタブレット（画面幅768px以上）向けのスタイル */
@media screen and (min-width: 768px) {
    .point5x-period_date {
        font-size: 16px;
    }

    .point5x-period_caution {
        font-size: 12px;
    }
}


    /* ==================== エントリーボタン ==================== */
/* entryArea */
.entryArea {
    padding: 28px 16px;
}

.entryArea-title {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.05em;    
    color: var(--crimson-red);
}

.CampaignEntryButton_campaignButton__n6hK5 {
    margin: 15px 0 0 !important;; 
}

    /* ==================== どんなサービス？ ==================== */
    .point5x-intro {
        background-color: #E1F5FE;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px; /* スマホで見やすいように外側余白を調整 */
    }

    /* カード本体 */
    .point5x-intro_card {
        background-color: #ffffff;
        width: 100%;
        max-width: 960px;
        margin: 0;
        padding: 25px;
        border-radius: 10px;
        box-sizing: border-box;
        text-align: center;
    }

    /* サブタイトル */
    .point5x-intro_subtitle {
        color: #19356E;
        font-weight: bold;
        font-size: 20px;
        display: inline-block;
        border-bottom: 2px solid #19356E;
        padding-bottom: 2px;
        margin-bottom: 20px;
    }

    /* メインタイトル */
    .point5x-intro_title {
        color: #19356E;
        font-size: 36px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    /* --- レイアウト設定（Flexbox・横並び固定） --- */

    /* コンテンツエリア */
    .point5x-intro_content {
        display: flex;       /* 横並びにする */
        align-items: center; /* 上下中央揃え */
        gap: 20px;           /* 画像とテキストの間隔 */
        
        width: 70%;    /* PCでの最大幅 */
        margin: 0 auto;
        text-align: left;
    }

    /* 画像エリア */
    .point5x-intro_image {
        flex-shrink: 0; /* 画面が狭くなっても画像を縮小させない */
        width: 95px;    /* 画像の幅を確保 */
    }

    .point5x-intro_image img {
        width: 100%;    /* 親要素に合わせて表示 */
        height: auto;
        display: block;
    }

    /* テキストラッパー */
    .point5x-intro_text-wrapper {
        flex: 1; /* 残りの幅をすべてテキストに使う */
        min-width: 0; /* Flexbox内での折り返しバグ防止 */
    }

    /* テキスト */
    .point5x-intro_text {
        color: #333;
        font-size: 22px; 
        line-height: 1.5;
        font-weight: 500;
            word-break: keep-all;
    overflow-wrap: break-word;
    }

    /* 注釈 */
    .point5x-intro_note {
        font-size: 13px;
        color: #333;
        margin-top: 10px;
        line-height: 1.4;
    }

    /* 赤文字強調 */
    .point5x-highlight-red {
        color: #cc0000;
        font-weight: bold;
    }

        /* 改行の制御用クラス */
    .point5x-sp-br { display: none; } /* PCでは非表示 */
    .point5x-pc-br { display: inline; } /* PCでは表示 */

    /* スマホ調整（レイアウトは変えず、余白のみ微調整） */
/* スマホ調整 */
@media screen and (max-width: 768px) {
    .point5x-intro_title {
        font-size: 28px;
    }

        .point5x-intro_subtitle {
            font-size: 14px;
        }

  .point5x-intro {
    padding: 10px;
  }
  .point5x-intro_card {
    padding: 20px 15px;
  }

  .point5x-intro_content {
    width: 100%;
    gap: 15px;
    /* ▼▼▼ 追加：中身を中央寄せにする ▼▼▼ */
    justify-content: center; 
  }

      .point5x-intro_text {
        font-size: 16px;
      }

  /* ▼▼▼ 追加：テキストエリアの「幅いっぱい広がる設定」を解除 ▼▼▼ */
  .point5x-intro_text-wrapper {
    flex: initial;
  }

  .point5x-sp-br { display: inline; } 
  .point5x-pc-br { display: none; }   
}





    /* ==================== 追従メニュー ==================== */
    /* .point5x-nav {
        width: 100%;
        margin: 15px 0;
        position: sticky;
        top: 0;
        z-index: 99;
        transition: box-shadow 0.3s ease;
        background-color: #ffffff;
    }

    .point5x-nav.has-shadow {
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    } */

    /* .point5x-nav_inner.is-sticky {
        max-width: 960px;
        margin: 0 auto;
        display: flex;
        flex-wrap: nowrap;
        width: 100%; 
    }  */

/* --- ① 外枠の設定（追従の動き用） --- */
.point5x-nav {
    width: 100%;
    margin: 15px 0;
    z-index: 99;
    transition: box-shadow 0.3s ease;
    background-color: #ffffff;
    
    /* position: sticky は削除し、初期状態は relative にします */
    position: relative;
    top: 0;
}

/* JavaScriptで付与される固定用クラス */
.point5x-nav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0; /* 固定時はマージンを消す */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    /* animation: slideDown 0.3s ease; */
}

/* ふわっと出すアニメーション */
/* @keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
} */

/* --- ② 中身の設定（横並び用） --- */
.point5x-nav_inner {
    max-width: 960px;
    margin: 0 auto;
    
    /* ここで横並びを指定します */
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    
    width: 100%;
}
s

    a.point5x-nav__list {
        text-decoration: none;
    }

    .point5x-nav__list {
        font-size: 16px;
        line-height: 1.4;
        flex: 1 1 0; /* 均等割付 */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        text-align: center;
        padding: 8px 8px;
        box-sizing: border-box;
        text-decoration: none;
        border-right: 1.5px solid #ccc;
        color: #333333;
        position: relative;
        background-color: #fff; /* 背景色を明示 */
        transition: background-color 0.2s;
    }

    .point5x-nav__list:hover {
        background-color: #f9f9f9;
    }

    /* 最後線なし */
    .point5x-nav__list:last-child {
        border-right: none;
    }

    .point5x-nav__list span {
        display: block;
        text-align: center;
        font-weight: bold;
    }

    /* アイコン共通設定 */
    .point5x-nav__icon,
    .point5x-nav__icon2,
    .point5x-nav__icon3 {
        height: auto;
        margin-bottom: 5px;
        display: block;
    }

    /* 個別サイズ (PC) */
    .point5x-nav__icon { width: 29px; }
    .point5x-nav__icon2 { width: 29px; }
    .point5x-nav__icon3 { width: 29px; }


    /* --- ★レスポンシブ対応（スマホ用） --- */
    @media screen and (max-width: 768px) {

        .point5x-nav__list {
            padding: 8px 2px; /* 横の余白を詰める */
            font-size: 12px;  /* 文字サイズを少し小さく */
            border-right-width: 1px; /* 境界線を少し細く */
        }

        /* アイコンサイズをスマホ用に調整（少し小さく統一感を持たせる） */
        .point5x-nav__icon, 
        .point5x-nav__icon2, 
        .point5x-nav__icon3 {
            height: auto;  /* 幅は自動 */
            margin-bottom: 5px;
        }

      .point5x-nav__icon { width: 24px; }
      .point5x-nav__icon2 { width: 22px; }
      .point5x-nav__icon3 { width: 21px; }

    }




    /* ==================== ご利用方法 ==================== */
    
    .tb-scheme-main-form * {
        box-sizing: border-box;
    }

    /* point5x-flow */
    .point5x-flow {
        background: #FDFBE5;
        text-align: center;
        padding: 35px 16px;
    }

    .point5x-flow_title {
        color: var(--orange);
        margin: 0;
        margin-bottom: 48px;
        font-size: 28px;
        font-weight: bold;
    }

    .point5x-flow_inner {
        max-width: 737px;
        margin: 0 auto;
    }
    .point5x-flow_list {
        display: flex;
        flex-direction: column;
        gap: 48px;
        list-style: none;
        padding: 0;
    }
    .point5x-flow-item {
        background-color: #fff;
        padding: 12px 13px 32px 13px;
        position: relative;
        border-radius: 8px;
        /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    }
    .point5x-flow_ttl {
        color: black;
        margin-bottom: 10px;
        margin-top: 24px;
        font-size: 1.2em;
        font-weight: 700 !important;
        font-family: "Noto Sans JP", sans-serif;
    }
    .point5x-flow_sub {
        font-size: 14px;
        font-weight: bold;
        display: block;
        line-height: 1.5;
    }
    .point5x-flow_num {
        position: absolute;
        margin: 0 auto 1rem;
        display: block;
        width: 6em;
        text-align: center;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        background: var(--orange);
        border-radius: 1.5em;
        padding: 5px;
        line-height: 1.5;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .point5x-note-text {
      font-size: 11px;
    }


    .point5x-note-text.flow {
        text-align: center;
    }

    /* --- 検索フォームのスタイル --- */
    
    .tb-scheme-main-form {
display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-self: stretch;
        margin-top: 16px;
        width: 100%;
        background-color: #fff;

    }

.tb-scheme-main-form__inner {
        display: flex;
        /* 余白を削除し、親要素の幅に合わせる */
        padding: 0; 
        justify-content: center;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        width: 100%;
        /* パディングを含めて幅を計算させる */
        box-sizing: border-box; 
    }

    .tb-scheme-main-form__label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: #333;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
    }


    /* 入力欄 */
    .tb-scheme-main-form__input {
        display: flex;
        height: 48px;
        min-width: auto; 
        width: 100%; /* 親要素いっぱいに広げる */
        max-width: 450px;
        flex: 1;
        box-sizing: border-box; /* 追加 */
    }

    .tb-scheme-main-form__input input {
        width: 100%;
        height: 48px;
        padding: 0 12px;
        border-radius: 4px 0 0 4px;
        border: 1px solid #686868;
        border-right: none;
        background: #FFF;
        font-size: 16px;
        outline: none;
    }

    /* 送信ボタン */
    .tb-scheme-main-form__submit {
        display: flex;
        min-width: 88px;
        height: 48px;
        padding: 0 24px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border: none;
        border-radius: 0 4px 4px 0;
        background: #BF0000;
        color: #FFF;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        white-space: nowrap;
    }
    .tb-scheme-main-form__submit:hover {
        opacity: 0.9;
    }

    /* 固定時は画面端まで広がるため、パディングを戻す */
    .tb-scheme-main-form.fixed .tb-scheme-main-form__inner {
        display: flex;
        padding: 0 20px; /* スマホでも無理のない余白に調整（元は40px） */
        
    }

    
    /* 固定時のレスポンシブ調整 */
    @media screen and (max-width: 768px) {
        .tb-scheme-main-form__input {
            min-width: auto;
        }

    }

    /* --- 画像 --- */
    .step-img {
        width: 200px;
        height: auto;
        margin: 20px auto 0px auto;
        display: block;
    }
    .point5x-flow_detail_point img {
        max-width: 100%;
        height: auto;
    }

    /* --- 画像 --- */
    @media screen and (min-width: 768px) {
    .point5x-flow_title {
        font-size: 32px;
    }

    .point5x-flow_ttl {
      font-size: 24px;
    }

    .point5x-flow_sub {
      font-size: 18px;
    }

    .point5x-note-text {
      font-size: 12px;
    }
}



/* ==================== 楽天Carタイヤ持ち込み交換とは ==================== */
        /* 画像の共通リセット */
        .point5x-about img {
            max-width: 100%;
            height: auto;
            vertical-align: bottom;
        }
        .point5x-about {
            background-color: var(--orange);
            color: var(--black);
            line-height: 1.5;
        }

        /* ページ全体のラッパー */
        .point5x-about_inner {
            width: 100%;
            max-width: 480px; /* スマホ初期値 */
            margin: 0 auto;
            padding: 35px 15px;
            box-sizing: border-box;
        }

        .point5x-highlight-red {
            color: var(--crimson-red);
            font-weight: bold;
        }

        .point5x-attention {
            font-size: 18px;
            font-weight: bold;
        }

        /* ============================
           ヘッダータイトルエリア
           ============================ */
        .point5x-about_title {
            color: #fff;
            text-align: center;
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
            line-height: 1.3;
        }

        /* ============================
           上部エリア（白いボックス） - Gridレイアウト採用
           ============================ */
        .point5x-about_intro {
            background-color: #fff;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
            /* Grid設定 */
            display: grid;
            grid-template-columns: auto 1fr; /* 左:画像幅自動 / 右:残り */
            column-gap: 15px; /* 横の隙間 */
            row-gap: 10px;    /* 縦の隙間 */
            align-items: center;
        }

        /* 画像ラッパー */
        .point5x-about_intro_img {
            width: 70px;
            height: auto;
            /* スマホ: 1列目・1行目 */
            grid-column: 1;
            grid-row: 1;
            
            /* 角丸削除 */
            /* border-radius: 50%; */ 
            overflow: hidden;
            aspect-ratio: 1 / 1; /* 正方形を維持 */
        }
        
        .point5x-about_intro_img img {
            width: 100%;
            height: auto;
        }

        /* メインテキスト */
        .point5x-about_intro_text {
            font-size: 16px;
            font-weight: bold;
            /* スマホ: 2列目・1行目 */
            grid-column: 2;
            grid-row: 1;
        }

        /* 注釈テキスト */
        .point5x-note-text {
            display: block;
            font-size: 12px; /* 少し小さく */
            font-weight: normal;
            text-align: center;
            /* スマホ: 1列目〜末尾まで（全幅）・2行目 */
            grid-column: 1 / -1;
            grid-row: 2;
        }

        /* ============================
           メインコンテンツ（クリーム色）
           ============================ */
        .point5x-about_merit {
            background-color: var(--yellow);
            border-radius: 10px;
            padding: 30px 15px;
        }

        .point5x-about_merit_title {
            max-width: 310px;
            background-color: var(--orange);
            color: #fff;
            text-align: center;
            font-weight: bold;
            padding: 7px 30px 7px 10px;
            margin: 0px auto 18px auto;
            font-size: 18px;
            position: relative;
            clip-path: polygon(0% 0%, 93% 0%, 100% 50%, 93% 100%, 0% 100%);
        }

        /* ----------------------------
           メリットセクション
           ---------------------------- */
        .point5x-about_merit_list {
            display: flex;
            flex-direction: column; /* スマホは縦積み */
            gap: 15px;
            margin-bottom: 30px;
        }

        .point5x-about_merit_card {
            background-color: #fff;
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 15px;
            height: 100%; /* 高さを揃えるため */
            box-sizing: border-box;
        }

        .point5x-about_merit_img {
            width: 60px;
            height: 60px; /* 高さ固定 */
            /* 角丸削除 */
            /* border-radius: 50%; */
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .point5x-about_merit_text {
            font-size: 14px;
            font-weight: bold;
        }

        .point5x-about_merit_text small {
            font-size: 10px;
            font-weight: normal;
            display: block;
            margin-top: 2px;
            color: #666;
        }

        /* ----------------------------
           こんなシーンで活躍セクション
           ---------------------------- */
        .point5x-about_scene {
            display: grid;
            grid-template-columns: 1fr 1fr; /* スマホは2列 */
            gap: 15px;
            margin-bottom: 25px;
        }

        .point5x-about_scene_card {
            background-color: #fff;
            border-radius: 8px;
            padding: 15px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            height: 100%; /* 高さを揃える */
            box-sizing: border-box;
        }

        .point5x-about_scene_text {
            font-size: 12px;
            font-weight: bold;
            margin: 0 0 10px 0;
            min-height: 2.4em; /* 2行分確保 */
        }

        .point5x-about_scene_img {
            width: 120px;
            height: auto;
            /* 角丸削除 */
            overflow: hidden;
        }
        
        .point5x-about_scene_img img {
            width: 100%;
            height: auto;
        }

        /* ----------------------------
           CTAボタンエリア
           ---------------------------- */
        .point5x-about_cta {
            text-align: center;
            margin-top: 10px;
        }

        .point5x-about_cta_subtext {
            color: var(--orange);
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 8px;
            display: block;
        }

        .point5x-about_cta_button {
            display: block;
            background-color: #fff;
            border: 2px solid var(--orange);
            border-radius: 10px;
            padding: 12px;
            text-decoration: none;
            color: var(--orange);
            font-size: 12px;
            line-height: 1.4;
            position: relative;
            max-width: 100%;
            box-shadow: 1px 2px 0px #FFDABE;
            font-weight: bold;
        }

        .point5x-about_cta_button strong {
            font-size: 15px;
            display: block;
        }

        .point5x-about_cta_button::after {
            content: '';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
            width: 8px;
            height: 8px;
            border-top: 2px solid var(--orange);
            border-right: 2px solid var(--orange);
        }

        /* ============================
           PC・タブレット向けレスポンシブ設定
           (画面幅 768px 以上)
           ============================ */
        @media (min-width: 768px) {
            
            /* 幅を広げる */
            .point5x-about_inner {
                max-width: 960px;
                padding: 35px 0px;
            }

            .point5x-about_title {
                font-size: 36px;
                margin-bottom: 20px;
            }

            /* PCではSP用改行を無効化 */
            .point5x-sp-br {
                display: none;
            }

            /* Introエリアの調整 (Gridレイアウト変更) */
            .point5x-about_intro {
                padding: 30px;
                max-width: 960px;
                margin-left: auto;
                margin-right: auto;
                
                /* PC: 隙間を広げる */
                column-gap: 30px;
                row-gap: 5px;
                /* 上揃えに変更（テキストと注釈を縦に並べるため） */
                align-items: start;


                /* ★変更点: コンテンツを中央寄せにする */
                justify-content: center;
                grid-template-columns: auto auto; /* 1frをやめてコンテンツ幅に合わせる */
            }

            .point5x-about_intro_img {
                width: 100px;
                height: 100px;
                /* PC: 画像は1行目から2行目までまたぐ */
                grid-row: 1 / 3;
                grid-column: 1;
            }

            .point5x-about_intro_text {
                font-size: 18px;
                /* PC: テキストは1行目・2列目 */
                grid-row: 1;
                grid-column: 2;
                align-self: end; /* テキストを下寄りに配置 */
            }
            
            .point5x-note-text {
                font-size: 14px;
                /* PC: 注釈は2行目・2列目（テキストの下） */
                grid-row: 2;
                grid-column: 2;
                align-self: start; /* 注釈を上寄りに配置 */
                text-align: left;
            }

            /* コンテンツエリア */
            .point5x-about_merit {
                padding: 30px;
            }

            /* メリット：3列グリッドに変更 */
            .point5x-about_merit_list {
                display: grid;
                grid-template-columns: repeat(3, 1fr); /* 3列 */
                gap: 20px;
            }
            
            /* PC版メリットカード：縦積みに変更してバランス良く */
            .point5x-about_merit_card {
                flex-direction: column;
                text-align: center;
                padding: 15px;
                justify-content: flex-start;
            }
            
            /* アイコンサイズ調整（PC版） */
            .point5x-about_merit_img {
                width: 80px;
                height: 80px;
            }

            .point5x-about_merit_text {
                font-size: 16px;
            }

            .point5x-attention {
                font-size: 20px;
            }

            /* シーン：幅を制限して中央寄せ */
            .point5x-about_scene {
                max-width: 600px;
                margin-left: auto;
                margin-right: auto;
                gap: 30px;
            }

            .point5x-about_scene_text {
                font-size: 14px;
            }

            .point5x-about_scene_img {
                width: 120px;
                height: auto;
            }

            /* CTAボタン */
            .point5x-about_cta_button {
                max-width: 600px;
                margin: 0 auto;
                font-size: 16px;
                padding: 12px 0px;
            }

            .point5x-about_cta_button strong {
                font-size: 20px;
                margin-top: 5px;
            }

            .point5x-about_cta_button:hover {
                background-color: #fffaf0; /* ホバー時の色変化 */
            }

            .point5x-about_cta_subtext {
                font-size: 14px;
            }
        }



    /* ==================== 料金 ==================== */
        .point5x-price { background-color: var(--blue); line-height: 1.5; }
        .point5x-price a { text-decoration: none; color: #0074AD; }

        /* =========================================
           レイアウト
           ========================================= */
        .point5x-price_inner { max-width: 960px; margin: 0 auto; padding: 35px 16px 15px 16px; }

        /* =========================================
           ヘッダーエリア
           ========================================= */
        .point5x-price_header { text-align: center; margin-bottom: 25px; }
        .point5x-price_title { font-size: 28px; color: #19356E; margin-bottom: 20px; font-weight: bold;}
        .point5x-price_sub-title { font-size: 18px; font-weight: bold; margin-bottom: 3px; }
        .point5x-price_sub-area { text-align: left; max-width: 342px; margin: 0px auto; }
        .point5x-price_header_note { font-size: 11px; }

        /* =========================================
           カードコンポーネント
           ========================================= */
        .point5x-price_card { background-color: #fff; border-radius: 10px; padding: 15px 16px; margin-bottom: 20px; }
        .point5x-price_card_head { display: flex; align-items: center; margin-bottom: 16px; }
        .point5x-price_card_head .point5x-price_bar { display: block; width: 5px; height: 24px; background-color: #0F3A7A; margin-right: 12px; }
        .point5x-price_card_head h3 { font-size: 18px; font-weight: bold; }
        .point5x-price_example { text-align: center; font-size: 16px; margin-bottom: 12px; }
        .point5x-price_red { color: #C00000; font-size: 24px; font-weight: bold; }

        /* =========================================
           料金テーブル
           ========================================= */
        .point5x-price_table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
        .point5x-price_table th, .point5x-price_table td { border: 1px solid #D1D1D1; padding: 12px 5px; text-align: center; font-size: 14px; }
        .point5x-price_table thead th { background-color: #E1F5FE; font-weight: bold; }
        .point5x-price_table tbody th { background-color: #F7F7F7; font-weight: bold; }
        .point5x-price_table_note { text-align: right; font-size: 12px; margin-bottom: 16px; }

        /* =========================================
           情報ボックス・注意書き
           ========================================= */
        .point5x-price_info { background-color: #F8F8F8; padding: 15px; border-radius: 4px; font-size: 14px; }
        .point5x-price_info_note { font-size: 12px; margin-top: 5px; margin-bottom: 15px; }
        .tb-scheme-main-price__service-link { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 13px; color: #0074AD; }
        .tb-scheme-main-price__service-link svg { fill: #0074AD; }
        .tb-scheme-main-price__caution { display: flex; padding: 12px; align-items: flex-start; gap: 8px; border-radius: 4px; background: #FEF0DD; color: #A35E04; font-size: 12px; line-height: 1.4; }
        .tb-scheme-main-price__caution svg { flex-shrink: 0; fill: #A35E04; }

        @media (min-width: 768px) {
            .point5x-price_title { font-size: 36px; }
            .point5x-price_sub-title { font-size: 20px; }
            .point5x-price_header_note { font-size: 12px; }
            .point5x-price_card_head h3 { font-size: 20px; }
            .point5x-price_card { max-width: 960px; padding: 16px 155px; margin: 0px auto 20px auto;}
        }

/*modal*/
.te-top-modal-overlay {
    align-items: center;
    background-color: rgba(0, 0, 0, .8);
    display: none;
    height: 100vh;
    justify-content: center;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity .3s ease-in-out;
    width: 100vw;
    z-index: 100
}

.te-top-modal-overlay.isActive {
    display: flex;
    opacity: 1;
    pointer-events: auto
}

.te-top-modal-content {
    align-items: flex-start;
    background: var(--color-bg-neutral-base, #fff);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    max-width: 800px;
    padding: 0 0 18px;
    position: relative;
    width: calc(100% - 32px)
}

.te-top-modal-content h2,
.te-top-modal-content h3,
.te-top-modal-content h4,
.te-top-modal-content p {
    margin: 0
}

.te-top-modal-content__header {
    align-items: center;
    align-self: stretch;
    display: flex;
    gap: 4px;
    justify-content: center;
    padding: 16px;
}

.te-top-modal-content__title {
    align-items: center;
    color: var(--text-high, #333);
    display: flex;
    flex: 1 0 0;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    line-height: 130%;
    min-height: 2.5em;
    text-align: center
}

.modal-img {
    width: 100px !important;
}

@media screen and (min-width: 768px) {
    .te-top-modal-content__title {
        min-height: auto;
        font-size: 20px;
    }

    .te-top-modal-content__title br {
        display: none
    }
}

.te-top-modal-content__inner {
    gap: 16px;
    overflow-y: scroll;
    padding: 0px 16px
}

.te-top-modal-content__inner,
.te-top-modal-content__main {
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    flex-direction: column
}

.te-top-modal-content__main {
    gap: 12px
}

.te-top-modal-content__subtitle {
    color: var(--color-text-neutral-high, #333);
    font-size: var(--type-lead-body-4, 18px);
    font-weight: 700;
    line-height: 130%;
    text-align: center
}

.te-top-modal-content__row {
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 12px
}

.te-top-modal-content__row-wrapper {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.te-top-modal-content__col {
    align-items: flex-start;
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 8px;
    justify-content: center
}

.te-top-modal-content__head {
    color: var(--Neutral-900, #333);
    font-size: var(--type-body-1);
    font-weight: 700;
    line-height: 130%
}

.te-top-modal-content__text {
    align-self: stretch;
    color: var(--Neutral-900, #333);
    font-size: 12px;
    font-weight: 400;
    line-height: 130%
}

.te-top-modal-content__option {
    align-items: flex-start;
    align-self: stretch;
    background: var(--color-bg-neutral-medium, #ebebeb);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.te-top-main-accordion {
    align-items: flex-start;
    align-self: stretch;
    background-color: transparent;
    border-bottom: 1px solid var(--color-border-neutral-extraLight, #ebebeb);
    display: flex;
    flex-direction: column;
}

.te-top-main-accordion dd,
.te-top-main-accordion dl,
.te-top-main-accordion dt,
.te-top-main-accordion ol,
.te-top-main-accordion ul {
    margin-bottom: 0;
}

.te-top-main-accordion li,
.te-top-main-accordion ul {
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.te-top-main-accordion li a,
.te-top-main-accordion ul a {
    background: url("https://carservice.r10s.jp//img/tireexchange/tirebringin/campaign/release_anniversary2511/Icon.svg") no-repeat right 50%;
    background-position: right 16px center;
    padding-left: 30px;
}

.te-top-main-accordion a {
    align-items: center;
    align-self: stretch;
    color: var(--color-text-neutral-high, #333) !important;
    display: flex;
    flex: 1 0 0;
    font-size: 18px;
    font-weight: bold;
    gap: 8px;
    line-height: 130%;
    text-decoration: none;
}

.te-top-main-accordion__body,
.te-top-main-accordion__inner,
.te-top-main-accordion__list,
.te-top-main-accordion__title {
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.te-top-main-accordion__button {
    border-top: 1px solid var(--color-border-neutral-extraLight, #ebebeb);
    justify-content: space-between;
    position: relative;
}

.te-top-main-accordion__button:after {
    background: url("https://carservice.r10s.jp//img/tireexchange/tirebringin/campaign/release_anniversary2511/Icon.svg") no-repeat right 50%;
    content: "";
    flex-shrink: 0;
    height: 20px;
    width: 20px;
}

.te-top-main-accordion__button[aria-expanded=true]:after {
    transform: rotate(180deg);
}

.te-top-main-accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .2s ease-out;
}

.te-top-main-accordion__body[aria-hidden=false] {
    grid-template-rows: 1fr;
}

.te-top-main-accordion__inner {
    overflow: hidden;
}

.te-top-main-accordion__bottom {
    align-items: center;
    align-self: stretch;
    color: #0085c7;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    justify-content: center;
    line-height: 130%;
    min-height: 48px;
    padding: 16px;
}

.te-top-main-accordion__note {
    font-size: 14px;
    padding: 12px 0px;
}

.te-top-main-accordion__bottom:after {
    background: url("https://carservice.r10s.jp//img/tireexchange/tirebringin/campaign/release_anniversary2511/Icon.svg") no-repeat left 50%;
    content: "";
    height: 16px;
    width: 16px;
}


.te-top-modal-content__option .te-top-modal-content__row {
    background: var(--Neutral-00, #fff);
    border-radius: 4.5px
}

.te-top-modal-close {
    align-items: center;
    background-color: transparent;
    border: none;
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 0;
    outline: none;
    padding: 0;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px
}

@media screen and (max-width: 768px) {
    .te-top-modal-close {
        right: 8px;
        top: 8px
    }
}

@keyframes slide-in-left {
    0% {
        opacity: 0;
        transform: translate(-40px)
    }

    to {
        opacity: 1;
        transform: translate(0)
    }
}

@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translate(40px)
    }

    to {
        opacity: 1;
        transform: translate(0)
    }
}


    /* ==================== バナー ==================== */
 .point5x-banner {
    margin: 35px 16px;
 }

 .point5x-banner img{
    max-width: 650px;
    display: block;
    margin: 0px auto;
 }


    /* ==================== キャンペーン詳細 ==================== */

    .point5x-campaignRule {
        margin: 35px 16px;
    }

    @media screen and (min-width: 768px) {
    .point5x-campaignRule {
        max-width: 960px;
        margin: 35px auto;
    }
}

    .point5x-campaignRule_title {
        font-size: 28px;
        font-weight: bold;
        color: #19356E;
        text-align: center;
        margin-bottom: 24px;
    }

    /* ==================== フローティングボタン (スクロール追従) ==================== */
/* フロート全体の枠組み */
.custom-float-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* 背景色（少し透過した黒） */
    padding: 10px 15px;
    z-index: 99; /* 最前面に表示 */
    box-sizing: border-box;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 上部のテキスト */
.custom-float-wrapper .point5x-float-text {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

/* フォームのレイアウト */
.custom-float-wrapper .float-form {
    display: flex;
    width: 100%;
    max-width: 600px; /* PCなどで広がりすぎないように制限 */
    gap: 10px;
}

/* 入力欄の枠 */
.custom-float-wrapper .float-input-box {
    flex: 1;
}

/* 入力欄のデザイン */
.custom-float-wrapper .float-input {
    width: 100%;
    height: 44px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px; /* スマホでズームされないサイズ */
    box-sizing: border-box;
}

/* ボタンの枠 */
.custom-float-wrapper .float-btn-box {
    width: 100px; /* ボタンの幅 */
}

/* 送信ボタンのデザイン */
.custom-float-wrapper .float-submit-btn {
    width: 100%;
    height: 44px;
    background-color: #BF0000; /* 元コードに合わせた赤色 */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.custom-float-wrapper .float-submit-btn:hover {
    opacity: 0.8;
}

/* スマートフォン向けの微調整 */
@media screen and (max-width: 768px) {
    .custom-float-wrapper {
        padding: 10px;
    }

    .custom-float-wrapper .point5x-float-text {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}
}

/* ==================================================
   追従フロート検索バー（下からスライド表示 & PC横並び 強力版）
   ================================================== */

/* --- 1. 基本設定（スマホ・PC共通） --- */
#point5x-fixedbtn {
  /* HTMLのstyle="display:none"を打ち消して表示可能にする */
  display: block !important;
  
  /* 固定表示の位置設定 */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9990;
  
  /* アニメーション設定（隠しておく） */
  transition: transform 0.4s ease-out;
  transform: translateY(110%); /* 下に隠す */
}

/* --- 2. スライドアップ時の設定（JSでクラスがついた時） --- */
#point5x-fixedbtn.is-slide-up {
  transform: translateY(0);    /* 出現させる */
}

/* --- 3. PC表示（画面幅768px以上）のときだけ横並びにする --- */
@media screen and (min-width: 768px) {
  
  /* 親枠（外側の箱）の設定 */
  #point5x-fixedbtn {
    display: flex !important;           /* 強制的にFlexboxにする */
    flex-direction: row !important;     /* 強制的に横並びにする */
    justify-content: center !important; /* 中央寄せ */
    align-items: center !important;     /* 上下中央揃え */
    gap: 30px;                          /* テキストと検索窓の間隔 */
    padding: 15px 0 !important;         /* 上下の余白 */
  }

  /* 子要素1：テキスト部分の設定 */
  #point5x-fixedbtn .float-text {
    width: auto !important;   /* 横幅いっぱいになるのを防ぐ */
    margin: 0 !important;     /* 余計な余白を消す */
    padding: 0 !important;    /* 余計な余白を消す */
    font-weight: bold;        /* 太字にする */
  }

  .custom-float-wrapper .point5x-float-text {
    font-size: 18px;
  }
  
  /* 子要素1の中のspanタグ（念のため） */
  #point5x-fixedbtn .float-text span {
    display: inline-block !important; /* 改行させない */
  }

  /* 子要素2：検索窓エリアの設定 */
  #point5x-fixedbtn .cpnArea_detail {
    width: auto !important;   /* 横幅いっぱいになるのを防ぐ */
    margin: 0 !important;     /* 余計な余白を消す */
  }
  
  /* 検索フォーム自体の余白も消す */
  #point5x-fixedbtn form {
    margin: 0 !important;
  }
}

