/* cwd-collection - sp */

:root {
    --padding-top-bottom-s: 24px;
    --padding-top-bottom-m: 42px;
    --padding-top-bottom-l: 60px;
    --padding-left-right: 16px;
    --padding-gap: 16px;
    --bg-beige: #ECEAE3;
    --brand-crimson-red: #bf0000;
    --color-success-color: #047205FF;
    --color-info-color: #006497FF;
    --color-danger: #DF0101FF;
    --color-warning: #A35E04FF;
    --color-orange: #F59600FF;
    --color-purple: #7D00BEFF;
    --color-green: #00B900FF;
    --color-pink: #FF41BEFF;
    --color-light-blue: #00A0F0FF;
    --font-size-heading1: 32px;
    --font-size-heading2: 24px;
    --font-size-heading3: 20px;
    --font-size-heading4: 18px;
    --font-size-main-text: 16px;
    --font-size-main-text-mini: 14px;
    --font-size-main-text-ex-mini: 12px;
    --font-size-cautein-text: 10px;
    --font-family-base: ;
    --text-black: #333;
    --text-700: #686868;

    /* page-specific tokens */
    --rex-gray-100: #F6F6F6;
    --gray-700: #686868;
    --gray-800: #4D4D4D;
    --red-700: #D80000;
    --white: #FFF;
    --rex-gray-200: #EBEBEB;
    --crimson-red: #BF0000;
    --link-color: #0074AD;
    --blue: #5A90A8;
    --pink: rgba(226, 96, 127, 1);
    --green: #5AA867;
}

@media (min-width: 679px) {
    :root {
        --padding-top-bottom-s: 40px;
        --padding-top-bottom-m: 62px;
        --padding-top-bottom-l: 120px;
        --padding-left-right: 16px;
        --padding-gap: 20px;
        --bg-beige: #ECEAE3;
        --font-size-heading1: 40px;
        --font-size-heading2: 32px;
        --font-size-heading3: 24px;
        --font-size-heading4: 20px;
        --font-size-main-text: 18px;
        --font-size-main-text-mini: 16px;
        --font-size-main-text-ex-mini: 14px;
        --font-size-cautein-text: 14px;
    }
}

.width-60 {
    width: 60px;
}

.width-120 {
    width: 120px;
}


.width-240 {
    width: 240px;
}

.__column {
    flex-direction: column;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--text-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

p {
    font-size: var(--font-size-main-text);
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

.search-icon {
    width: 20px;
    height: 20px;
}

.pc-only {
    display: none;
}

.sp-only {
    display: block;
}

sup {
    font-size: 10px;
    display: inline;
}

.nowrap {
    white-space: nowrap;
}

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

    .pc-only {
        display: block;
    }
}

/* ===== UTILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

.note {
    font-size: var(--font-size-main-text-ex-mini);
    color: var(--gray-700);
    line-height: 1.4;
}

/* ===== SECTION COMMON ===== */
.section__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.section__heading {
    font-size: var(--font-size-heading2);
    font-weight: 600;
    text-align: center;
}

.section__heading-underline {
    height: 6px;
    background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/underline_ttl.svg");
    border-radius: 3px;
}

.section__subheading {
    font-size: var(--font-size-heading3);
    font-weight: 600;
    text-align: center;
    background: var(--rex-gray-100);
    padding: 6px 0;
    width: 100%;
}

.heading-small {
    font-size: var(--font-size-heading4);
}

.content_box .note {
    color: var(--gray-700);
}

@media (min-width: 679px) {

    .section__title {
        margin-bottom: 14px;
    }

    .section__heading {
        font-size: 32px;
        /* PC */
    }
}

/* ===== HERO ===== */
.hero {
    overflow: hidden;
    background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/mv_spbg.png");
    background-size: cover;
    background-position: right center;
}

.hero__inner {
    /* display: flex; */
    /* align-items: stretch; */
    min-height: 240px;
}

.hero__content {
    /* flex: 1 1 100%; */
    padding: var(--padding-left-right);
    /* display: flex; */
    /* flex-direction: column; */
    justify-content: center;
    gap: 6px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
}

.hero__badge img {
    width: 160px;
    height: auto;
}

.hero__heading {
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--brand-crimson-red);
}

