/* ==========================================================================
   1. Reset & Base Styles
   ========================================================================== */

/* Universal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* すべての要素にbox-sizing: border-box;を適用 */
}

/* HTML Base */
html {
    scroll-behavior: smooth;
    /* スムーズスクロールを有効にする */
}

/* CSS Variables */
:root {
    --blue: #0F3A7A;
    --crimson-red: #BF0000;
    --black: #333333;
    --bg-coating: #F7FFF7;
    --coating: #047205;
    --bg-carwash: #F4FBFF;
    --carwash: #006497;
    --pink: #FF008C;
    --caution: #DF0101;
    --gray-500: #9C9C9C;
    --light-gray-bg: #E7E7E7;
    --light-yellow-bg: #FFFEE8;
    --white: #fff;
    --border-gray: #c6c6c6;
    --shadow-color: rgba(0, 0, 0, 0.25);
    --link-blue: #0074AD;
}

/* Body Base */
body {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-style: normal;
    color: var(--black);
    line-height: 1.2;
}

/* Links */
a {
    text-decoration: none;
    color: var(--blue);
}

/* Images */
img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

picture img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Headings Base */
h1,
h2,
h3,
h4 {
    /* h4も追加 */
    margin: 0;
    padding: 0;
    font-weight: 600;
}

h2 {
    color: var(--black);
    margin: 0 auto 24px;
    text-align: center;
    font-size: 24px;
    justify-content: center;
}

h3 {
    font-size: 18px;
    text-align: center;
}

