@charset "UTF-8";

:root {
    --shaken: #EC0606;
    --main-pink: #FF60B7;
    --black: #333;
}

body {
    background-color: #F7F7F7;
    font-family: 'Rakuten Sans JP', -apple-system, Roboto, Helvetica, sans-serif;
}

/* <!-- ==================== over write ==================== --> */
.custom_wrap {
    width: 100%;
    max-width: 1032px;
    margin: 0 auto;
    font-feature-settings: "palt";
}

.custom-container {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #F7F7F7;
}

.rm-c-next__content {
    background-color: #Fff;
}

.rm-c-participate {
    padding-bottom: 0;
}

.custom-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 24px;
}

a.rm-c-button--primary:hover {
    color: #fff;
}

@media screen and (max-width: 761px) {
    .custom-content-wrapper {
        margin: 0 auto;
        margin-bottom: 24px;
    }

    .rm-c-next__arrow:before,
    .rm-c-next__arrow:after {
        height: 30px;
    }

    .rm-c-next {
        height: 100px;
    }

    .rm-c-next__arrows {
        top: -10px;
    }
}

/* <!-- ==================== font-size ==================== --> */
.custom-about-title {
    font-weight: 900;
    font-size: 24px;
    line-height: 1.35;
    text-align: center;
    color: #333;
}

@media screen and (max-width: 761px) {
    .custom-about-title {
        margin-bottom: 10px;
    }
}

.custom-header {
    display: flex;
    width: 100%;
    padding: 16px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #FF41AA;
    border-radius: 12px 12px 0 0;
}

/* <!-- ==================== color ==================== --> */

.shaken .custom-header {
    background-color: var(--shaken);
}

.app .custom-header {
    background-color: var(--main-pink);
}

.sellcar .custom-header {
    background-color: var(--main-pink);
}

.repair .custom-header {
    background-color: var(--main-pink);
}

.custom-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    border-radius: 12px 0 0 12px;
}

.custom-header-subtitle {
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.8px;
}

.custom-header-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.custom-header-title {
    color: white;
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    line-height: 140%;
    font-feature-settings: "palt";
}

/* ==================== text align ==================== */
.u-c-ff008c {
    text-align: center;
    margin-bottom: 16px;
}

@media screen and (min-width: 649px) {
    .sp_br {
        display: none;
    }
}

/* ==================== Carousel Section Styles ==================== */
.rm-c-participate.rm-c-participate--hasNext.custom_feature {
    padding-bottom: 0;
}

/* custom_feature が適用されている要素の背景を透明にする */
.rm-c-participate.custom_feature {
    /* より詳細度を上げて確実に上書き */
    background: transparent !important;
    /* 元のrm-c-participateの背景を透明に */
    position: relative;
    /* ::before の基準にする */
    z-index: 1;
    /* コンテンツが::beforeの上にくるように */
    transform: translateY(-50px);
}

.custom_feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* custom_feature と同じ高さ */
    background-color: #fff;
    /* ★白の背景 */
    border-radius: 30px 30px 0 0;
    /* ★角丸 */
    z-index: -1;
    /* custom_feature のコンテンツの下に配置 */
}

.carousel-features-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    max-width: 650px;
    margin: 0 auto;
}

.carousel-features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    position: relative;
}

.carousel-features-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide-active {
    display: block;
}

.carousel-slide-image {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-nav-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background-color: #FFD1EB;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s;
}

.carousel-dot-active {
    background-color: #E60681;
}

.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.carousel-nav-prev {
    left: -10px;
}

.carousel-nav-next {
    right: -10px;
}

.carousel-nav-button svg {
    display: block;
}

