/*
Theme Name: Akinori Yagi Official
Theme URI: https://akinori-yagi.jp/
Author: Akinori Yagi Supporters Association
Description: Original WordPress theme for the Akinori Yagi official website.
Version: 1.0.30
Text Domain: akinori-yagi
*/

:root {
  --paper: #f3f4f2;
  --paper-2: #ecefe9;
  --ink: #152026;
  --muted: #607078;
  --blue: #0c6f91;
  --blue-deep: #094a66;
  --green: #537b57;
  --yellow: #f1c94b;
  --line: rgba(21,32,38,.13);
  --white: #fff;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(14,35,45,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  letter-spacing: .035em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(243,244,242,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  display: block;
  width: 70px; height: auto;
}
.brand-text small { display: block; font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.global-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.global-nav a { border-bottom: 1px solid transparent; }
.global-nav a:hover { border-color: currentColor; }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--white); }
.menu-toggle { display: none; border: 0; background: transparent; font-weight: 900; }

.section-pad { padding: clamp(86px, 10vw, 150px) clamp(20px, 6vw, 100px); }
.band { padding: clamp(80px, 9vw, 140px) clamp(20px, 7vw, 112px); }
.eyebrow { margin: 0 0 16px; font-size: 11px; font-weight: 900; letter-spacing: .22em; color: var(--blue); }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  overflow: hidden;
}
.hero-copy .hero-catch {
  margin: 0;
  font-size: clamp(58px, 8vw, 132px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 900;
}
.hero-copy .hero-catch span { color: var(--blue); }
.hero-lead { margin: 34px 0 0; font-size: clamp(17px, 1.55vw, 23px); line-height: 1.8; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 23px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.button.primary { background: var(--ink); color: var(--white); }
.button.ghost { border: 1px solid var(--ink); }
.hero-note { margin-top: 26px; font-size: 12px; color: var(--muted); }

.hero-collage { position: relative; min-height: 690px; }
.photo-card { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption { position: absolute; inset: auto 12px 12px; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 10px; line-height: 1.3; font-weight: 800; }
.photo-a { width: 56%; height: 58%; top: 0; right: 3%; transform: rotate(2deg); }
.photo-b { width: 50%; height: 44%; bottom: 2%; left: 0; transform: rotate(-3deg); }
.photo-c { width: 48%; height: 38%; bottom: 5%; right: 0; transform: rotate(2deg); }

.manifesto { background: var(--blue-deep); color: var(--white); }
.section-title { max-width: 980px; }
.section-title .eyebrow { color: #8fd7ed; }
.section-title h2, .section-heading h2, .future h2, .plusone h2, .values-copy h2, .profile-head h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.18;
  letter-spacing: -.045em;
}
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 60px; border: 1px solid rgba(255,255,255,.23); }
.manifesto-grid p { margin: 0; padding: 28px; border: 1px solid rgba(255,255,255,.13); font-size: clamp(16px, 1.6vw, 23px); font-weight: 700; }
.manifesto-close { margin: 42px 0 0; font-size: clamp(18px, 1.8vw, 26px); }
.manifesto-close strong { color: var(--yellow); }

.section-heading { max-width: 980px; margin-bottom: 90px; }
.section-heading > p:last-child { max-width: 680px; margin: 26px 0 0; color: var(--muted); }
.story { background: var(--paper); }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; padding: 88px 0; border-top: 1px solid var(--line); }
.story-row.text-only { grid-template-columns: minmax(0, 820px); justify-content: center; }
.story-row.reverse .story-copy { order: 2; }
.story-row.reverse .story-media { order: 1; }
.story-no { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px; border: 1px solid var(--ink); border-radius: 50%; font-weight: 900; }
.kicker { margin: 0 0 9px; color: var(--blue); font-weight: 900; }
.story-copy h3 { margin: 0 0 24px; font-size: clamp(31px, 3.5vw, 56px); line-height: 1.25; letter-spacing: -.035em; }
.story-copy p { max-width: 660px; color: #3e4c52; }
.story-copy .inline-quote { margin-top: 32px; padding-left: 22px; border-left: 5px solid var(--yellow); font-size: clamp(20px, 2vw, 30px); font-weight: 900; color: var(--ink); }
.story-media img { border-radius: 22px; box-shadow: 0 18px 46px rgba(12,35,45,.1); }
.childhood-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; align-items: end; }
.childhood-grid img:first-child { transform: translateY(-26px) rotate(-2deg); }
.childhood-grid img:last-child { transform: rotate(1.5deg); }
.single-media figcaption { margin-top: 12px; font-size: 11px; color: var(--muted); }
.return-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.return-gallery figure { margin: 0; }
.return-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.return-gallery figure:last-child { margin-top: 54px; }
.family-gallery { grid-template-columns: 1fr; gap: 22px; align-self: start; position: sticky; top: 110px; }
.family-gallery figure:last-child { margin-top: 0; }
.asagao-gallery figure:first-child { grid-column: 1 / -1; }
.asagao-gallery figure:first-child img { aspect-ratio: 16 / 9; }
.asagao-gallery figure:last-child { margin-top: 0; }
.baby-pair { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; align-items: end; }
.family-story-media img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: center; }
.kokage-media img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: center; }
.youth-story { margin-top: 72px; padding: clamp(54px, 7vw, 92px); border: 0; border-radius: 36px; background: #dfeae1; }
.youth-story .story-no { border-color: var(--green); color: var(--green); }
.youth-story .generation-message { margin: 28px 0; padding: 24px 26px; border-radius: 18px; background: rgba(255,255,255,.62); color: var(--ink); line-height: 2; }
.apple-media img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: center; }
.type-card { min-height: 430px; display: grid; place-items: center; border-radius: var(--radius); background: linear-gradient(145deg, #0d5f7a, #143846); color: var(--white); box-shadow: var(--shadow); }
.type-graphic { padding: 48px; }
.type-graphic span { font-size: 13px; letter-spacing: .28em; color: #a8dae8; }
.type-graphic strong { display: block; margin: 18px 0; font-size: clamp(38px, 4vw, 64px); line-height: 1.15; }
.type-graphic small { display: block; color: #c4d6dc; }

.quote-break { max-width: 1120px; margin: 80px auto 140px; padding: clamp(48px, 7vw, 92px); border-radius: 36px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.quote-break .eyebrow { color: var(--yellow); }
.quote-break blockquote { margin: 10px 0 28px; font-size: clamp(48px, 7vw, 100px); line-height: 1.08; letter-spacing: -.06em; font-weight: 900; }
.quote-break p { max-width: 850px; color: #d3dde0; }
.quote-break .quote-sub { margin-top: 38px; color: var(--white); font-size: clamp(21px, 2.4vw, 36px); font-weight: 900; }
.quote-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.quote-gallery figure { margin: 0; }
.quote-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.quote-gallery figcaption { margin-top: 10px; font-size: 11px; color: #b9c6ca; }

.vision { background: #dfeae1; }
.vision-intro { max-width: 980px; margin: 0 0 clamp(42px, 6vw, 76px); padding: clamp(28px, 4vw, 48px); border-left: 7px solid var(--yellow); border-radius: 0 24px 24px 0; background: rgba(255,255,255,.62); }
.vision-intro p { margin: 0; color: #3f5343; }
.vision-intro p + p { margin-top: 14px; }
.vision-intro .vision-kicker { margin-bottom: 20px; color: var(--ink); font-size: clamp(24px, 3vw, 42px); line-height: 1.4; font-weight: 900; letter-spacing: -.025em; }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vision-card { min-height: 330px; padding: 34px; border-radius: 26px; background: rgba(255,255,255,.72); border: 1px solid rgba(57,89,61,.13); }
.vision-card span { color: var(--green); font-weight: 900; }
.vision-card h3 { margin: 54px 0 16px; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.3; }
.vision-card p { color: #475b4b; }

.values { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.values-photo img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); }
.values-copy p { color: #46555c; }
.values-emphasis { margin-top: 36px; font-size: clamp(22px, 2.6vw, 38px); font-weight: 900; color: var(--blue-deep) !important; }

.future { background: var(--yellow); }
.future-inner { max-width: 1040px; margin: 0 auto; }
.future .eyebrow { color: var(--ink); }
.future blockquote { margin: 54px 0 34px; padding: 0; font-size: clamp(29px, 4vw, 56px); line-height: 1.65; letter-spacing: -.035em; font-weight: 800; }
.future blockquote strong { border-bottom: 6px solid var(--ink); }
.future-inner > p:last-child { max-width: 700px; font-weight: 700; }

.profile-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(34px, 6vw, 90px); margin-top: 62px; align-items: start; }
.profile-grid.profile-text-only { grid-template-columns: minmax(0, 900px); }
.profile-head h2 small { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .18em; color: var(--muted); }
.profile-photo img { border-radius: 26px; }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
dt { font-weight: 900; color: var(--blue); }
dd { margin: 0; }

.plusone { padding: clamp(90px, 10vw, 150px) clamp(20px, 6vw, 100px); background: var(--blue); color: var(--white); }
.plusone-inner { max-width: 980px; margin: auto; }
.plusone .eyebrow { color: #9adbef; }
.plusone > .plusone-inner > p { max-width: 720px; }
.plusone-form { margin-top: 42px; }
.plusone-form label { display: block; margin-bottom: 10px; font-weight: 900; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.input-row input { min-height: 58px; padding: 0 20px; border: 0; border-radius: 15px; background: var(--white); color: var(--ink); }
.input-row button { border: 0; border-radius: 15px; padding: 0 24px; background: var(--yellow); color: var(--ink); font-weight: 900; cursor: pointer; }
.plusone-form .plusone-name { display: block; margin: 18px 0 8px; font-size: 12px; font-weight: 800; color: #c8e5ee; }
.plusone-name-input { width: min(100%, 360px); min-height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; }
.plusone-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.input-row button:disabled { opacity: .6; cursor: wait; }
.form-note { font-size: 12px; color: #c8e5ee; }
.saved-message { min-height: 1.6em; font-weight: 900; color: var(--yellow); }

.join { background: var(--paper-2); }
.join-inner { max-width: 980px; margin: auto; }
.join-inner > p { max-width: 720px; }
.join-inner > .join-sub { color: var(--muted); font-size: 13px; }
.join-form { margin-top: 42px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.join-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 900; }
.join-form label.wide { grid-column: 1 / -1; }
.join-form small { color: var(--muted); font-size: 11px; font-weight: 600; }
.join-form .lab { display: flex; gap: 8px; align-items: center; }
.join-form .req { padding: 1px 8px; border-radius: 999px; background: var(--yellow); font-size: 10px; }
.join-form input[type="text"], .join-form input[type="email"], .join-form input[type="tel"], .join-form input[type="date"], .join-form textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 500; }
.join-form textarea { min-height: 120px; resize: vertical; }
.join-form input:focus, .join-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.join-form label.check { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.join-form label.check input { width: 20px; height: 20px; flex: none; accent-color: var(--green); }
.join-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-privacy { margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: var(--paper); }
.join-privacy p { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.join-submit { width: 100%; min-height: 60px; margin-top: 24px; border: 0; border-radius: 999px; background: var(--green); color: var(--white); font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; }
.join-submit:disabled { opacity: .55; cursor: wait; }
.join-message { min-height: 1.6em; margin: 14px 0 0; font-weight: 900; color: var(--blue-deep); }
.join-form.is-sent .join-message { color: var(--green); }
.join-alt a { color: var(--blue-deep); font-weight: 800; text-decoration: underline; }
.join-note, .join-fallback { color: var(--muted); font-size: 11px; }
.join-fallback { font-size: 14px; margin-top: 30px; }

.promises { background: var(--paper); }
.nowrap { display: inline-block; }
.promise-list { display: grid; gap: 14px; max-width: 980px; margin: 0; padding: 0; list-style: none; }
.promise-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 26px 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.promise-list li > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); font-size: 22px; font-weight: 900; }
.promise-list h3 { margin: 4px 0 8px; font-size: clamp(19px, 2vw, 26px); line-height: 1.4; }
.promise-list p { margin: 0; color: var(--muted); }
.promise-steps { max-width: 980px; margin: 28px 0 0; padding: 18px 24px; border-left: 7px solid var(--green); border-radius: 0 18px 18px 0; background: #dfeae1; font-weight: 800; }
.promise-steps strong { margin-right: 14px; color: var(--green); }
.footer-contact p { margin: 0; line-height: 1.9; }
.footer-contact a { text-align: left; text-decoration: underline; }
.story-more { display: none; margin-top: 4px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }

.privacy-inner { max-width: 760px; margin: auto; }
.privacy h1 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 46px); }
.privacy h2 { margin: 38px 0 10px; font-size: 19px; }
.privacy ul { padding-left: 1.3em; }
.privacy a { text-decoration: underline; }
.privacy .button { text-decoration: none; margin-top: 18px; }
.privacy-date { margin-top: 38px; color: var(--muted); font-size: 13px; }

.hero-name { margin: 30px 0 0; font-size: clamp(30px, 3.2vw, 46px); font-weight: 900; line-height: 1.2; letter-spacing: .02em; }
.hero-name small { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.hero-copy .hero-lead { margin-top: 26px; }
.hero-sub { margin: 8px 0 0; color: var(--muted); font-weight: 700; }
.hero-note a { text-decoration: underline; }
.photo-portrait { width: 62%; height: 92%; top: 0; right: 2%; background: #dcddd5; }
.photo-portrait img { object-position: 50% 12%; }
.news-band { padding: 18px clamp(20px, 6vw, 100px); background: var(--yellow); }
.news-band p { max-width: 1100px; margin: 0 auto; }
.news-band strong { display: block; font-size: 15px; }
.news-band span { font-size: 13px; }
.vision-grid.pillars { grid-template-columns: repeat(3, 1fr); }
.vision-grid.pillars .vision-card h3 { margin-top: 40px; font-size: clamp(21px, 2vw, 30px); }
.pillar-link { margin: 18px 0 0; color: var(--green) !important; font-size: 13px; font-weight: 800; }
.works { background: var(--white); }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 1100px; }
.works-card { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); border-top: 6px solid var(--green); }
.works-card h3 { margin: 0 0 10px; font-size: clamp(19px, 1.8vw, 24px); }
.works-card p { margin: 0; color: var(--muted); }
.career-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 0 28px; }
.career-stats div { padding: 24px 26px; border-radius: 22px; background: var(--ink); color: var(--white); }
.career-stats strong { display: block; font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -.04em; color: var(--yellow); }
.career-stats small { font-size: .38em; margin-left: 4px; color: var(--white); }
.career-stats span { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; }
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; }
.career-block { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); border-top: 6px solid var(--green); }
.career-label { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--green); }
.career-block h3 { margin: 0 0 14px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; }
.career-block ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.career-block li { margin: 0 0 8px; line-height: 1.6; }
.activity { background: var(--paper-2); }
.activity-list { display: grid; gap: 12px; max-width: 980px; }
.activity-item { display: grid; gap: 4px; padding: 22px 26px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.activity-item time { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.activity-item strong { font-size: 18px; }
.activity-item span { color: var(--muted); font-size: 14px; }
.single-post { max-width: 760px; margin: auto; }
.single-post h1 { margin: 8px 0 24px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.35; }
.single-post time { color: var(--green); font-weight: 800; font-size: 13px; }
.single-post .entry img { height: auto; border-radius: 16px; }
.single-post .entry a { text-decoration: underline; }

.chapter-head { display: flex; gap: 18px; align-items: center; max-width: 1180px; margin: clamp(56px, 8vw, 110px) auto 0; padding-top: 28px; border-top: 2px solid var(--ink); }
.section-heading + .chapter-head { margin-top: 0; }
.chapter-head + .story-row { border-top: 0; padding-top: 48px; }
.chapter-head + .quote-break { margin-top: 40px; }
.chapter-head span { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); font-size: 20px; font-weight: 900; }
.chapter-head p { margin: 0; font-size: clamp(18px, 2vw, 26px); font-weight: 800; line-height: 1.4; }
.chapter-head strong { margin-right: 14px; color: var(--green); }

.inline-quote small { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: end; padding: 46px clamp(20px, 6vw, 100px); background: #101b20; color: var(--white); }
.site-footer strong { display: block; font-size: 24px; }
.site-footer span, .site-footer p, .site-footer a { color: #aebcc1; font-size: 12px; }
.site-footer p { margin: 0; }
.site-footer a { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .vision-grid.pillars { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .global-nav {
    position: absolute; top: 78px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 22px 24px;
    background: rgba(243,244,242,.98); border-bottom: 1px solid var(--line);
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 13px 0; }
  .nav-cta { padding: 13px 16px !important; text-align: center; margin-top: 8px; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-collage { min-height: 560px; }
  .story-row, .values, .profile-grid { grid-template-columns: 1fr; }
  .story-row.reverse .story-copy, .story-row.reverse .story-media { order: initial; }
  .story-row { gap: 40px; padding: 64px 0; }
  .youth-story { margin-top: 50px; padding: 48px 34px; }
  .vision-grid { grid-template-columns: 1fr; }
  .values-photo { max-width: 560px; }
}

@media (max-width: 640px) {
  body { line-height: 1.82; }
  .site-header { min-height: 66px; }
  .brand-mark { width: 60px; }
  .global-nav { top: 66px; }
  .section-pad, .band { padding-left: 18px; padding-right: 18px; }
  .join-grid { grid-template-columns: 1fr; }
  .chapter-head span { width: 44px; height: 44px; font-size: 17px; }
  .chapter-head strong { display: block; margin: 0 0 2px; font-size: 13px; }
  .vision-grid.pillars, .works-grid, .career-grid, .career-stats { grid-template-columns: 1fr; }
  .photo-portrait { width: 78%; height: 90%; right: 0; }
  .vision-grid.pillars .vision-card { min-height: 0; }
  .promise-list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; }
  .promise-list li > span { width: 40px; height: 40px; font-size: 18px; }
  .story-copy.is-collapsible:not(.is-open) > p:nth-of-type(n+3) { display: none; }
  .story-copy.is-collapsible .story-more { display: inline-flex; }
  .hero-copy .hero-catch { font-size: clamp(54px, 20vw, 82px); }
  .hero-collage { min-height: 500px; margin: 10px -8px 0; }
  .photo-a { width: 66%; height: 47%; }
  .photo-b { width: 59%; height: 37%; }
  .photo-c { width: 52%; height: 31%; bottom: 8%; }
  .photo-card figcaption { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-grid p { padding: 21px; }
  .section-heading { margin-bottom: 54px; }
  .childhood-grid { grid-template-columns: 1fr 1fr; }
  .return-gallery { grid-template-columns: 1fr; }
  .return-gallery figure:last-child { margin-top: 16px; }
  .family-gallery { position: static; }
  .story-copy h3 { font-size: 34px; }
  .youth-story { margin-left: -2px; margin-right: -2px; padding: 36px 22px; border-radius: 24px; }
  .youth-story .generation-message { padding: 20px 18px; }
  .quote-break { margin: 44px -2px 90px; padding: 34px 24px; border-radius: 24px; }
  .quote-break blockquote { font-size: 52px; }
  .quote-gallery { grid-template-columns: 1fr; margin-top: 30px; }
  .type-card { min-height: 320px; }
  .type-graphic { padding: 30px; }
  .vision-card { min-height: auto; }
  .vision-card h3 { margin-top: 30px; }
  .input-row { grid-template-columns: 1fr; }
  .input-row button { min-height: 54px; }
  dl > div { grid-template-columns: 1fr; gap: 5px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer a { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 地域カルテへの導線（THEMES の下） */
.karte-link { margin-top: 34px; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: start; }
.karte-link h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; }
.karte-link p { margin: 0; color: var(--muted); }
.karte-link .eyebrow { color: var(--blue); }
.promise-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ===== 2026-10-07 デザイン改修（Codex「design-refinement.css」を取り込み） =====
   明朝の見出し・白地・角なし・影なし。ロゴは名刺の「+1」マーク（SVG）のまま。 */
/* Design refinement for the live v1.0.18 theme. Append after existing CSS. */
:root{--paper:#fff;--paper-2:#f7f6f2;--ink:#25313b;--muted:#62686d;--blue:#495c68;--blue-deep:#25313b;--yellow:#dfc668;--radius:0px;--shadow:none}
body{background:#fff;line-height:1.95;letter-spacing:.04em}
.site-header{background:rgba(255,255,255,.96);backdrop-filter:none;min-height:88px}
.nav-cta,.button{border-radius:0}
.global-nav{letter-spacing:.03em;font-weight:600;gap:22px}
.nav-cta{background:transparent;color:var(--ink);border:1px solid var(--ink);padding:12px 18px}
.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);padding-top:48px;padding-bottom:64px;gap:5vw;min-height:0;align-items:center}
.hero-copy .hero-catch{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(46px,5.5vw,84px);font-weight:500;line-height:1.42;letter-spacing:.02em}
.hero-copy .hero-catch span{color:var(--ink);white-space:nowrap}
.hero-copy .hero-catch:after{content:"";display:block;width:52px;height:3px;background:var(--yellow);margin-top:25px}
.hero-name{font-size:clamp(28px,3vw,40px);font-weight:700}
.hero-name small{font-weight:400;line-height:1.8}
.hero-lead{font-weight:500;font-size:clamp(17px,1.5vw,21px)}
.hero-collage{min-height:0}
.hero-collage .photo-card{position:relative;width:100%;height:auto;inset:auto;transform:none;border-radius:0;box-shadow:none}
.hero-collage .photo-portrait img{aspect-ratio:4/5;object-fit:cover;object-position:center}
.hero-collage .photo-b{display:none}
.photo-card figcaption{position:static;background:transparent;border-radius:0;padding:12px 0;color:var(--muted);font-weight:400;font-size:12px}
.button{font-weight:600;min-height:48px;padding:0 18px}
.section-pad,.band{padding-top:88px;padding-bottom:88px}
.hero.section-pad{padding-top:48px;padding-bottom:64px}
.manifesto{background:#f7f6f2;color:var(--ink)}
.manifesto .eyebrow,.section-title .eyebrow{color:var(--muted)}
.manifesto-grid{border:0;gap:0 40px;margin-top:40px}
.manifesto-grid p{border:0;border-bottom:1px solid var(--line);padding:20px 0;font-weight:500}
.manifesto-close strong{color:var(--ink)}
h2{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:500!important;letter-spacing:.015em!important}
.section-title h2,.section-heading h2,.future h2,.plusone h2,.values-copy h2,.profile-head h2{font-size:clamp(30px,3.7vw,54px);line-height:1.55}
.section-heading{margin-bottom:48px}
.story-media img,.quote-break,.youth-story,.generation-message,.vision-intro,.vision-card,.works-card,.type-card{border-radius:0!important;box-shadow:none!important}
.story-row{padding:60px 0;gap:5vw}
.story-copy h3{font-size:clamp(27px,3vw,42px);font-weight:600;line-height:1.5}
.story-no{border-radius:0;border:0;border-bottom:2px solid var(--yellow)}
.quote-break{background:#f7f6f2;color:var(--ink);border-left:3px solid var(--yellow);margin:45px auto 70px;padding:40px}
.quote-break p,.quote-break .quote-sub{color:var(--ink)}
.quote-break blockquote{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:500;font-size:clamp(34px,5vw,64px)}
.vision,.youth-story{background:#f7f6f2}
.vision-card{background:transparent!important;border-top:1px solid var(--line)}
.promise-list{max-width:none;gap:0}
.promise-list li{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:28px 0;grid-template-columns:64px 1fr}
.promise-list li:last-child{border-bottom:1px solid var(--line)}
.promise-list li>span{background:none;border-radius:0;font-family:serif;font-size:30px;font-weight:400;color:#82743d}
.works-card{background:transparent!important;border-top:1px solid var(--line);padding:24px 0!important}
.reveal{opacity:1!important;transform:none!important}
a:focus-visible,button:focus-visible{outline:2px solid #82743d;outline-offset:5px}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:30px}.hero-copy .hero-catch{font-size:clamp(40px,8vw,66px)}.hero-collage{max-width:620px;width:100%;margin:auto}.hero-collage .photo-portrait img{aspect-ratio:4/3;object-position:center 35%}.section-pad,.band{padding-top:60px;padding-bottom:60px}.hero.section-pad{padding-top:34px;padding-bottom:44px}.global-nav{gap:15px}.story-row{gap:30px}.quote-break{padding:28px}}
@media(max-width:560px){.hero-copy .hero-catch{font-size:clamp(36px,9.5vw,52px)}.hero-actions{gap:10px}.hero-actions .button{font-size:12px;padding:0 12px}.promise-list li{grid-template-columns:38px 1fr;gap:12px}.manifesto-grid{grid-template-columns:1fr}.hero-name small{font-size:12px}.site-header{min-height:72px}.hero-collage .photo-portrait img{aspect-ratio:4/5}}

.karte-link{border-radius:0;box-shadow:none;background:#f7f6f2;border-left:3px solid var(--yellow)}
.karte-link .eyebrow{color:var(--muted)}
.karte-link h3{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:500}
.promise-list a{color:var(--ink)}
/* 名前は SEO 上 h1 だが、見た目は Codex 版どおり太いゴシックのまま */
.hero-copy h1.hero-name{font-family:inherit;font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.2;letter-spacing:.02em}
.hero-copy h1.hero-name:after{content:none}


/* Adobe Fonts: 2026-10-08 */
body { font-family: "source-han-sans-japanese", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.hero-copy .hero-catch, h2, .quote-block blockquote, .karte-link h3 { font-family: "ten-mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 400 !important; }
.hero-copy h1.hero-name { font-family: "source-han-sans-japanese", sans-serif; font-weight: 700; }
button, input, select, textarea { font-family: inherit; }
.quote-break blockquote { font-family: "ten-mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 400; }
.global-nav, .button, button { font-weight: 500; }

/* ===== 姫路の棚卸し帖（2026-10-19）：トップの欄・一覧 /blog/・記事ページ ===== */
.note-chip{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;line-height:1;letter-spacing:.06em;padding:5px 9px;border:1px solid var(--line);color:var(--ink);background:var(--white);white-space:nowrap;text-decoration:none}
.note-chip i{width:7px;height:7px;border-radius:50%;background:var(--dot,#82743d);display:inline-block}
.c-history{--dot:#82743d}.c-architecture{--dot:#008fd0}.c-machizukuri{--dot:#48b969}.c-chiiki69{--dot:#dfc668}.c-art-design{--dot:#c27a5b}.c-activity{--dot:#8a9196}
a.note-chip.is-on{background:var(--ink);color:var(--white);border-color:var(--ink)}
a.note-chip.is-on i{background:var(--white)}
a.note-chip:focus-visible,.notes-posts a:focus-visible,.notes-card:focus-visible{outline:2px solid #82743d;outline-offset:4px}

.notes{background:var(--paper-2);position:relative}
.notes-anchor{position:absolute;top:0}
.notes-top{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,5vw,72px);max-width:1180px;margin:0 auto;align-items:start}
.notes-copy{display:grid;gap:16px;justify-items:start}
.notes-copy h2{margin:0}
.notes-copy h2::after{content:"";display:block;width:44px;height:3px;background:var(--yellow);margin-top:18px}
.notes-copy p{margin:0}
.notes-by{display:flex;align-items:center;gap:12px;font-size:12.5px;color:var(--muted)}
.notes-by img{width:58px;height:auto}
.notes-posts{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.notes-posts li{border-bottom:1px solid var(--line)}
.notes-posts a{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;align-items:center;padding:18px 4px;text-decoration:none}
.notes-posts time{font-size:13px;color:var(--muted);letter-spacing:.06em;font-variant-numeric:tabular-nums}
.notes-posts .note-chip{justify-self:start}
.notes-posts strong{grid-column:1/-1;font-family:"ten-mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400;font-size:18px;line-height:1.65}
.notes-posts a:hover strong{text-decoration:underline;text-underline-offset:4px}
.notes-empty{padding:18px 4px;color:var(--muted);font-size:14px}

.notes-list{max-width:1180px;margin:0 auto;display:grid;gap:26px}
.notes-list-head{display:grid;gap:10px}
.notes-list-head h1{margin:0;font-family:"ten-mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400;font-size:clamp(30px,4vw,48px);line-height:1.4}
.notes-list-head p{margin:0;max-width:44em;color:var(--muted)}
.notes-filter{display:flex;flex-wrap:wrap;gap:8px}
.notes-area{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px;color:var(--muted)}
.notes-area select{font:inherit;font-size:13px;padding:6px 10px;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:0}
.notes-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.notes-card{display:grid;gap:10px;align-content:start;text-decoration:none}
.notes-thumb{display:block;aspect-ratio:4/3;max-width:100%;background:var(--paper-2);border:1px solid var(--line);overflow:hidden}
.notes-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.notes-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;color:var(--muted)}
.notes-card strong{font-family:"ten-mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400;font-size:18px;line-height:1.6}
.notes-card:hover strong{text-decoration:underline;text-underline-offset:4px}
.notes-area-name{font-size:12px;color:var(--muted)}
.notes-pager{display:flex;gap:8px;justify-content:center}
.notes-pager a{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);text-decoration:none;font-size:13px}
.notes-pager a.is-on{background:var(--ink);color:var(--white);border-color:var(--ink)}
.notes-back{display:flex;flex-wrap:wrap;gap:10px}

.note-article{max-width:760px;margin:0 auto;display:grid;gap:18px}
.note-article .note-chip{justify-self:start}
.note-crumb{margin:0;font-size:12px;color:var(--muted)}
.note-crumb a{text-decoration:none}
.note-crumb a:hover{text-decoration:underline}
.note-article h1{margin:0;font-family:"ten-mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400;font-size:clamp(26px,3.6vw,40px);line-height:1.5}
.note-byline{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding-bottom:20px;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.note-byline time{color:var(--muted);font-weight:400;font-size:12.5px}
.note-article .entry{display:grid;gap:18px;line-height:2}
.note-article .entry > *{margin:0}
.note-article .entry h2{font-family:"ten-mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400;font-size:24px;line-height:1.55;padding-bottom:8px;border-bottom:1px solid var(--line);margin-top:14px}
.note-article .entry h3{font-size:18px;margin-top:8px}
.note-article .entry figure{margin:0;display:grid;gap:8px}
.note-article .entry img{border-radius:0}
.note-article .entry figcaption{font-size:12.5px;color:var(--muted)}
.note-article .entry ul,.note-article .entry ol{padding-left:1.3em;display:grid;gap:4px}
.note-ask{border:1px solid var(--ink);padding:24px;display:grid;gap:12px;margin-top:12px}
.note-ask p{margin:0}
.note-ask-q{font-family:"ten-mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-size:20px;line-height:1.7}
.note-ask-btns{display:flex;flex-wrap:wrap;gap:10px}
.note-author{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;border-top:1px solid var(--line);padding-top:18px;font-size:13.5px}
.note-author p{margin:0}
.note-author img{width:64px;height:auto}
.note-prevnext{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:13.5px}
.note-prevnext a{border:1px solid var(--line);padding:12px 14px;text-decoration:none;display:grid;gap:4px}
.note-prevnext a.is-next{text-align:right;grid-column:2}
@media (max-width:900px){
  .notes-top{grid-template-columns:1fr}
  .notes-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .notes-cards{grid-template-columns:1fr}
  .note-prevnext{grid-template-columns:1fr}
  .note-prevnext a.is-next{grid-column:auto;text-align:left}
}

/* 棚卸し帖の副題と、#notes へ飛んだときの固定ヘッダー分の余白（2026-10-20） */
.notes-sub{display:block;margin-top:10px;font-family:"source-han-sans-japanese","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:15px;font-weight:500;letter-spacing:.12em;color:var(--muted);line-height:1.6}
.notes,#notes,#activity{scroll-margin-top:96px}
