/* CTAボタン（footer / h1g1a1 / section-main-cta 共通） */
.cta-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background-color: #006EC5;
    padding: 60px 5%;
    text-align: center;
}

@media (max-width: 768px) {
    .cta-button {
        padding: 30px 5%;
    }
}

.cta-button__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.cta-button__lead {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    color: #fff;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: center;
}

.cta-button__lead::before,
.cta-button__lead::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -19px;
    display: block;
    flex-shrink: 0;
    width: 2px;
    height: 28px;
    background-color: #fff;
    transform: translateY(-50%) rotate(-30deg);
}

.cta-button__lead::before {
    left: auto;
    right: -19px;
    transform: translateY(-50%) rotate(30deg);
}

.cta-button__link-download {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 55px;
    background-color: #FF8000;
    box-shadow: 0 6px 0 #D36A00;
    border-radius: 12px;
    margin: 0 auto;
    overflow: visible;
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (hover: hover) and (pointer: fine) {
    .cta-button__link-download:hover {
        transform: translateY(6px);
        box-shadow: none;
    }
}

.cta-button__link-download:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 31px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    z-index: 2;
}

.cta-button__link-download::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #FF8000;
    z-index: 3;
}

.cta-button__link-download-sheen {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
}

.cta-button__link-download-sheen::before {
    position: absolute;
    content: '';
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-45deg);
    animation: cta_main_fst_shine 3s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite;
}

@keyframes cta_main_fst_shine {
    0% {
        left: -100%;
    }

    25% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-button__link-download-sheen::before {
        animation: none;
    }
}

.cta-button__link--content-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: -4px 0 0 40px;
}

.cta-button__link--content-wrap .span-top {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: "Inter", sans-serif;
    line-height: 1.56;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button__link--content-wrap .span-middle {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    font-family: "Inter", sans-serif;
    line-height: 0.875;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button__link--content-wrap .span-bottom {
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    color: #FF8000;
    font-family: "Inter", sans-serif;
    line-height: normal;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    background-color: #fff;
    padding: 3px 12px;
    border-radius: 30px;
    margin: 0 auto;
}

.cta-button__link--image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 242px;
    aspect-ratio: 242 / 156;
    margin: -4px 0 0;
}

.cta-button__link--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-button__link-online {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    font-family: "Inter", sans-serif;
    line-height: 1.87;
    letter-spacing: -0.44px;
    text-align: center;
    padding: 0 27px 0 0;
    margin: 11px 0 0;
    transition: all 0.3s;
}

@media (hover: hover) and (pointer: fine) {
    .cta-button__link-online:hover {
        opacity: 0.8;
    }
}

.cta-button__link-online::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-image: url("../img/arrow-white.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-button__simulation-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 8px;
}

.cta-button__simulation-item {
    width: 100%;
    max-width: 356px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.cta-button__simulation-content {
    display: flex;
    flex-direction: column;
}

.cta-button__simulation-content span {
    font-size: 20px;
    font-weight: 600;
    color: #292E32;
    font-family: "Hiragino Sans", sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
}

.cta-button__simulation-content p {
    font-size: 15px;
    font-weight: 400;
    color: #292E32;
    font-family: "Hiragino Sans", sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
}

.cta-button__simulation-link {
    width: 100%;
    max-width: 210px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: "Inter", sans-serif;
    line-height: 1.31;
    letter-spacing: 0;
    text-align: center;
    background-color: #006EC5;
    border-radius: 34px;
    padding: 14px 0;
    transition: all 0.3s;
}

@media (hover: hover) and (pointer: fine) {
    .cta-button__simulation-link:hover {
        opacity: 0.8;
    }
}

@media (max-width: 780px) {
    .cta-button__link-download {
        height: 16.67vw;
        padding: 3vw 6vw 3vw 1vw;
        gap: 2vw;
        border-radius: 1.54vw;
        box-shadow: 0 0.77vw 0 #005293;
    }

    @media (hover: hover) and (pointer: fine) {
        .cta-button__link-download:hover {
            transform: translateY(0.77vw);
        }
    }

    .cta-button__link-download::before {
        right: 2.56vw;
        width: 3.08vw;
        height: 3.08vw;
    }

    .cta-button__link-download::after {
        right: 3.33vw;
        border-top-width: 0.77vw;
        border-bottom-width: 0.77vw;
        border-left-width: 1.03vw;
    }

    .cta-button__link--content-wrap {
        margin: 0 0 0 2vw;
        gap: 1vw;
    }

    .cta-button__link--content-wrap .span-top {
        font-size: 2.31vw;
    }

    .cta-button__link--content-wrap .span-middle {
        font-size: 4vw;
        line-height: 1.1;
    }

    .cta-button__link--content-wrap .span-bottom {
        font-size: 1.54vw;
        padding: 0.38vw 1.54vw;
        border-radius: 3.85vw;
    }

    .cta-button__link--image {
        max-width: 24vw;
    }

    .cta-button__simulation-wrap {
        gap: 1.56vw 1.04vw;
    }

    .cta-button__simulation-item {
        max-width: 44.35vw;
        gap: 2.6vw;
        border-radius: 1.3vw;
        padding: 2.6vw;
    }

    .cta-button__simulation-content span {
        font-size: clamp(12px, 2.6vw, 20px);
    }

    .cta-button__simulation-content p {
        font-size: clamp(10px, 1.95vw, 15px);
    }

    .cta-button__simulation-link {
        max-width: 27.34vw;
        font-size: 2.08vw;
        border-radius: 4.43vw;
        padding: 1.82vw 0;
    }
}

@media (max-width: 600px) {

    .cta-button__lead,
    .cta-button__link-online {
        font-size: 14px;
    }

    .cta-button__lead::before,
    .cta-button__lead::after {
        height: 21px;
    }
}

@media (max-width: 375px) {

    .cta-button__lead,
    .cta-button__link-online {
        font-size: 13px;
    }

    .cta-button__lead::before,
    .cta-button__lead::after {
        height: 19px;
    }

    .cta-button__simulation-wrap {
        gap: 2.5vw 1.04vw;
    }

    .cta-button__simulation-item {
        max-width: 100%;
        gap: 5.33vw;
        border-radius: 2.67vw;
        padding: 5.33vw;
    }

    .cta-button__simulation-content span {
        font-size: clamp(12px, 4vw, 20px);
    }

    .cta-button__simulation-content span br {
        display: none;
    }

    .cta-button__simulation-content p {
        font-size: clamp(10px, 3vw, 15px);
    }

    .cta-button__simulation-content p br {
        display: none;
    }

    .cta-button__simulation-link {
        max-width: 56vw;
        font-size: 3.5vw;
        border-radius: 9.07vw;
        padding: 3vw 0;
    }
}