/* ------------------------------------------- */
/* カルーセル解除と横並びレイアウト (900px以上) */
/* ------------------------------------------- */
@media screen and (min-width: 900px) {
    .carousel-features-section {
        padding: 40px 0;
        max-width: 960px;
    }

    .carousel-features-container {
        flex-direction: row;
        /* 横並びにする */
        justify-content: center;
        /* 中央寄せ */
        gap: 20px;
        /* 画像間の余白 */
        max-width: 100%;
        /* 必要に応じて最大幅を設定 */
    }

    .carousel-features-wrapper {
        display: flex;
        flex-direction: row;
        width: auto;
        max-width: none;
        overflow: visible;
        gap: 20px;
        width: 100%;
        max-width: 960px;
    }

    .carousel-slide {
        display: block !important;
        /* JavaScriptによるdisplay: none; を上書き */
        flex: 0 0 calc(33.333% - 13.333px);
        /* 3枚横並び (gap 20px考慮) */
        /* calc(100% / 3 - (gap * 2 / 3)) */
        max-width: calc(33.333% - 13.333px);
        /* 最大幅も設定 */
        /* carousel-slide-active によるスタイルを無効化 */
        /* transform: none !important; */
        /* opacity: 1 !important; */
        /* transition: none !important; */
    }

    .carousel-slide-active {
        /* カルーセル解除時はアクティブクラスのスタイルを無効化 */
        display: block !important;
    }

    .carousel-nav-dots,
    .carousel-nav-button {
        display: none !important;
        /* ナビゲーションを非表示 */
    }
}


/* ==================== page nav ==================== */

.custom-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0 0 12px 12px;
    border: 1px solid #FF40A9;
    background-color: white;
    overflow: hidden;
    width: 100%;
}

.custom-service-card-wrap {
    width: 95%;
    margin: 16px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custum_caution {
    width: 95%;
    margin: 16px auto 0;
    background-color: #EFF8FF;
    border: solid 1px #003F98;
    padding: 8px;
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 649px) {
    .custum_caution {
        font-size: 12px;
    }
}

.custom-service-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.custom-disclaimer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateY(-10px);
}

.custom-disclaimer-text,
.rule-caution {
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    margin-top: 10px;
}

.rule-caution {
    text-align: left;
    margin-top: 0px;
}

.custom-expandable-content {
    width: 100%;
}

.custom-disclaimer-text .custom-default-color {
    color: #333;
}

.custom-disclaimer-text .custom-link-color {
    color: #0074AD;
}

.custom-about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.custom-about-highlight {
    display: flex;
    height: 4px;
    padding: 0;
    justify-content: bottom;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    align-items: flex-end;
    background: var(--main-pink)
}

.custom-about-highlight-text {
    color: #333;
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;

}

.custom-about-highlight-text .custom-bold {
    font-weight: 700;
}

.custom-about-description {
    color: #333;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

.bs-section {
    max-width: 400px;
}

.custom-find-stores-btn {
    display: flex;
    width: 100%;
    max-width: 728px;
    padding-top: 12px;
    padding-bottom: 12px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: 50px;
    border: 1px solid #FF008C;
    background-color: white;
    box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: transform 0.1s;
    margin: 0px auto 16px;
}

.custom-find-stores-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.10);
}

.custom-find-stores-text {
    display: flex;
    height: 24px;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    color: #FF008C;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
}

.custom-campaign-section {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    background-color: white;
}

.custom-toggle-button {
    display: flex;
    width: 100%;
    padding: 16px;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
    border: 2px solid #E9E9E9;
    background-color: white;
    cursor: pointer;
}

.custom-toggle-title {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
}

@media (max-width: 375px) {
    .custom-find-stores-text {
        font-size: 14px;
    }
}

/* ==================== campaign detail toggle ==================== */

.custom-toggle-icon-wrapper {
    display: flex;
    padding: 4px;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 垂直方向の中央揃え */
    /* gap: 10px; はwrapper内に他の要素がないなら不要か、影響しないのでそのまま */
    border-radius: 40px;
    background-color: #FF008C;
}

.custom-toggle-icon {
    width: 16px;
    /* SVGの表示サイズを明示 */
    height: 16px;
    /* SVGの表示サイズを明示 */
    transition: transform 0.3s;
}

