/*====================================================================
service-common
=====================================================================*/

.common-cta {
    max-width: 980px;
    /* margin: 22px auto 0; */
    background: var(--main-color);
    /* border-radius: 8px; */
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* 左 / 仕切り / 右 */
    align-items: center;
    gap: 18px;
}

.common-cta__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: #0e2a3b;
    /* background: rgba(255, 255, 255, .6); */
    border-radius: 12px;
    padding: 12px 16px;
    transition: transform .08s ease, opacity .15s ease;
}

.common-cta__item:hover {
    opacity: .7;
}

.common-cta__item:active {
    transform: translateY(1px);
}

.common-cta__icon {
    width: 64px;
    height: 40px;
    object-fit: contain;
}

.common-cta__label {
    font-weight: 700;
    line-height: 1.25;
}

.common-cta__label small {
    display: block;
    font-size: 11px;
    opacity: .75;
}

.common-cta__divider {
    width: 1px;
    height: 56px;
    background: #fff;
    display: block;
    border-radius: 1px;
}

#flow, #cancel, #emergency {
    scroll-margin-top: 120px;
}



/*====================================================================
service
=====================================================================*/

.service {
    margin-top: 150px;
}

.service-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 50px;
    background-color: var(--main-color);
    border-radius: 50px;
    padding: 12px 40px;
}

.service-nav__list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-nav__item {
    position: relative;
}

.service-nav__item:not(:last-child)::after {
    content: "｜";
    position: absolute;
    right: -18px;
    color: #000;
}

.service-nav__link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 16px;
}

.service-nav__link:hover {
    opacity: 0.7;
}


/*====================================================================
flow
=====================================================================*/

/* ===== ベース ===== */
.flow {
    /* background: #f7fbfe; */
    margin-top: 50px;
    /* padding: 32px 16px 0; */
    font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto,
        "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    color: #222;
}

