@charset "utf-8";

:root {
    --bg: #f8efe3;
    --bg-soft: #fff8f1;
    --surface: rgba(255, 250, 245, 0.8);
    --surface-strong: rgba(255, 252, 248, 0.94);
    --text: #43332d;
    --muted: #756159;
    --line: rgba(120, 86, 72, 0.14);
    --primary: #c96d4b;
    --primary-strong: #a95335;
    --accent: #e3a548;
    --shadow: 0 24px 60px rgba(119, 79, 58, 0.14);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 16px;
    --content-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    font-family: "Avenir Next", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
    line-height: 1.7;
    background:
        radial-gradient(circle at top left, rgba(232, 161, 92, 0.28), transparent 28%),
        radial-gradient(circle at top right, rgba(233, 121, 92, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(245, 209, 176, 0.22), transparent 24%),
        linear-gradient(180deg, #fff8f1 0%, #f8efe3 42%, #f3e5d6 100%);
}

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

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

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.45;
}

.site-shell::before {
    top: -8rem;
    right: -10rem;
    background: rgba(233, 121, 92, 0.16);
}

.site-shell::after {
    bottom: -12rem;
    left: -8rem;
    background: rgba(232, 161, 92, 0.18);
}

.site-header,
main,
.site-footer {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
}

.site-header {
    padding-top: 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(119, 79, 58, 0.08);
}

.brand {
    flex: 0 0 auto;
    color: var(--text);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.96rem;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(201, 109, 75, 0.12);
    transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(201, 109, 75, 0.16);
    font-weight: 700;
}

main {
    padding: 34px 0 72px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 36px;
    align-items: center;
    padding: 40px 0 30px;
}

.hero-copy {
    position: relative;
    padding: 12px 0;
}

.eyebrow,
.section-label,
.stat-value,
.link-card span,
.update-date {
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 4vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.lead {
    max-width: 40rem;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    box-shadow: 0 18px 40px rgba(169, 83, 53, 0.28);
}

.button-secondary {
    border: 1px solid rgba(120, 86, 72, 0.16);
    background: rgba(255, 250, 245, 0.88);
}

.button-static {
    cursor: default;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 248, 241, 0.72);
    color: var(--muted);
    font-size: 0.93rem;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: stretch;
}

.visual-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(232, 161, 92, 0.22), rgba(233, 121, 92, 0.18));
}

.visual-card img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-card-large {
    grid-row: span 2;
    min-height: 520px;
}

.visual-card-small {
    min-height: 240px;
}

.visual-card-accent {
    min-height: 260px;
}

.stats,
.feature-grid,
.updates-list,
.link-grid {
    display: grid;
    gap: 20px;
}

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

.stat-card,
.feature-card,
.update-card,
.link-card,
.gallery-section,
.section-block {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(12px);
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(119, 79, 58, 0.08);
}

.stat-value {
    display: inline-block;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 800;
}

.stat-card h2,
.feature-card h3,
.update-card strong,
.link-card strong,
.footer-title {
    letter-spacing: -0.02em;
}

.stat-card h2 {
    margin: 10px 0 10px;
    font-size: 1.25rem;
}

.stat-card p,
.feature-card p,
.update-card p,
.link-card p,
.site-footer p {
    margin: 0;
    color: var(--muted);
}

.section-block {
    margin-top: 28px;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(119, 79, 58, 0.08);
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 24px;
}

.section-label {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.section-heading h2 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.15;
}

.feature-grid,
.updates-list,
.link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.update-card,
.link-card {
    padding: 24px;
    border-radius: var(--radius-md);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.update-card:hover,
.link-card:hover,
.feature-card:focus-within,
.update-card:focus-visible,
.link-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(201, 109, 75, 0.28);
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.12);
}

.feature-card h3,
.update-card strong,
.link-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.gallery-section {
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    grid-auto-rows: 210px;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    margin: 0;
    border-radius: 22px;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.update-date,
.link-card span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.stack-list {
    display: grid;
    gap: 16px;
}

.stack-item {
    display: grid;
    gap: 10px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 250, 245, 0.86);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stack-item:hover,
.stack-item:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(201, 109, 75, 0.28);
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.12);
}

.stack-meta {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stack-item strong {
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.stack-item p,
.stack-note {
    margin: 0;
    color: var(--muted);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 20px;
}

.quote-card,
.manifesto-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 250, 245, 0.86);
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.08);
}

