:root {
    --navy: #071a2f;
    --navy-light: #102b49;
    --gold: #c9a45c;
    --white: #ffffff;
    --text: #263344;
    --muted: #687586;
    --surface: #f4f6f8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5.5%;
    color: var(--white);
    border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.site-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    font-size: 0.78rem;
}

.site-nav a {
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--gold);
}

.team-hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgb(4 18 34 / 88%) 0%, rgb(4 18 34 / 62%) 48%, rgb(4 18 34 / 18%) 100%),
        url("hero-background.jpg") center 0% / cover no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(4 18 34 / 24%), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(680px, 90%);
    margin: 72px 0 0 9%;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.hero-copy {
    max-width: 540px;
    margin: 22px 0 30px;
    color: rgb(255 255 255 / 90%);
    font-size: 0.98rem;
}

.hero-button {
    display: inline-flex;
    min-width: 200px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--navy);
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-button:hover {
    color: var(--white);
    background: var(--gold);
}

.support-section {
    padding: 100px 7% 110px;
    background: var(--surface);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading .eyebrow {
    margin-bottom: 8px;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.5;
}

.section-heading>p:last-child {
    margin: 14px 0 0;
    color: var(--muted);
}

.support-grid {
    display: grid;
    max-width: 1180px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 auto;
}

.support-card {
    position: relative;
    min-height: 250px;
    padding: 30px 26px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 12px 32px rgb(7 26 47 / 6%);
}

.card-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgb(7 26 47 / 12%);
    font-size: 2.1rem;
    font-weight: 700;
}

.card-label {
    margin: 0 0 12px;
    color: #9a7838;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.support-card h3 {
    max-width: 300px;
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 1.15rem;
    line-height: 1.6;
}

.support-card>p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.support-card-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--white);
    background: var(--navy);
}

.support-card-cta .card-label,
.support-card-cta h3 {
    color: var(--white);
}

.support-card-cta a {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 14px;
    padding: 10px 0;
    color: var(--white);
    border-bottom: 1px solid var(--gold);
    font-size: 0.9rem;
}

.team-message {
    padding: 82px 20px;
    color: var(--white);
    background: var(--navy-light);
    text-align: center;
}

.team-message p {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.team-message h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.site-footer {
    padding: 24px;
    color: rgb(255 255 255 / 75%);
    background: #061322;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 800px) {
    .site-header {
        position: relative;
        flex-direction: column;
        gap: 10px;
        padding: 16px 5%;
        color: var(--navy);
        background: var(--white);
        border-bottom: 1px solid #e5e9ee;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 18px;
        font-size: 0.72rem;
    }

    .team-hero {
        background-position: 58% center;
    }

    .hero-content {
        margin: 0 auto;
    }

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

@media (max-width: 560px) {
    .team-hero {
        min-height: 620px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero-copy {
        font-size: 0.9rem;
    }

    .support-section {
        padding: 72px 5%;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        min-height: 220px;
    }
}

/* ヘッダーロゴ */
.site-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-logo img {
    display: block;
    width: 135px;
    height: auto;
    filter: drop-shadow(0 0 8px rgb(255 255 255 / 45%));
}

/* ヘッダー内の余白を調整 */
.site-header {
    gap: 24px;
}

/* メイン見出しを小さく */
.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.45;
}

.hero-copy {
    max-width: 480px;
    font-size: 0.9rem;
    line-height: 1.9;
}

/* teamページ：ヘッダーロゴの白い光を強める */
.site-logo img {
    filter:
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 22px rgba(255, 255, 255, 0.45));
}

/* teamページ：ヘッダーを黒い帯にする */
@media (min-width: 801px) {
    .site-header {
        min-height: 64px;
        padding: 8px 5.5%;
        background: rgb(0 0 0 / 72%);
        border-bottom: 1px solid rgb(255 255 255 / 15%);
    }
}

@media (min-width: 801px) {
    .site-logo img {
        width: 90px;
    }
}

/* ヒーローの文字をcompanyページのように左揃え */
.hero-content {
    width: min(680px, 90%);
    margin: 0 0 0 9%;
    text-align: left;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-copy {
    text-align: left;
}

/* teamページ：スマホヘッダーを横並びにする */
@media (max-width: 560px) {
    .site-header {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 64px;
        padding: 8px 10px;
        color: var(--navy);
        background: var(--white);
    }

    .site-logo {
        flex: 0 0 58px;
    }

    .site-logo img {
        width: 58px;
    }

    .site-nav {
        display: grid;
        flex: 1;
        grid-template-columns: repeat(3, max-content);
        justify-content: end;
        align-items: center;
        gap: 4px 7px;
        font-size: 9px;
        line-height: 1.4;
    }

    .site-nav a {
        white-space: nowrap;
    }

    .team-hero {
        min-height: 620px;
    }

    .hero-content {
        width: 90%;
        margin: 0 auto;
    }
}