@charset "UTF-8";

@font-face {
  font-family: "Six Caps";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/six-caps-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {

  --color-bg: #ecece7;
  --color-text: #1a1a1a;
  --color-label: #76634a; 
  --color-line: #1a1a1a;
  --color-line-light: color-mix(in srgb, var(--color-line) 22%, transparent);
  --color-footer-bg: #1a1a1a;
  --color-footer-text: #ecece7;
  --color-footer-sub: #b5b5ae;
  --color-footer-link: #cdbfa6; 

  --font-display: "Six Caps", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-ml: 32px;
  --space-l: 48px;
  --space-xl: 80px;
  --gutter: 20px;
  --container-width: 1200px;
  --header-height: 64px;

  --transition: 0.3s ease;
}

@media (min-width: 768px) {
  :root {
    --space-ml: 40px;
    --space-l: 64px;
    --space-xl: 120px;
    --gutter: 40px;
    --header-height: 80px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, p, ul, figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

main {
  flex: 1;
}

body.is-menu-open {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  position: relative;
  z-index: 2; 
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.site-logo img {
  height: 32px;
  width: auto;
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: background-color var(--transition);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform var(--transition);
}

.nav-toggle__bar::before {
  transform: translateY(-8px);
}

.nav-toggle__bar::after {
  transform: translateY(8px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  transform: rotate(-45deg);
}

.global-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.global-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.global-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}

.global-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.12em;
}

@media (min-width: 768px) {
  .site-logo {
    font-size: 40px;
  }

  .site-logo img {
    height: 40px;
  }

  .nav-toggle {
    display: none;
  }

  .global-nav {
    position: static;
    display: block;
    background: none;
    opacity: 1;
    visibility: visible;
  }

  .global-nav__list {
    flex-direction: row;
    gap: var(--space-l);
  }

  .global-nav__link {
    position: relative;
    padding-block: var(--space-xs);
    font-size: 26px;
    letter-spacing: 0.14em;
  }

  .global-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
  }

  .global-nav__link:hover::after,
  .global-nav__link[aria-current]::after {
    transform: scaleX(1);
  }
}

.site-header--overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: var(--color-bg);
}

.site-header--overlay :focus-visible {
  outline-color: currentColor;
}

body.is-menu-open .site-header--overlay {
  color: var(--color-text);
}

.site-header--on-light {
  color: var(--color-text);
}

@property --carve-line {
  syntax: "<length>";
  inherits: false;
  initial-value: 6px;
}

.hero {

  --carve-delay: 0.3s;
  --carve-pass-duration: 1.6s;
  --carve-finish-duration: 0.5s;

  --hero-w: min(100vw - var(--gutter) * 2, var(--container-width));
  --hero-h: calc(100svh - var(--header-height) - 200px);

  --hero-fs: max(min(var(--hero-w) * 0.455, var(--hero-h) / 2.7), 96px);

  display: flex;
  min-height: 100svh;
  padding-block: calc(var(--header-height) + var(--space-xs)) var(--space-m);
  overflow-x: clip;
  background-color: #111;
  color: var(--color-bg);
}

.hero__inner {
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero__title,
.hero__venue {
  grid-area: 1 / 1;
}

.hero__title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-l);
  font-weight: 400;
}

.hero__label,
.hero__venue {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}

.hero__label::before {
  content: "";
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background-color: currentColor;
}

.hero__venue {
  justify-self: end;
  align-self: start;
}