h4 {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

/* Main Paragraphs */
main p {
    margin: 0;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
}

/* Lists */
ol,
ul {
    list-style: none;
}

/* Underline Links */
u,
u>a {
    color: var(--link-blue);
}

/* ==========================================================================
   2. Utility Classes
   ========================================================================== */

/* Text Colors */
.red {
    color: var(--crimson-red);
}

.pink {
    color: var(--pink);
}

/* Font Weights */
.bold {
    font-weight: 600;
}

/* Padding */
.pd-section {
    padding: 32px 16px 0 16px;
}

.pd-16 {
    padding: 0 16px;
}

/* Margin */
.mb-16 {
    margin-bottom: 16px;
}

.mb-46 {
    margin-bottom: 46px;
}

/* Display */
.sp-only {
    display: block;
}

.pc-only {
    display: none;
}

._flex {
    display: flex;
}

._block {
    display: block;
}

/* Image Utilities */
.img {
    /* img要素のデフォルトスタイルと重複するため、必要に応じて使用 */
    display: block;
}

/* Notes & Subtitles */
.note {
    color: var(--caution);
    font-size: 11px;
}

.subtitle {
    font-size: 16px;
    justify-content: center;
    padding-bottom: 3px;
}

/* Responsive Utilities */
@media (min-width: 679px) {
    h4 {
        font-size: 18px;
    }

    .note {
        font-size: 13px;
        padding-top: 6px;
    }

    .sp-only {
        display: none;
    }

    .pc-only {
        display: block;
        /* PCでのみ表示 */
    }
}

/* ==========================================================================
   3. Main Visual (MV) Section
   ========================================================================== */

.term {
    display: flex;
    gap: 6px;
    padding: 8px 7px;

}

@media (min-width: 679px) {
    .term {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 16px;
    }
}

.term p {
    background-color: var(--light-gray-bg);
    font-size: 13px;
    font-weight: bold;
    padding: 4px 6px;
}

.mvArea {
    margin-bottom: 0;
}

.mv_img {
    width: 100%;
}

/* ==========================================================================
   4. Campaign Benefits Section
   ========================================================================== */

.bg-gold {
    background-image: url(https://carservice.r10s.jp/img/carwash/campaign/bigsale/2512/bg-gold.jpg);
    background-size: contain;
    /* coverからcontainに変更。必要に応じて調整 */
    background-repeat: repeat-y;
}

@media (min-width: 679px) {
    .bg-gold {
        background-image: url(https://carservice.r10s.jp/img/carwash/campaign/bigsale/2512/bg-gold_pc.jpg);
        background-repeat: repeat-x;
    }


}

.cpnBenefits_title {
    align-items: end;
    margin: 0 4px;
    padding-bottom: 16px;
    justify-content: center;
}

.cpnBenefits_inner {
    max-width: 680px;
    margin: 0 auto;
}

.cpnBenefits_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cpnBenefits-item {
    text-align: center;
    border: 1px solid var(--crimson-red);
}

.cpnBenefits_ttl {
    background-color: var(--crimson-red);
    color: var(--white);
    font-size: 16px;
    padding: 4px;
}

.cpnBenefits_ttl span {
    font-size: 22px;
    padding: 0 2px;
}

.cpnBenefits-contents {
    padding: 12px;
    background-color: var(--white);
}

.cpnBenefits-contents_text {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    justify-content: center;
    align-items: end;
}

.cpnBenefits-contents_notice {
    padding: 0;
}


.cpnBenefits-contents_mobile {
    margin: 20px auto;
    max-width: 500px;
}

.cpnBenefits-contents_mobile_text {
    font-size: 15px;
    background-color: var(--light-yellow-bg);
    padding: 8px;
}

.line-img {
    width: 10px;
    margin: 0 4px;
    /* 上下は0、左右は4px */
    display: block;
}

.benefit-img {
    max-width: 500px;
}

.num {
    font-size: 28px;
}

/* `benefits-img` は `benefit-img` と重複している可能性あり。要確認。 */
/*
.benefits-img {
    margin-bottom: 12px;
}
*/

/* ==========================================================================
   5. Campaign Steps Section
   ========================================================================== */

.cpnArea {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
}

.cpnArea_title {
    /* h2スタイルと重複するため調整 */
    justify-content: center;
}

.cpn_ttl {
    font-size: 20px;
    position: relative;
    /* bubble-imgの位置決めのため */
    padding-top: 56px;
    padding-bottom: 12px;
}

.cpnArea_detail_link {
    color: var(--link-blue);
    position: relative;
    padding-top: 8px;
    font-size: 14px;
}

.cpnArea_detail_link::after {
    background-image: url(https://carservice.r10s.jp/img/carwash/campaign/bigsale/2512/morelink.svg);
    content: "";
    position: absolute;
    height: 21px;
    width: 21px;
    top: calc(50% - 2px);
    right: calc(26% - 2px);
    background-repeat: no-repeat;
}

.cpnArea_inner {
    margin-top: 48px;
}

.cpnArea_list {
    display: flex;
    flex-direction: column;
    gap: 42px;
    align-items: center;
}

.cpnArea-item {
    border: 1px solid var(--gray-500);
    border-radius: 10px;
    max-width: 680px;
    width: 100%;
    text-align: center;
    padding: 0 12px 16px;
    box-shadow: 2px 2px 4px var(--shadow-color);
}

.star {
    width: 21px;
    height: 29px;
    margin: 0 4px;
}

.step_num {
    padding: 8px;
    background-color: var(--carwash);
    font-size: 24px;
}

.step_num_highlight {
    font-size: 33px;
}

.bubble-img {
    display: inline-block;
    width: 58px;
}

/* Arrow Separator */
.arrow {
    width: 60px;
    margin: 0 auto;
}

/* Responsive Adjustments for Campaign Steps */
@media (min-width: 679px) {
    .cpnArea_title {
        font-size: 28px;
    }

    .cpn_ttl {
        font-size: 24px;
    }

    .cpnArea_inner {
        margin-top: 62px;
    }

    .cpnArea_list {
        gap: 62px;
    }

    .cpnArea_detail_link {
        padding-top: 16px;
        font-size: 16px;
    }

    .cpnArea_detail_link::after {
        right: 36%;
        height: 24px;
        width: 24px;
        top: calc(50% - -2px);
        /* top: calc(50% + 2px); と同じ */
    }
}

@media (max-width: 375px) {
    .bubble-img {
        width: 48px;
    }

    .cpnArea_detail_link::after {
        right: 24%;
    }
}

/* ==========================================================================
   6. Search Area Section
   ========================================================================== */

.searchArea {
    background-color: var(--bg-coating);
}

.searchArea_title {
    /* h2スタイルと重複するため調整 */
    align-items: end;
    margin: 0;
    padding-top: 32px;
    justify-content: center;
}

.searchArea_note {
    color: var(--black);
    text-align: center;
}

.searchArea_inner {
    text-align: center;
    padding-bottom: 32px;
}

.searchArea-contenr_inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.inner-coating {
    background-color: var(--bg-coating);
}

.inner-carwash {
    background-color: var(--bg-carwash);
}

/* Balloon Style (共通化) */
.balloon {
    width: 100%;
    position: relative;
    display: flex;
    /* inline-blockからflexに変更し、中央寄せを容易に */
    align-items: center;
    /* 垂直中央寄せ */
    justify-content: center;
    /* 水平中央寄せ */
    margin: auto;
    margin-bottom: 1.5em;
    padding: 12px 10px;
    min-width: 120px;
    max-width: 100%;
    color: var(--white);
    font-size: 16px;
    border-radius: 8px;
    gap: 8px;
    /* search-imgとの間隔 */
}

.balloon:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
}

.balloon-coating {
    background-color: var(--coating);
}

.balloon-carwash {
    background-color: var(--carwash);
}

.balloon-coating::before {
    border-top: 15px solid var(--coating);
}

.balloon-carwash::before {
    border-top: 15px solid var(--carwash);
}

.search-img {
    width: 24px;
    height: 24px;
}

.searchArea_discount,
.searchArea_post,
.searchArea_brand {
    /* 最大幅と中央寄せを共通化 */
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.searchArea_brand_bottom {
    padding-top: 11px;
}

.searchArea_brand_carwash {
    width: 100%;
}

.searchArea_discount {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 3px;
}

.searchArea-discount_sub {
    display: flex;
    height: 26px;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    text-align: center;
    color: var(--black);
    margin: 0;
    padding: 0 16px;
}

.searchArea_discount_inner,
.searchArea_brand_inner {
    /* 内部の最大幅を共通化 */
    width: 100%;
}

.searchArea_brand_top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    /* 不要なflexプロパティは削除 */
    justify-content: center;
}

/* Card Styles (discount-card, keeper-card, otherkeeper-cardで共通化) */
.discount-card,
.keeper-card,
.otherkeeper-card {
    flex-shrink: 0;
    border-radius: 7.87px;
    border: 1px solid var(--border-gray);
    box-shadow: 1.25px 2.25px 1.5px 0 var(--shadow-color);
    position: relative;
    background-color: var(--white);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* transitionプロパティをまとめる */
    padding: 10px;
    display: flex;
    /* Flexboxで内容を中央寄せなど調整しやすく */
    flex-direction: column;
    /* 縦並び */
    align-items: center;
    /* 水平中央寄せ */
    justify-content: center;
    /* 垂直中央寄せ (必要に応じて) */
    text-align: center;
    /* テキストの中央寄せ */
}

.discount-card {
    width: 100%;
}



.discount-card:hover,
.keeper-card:hover,
.otherkeeper-card:hover {
    transform: translateY(3px);
    box-shadow: none;
    border: 1px solid #EDE9E9;
    /* ホバー時のボーダー色を統一 */
}

.shopArea_card:hover {
    transform: translateY(3px);
    box-shadow: none;
}

/* Discount Card Specifics */
.arrow-container {
    position: absolute;
    right: 7px;
    bottom: 4px;
}

.discount-arrow {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
}

/* Discount Card Color Overrides */
.discount-card--red .discount-arrow path {
    fill: var(--crimson-red);
}

.discount-card--green .discount-arrow path {
    fill: var(--coating);
}

.discount-card--blue .discount-arrow path {
    fill: var(--carwash);
}

.discount-card--gray .discount-arrow path {
    fill: #4D4D4D;
}

/* 特定の色 */


.all-sale-content {
    display: flex;
    height: 28px;
    /* discount-contentと高さが異なるため個別に指定 */
    justify-content: center;
    align-items: center;
    height: 42px;
    /* per-imgの高さに合わせる */
}

.per-img {
    display: block;
    width: auto;
    height: 42px;
}

/* Keeper Card Specifics */
.keeper-img {
    width: 136px;
    height: auto;
    /* 画像の縦横比を維持 */
}

.keeper-card_text {
    font-size: 13px;
    padding-bottom: 4px;
}

.keeper-card_text:last-child {
    padding-bottom: 0px;
}

/* Other Keeper Card Specifics */
.otherkeeper-card {
    padding: 7px 0;
    width: 100%;
}

/* Search Area Forms */
.d-flex {
    /* 検索フォームのFlexbox設定 */
    display: flex;
    justify-content: center;
}

.rc-input {
    width: calc(100% - 100px) !important;
    margin-right: 3px;
    height: auto;
}

.rc-input input,
.carwash-under-search-postal__btnwrap .rc-btn {
    border-radius: 4px !important;
    font-size: 13px !important;
    width: 100%;
}

.carwash-under-search-postal-img {
    width: 20px;
    height: auto;
}

/* Responsive Adjustments for Search Area */
@media (min-width: 768px) {
    .balloon {
        max-width: 680px;
    }

    .balloon-coating.balloon,
    /* balloon-coatingにballoonクラスが適用されている場合 */
    .searchArea_discount {
        padding: 16px 0;
        /* paddingを統一 */
    }

    .discount-card {
        width: 100%;
        max-width: none;
    }

    .per-img {
        display: block;
    }
}

@media (min-width: 992px) {
    .searchArea_brand_top {
        width: 100%;
        justify-content: center;
        gap: 11px;
    }

    .discount-card {
        min-width: 150px;
    }
}

@media (max-width: 375px) {
    .keeper-card_text {
        font-size: 12px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    .discount-card,
    .keeper-card,
    .otherkeeper-card {
        transition: none;
    }
}

.discount-card:focus,
.keeper-card:focus,
.otherkeeper-card:focus {
    /* フォーカススタイルを共通化 */
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.discount-card:focus:not(:focus-visible),
.keeper-card:focus:not(:focus-visible),
.otherkeeper-card:focus:not(:focus-visible) {
    /* フォーカススタイルを共通化 */
    outline: none;
}

@media (min-width: 768px) {
    .searchArea-contenr_inner {
        gap: 32px;
    }
}

/* ==========================================================================
   7. Shop Area Section
   ========================================================================== */

.shopArea {
    padding-bottom: 32px;
}

@media (min-width: 768px) {
    .shopArea {
        padding-bottom: 0px;
    }
}


.shopArea_inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 680px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .shopArea_inner {
        display: grid;
        flex-direction: row;
        grid-template-columns: repeat(2, 1fr);
        margin: 20px auto;
    }

}

.shopArea_card {
    width: auto;
}



/* ==========================================================================
   8. Introduction Area Section
   ========================================================================== */

.introArea {
    padding: 20px 0;
    background-color: var(--bg-carwash);
    /* carwashの色を再利用 */
}

.introArea_inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 16px;
}

.introArea_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.introArea-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.introArea-head,
.introArea_head {
    /* 重複をまとめる */
    margin-bottom: 16px;
}

.introArea_ttl {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    /* 特定の色 */
    line-height: 1.4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.step-number {
    color: #002896;
    /* 特定の色 */
    font-size: 32px;
    /* 元の14pxから32pxに修正（HTMLでの見た目を優先） */
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.introArea-contents {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.introArea-contents_text {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    /* 特定の色 */
}

.feature-image {
    width: 120px;
    height: 76px;
    object-fit: contain;
    /* 画像がはみ出さないように調整 */
}

/* Responsive Adjustments for Introduction Area */
/* Tablet styles */
@media (min-width: 480px) {
    .introArea_inner {
        padding: 0 24px;
    }

    .introArea-item {
        padding: 24px;
    }

    .introArea-contents_text {
        font-size: 15px;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .introArea {
        padding: 40px 0;
    }

    .introArea_inner {
        max-width: 1200px;
        padding: 0 40px;
    }

    .introArea_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .introArea-item {
        padding: 32px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .introArea_ttl {
        font-size: 36px;
        gap: 12px;
    }

    .step-number {
        font-size: 32px;
        padding: 6px 12px;
        min-width: 40px;
    }

    .introArea-contents {
        flex: 1;
        gap: 20px;
    }

    .introArea-contents_text {
        flex: 1;
        font-size: 16px;
    }
}

/* Large desktop styles */
@media (min-width: 1024px) {
    .introArea_inner {
        max-width: 1400px;
    }

    .introArea_list {
        gap: 40px;
    }

    .introArea_ttl {
        font-size: 22px;
    }

    .introArea-contents_text {
        font-size: 17px;
    }
}

/* Extra large desktop styles */
@media (min-width: 1200px) {
    .introArea_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .introArea_ttl {
        font-size: 20px;
        align-items: center;
        gap: 8px;
    }

    .step-number {
        align-self: center;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .introArea-item {
        transition: none;
    }

    .introArea-item:hover {
        transform: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .introArea_ttl {
        font-size: 18px;
    }

    .introArea-contents {
        flex-direction: column;
    }
}

/* ==========================================================================
   9. Menu Area Section (Coating Menu Introduction)
   ========================================================================== */

.menuArea_content_1 {
    padding-bottom: 32px;
    max-width: 680px;
    margin: 0 auto;
}

.menu-keeper-img {
    /* このクラスはHTML中でコメントアウトされており、未使用の可能性あり */
    width: 228px;
    display: block;
    padding: 16px 0;
}

/* Responsive Adjustments for Menu Area */
@media (min-width: 679px) {
    .menuArea_content {
        padding: 32px 0;
    }

    .menuArea {
        padding: 40px 0;
    }
}


/* ==========================================================================
   10. Tab Component
   ========================================================================== */

.tab-label_detail {
    font-size: 14px;
    line-height: 1.4;
}

.shaken_point {
    /* このクラスはHTML中で未使用の可能性あり */
    background-color: #E8F8FF;
}

/* Tab Wrap (共通部分) */
.tab-wrap,
.tab-wrap_detail {
    display: flex;
    flex-wrap: wrap;
}

.tab-wrap {
    max-width: 1100px;
}

.tab-wrap:after {
    content: '';
    width: 100%;
    height: 3px;
    background: #0085C7;
    /* 特定の色 */
    display: block;
    order: -1;
}

.tab-wrap_detail {
    justify-content: space-between;
}

.tab-wrap_detail:after {
    content: '';
    width: 100%;
    height: 3px;
    background: #ababab;
    /* 特定の色 */
    display: block;
    order: -1;
}

/* Tab Label (共通部分) */
.tab-label,
.tab-label_detail {
    margin: auto;
    color: #EDEDED;
    /* 特定の色 */
    background: #ababab;
    /* 特定の色 */
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: 12px 12px 0 0;
    transition: all 0.2s ease;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 48%;
    /* tab-label_detailの幅 */
}

/* .tab-label:not(:last-of-type) { margin-right: -4px; } (tab-wrap_detailでは不要) */

/* Tab Content (共通部分) */
.tab-content,
.tab-content_detail {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    border-radius: 0 0 8px 8px;
    /* tab-contentのデフォルト */
}

.tab-content {
    background-color: #ECF9FF;
    /* 特定の色 */
}

.tab-content_detail {
    background-color: var(--white);
    border-radius: 0 0 12px 12px;
    border: solid 2px #FFE7C3;
    /* 特定の色 */
    box-sizing: border-box;
    transform: translateY(-6px);
}

/* Tab Switch (hidden input) */
.tab-switch,
.tab-switch_detail {
    display: none;
}

/* Checked Tab States */
.tab-switch:checked+.tab-label {
    background: #0085C7;
    /* 特定の色 */
    color: var(--white);
}

.tab-switch_detail:checked+.tab-label_detail {
    background: var(--pink);
    color: var(--white);
}

.tab-switch_detail.__blue:checked+.tab-label_detail.__blue {
    background: #003F98;
    /* 特定の色 */
    color: var(--white);
}

/* Show Content when Checked */
.tab-switch:checked+.tab-label+.tab-content {
    height: auto;
    overflow: auto;
    padding: 4%;
    opacity: 1;
    transition: .5s opacity;
}

.tab-switch_detail:checked+.tab-label_detail+.tab-content_detail {
    height: auto;
    overflow: auto;
    opacity: 1;
    transition: .5s opacity;
    text-align: center;
}

/* Input Display (重複削除) */
/* input[name="tab-label"] { display: none; } */
/* input[name="tab02"] { display: none; } */


/* Responsive Adjustments for Tabs */
@media all and (min-width:768px) {

    .tab-wrap_detail,
    .cpnArea-item_note {
        padding: 0 42px;
        max-width: 580px;
        margin: 0 auto;
    }

    .tab-label_detail {
        font-size: 16px;
    }

    .tab-label {
        /* tab-wrap_detailとは異なるtab-wrap用 */
        padding: 10px .5em;
        flex: 1;
    }

    .tab-label:not(:last-of-type) {
        /* tab-wrap用 */
        margin-right: 20px;
    }

    .tab-switch:checked+.tab-label+.tab-content {
        padding: 4% 2%;
    }

    .detail {
        /* このクラスがHTMLにないため、使用箇所不明 */
        padding-bottom: 4%;
    }
}

/* ==========================================================================
   11. Floating Buttons
   ========================================================================== */

.cam-float {
    position: fixed;
    width: 100vw;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    padding: 16px 8px;
    z-index: 50;
}

.fotter_btn {
    display: flex;
    max-width: 768px;
    margin: 0 auto;
    gap: 10px;
    justify-content: center;
}

.fotter_btn a {
    text-decoration: none;
    color: var(--white);
    /* 親要素で指定されているため不要な可能性あり */
}

.float_txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Button Base (rc-btn, shoparea-btnで共通化) */
.rc-btn,
.shoparea-btn {
    display: inline-flex;
    width: calc((100% - 10px) / 2);
    min-height: 48px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    /* ベンダープレフィックスを削除 */
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
}

.rc-btn {
    background-color: var(--crimson-red);
}

.shoparea-btn {
    background-color: var(--white);
    color: var(--crimson-red);
    /* shoparea-btnは赤文字 */
}

/* ==========================================================================
   12. External Library Overrides / Specific Adjustments
   ========================================================================== */

/* ReX Campaign Entry Button specific override */
.CampaignEntryButton_campaignButton__n6hK5 .CampaignEntryButton_rexButton__VH0Gh {
    padding: 0.75rem 0 !important;
}

.CampaignEntryButton_campaignButton__n6hK5 {
    margin: 0 !important;
}


/*rule*/

.campaignRule {
    max-width: 960px;
    margin: 0 auto;
}

.campaignRule_container {
    margin: 0 16px;
}

@media all and (min-width:768px) {
    .campaignRule_container {
        margin: 0px;
    }
}


/*add*/
.st-Breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
}

.st-Breadcrumb_List {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0px 16px !important;
}

@media only screen and (max-width: 330px) {
    .CampaignEntryButton_campaignButton__n6hK5 .CampaignEntryButton_rexButton__VH0Gh {
        font-size: 6.9333333333vw;
        min-width: 19rem !important;
    }
}


@media screen and (max-width: 768px) {
    .CampaignEntryButton_campaignButton__n6hK5 .CampaignEntryButton_rexButton__VH0Gh {
        font-size: 18px !important;
    }
}

@media only screen and (min-width: 769px) {
    .CampaignEntryButton_campaignButton__n6hK5 .CampaignEntryButton_rexButton__VH0Gh {
        font-size: 22px !important;
    }
}
/* ==========================================================================
   End of Styles
   ========================================================================== */