/* Personal：生成りと墨を基調に、測定線と文字で階層をつくる。 */
:root {
  color-scheme: light;
  --paper: #f6f3ee;
  --ink: #1a1916;
  --ink-2: #66615a;
  --line: #b4b0a8;
  --accent: #b8351f;
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho", serif;
  --number: "Inter", var(--sans);
  --logo-plate: transparent;
  --rail: 162px;
  --gutter: 55px;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) { color-scheme: dark; --logo-plate: #f6f3ee; --paper: #15140f; --ink: #eeeae3; --ink-2: #b4aea4; --line: #666158; --accent: #ed806b; }
}
html[data-theme="dark"] { color-scheme: dark; --logo-plate: #f6f3ee; --paper: #15140f; --ink: #eeeae3; --ink-2: #b4aea4; --line: #666158; --accent: #ed806b; }
html[data-theme="light"] { color-scheme: light; --paper: #f6f3ee; --ink: #1a1916; --ink-2: #66615a; --line: #b4b0a8; --accent: #b8351f; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.85; line-break: strict; overflow-wrap: break-word; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h2 { font-size: 27.5px; letter-spacing: .08em; }
h3 { text-wrap: wrap; text-wrap: pretty; text-wrap: balance; }
.roles li, .annotation, .lineage p, .glyphs dt, .glyphs dd, .today { word-break: keep-all; }
.now-grid a, .colophon a { overflow-wrap: anywhere; }
p + p { margin-top: 21px; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .32em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
section, article, header, footer { scroll-margin-top: 34px; }
.folio { position: relative; max-width: 1168px; margin: 0 auto; padding: 0 55px; }
.measurement { position: absolute; top: 55px; bottom: 55px; left: calc(55px + var(--rail)); width: 1px; background: var(--line); pointer-events: none; }
.measurement::after { content: ""; position: absolute; inset: 0; background: var(--ink-2); transform-origin: top; transform: scaleY(0); }
@supports (animation-timeline: scroll()) {
  .measurement::after { animation: measure linear both; animation-timeline: scroll(); }
  @keyframes measure { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.cover { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 55px 89px; padding: 89px 0 144px calc(var(--rail) + var(--gutter)); }
.identity h1 { font-size: 27.5px; letter-spacing: .2em; }
.reading, .roman, .roles, .caption, .annotation, .section-head > p { color: var(--ink-2); font-size: 13px; }
.reading { margin-top: 13px; letter-spacing: .15em; }
.roman { margin-top: 0; font-family: var(--number); letter-spacing: .08em; }
.roles { list-style: none; padding: 0; margin: 55px 0 0; }
.roles li + li { margin-top: 8px; }
.marks { display: flex; gap: 21px; align-items: center; margin: 34px 0 0; padding: 0; }
.marks img { display: block; height: 64px; width: auto; }
.marks img, .now-grid img { background: var(--logo-plate); padding: 4px; box-sizing: content-box; }
.principle { display: flex; align-items: flex-start; gap: 21px; }
.principle-text { writing-mode: vertical-rl; font-family: var(--serif); font-size: clamp(44px, 6.2vw, 89px); line-height: 1.5; letter-spacing: .08em; white-space: nowrap; margin: 0; }
.principle-caption { writing-mode: vertical-rl; font-size: 13px; letter-spacing: .12em; color: var(--ink-2); padding-top: 8px; }
.cover-foot { grid-column: 1 / -1; display: flex; gap: 55px; align-items: flex-end; justify-content: space-between; }
.lede { max-width: 34em; }
.seal { writing-mode: vertical-rl; border: 1px solid var(--accent); color: var(--accent); font-family: var(--serif); font-size: 17px; padding: 8px 4px; letter-spacing: .12em; white-space: nowrap; flex-shrink: 0; }
.portrait { position: absolute; bottom: 34px; right: 0; width: 144px; aspect-ratio: 3 / 4; }
.section-head { margin-left: calc(var(--rail) + var(--gutter)); padding-top: 34px; border-top: 1px solid var(--line); margin-bottom: 55px; }
.section-head > p { margin-top: 13px; }
.word { position: relative; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: var(--gutter); margin-bottom: 55px; }
.word::before { content: ""; position: absolute; width: 13px; height: 1px; background: var(--ink-2); left: calc(var(--rail) - 6px); top: 16px; }
.annotation { padding: 5px 21px 0 0; text-align: right; font-family: var(--number); }
.annotation > span { display: block; }
.annotation > span:last-child { margin-top: 13px; }
.word-body h3 { display: block; max-width: 22em; font-family: var(--serif); font-size: clamp(27.5px, 3.5vw, 44.5px); line-height: 1.5; font-weight: 400; }
.word-body > p { margin-top: 21px; max-width: 39em; }
.word-origin { margin-bottom: 89px; }
.word-origin h3 { font-size: clamp(34px, 4.4vw, 55px); }
.word-long h3 { font-size: 27.5px; line-height: 1.85; }
.word.is-selected h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.share { display: inline-block; font-size: 13px; color: var(--ink-2); margin-top: 21px; padding-block: 8px; }
.lineage { list-style: none; padding: 21px 0 0; margin: 34px 0 0; border-top: 1px solid var(--line); display: flex; gap: 34px; }
.lineage li { flex: 1; position: relative; }
.lineage li + li::before { content: "→"; position: absolute; left: -25px; top: 0; color: var(--ink-2); }
.lineage span { font: 12px var(--number); color: var(--ink-2); }
.lineage p { white-space: nowrap; font: 17px/1.5 var(--serif); margin-top: 8px; }
.glyphs { display: flex; justify-content: space-between; gap: 13px; margin-top: 34px; }
.glyphs dt { font: 44.5px/1.5 var(--serif); }
.glyphs dd { font-size: 12px; color: var(--ink-2); }
.declaration { padding: 144px 55px 144px calc(var(--rail) + var(--gutter)); }
.declaration .section-head { margin-left: 0; }
.declaration blockquote > p { font: 27.5px/1.85 var(--serif); }
.declaration blockquote footer { text-align: right; margin-top: 34px; }
.timeline { padding-bottom: 144px; }
.life-track { position: relative; }
.past, .future { padding: 0; margin: 0; list-style: none; }
.past li, .future li { position: relative; display: grid; grid-template-columns: 89px 52px minmax(0, 1fr); gap: 21px; padding: 21px 0; }
.past li::before, .future li::before { content: ""; position: absolute; top: 36px; left: calc(var(--rail) - 6px); width: 13px; border-top: 1px solid var(--line); }
.year, .age { font-family: var(--number); font-variant-numeric: tabular-nums; text-align: right; }
.age { font-size: 13px; padding-top: 3px; color: var(--ink-2); }
.past li > p, .future li > p { margin-left: 34px; }
.future-block { position: relative; padding-top: 55px; }
.future-block::before { content: ""; position: absolute; left: var(--rail); top: 0; bottom: 0; border-left: 1px dashed var(--ink-2); background: var(--paper); width: 1px; }
.future-block h3 { margin: 0 0 21px calc(var(--rail) + var(--gutter)); font-size: 17px; }
.future .age { grid-column: 2; }
.today { position: absolute; left: calc(var(--rail) - 6px); top: var(--today-y, 0px); transform: translateY(-50%); margin: 0; z-index: 1; font: 12px/1.5 var(--number); color: var(--accent); background: var(--paper); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.today::before { content: ""; width: 13px; height: 5px; background: var(--accent); }
.now { padding-bottom: 144px; }
.now-grid { margin-left: calc(var(--rail) + var(--gutter)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: 89px 55px; }
.now-grid .company { grid-column: 1 / -1; max-width: 38em; }
.now-grid h3 { font-size: 21.6px; margin-bottom: 13px; }
.now-grid img { float: right; height: 64px; width: auto; max-width: 100%; object-fit: contain; margin: 0 0 21px 21px; }
.now-grid article > p + p { margin-top: 21px; }
.now-grid a { display: inline-block; margin-top: 21px; font-size: 13px; }
.now-grid ul { padding-left: 1em; margin: 21px 0 0; font-size: 15px; }
.now-grid li + li { margin-top: 13px; }
.now-grid li:nth-child(even) { margin-left: 13px; }
.genfukei { padding-bottom: 144px; }
.quiet-body { margin-left: calc(var(--rail) + var(--gutter)); max-width: 34em; }
.quiet-body h3 { font: 44.5px/1.5 var(--serif); margin: 89px 0 34px; }
.quiet-body .caption { margin-top: 34px; }
.influences { padding-bottom: 89px; }
.influence-list, .principles { margin-left: calc(var(--rail) + var(--gutter)); }
.influence-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: 34px; border-bottom: 1px solid var(--line); padding: 21px 0; }
.influence-list dt { font-size: 15px; }
.influence-list dd { font-size: 15px; color: var(--ink-2); }
.principles { margin-top: 55px; }
.principles h3 { font-size: 17px; }
.principles ol { padding-left: 1.5em; margin: 21px 0 0; columns: 2; column-gap: 55px; }
.principles li { padding-left: 8px; margin-bottom: 13px; font-size: 15px; break-inside: avoid; }
.principles li::marker { font-family: var(--number); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.colophon { margin-left: calc(var(--rail) + var(--gutter)); border-top: 1px solid var(--line); padding: 34px 0 89px; font-size: 13px; color: var(--ink-2); }
.colophon h2 { font-size: 17px; margin-bottom: 21px; }
.colophon p + p { margin-top: 8px; }
.colophon .contact { margin-top: 34px; }
@media (max-width: 760px) {
  :root { --rail: 0px; --gutter: 21px; }
  .folio { padding: 0 21px 0 16px; }
  .measurement { left: 16px; top: 34px; }
  .cover { padding-top: 55px; padding-bottom: 89px; gap: 34px 21px; }
  .identity h1 { font-size: 27.5px; }
  .roles { margin-top: 34px; font-size: 12px; }
  .principle { gap: 8px; }
  .principle-text { font-size: clamp(44px, 7.5vw, 57px); }
  .principle-caption { font-size: 11px; }
  .cover-foot { gap: 21px; }
  .lede { font-size: 15px; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 27.5px; }
  .word { display: block; padding-left: var(--gutter); margin-bottom: 55px; }
  .annotation { text-align: left; padding: 0; margin-bottom: 13px; display: flex; flex-wrap: wrap; gap: 4px 13px; font-size: 12px; }
  .annotation > span:last-child { margin-top: 0; }
  .word::before { top: 11px; }
  .word-body h3 { font-size: 27.5px; }
  .word-origin h3 { font-size: 34px; }
  .word-long h3 { font-size: 27.5px; }
  .lineage { flex-direction: column; gap: 13px; border-left: 1px solid var(--line); padding-left: 13px; }
  .lineage li + li::before { content: none; }
  .lineage span { font-size: 10.5px; }
  .lineage p { font-size: 15px; }
  .glyphs { gap: 8px; }
  .glyphs dt { font-size: 34px; }
  .glyphs dd { font-size: 11px; }
  .declaration { padding: 89px 13px 89px 34px; }
  .declaration blockquote > p { font-size: 27.5px; }
  .timeline, .now, .genfukei { padding-bottom: 89px; }
  .past li, .future li { grid-template-columns: 44px 34px minmax(0, 1fr); gap: 13px; padding: 26px 0 26px 21px; }
  .past li { padding: 21px 0 21px 21px; }
  .past li > p, .future li > p { margin: 0; font-size: 15px; }
  .year { font-size: 13px; padding-top: 2px; }
  .age { font-size: 11px; }
  .today { font-size: 11px; }
  .now-grid { grid-template-columns: minmax(0, 1fr); gap: 55px; }
  .now-grid .company { grid-column: auto; }
  .now-grid > article:nth-child(2) { margin-left: 21px; }
  .quiet-body h3 { margin-top: 55px; font-size: 34px; }
  .influence-list > div { display: block; }
  .influence-list dd { margin-top: 13px; }
  .principles ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .measurement::after { transform: none; }
}
@page { size: A4 portrait; margin: 18mm; }
@media print {
  :root, html[data-theme], html:not([data-theme="light"]) { --paper: #ffffff; --ink: #1a1916; --ink-2: #66615a; --line: #b4b0a8; --accent: #1a1916; --logo-plate: transparent; --rail: 0px; --gutter: 21px; color-scheme: light; }
  html, body { background: none; font-size: 11pt; }
  .folio { padding: 0 0 0 16px; max-width: none; }
  .measurement { left: 16px; top: 0; bottom: 0; }
  .measurement::after { animation: none; transform: none; }
  .share, .today { display: none !important; }
  .cover { padding-top: 0; padding-bottom: 34px; break-after: page; }
  .principle-text { font-size: 55px; }
  .word { display: block; padding-left: 21px; margin-bottom: 34px; break-inside: avoid; }
  .annotation { text-align: left; display: flex; gap: 13px; margin-bottom: 13px; }
  .annotation > span:last-child { margin-top: 0; }
  .word-body h3, .word-origin h3 { font-size: 24pt; }
  .word-long h3 { font-size: 18pt; }
  .section-head { break-after: avoid; }
  .declaration { padding: 55px 34px; }
  .timeline, .now, .genfukei, .influences { padding-bottom: 55px; }
  .past li, .future li, .influence-list > div, .now-grid article { break-inside: avoid; }
  .past li, .future li { grid-template-columns: 55px 34px minmax(0, 1fr); padding-left: 21px; }
  .past li > p, .future li > p { margin-left: 0; }
  a { text-decoration: none; }
  a::after { content: none !important; }
}

/* v1.1：寸法を保ったまま、線と言葉の読む順を示す。 */
html:not(.js) .measurement::after { animation: none; transform: none; }
html.js .motion-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--motion-duration) cubic-bezier(.2,.7,.2,1) var(--motion-delay),
    transform var(--motion-duration) cubic-bezier(.2,.7,.2,1) var(--motion-delay),
    clip-path var(--motion-duration) cubic-bezier(.2,.7,.2,1) var(--motion-delay);
}
html.js .motion-vertical { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
html.js .motion-horizontal { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
html.js .motion-seal { transform: scale(1.15); }
html.js .motion-fade { transform: none; }
html.js .motion-entered .motion-item,
html.js .motion-item.motion-entered { opacity: 1; transform: none; clip-path: inset(0); }
html.js .motion-word::before { transform: scaleX(0); transform-origin: left; transition: transform 180ms ease-out; }
html.js .motion-word.motion-entered::before { transform: scaleX(1); }
html.js .motion-word .lineage li::before { opacity: 0; transition: opacity 300ms 900ms; }
html.js .motion-word.motion-entered .lineage li::before { opacity: 1; }
html.js .motion-future::before { transform: scaleY(0); transform-origin: top; transition: transform 500ms; }
html.js .motion-future.motion-entered::before { transform: scaleY(1); }
html.js .motion-marker { opacity: 0; }
html.js .motion-line { animation: entrance-line 1200ms ease-out both; }
@keyframes entrance-line { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
html.js a { position: relative; }
html.js a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 250ms; }
html.js a:hover::after, html.js a:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce), print {
  html.js .motion-item, html.js .motion-marker { opacity: 1 !important; clip-path: none !important; }
  html.js .motion-item { transform: none !important; }
  html.js .motion-word::before, html.js .motion-future::before { transform: none !important; }
  html.js .motion-word .lineage li::before { opacity: 1 !important; }
  html.js .motion-item, html.js .today, html.js .motion-line,
  html.js *::before, html.js *::after { animation: none !important; transition: none !important; }
}
/* v1.2：三つの定義を、測定線と同じ太さの図で示す。 */
.trinity { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 55px; }
.trinity > li, .trinity-copy { min-width: 0; }
.trinity svg { display: block; width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; color: var(--ink-2); }
.trinity svg :is(path, line, circle) { vector-effect: non-scaling-stroke; stroke-width: 1px; fill: none; stroke-dashoffset: 0; }
.trinity-accent { color: var(--accent); }
.trinity-arc { opacity: .5; }
.trinity h4 { margin: 13px 0 0; font: 400 44.5px/1.5 var(--serif); }
.trinity .trinity-label { margin: 0; font-size: 13px; color: var(--ink-2); }
.trinity .trinity-definition { margin-top: 13px; font-size: 15px; }
@media (max-width: 760px) {
  .trinity { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .trinity > li { display: grid; grid-template-columns: minmax(104px, 34%) minmax(0, 1fr); align-items: start; }
  .trinity-copy { padding-left: 13px; }
  .trinity h4 { margin-top: 0; }
}
/* motion-word は既存の Observer に準備された項目だけに付く。 */
html.js .motion-word .trinity-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .motion-word .trinity-point { transform: scale(0); transform-box: fill-box; transform-origin: center; }
html.js .motion-word.motion-entered .trinity-draw { animation: trinity-draw var(--draw-duration) ease-out var(--draw-delay) both; }
html.js .motion-word.motion-entered .trinity-point { animation: trinity-point var(--draw-duration) ease-out var(--draw-delay) both; }
html.js .motion-word.motion-entered .trinity-arc { animation: trinity-draw var(--draw-duration) ease-out var(--draw-delay) both, trinity-breathe 6s ease-in-out 2880ms infinite; }
html.js .motion-word.motion-entered .trinity-float { animation: trinity-float var(--float-period) ease-in-out 2180ms infinite; }
@keyframes trinity-draw { from { stroke-dashoffset: 1; stroke-dasharray: 1; } 99.999% { stroke-dasharray: 1; } to { stroke-dashoffset: 0; stroke-dasharray: none; } }
@keyframes trinity-point { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes trinity-breathe { 0%, 100% { opacity: .5; } 25% { opacity: .7; } 75% { opacity: .35; } }
@keyframes trinity-float { 0%, 50%, 100% { transform: translateY(0); } 25% { transform: translateY(-3px); } 75% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce), print {
  html.js .motion-word .trinity svg * { animation: none !important; transform: none !important; stroke-dashoffset: 0 !important; stroke-dasharray: none !important; }
  html.js .motion-word .trinity-arc { opacity: .5; }
}
