/* ================= サブページ共通 ================= */
:root {
    --top-height: 400px;
    --color-sub-thin-d: #C1E8EA;
}

/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    padding-top: 180px;
    overflow: hidden;
    z-index: -10;
}
.top_heading_wrap {
    position: relative;
    z-index: -5;
    transition: opacity 0.3s ease;
}
.top_heading_wrap.is_hidden {
    opacity: 0;
    pointer-events: none;
}
.top_heading,
.top_lead {
    transition: opacity 0.3s ease;
}
.top_heading {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}
.top_lead {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--color-white);
}
.top_lead br {
    display: none;
}
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--top-height);
    background-color: var(--color-primary-green);
    z-index: -20;
}
header::after {
    content: "";
    position: absolute;
    left: 0;
    top: var(--top-height);
    width: 100%;
    height: var(--top-height);
    background-image: url("img/works_top_bg.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 102% auto;
    z-index: -20;
}
@media (max-width: 1180px) {
    .top_heading {
        font-size: 1.9rem;
    }
    .top_lead {
        font-size: 1rem;
    }
}
@media (max-width: 780px) {
    .top_heading {
        font-size: 1.8rem;
    }
}
@media (max-width: 680px) {
    .top_lead {
        line-height: 1.4;
    }
    .top_lead br {
        display: block;
    }
}

/* フッター上グラデーション */
.footer_fade {
    height: 320px;
    margin-top: -150px;
}