:root {
  color-scheme: light;
  --ink: #2d2a26;
  --muted: #6f675f;
  --line: #e8dfd2;
  --paper: #fffdf8;
  --cream: #fff8dd;
  --yellow: #ffd95e;
  --accent: #f29c6b;
  --brown: #705126;
  --radius: 28px;
  --shadow: 0 18px 50px rgba(73, 56, 35, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans JP", system-ui, sans-serif; line-height: 1.8; }
a { color: inherit; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.seo-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; min-width: 0; }
.seo-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(232, 223, 210, .8); background: rgba(255, 253, 248, .94); backdrop-filter: blur(14px); }
.seo-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.seo-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 0 1 auto; }
.seo-brand img { border-radius: 50%; flex: 0 0 auto; }
.seo-brand span { display: grid; line-height: 1.15; min-width: 0; }
.seo-brand small { font-size: .68rem; color: var(--muted); }
.seo-brand strong { font-family: "Zen Maru Gothic", sans-serif; font-size: 1.22rem; }
.seo-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 700; min-width: 0; max-width: 100%; }
.seo-nav a { padding: 8px 4px; text-decoration: none; border-bottom: 2px solid transparent; }
.seo-nav a[aria-current="page"] { border-color: var(--yellow); }
.seo-main { padding: 24px 0 80px; min-width: 0; }
.seo-main *, .seo-footer * { min-width: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 22px; color: var(--muted); font-size: .82rem; }
.breadcrumb a { text-decoration: none; }
.seo-hero { padding: clamp(40px, 8vw, 88px); border: 1px solid var(--line); border-radius: 36px; background: radial-gradient(circle at 90% 10%, #fff3b5, transparent 38%), linear-gradient(145deg, #fffdf8, #fff8dd); box-shadow: var(--shadow); overflow: hidden; }
.seo-kicker { margin: 0 0 10px; color: #8e6738; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.seo-hero h1 { max-width: 850px; margin: 0; font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.18; letter-spacing: -.02em; overflow-wrap: anywhere; }
.seo-lead { max-width: 800px; margin: 24px 0 0; font-size: clamp(1rem, 2vw, 1.2rem); color: #514940; }
.seo-section { margin-top: clamp(56px, 9vw, 100px); min-width: 0; }
.seo-section-heading { max-width: 760px; margin-bottom: 28px; }
.seo-section h2 { margin: 0 0 16px; font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.65rem, 3.2vw, 2.6rem); line-height: 1.35; overflow-wrap: anywhere; }
.seo-section h3 { margin: 0 0 12px; font-family: "Zen Maru Gothic", sans-serif; font-size: 1.25rem; line-height: 1.45; overflow-wrap: anywhere; }
.seo-section p { margin: 12px 0; }
.seo-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.seo-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(73, 56, 35, .06); min-width: 0; }
.seo-book-card { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); min-height: 250px; }
.seo-card-image { background: var(--cream); min-width: 0; overflow: hidden; }
.seo-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.seo-card-body { padding: 24px; min-width: 0; }
.seo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 20px; min-width: 0; }
.seo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.seo-button:hover, .seo-button:focus-visible { background: #111; }
.seo-text-link { font-weight: 800; overflow-wrap: anywhere; }
.seo-note { padding: clamp(28px, 5vw, 52px); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.seo-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.seo-split > * { min-width: 0; }
.seo-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.seo-people figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; min-width: 0; }
.seo-people figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.seo-people figcaption { display: grid; padding: 16px 18px; }
.seo-people figcaption span { color: var(--muted); font-size: .86rem; }
.seo-person-link { display: block; text-decoration: none; }
.seo-event-list { display: grid; gap: 28px; }
.seo-event-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
.seo-event-card > * { min-width: 0; }
.seo-event-copy { padding: clamp(24px, 4vw, 42px); }
.seo-event-no { display: inline-block; margin-bottom: 12px; color: var(--brown); font-weight: 800; letter-spacing: .12em; }
.seo-event-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); min-width: 0; overflow: hidden; }
.seo-event-images img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; min-width: 0; }
.seo-event-images img:only-child { grid-column: 1 / -1; }
.seo-coloring > div:first-child { padding: clamp(18px, 4vw, 36px); border-radius: var(--radius); background: var(--cream); min-width: 0; overflow: hidden; }
.seo-coloring > div:first-child img { width: 100%; border-radius: 16px; }
.seo-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.seo-steps li { counter-increment: step; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; min-width: 0; }
.seo-steps li::before { content: "0" counter(step); display: block; margin-bottom: 10px; color: var(--brown); font-weight: 800; }
.seo-steps strong, .seo-steps span { display: block; }
.seo-steps span { margin-top: 8px; color: var(--muted); font-size: .94rem; }
.seo-discover { margin-top: clamp(70px, 11vw, 120px); padding-top: 34px; border-top: 1px solid var(--line); min-width: 0; }
.seo-discover h2 { margin: 0 0 22px; font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.45rem, 3vw, 2rem); }
.seo-discover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seo-discover-grid a { display: grid; gap: 7px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.seo-discover-grid a:hover, .seo-discover-grid a:focus-visible { border-color: #ccb987; box-shadow: 0 8px 24px rgba(73, 56, 35, .07); }
.seo-discover-grid span { color: var(--muted); font-size: .85rem; }
.seo-footer { padding: 30px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.seo-footer .seo-shell { display: flex; justify-content: space-between; gap: 20px; }
.seo-footer p { margin: 0; }

/* Maximum SEO presentation: make authorship, source provenance and creator entities visible to people too. */
.seo-creator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.seo-creator-grid .seo-card-image { aspect-ratio: 1; }
.seo-creator-grid .seo-card-image img { object-fit: cover; padding: 0; }
.seo-profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 6vw, 72px); align-items: center; }
.seo-profile-hero > img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 10px solid rgba(255,255,255,.78); border-radius: 50%; box-shadow: 0 16px 40px rgba(73,56,35,.12); }
.seo-article-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 20px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--muted); font-size: .88rem; min-width: 0; }
.seo-article-meta a { font-weight: 800; }
.seo-article-hero-image { margin: 22px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); min-width: 0; }
.seo-article-hero-image img { width: 100%; max-width: 100%; max-height: 680px; object-fit: contain; min-width: 0; }
.seo-source-note { margin: 22px 0 0; padding: 20px 22px; border-left: 4px solid var(--yellow); border-radius: 0 16px 16px 0; background: #fff; box-shadow: 0 8px 26px rgba(73,56,35,.05); overflow: hidden; }
.seo-source-note strong { font-family: "Zen Maru Gothic", sans-serif; }
.seo-source-note p { margin: 6px 0 0; color: var(--muted); }
.seo-preferred-source { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #fff, var(--cream)); box-shadow: var(--shadow); overflow: hidden; }

@media (max-width: 900px) {
  .seo-header { position: static; }
  .seo-header-inner { padding: 14px 0; align-items: stretch; flex-direction: column; }
  .seo-nav { width: 100%; gap: 4px 14px; }
  .seo-book-grid { grid-template-columns: 1fr; }
  .seo-split, .seo-event-card { grid-template-columns: minmax(0, 1fr); }
  .seo-discover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-profile-hero { grid-template-columns: minmax(0, 1fr); }
  .seo-profile-hero > img { width: min(320px, 80%); }
}
@media (max-width: 620px) {
  .seo-shell { width: min(100% - 28px, 1120px); }
  .seo-main { padding-top: 14px; }
  .seo-hero { padding: 34px 24px; border-radius: 26px; }
  .seo-book-card { grid-template-columns: minmax(0, 1fr); }
  .seo-card-image { min-height: 220px; }
  .seo-people, .seo-steps, .seo-discover-grid, .seo-creator-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-event-images { grid-template-columns: minmax(0, 1fr); }
  .seo-footer .seo-shell { flex-direction: column; }
  .seo-article-meta { flex-direction: column; }
}
