.home-hero {
    position: relative;
    min-height: 84svh;
    margin-top: -78px;
    padding-top: 78px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(251, 250, 247, 0.82), rgba(251, 250, 247, 0.62)),
        url("/背景.png");
    background-size: cover;
    background-position: center;
}

.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    min-height: calc(84svh - 78px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    justify-items: center;
    padding: 88px 0 110px;
    text-align: center;
}

.home-hero__copy {
    max-width: 880px;
    margin: 0 auto;
}

.home-hero h1 {
    margin: 0 0 22px;
    color: var(--ink) !important;
    font-size: clamp(44px, 5.6vw, 76px);
    line-height: 1.06;
    font-weight: 1000;
    letter-spacing: 0;
    filter: none;
}

.home-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted-strong);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.9;
    font-weight: 700;
    text-shadow: none;
}

.home-hero .home-hero__notice {
    max-width: 720px;
    margin: 20px auto 0;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.78;
    font-weight: 700;
}

.home-hero__actions {
    justify-content: center;
    margin-top: 30px;
}

.home-hero__visual {
    width: min(840px, 100%);
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.home-hero__visual h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.25;
}

.home-hero__visual p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
}

.home-hero__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.home-hero__metric {
    min-height: 92px;
    padding: 15px;
    display: grid;
    align-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: inherit;
    text-align: center;
}

.home-hero__metric b {
    color: var(--accent-strong);
    font-size: 22px;
    line-height: 1;
}

.home-hero__metric span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.home-section {
    padding: 92px 0 0;
}

.home-section--soft {
    margin-top: 92px;
    padding: 86px 0;
    background: rgba(255, 255, 255, 0.58);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-section--last {
    padding-bottom: 12px;
}

.home-section__head {
    max-width: 860px;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.home-section__head span,
.home-contact span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.home-section__head h2,
.home-contact h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.16;
    font-weight: 1000;
}

.home-section__head p,
.home-contact p {
    margin: 0;
    max-width: 740px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.home-card-grid {
    display: grid;
    gap: 18px;
}

.home-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-card,
.home-process-card,
.home-contact {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.home-card {
    min-height: 210px;
    padding: 24px;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 12px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.home-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.28;
    font-weight: 900;
}

.home-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-process-card {
    min-height: 210px;
    padding: 24px;
    display: grid;
    justify-items: center;
    align-content: start;
}

.home-process-card b {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--accent-strong);
    font-size: 26px;
    line-height: 1;
}

.home-process-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.28;
    font-weight: 900;
}

.home-process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.86;
}

.home-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    justify-items: center;
    padding: 32px;
}

.home-contact .btn-row {
    justify-content: center;
    min-width: 0;
}

@media (max-width: 1080px) {
    .home-hero__inner,
    .home-contact {
        grid-template-columns: 1fr;
    }

    .home-card-grid--four,
    .home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-card-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {
    .home-hero {
        min-height: auto;
        margin-top: -68px;
        padding-top: 68px;
        background-position: 62% center;
    }

    .home-hero__inner {
        min-height: auto;
        padding: 58px 0 88px;
    }

    .home-hero h1 {
        font-size: 38px;
        line-height: 1.12;
    }

    .home-hero__metrics,
    .home-card-grid--four,
    .home-card-grid--three,
    .home-process-grid {
        grid-template-columns: 1fr;
    }

    .home-section,
    .home-section--soft {
        padding-top: 64px;
    }

    .home-section--soft {
        margin-top: 64px;
        padding-bottom: 64px;
    }

    .home-card,
    .home-process-card,
    .home-contact,
    .home-hero__visual {
        padding: 22px;
    }
}