.hero__heading-accent {
    font-size: 44px;
}

.hero__heading-subaccent {
    font-size: 28px;
}

.hero__heading-underline {
    width: 100px;
    height: 4px;
    background: #FFD456;
    border-radius: 2px;
}

.hero__subtitle {
    font-size: var(--font-size-heading4);
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    padding-bottom: 6px;
}

.hero__checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.hero__check-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-black);
    line-height: 1.5;
    font-family: "A P-OTF Shin Maru Go Pr6N", sans-serif;
    font-weight: 500;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

.hero__check-item::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 14px;
    background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/checkbox.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    margin-top: 2px;
}

.hero__image {
    display: none;
}

.u-line1 {
    display: inline-block;
    position: relative;
    padding-bottom: .25em;
}

.u-line1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* テキスト幅いっぱい */
    bottom: 0.05em;
    height: 0.30em;
    /* 下線の太さ */
    background: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/mv_underline1.svg") no-repeat 0 0 / 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.u-line2 {
    display: inline-block;
    position: relative;
    padding-bottom: .35em;
}

.u-line2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* テキスト幅いっぱい */
    bottom: 0.05em;
    height: 0.30em;
    /* 下線の太さ */
    background: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/mv_underline2.svg") no-repeat 0 0 / 100% 100%;
    pointer-events: none;
    z-index: 1;
}


@media (min-width: 679px) {
    .hero {
        /* background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/mv_pcbg.png"); */
        background-size: cover;
        background-position: bottom;
    }

    .hero__inner {
        min-height: 375px;
    }

    .hero__content {
        padding: 24px;
        gap: 14px;
        max-width: 60%;
    }

    .hero__heading {
        font-size: 48px;
    }

    .hero__heading-underline {
        width: 140px;
        height: 5px;
    }

    .hero__heading-accent {
        font-size: 62px;
    }

    .hero__heading-subaccent {
        font-size: 38px;
    }


    .hero__check-item {
        font-size: var(--font-size-main-text-mini);
    }



}

@media (min-width: 1200px) {
    .hero {
        background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/mv_pcbg.png");
        background-size: cover;
        background-position: right center;
    }

    .hero__inner {
        justify-content: center;
        padding-bottom: 0.28em;
    }
}

@media (min-width: 905px) {
    .u-line1::after {
        background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/mv_underline-pc.svg");
        width: 500px;
    }

    .u-line2::after {
        display: none;
    }

    .hero {
        background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/mv_pcbg.png");
    }


}

@media (min-width: 1280px) {
    .hero__content {
        margin: 0 auto;
    }
}




/* ===== No.1 BANNER ===== */
.no1-banner {
    background: var(--white);
    padding: var(--padding-top-bottom-s) var(--padding-left-right);
    overflow: hidden;
    position: relative;
}

.no1-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.no1-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-align: center;

}

.no1-banner__textarea {
    display: flex;
    align-items: end;
}

.no1-banner__textarea img {
    width: 24px;
    height: 24px;
}


.no1-banner__headline {
    font-size: var(--font-size-heading4);
    font-weight: 700;
    color: var(--brand-crimson-red);
    font-family: var(--font-family-base);
    line-height: 1.3;
}

.no1-banner__subtitle {
    font-size: var(--font-size-main-text);
    font-weight: 700;
    color: var(--text-black);
}

.no1-banner__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--brand-crimson-red);
    border-radius: 7px;
    box-shadow: 2.21px 2.21px 0 rgba(0, 0, 0, 0.25);
    padding: 14px var(--padding-top-bottom-s);
    text-decoration: none;
    width: 100%;
    max-width: 540px;
    color: white;
}

.no1-banner__cta-label {
    font-size: var(--font-size-main-text);
    font-weight: 700;
    color: white;
}

.no1-banner__cta-main {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-heading4);
    font-weight: 700;
    color: white;
    line-height: 1.2;
}



.no1-banner__footnote {
    font-size: var(--font-size-main-text-ex-mini);
    color: var(--text-black);
}

.no1-banner__deco {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    opacity: 0.18;
}

.no1-banner__stripe {
    display: block;
    width: 44px;
    height: 5px;
    background: var(--brand-crimson-red);
    border-radius: 2px;
}

