:root {
  color-scheme: light;
  --ink: #142e36;
  --muted: #435b61;
  --rule: #ced6d2;
  --paper: #fbfaf6;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a95116; outline-offset: 3px; }
.skip { position: absolute; z-index: 1; left: 12px; top: -90px; background: white; padding: .6em 1em; }
.skip:focus { top: 10px; }
header { background: #fff; border-bottom: 1px solid var(--rule); }
.bar, main, footer > div { width: min(100% - 48px, 1140px); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 19px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand img { width: 35px; height: 35px; }
h1, h2 { font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; }
h1 { margin: 1.1em 0 .6em; font-size: clamp(28px, 3.2vw, 43px); line-height: 1.26; }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; margin-bottom: 68px; }
.work { min-width: 0; }
.work:first-child { grid-column: 1 / -1; }
.artwork { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #132226; }
.work:first-child .artwork { aspect-ratio: 2 / 1; }
.artwork video { display: block; width: 100%; height: 100%; object-fit: contain; background: #11191d; }
.background-pair { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.background-pair > div { display: grid; place-items: center; background: #fff; }
.background-pair > div:last-child { background: #162e3f; }
.background-pair img { display: block; width: 100%; height: auto; }
.caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 15px 0 0; }
.caption h2 { font-size: clamp(21px, 2.15vw, 32px); font-weight: 650; letter-spacing: .01em; margin: 0; line-height: 1.4; }
.credits { display: flex; flex-wrap: wrap; list-style: none; gap: 1px 0; align-items: baseline; padding: 0; margin: 4px 0 0; font-size: clamp(13px, 1.25vw, 15px); line-height: 1.5; color: var(--muted); }
.credits li { display: flex; align-items: baseline; }
.credits li + li::before { content: '＋'; margin-inline: .28em; color: #7c8c8c; font-size: .85em; }
.credits a { display: inline-block; padding-block: 4px; }
.how-link { display: inline-flex; align-items: center; min-height: 44px; gap: .6em; color: #145767; font-size: 15px; font-weight: 700; text-decoration: none; }
.how-link::after { content: ''; width: .45em; height: .45em; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin-right: 3px; }
.how-link:hover { text-decoration: underline; }
footer { border-top: 1px solid var(--rule); }
footer > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; }
@media(max-width: 900px) {
  .bar { flex-wrap: wrap; padding-block: 10px; gap: 6px 16px; }
}
@media(max-width: 700px) {
  .bar, main, footer > div { width: calc(100% - 28px); }
  .works { grid-template-columns: minmax(0, 1fr); gap: 27px; margin-bottom: 38px; }
  .caption { padding-top: 12px; gap: 3px 12px; }
  .caption h2 { font-size: clamp(20px, 5vw, 27px); }
  .work + .work { padding-top: 1px; }
  footer > div { flex-direction: column; align-items: flex-start; }
}

.artwork .work-still { display: block; width: 100%; height: 100%; object-fit: contain; background: #eee9dc; }

.experience-cover { position: relative; display: block; width: 100%; height: 100%; color: #fff; }
.experience-cover:focus-visible { outline: 3px solid white; outline-offset: -6px; }
.experience-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.experience-cover span { position: absolute; inset-inline-start: clamp(12px, 3%, 28px); bottom: clamp(12px, 6%, 28px); padding: .5em 1em; border: 1px solid #d4f5ed; border-radius: 99px; background: #092d35; font-size: clamp(14px, 2vw, 17px); font-weight: 650; }
.experience-cover:hover span, .experience-cover:focus-visible span { background: #134b55; }
