:root {
  color-scheme: light;
  --ink: #292324;
  --muted: #665a5c;
  --accent: #a42e55;
  --accent-dark: #7a1e3c;
  --paper: #fffdfa;
  --soft: #f9f0eb;
  --line: #e7d8d7;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 14px); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.85 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a:hover { color: var(--accent-dark); }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #125cab; outline-offset: 4px; }
.wrap { width: min(1168px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 30; top: 10px; left: 10px; transform: translateY(-150%); background: white; padding: 8px 16px; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: #fffdfa; border-top: 4px solid var(--accent); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.header-row { position: relative; min-height: calc(var(--header) - 5px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 41px; aspect-ratio: 1; background: var(--accent); color: white; font: 700 1.3rem/1 var(--serif); }
.brand strong { display: block; font-size: 1.22rem; font-weight: 820; }
.brand small { font-size: .78rem; color: var(--muted); }
.site-nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(13px, 2.2vw, 32px); }
.site-nav a { font-weight: 720; font-size: .92rem; text-decoration: none; white-space: nowrap; padding-block: 8px; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.site-nav .nav-join { color: var(--accent-dark); padding: 8px 15px; border: 1px solid #c77490; }
.menu-toggle { display: none; align-items: center; gap: 8px; padding: 6px 10px; background: white; border: 1px solid var(--line); min-height: 44px; white-space: nowrap; }
.menu-toggle span { width: 15px; height: 11px; border-block: 2px solid currentColor; display: inline-block; position: relative; }
.menu-toggle span::after { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 2px solid currentColor; }

.hero { position: relative; isolation: isolate; background: #f8eee7; overflow: hidden; }
.hero-film, .hero-wash { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-film { object-fit: cover; object-position: 64% 47%; opacity: .58; }
.hero-wash { background: linear-gradient(270deg, #fbf4ed 10%, #fbf4edf5 33%, #fbf4ed9e 61%, #fbf4ed70 100%); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-areas: "portrait copy";
  align-items: center;
  gap: clamp(20px, 3.2vw, 48px);
  padding-block: clamp(35px, 4.7vw, 66px) 0;
}
.hero-copy { grid-area: copy; padding-block: 15px 34px; }
.place { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 13px; font-size: .95rem; letter-spacing: .1em; font-weight: 800; color: var(--accent-dark); }
.place span { width: 28px; border-top: 2px solid #c67f97; }
.hero h1, .hero-lead { text-align: right; }
.hero h1 { font: 780 clamp(2.65rem, 6.1vw, 6.25rem)/1.15 var(--serif); letter-spacing: -.075em; margin-bottom: 22px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { color: #493e40; font-weight: 650; font-size: clamp(1rem, 1.45vw, 1.2rem); margin-bottom: 24px; }
.hero-name { font-weight: 850; letter-spacing: -.045em; font-size: clamp(2rem, 3.85vw, 3.65rem); line-height: 1.3; margin-bottom: 24px; }
.hero-name rt { color: var(--accent-dark); font-size: .28em; letter-spacing: .13em; }
.hero-name span { margin-inline-start: .12em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 18px; border: 1px solid transparent; text-align: center; font-size: .94rem; font-weight: 760; text-decoration: none; line-height: 1.5; }
.primary { color: white; background: var(--accent); }
.primary:hover { color: white; background: var(--accent-dark); }
.outline { color: var(--accent-dark); border-color: #b67085; background: #fffaf8; }
.outline:hover { background: #f5e4e8; }
.pale { color: var(--accent-dark); background: #fff9f4; }
.pale:hover { background: #f8dfe4; }
.hero-media { grid-area: portrait; width: min(100%, 630px); justify-self: center; align-self: end; transform: translateX(-18px); }
.portrait-frame { position: relative; aspect-ratio: 1; }
.portrait-frame > img { position: absolute; bottom: 0; left: 50%; width: auto; max-width: none; height: 93%; transform: translateX(-42.6%); }

.section { padding-block: clamp(56px, 7vw, 94px); }
.section-title { font: 750 clamp(2.05rem, 4vw, 3.45rem)/1.3 var(--serif); letter-spacing: -.045em; margin-bottom: 17px; }
.section-title::after { content: ""; display: block; width: 44px; margin-top: 13px; border-bottom: 3px solid var(--accent); }
.section-lead { font-size: clamp(1.06rem, 2vw, 1.36rem); font-weight: 780; line-height: 1.6; margin-bottom: .6em; }
.section-heading { max-width: 690px; margin-bottom: 31px; }
.section-heading > p:not(.section-lead) { color: var(--muted); }
.soft { background: var(--soft); }
.message-grid, .profile-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(36px, 7vw, 93px); }
.message-grid p:not(.section-lead) { margin-bottom: .9em; }
.message-photo { padding: 9px; border: 1px solid var(--line); background: white; }
.message-photo img { width: 100%; aspect-ratio: 1.26; object-fit: cover; object-position: center 42%; }
.message-photo figcaption { padding: 6px 5px 0; color: var(--muted); font-size: .82rem; }
.signature { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; display: flex; align-items: baseline; gap: 5px 12px; flex-wrap: wrap; }
.signature span { color: var(--muted); font-size: .85rem; }
.signature strong { font-size: 1.3rem; }
.text-link, .source-note a, .contact a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link { font-size: .91rem; font-weight: 720; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fffdfb; border: 1px solid var(--line); }
.stats div { padding: clamp(12px, 2.35vw, 30px); display: grid; gap: 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats span { font-size: clamp(.85rem, 1.5vw, 1rem); font-weight: 700; }
.stats strong { white-space: nowrap; color: var(--accent); font-size: clamp(1.5rem, 4.4vw, 3.2rem); font-variant-numeric: tabular-nums; line-height: 1.12; letter-spacing: -.065em; }
.stats small { font-size: .55em; margin-inline-start: .17em; }
.source-note { margin-top: 12px; color: var(--muted); font-size: .85rem; }
.source-note a { display: inline-block; margin-inline-start: .4em; }
.naka-rows, .policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.naka-rows article { background: white; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); }
.naka-rows h3, .policy-copy h3, .report-links h3 { font-size: clamp(1.16rem, 2vw, 1.55rem); line-height: 1.4; margin-bottom: 12px; }
.naka-rows p { margin-bottom: 9px; }
.naka-rows strong { color: var(--accent-dark); margin-inline-end: .35em; }
.policy-card { display: flex; flex-direction: column; background: #fffaf7; border: 1px solid var(--line); overflow: hidden; }
.policy-card figure { position: relative; }
.policy-card figure img { width: 100%; aspect-ratio: 2.35; object-fit: cover; object-position: center 42%; }
.policy-card figcaption { position: absolute; bottom: 5px; right: 5px; background: #fffafaed; color: #423338; padding: 1px 7px; font-size: .75rem; }
.policy-copy { flex: 1; display: flex; flex-direction: column; padding: clamp(16px, 3vw, 31px); }
.policy-goal { padding: 12px 14px; margin-top: auto; border-left: 3px solid #bd6181; background: #f7e9e9; }
.policy-copy > p:first-of-type { margin-bottom: 19px; }
.policy-goal strong { color: var(--accent-dark); display: block; }

.vision { padding-block: clamp(42px, 6vw, 78px); background: #60263d; color: #fff9f5; }
.vision-inner { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.vision h2 { font-size: 1rem; letter-spacing: .05em; color: #ffe1e6; margin-bottom: 10px; }
.vision-line { font: 700 clamp(1.65rem, 4.2vw, 3.32rem)/1.45 var(--serif); letter-spacing: -.055em; margin-bottom: 11px; }
.vision-inner > div > p:last-child { max-width: 580px; color: #fff0f0; }
.vision .button { flex: none; }

.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.filters button, .dialog-close { min-height: 44px; background: #fff; border: 1px solid #bf9aa6; padding: 5px 12px; font-size: .88rem; font-weight: 700; }
.filters button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: white; }
.filters button:hover:not([aria-pressed="true"]) { background: #fae8ec; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.photo-card { min-width: 0; border: 1px solid var(--line); background: white; }
.photo-frame { display: block; position: relative; aspect-ratio: 1.55; overflow: hidden; background: #f2ece7; }
.photo-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.photo-frame::after { content: "＋"; border: 1px solid #f4e5e8; position: absolute; right: 8px; bottom: 8px; color: var(--accent-dark); width: 30px; display: grid; place-items: center; height: 30px; background: #fffbf7f2; font-weight: 800; }
.photo-frame:hover::after { background: var(--accent); color: white; }
.photo-copy { padding: 10px 14px 13px; }
.photo-copy p { color: var(--accent-dark); font-size: .78rem; font-weight: 760; margin-bottom: 2px; }
.photo-copy h3 { font-size: 1.01rem; line-height: 1.45; }
.archive-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; }
.archive-status { min-width: 0; color: var(--muted); font-size: .85rem; }
.report-links { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }
.report-links ul { margin: 0 0 10px; padding: 0; list-style: none; }
.report-links li { padding-block: 7px; display: flex; flex-wrap: wrap; column-gap: 15px; }
.report-links time { color: var(--muted); font-size: .9rem; }
.report-links li a { font-weight: 730; text-underline-offset: .24em; }
.photo-dialog { width: min(780px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: clamp(10px, 2.4vw, 22px); border: 1px solid var(--line); background: #fffaf6; color: var(--ink); }
.photo-dialog::backdrop { background: #201719ce; }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; }
.dialog-bar h2 { font-size: clamp(1rem, 2.5vw, 1.32rem); line-height: 1.45; }
.dialog-close { flex: none; }
.photo-dialog > img { width: 100%; max-height: 73dvh; object-fit: contain; background: #f5ece8; }
body:has(.photo-dialog[open]) { overflow: hidden; }

.profile-grid { grid-template-columns: minmax(0, .63fr) minmax(0, 1.37fr); }
.profile-photo { justify-self: center; width: min(100%, 320px); aspect-ratio: 1; border: 1px solid var(--line); background: white; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-grid dl { margin-bottom: 15px; }
.profile-grid dl div { display: grid; grid-template-columns: 5.4em 1fr; gap: 7px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.profile-grid dt { font-weight: 780; }
.join { padding-block: clamp(40px, 6vw, 73px); background: #f0dce1; }
.join-panel { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr); border: 1px solid #e2bdc9; border-top: 4px solid var(--accent); background: #fffaf8; }
.join-panel > div { padding: clamp(19px, 4vw, 51px); }
.join h2 { font: 740 clamp(1.57rem, 3.75vw, 2.68rem)/1.4 var(--serif); margin-bottom: 9px; letter-spacing: -.055em; }
.join .button { margin-top: 16px; }
.join-hint { margin-top: 7px; color: var(--muted); font-size: .84rem; }
.contact { border-left: 1px solid var(--line); font-size: .93rem; overflow-wrap: anywhere; }
.contact h3 { margin-bottom: 5px; }
.contact p + p { margin-top: 8px; }
.site-footer { background: #30282b; color: #fff8f6; padding-block: 23px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 8px 25px; flex-wrap: wrap; }
.footer-row strong, .footer-row span { display: block; }
.footer-row span, .footer-row a { font-size: .82rem; }
.footer-row a:hover { color: #ffdee9; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 48px, 1168px); }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: .84rem; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --header: 63px; }
  .wrap { width: calc(100% - 32px); }
  .js .menu-toggle { display: flex; }
  .header-row { flex-wrap: wrap; gap: 0 10px; }
  .brand-mark { width: 34px; }
  .brand strong { font-size: 1.08rem; }
  .site-nav { width: 100%; padding-bottom: 5px; justify-content: flex-start; flex-wrap: wrap; }
  .js .site-nav { display: none; position: absolute; top: 100%; right: -16px; left: -16px; width: auto; background: #fffdfa; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px #3c172a1c; padding: 8px 16px 14px; }
  .js .site-nav.is-open { display: grid; gap: 2px; }
  .js .site-nav a { display: grid; align-items: center; min-height: 44px; padding: 7px 8px; border-bottom: 1px solid var(--line); }
  .js .site-nav .nav-join { margin-top: 5px; border-bottom-color: #c77490; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "portrait";
    gap: 22px;
    padding: 31px 0 0;
  }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.3rem); margin-bottom: 10px; }
  .hero-lead { font-size: .98rem; margin-bottom: 16px; }
  .hero-name { margin-bottom: 15px; }
  .place { margin-bottom: 11px; }
  .hero-wash { background: linear-gradient(180deg, #fbf4edf2 25%, #fbf4edc4 53%, #fbf4ed75); }
  .hero-film { object-position: center bottom; }
  .hero-media { width: min(100%, 450px); justify-self: start; padding-top: 8%; transform: translateX(-8px); }
  .portrait-frame > img { height: 110%; }
  .message-grid, .profile-grid, .join-panel { grid-template-columns: 1fr; gap: 20px; }
  .message-photo { order: 1; width: min(100%, 480px); }
  .profile-photo { order: 1; }
  .join-panel { gap: 0; }
  .contact { border-left: 0; border-top: 1px solid var(--line); }
  .naka-rows, .policy-grid { gap: 12px; }
  .vision-inner { flex-wrap: wrap; align-items: start; }
  .photo-grid { gap: 10px; }
  .photo-copy { padding: 8px; }
  .photo-copy h3 { font-size: .91rem; }
}
@media (max-width: 500px) {
  .naka-rows, .policy-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats div { grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .report-links time { display: block; flex-basis: 100%; }
}
@media (max-width: 355px) {
  .photo-grid { grid-template-columns: 1fr; }
  .hero-actions .button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
