:root {
  --bg: #f7f2ec;
  --surface: rgba(255, 250, 245, .82);
  --text: #3f332d;
  --muted: #73645a;
  --line: rgba(86, 68, 55, .12);
  --accent-strong: #6f5b4c;
  --accent-soft: #e9ddd1;
  --sage-deep: #7d8e76;
  --red: #b13d49;
  --shadow: 0 14px 34px rgba(90, 70, 54, .08);
  --container: min(1120px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(170, 181, 161, .22), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(233, 221, 209, .82), transparent 20%),
    linear-gradient(180deg, #fcf9f5 0%, var(--bg) 52%, #f3ece5 100%);
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--container);
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 250, 245, .82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; color: inherit; text-decoration: none; }
.brand-mark { display: inline-flex; width: 58px; height: 58px; flex-shrink: 0; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: .98rem; }
.brand-copy small { margin-top: 2px; color: var(--muted); font-size: .76rem; }
.site-nav { display: inline-flex; align-items: center; gap: 18px; color: var(--muted); font-size: .95rem; }
.site-nav a { white-space: nowrap; text-decoration: none; }
.site-nav a:hover { color: var(--accent-strong); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.nav-cta, .button-primary { color: #fff !important; background: linear-gradient(135deg, #cf5f66, var(--red)); box-shadow: 0 16px 32px rgba(177, 61, 73, .24); }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }
main { padding: 32px 0 76px; }
.breadcrumbs { width: min(960px, calc(100% - 40px)); margin: 0 auto 20px; display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { color: var(--accent-strong); }
.article-shell { width: min(960px, calc(100% - 32px)); margin: 0 auto; overflow: hidden; border: 1px solid rgba(255, 255, 255, .72); border-radius: 38px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.article-header {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 8vw, 84px) clamp(26px, 8vw, 82px) clamp(38px, 6vw, 62px);
  background:
    radial-gradient(circle at 84% 22%, rgba(170, 181, 161, .28), transparent 19%),
    linear-gradient(135deg, rgba(255, 248, 242, .98), rgba(242, 233, 224, .96));
}
.article-header::before, .article-header::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.article-header::before { top: 32px; right: 82px; width: 120px; height: 120px; background: rgba(170, 181, 161, .12); }
.article-header::after { right: -70px; bottom: -110px; width: 260px; height: 260px; background: rgba(233, 221, 209, .5); }
.article-hero-image { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; aspect-ratio: 16 / 7; }
.article-kicker { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; }
.article-kicker span { display: inline-flex; min-height: 34px; align-items: center; padding: 0 14px; color: var(--accent-strong); background: rgba(255, 255, 255, .62); border: 1px solid rgba(111, 91, 76, .08); border-radius: 999px; font-size: .8rem; font-weight: 700; }
h1 { position: relative; z-index: 1; max-width: 800px; margin: 22px 0 20px; color: #2f241f; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(2.35rem, 5.2vw, 4.35rem); line-height: 1.25; letter-spacing: -.02em; }
.article-description { position: relative; z-index: 1; max-width: 680px; margin: 0; color: #4d4038; font-weight: 500; }
.article-dates { position: relative; z-index: 1; display: flex; gap: 20px; margin: 24px 0 0; color: var(--muted); font-size: .78rem; }
.article-dates div { display: flex; gap: 7px; }
.article-dates dd { margin: 0; }
.article-content { padding: clamp(40px, 8vw, 82px) clamp(26px, 8vw, 82px); background: rgba(255, 252, 248, .88); font-size: 1rem; }
.article-content > :first-child { margin-top: 0; }
.article-content h2 { margin: 3em 0 1em; padding: .8em 1em; color: #2f241f; background: linear-gradient(90deg, var(--accent-soft), rgba(233, 221, 209, .25)); border-radius: 18px; font-family: "Noto Serif JP", serif; font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.45; }
.article-content h3 { margin: 2.4em 0 .8em; color: var(--accent-strong); font-size: 1.22rem; }
.article-content p, .article-content ul, .article-content ol { margin: 1.15em 0; }
.article-content ul, .article-content ol { padding-left: 1.55em; }
.article-content li + li { margin-top: .4em; }
.article-content li::marker { color: var(--red); }
.article-content blockquote { margin: 2em 0; padding: 20px 24px; color: var(--accent-strong); background: rgba(233, 221, 209, .52); border-left: 5px solid var(--sage-deep); border-radius: 0 20px 20px 0; }
.article-content img { max-width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); }
.article-content table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.article-content th, .article-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.article-content tr:last-child th, .article-content tr:last-child td { border-bottom: 0; }
.article-content th { background: var(--accent-soft); }
.article-list-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.article-list-header { padding: clamp(42px, 8vw, 82px); border: 1px solid rgba(255, 255, 255, .72); border-radius: 38px; background: linear-gradient(135deg, rgba(255, 248, 242, .98), rgba(242, 233, 224, .96)); box-shadow: var(--shadow); }
.article-list-eyebrow { margin: 0 0 10px; color: var(--sage-deep); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.article-list-header h1 { max-width: 100%; margin: 0 0 18px; font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.article-list-header > p:last-child { max-width: 680px; margin: 0; color: var(--muted); }
.public-article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.public-article-card { display: flex; min-height: 330px; flex-direction: column; padding: clamp(26px, 4vw, 38px); border: 1px solid rgba(255, 255, 255, .76); border-radius: 28px; background: rgba(255, 252, 248, .88); box-shadow: var(--shadow); }
.public-article-image { display: block; margin: -38px -38px 24px; overflow: hidden; border-radius: 28px 28px 0 0; }
.public-article-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.public-article-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.public-article-meta span { padding: 5px 11px; color: var(--accent-strong); border-radius: 999px; background: var(--accent-soft); font-size: .75rem; font-weight: 700; }
.public-article-card h2 { margin: 20px 0 12px; font-family: "Noto Serif JP", serif; font-size: clamp(1.35rem, 2.7vw, 1.85rem); line-height: 1.5; }
.public-article-card h2 a { text-decoration: none; }
.public-article-card > p { margin: 0; color: var(--muted); font-size: .92rem; }
.public-article-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 24px; color: var(--muted); font-size: .82rem; }
.public-article-footer a { color: var(--red); font-weight: 700; text-decoration: none; }
.article-list-empty { margin: 28px 0 0; padding: 32px; border-radius: 24px; background: rgba(255, 252, 248, .88); text-align: center; }
.contact-cta { width: min(960px, calc(100% - 32px)); margin: 40px auto 0; padding: clamp(28px, 5vw, 46px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 32px; align-items: center; background: linear-gradient(135deg, rgba(255, 250, 245, .96), rgba(242, 232, 223, .92)); border: 1px solid rgba(255, 255, 255, .72); border-radius: 32px; box-shadow: var(--shadow); }
.cta-eyebrow { margin: 0 0 10px; color: var(--accent-strong); font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.contact-cta h2 { margin: 0; color: #2f241f; font-family: "Noto Serif JP", serif; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.3; }
.contact-cta p { color: var(--muted); }
.cta-area { margin-bottom: 0; font-size: .86rem; font-weight: 700; }
.cta-actions { display: grid; gap: 12px; }
.button { width: 100%; }
.button-secondary { color: var(--accent-strong); background: rgba(255, 250, 245, .9); border-color: rgba(111, 91, 76, .15); }
.cta-side small { display: block; margin-top: 14px; color: var(--muted); font-size: .7rem; text-align: center; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: var(--container); margin: 0 auto; padding: 30px 0 18px; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }
.footer-credit { display: grid; gap: 4px; }
.footer-credit small { color: rgba(115, 100, 90, .84); font-size: .72rem; }
.footer-links { display: inline-flex; align-items: center; gap: 18px; }
.footer-links a:last-child { color: #9e424d; font-weight: 700; }

@media (max-width: 980px) {
  .site-header { width: min(100% - 20px, var(--container)); padding: 10px 12px; border-radius: 24px; }
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: .84rem; }
  .brand-copy small, .nav-desktop-only { display: none; }
  .site-nav { gap: 8px; font-size: .84rem; }
  .nav-cta { min-height: 40px; padding: 0 13px; }
}

@media (max-width: 720px) {
  .site-header { margin-top: 10px; }
  .brand-copy strong { font-size: .8rem; }
  .site-nav > a:not(.nav-cta) { display: none; }
  .nav-cta { font-size: .8rem; }
  main { padding-top: 24px; }
  .breadcrumbs { width: calc(100% - 28px); font-size: .72rem; }
  .article-shell, .contact-cta { width: calc(100% - 20px); border-radius: 26px; }
  .article-header { padding: 36px 22px 34px; }
  .article-header::before { right: 24px; width: 82px; height: 82px; }
  h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .article-content { padding: 36px 22px; }
  .article-content h2 { padding: .72em .8em; border-radius: 14px; }
  .article-dates { display: block; }
  .article-dates div + div { margin-top: 4px; }
  .contact-cta { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .article-list-shell { width: calc(100% - 20px); }
  .article-list-header { padding: 38px 22px; border-radius: 26px; }
  .public-article-grid { grid-template-columns: 1fr; }
  .public-article-card { min-height: 0; padding: 26px 22px; border-radius: 24px; }
  .public-article-image { margin: -26px -22px 22px; border-radius: 24px 24px 0 0; }
  .site-footer, .footer-links { flex-direction: column; align-items: flex-start; }
}
