/* font */
/* Rakuten Sans JP - Light */
@font-face {
    font-family: 'Rakuten Sans JP';
    src: url('/font/rakutenSans/woff2/RakutenSansJP/RakutenSansJP_W_Light.woff2') format('woff2');
    font-weight: 300;
    /* Light */
    font-style: normal;
    font-display: swap;
}

/* Rakuten Sans JP - Regular */
@font-face {
    font-family: 'Rakuten Sans JP';
    src: url('/font/rakutenSans/woff2/RakutenSansJP/RakutenSansJP_W_Regular.woff2') format('woff2');
    font-weight: 400;
    /* Regular */
    font-style: normal;
    font-display: swap;
}

/* Rakuten Sans JP - Medium */
@font-face {
    font-family: 'Rakuten Sans JP';
    src: url('/font/rakutenSans/woff2/RakutenSansJP/RakutenSansJP_W_Medium.woff2') format('woff2');
    font-weight: 500;
    /* Medium */
    font-style: normal;
    font-display: swap;
}

/* Rakuten Sans JP - DemiBold */
@font-face {
    font-family: 'Rakuten Sans JP';
    src: url('/font/rakutenSans/woff2/RakutenSansJP/RakutenSansJP_W_DemiBold.woff2') format('woff2');
    font-weight: 600;
    /* DemiBold */
    font-style: normal;
    font-display: swap;
}

/* Rakuten Sans JP - Bold */
@font-face {
    font-family: 'Rakuten Sans JP';
    src: url('/font/rakutenSans/woff2/RakutenSansJP/RakutenSansJP_W_Bold.woff2') format('woff2');
    font-weight: 700;
    /* Bold */
    font-style: normal;
    font-display: swap;
}

/* Rakuten Sans JP - Heavy */
@font-face {
    font-family: 'Rakuten Sans JP';
    src: url('/font/rakutenSans/woff2/RakutenSansJP/RakutenSansJP_W_Heavy.woff2') format('woff2');
    font-weight: 800;
    /* Heavy */
    font-style: normal;
    font-display: swap;
}

main {
    font-family: 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    font-feature-settings: "palt";
}


.lev2 {
    font-size: 44px;
    text-align: center;
    color: var(--crimsonred);
    font-weight: bold;
}

.campaignArea>.lev2,
.lev2 .about-description {
    color: var(--brown);
}

@media (max-width: 640px) {
    .lev2 {
        font-size: 32px;
    }
}

/* over wite */
.Application_wrapper__oVJbg .CampaignEntryButton_campaignButton__n6hK5 {
    margin: 8px 0 0;
}


/* service nav */