.custom-expandable-content {
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.custom-hidden {
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.custom-expanded-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.custom-hidden {
    display: none;
}

.custom-campaign-title-section {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    background-color: #E9E9E9;
}

.custom-campaign-title {
    align-self: stretch;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.custom-section-header {
    display: flex;
    padding: 16px;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    background-color: #F7F8FB;
}

.custom-section-header-title {
    flex: 1;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
}

.custom-section-content {
    display: flex;
    padding: 16px;
    flex-direction: column;
    /* align-items: flex-start; */
    gap: 8px;
    align-self: stretch;
    background-color: white;
}

.custom-content-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.custom-content-item-title {
    width: 100%;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 160%;
}

.custom-content-item-text {
    width: 100%;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
    word-break: break-all;
    overflow-wrap: break-word;
}

.custom-content-item-text a,
.rule-caution a,
.custom-note-text a {
    word-break: break-all;
    overflow-wrap: break-word;
}

.custom-note-item {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
}

.custom-note-marker {
    width: 13px;
    color: #333;
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
}

.custom-note-text {
    flex: 1;
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
}

.custom-note-text.custom-default {
    color: #333;
}

.custom-note-text .custom-link {
    color: #0072BF;
    text-decoration: underline;
}

.custom-indented-list {
    display: flex;
    padding-left: 20px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.custom-list-marker {
    width: 14px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
}

.custom-list-text {
    flex: 1;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
}

.custom-large-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
}

.custom-large-text .custom-default {
    color: #333;
}

.custom-large-text .custom-link,
u {
    color: #0072BF;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .custom-header-content {
        width: 100%;
    }

    .custom-header-title {
        font-size: 28px;
    }

    .custom-header-title-wrapper {
        margin: 0 auto;
    }

    .custom-service-card {
        overflow: hidden;
    }
}

/* app section */

.custom-app-install-image {
    width: 100%;
    max-width: 312px;
    height: auto;
}

/* App Install Section */
.custom-app-install-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.custom-app-install-image {
    width: 100%;
    max-width: 312px;
    height: auto;
}

/* App Badges */
.custom-app-badges {
    display: flex;
    align-items: center;
    gap: 29px;
    justify-content: center;
    width: 100%;
}

.custom-app-icon {
    width: 81px;
    height: 81px;
}

.custom-app-store-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 559px) {
    .custom-app-store-badges {
        flex-direction: initial;
    }
}


.custom-app-store-badge {
    width: 126px;
    height: auto;
}

/* App Features Section */
.custom-app-features {
    display: flex;
    padding: 0 1px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.custom-app-features-title {
    color: #333;
    text-align: center;
    font-feature-settings: 'palt' on;
    font-family: 'Rakuten Sans JP-2', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    margin: 0;
}

.custom-app-feature-item {
    display: flex;
    width: 100%;
    max-width: 520px;
    flex-direction: column;
    gap: 11px;
}

.custom-app-feature-header {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

@media (min-width: 499px) {
    .custom-app-feature-header {
        width: 60%;
        margin: 0 auto;
    }
}

.custom-app-feature-number {
    text-align: center;
    font-family: 'Rakuten Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 130%;
    background: linear-gradient(180deg, #FF008C 0%, #9640D9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.custom-app-feature-title-bar {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex: 1;
    background: linear-gradient(180deg, #FF008C 0%, #9640D9 100%);
    height: 2px;
    transform: translateY(10px);
}

.custom-app-feature-title-text {
    color: #333;
    font-feature-settings: 'palt' on;
    font-family: 'Rakuten Sans JP-2', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 140%;
    margin: 0 auto;
}

.custom-app-feature-description {
    width: 100%;
    max-width: 287px;
    color: #333;
    font-feature-settings: 'palt' on;
    font-family: 'Rakuten Sans JP-2', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}


.rm-c-participate.cpn_all_wrap {
    padding-top: 64px;
    transform: translateY(-50px);
}



@media (min-width: 499px) {
    .custom-app-feature-header {
        text-wrap: nowrap;
    }

    .custom-app-feature-description {
        text-align: center;
    }

    .custom-app-feature-description {
        margin: 0 auto;
    }

    .custom-app-feature-title-text {
        padding-left: 0px;
    }
}

@media (min-width: 759px) {
    .rm-c-participate.cpn_all_wrap {
        padding-bottom: 64px;
        border-radius: 0 0 34px;
    }

    .custom-app-feature-description {
        max-width: none;
        margin: 0 auto;
        text-align: center;
    }

    .custom-app-feature-item {
        margin-top: 8px;
    }

    .custom-app-feature-header {
        gap: 16px;
    }
}



/* Responsive */
@media (max-width: 760px) {
    .custom-app-install-image {
        max-width: 100%;
    }

    .custom-app-badges {
        gap: 20px;
    }

    .custom-app-feature-item {
        max-width: 100%;
    }

    .custom-app-feature-item:nth-of-type(2) {
        margin-top: 16px;
    }

    .custom-app-feature-description {
        margin-left: auto;
        max-width: 87%;
    }

    .rm-c-participate.cpn_all_wrap {
        padding-top: 0;
    }

}


/* ==================== キャンペーン参加セクション ==================== */
.campaign-participation-section {
    display: flex;
    width: 100%;
    padding: 40px 16px 0;
    flex-direction: column;
    align-items: center;
    background: #F7F7F7;
}

.campaign-participation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 375px;
}

/* テキストエリア */
.campaign-participation-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.campaign-participation-subtitle {
    color: #333;
    text-align: center;
    font-family: 'Rakuten Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 120%;
}

.campaign-participation-title {
    color: #333;
    text-align: center;
    font-feature-settings: 'palt' on;
    font-family: 'Rakuten Sans JP-2', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 130%;
    margin: 0;
}

/* キャンペーン参加方法 */
.campaign-participation-method {
    display: flex;
    width: 100%;
    padding: 20px 0 0;
    flex-direction: column;
    align-items: center;
}

.campaign-participation-note {
    color: #E60681;
    text-align: center;
    font-family: 'Rakuten Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 130%;
    margin: 0 0 10px;
}

/* カードグリッド */
.campaign-cards-grid {
    display: flex;
    width: 100%;
    max-width: 960px;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin: 0 auto;
    justify-content: space-between;
    gap: 10px;
}

/* カードスタイル */
.campaign-card {
    display: flex;
    /*width: calc(50% - 10px);*/
    min-width: 161px;
    height: 56px;
    padding: 16px 13px;
    justify-content: center;
    align-items: center;
    border-radius: 64px;
    border: 1px solid #4D4D4D;
    background: #FFF;
    box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.10);
    text-decoration: none;
    transition: background-color 0.2s;
}

.campaign-card:hover {
    background-color: #f0f0f0;
}

.campaign-card:active {
    background-color: #e0e0e0;
}

.campaign-card-content {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;

}

.campaign-card-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.campaign-card-label {
    color: #4D4D4D;
    text-align: center;
    font-family: 'Rakuten Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* レスポンシブ対応 */
@media (max-width: 760px) {
    .campaign-participation-section {
        padding: 32px 16px 0;
    }

    .campaign-participation-subtitle {
        font-size: 16px;
    }

    .campaign-participation-title {
        font-size: 24px;
    }

    .campaign-card {
        width: calc(50% - 8px);
        min-width: 140px;
        height: 52px;
        padding: 14px 10px;
    }

    .campaign-card-label {
        font-size: 18px;
    }
}

@media (min-width: 761px) {
    .campaign-participation-section {
        padding: 60px 0 0;
    }

    .campaign-participation-container {
        max-width: 800px;
    }

    .campaign-cards-grid {
        display: flex;
        gap: 30px;
        justify-content: start;
        align-items: flex-start;
    }

    .campaign-card {
        /*width: calc((100% - (4 * 30px)) / 5);*/
        width: auto;
        max-width: none;
        flex-shrink: 0;
        flex-grow: 0;
    }
}

@media (min-width: 799px) {
    .campaign-card-content {
        width: 100%;
        max-width: 728px;
        gap: 8px;
    }

    .campaign-cards-grid {
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: flex-start;
    }

    .campaign-card {
        width: calc((100% - (4 * 10px)) / 5);
        min-width: 0px;
        max-width: none;
        flex-shrink: 0;
        flex-grow: 0;
        flex-wrap: nowrap;
    }
}

/* ==================== responsive font size ==================== */

@media screen and (min-width: 759px) {
    .rm-c-participate__title {
        font-size: 40px;
    }

    .custom-header-title {
        font-size: 32px;
    }

    .custom-about-title {
        font-size: 32px;
        margin-bottom: 16px;

    }

    .custom-about-highlight-text {
        font-size: 24px;
    }

    .custom-about-description,
    .custom-header-subtitle,
    .u-c-ff008c,
    .custom-find-stores-text {
        font-size: 20px;
    }

    .custom-disclaimer-text {
        font-size: 16px;
    }
}

.entry-attention {
    margin-bottom: 12px;
}

.rc-footer .rc-footer-top__return-top.rc-fixed-content {
    display: none;
}