:root {
    --bg: #fff8f8;
    --surface: #ffffff;
    --text: #1f1f1f;
    --muted: #666666;
    --line: #e6dada;
    --red: #d51f2a;
    --red-dark: #ab1620;
    --red-soft: #ffe8ea;
    --shadow: 0 18px 40px rgba(213, 31, 42, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--text);
    background: linear-gradient(180deg, #fff 0%, var(--bg) 45%, #fff 100%);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", sans-serif;
    line-height: 1.7;
}

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

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.brand img {
    height: 34px;
    width: auto;
}

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

.site-nav a {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease;
}

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

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: var(--text);
    font-size: 12px;
    letter-spacing: 0.08em;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 34px;
    align-items: center;
}

.eyebrow,
.section-label {
    display: inline-block;
    color: var(--red);
    background: var(--red-soft);
    border: 1px solid #f8c7cb;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.hero h1 {
    line-height: 1.15;
    font-size: clamp(34px, 5vw, 62px);
    margin-bottom: 18px;
}

.hero-lead {
    color: var(--muted);
    max-width: 620px;
}

.hero-cta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--red-dark);
}

.btn-outline {
    border-color: #f0b7bc;
    color: var(--red);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--red);
    background: #fff3f4;
}

.hero-card {
    background: linear-gradient(160deg, #fff 5%, #fff3f4 95%);
    border: 1px solid #f4c7cb;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-card h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.section {
    padding: 70px 0;
}

.section-head h2 {
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.3;
}

.mission-copy {
    margin-top: 20px;
    max-width: 760px;
    color: var(--muted);
}

.services-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 14px;
}

.service-card a {
    color: var(--red);
    font-weight: 700;
}

.values-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.value-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    font-weight: 600;
    font-size: 14px;
}

.value-item span {
    display: block;
    color: var(--red);
    margin-bottom: 8px;
}

.news-list {
    margin-top: 20px;
    border-top: 1px solid var(--line);
}

.news-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.news-item time {
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
}

.contact-panel {
    border: 1px solid #efc2c6;
    border-radius: 20px;
    background: linear-gradient(160deg, #fff 5%, #fff0f1 100%);
    padding: 36px;
}

.contact-panel h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-panel p {
    color: var(--muted);
}

.contact-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 36px;
    background: #fff;
}

.footer-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 700;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--muted);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

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

    .news-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 14px 24px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-nav.open {
        display: flex;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 30px);
    }

    .hero {
        padding: 60px 0 44px;
    }

    .section {
        padding: 52px 0;
    }

    .contact-panel {
        padding: 24px;
    }
}