.no1-banner__deco--left .no1-banner__stripe:first-child {
    transform: rotate(-40deg) translateY(6px);
}

.no1-banner__deco--left .no1-banner__stripe:last-child {
    transform: rotate(40deg) translateY(-6px);
}

.no1-banner__deco--right .no1-banner__stripe:first-child {
    transform: rotate(40deg) translateY(6px);
}

.no1-banner__deco--right .no1-banner__stripe:last-child {
    transform: rotate(-40deg) translateY(-6px);
}

@media (min-width: 679px) {

    .no1-banner__subtitle {
        font-size: var(--font-size-heading3);
    }

    .no1-banner__stripe {
        width: 56px;
        height: 6px;
    }
}

/* ===== QUICK LINKS ===== */
.quick-links {
    background: var(--white);
    padding: var(--padding-top-bottom-s) var(--padding-left-right);
}

.quick-links__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* SP: 2列 */
    grid-auto-rows: 82px;
    gap: 12px;
    list-style: none;
}

.quick-links__grid>li {
    display: flex;
}

.quick-links__item>img {
    width: 14px;
}

.quick-links__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--blue);
    background: var(--white);
    box-shadow: 2.21px 2.21px 0 rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: var(--text-black);
    width: 100%;
    transition: .1s ease-in-out;
    justify-content: center;
}

.quick-links__item:hover {
    box-shadow: none;
    top: 2px;
    left: 2px;
}

.quick-links__item:focus {
    background-color: #F3F9FF;
    border-color: #F3F9FF;
}

.quick-links_textwrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.quick-links__icon-wrap {
    flex-shrink: 0;
    width: 36px;
    /* SP */
    height: 36px;
    /* SP */
    border-radius: 50%;
    background: #EEF5F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-img {
    width: 30px;
    height: 30px;
}

.quick-links__label {
    flex: 1;
    font-size: var(--font-size-main-text-mini);
    font-weight: 600;
    color: var(--text-black);
    line-height: 1.4;
}

.quick-links__arrow {
    flex-shrink: 0;
}

@media (min-width: 679px) {
    .quick-links__grid {
        grid-template-columns: repeat(3, 1fr);
        /* PC: 3列 */
        grid-auto-rows: 1fr;
        gap: 23px;
    }

    .quick-links__grid>li>a {
        flex-direction: row;
        justify-content: space-between;
    }

    .quick-links__item {
        padding: 12px var(--padding-top-bottom-s);
        gap: 12px;
    }

    .quick-links_textwrap {
        gap: 12px;
    }

    .quick-links__icon-wrap {
        width: 30px;
        /* PC */
        height: 30px;
        /* PC */
    }
}

@media (max-width:380px) {
    .quick-links__grid {
        grid-auto-rows: 102px;
    }
}

/* ===== SHAKEN about ===== */
.shaken-about {
    background: var(--white);
    padding: 44px 16px var(--padding-top-bottom-l);
    /* SP */
}

.shaken-about__layout {
    display: flex;
    flex-direction: column;
    /* SP */
    gap: 24px;
    /* SP */
    align-items: center;
}

.shaken-about__body {
    flex: 1;
    font-size: var(--font-size-main-text);
    line-height: 1.6;
}

.shaken-about__lead {
    font-size: var(--font-size-heading4);
    margin-bottom: 16px;
}

.shaken-about__image {
    flex-shrink: 0;
    width: 100%;
    /* SP */
    height: 200px;
    /* SP */
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.shaken-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 679px) {

    .shaken-about__layout {
        flex-direction: row;
        gap: 78px;
    }

    .shaken-about__image {
        width: 400px;
        /* PC */
        height: 232px;
        /* PC */
    }
}

/* ===== COST ===== */
.cost {
    padding: 0px 16px;
    /* SP */
}

.cost__intro {
    font-size: var(--font-size-main-text);
    margin: var(--padding-top-bottom-s) auto;
}

.content_box {
    margin-bottom: var(--padding-top-bottom-m);
}




.cost__breakdown {
    display: flex;
    flex-direction: column;
    list-style: none;
    /* SP */
    gap: 16px;
    /* SP */
    counter-reset: cost-counter;
    margin: var(--padding-top-bottom-s) auto;

}

