/* 読むことを先に。動きが使えない環境でも内容を残します。 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--body) / 1.9 var(--font-ja);
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  font-feature-settings: "palt";
  line-height: 1.4;
  letter-spacing: 0.02em;
  word-break: auto-phrase;
  text-wrap: balance;
}
h1 {
  font-size: var(--h1);
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
}
h4 {
  font-size: 20px;
}
p {
  max-width: 35em;
  text-wrap: pretty;
}
p + p {
  margin-top: var(--s3);
}
ul,
ol {
  padding-left: 1.4em;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}
a,
button,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}
button {
  background: none;
}
button,
a {
  touch-action: manipulation;
}
button,
input,
textarea {
  border-radius: var(--radius);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
input:focus-visible,
textarea:focus-visible {
  outline-offset: 3px;
}
::selection {
  background: var(--navy);
  color: var(--white);
}
[hidden] {
  display: none !important;
}
address {
  font-style: normal;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  padding: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th {
  text-align: left;
  font-weight: 500;
}
small {
  font-size: 16px;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
}
.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--content);
  margin-inline: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s3);
}
.section {
  padding-block: var(--section);
}
.section--paper {
  background: var(--paper);
}
.section--line {
  border-top: 1px solid var(--border);
}
.en {
  font-family: var(--font-en);
  letter-spacing: -0.02em;
}
.eyebrow {
  font: 500 16px/1.4 var(--font-en);
  letter-spacing: 0.07em;
}
.muted {
  color: var(--secondary);
}
.prose {
  max-width: 35em;
}
.prose p + p {
  margin-top: var(--s3);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: var(--s2);
  left: var(--s2);
  z-index: 120;
  padding: var(--s2) var(--s3);
  background: var(--white);
  color: var(--night);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
main:focus {
  outline: none;
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nowrap {
  white-space: nowrap;
}
.rule {
  height: 1px;
  background: var(--border);
}
@media (max-width: 760px) {
  .grid {
    gap: var(--s2);
  }
  .section {
    padding-block: var(--s8);
  }
  html {
    scroll-padding-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .opening {
    display: none !important;
  }
  [data-reveal],
  [data-heading] {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media print {
  .opening,
  .site-header,
  .site-footer,
  .nav-toggle,
  .work-index,
  .opening-debug {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }
  .container {
    width: 100%;
  }
  .section {
    padding-block: 24pt;
  }
  a {
    text-decoration: none;
  }
  [data-reveal],
  [data-heading] {
    opacity: 1 !important;
    transform: none !important;
  }
  details > * {
    display: block !important;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  p,
  li {
    orphans: 3;
    widows: 3;
  }
}
/* Lenis公式の基本スタイル。タッチ端末では初期化しません。 */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.nowrap {
  white-space: nowrap;
}
/* 画面全体の可読性と、静止表示の保証。 */
.eyebrow {
  font: 500 13px/1.5 var(--font-en);
  letter-spacing: 0.08em;
}
.site-shell {
  overflow: clip;
}
html {
  scroll-padding-top: 100px;
}
p {
  max-width: 35em;
}
@media (prefers-reduced-motion: reduce) {
  .intro-film,
  .hero__landscape,
  .landscape-frame img {
    transform: none !important;
  }
  .reading-progress {
    display: none;
  }
  .opening {
    display: none !important;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 24px;
  }
  .nowrap {
    white-space: normal;
  }
}
