:root {
    --main-color: #007AC1;
    --light-color: #ECF8FF;
    --main-color-text: #006EA8;
    --pink-color: #DA719B;
    --green-color: #64B160;
    --orange-color: #DD7B35;
    --accent-color: #FB8938;
    --font-size-base: 16px;
}

* {
    word-break: auto-phrase;

}






.button {
    background-color: var(--main-color);
    font-size: var(--font-size-base);
}


.kv-area {
    background-image: url(/img/bg.png);
    padding: 4em 1em;
}

header {
    z-index: 100;
}





.title-layout:after {

    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--main-color);
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
}


button.btn-inline {
    padding: 0;
    border: none;
    background-color: transparent;
}

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

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

.period-text {
    font-size: 1.2em;
    margin-left: .5em;
    margin-right: .5em;
}

.period-title {
    border-radius: 100%;
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
    width: 4em;
    height: 4em;
    display: flex;
    align-items: center;
    line-height: 1.2;
    justify-content: center;
}



.scroll-container-wrapper {
    position: relative;
}

.scroll-container {
    display: flex;
    gap: 3em;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 1rem;
    /* mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); */
    /* -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); */
}

.benefit-item {
    display: inline-block;
    /* width: 250px; */
    /* margin-right: 1rem; */
    vertical-align: top;
}

.benefit-title {
    border-bottom: 2px solid #007bff;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.2em;
    text-indent: -2.75em;
    padding-left: 2.75em;
}

.benefit-image {
    width: 100%;
    /* height: 150px; */
    /* background: #ddd; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 14px;
}

/* スクロールアイコン演出 */
.scroll-hint-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.3);
    animation: blink 1.2s infinite;
    pointer-events: none;
}

.scroll-hint-icon.left {
    left: 0;
    transform: translateX(-100%);
}

.scroll-hint-icon.right {
    right: 0;
    transform: translateX(100%);

}

.scroll-hint-icon.left,
.scroll-hint-icon.right {
    display: none;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }
}

/* レスポンシブ時は通常の並びへ */
@media (min-width: 768px) {
    .scroll-container {
        overflow-x: visible;
        white-space: normal;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .benefit-item {
        /* width: 300px; */
    }

    .scroll-hint-icon {
        display: none;
    }
}

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

.green {
    color: var(--green-color);
    border-color: var(--green-color);
}

.orange {
    color: var(--orange-color);
    border-color: var(--orange-color);
}


.benefit-list-group {
    position: relative;
    padding: 3em 3em 1.5em;
    border: var(--main-color) solid 2px;
    border-radius: 8px;
}

.benefit-list-group .select-title {
    position: absolute;
    top: 0;
    left: 50%;
    /* right: 50%; */
    transform: translate(-50%, -50%);
    z-index: 100;
    background: #fff;
    padding: 0 1em;
    display: block;
    width: fit-content;
    font-size: 1.4em;
    color: var(--main-color-text);
    text-align: center;
}


@media screen and (max-width: 768px) {
    .scroll-container * {
        white-space: normal;
    }

    .scroll-container {
        flex-direction: column;
    }

    .scroll-container .benefit-image img {
        width: 200px;
    }


    .scroll-container {
        gap: 1.5em;
    }

    .benefit-list-group {
        padding: 3em 1.5em 1.5em;
    }

    .benefit-list-group .select-title {
        font-size: 1.2em;
    }

    .benefit-item {
        min-width: 240px;
    }

}

.plus-icon {
    text-align: center;
}

.plus-icon svg {
    width: 3em;
    color: var(--main-color-text);
    fill: var(--main-color);
    text-align: center;
    margin: 0 auto;
}

.title-style-04 {
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 8px;
    width: fit-content;
    min-width: 240px;
    text-align: center;
}

.title-style-04.pink {
    background-color: var(--pink-color);

}

.title-style-04.green {
    background-color: var(--green-color);

}

.title-style-04.orange {
    background-color: var(--orange-color);

}

.modal {
    z-index: 10000000;
}

.benefit-modal a {
    text-decoration: none;
}

.bg-primary {
    background-color: var(--light-color);
}


.text-primary {
    color: var(--main-color-text) !important;
}


.step-list {
    width: fit-content;
    margin: 0 auto;
}

.step-list h6.text-primary {
    font-size: 1.2em;
}

.step-circle {
    width: 3em;
    height: 3em;
    background-color: var(--main-color-text);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 18px;
}


.step-list>div {
    position: relative;
}

.step-list>div:not(:last-child):before {
    content: "";
    width: 2px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 26px;
    background-color: var(--main-color-text);
    z-index: -1;
}

.accordion-button {
    background-color: #f8f9fa;
    font-weight: bold;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
}

.q-badge {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1rem;
    background: linear-gradient(to bottom right, #5DBDF5, #0090E3);
}

.border-start {
    border-color: var(--main-color) !important;
}








.footer-section {
    background-color: #f0f0f0;
    font-family: "Helvetica Neue", sans-serif;
}

.footer-top {
    background-color: #e5e5e5;
}

.footer-link {
    color: #333;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #333;
}

.long-holder-benefit {
    border: 2px solid #0073c6;
    border-radius: 6px;
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.long-holder-header {
    background: var(--main-color);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
}

.long-holder-body {
    background-color: #ffffff;
    font-size: 0.95rem;
    padding: 1.25rem 1rem;
}




.long-holder-text {
    color: #e60000;
    font-weight: 600;
    line-height: 1.6;
}




[data-bs-toggle] {
    cursor: pointer;
    transition: .25s;
}

[data-bs-toggle]:hover {

    opacity: 0.8;
}

header {
    position: relative;
}

header .text-end {
    max-width: 460px;
}





.fixed-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    padding: 0.6rem;
    z-index: 999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.fixed-action-bar .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    height: 50px;
}

.action-btn img {
    height: 100%;
}

.fixed-action-bar .phone-btn {
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.2rem;
}

.fixed-action-bar .apply-btn {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.95rem;
}

header .apply-btn {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.95rem;
    border-radius: 100px;
    text-decoration: none;
    padding: .5em 1em;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 240px;
}

.fixed-action-bar i.bi {
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .fixed-action-bar {
        /* flex-direction: column; */
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }


    .fixed-action-bar .action-btn {
        width: 50px;
    }

    .fixed-action-bar .apply-btn {
        width: 220px;
    }

    .fixed-action-bar .stock-chenge-btn {
        width: 100%;
    }
}

.modal-body img {
    width: 80%;
    /* min-width: 200px; */
}

.modal-title {
    text-indent: -2.75em;

    padding-left: 2.75em;
}

.btn-orange {
    background-color: #ff914d;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    transition: background-color 0.2s ease;
}

.btn-orange:hover {
    background-color: #ff7a26;
    color: #fff;
    opacity: 0.8;
}


.modal-body .text-center img {
    max-width: 240px;
}



html .for-500,
html .for-1000,
html .for-1500 {
    display: none !important;
}

html body.stock-500 .for-500 {
    display: block !important;
}

html body.stock-1000 .for-1000 {
    display: block !important;
}

html body.stock-1500 .for-1500 {
    display: block !important;
}