.cost-card {
    flex: 1;
    padding: 16px 22px;
    border-radius: 8px;
    min-height: 172px;
}

.cost-card--statutory {
    border: 3px solid var(--pink);
    background: #FFF3F3;
}

.cost-card--basic {
    border: 3px solid var(--blue);
    background: #F0F7FA;
}

.cost-card--additional {
    border: 3px solid var(--green);
    background: #F9FFF3;
}

.cost-card__label {
    font-size: var(--font-size-heading3);
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

.cost-card__label::before {
    counter-increment: cost-counter;
    content: counter(cost-counter) ". ";
}

.cost-card__desc {
    font-size: var(--font-size-main-text);
    line-height: 1.5;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--padding-top-bottom-s) auto;
}

.cost-table__head-cell {
    background: var(--blue);
    color: var(--white);
    padding: 10px;
    font-weight: 600;
    text-align: center;
    font-size: var(--font-size-main-text-mini);

}

.cost-table__head-cell:nth-child(2) {
    font-size: var(--font-size-main-text-ex-mini);

}

.cost-table__cell {
    padding: 8px;
}


.cost-table__row:nth-child(odd) {
    background: var(--white);
}

.cost-table__row:nth-child(even) {
    background: var(--rex-gray-100);
}

.cost-table__cell {
    border-bottom: 1px solid var(--blue);
    font-size: var(--font-size-main-text-mini);
    font-weight: 600;
    text-align: center;
}

.cost-table__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--link-color);
    text-decoration: none;
    font-size: var(--font-size-main-text);
    font-weight: 300;
}

.cost-types {
    overflow-x: auto;
    margin: var(--padding-top-bottom-s) auto;
    -webkit-overflow-scrolling: touch;
}

.cost-types__table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.cost-types__head-cell {
    background: var(--blue);
    color: var(--white);
    padding: 10px 12px;
    font-size: var(--font-size-main-text-mini);
    /* SP */
    font-weight: 600;
    text-align: center;
}

.cost-types__head-cell:first-child {
    min-width: 80px;
    /* SP */
}

.cost-types__row {
    border-bottom: 1px solid var(--blue);
}

.cost-types__row:nth-child(odd) {
    background: var(--white);
}

.cost-types__row:nth-child(even) {
    background: var(--rex-gray-100);
}

.cost-types__head-cell--row {
    padding: 14px 16px;
    font-size: var(--font-size-main-text-mini);
    font-weight: 400;
    color: var(--text-black);
    text-align: left;
    white-space: nowrap;
}

.cost-types__cell {
    padding: 14px 12px;
    font-size: var(--font-size-main-text-mini);
    font-weight: 400;
    color: var(--text-black);
    text-align: center;
}

.cost-types__row--total .cost-types__head-cell--row,
.cost-types__row--total .cost-types__cell {
    font-weight: 700;
}

@media (min-width: 679px) {

    .cost-table {
        margin-bottom: 12px;
    }


    .cost__breakdown {
        flex-direction: row;
        /* PC */
        gap: 42px;
        /* PC */
    }

    .cost-types {
        margin-bottom: 12px;
    }

    .cost-types__head-cell,
    .cost-types__head-cell--row,
    .cost-types__cell {
        font-size: var(--font-size-main-text);
        /* PC */
        padding: 14px var(--padding-top-bottom-s);
        /* PC */
    }

    .cost-types__head-cell:first-child {
        min-width: 100px;
        /* PC */
    }
}

.cost__more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--link-color);
    text-decoration: underline;
    font-size: var(--font-size-main-text);
    font-weight: 300;
    margin-top: 16px;
}

.article-card {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    max-width: 734px;
    margin: var(--padding-top-bottom-s) auto;
    width: 100%;
}

.article-card__inner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 16px;
    gap: 16px;
}

.article-card__text {
    font-size: var(--font-size-main-text-mini);
}

.article-card__image {
    width: 44%;
    aspect-ratio: 4 / 3;
    /* 比率を指定 */
    height: auto;
    display: block;
    max-width: 170px;
}

/* ===== inspection-place ===== */
.inspection-place {
    padding: 32px 16px 40px;
    /* SP */
}