.service-card {
    display: flex;
    width: calc(50% - 7.5px);
    max-width: 240px;
    height: auto;
    padding: 16px 10px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 4px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
    position: relative;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.service-card:hover {
    background-color: #efefef;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

@media (max-width: 640px) {
    .card-content {
        gap: 4px;
    }
}

.service-icon {
    width: 28px;
    height: 28px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media (max-width: 640px) {
    .service-icon {
        width: 24px;
        height: 24px;
    }
}

.inspection-icon {
    background-image: url(//carservice.r10s.jp/img/campaign/mobile_campaign/link/2509/icon_shaken.png);
}

.app-icon {
    background-image: url(//carservice.r10s.jp/img/campaign/mobile_campaign/link/2509/icon_app.png);
}

.carwash-icon {
    background-image: url(//carservice.r10s.jp/img/campaign/mobile_campaign/link/2509/icon_carwash.png);
}

.buyback-icon {
    background-image: url(//carservice.r10s.jp/img/campaign/mobile_campaign/link/2509/icon_sellcar.png);
}

.repair-icon {
    background-image: url(//carservice.r10s.jp/img/campaign/mobile_campaign/link/2509/icon_repair.png);
}

.usedcar-icon {
    background-image: url(//carservice.r10s.jp/img/campaign/mobile_campaign/link/2509/icon_usedcar.png);
}

.usedcar-coin {
    width: 7%;
    height: auto;
    max-height: 40px;
}

@media (min-width: 640px) {
    .usedcar-coin {
        font-size: 16px;
    }
}

.service-title {
    color: #882f0f;
    text-align: center;
    position: relative;
    margin: 0;
    font: 700 20px/100%;
}

@media (max-width: 991px) {
    .service-title {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .service-title {
        font-size: 16px;
    }
}

.card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 14.626px;
    height: 14.626px;
    flex-shrink: 0;
    position: relative;
}

/* contents nav builder*/
.campaign-wrapper {
    display: flex;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
    gap: 10px 15px;
    flex-wrap: wrap;
    box-sizing: border-box;
    background-color: #f4eedd;
}

.entry-notice {
    color: #bd4062;
    text-align: center;
    position: relative;
    width: 100%;
    margin-bottom: 0px;
    font: 400 20px/130% 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
}

@media (max-width: 640px) {
    .entry-notice {
        font-size: 16px;
        line-height: 120%;
    }
}

.campaign-container {
    display: flex;
    max-width: 500px;
    padding-bottom: 24px;
    flex-direction: column;
    align-items: center;
    background-color: #f4eedd;
    gap: 16px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .campaign-container {
        width: 100%;
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .campaign-container {
        width: 100%;
        padding: 12px;
    }
}

.campaign-content {
    display: flex;
    width: 100%;
    max-width: 758px;
    margin: 0 auto;
    padding-bottom: 32px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 10px;
    position: relative;
    background-color: #fff;
}

.campaign-content:not(:first-of-type) {
    margin-top: 40px;
}

@media (max-width: 640px) {
    .campaign-content {
        width: 100%;
        padding-bottom: 16px;
        padding-bottom: 20px;
    }

    .campaign-content:not(:first-of-type) {
        margin-top: 24px;
    }
}

.campaign-header {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    border-radius: 10px 10px 0 0;
    background-color: #882f0f;
    padding: 24px 0 16px;
}

@media (max-width: 640px) {
    .campaign-header {
        padding: 20px 0 16px;
    }
}

.campaign-subtitle {
    align-self: stretch;
    color: #fff;
    text-align: center;
    position: relative;
    font: 400 20px/1 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    margin: 0;
}

@media (max-width: 640px) {
    .campaign-subtitle {
        font-size: 16px;
    }
}

.lev3 {
    color: #fff;
    text-align: center;
    position: relative;
    font: 700 40px/1.5 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    margin: 0;
}

@media (max-width: 640px) {
    .lev3 {
        font-size: 24px;
    }
}

.main-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.main-visual-image {
    width: 95%;
    margin: 0 auto;
    display: block;
}

@media (max-width: 740px) {
    .main-visual-image {
        width: 90%;
        max-width: 650px;
    }
}

.campaign-caution {
    color: #333;
    text-align: center;
    font: 400 14px/18px 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
}

@media (max-width: 640px) {
    .campaign-caution {
        width: 100%;
        font-size: 12px;
        line-height: 16px;
        display: flex;
        flex-direction: column;
    }
}

.caution-text {
    margin: 0;
}

@media (max-width: 640px) {
    .caution-text {
        width: 100%;
        padding: 0 16px;
    }
}

.link-text {
    color: #0074ad;
}

.contents-wrap {
    width: 95%;
}

@media (max-width: 640px) {
    .contents-wrap {
        width: 90%;
    }
}

.about,
.about-contents {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.lev4 {
    color: var(--crimsonred);
    text-align: center;
    font: 600 40px 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    margin: 0;
    font-feature-settings: "palt";
}

#usedcarArea .lev4 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.service-caution {
    display: block;
}

.service-caution:nth-of-type(1) {
    margin-bottom: 40px;
}

.about-detail.about-description {
    width: 90%;
}

.about-contents div {
    margin: 0;
    padding: 0;
}

.about-contents div .highlight-number {
    color: var(--crimsonred);
    margin-right: 0;
}

.about-contents div .highlight-content.about-highlight:first-of-type {
    letter-spacing: -0.03em;
}

@media (min-width: 401px) {
    .min400 {
        display: none;
    }
}

@media (max-width: 640px) {
    .lev4 {
        position: static;
        width: 100%;
        text-align: center;
        letter-spacing: 0px;
        font-size: 24px;
        line-height: 24px;
        height: auto;
        flex-grow: 0;
        margin-bottom: 20px;
    }

    #app .lev4 {
        margin-bottom: 0;
    }

    .highlight-content.about-highlight {
        font-weight: bold;
    }

    .service-caution {
        display: block;
        margin: 0 0 32px;
    }
}

.about-highlight {
    display: inline-flex;
    height: 32px;
    margin: 16px auto;
    padding: 0 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 10px solid #ffebbc;
}

@media (max-width: 640px) {
    .about-highlight {
        height: 20px;
        width: auto;
        margin: 8px auto;
        margin-top: -5px;
        border-bottom: 6px solid #ffebbc;
    }
}

.highlight-content {
    font: 600 32px/1.5 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
}

.highlight-content.about-highlight {
    transform: translateY(-4px);
}

@media (max-width: 640px) {
    .highlight-content {
        font: 16px 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    }
}

.highlight-number {
    font: 700 40px 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
}

@media (max-width: 640px) {
    .highlight-number {
        font-size: 22px;
    }
}

.about-description,
.cta>p {
    text-align: center;
    color: var(--txt);
    font: 400 24px/1.5 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
}

.cta>p {
    color: var(--crimsonred);
    margin-bottom: 0;
}


@media (max-width: 640px) {

    .about-description,
    .cta>p {
        font-size: 16px;
    }
}

.about-disclaimer {
    color: #686868;
    text-align: center;
    font: 400 16px 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
}

@media (max-width: 640px) {
    .about-disclaimer {
        font-size: 12px;
        line-height: 1.5;
    }
}

.cta {
    display: flex;
    width: 90%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .cta {
        width: 100%;
    }
}

a.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: 2px solid #bf0000;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background-color: #fff;
    cursor: pointer;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 20px 0;
    box-sizing: border-box;
    text-decoration: none;
    transition: background-color .3s;
}

a.cta-button:hover {
    background-color: #fff8f8;
}

a.cta-button:active {
    background-color: #ffd5d5;
}

a.cta-button:focus-visible {
    outline: 3px solid #bf0000;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    a.cta-button {
        width: 100%;
        font-size: 16px;
        padding: 16px 0 16px 0;

    }
}

a.cta-text,
.cta-text,
.mobilepink {
    color: #bf0000;
    text-align: center;
    font: 500 32px/100% 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    width: 100%;
    font-feature-settings: "palt";
}

.mobilepink {
    color: var(--mobile);
}

.about-description .mobilepink {
    line-height: 2;
}

@media (max-width: 640px) {
    a.cta-text {
        font-size: 20px;
    }
}

@media (max-width: 640px) {

    .cta-text,
    .mobilepink {
        font-size: 20px;
    }
}

@media (min-width: 485px) {
    .sp-carwash {
        display: none;
    }
}

@media (min-width: 640px) and (max-width: 800px) {
    .sp-carwash {
        display: block;
    }
}

.campaign-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    margin-top: 56px;
    gap: 24px;

}

@media (max-width: 640px) {
    .campaign-details {
        width: 100%;
        margin-top: 40px;
        gap: 10px;
    }
}

#app .cta {
    display: flex;
    flex-direction: column;
}

#app .cta:nth-of-type(1) {
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    #app .cta:nth-of-type(1) {
        margin-bottom: 0;
    }
}

/* CPN詳細 */

.details-title {
    color: #333;
    text-align: center;
    margin: 0 auto;
}

.details-subtitle {
    align-self: stretch;
    color: #333;
    text-align: center;
    font: 500 24px/1.5 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .details-subtitle {
        font-size: 14px;
        margin: 0 auto;
    }
}

.details-description {
    margin: 0;
}

@media (max-width: 640px) {
    .details-description {
        font-weight: 500;
    }
}

.details-points {
    margin: 0;
}

@media (max-width: 640px) {
    .details-points {
        font-weight: 500;
    }
}

.campaign-accordion-toggle {
    width: 100%;
}

.toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.campaign-accordion-toggle,
.toggle-header-wrap {
    width: 100%;
}

.toggle-header-wrap {
    background-color: #fdebbc;
}

.toggle-header {
    list-style: none;
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 12px 30px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.toggle-header::-webkit-details-marker {
    display: none;
}

.toggle-header::after,
.toggle-header::before {
    content: "";
    position: absolute;
    left: calc(100% - 30px);
    top: 50%;
    background-color: #FF008C;
    border-radius: 2px;
    transition: transform .22s ease, opacity .22s ease;
    transform: translate(-50%, -50%);
}

.toggle-header::after {
    width: 14px;
    height: 2px;
}

.toggle-header::before {
    width: 2px;
    height: 14px;
    transform-origin: 50% 50%;
    opacity: 1;
}

.toggle-header-wrap[open] .toggle-header::before {
    transform: translateY(-50%) scaleY(0);
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {

    .toggle-header::before,
    .toggle-header::after,
    .toggle-content {
        transition: none;
    }
}

@media (max-width: 640px) {
    .toggle-header {
        padding: 8px 16px;
    }
}

.toggle-title {
    color: #333;
    text-align: center;
    font: 700 20px/130% 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
}

@media (max-width: 640px) {
    .toggle-title {
        font-size: 14px;
    }
}

.toggle-icon {
    width: 13px;
    height: auto;
    transition: transform 0.3s ease;
}

.campaign-accordion-toggle[open] .toggle-icon {
    transform: rotate(90deg);
}

.toggle-content {
    display: flex;
    padding: 16px 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    background-color: #fff;
    border: solid 1px #fdebbc;
}

@media (max-width: 640px) {
    .toggle-content {
        justify-content: flex-start;
        align-items: flex-start;
        padding: 16px;
    }
}

.accordion-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.accordion-title,
.accordion-item {
    color: #333;
    text-align: left;
    font: 700 16px/130% 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    margin: 0;
}


@media (max-width: 640px) {

    .accordion-item,
    .accordion-title,
    .cpn-note {
        font-size: 14px;
    }
}

.accordion-text,
.cpn-note {
    align-self: stretch;
    color: #333;
    font: 400 14px/130% 'Rakuten Sans JP', 'Noto Sans JP', sans-serif;
    margin: 0;
}

.accordion-text.red {
    color: var(--crimsonred);
}

@media (max-width: 640px) {

    .accordion-text,
    .cpn-note {
        font-size: 12px;
    }
}

.cpn-note {
    color: #7a7a7a;
}