.flow-container {
    /* max-width: 880px; */
    margin: 0 auto;
    background: #fff;
    border: 4px solid var(--main-color);
    border-radius: 8px 8px 0 0;
    padding: 28px 70px 40px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* 見出し */
.flow-head {
    text-align: center;
    font-size: 18px;
    letter-spacing: .12em;
    /* margin: 4px 0 28px; */
}

/* .flow-head::after {
    content: "";
    display: block;
    width: 215px;
    height: 2px;
    background: #222;
    margin: 6px auto 0;
    opacity: 0.6;
} */

/* セクション */
.flow-section {
    margin-top: 50px;
}

.flow-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.flow-num {
    font-size: 20px;
    width: 32px;
    height: 32px;
    border: 1px solid #222;
    border-radius: 50%;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}

.flow-title {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(transparent 60%, #ccecff 60%);
    /* ←ペン風マーク */
    display: inline-block;
    line-height: 1.6;
}

.flow-lead {
    margin: 6px 0 14px;
    font-size: 14px;
}

/* カード群 */
.flow-cards {
    display: flex;
    /* gap: 14px; */
    gap: 30px;
    align-items: stretch;
    margin: 40px 0 10px;
}

.flow-card {
    flex: 1 1 0;
    background: #f3f6f9;
    border-radius: 8px;
    /* padding: 14px 14px 16px; */
    padding: 30px;
    position: relative;
}

/* 横並び時の矢印（→） */
.flow-card+.flow-card::before {
    content: "";
    position: absolute;
    /* left: -10px; */
    left: -23px;
    /* ← left を right に変更 */
    top: 50%;
    transform: translateY(-50%);
    /* border-width: 8px 0 8px 10px; */
    border-width: 20px 0 20px 20px;
    /* ← 向きを右向きに */
    border-style: solid;
    border-color: transparent transparent transparent #a8dbff;
    /* ← 色を右側に */
}


/* カード内 */
.flow-card__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
}

.flow-card__text {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.flow-link {
    color: #1580c4;
    text-decoration: underline;
}

/* 注意書き */
.flow-note {
    font-size: 12px;
    color: #666;
    margin: 8px 0 0;
}

.flow-notes {
    margin: 10px 0 0;
}

.flow-notes__title {
    font-size: 13px;
    margin: 0 0 4px;
}

.flow-notes__list {
    margin: 0;
    /* padding-left: 1.2em; */
    font-size: 12px;
    color: #555;
}

/* ===== 下部CTA ===== */
.flow-cta {
    max-width: 100%;
    background: #a8dbff;
    /* margin: 18px auto 0; */
    padding: 18px 16px;
    display: flex;
    justify-content: center;
    gap: 36px;
}

.flow-cta__item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: #0e2a3b;
    background: rgba(255, 255, 255, .6);
    padding: 10px 16px;
    border-radius: 10px;
    transition: transform .08s ease, opacity .15s ease;
}

.flow-cta__item:hover {
    opacity: .9;
}

.flow-cta__item:active {
    transform: translateY(1px);
}

.flow-cta__icon {
    width: 64px;
    height: 40px;
    object-fit: contain;
}

.flow-cta__label {
    font-weight: 700;
    line-height: 1.3;
}

.flow-cta__label small {
    display: block;
    font-weight: 600;
    font-size: 11px;
    opacity: .75;
}

/*====================================================================
cancel
=====================================================================*/

/* ===== Base ===== */
.cancel {
    background: #f7fbfe;
    margin-top: 100px;
    /* padding: 34px 16px 0; */
    color: #222;
    font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto,
        "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
}

.cancel-container {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 3px solid #cfe8f6;
    border-radius: 8px 8px 0 0;
    padding: 32px 36px 40px;
}

/* 見出し */
.cancel-head {
    position: relative;
    text-align: center;
    font-size: 18px;
    letter-spacing: .12em;
    margin: 2px 0 28px;
}

/* .cancel-head::after {
    content: "";
    display: block;
    width: 160px;
    height: 2px;
    background: #222;
    margin: 6px auto 0;
    opacity: 0.6;
} */

.cancel-head__underline {
    display: block;
    width: 215px;
    height: 2px;
    background: #222;
    margin: 8px auto 0;
    opacity: .65;
}

/* ステップ */
.cancel-step+.cancel-step {
    margin-top: 26px;
}

.cancel-step__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cancel-num {
    font-size: 20px;
    width: 32px;
    height: 32px;
    border: 1px solid #222;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    line-height: 1;
    background: #fff;
}

.cancel-title {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(transparent 60%, #ccecff 60%);
    /* ←ペン風マーク */
    display: inline-block;
    line-height: 1.6;
}

.cancel-text {
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
    color: #333;
}

/* ピンクボタン */
.cancel-center {
    text-align: center;
    margin-top: 16px;
}

.cancel-button {
    display: inline-block;
    background: #ee7d90;
    /* ピンク */
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
    transition: transform .08s ease, opacity .15s ease;
}

.cancel-button:hover {
    opacity: .9;
}

.cancel-button:active {
    transform: translateY(1px);
}


/*====================================================================
emergency
=====================================================================*/

/* ===== Base ===== */
.emergency {
    background: #f7fbfe;
    margin-top: 100px;
    /* padding: 34px 16px 0; */
    font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto,
        "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    color: #222;
}

/* Container */
.emergency-container {
    /* max-width: 960px; */
    margin: 0 auto;
    background: #fff;
    border: 2px solid #cfe8f6;
    border-radius: 8px 8px 0 0;
    padding: 36px 40px;
}

/* Heading */
.emergency-head {
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.12em;
    margin: 0 0 28px;
    position: relative;
}

/* .emergency-head::after {
    content: "";
    display: block;
    width: 190px;
    height: 2px;
    background: #222;
    margin: 6px auto 0;
    opacity: 0.6;
} */

/* ===== Boxes ===== */
.emergency-boxes {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0;
}

.emergency-box {
    flex: 1;
    padding: 0 20px;
}

.emergency-boxes::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #ddd;
    transform: translateX(-50%);
}

.emergency-box:last-child {
    border-right: none;
}

.emergency-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(transparent 60%, #d7efff 60%);
    display: inline-block;
    padding: 0 4px;
}

.emergency-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 30px;
}

.emergency-center {
    text-align: center;
}

.emergency-button {
    display: inline-block;
    background-color: #f28092;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.emergency-button:hover {
    opacity: 0.85;
}


/*====================================================================
faq
=====================================================================*/

/* 背景と枠 */
#faq {
    scroll-margin-top: 120px;
}

.faq {
    background: var(--main-color);
    margin-top: 100px;
    padding: 40px 16px 60px;
    font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto,
        "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    color: #222;
}


.faq-container {
    max-width: 840px;
    margin: 0 auto;
}

/* 見出し */
.faq-head {
    text-align: center;
    font-size: 24px;
    letter-spacing: .1em;
    margin: 0 0 18px;
}

.faq-head>span {
    display: block;
    font-size: 12px;
    letter-spacing: .2em;
    color: #2a2a2a;
    opacity: .7;
    margin-top: 4px;
}

/* アコーディオン */
.faq-accordion {
    display: grid;
    gap: 14px;
    margin-top: 50px;
}