.inspection-place__intro {
    font-size: var(--font-size-main-text);
    margin-bottom: 12px;
}

.shop--img-right {
    flex-direction: column;
    /* SP: img-rightも縦並び */
}

.shop {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--padding-top-bottom-s);
    /* SP */
    margin: var(--padding-top-bottom-l) 0px;
    /* SP */

}

.shop:last-of-type {
    margin-bottom: 0;
}

.shop__image {
    flex-shrink: 0;
    width: 100%;
    /* SP */
    height: 220px;
    /* SP */
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.shop__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.shop__badge-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.shop__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #FFEEEE;
    font-size: var(--font-size-main-text-mini);
    font-weight: 700;
    width: fit-content;
    position: relative;
    border-radius: 4px;
    /* 角を少し丸める */
}

/* 吹き出しの三角（下向き） */
.shop__badge::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 8px 0 8px;
    border-style: solid;
    border-color: #FFEEEE transparent transparent transparent;
}

.shop__badge-accent {
    color: var(--crimson-red);
}

.shop__header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
}

.shop__accent-bar {
    width: 3px;
    align-self: stretch;
    background: var(--pink);
    flex-shrink: 0;
}

.shop__name {
    font-size: var(--font-size-heading3);
    font-weight: 600;
}

.shop__name-sub {
    font-size: var(--font-size-main-text-mini);
    font-weight: 600;
}

.shop__cost {
    font-size: var(--font-size-main-text);
    font-weight: 600;
    color: var(--gray-800);
}

.inspection-place .note:last-child {
    margin-top: var(--padding-top-bottom-s);
}




/*review*/
.review {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review__header {
    background: var(--rex-gray-100);
    padding: 6px 0 6px 16px;
    font-size: var(--font-size-heading4);
    font-weight: 600;
}

.review__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--font-size-main-text-mini);
}

.review__item::before {
    content: "";
    flex-shrink: 0;
    width: 26px;
    height: 23px;
    background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/checkbox.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    margin-top: 2px;
}


@media (min-width: 679px) {
    .inspection-place {
        padding: 44px 16px 60px;
        /* PC */
    }

    .shop {
        flex-direction: row;
        /* PC */
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .shop--img-right {
        flex-direction: row-reverse;
        /* PC */
    }

    .shop__image {
        width: 462px;
        /* PC */
        height: 308px;
        /* PC */
    }
}



/* ===== CTA ===== */
.cta {
    background-color: var(--rex-gray-100);
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta__title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    font-size: var(--font-size-heading3);
    font-weight: 600;

}

.cta__title img {
    width: 16px;
    height: auto;
}

.cta__minutes {
    font-size: var(--font-size-heading2);
    color: var(--crimson-red);
    font-weight: 600;
}

.cta__direct {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: auto;
    padding: 14px 16px;
    background: var(--crimson-red);
    color: var(--white);
    font-size: var(--font-size-heading4);
    font-weight: 700;
    border-radius: 7px;
    text-decoration: none;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
    font-family: var(--font-family-base);
    border: none;
}

.cta__direct:hover {
    box-shadow: none;
    top: 2px;
    left: 2px;
}

.postal,
.direct {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
}

.postal__label {
    font-size: var(--font-size-heading3);
    font-weight: 700;
    font-family: var(--font-family-base);
}

.postal__mark {
    color: var(--crimson-red);
}

.postal__form {
    display: flex;
    width: 100%;
    /* SP */
    height: 58px;
}

.postal__input {
    flex: 1;
    padding: 14px 12px;
    border: 1px solid #828282;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: var(--font-size-main-text);
    color: var(--gray-700);
    background: var(--white);
}

.postal__submit {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 var(--padding-top-bottom-s);
    background: var(--crimson-red);
    color: var(--white);
    border: 1px solid var(--crimson-red);
    border-radius: 0 4px 4px 0;
    font-size: var(--font-size-main-text);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-family-base);
}

@media (min-width: 679px) {
    .cta__direct {
        width: 540px;
        font-size: var(--font-size-heading3);
    }

    .postal__form {
        width: 540px;
        /* PC */
    }
}

@media (max-width:380px) {
    .cta__title {
        font-size: var(--font-size-main-text);
    }

    .cta__minutes {
        font-size: var(--font-size-heading3);
    }

    .cta__direct {
        font-size: var(--font-size-main-text);
    }
}

