@charset "UTF-8";
/* CSS Document */

.footer-cta {
    position: relative;
    overflow: hidden;
    background: #0068B7;
}

.footer-cta__inner {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 80px));
    margin: 0 auto;
    padding: 72px 0;
}

.footer-cta__content {
    max-width: 64rem;
}

.footer-cta__title {
    margin: 0;
    color: #fff;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.04em;
}

.footer-cta__title span {
    white-space: nowrap;
}

.footer-cta__lead {
    margin: 20px 0 0;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.footer-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28rem;
    margin-top: 32px;
    padding: 1.8rem 4rem;
    background: var(--header-cta);
    border-bottom: 6px solid #9b000c;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;
}

.footer-cta__button--ended {
    background: #c8c8c8;
    border-bottom-color: #8e8e8e;
    cursor: default;
}

.footer-cta__note {
    margin: 16px 0 0;
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.03em;
}

.footer-cta picture {
    display: contents;
}

.footer-cta__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    display: block;
    width: 58%;
    max-width: 870px; /* 1500px × 58% */
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
}

.site-footer {
    background: #111;
    color: #fff;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(1100px, calc(100% - 80px));
    margin: 0 auto;
    padding: 20px 0;
}

.site-footer__logo {
    display: block;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.site-footer__text {
    min-width: 0;
}

.site-footer__text p {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.site-footer__text a {
    color: #fff;
    text-decoration: none;
}

.page-top {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    box-sizing: border-box;
    width: 76px;
    height: 76px;
    padding: 12px 6px 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--header-cta);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.page-top__caret {
    display: block;
    width: 12px;
    height: 12px;
    margin: 2px auto 6px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(45deg);
}

@media screen and (max-width: 1100px) {
    .footer-cta__inner,
    .site-footer__inner {
        width: min(1100px, calc(100% - 48px));
    }

    .footer-cta__inner {
        padding: 56px 0;
    }

    .footer-cta__title {
        font-size: 2.8rem;
    }

    .footer-cta__title span {
        white-space: normal;
    }

    .footer-cta__lead {
        font-size: 1.5rem;
    }

    .footer-cta__content {
        max-width: min(50rem, calc(48% - 24px));
    }

    .footer-cta__visual {
        width: 52%;
    }

    .site-footer__logo {
        width: 72px;
        height: 72px;
    }

    .site-footer__text p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 790px) {
    .footer-cta__inner,
    .site-footer__inner {
        width: calc(100% - 32px);
    }

    .footer-cta__inner {
        margin: 0 auto;
        padding: 48px 0 0;
    }

    .footer-cta__content {
        max-width: none;
        padding-right: 0;
    }

    .footer-cta__title {
        font-size: clamp(2rem, 6vw, 2.4rem);
    }

    .footer-cta__lead {
        font-size: 1.4rem;
        line-height: 1.8;
    }

    .footer-cta__button {
        width: 100%;
        min-width: 0;
        margin-top: 28px;
        font-size: 1.6rem;
    }

    .footer-cta__visual {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        margin-top: 16px;
        object-fit: contain;
        object-position: center bottom;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 0;
    }

    .site-footer__logo {
        width: 110px;
        height: 110px;
    }

    .site-footer__text p {
        font-size: 1.2rem;
        line-height: 1.7;
        word-break: break-word;
    }

    .page-top {
        right: 16px;
        bottom: 16px;
        width: 64px;
        height: 64px;
        padding: 10px 4px 8px;
        font-size: 0.9rem;
    }

    .page-top__caret {
        width: 10px;
        height: 10px;
        margin-bottom: 4px;
    }
}