.quote-label {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.quote-card h3,
.manifesto-card h3 {
    margin: 0;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
}

.quote-card blockquote {
    margin: 18px 0 16px;
    padding-left: 18px;
    border-left: 4px solid rgba(201, 109, 75, 0.32);
    color: var(--text);
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.quote-card p,
.manifesto-card p {
    margin: 0;
    color: var(--muted);
}

.signal-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.signal-item {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 248, 241, 0.8);
}

.signal-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.site-footer {
    padding-bottom: 40px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
}

.footer-title {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
}

.copyright {
    margin: 18px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
}

.page-main {
    padding: 30px 0 72px;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.page-hero-copy,
.page-hero-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(119, 79, 58, 0.08);
}

.page-hero-copy {
    padding: 34px;
}

.page-hero-panel {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 28px;
}

.page-kicker {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.page-intro {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1rem;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.page-panel-card {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 249, 243, 0.84);
}

.page-panel-card strong,
.resource-card h3,
.partner-card h3 {
    display: block;
    margin-bottom: 10px;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.page-panel-card p {
    margin: 0;
    color: var(--muted);
}

.page-panel-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.page-panel-card li + li {
    margin-top: 8px;
}

.contact-form-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 249, 243, 0.86);
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.08);
}

.contact-form-lead,
.contact-form-note {
    margin: 0;
    color: var(--muted);
}

.contact-form-note {
    margin-top: 10px;
}

.news-feed {
    color: var(--muted);
    font-size: 1rem;
}

.news-feed a {
    display: block;
    margin-bottom: 12px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 249, 243, 0.84);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.news-feed a:hover,
.news-feed a:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(201, 109, 75, 0.28);
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.12);
}

.news-feed a + br {
    display: none;
}

.legacy-event-list {
    display: grid;
    gap: 18px;
}

.legacy-event-list > br {
    display: none;
}

.legacy-event-list > h3 {
    margin: 0;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    background: linear-gradient(135deg, rgba(232, 161, 92, 0.28), rgba(255, 252, 248, 0.92));
    font-size: 1.22rem;
    line-height: 1.35;
}

.legacy-event-list > h3 + div,
.legacy-event-list > h3 + p {
    margin-top: -18px;
    padding: 28px 24px 24px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: rgba(255, 249, 243, 0.84);
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.08);
}

.legacy-event-list > div > p,
.legacy-event-list > p,
.legacy-event-list p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem !important;
    line-height: 1.8;
}

.legacy-event-list a {
    color: var(--primary-strong);
}

.legacy-event-list div h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1.08rem;
    line-height: 1.4;
}

.legacy-event-list img {
    max-width: 100%;
    height: auto;
    margin-top: 14px;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.16);
}

.resource-grid,
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.resource-card,
.partner-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 249, 243, 0.84);
    box-shadow: 0 18px 42px rgba(119, 79, 58, 0.08);
}

.resource-preview,
.partner-preview {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(232, 161, 92, 0.18), rgba(233, 121, 92, 0.16));
}

.resource-preview img,
.partner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-preview.partner-preview-contain img {
    object-fit: contain;
    padding: 24px;
}

.resource-body,
.partner-body {
    padding: 22px;
}

.resource-body p,
.partner-body p {
    margin: 0;
    color: var(--muted);
}

.resource-links,
.partner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chip-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(120, 86, 72, 0.16);
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.92);
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 700;
}

.chip-link:hover,
.chip-link:focus-visible {
    border-color: rgba(201, 109, 75, 0.28);
    background: rgba(201, 109, 75, 0.08);
}

.inline-link {
    color: var(--primary-strong);
    font-weight: 700;
}

@media (max-width: 1080px) {
    .hero,
    .stats,
    .manifesto-grid,
    .feature-grid,
    .updates-list,
    .link-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 28px;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        grid-template-columns: 1fr 1fr;
    }

    .visual-card-large {
        min-height: 420px;
    }

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

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

    .gallery-item-wide {
        grid-column: auto;
    }

    .page-hero,
    .resource-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header,
    main,
    .site-footer {
        width: min(calc(100% - 20px), var(--content-width));
    }

    .site-header {
        padding-top: 14px;
    }

    .header-inner,
    .section-block,
    .footer-inner {
        padding: 18px;
        border-radius: 24px;
    }

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

    .brand {
        font-size: 1.5rem;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 18px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .hero-visual,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .visual-card-large,
    .visual-card-small,
    .visual-card-accent {
        min-height: 240px;
        grid-row: auto;
    }

    .gallery-grid {
        grid-auto-rows: 220px;
    }

    .gallery-item-tall,
    .gallery-item-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .button {
        width: 100%;
    }

    .page-main {
        padding-top: 16px;
    }

    .page-hero-copy,
    .page-hero-panel,
    .resource-body,
    .partner-body {
        padding: 20px;
    }

    .page-actions,
    .resource-links,
    .partner-links {
        flex-direction: column;
    }

    .chip-link {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