/* ===== PERIOD ===== */
.period {
    padding: 32px 16px;
    /* SP */
}

.period__description {
    font-size: var(--font-size-main-text);
    margin-bottom: var(--padding-top-bottom-s);
}

.period__image-box {
    background: #FFF6F6;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--padding-top-bottom-m);
}

.period__image-box img {
    max-width: 100%;
    border-radius: 8px;
}

@media (min-width: 679px) {
    .period {
        padding: 44px 16px;
        /* PC */
    }
}

/* modal */
/* ===== 拡大カーソル ===== */
/* .zoomable-img {
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.zoomable-img:hover {
  opacity: 0.85;
}

.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.img-modal.is-open {
  display: flex;
}

.img-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: zoom-out;
}

.img-modal__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-modal__img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  cursor: zoom-out; /* 画像上もzoom-outカーソルに 
} */
/* modal */


/* ===== FLOW ===== */
.flow {
    padding: var(--padding-top-bottom-s) 16px;
    overflow: visible;
    /* SP */
}

.flow__subtitle {
    font-size: var(--font-size-main-text);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--padding-top-bottom-s);
}

.flow__steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-top: var(--padding-top-bottom-s);
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    counter-reset: flow-counter;
}

.flow-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.flow__step {
    flex: 0 0 200px;
    padding: 12px;
    border-radius: 8px;
    border: 3px solid #CECECE;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 180px;
    justify-content: flex-start;
    position: relative;
    counter-increment: flow-counter;
    margin-right: var(--padding-top-bottom-s);
    text-align: left;
}


/* 番号とタイトルを横並び */
.flow__step-header {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    justify-content: center;
}

.flow__step-number {
    color: var(--crimson-red);
    font-weight: 700;
    font-size: var(--font-size-main-text);
    flex-shrink: 0;
}

.flow__step-title {
    font-size: var(--font-size-main-text);
    font-weight: 600;
    color: var(--text-black);
}




/* 最後のSTEPには矢印不要 */
.flow__step:last-child {
    margin-right: 0;
}

/* 矢印 */
.flow__step::after {
    content: "";
    position: absolute;
    right: -22px;
    /* ← カードの右外に出す */
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 14px;
    border-style: solid;
    border-color: transparent transparent transparent #FB9A9A;
    z-index: 1;
}

.flow__step:nth-child(5) {
    margin: 0;
}


.flow__step:nth-child(5)::after {
    display: none;
}

.flow__step-desc {
    font-size: var(--font-size-main-text-mini);
    color: var(--text-700);
}

.flow__step-icon {
    margin-top: auto;
    font-size: 40px;
}

@media (min-width: 679px) {
    .flow {
        padding: 34px 16px;
        /* PC */
    }

    .flow__step {
        flex: 1;
        /* PC */
        min-height: 220px;
        /* PC */
    }

    .flow__step-header {
        min-height: 60px;
    }

    .flow__step::after {
        right: -28px;
    }
}

/* ===== REQUIRED ===== */
.required {
    background: var(--rex-gray-100);
    padding: 32px 16px;
    /* SP */
}

.required__inner {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--padding-top-bottom-s) 16px;
    /* SP */
    border-radius: 8px;
}

.required__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
}