.hero__heading {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: var(--hero-fs);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.hero__carve {
  display: block;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__line--3 {
  text-align: right;
}

.hero__text {
  grid-row: 2;
  margin-top: var(--space-m);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere; 
}

.hero__text > span {
  display: inline-block;
}

@media (min-width: 768px) {
  .hero {

    --hero-h: calc(100svh - var(--header-height) - 240px);

    --hero-fs: max(min(var(--hero-w) / 2.43, var(--hero-h) / 1.8), 132px);
    padding-bottom: var(--space-l);
  }

  .hero__label,
  .hero__venue {
    font-size: 13px;
  }

  .hero__label {
    gap: var(--space-m);
  }

  .hero__label::before {
    width: 72px;
  }

  .hero__line--1,
  .hero__line--2 {
    display: inline;
  }

  .hero__text {
    font-size: 14px;
    line-height: 1.8;
  }
}

@media (min-width: 1024px) {
  .hero {

    --hero-h: calc(100svh - var(--header-height) - 160px);
  }

  .hero__text {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: start;
    max-width: calc(var(--hero-w) - var(--hero-fs) * 1.94 - var(--space-l));
    margin-top: 0;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__carve {
    -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 var(--carve-line), transparent var(--carve-line) 6px);
    mask-image: repeating-linear-gradient(to bottom, #000 0 var(--carve-line), transparent var(--carve-line) 6px);
    animation:
      carve-pass var(--carve-pass-duration) linear var(--carve-delay) both,
      carve-finish var(--carve-finish-duration) ease-out calc(var(--carve-delay) + var(--carve-pass-duration)) both;
  }

  .hero__heading::after {
    content: "";
    position: absolute;
    width: clamp(24px, 4vw, 64px);
    height: 2px;
    background-color: var(--color-bg);
    box-shadow: 0 0 12px 2px rgb(236 236 231 / 0.6);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    animation:
      carve-tip var(--carve-pass-duration) linear var(--carve-delay) both,
      carve-tip-fade var(--carve-pass-duration) step-end var(--carve-delay) both;
  }

  .hero__text {
    animation: hero-text-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--carve-delay) + var(--carve-pass-duration) + var(--carve-finish-duration)) both;
  }
}

@keyframes hero-text-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes carve-finish {
  from {
    --carve-line: 2px;
  }

  to {
    --carve-line: 6px;
  }
}

@keyframes carve-tip-fade {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes carve-pass {
  0% { clip-path: polygon(-2% -5%, 102% -5%, 102% -5%, -2% -5%, -2% 12.5%, -2% 12.5%, -2% -5%, -2% -5%); }
  12.5% { clip-path: polygon(-2% -5%, 102% -5%, 102% -5%, 102% -5%, 102% 12.5%, -2% 12.5%, -2% -5%, -2% -5%); }
  12.501% { clip-path: polygon(-2% -5%, 102% -5%, 102% 12.5%, 102% 12.5%, 102% 25%, 102% 25%, 102% 12.5%, -2% 12.5%); }
  25% { clip-path: polygon(-2% -5%, 102% -5%, 102% 12.5%, 102% 12.5%, 102% 25%, -2% 25%, -2% 12.5%, -2% 12.5%); }
  25.001% { clip-path: polygon(-2% -5%, 102% -5%, 102% 25%, -2% 25%, -2% 37.5%, -2% 37.5%, -2% 25%, -2% 25%); }
  37.5% { clip-path: polygon(-2% -5%, 102% -5%, 102% 25%, 102% 25%, 102% 37.5%, -2% 37.5%, -2% 25%, -2% 25%); }
  37.501% { clip-path: polygon(-2% -5%, 102% -5%, 102% 37.5%, 102% 37.5%, 102% 50%, 102% 50%, 102% 37.5%, -2% 37.5%); }
  50% { clip-path: polygon(-2% -5%, 102% -5%, 102% 37.5%, 102% 37.5%, 102% 50%, -2% 50%, -2% 37.5%, -2% 37.5%); }
  50.001% { clip-path: polygon(-2% -5%, 102% -5%, 102% 50%, -2% 50%, -2% 62.5%, -2% 62.5%, -2% 50%, -2% 50%); }
  62.5% { clip-path: polygon(-2% -5%, 102% -5%, 102% 50%, 102% 50%, 102% 62.5%, -2% 62.5%, -2% 50%, -2% 50%); }
  62.501% { clip-path: polygon(-2% -5%, 102% -5%, 102% 62.5%, 102% 62.5%, 102% 75%, 102% 75%, 102% 62.5%, -2% 62.5%); }
  75% { clip-path: polygon(-2% -5%, 102% -5%, 102% 62.5%, 102% 62.5%, 102% 75%, -2% 75%, -2% 62.5%, -2% 62.5%); }
  75.001% { clip-path: polygon(-2% -5%, 102% -5%, 102% 75%, -2% 75%, -2% 87.5%, -2% 87.5%, -2% 75%, -2% 75%); }
  87.5% { clip-path: polygon(-2% -5%, 102% -5%, 102% 75%, 102% 75%, 102% 87.5%, -2% 87.5%, -2% 75%, -2% 75%); }
  87.501% { clip-path: polygon(-2% -5%, 102% -5%, 102% 87.5%, 102% 87.5%, 102% 105%, 102% 105%, 102% 87.5%, -2% 87.5%); }
  100% { clip-path: polygon(-2% -5%, 102% -5%, 102% 87.5%, 102% 87.5%, 102% 105%, -2% 105%, -2% 87.5%, -2% 87.5%); }
}

@keyframes carve-tip {
  0% { left: 0%; top: 6.25%; }
  12.5% { left: 100%; top: 6.25%; }
  12.501% { left: 100%; top: 18.75%; }
  25% { left: 0%; top: 18.75%; }
  25.001% { left: 0%; top: 31.25%; }
  37.5% { left: 100%; top: 31.25%; }
  37.501% { left: 100%; top: 43.75%; }
  50% { left: 0%; top: 43.75%; }
  50.001% { left: 0%; top: 56.25%; }
  62.5% { left: 100%; top: 56.25%; }
  62.501% { left: 100%; top: 68.75%; }
  75% { left: 0%; top: 68.75%; }
  75.001% { left: 0%; top: 81.25%; }
  87.5% { left: 100%; top: 81.25%; }
  87.501% { left: 100%; top: 93.75%; }
  100% { left: 0%; top: 93.75%; }
}

.section {
  padding-bottom: var(--space-xl);
}

.hero + .section {
  padding-top: calc(var(--space-l) + var(--space-m));
}

.section-title {
  margin-bottom: var(--space-l);
  padding-bottom: var(--space-s);
  border-bottom: 2px solid var(--color-line);
  font-family: var(--font-display);
  font-size: clamp(48px, 12.8vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
}

.info-list {
  --info-value-size: 15px;
  --info-value-leading: 1.8;
  margin: 0;
}

.info-list__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: start;
  gap: var(--space-s);
  padding-block: var(--space-s);
  border-bottom: 1px solid var(--color-line-light);
}

.info-list dt {
  font-size: 12px;
  font-weight: 700;
  line-height: calc(var(--info-value-size) * var(--info-value-leading));
  letter-spacing: 0.1em;
}

.info-list dd {
  margin: 0;
  font-size: var(--info-value-size);
  line-height: var(--info-value-leading);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .info-list {
    --info-value-size: 16px;
  }

  .info-list__row {
    grid-template-columns: 160px 1fr;
    gap: var(--space-m);
  }

  .info-list dt {
    font-size: 13px;
  }
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

.work-card__image {
  overflow: hidden;
}

.work-card__image img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card__body {
  padding-top: var(--space-s);
}

.work-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.work-card__title::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 6px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card__label {
  margin-top: 4px;
  color: var(--color-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.work-card__text {
  margin-top: var(--space-s);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a.work-card__link {
  display: block;
}

.work-card__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.work-card__zoom:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

.work-card__pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

.work-card__ticket {
  margin-top: var(--space-s);
}

a.work-card__link:focus-visible .work-card__title::after,
.work-card--zoom:has(.work-card__zoom:focus-visible) .work-card__title::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  a.work-card__link:hover .work-card__title::after,
  .work-card--multi:has(.work-card__zoom:hover) .work-card__title::after {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a.work-card__link:focus-visible .work-card__image img,
  .work-card__zoom:focus-visible img {
    transform: scale(1.03);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.work-card__link:hover .work-card__image img,
  .work-card--multi .work-card__zoom:hover img {
    transform: scale(1.03);
  }
}

@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l) var(--space-m);
  }

  .work-card__title {
    font-size: 18px;
  }

  .work-card__text {
    font-size: clamp(16px, 1.2vw, 17px);
  }

  .work-card--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: var(--space-m);
    align-items: start;
  }

  .work-card--feature > .work-card__zoom:first-child {
    grid-row: 1 / -1;
  }

  .work-card--feature .work-card__ticket {
    margin-top: 0;
  }

  .work-card--feature .work-card__body {
    max-width: 30em;
  }
}

.site-footer {
  padding-block: var(--space-xl) var(--space-l);
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  text-align: center;
}

.site-footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.site-footer :focus-visible {
  outline-color: currentColor;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-m);
  margin-top: var(--space-m);
  color: var(--color-footer-link);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.site-footer__copy {
  display: block;
  margin-top: var(--space-m);
  color: var(--color-footer-sub);
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .site-footer__logo {
    font-size: 96px;
  }
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 56px var(--space-s) var(--space-s);
  border: 0;
  background: none;
  overscroll-behavior: contain;
}

.lightbox::backdrop {
  background-color: rgb(0 0 0 / 0.92);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightbox-fade 0.25s ease;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  touch-action: pinch-zoom;
}

.lightbox__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background-color: #fff;
}

.lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox__close:focus-visible {
  outline-color: #fff;
  outline-offset: 0;
}

.lightbox--tall[open] {
  display: block;
  overflow-y: auto;
}

.lightbox--tall .lightbox__image {
  max-height: none;
  margin-inline: auto;
}

.lightbox--tall .lightbox__close {
  position: fixed;
  background-color: rgb(0 0 0 / 0.6);
}

body:has(.lightbox[open]) {
  overflow: hidden;
}

@keyframes lightbox-fade {
  from {
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .lightbox {
    padding: 64px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }
}

.about {
  padding-block: var(--space-l) var(--space-xl);
}

.profile {
  display: grid;
  gap: var(--space-l);
}

.profile__photo {
  order: -1;
  margin: 0;
}

.profile__photo img {
  width: 100%;
}

.profile__name {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-weight: 400;
}

.profile__name-ja {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.profile__name-en {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.profile__role {
  margin-top: var(--space-s);
  color: var(--color-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile__text {
  margin-top: var(--space-m);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere; 
}

.profile__text > span {
  display: inline-block;
}

.about-section {
  margin-top: var(--space-xl);
}

.about-heading,
.work-shots__title {
  margin-bottom: var(--space-s);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-s);
  padding-top: var(--space-xs);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .profile {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }

  .profile__photo {
    order: 0;
  }

  .profile__name-en {
    font-size: 120px;
  }

  .profile__role {
    font-size: 13px;
  }

  .profile__text {
    font-size: clamp(16px, 1.2vw, 17px);
  }

  .about-heading,
  .work-shots__title {
    font-size: 56px;
  }

  .contact-list {
    font-size: 16px;
  }
}

.work-detail {
  padding-bottom: var(--space-xl);
}

.work-detail__hero {
  --crop-x: 277;
  --crop-w: 1353;

  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
}

.work-detail__hero img {
  width: calc(2560 / var(--crop-w) * 100%);
  max-width: none;
  margin-left: calc(var(--crop-x) / var(--crop-w) * -100%);
}

.work-detail__title {
  margin-top: var(--space-l);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.work-detail__lead {
  margin-top: var(--space-m);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.work-detail__info {
  margin-top: var(--space-ml);
  border-top: 1px solid var(--color-line);
}

.work-shots {
  margin-top: var(--space-xl);
}

.shot-list {
  display: grid;
  gap: var(--space-l);
}

.shot__zoom {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-line-light);
  background: none;
  cursor: zoom-in;
}

.shot__zoom img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.shot__caption {
  margin-top: var(--space-s);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.work-version {
  margin-top: var(--space-xl);
}

.work-version > .section-title {
  margin-bottom: var(--space-m);
  font-size: clamp(48px, 6vw, 64px);
}

.work-version__shots {
  margin-top: var(--space-l);
}

.shot-list--steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot__step {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-label);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.work-shots__text {
  margin-top: var(--space-s);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.work-shots__text + .task-list {
  margin-top: var(--space-s);
  border-top: 1px solid var(--color-line-light);
}

.task-list li {
  padding-block: var(--space-s);
  border-bottom: 1px solid var(--color-line-light);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.banner-list {
  display: grid;
  gap: var(--space-m);
}

.banner-list img {
  width: 100%;
}

.banner-list--series {
  margin-top: var(--space-l);
  gap: var(--space-s);
}

@media (prefers-reduced-motion: no-preference) {
  .shot__zoom:focus-visible img {
    transform: scale(1.03);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shot__zoom:hover img {
    transform: scale(1.03);
  }
}

.work-pager {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-m);
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--color-line);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.work-pager__link {
  flex-shrink: 0;
}

.work-pager__next {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.work-pager__label {
  color: var(--color-label);
  font-size: 12px;
}

.work-pager__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.work-pager__next:focus-visible .work-pager__title::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .work-pager__next:hover .work-pager__title::after {
    transform: scaleX(1);
  }
}

@media (min-width: 768px) {

  .work-detail__hero {
    aspect-ratio: auto;
  }

  .work-detail__hero img {
    width: 100%;
    margin-left: 0;
  }

  .work-detail__title {
    font-size: 40px;
  }

  .work-detail__lead {
    font-size: clamp(16px, 1.2vw, 17px);
  }

  .shot-list {
    gap: var(--space-xl);
  }

  .shot-list--sp {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l);
    max-width: 800px;
  }

  .shot__caption {
    font-size: 15px;
  }

  .work-shots__text,
  .task-list li {
    font-size: 16px;
  }

  .shot-list--steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-m);
  }

  .work-version__shots {
    max-width: 720px;
  }

  .shot--narrow {
    max-width: 720px;
  }

  .banner-list {
    max-width: 720px;
  }

  .banner-list--series {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-pager {
    font-size: 16px;
  }

  .work-pager__label {
    font-size: 13px;
  }
}

.not-found {
  padding-block: var(--space-l) var(--space-xl);
}

.not-found__text {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.not-found__back {
  margin-top: var(--space-l);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .not-found__text,
  .not-found__back {
    font-size: 16px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.line-link {
  display: inline-block;
}

.line-link::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.line-link:focus-visible::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .line-link:hover::after {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
