:root {
    --bg: #ffffff;
    --surface: #f7f5f1;
    --surface-strong: #ece6dd;
    --text: #2f2a24;
    --muted: #746b5f;
    --line: #ddd3c7;
    --accent: #8f6d46;
    --accent-dark: #614728;
    --footer: #1f1a15;
    --max-width: 1120px;
    --shadow: 0 20px 45px rgba(45, 33, 18, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(221, 211, 199, 0.8);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mark {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    cursor: pointer;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-link,
.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.94rem;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-button:hover,
.nav-link.is-active {
    background: var(--surface);
    color: var(--accent-dark);
}

.nav-dropdown {
    position: relative;
}

.nav-button {
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-submenu {
    list-style: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    margin: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
    display: block;
}

.nav-submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
}

.nav-submenu a:hover {
    background: var(--surface);
}

.hero {
    position: relative;
    padding: 120px 0 110px;
    color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(130deg, rgba(16, 12, 8, 0.82), rgba(16, 12, 8, 0.38)),
        radial-gradient(circle at top right, rgba(173, 141, 89, 0.36), transparent 38%);
}

.hero .container {
    position: relative;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 18px;
    max-width: 780px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.15;
}

.hero p {
    max-width: 700px;
    margin: 0 0 28px;
    font-size: 1.04rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-chip {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.94rem;
}

.section {
    padding: 88px 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}

.section-title {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    line-height: 1.2;
}

.section-lead {
    max-width: 760px;
    margin: 0 0 36px;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 34px;
    align-items: center;
}

.panel,
.info-card,
.service-card,
.news-card,
.job-card,
.contact-card,
.policy-card,
.empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.site-header.home-header {
    background: #0f6634;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.home-header .brand-mark,
.site-header.home-header .brand-name,
.site-header.home-header .nav-link,
.site-header.home-header .nav-button {
    color: #f6f6ef;
}

.site-header.home-header .nav-link:hover,
.site-header.home-header .nav-button:hover,
.site-header.home-header .nav-link.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.site-header.home-header .nav-submenu {
    background: rgba(13, 85, 43, 0.98);
    border-color: rgba(255, 255, 255, 0.12);
}

.site-header.home-header .nav-submenu a {
    color: #f6f6ef;
}

.site-header.home-header .nav-submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.site-header.home-header .menu-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.intro-hero {
    position: relative;
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 0;
    color: #ffffff;
    background-image:
        linear-gradient(rgba(10, 12, 8, 0.34), rgba(10, 12, 8, 0.46)),
        url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.intro-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 48%);
}

.intro-hero .container {
    position: relative;
    display: flex;
    justify-content: center;
}

.intro-hero-panel {
    width: min(100%, 960px);
    padding: 34px 36px;
    text-align: center;
    background: rgba(42, 47, 39, 0.42);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.intro-hero-kicker {
    margin: 0 0 10px;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.95);
}

.intro-hero-title {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.45rem);
    line-height: 1.18;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.intro-hero-subtitle {
    margin: 16px 0 0;
    font-size: clamp(1.15rem, 2.2vw, 1.9rem);
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.panel {
    padding: 34px;
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.stats-grid,
.cards-grid,
.jobs-grid,
.news-grid {
    display: grid;
    gap: 22px;
}

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

.stat-card {
    padding: 22px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid #efe7dc;
}

.stat-value {
    display: block;
    margin-bottom: 6px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-dark);
}

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

.service-card {
    overflow: hidden;
}

.service-card img {
    height: 240px;
    object-fit: cover;
}

.service-card-body {
    padding: 24px;
}

.service-card h3,
.job-card h3,
.news-card h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
}

.service-card p,
.news-card p,
.job-card p,
.policy-card p,
.empty-card p {
    margin: 0;
    color: var(--muted);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease;
}

.button:hover,
.button-secondary:hover {
    transform: translateY(-1px);
}

.button {
    background: var(--accent);
    color: #fff;
}

.button:hover {
    background: var(--accent-dark);
}

.button-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.button-secondary:hover {
    background: var(--surface);
}

.table-card {
    overflow: hidden;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table th {
    width: 220px;
    background: var(--surface);
    text-align: left;
}

.service-detail-grid {
    display: grid;
    gap: 22px;
}

.service-detail {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: stretch;
    padding: 18px;
}

.service-detail img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 22px;
}

.service-detail-body {
    padding: 12px 6px;
}

.service-detail-body ul {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

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

.news-card,
.job-card,
.contact-card,
.policy-card,
.empty-card {
    padding: 26px;
}

.news-meta,
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--accent-dark);
    font-size: 0.92rem;
}

.empty-card {
    text-align: center;
    padding: 42px 26px;
    background: linear-gradient(180deg, #fff, var(--surface));
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 24px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.contact-list li + li {
    margin-top: 12px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.policy-stack {
    display: grid;
    gap: 18px;
}

.policy-card h2 {
    margin: 0 0 14px;
    font-size: 1.24rem;
}

.site-footer {
    margin-top: auto;
    background: var(--footer);
    color: rgba(255, 255, 255, 0.88);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-brand h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: none;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
    }

    .site-header.home-header .site-nav {
        background: rgba(15, 102, 52, 0.98);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link,
    .nav-button {
        width: 100%;
        justify-content: space-between;
        border-radius: 16px;
    }

    .nav-submenu {
        position: static;
        display: block;
        margin-top: 8px;
        box-shadow: none;
        min-width: 0;
    }

    .split,
    .contact-grid,
    .footer-grid,
    .cards-grid,
    .jobs-grid,
    .news-grid,
    .stats-grid,
    .service-detail {
        grid-template-columns: 1fr;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }

    .info-table td {
        padding-top: 0;
    }

    .service-detail {
        padding: 0;
    }

    .service-detail img {
        min-height: 220px;
        border-radius: 28px 28px 0 0;
    }

    .service-detail-body {
        padding: 24px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .header-row {
        min-height: 74px;
    }

    .intro-hero {
        min-height: calc(100vh - 74px);
        padding: 36px 0;
        background-position: center;
    }

    .intro-hero-panel {
        padding: 26px 20px;
    }

    .hero {
        padding: 96px 0 84px;
    }

    .section {
        padding: 68px 0;
    }

    .panel,
    .news-card,
    .job-card,
    .contact-card,
    .policy-card,
    .empty-card {
        padding: 22px;
    }
}
