@charset "UTF-8";

/* ==================================================
   1. 共通設定・レイアウト
   ================================================== */
.hardware_grid {
    display: block;
    margin-bottom: 0;
}

.bg_gray {
    background-color: #f8f9fc;
}

/* ハードウェアセクション全体のヘッダー */
#hardware_intro {
    padding: 50px 0; /* 上下余白を大幅に削減（100px → 50px） */
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.hardware_main_header {
    text-align: center;
    margin-bottom: 30px; /* 余白削減（60px → 30px） */
}

/* メインタイトル */
.hardware_main_header .main_title {
    font-size: 3.6rem;
    font-weight: 800;
    color: #333;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.hardware_intro_text {
    font-size: 1.8rem;
    color: #555;
    margin-top: 20px;
}

/* ==================================================
   2. 強化版アンカーナビゲーション（カードデザイン）
   ================================================== */
.hardware_anchor_grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 40px; /* 下部余白削減（100px → 40px） */
    max-width: 1000px;
    padding: 0 20px;
}

.hw_nav_card {
    display: flex;
    align-items: center;
    width: 50%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 20px 25px; /* パディング削減（25px → 20px） */
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.hw_nav_card:hover {
    background: #444692;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(68, 70, 146, 0.2);
    border-color: #444692;
}

/* アイコン部分 */
.hw_nav_icon {
font-size: 2.5rem;
    color: #444692;
    background: #f0f2f8;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hw_nav_card:hover .hw_nav_icon {
    background: #fff;
    color: #444692;
}

/* テキスト部分 */
.hw_nav_info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hw_nav_sub {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.hw_nav_main {
    font-size: 2.2rem;
    font-weight: bold;
    color: #444692;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.hw_nav_card:hover .hw_nav_sub,
.hw_nav_card:hover .hw_nav_main {
    color: #fff;
}

/* 矢印アイコン */
.hw_nav_arrow {
    font-size: 1.8rem;
    color: #ccc;
    transition: all 0.3s ease;
}

.hw_nav_card:hover .hw_nav_arrow {
    color: #fff;
    transform: translateX(5px);
}

/* ==================================================
   3. 各セクションの区切り見出し（ネイビー背景）
   ================================================== */
.hw_section_divider {
    background: #444692;
    padding: 30px 20px; /* パディング削減（50px → 30px） */
    margin: 40px 0 30px; /* マージン削減（80px/60px → 40px/30px） */
    border-radius: 15px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(68, 70, 146, 0.2);
}

.hw_section_divider .main_title {
    color: #fff !important;
    font-size: 2.8rem !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}

.hw_section_divider .sub {
    color: rgba(255,255,255,0.6) !important;
    font-size: 1.3rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.hw_section_divider span {
    color: #ffcf2d;
}

/* ==================================================
   4. Seav-ME 紹介エリア（ヒーローセクション）
   ================================================== */
.hw_simple_hero {
    padding: 30px 20px; /* 余白削減（60px → 30px） */
    margin-bottom: 30px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
}

.hw_label {
    font-size: 1.6rem;
    color: #888;
    margin-bottom: 5px;
}

.hw_title {
    font-size: 5.4rem !important;
    color: #444692;
    font-weight: 900;
    margin-bottom: 10px !important;
    border: none !important;
    line-height: 1;
}

.hw_lead {
    font-size: 2.4rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.hw_list_minimal {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: inline-block;
    text-align: left;
}

.hw_list_minimal li {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.hw_list_minimal li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #444692;
    font-weight: bold;
}

/* 画像ギャラリー */
.hw_gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: flex-end;
    max-width: 900px;
    margin: 20px auto 0;
}

.hw_gallery figure {
    width: 45%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hw_gallery img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
}

.hw_gallery figcaption {
    margin-top: 10px;
    font-size: 1.4rem;
    color: #444692;
    font-weight: bold;
}

/* ==================================================
   5. 商品セットボックス (startSet)
   ================================================== */
.startSet .setBox,
.startSet .setBox1,
.startSet .setBox2,
.startSet .setBox_hardware_compact {
    background: #fff !important;
    border: 1px solid #dce1ea !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
    padding: 45px 15px 25px !important; /* 上60px→45px, 下30px→25px */
    margin-bottom: 30px !important;
    position: relative;
    height: auto;
    box-sizing: border-box;
    overflow: hidden; /* 画像はみ出し防止 */
}

h4.label_blue {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #444692;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    margin: 0 !important;
    border-radius: 11px 11px 0 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.startSet .setFlex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0px 30px;
}

/* スライダーとはみ出し防止 */
.startSet .setFlex .setImg {
    width: 40% !important;
    margin-top: 40px;
    flex-shrink: 0;
    text-align: center;
    overflow: hidden;
}
.setTxt {
    width: 60%;
}

.swiper-container {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.swiper-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.swiper-button-next,
.swiper-button-prev {
    color: #444692 !important;
    width: 30px !important;
    height: 30px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px !important;
}

.startSet .setFlex .priceDl {
    background: #fdfdfd;
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 12px 20px !important;
    margin: 15px 0 !important;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.startSet .setFlex .priceDl dd {
    color: #D33B3A;
    font-size: 3.2rem !important;
    font-weight: 900;
}

.startSet .setFlex .setDl {
    background: #f4f6f9;
    padding: 12px;
    border-radius: 8px;
}

.startSet .setFlex .setDl dt {
    color: #444692;
    text-align: center;
    font-size: 1.4rem !important;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.startSet .setFlex .setDl dd {
    font-size: 1.3rem !important;
    color: #333;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.startSet .setFlex .setDl dd::before {
    content: "●";
    color: #aeb5d6;
    font-size: 10px;
    margin-right: 8px;
}

.anno {
    font-size: 1.3rem;
    text-align: right;
    color: #666;
    margin-top: 10px;
}

/* ==================================================
   6. POS連動バナーエリア
   ================================================== */
.compact_pos_banner {
    background: #fff;
    border: 3px solid #f0f2f8;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    padding: 25px;
    margin-bottom: 40px;
}

.compact_pos_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.compact_pos_text { width: 55%; }
.compact_pos_img { width: 35%; text-align: center; }

.compact_pos_text h3 {
    color: #444692;
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.pos_point_list {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.pos_point_item {
    background: #f4f6f9;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    width: 33.3%;
    border: 1px solid #eef0f6;
}

.pos_btn_group { display: flex; gap: 15px; }

.btn_pos_link {
    display: inline-block;
    padding: 14px 25px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    background: #444692;
    border-radius: 50px;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 4px 10px rgba(68, 70, 146, 0.3);
}

.btn_pos_link:hover {
    background: #5A6AD1;
    transform: translateY(-2px);
}

/* ==================================================
   7. スマホ対応 (Responsive)
   ================================================== */
@media screen and (max-width: 767px) {
    #hardware_intro {
        padding: 40px 0;
    }

    .hardware_anchor_grid {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .hw_nav_card {
        width: 100%;
        padding: 18px;
    }

    .hw_nav_icon {
        font-size: 2.8rem;
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .hw_nav_main {
        font-size: 1.8rem;
    }

    .hw_title { font-size: 3.8rem !important; }

    .hw_gallery { flex-direction: column; align-items: center; gap: 30px; }
    .hw_gallery figure { width: 100%; }

    .startSet .setFlex {
        flex-direction: column !important; 
        gap: 20px;
    }

    .startSet .setFlex .setImg,
    .startSet .setFlex .setTxt {
        width: 100% !important;
    }

    .hw_section_divider {
        padding: 30px 15px;
        margin: 30px -15px 25px;
        border-radius: 0;
    }

    .compact_pos_inner { flex-direction: column-reverse; gap: 30px; }
    .compact_pos_text, .compact_pos_img { width: 100%; }
    .pos_point_list { overflow-x: auto; padding-bottom: 10px; }
    .pos_point_item { min-width: 110px; }
    .pos_btn_group { flex-direction: column; }
}

.startSet .setFlex .optionDl {
    margin-top: 10px;
    padding-bottom: 10px;
}

.kihonkinou_box > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 10px;
}

@media screen and (max-width: 767px) {
    .kihonkinou_box > div {
        max-width: 350px;
        grid-template-columns: repeat(1, 1fr);
    }
}
/* stera terminalプラン等の調整中テキスト用 */
.plans_box a div p {
    transition: color 0.3s;
}

.plans_box a:hover div p {
    color: #fff !important; /* カードホバー時に文字を白くする */
}

/* index.css に追記する場合 */
.plans_box a:hover div .plan_note {
    color: #fff !important;
}

@media screen and (max-width: 767px) {
    .fixed_btn > div {
        border-radius: 0;
        border: none;
        border-top: 2px solid #fff;
        padding: 15px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
}
/* ==================================================
   セクションの明確化（グループ化パネル）
   ================================================== */
   .hw_section_box {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e4ed;
}

.hw_section_box .hw_section_divider {
    margin-top: 0;
}

#hardware_intro {
    padding: 50px 0 20px;
}

/* ==================================================
   ナビゲーションメニューの崩れ防止（2×2のグリッド）
   ================================================== */
.hardware_anchor_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列×2行のグリッド */
    gap: 20px;
    margin: 0 auto 40px;
    max-width: 900px; /* 横幅を少し抑えてまとめる */
    padding: 0 20px;
}

.hw_nav_card {
    display: flex;
    align-items: center;
    width: 100%; 
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px 20px;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.hw_nav_icon {
    font-size: 2.4rem;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

.hw_nav_main {
    font-size: 2.0rem;
}

/* ==================================================
   共通：セット内容（setDl）
   ================================================== */
.setDl {
    background: #f4f6f9;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.setDl dt {
    color: #444692;
    text-align: center;
    font-size: 1.4rem !important;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.setDl dd {
    font-size: 1.3rem !important;
    color: #333;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    text-align: left;
}

.setDl dd::before {
    content: "●";
    color: #aeb5d6;
    font-size: 10px;
    margin-right: 8px;
}

/* ==================================================
   選べるパスポートリーダー（3カラム縦長カード型）
   ================================================== */
.reader_grid_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.reader_card_col {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 上部のテキストエリア */
.reader_card_text {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.reader_badge {
    background: #4A569D;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 4px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: inline-block;
}

.reader_catch {
    color: #4A569D;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.reader_name {
    color: #4A569D;
    font-size: 2.0rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* 下部の画像エリア（薄いグレー） */
.reader_card_img {
    background: #f4f6f9;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.reader_card_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15)); 
}

/* パスポートスキャナーの金額表示（赤色で統一） */
.reader_price_box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: auto;
}

.reader_price_box .price_label {
    background: #f0f0f0;
    color: #333;
    font-size: 1.2rem;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 15px;
    font-weight: bold;
}

.reader_price_box .price_num {
    font-size: 2.4rem; 
    font-weight: bold;
    color: #D33B3A;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.reader_price_box .price_yen {
    font-size: 1.6rem; 
    color: #D33B3A;
    font-weight: bold;
    margin-left: 2px;
}

.reader_price_box .price_tax {
    font-size: 1.2rem; 
    color: #D33B3A;
    font-weight: normal;
    margin-left: 4px;
}

/* ==================================================
   ハードウェア・POSセット・レンタルセットの横並び
   ================================================== */
/* 3カラム版（POSレジセット） */
.hardware_grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: stretch;
}

/* 2カラム版（レンタルセット） */
.hardware_grid_2col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
    align-items: stretch;
}

/* レンタルセットの装飾をPOSレジセットと合わせる */
.hardware_grid_2col .setBox {
    background: #fff !important;
    border: 1px solid #dce1ea !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
    padding: 45px 30px 25px !important;
    margin-bottom: 30px !important;
    position: relative;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.hardware_grid .setFlex,
.hardware_grid_2col .setFlex {
    flex-direction: column !important;
    height: 100%;
}

.hardware_grid .setFlex .setImg,
.hardware_grid .setFlex .setTxt,
.hardware_grid_2col .setFlex .setImg,
.hardware_grid_2col .setFlex .setTxt {
    width: 100% !important;
}

/* 画像に余裕を持たせる調整 */
.hardware_grid .setFlex .setImg,
.hardware_grid_2col .setFlex .setImg {
    margin-top: 30px;
    margin-bottom: 35px;
    padding: 0 15px;
    text-align: center;
}

/* レンタルセット用の画像設定 */
.hardware_grid_2col .setFlex .setImg img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}
/* POSセット・レンタルセットの金額サイズ調整 */
.hardware_grid .setFlex .priceDl,
.hardware_grid_2col .setFlex .priceDl {
    background: #fdfdfd;
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 12px 20px !important;
    margin: 15px 0 !important;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.hardware_grid .setFlex .priceDl dd,
.hardware_grid_2col .setFlex .priceDl dd {
    font-size: 2.4rem !important; 
    color: #D33B3A;
    font-weight: 900;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.hardware_grid .setFlex .priceDl dd small,
.hardware_grid_2col .setFlex .priceDl dd small {
    font-size: 1.6rem !important; 
    margin-left: 2px;
}

.hardware_grid .setFlex .priceDl dd span,
.hardware_grid_2col .setFlex .priceDl dd span {
    font-size: 1.2rem !important; 
    font-weight: normal;
    margin-left: 4px;
}

.hardware_grid .setFlex .setTxt,
.hardware_grid_2col .setFlex .setTxt {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hardware_grid .anno,
.hardware_grid_2col .anno {
    margin-top: auto;
}

/* ----------------------------------------------------
   親要素（枠）：はみ出す場合は折り返しを許可（wrap）し、
   左右の余白（padding）を少し減らしてスペースを確保します。
---------------------------------------------------- */
.startSet .setFlex .priceDl {
    background: #fdfdfd;
    border: 0px dashed #ccc;
    border-radius: 8px;
    padding: 12px 10px !important; /* 20pxから10pxに減らしてスペース確保 */
    margin: 0px 0 !important;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap; /* はみ出し防止のため wrap に戻す */
    gap: 5px 10px;
}

/* ----------------------------------------------------
   金額部分：文字サイズは他と合わせつつ、
   枠が狭い場合は「（税別）」だけ綺麗に下段へ落ちるようにします。
---------------------------------------------------- */
.startSet .setFlex .priceDl dd {
    color: #D33B3A;
    font-size: 2.4rem !important; 
    font-weight: 900;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap; /* 収まらない場合は折り返す */
    word-break: keep-all; /* 数字の途中で不自然に改行されるのを防ぐ */
}

/* 「円」のサイズ調整 */
.startSet .setFlex .priceDl dd small {
    font-size: 1.6rem !important; 
    margin-left: 2px;
}

/* 「（税別）」のサイズ調整 */
.startSet .setFlex .priceDl dd span {
    font-size: 1.2rem !important; 
    font-weight: normal;
    margin-left: 4px;
    white-space: nowrap; /* （税別）という文字自体は途中で改行させない */
}

/* ==================================================
   スマホ・タブレット対応
   ================================================== */
@media screen and (max-width: 1024px) {
    .hardware_grid,
    .reader_grid_wrap,
    .hardware_grid_2col {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .hw_section_box {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .hardware_anchor_grid {
        grid-template-columns: 1fr; /* スマホは1列 */
    }

    .reader_list_item {
        flex-direction: column;
    }
    
    .reader_list_img {
        width: 100%;
        height: 220px;
        order: -1;
    }
    
    .reader_list_text {
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }

    .hardware_grid,
    .hardware_grid_2col {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   1. Seav-15c レジセット スライダーの修正
   （次のスライドを隠しつつ、矢印だけを外に出す）
   ================================================== */
   .startSet .setImg {
    overflow: visible !important; /* 矢印がはみ出せるようにする */
    position: relative;
    padding: 0 40px !important;   /* 左右に矢印が収まる「ゆとり」を作る */
    box-sizing: border-box;
}

.swiper-container {
    /* ここは hidden に戻すことで、次のスライドがチラ見えするのを防ぐ */
    overflow: hidden !important; 
    width: 100% !important;
    margin: 0 auto;
    position: static !important; /* 矢印の基準を setImg（親）にするため */
}

/* 矢印を setImg の左右端ギリギリに配置 */
.swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 10;
    margin: 0 !important;
}

.swiper-button-next {
    right: 0 !important; /* 親要素 setImg の右端 */
}

.swiper-button-prev {
    left: 0 !important;  /* 親要素 setImg の左端 */
}

/* ==================================================
   2. レンタルセット 「月額」バッジ（四角デザイン）
   ================================================== */
.rental_price_wrap .badge {
    background: #444692; /* ネイビー背景 */
    color: #fff;         /* 白文字 */
    font-size: 1.2rem;
    font-weight: bold;
    padding: 4px 10px;   /* 横長の四角 */
    border-radius: 4px;  /* 角丸 */
    display: inline-block;
    line-height: 1.4;
    width: auto;
    height: auto;
}

/* スマホ表示時の調整 */
@media screen and (max-width: 767px) {
    .startSet .setImg {
        padding: 0 30px !important; /* スマホでは少し余白を狭める */
    }
    .swiper-button-next { right: 5px !important; }
    .swiper-button-prev { left: 5px !important; }
}

/* ==================================================
   2. レンタルセット 「月額」バッジの修正（四角デザイン）
   ================================================== */
.rental_price_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.rental_price_wrap .badge {
    background: #444692; /* ネイビー背景 */
    color: #fff;         /* 白文字 */
    font-size: 1.2rem;
    font-weight: bold;
    padding: 4px 12px;   /* 横長の四角形にするためのパディング */
    border-radius: 4px;  /* 緩やかな角丸 */
    height: auto;        /* 高さを自動に */
    width: auto;         /* 幅を自動に */
    display: inline-block;
    line-height: 1.4;
    box-shadow: none;    /* フラットなデザイン */
}

.rental_price_wrap .num {
    font-size: 3.8rem;
    font-weight: 900;
    color: #D33B3A;
    font-family: "Arial", sans-serif;
    line-height: 1;
}

.rental_price_wrap .unit {
    font-size: 1.8rem;
    font-weight: bold;
    color: #D33B3A;
}

/* スマホ表示時の微調整 */
@media screen and (max-width: 767px) {
    .swiper-container {
        width: 80% !important; /* スマホではもう少し画像を中央に寄せる */
    }
    .swiper-button-next {
        right: -25px !important;
    }
    .swiper-button-prev {
        left: -25px !important;
    }
    .rental_price_wrap .num {
        font-size: 3.2rem;
    }
}


/* ==================================================
   案1：ウォーターマーク風ナンバリング
   ================================================== */
   .reader_grid_wrap {
    counter-reset: scanner-num;
}

.reader_card_col {
    position: relative;
    z-index: 1; /* 透かし文字を背面に回すため */
}

.reader_card_col::before {
    counter-increment: scanner-num;
    content:  counter(scanner-num);
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 7rem;
    font-weight: 900;
    font-family: Arial, sans-serif;
    color: #f0f2f8; /* 背景に馴染む極薄いネイビー・グレー */
    z-index: -1;
    line-height: 1;
    letter-spacing: -3px;
    font-style: italic;
}


/* -----------------------------------------------------------------
   整理統合：2026年 制度改正インフォメーション（シンプル版・元の見せ方）
----------------------------------------------------------------- */
.reform_info_box {
    background: #fff;
    border: 2px solid #e0e4ed;
    border-top: 4px solid #D33B3A;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.reform_info_header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #dce1e8;
}

.reform_catch_img {
    max-width: 100%;
    width: 450px;
    height: auto;
    margin-bottom: 15px;
}

.reform_info_header p {
    font-size: 1.6rem;
    color: #333;
    font-weight: bold;
    margin: 0;
}

.reform_action_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.reform_card {
    display: flex;
    flex-direction: column;
    background: #f8f9fc;
    border: 1px solid #dce1e8;
    border-radius: 8px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.reform_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.reform_card.card_red {
    background: #fffafa;
    border-color: #ffcdd2;
}
.reform_card.card_red:hover {
    box-shadow: 0 8px 20px rgba(211, 59, 58, 0.15);
    border-color: #D33B3A;
}

.r_badge {
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    color: #fff;
}
.r_badge { background: #D33B3A; }
.r_badge.normal { background: #666; }

.reform_card h4 {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 10px 0 10px 0;
    border: none;
}
.reform_card.card_red h4 { color: #D33B3A; }
.reform_card.card_gray h4 { color: #333; }

.reform_card p {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.r_btn {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 12px;
    border-radius: 50px;
    transition: 0.3s;
}
.reform_card.card_red .r_btn {
    background: #D33B3A;
    color: #fff;
}
.reform_card.card_gray .r_btn {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
}
.reform_card.card_gray:hover .r_btn {
    border-color: #444692;
    color: #444692;
}

@media screen and (max-width: 768px) {
    .reform_info_box { padding: 30px 20px; }
    .reform_action_grid { grid-template-columns: 1fr; gap: 30px; }
    .reform_catch_img { width: 100%; max-width: 300px; }
}

/* -----------------------------------------------------------------
   ヘッダー・お知らせ直下のアラートバナー（クリッカブル強化版）
----------------------------------------------------------------- */
.header_alert_banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, #D33B3A 0%, #b02a29 100%);
    color: #fff;
    text-align: center;
    padding: 16px 20px;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 10;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2), 0 4px 10px rgba(211, 59, 58, 0.2);
}

.header_alert_banner:hover {
    background: linear-gradient(135deg, #e54a49 0%, #c43231 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(1px);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2), 0 2px 5px rgba(211, 59, 58, 0.3);
}

.header_alert_banner .badge {
    background-color: #fff;
    color: #D33B3A;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 1.3rem;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header_alert_banner .click_btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    margin-left: 20px;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.header_alert_banner:hover .click_btn {
    background: #fff;
    color: #D33B3A;
}

.header_alert_banner .click_btn i {
    margin-left: 8px;
}

@media screen and (max-width: 768px) {
    .header_alert_banner {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        font-size: 1.4rem;
    }
    .header_alert_banner .banner_text {
        display: flex;
        align-items: center;
        text-align: left;
    }
    .header_alert_banner .click_btn {
        margin-left: 0;
        width: 90%;
        justify-content: center;
    }
    .header_alert_banner .badge {
        margin-right: 8px;
        white-space: nowrap;
    }
}

/* -----------------------------------------------------------------
   カラーリングの最適化（紫グラデーションをスマートなネイビーに統一）
----------------------------------------------------------------- */
.hero_box > div:nth-of-type(1) > a,
.fixed_btn_app,
.movie_box > div:nth-of-type(1) a {
    background-image: linear-gradient(135deg, #444692 0%, #5A6AD1 100%) !important;
    box-shadow: 0 4px 10px rgba(68, 70, 146, 0.3) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.hero_box > div:nth-of-type(1) > a:hover,
.fixed_btn_app:hover,
.movie_box > div:nth-of-type(1) a:hover {
    background-image: linear-gradient(135deg, #363875 0%, #4a59b5 100%) !important;
    transform: translateY(-2px) !important;
    opacity: 1 !important;
    box-shadow: 0 6px 15px rgba(68, 70, 146, 0.4) !important;
}

@media screen and (max-width: 767px) {
    .fixed_btn, .fixed_btn > div {
        background-color: #444692 !important;
        color: #fff !important;
    }
    .fixed_btn_app {
        border-top: 2px solid #fff !important;
        border-bottom: none !important;
        border-radius: 0 !important;
    }
}