/* spanを削除したのでliに::beforeを指定 */
.required__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.required__item::before {
    content: "";
    flex-shrink: 0;
    width: 26px;
    height: 23px;
    background-image: url("//shaken.r10s.jp/shaken/img/knowledge/shakenguide/checkbox.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}


.required__item-title {
    font-size: var(--font-size-main-text);
    font-weight: 600;
    margin-bottom: 4px;
}

.required__item-desc {
    font-size: var(--font-size-main-text-mini);
    color: var(--text-700);
}

@media (min-width: 679px) {
    .required {
        padding: 40px 16px;
        /* PC */
    }

    .required__inner {
        padding: 40px;
        /* PC */
    }


    .required__list {
        gap: 46px;
    }

}

/* ===== COMPARE ===== */
.compare {
    padding: 32px 16px;
    /* SP */
}

.compare__intro {
    font-size: var(--font-size-main-text);
    margin-bottom: 40px;
}

/* olのデフォルトをリセット */
.compare__cards {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    list-style: none;
    /* ← 追加 */
    padding-left: 0;
    /* ← 追加 */
    align-items: stretch;
    counter-reset: compare-counter;
    /* ← 番号つける場合 */
}

.compare-card {
    flex: 0 0 200px;
    padding: 16px;
    border-radius: 8px;
    border: 3px solid #CECECE;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    counter-increment: compare-counter;
    content: counter(compare-counter) ". ";
}

/* 番号とタイトルを横並び */
.compare-card__header {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: var(--font-size-main-text);
}

.compare-card__number {
    color: var(--crimson-red);
    font-weight: 700;
    font-size: var(--font-size-main-text-mini);
    flex-shrink: 0;
}


@media (min-width: 679px) {
    .compare {
        padding: 46px 16px;
    }

    .compare__cards {
        gap: 21px;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .compare-card {
        flex: 1;
    }
}


/* ===== MERIT ===== */
.merit {
    background: #F6FCFF;
    padding: 32px 16px;
    /* SP */
}

.merit__layout {
    display: flex;
    flex-direction: column;
    /* SP */
    gap: 24px;
    /* SP */
}

.merit__body {
    flex: 1;
    font-size: var(--font-size-main-text);
    /* SP */
    line-height: 1.6;
}

.merit__image {
    flex-shrink: 0;
    width: 100%;
    /* SP */
    height: 220px;
    /* SP */
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.merit__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 679px) {
    .merit {
        padding: 44px 16px;
        /* PC */
    }

    .merit__layout {
        flex-direction: row;
        /* PC */
        align-items: center;
        gap: 78px;
        /* PC */
    }

    .merit__body {
        font-size: var(--font-size-heading3);
        /* PC */
    }

    .merit__image {
        width: 430px;
        /* PC */
        height: 266px;
        /* PC */
    }
}

/* ===== FAQ ===== */
.faq {
    padding: 32px 16px;
}

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

.faq__item {
    border-bottom: 1px solid var(--rex-gray-200);
}

.faq__question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--white);
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    font-family: inherit;
}

.faq__q-text {
    flex: 1;
    /* ← テキストが伸びてアイコンを右端に押し出す */
    font-size: var(--font-size-main-text-mini);
    font-weight: 500;
    color: var(--text-black);
    line-height: 1.47;
}

.faq__toggle-icon {
    flex-shrink: 0;
    margin-left: auto;
    /* ← アイコンを右端に */
    transition: transform 0.25s ease;
}

.faq__question[aria-expanded="true"] .faq__toggle-icon {
    transform: rotate(180deg);
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.faq__answer-inner {
    overflow: hidden;
    padding: 0 16px;
    background-color: #fff;
    /* display: flex を削除！ */
}

.faq__answer--open {
    grid-template-rows: 1fr;
}

.faq__answer--open .faq__answer-inner {
    padding: 12px 16px 20px;
}

.faq__a-text {
    font-size: var(--font-size-main-text-mini);
    color: var(--text-700);
    line-height: 1.7;
}


/* ===== SOURCE / FOOTER ===== */
.source {
    background: var(--rex-gray-100);
    padding: var(--padding-top-bottom-s) 16px;
    /* SP */
}

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

.source__text ul {
    list-style-position: inside;
    color: var(--gray-800);
    font-size: var(--font-size-main-text-ex-mini);
}


.source__text p {
    font-size: var(--font-size-main-text-ex-mini);
    color: var(--gray-800);
    line-height: 1.2;
}

.source__ttl {
    font-size: var(--font-size-main-text-mini) !important;
    margin-bottom: 14px;
    font-weight: bold;
}



@media (min-width: 679px) {
    .source {
        padding: 42px 16px;
        /* PC */
    }
}

.scroll-hint-icon {
    z-index: 99;
}



@media (max-width: 912px) {

    .shaken-about__layout {
        flex-direction: column;

    }

    .shop {
        display: flex;
        flex-direction: column-reverse;
        gap: var(--padding-top-bottom-s);
        /* SP */
        margin: var(--padding-top-bottom-l) 0px;
        /* SP */
    }

    .merit__layout {
        flex-direction: column;
    }
}