/* =========================================================
   Footer guide pages
   中文注释：企业向けご案内、SE向けご案内等页脚说明页面的共通样式。
   仅使用 foot-guide- 前缀，避免影响其他页面。
   ========================================================= */

.foot-guide-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 78px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 183, 3, .25), transparent 27%),
        radial-gradient(circle at 8% 88%, rgba(96, 165, 250, .16), transparent 24%),
        linear-gradient(135deg, #fffaf0, #f8fbff);
}

.foot-guide-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -165px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 62px solid rgba(255, 183, 3, .08);
    pointer-events: none;
}

.foot-guide-hero h1 {
    margin: 20px 0 16px;
    color: #0f172a;
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -.045em;
}

.foot-guide-lead {
    max-width: 760px;
    margin: 0;
    color: #526075;
    font-size: 1.12rem;
    line-height: 1.95;
}

.foot-guide-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 31px;
}

.foot-guide-hero-actions .btn {
    min-width: 190px;
    border-radius: 999px;
    font-weight: 900;
}

.foot-guide-visual {
    position: relative;
    z-index: 1;
    min-height: 340px;
    padding: 38px;
    overflow: hidden;
    background: rgba(255, 255, 255, .94);
}

.foot-guide-visual::after {
    content: "";
    position: absolute;
    right: -65px;
    top: -65px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 183, 3, .25), transparent 66%);
}

.foot-guide-sun {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, #ffca28, #fb8500);
    box-shadow: 0 20px 44px rgba(251, 133, 0, .3);
    font-size: 2rem;
    transform: rotate(-5deg);
}

.foot-guide-visual-kicker {
    display: block;
    margin-top: 25px;
    color: #ea580c;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.foot-guide-visual h2 {
    max-width: 420px;
    margin: 8px 0 21px;
    color: #0f172a;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.45;
}

.foot-guide-visual-list {
    display: grid;
    gap: 10px;
}

.foot-guide-visual-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #475569;
    font-size: .88rem;
    font-weight: 800;
}

.foot-guide-visual-list i {
    color: #10b981;
}

.foot-guide-section {
    padding: 78px 0;
}

.foot-guide-soft-section {
    background: linear-gradient(180deg, #f8fafc, #fffaf2);
    border-top: 1px solid rgba(15, 23, 42, .05);
    border-bottom: 1px solid rgba(15, 23, 42, .05);
}

.foot-guide-heading {
    margin-bottom: 32px;
}

.foot-guide-heading.text-center {
    max-width: 760px;
    margin-right: auto;
    margin-bottom: 38px;
    margin-left: auto;
}

.foot-guide-heading h2,
.foot-guide-info-card h2,
.foot-guide-contact h2,
.foot-guide-privacy h2,
.foot-guide-support-strip h2 {
    margin: 13px 0 10px;
    color: #0f172a;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 900;
}

.foot-guide-heading p,
.foot-guide-contact p,
.foot-guide-privacy p,
.foot-guide-support-strip p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}

.foot-guide-feature {
    padding: 27px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.foot-guide-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 133, 0, .24);
    box-shadow: 0 27px 75px rgba(15, 23, 42, .11);
}

.foot-guide-feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    color: #ea580c;
    background: #fff7ed;
    font-size: 1.25rem;
}

.foot-guide-feature h3 {
    margin: 20px 0 10px;
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 900;
}

.foot-guide-feature p {
    margin: 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.8;
}

.foot-guide-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px;
}

.foot-guide-steps::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 32px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb703, #fb8500);
    opacity: .25;
}

.foot-guide-step {
    position: relative;
    z-index: 1;
    padding: 0 5px;
}

.foot-guide-step-number {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 7px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #ffb703, #fb8500);
    box-shadow: 0 13px 28px rgba(251, 133, 0, .24);
    font-size: .83rem;
    font-weight: 900;
}

.foot-guide-step h3 {
    margin: 20px 0 8px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

.foot-guide-step p {
    margin: 0;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.75;
}

.foot-guide-info-card,
.foot-guide-contact,
.foot-guide-privacy {
    padding: 36px;
}

.foot-guide-point-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.foot-guide-point-list > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    padding: 17px;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 17px;
    background: #f8fafc;
}

.foot-guide-point-list i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ea580c;
    background: #fff7ed;
}

.foot-guide-point-list span {
    color: #64748b;
    font-size: .86rem;
    line-height: 1.7;
}

.foot-guide-point-list strong {
    display: block;
    margin-bottom: 3px;
    color: #0f172a;
    font-size: .94rem;
}

.foot-guide-contact,
.foot-guide-privacy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #fffdf8, #fff);
}

.foot-guide-contact-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    color: #fff;
    background: linear-gradient(135deg, #ffb703, #fb8500);
    box-shadow: 0 15px 33px rgba(251, 133, 0, .25);
    font-size: 1.35rem;
}

.foot-guide-contact .btn {
    margin-top: 24px;
}

.foot-guide-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    color: #c2410c;
    font-size: .84rem;
    font-weight: 900;
    text-decoration: none;
}

.foot-guide-text-link:hover {
    color: #9a3412;
    text-decoration: underline;
}

.foot-guide-support-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(255, 247, 237, .95));
}

.foot-guide-support-actions,
.foot-guide-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    flex: 0 0 auto;
}

.foot-guide-support-actions .btn {
    min-width: 150px;
    border-radius: 999px;
    font-weight: 900;
}

.foot-guide-final-cta {
    padding: 20px 0 80px;
}

.foot-guide-final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 47px 50px;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .18), transparent 23%),
        linear-gradient(135deg, #f59e0b, #f97316 54%, #ea580c);
    box-shadow: 0 30px 75px rgba(234, 88, 12, .26);
}

.foot-guide-final-kicker {
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .14em;
    opacity: .82;
}

.foot-guide-final-card h2 {
    margin: 8px 0 7px;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    font-weight: 900;
}

.foot-guide-final-card p {
    margin: 0;
    opacity: .88;
}

.foot-guide-final-actions .btn {
    min-width: 175px;
    border-radius: 999px;
    font-weight: 900;
}

@media (max-width: 1199px) {
    .foot-guide-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 30px;
    }

    .foot-guide-steps::before {
        display: none;
    }
}

@media (max-width: 991px) {
    .foot-guide-hero {
        padding: 64px 0;
    }

    .foot-guide-visual {
        min-height: 0;
    }

    .foot-guide-final-card,
    .foot-guide-support-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .foot-guide-hero {
        padding: 48px 0 54px;
    }

    .foot-guide-lead {
        font-size: 1rem;
    }

    .foot-guide-hero-actions,
    .foot-guide-support-actions,
    .foot-guide-final-actions {
        width: 100%;
        flex-direction: column;
    }

    .foot-guide-hero-actions .btn,
    .foot-guide-support-actions .btn,
    .foot-guide-final-actions .btn {
        width: 100%;
    }

    .foot-guide-section {
        padding: 58px 0;
    }

    .foot-guide-steps {
        grid-template-columns: 1fr;
    }

    .foot-guide-step {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 15px;
        padding: 0;
    }

    .foot-guide-step h3 {
        margin-top: 5px;
    }

    .foot-guide-step-number {
        width: 54px;
        height: 54px;
        border-width: 5px;
    }

    .foot-guide-info-card,
    .foot-guide-contact,
    .foot-guide-privacy,
    .foot-guide-visual {
        padding: 25px;
    }

    .foot-guide-final-card {
        padding: 34px 25px;
        border-radius: 25px;
    }

    .foot-guide-support-strip {
        padding: 27px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .foot-guide-feature {
        transition: none;
    }
}