/* パネル共通 */
.faq-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
    overflow: hidden;
    border: 1px solid #dfeaf4;
}

/* トグル（見出しボタン） */
.faq-panel__toggle {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    text-align: center;
    font-weight: 700;
    letter-spacing: .15em;
    /* padding: 14px 16px; */
    padding: 40px 15px;
    border: 0;
    background: #e9f5ff;
    /* 閉じてる見出しの色 */
    position: relative;
    cursor: pointer;
}

.faq-panel__icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    opacity: .6;
}

/* 開いているときは白背景＋下境界線 */
.faq-panel--open>.faq-panel__toggle {
    background: #ffffff;
    border-bottom: 1px solid #333;
}

/* 中身 */
.faq-panel__content {
    display: none;
    padding: 0;
    /* 内側で整える */
    background: #fff;
}

.faq-panel--open>.faq-panel__content {
    display: block;
}

.faq-red {
    color: red;
}

/* Q/Aリスト */
.faq-list {
    display: grid;
}

.faq-item {
    padding: 30px;
    border-bottom: 1px solid #333;
    background: #fbfcfd;
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-item__q {
    position: relative;
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.faq-item__q::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    border: 1px solid #cbcbcb;
}

.faq-item__a {
    font-size: 14px;
    color: #333;
    line-height: 1.9;
}

/* 閉じるボタン */
.faq-close {
    /* padding: 10px; */
    background: #f4f6f8;
    border-top: 1px solid #e9eef4;
}

.faq-close__btn {
    width: 100%;
    border: 0;
    padding: 10px 12px;
    /* border-radius: 6px; */
    background: #e6e6e6;
    font-weight: 700;
    cursor: pointer;
}

/* ホバー軽微 */
.faq-panel__toggle:hover {
    filter: brightness(0.98);
}

.faq-close__btn:hover {
    filter: brightness(0.98);
}





/*====================================================================








ここからレスポンシブ対応
タブレット









=====================================================================*/



@media (max-width: 980px) {


    /*====================================================================
service-common
=====================================================================*/

    .common-cta {
        max-width: 980px;
        margin: 22px auto 0;
        background: #a8dbff;
        border-radius: 8px;
        padding: 22px 24px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        /* 左 / 仕切り / 右 */
        align-items: center;
        gap: 18px;
    }

    .common-cta__item {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: #0e2a3b;
        /* background: rgba(255, 255, 255, .6); */
        border-radius: 12px;
        padding: 12px 16px;
        transition: transform .08s ease, opacity .15s ease;
    }

    .common-cta__item:hover {
        opacity: .9;
    }

    .common-cta__item:active {
        transform: translateY(1px);
    }

    .common-cta__icon {
        width: 64px;
        height: 40px;
        object-fit: contain;
    }

    .common-cta__label {
        font-weight: 700;
        line-height: 1.25;
    }

    .common-cta__label small {
        display: block;
        font-size: 11px;
        opacity: .75;
    }

    .common-cta__divider {
        width: 1px;
        height: 56px;
        background: rgba(0, 0, 0, .15);
        display: block;
        border-radius: 1px;
    }

    /* CTAは縦並び／仕切りは横線へ */
    .common-cta {
        grid-template-columns: 1fr;
        margin: 0 auto 0;
        border-radius: 0px;
        gap: 12px;
        padding: 18px 12px 22px;
    }

    .common-cta__item {
        justify-content: center;
    }

    .common-cta .common-cta__item:first-of-type {
        padding-right: 55px;
    }

    .common-cta__divider {
        width: 100%;
        height: 1px;
    }



    /*====================================================================
service
=====================================================================*/

    .service {
        margin-top: 50px;
    }

    .service-nav {
        background: none;
        padding: 0 20px;
        /* 画面端に当たらない余白 */
        width: 100%;
    }

    .service-nav__list {
        flex-direction: column;
        gap: 20px;
        max-width: 520px;
        /* 見やすい横幅に制限 */
        margin: 0 auto;
        width: 100%;
    }

    .service-nav__item {
        position: static;
    }

    /* 区切り線（｜）は非表示 */
    .service-nav__item::after {
        display: none !important;
        content: none !important;
    }

    /* 各リンクを青いピルに */
    .service-nav__link {
        display: block;
        background-color: #a8dbff;
        border-radius: 999px;
        text-align: center;
        padding: 14px 16px;
        font-size: 17px;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02) inset;
    }

    .service-nav__link:active {
        transform: translateY(1px);
    }



    /*====================================================================
flow
=====================================================================*/

    /* .flow-container {
        padding: 22px 16px 28px;
    }

    .flow-cards {
        flex-direction: column;
    }

    .flow-card+.flow-card::before {
        display: none;
    }

    .flow-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px 16px 24px;
    }

    .flow-cta__item {
        justify-content: center;
    } */

    .flow {
        width: 90%;
        margin: 0 auto;
        margin-top: 50px;
    }

    .flow-container {
        padding: 22px 12px 28px;
        border-width: 2px;
    }

    /* カードは縦積み */
    .flow-cards {
        flex-direction: column;
        gap: 18px;
        /* カード間に余白（下向き矢印分も考慮） */
        margin: 10px 0 6px;
    }

    /* PCの右向き矢印は消す */
    .flow-card+.flow-card::before {
        display: none;
    }

    /* 代わりに：各カードの“下向き”矢印 */
    .flow-card {
        padding: 14px 14px 18px;
    }

    .flow-card:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -15px;
        /* カードの外に少し出す */
        transform: translateX(-50%);
        border-style: solid;
        border-width: 10px 8px 0 8px;
        /* 下向き三角形 */
        border-color: #a8dbff transparent transparent transparent;
    }

    /* 下部CTAは縦に並べる */
    .flow-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px 12px 24px;
    }

    .flow-cta__item {
        justify-content: center;
    }


    /*====================================================================
cancel
=====================================================================*/


    /* ===== Base ===== */
    .cancel {
        width: 90%;
        margin: 0 auto;
        margin-top: 50px;
        /* background: #f7fbfe;
        padding: 34px 16px 0; */
        color: #222;
        font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto,
            "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    }

    .cancel-container {
        max-width: 980px;
        margin: 0 auto;
        background: #fff;
        border: 3px solid #cfe8f6;
        border-radius: 8px 8px 0 0;
        padding: 32px 36px 40px;
    }

    /* 見出し */
    .cancel-head {
        position: relative;
        text-align: center;
        font-size: 18px;
        letter-spacing: .12em;
        margin: 2px 0 28px;
    }

    .cancel-head__underline {
        display: block;
        width: 180px;
        height: 2px;
        background: #222;
        margin: 8px auto 0;
        opacity: .65;
    }

    /* ステップ */
    .cancel-step+.cancel-step {
        margin-top: 26px;
    }

    .cancel-step__head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
    }

    .cancel-num {
        width: 32px;
        height: 32px;
        border: 2px solid #222;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-weight: 700;
        line-height: 1;
        background: #fff;
    }

    .cancel-title {
        font-size: 18px;
        font-weight: 700;
    }

    .cancel-text {
        font-size: 14px;
        line-height: 1.9;
        margin: 0;
        color: #333;
    }

    /* ピンクボタン */
    .cancel-center {
        text-align: center;
        margin-top: 16px;
    }

    .cancel-button {
        display: inline-block;
        background: #ee7d90;
        /* ピンク */
        color: #fff;
        text-decoration: none;
        padding: 14px 28px;
        border-radius: 8px;
        font-weight: 700;
        letter-spacing: .02em;
        box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
        transition: transform .08s ease, opacity .15s ease;
    }

    .cancel-button:hover {
        opacity: .9;
    }

    .cancel-button:active {
        transform: translateY(1px);
    }

    /* .cancel-container {
        padding: 24px 16px 28px;
        border-width: 2px;
    } */

    .cancel-head {
        font-size: 17px;
        margin-bottom: 22px;
    }

    .cancel-head__underline {
        width: 140px;
    }

    .cancel-title {
        font-size: 17px;
    }

    .cancel-text {
        font-size: 13.5px;
    }

    .cancel-button {
        width: 100%;
        max-width: 420px;
    }


    /*====================================================================
emergency
=====================================================================*/

    .emergency {
        width: 90%;
        margin: 0 auto;
        margin-top: 50px;
    }


    .emergency-container {
        padding: 26px 18px;
    }

    .emergency-boxes {
        flex-direction: column;
        gap: 40px;
    }

    .emergency-boxes::before {
        display: none;
    }

    .emergency-box {
        border-right: none;
        padding-bottom: 40px;
    }

    .emergency-box:last-child {
        border-bottom: none;
    }


    /*====================================================================
faq
=====================================================================*/

    .faq {
        padding: 28px 12px 40px;
    }

    .faq-item {
        padding: 14px;
    }

    .faq-item__q {
        font-size: 15px;
    }

    .faq-item__a {
        font-size: 13.5px;
    }



}

/*====================================================================








ここからレスポンシブ対応
スマホ









=====================================================================*/



@media (max-width: 480px) {

    /*====================================================================
shop-list
=====================================================================*/


}