:root {
    --bg: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    --radius: 16px;
    --container: 960px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP",
        "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    padding: 8px 12px;
    background: #111827;
    color: #fff;
    border-radius: 10px;
}

.skip-link:focus {
    left: 16px;
    z-index: 1000;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
}

.brand {
    min-width: 0;
}

.brand-subtitle {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text {
    min-width: 0;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #f3f4f6;
    flex: 0 0 auto;
}

.brand-title {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 10px;
}

.site-nav a:hover {
    color: var(--text);
    background: #f9fafb;
    text-decoration: none;
}

.section {
    padding: 48px 0;
}

.section-hero {
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.35) 100%),
        url("assets/hero.jpg");
    background-size: cover;
    background-position: center;
}

.hero-inner {
    display: flex;
    align-items: flex-end;
    min-height: 260px;
}

.hero-copy {
    max-width: 860px;
}

.hero-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: #ffffff;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.75);
}

.btn-primary:hover {
    filter: brightness(0.98);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.section-title {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 16px;
    box-shadow: var(--shadow);
}

.card-title {
    margin: 0;
    font-size: 16px;
}

.card-meta {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.card-body {
    margin: 10px 0 0;
    font-size: 14px;
}

.collab-list {
    margin-top: 10px;
    display: grid;
    gap: 12px;
}

.collab-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 12px;
    background: #ffffff;
}

.collab-partner {
    margin: 0;
    font-size: 14px;
}

.collab-meta {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.collab-links {
    margin: 10px 0 0;
    padding-left: 18px;
}

.collab-links li {
    margin: 6px 0;
}

.collab-links a {
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px dotted var(--line);
}

.collab-links a:hover {
    border-bottom-color: var(--text);
}

.member-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.member-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 14px;
    box-shadow: var(--shadow);
}

.member-photo {
    width: 96px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #f3f4f6;
}

.member-name {
    margin: 0;
    font-size: 16px;
}

.member-role {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.member-field {
    margin: 10px 0 0;
    font-size: 14px;
}

.member-roman {
    margin-left: 10px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.member-links {
    margin: 10px 0 0;
}

.member-link {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--line);
}

.member-link:hover {
    color: var(--text);
    border-bottom-color: var(--text);
}

.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
}

.news-item:first-child {
    border-top: none;
}

.news-date {
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    font-size: 13px;
}

.news-link {
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}

.prose {
    max-width: 860px;
}

.prose p {
    margin: 0 0 14px;
    font-size: 15px;
}

.prose p:last-child {
    margin-bottom: 0;
}

.bullet-list {
    margin: 10px 0 0;
    padding-left: 18px;
}

.bullet-list li {
    margin: 6px 0;
}

.placeholder {
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 18px 16px;
    background: #fff;
}

.placeholder-text {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fafafa;
    padding: 28px 0 18px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: start;
}

.footer-title {
    margin: 0 0 8px;
    font-size: 14px;
}

.footer-address {
    font-style: normal;
    color: var(--text);
    font-size: 14px;
}

.footer-muted {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 860px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-row {
        align-items: flex-start;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .member-item {
        grid-template-columns: 80px 1fr;
    }

    .member-photo {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }

    .member-roman {
        display: block;
        margin-left: 0;
        margin-top: 4px;
        white-space: normal;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .brand-subtitle {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero-actions {
        gap: 8px;
    }

    .btn {
        width: auto;
    }
}
