:root {
  --ink: #17211d;
  --muted: #667068;
  --paper: #f4f0e6;
  --card: #fffdf7;
  --green: #184d3b;
  --green-2: #0f382b;
  --gold: #bd8f35;
  --red: #a63e34;
  --line: #d9d2c2;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.85; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; top: -4rem; left: 1rem; z-index: 20; background: #fff; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; color: white; background: rgba(15,56,43,.96); border-bottom: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(12px); }
.header-inner { width: min(1120px, calc(100% - 32px)); height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: .75rem; }
.brand strong { font: 700 1.3rem var(--serif); letter-spacing: .12em; }
.brand span { color: #d9ceb3; font-size: .72rem; letter-spacing: .08em; }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { font-size: .88rem; text-decoration: none; }
.nav a:hover { color: #f1d99b; }
.menu-btn { display: none; border: 1px solid rgba(255,255,255,.5); background: transparent; color: white; border-radius: 4px; padding: .35rem .65rem; }
.hero { min-height: 530px; position: relative; display: grid; align-items: end; color: #fff; background: linear-gradient(90deg, rgba(4,23,31,.86), rgba(4,23,31,.25)), url('/assets/uchouten-main.webp') center/cover; }
.hero-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 80px 0 72px; }
.kicker { display: inline-flex; align-items: center; gap: .7rem; color: #f2d99a; font-size: .78rem; font-weight: 700; letter-spacing: .18em; }
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1 { max-width: 700px; margin: 1rem 0; font: 700 clamp(2.4rem, 6vw, 5.2rem)/1.16 var(--serif); letter-spacing: .08em; }
.hero p { max-width: 640px; margin: 0; color: #eee9dd; font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.3rem); }
.container { width: min(1120px, calc(100% - 32px)); margin: auto; }
.section { padding: 76px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 28px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.section-head h2 { margin: 0; font: 700 clamp(1.65rem,3vw,2.3rem) var(--serif); letter-spacing: .06em; }
.section-head p { margin: 0; color: var(--muted); font-size: .88rem; }
.featured { display: grid; grid-template-columns: 1.2fr .8fr; background: var(--card); border: 1px solid var(--line); }
.featured-media { min-height: 390px; background: linear-gradient(160deg, #183c32, #071f25); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { padding: clamp(28px,5vw,56px); display: flex; flex-direction: column; justify-content: center; }
.tag { color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.date { color: var(--muted); font-size: .8rem; }
.featured h3 { margin: .8rem 0 1rem; font: 700 clamp(1.55rem,3vw,2.25rem)/1.45 var(--serif); }
.featured h3 a { text-decoration: none; }
.featured p { color: #505950; }
.read-more { display: inline-flex; width: fit-content; margin-top: 1rem; color: var(--green); font-size: .85rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--green); }
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(28,37,30,.08); }
.card-media { display: block; aspect-ratio: 16/9; background: linear-gradient(135deg,#173f35,#11242b); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover img { transform: scale(1.025); }
.card-body { padding: 22px; }
.card h3 { margin: .6rem 0; font: 700 1.12rem/1.6 var(--serif); }
.card h3 a { text-decoration: none; }
.card p { margin: .5rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.mission { color: white; background: var(--green); }
.mission-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.mission h2 { margin: 0; font: 700 clamp(2rem,4vw,3.4rem)/1.35 var(--serif); }
.mission p { margin-top: 0; color: #e3eadd; }
.article-hero { padding: 72px 0 54px; background: #e8e1d2; border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 890px; margin: .7rem 0 1rem; font: 700 clamp(2rem,5vw,3.9rem)/1.35 var(--serif); letter-spacing: .025em; }
.article-layout { display: grid; grid-template-columns: minmax(0,740px) 270px; justify-content: space-between; gap: 64px; padding-top: 64px; padding-bottom: 96px; }
.article-body { font-family: var(--serif); font-size: 1.05rem; line-height: 2.05; }
.article-body > p:first-child { font-size: 1.12em; }
.article-body h2 { margin: 3.2rem 0 1.2rem; padding: 0 0 .7rem; font: 700 1.72rem/1.5 var(--serif); border-bottom: 2px solid var(--green); }
.article-body h3 { margin-top: 2.4rem; font: 700 1.3rem var(--serif); }
.article-body hr { margin: 3rem 0; border: 0; height: 1px; background: var(--line); }
.article-body blockquote { margin: 2rem 0; padding: 1rem 1.4rem; background: #ebe5d8; border-left: 4px solid var(--gold); }
.article-body li { margin: .4rem 0; }
.article-body a { color: #145a48; text-underline-offset: .18em; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .88rem; }
.article-body th,.article-body td { border: 1px solid var(--line); padding: .65rem; text-align: left; }
.article-body th { background: #e9e3d7; }
.toc { position: sticky; top: 96px; border-top: 3px solid var(--green); padding-top: 15px; }
.toc strong { font-family: var(--serif); }
.toc ol { list-style: none; padding: 0; margin: .7rem 0 0; }
.toc li { margin: .65rem 0; line-height: 1.45; }
.toc a { color: var(--muted); font-size: .8rem; text-decoration: none; }
.toc a:hover { color: var(--green); }
.page-wrap { width: min(800px,calc(100% - 32px)); margin: auto; padding: 64px 0 96px; }
.page-wrap h1 { font: 700 clamp(2rem,4vw,3.2rem) var(--serif); }
.contact-form { display: grid; gap: 18px; margin-top: 2rem; }
.contact-form label { font-weight: 700; font-size: .88rem; }
.contact-form input,.contact-form textarea { width: 100%; margin-top: .35rem; padding: .85rem; border: 1px solid #bdb6a8; border-radius: 2px; background: #fff; font: inherit; }
.contact-form button { width: fit-content; padding: .9rem 2rem; color: #fff; background: var(--green); border: 0; font-weight: 700; cursor: pointer; }
.notice { padding: 1rem; margin-bottom: 1.5rem; border: 1px solid var(--line); background: #fff; }
.site-footer { padding: 48px 0 24px; color: #dce2dc; background: #0c2b22; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; }
.footer-title { font: 700 1.3rem var(--serif); letter-spacing: .08em; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: #dce2dc; font-size: .82rem; }
.copyright { margin-top: 40px; color: #91a197; font-size: .72rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
@media (max-width: 820px) {
  .brand span,.nav { display: none; }
  .menu-btn { display: block; }
  .nav.open { position: absolute; display: flex; flex-direction: column; align-items: flex-start; top: 72px; left: 0; width: 100%; padding: 20px 24px; background: var(--green-2); }
  .hero { min-height: 460px; }
  .featured,.mission-grid,.article-layout { grid-template-columns: 1fr; }
  .featured-media { min-height: 250px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; order: -1; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .grid { grid-template-columns: 1fr; }
  .section-head,.footer-grid { align-items: flex-start; flex-direction: column; }
  .article-layout { padding-top: 38px; gap: 38px; }
  .article-body { font-size: 1rem; }
}
