:root {
  color-scheme: dark;
  --ink: #24170f;
  --black: #15100c;
  --wood: #3a2418;
  --cream: #efe0bd;
  --aged: #c9aa75;
  --paper: #1d130e;
  --muted: #e0c79c;
  --red: #a93624;
  --yellow: #d9a62e;
  --blue: #1f6070;
  --navy: #24445d;
  --green: #3f6a42;
  --line: rgba(34, 23, 15, 0.92);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(21, 12, 7, 0.28), rgba(21, 12, 7, 0.38)),
    url("assets/wood-wall-tile.png");
  background-size: auto, 720px 720px;
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  color: var(--cream);
  font-family: "Arial Narrow", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 46px);
  color: var(--cream);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-logo {
  width: clamp(132px, 12vw, 174px);
  height: clamp(132px, 12vw, 174px);
  display: block;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: #dce600;
  box-shadow: 6px 6px 0 var(--black);
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  transform-origin: center;
}

.brand:hover .brand-logo {
  transform: scale(1.16) rotate(-2deg);
  filter: saturate(1.08) brightness(1.05);
  box-shadow: 9px 9px 0 var(--black), 0 18px 28px rgba(0, 0, 0, 0.38);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 202, 109, 0.12), transparent 36rem),
    linear-gradient(rgba(21, 12, 7, 0.08), rgba(21, 12, 7, 0.32)),
    url("assets/wood-wall-tile.png");
  background-size: auto, auto, 720px 720px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: center, center, center top;
}

.wall-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wall-grain {
  background:
    linear-gradient(90deg, rgba(10, 6, 4, 0.5), transparent 30%, rgba(10, 6, 4, 0.36)),
    radial-gradient(circle at 50% 35%, rgba(255, 206, 120, 0.16), transparent 30rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 4px);
}

.hanging-lamp {
  position: absolute;
  z-index: 3;
  top: clamp(-98px, -6vw, -46px);
  left: 50%;
  width: clamp(178px, 21vw, 300px);
  transform: translateX(-50%);
  transform-origin: 50% 0;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.hanging-lamp img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.lamp-glow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -22%;
  width: 210%;
  height: 70%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 213, 126, 0.45) 0%,
    rgba(255, 183, 76, 0.23) 38%,
    rgba(255, 180, 70, 0) 72%
  );
  filter: blur(14px);
  opacity: 0.82;
  pointer-events: none;
  animation: lampPulse 3.4s ease-in-out infinite;
}

.hanging-lamp:hover,
.hanging-lamp.is-swinging {
  animation: lampSwing 1.15s ease-in-out;
}

@keyframes lampPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: translateX(-50%) scale(0.96);
  }
  50% {
    opacity: 0.86;
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes lampSwing {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  20% {
    transform: translateX(-50%) rotate(5deg);
  }
  46% {
    transform: translateX(-50%) rotate(-4deg);
  }
  70% {
    transform: translateX(-50%) rotate(2.3deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}

.sign-stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(64px, auto);
  gap: clamp(10px, 1.4vw, 18px);
  width: min(1180px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(192px, 24vh, 224px) 0 34px;
  align-content: center;
}

.photo-menu {
  --menu-button-height: clamp(92px, 9vw, 132px);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.8vw, 22px);
  align-items: end;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.image-button {
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.42));
  transform-origin: 50% 82%;
  transition:
    transform 260ms cubic-bezier(0.2, 0.85, 0.18, 1),
    filter 260ms ease;
}

.image-button {
  display: grid;
  height: var(--menu-button-height);
  place-items: center;
  transform: rotate(var(--tilt, 0deg));
}

.photo-menu .image-button > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto !important;
  max-height: var(--menu-button-height);
  object-fit: contain;
  transform-origin: 50% 80%;
  transition: transform 260ms cubic-bezier(0.2, 0.85, 0.18, 1);
}

.subpage-nav .image-button > img {
  transition: transform 260ms cubic-bezier(0.2, 0.85, 0.18, 1);
  transform-origin: 50% 80%;
}

.about-button {
  --tilt: -1deg;
}

.news-button {
  --tilt: 1.2deg;
}

.works-button {
  --tilt: -0.8deg;
}

.archive-button {
  --tilt: 1deg;
}

.contact-button {
  --tilt: -1.4deg;
}

.service-signs {
  grid-column: 2 / span 10;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  width: min(1040px, 94vw);
  margin: clamp(4px, 1vh, 12px) auto 0;
}

.service-sign {
  display: block;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.44));
  transform-origin: 50% 82%;
  transition:
    transform 280ms cubic-bezier(0.2, 0.85, 0.18, 1),
    filter 280ms ease;
}

.service-sign img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 280ms cubic-bezier(0.2, 0.85, 0.18, 1);
}

.works-service-link {
  transform: rotate(-0.5deg);
}

.works-service-link:hover {
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.56)) brightness(1.07);
  transform: translateY(-6px) scaleX(1.025) scaleY(0.985) rotate(-0.5deg);
}

.works-service-link:hover img {
  transform: translateY(-3px) scale(1.018);
}

.contact-wide-sign {
  transform: rotate(0.8deg);
}

.contact-wide-sign:hover {
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.54)) brightness(1.06);
  transform: translateY(-6px) scaleX(1.025) scaleY(0.985) rotate(0.8deg);
}

.contact-wide-sign:hover img {
  transform: translateY(-3px) scale(1.018);
}

.media-row {
  grid-column: 2 / span 10;
  display: grid;
  grid-template-columns: minmax(0, 700px) clamp(240px, 24vw, 330px);
  gap: clamp(18px, 2.4vw, 36px);
  align-items: start;
  justify-content: center;
  width: min(1090px, 94vw);
  margin: clamp(16px, 3.5vh, 36px) auto 0;
}

.tv-set {
  position: relative;
  width: min(700px, 100%);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5));
}

.side-stack {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  align-content: start;
}

.news-board {
  position: relative;
  display: block;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.48));
  transform: rotate(-1deg);
  transition: transform 160ms ease, filter 160ms ease;
}

.news-board:hover {
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.56)) brightness(1.05);
  transform: translateY(-3px) rotate(-1deg);
}

.news-board img {
  display: block;
  width: 100%;
  height: auto;
}

.news-board-content {
  position: absolute;
  inset: 16% 11% 13%;
  display: grid;
  grid-template-rows: auto repeat(3, 1fr);
  gap: clamp(4px, 0.7vw, 9px);
  color: rgba(244, 241, 222, 0.9);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.62),
    0 0 7px rgba(255, 255, 255, 0.12);
  letter-spacing: 0;
}

.news-board-title {
  color: rgba(255, 245, 188, 0.94);
  font-size: clamp(0.9rem, 1.7vw, 1.32rem);
  font-weight: 900;
  line-height: 1;
  filter: contrast(1.08);
}

.news-board-item {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  border-top: 1px dashed rgba(244, 238, 213, 0.28);
  padding-top: clamp(3px, 0.55vw, 7px);
  font-size: clamp(0.66rem, 1.12vw, 0.96rem);
  font-weight: 800;
  line-height: 1.34;
  overflow-wrap: anywhere;
  opacity: 0.92;
}

.news-board-title,
.news-board-item {
  -webkit-text-stroke: 0.18px rgba(255, 255, 255, 0.22);
}

.news-board-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -8deg,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: screen;
  opacity: 0.16;
  pointer-events: none;
}

.book-sign {
  display: block;
  align-self: start;
  width: min(100%, 250px);
  justify-self: center;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.48));
  transform: rotate(1.2deg);
  transition: transform 160ms ease, filter 160ms ease;
}

.book-sign:hover {
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.56)) brightness(1.05);
  transform: translateY(-3px) rotate(1.2deg);
}

.book-sign img {
  display: block;
  width: 100%;
  height: auto;
}

.tv-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.tv-screen {
  position: absolute;
  z-index: 1;
  left: 19.3%;
  top: 10.5%;
  width: 47.9%;
  height: 55.6%;
  overflow: hidden;
  border-radius: 13% / 10%;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 1px,
      rgba(0, 0, 0, 0.12) 2px,
      rgba(0, 0, 0, 0.12) 4px
    ),
    radial-gradient(circle at 50% 45%, #2b2b2b, #050505 72%);
}

.tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 48%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
  pointer-events: none;
}

.tv-screen video,
.tv-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tv-channel {
  position: absolute;
  z-index: 4;
  left: 77.2%;
  top: 12.1%;
  width: 9%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.tv-channel:focus-visible {
  outline: 3px solid rgba(255, 218, 94, 0.85);
  outline-offset: 4px;
}

.tv-channel:active {
  transform: rotate(12deg) scale(0.98);
}

.tv-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.7rem, 1.7vw, 1rem);
  font-weight: 900;
  letter-spacing: 0;
}

.image-footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: transparent;
  border-top: 0;
  overflow: hidden;
  min-height: clamp(160px, 16vw, 220px);
  padding: 0 clamp(16px, 4vw, 48px);
}

.image-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(10, 6, 4, 0.5), transparent 30%, rgba(10, 6, 4, 0.36)),
    radial-gradient(circle at 50% 35%, rgba(255, 206, 120, 0.16), transparent 30rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 4px);
  pointer-events: none;
}

.image-footer img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(658px, 100%);
  height: auto;
}

.subpage-main {
  min-height: 100svh;
}

.works-hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 202, 109, 0.13), transparent 34rem),
    linear-gradient(rgba(21, 12, 7, 0.08), rgba(21, 12, 7, 0.34)),
    url("assets/wood-wall-tile.png");
  background-size: auto, auto, 720px 720px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: center, center, center top;
}

.subpage-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(154px, 18vh, 184px) 0 44px;
}

.subpage-lamp {
  top: clamp(-70px, -5vw, -42px);
  left: 50%;
  width: clamp(112px, 11vw, 158px);
}

.about-lamp,
.news-lamp,
.works-page .subpage-lamp,
.contact-lamp,
.archive-lamp {
  left: 50%;
}

.subpage-nav {
  --menu-button-height: clamp(76px, 7vw, 108px);
  position: sticky;
  top: clamp(10px, 2vw, 22px);
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.5vw, 18px);
  align-items: center;
  width: min(1040px, 100%);
  margin: 0 auto clamp(18px, 3vw, 34px);
}

.subpage-nav .image-button {
  height: var(--menu-button-height);
}

.subpage-nav .is-current {
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 28px rgba(255, 198, 84, 0.5))
    brightness(1.12);
  transform: translateY(-4px) rotate(-1deg);
}

.subpage-nav .image-button:not(.is-current) {
  opacity: 1;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.58)) brightness(0.58) saturate(0.78) contrast(1.02);
}

.subpage-nav .image-button:not(.is-current):hover {
  opacity: 1;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.6)) brightness(0.78) saturate(0.9) contrast(1.02);
}

.works-lead {
  width: min(820px, 92vw);
  margin: 0 auto clamp(20px, 3vw, 36px);
  color: #f2dfb6;
  font-size: clamp(0.9rem, 1.35vw, 1.08rem);
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

.page-title-board {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto clamp(22px, 3.2vw, 38px);
  width: min(390px, 72vw);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.48));
}

.page-title-board > img {
  display: block;
  width: 100%;
  height: auto;
}

.page-title-board p {
  width: min(760px, 92vw);
  margin: clamp(10px, 1.5vw, 18px) auto 0;
  color: #f2dfb6;
  font-size: clamp(0.86rem, 1.35vw, 1.08rem);
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.48);
}

.works-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: min(620px, 100%);
  margin: 0 auto clamp(24px, 3vw, 38px);
}

.feature-copy {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 3px solid rgba(20, 13, 9, 0.95);
  background:
    linear-gradient(rgba(239, 220, 178, 0.87), rgba(206, 166, 101, 0.84)),
    repeating-linear-gradient(0deg, rgba(47, 27, 13, 0.06), rgba(47, 27, 13, 0.06) 1px, transparent 1px, transparent 5px);
  color: #1f1711;
  box-shadow: 8px 8px 0 rgba(10, 6, 4, 0.8), inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  transform: rotate(0.8deg);
}

.feature-copy .kicker {
  margin: 0 0 6px;
  color: #9f2f22;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.feature-copy h2 {
  margin: 0;
  color: #1d3447;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  line-height: 1.12;
  font-weight: 950;
}

.feature-copy p:last-child {
  margin: 12px 0 0;
  font-weight: 800;
  line-height: 1.7;
}

.asset-hint-board {
  width: min(408px, 46vw);
  margin: clamp(46px, 6vw, 76px) auto clamp(22px, 3vw, 34px);
  transform: rotate(0.6deg);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.44));
}

.asset-hint-board img {
  display: block;
  width: 100%;
  height: auto;
}

.round-page-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin: clamp(26px, 4vw, 46px) auto 0;
}

.round-page-nav a {
  display: block;
  width: clamp(92px, 10vw, 132px);
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5));
  transition: transform 160ms ease, filter 160ms ease;
}

.round-page-nav a:hover {
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.58)) brightness(1.06);
  transform: translateY(-3px) rotate(-2deg);
}

.round-page-nav a:nth-child(2):hover {
  transform: translateY(-4px);
}

.round-page-nav a:nth-child(3):hover {
  transform: translateY(-3px) rotate(2deg);
}

.round-page-nav img {
  display: block;
  width: 100%;
  height: auto;
}

.about-layout {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: clamp(92px, 9vw, 130px) auto 0;
}

.profile-scroll {
  display: block;
  width: 100%;
  margin: 0;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.46));
  transform: rotate(0.8deg);
}

.profile-scroll-top,
.profile-scroll-bottom {
  display: block;
  width: 100%;
  height: auto;
}

.profile-scroll-body {
  background: url("assets/profile-sheet-repeat.png") center top / 100% auto repeat-y;
  margin-top: -1px;
  padding: clamp(6px, 1vw, 12px) 10.5% clamp(8px, 1vw, 12px);
}

.profile-scroll-bottom {
  margin-top: -1px;
}

.about-up-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: clamp(24px, 4vw, 44px) auto 0;
}

.about-up-nav a {
  display: block;
  width: clamp(86px, 9vw, 122px);
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5));
  transition: transform 160ms ease, filter 160ms ease;
}

.about-up-nav a:hover {
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.58)) brightness(1.06);
  transform: translateY(-4px);
}

.about-up-nav img {
  display: block;
  width: 100%;
  height: auto;
}

.newspaper {
  position: relative;
  width: min(1040px, 100%);
  margin: clamp(54px, 7vw, 90px) auto 0;
  padding: clamp(18px, 2.6vw, 30px);
  background:
    linear-gradient(rgba(244, 231, 202, 0.16), rgba(218, 198, 160, 0.12)),
    url("assets/news-paper.png");
  background-size: cover;
  background-position: center;
  color: #1e1711;
  box-shadow: 0 22px 28px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(44, 30, 17, 0.34);
  transform: rotate(-0.6deg);
}

.news-page .newspaper {
  margin-top: clamp(88px, 10vw, 128px);
}

.newspaper::before,
.newspaper::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.newspaper::before {
  inset: 0;
  background:
    linear-gradient(100deg, transparent 0 68%, rgba(80, 55, 33, 0.1) 69%, transparent 74%),
    radial-gradient(circle at 93% 18%, rgba(57, 35, 20, 0.1), transparent 14rem),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
}

.newspaper::after {
  inset: 12px;
  border: 1px solid rgba(31, 22, 14, 0.32);
}

.newspaper-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin-bottom: clamp(18px, 2.2vw, 28px);
  padding-bottom: clamp(12px, 1.8vw, 18px);
  border-bottom: 5px double rgba(31, 22, 14, 0.72);
  text-align: center;
}

.newspaper-date {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.newspaper-head h2 {
  margin: 0;
  color: #18110c;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 950;
}

.newspaper-title-image {
  display: block;
  width: min(760px, 100%);
  height: auto;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.newspaper-head p:last-child {
  margin: 0;
  font-weight: 850;
}

.newspaper-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr 1fr;
  grid-auto-flow: dense;
  gap: clamp(12px, 1.5vw, 18px);
}

.news-article {
  padding: 0 clamp(8px, 1vw, 12px) clamp(14px, 1.7vw, 20px);
  border-right: 1px solid rgba(31, 22, 14, 0.34);
  border-bottom: 1px solid rgba(31, 22, 14, 0.34);
  break-inside: avoid;
}

.news-article h3 {
  margin: 0 0 10px;
  color: #17100b;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(1.4rem, 2.8vw, 2.45rem);
  line-height: 1.05;
  font-weight: 950;
}

.news-article p {
  margin: 0;
  color: rgba(28, 19, 12, 0.9);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(0.9rem, 1.18vw, 1.06rem);
  font-weight: 700;
  line-height: 1.55;
}

.news-article a {
  color: inherit;
  text-decoration: none;
}

.news-article a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.news-photo {
  display: block;
  margin: 0 0 12px;
  padding: 5px;
  border: 1px solid rgba(31, 22, 14, 0.56);
  background: rgba(248, 238, 213, 0.42);
  filter: grayscale(1) contrast(1.08);
}

.news-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.news-thumb {
  margin: 0 0 10px;
  padding: 4px;
  border: 1px solid rgba(31, 22, 14, 0.5);
  background: rgba(246, 235, 208, 0.42);
}

.news-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) sepia(0.12);
  mix-blend-mode: multiply;
}

.vertical-ad {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin: 0 0 12px;
}

.vertical-ad p {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 10px 7px;
  background: #171410;
  color: #fff8e8;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.vertical-ad .news-photo {
  margin-bottom: 0;
}

.news-date,
.news-label {
  display: inline-block;
  margin: 0 0 8px;
  color: #8a2b22;
  font-family: "Arial Narrow", "Yu Gothic", sans-serif;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.lead-story {
  grid-column: 4;
  grid-row: span 2;
  min-height: 430px;
  padding-right: clamp(10px, 1vw, 14px);
  border-left: 2px solid rgba(31, 22, 14, 0.5);
  border-right: 0;
}

.lead-story h3 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

.vertical-story-body {
  display: flex;
  gap: 16px;
  justify-content: center;
  min-height: 380px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.vertical-story-body h3 {
  margin: 0;
  letter-spacing: 0.04em;
}

.vertical-story-body p {
  max-height: 360px;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  line-height: 1.8;
}

.boxed-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 260px);
  gap: clamp(12px, 1.8vw, 22px);
  align-items: center;
  padding: clamp(14px, 1.8vw, 22px);
  border: 2px solid rgba(31, 22, 14, 0.5);
  background: rgba(239, 224, 188, 0.42);
}

.boxed-note .news-label,
.boxed-note h3,
.boxed-note > p {
  grid-column: 1;
}

.boxed-note .vertical-ad {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.news-single-paper {
  position: relative;
  z-index: 1;
  width: min(650px, 65%);
  margin: clamp(84px, 10vw, 128px) auto 0;
  padding: clamp(18px, 2.8vw, 34px) clamp(18px, 3.6vw, 46px) clamp(30px, 4vw, 52px);
  background:
    linear-gradient(rgba(246, 236, 213, 0.24), rgba(226, 204, 166, 0.12)),
    url("assets/news-paper.png");
  background-size: cover;
  background-position: center;
  color: #2a1b10;
  box-shadow: inset 0 0 0 1px rgba(44, 30, 17, 0.18);
}

.news-single-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 12%, rgba(67, 42, 22, 0.1), transparent 14rem),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
}

.news-single-head,
.news-single-image,
.news-single-meta,
.news-single-title,
.news-single-content {
  position: relative;
  z-index: 1;
}

.news-single-head {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.news-single-head .newspaper-title-image {
  width: min(520px, 100%);
}

.news-single-image {
  width: min(500px, 100%);
  margin: 0 auto clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(31, 22, 14, 0.42);
  background: rgba(245, 232, 203, 0.3);
  filter: grayscale(1) contrast(1.08);
}

.news-single-image img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.news-single-meta {
  margin: 0 0 clamp(8px, 1.4vw, 14px);
  color: #2d1d12;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.78rem, 1vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.news-single-title {
  margin: 0 0 clamp(18px, 2.6vw, 30px);
  color: #2b1b10;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  font-weight: 950;
  line-height: 1.08;
  text-shadow: none;
}

.news-single-content {
  color: #2b1b10;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(1.02rem, 1.55vw, 1.38rem);
  font-weight: 720;
  line-height: 1.82;
}

.news-single-content p {
  margin: 0 0 0.75em;
}

.news-single-content img {
  display: block;
  max-width: min(100%, 760px);
  height: auto;
  margin: 18px auto;
  filter: grayscale(1) contrast(1.08);
}

.news-ad-strip {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
  background: transparent;
}

.news-ad-strip a {
  display: block;
}

.news-ad-strip img {
  display: block;
  width: 100%;
  height: auto;
  filter: sepia(0.08) contrast(1.02);
}

.archive-shelf {
  position: relative;
  width: min(920px, 100%);
  margin: clamp(54px, 7vw, 90px) auto 0;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.52));
  transform: rotate(0.3deg);
}

.archive-shelf > img {
  display: block;
  width: 100%;
  height: auto;
}

.archive-slots {
  position: absolute;
  inset: 0;
}

.archive-slot {
  position: absolute;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 25%;
  height: 21%;
  padding: 8px;
  color: #1a120c;
  text-align: center;
  transform: rotate(-2deg);
  transition: transform 160ms ease, filter 160ms ease;
}

.archive-slot.museum-pressable {
  position: absolute;
}

.archive-slot::before {
  content: "";
  position: absolute;
  inset: 18% 7% 19%;
  z-index: 0;
  background:
    linear-gradient(rgba(247, 231, 190, 0.94), rgba(218, 187, 123, 0.9)),
    repeating-linear-gradient(0deg, rgba(42, 25, 12, 0.08), rgba(42, 25, 12, 0.08) 1px, transparent 1px, transparent 5px);
  border: 2px solid rgba(28, 17, 9, 0.85);
  box-shadow: 5px 5px 0 rgba(12, 7, 4, 0.48);
}

.archive-slot span,
.archive-slot small {
  position: relative;
  z-index: 1;
}

.archive-slot span {
  color: #132f43;
  font-size: clamp(0.95rem, 1.55vw, 1.35rem);
  font-weight: 950;
  line-height: 1.05;
}

.archive-slot small {
  max-width: 82%;
  color: #3b2515;
  font-size: clamp(0.62rem, 0.9vw, 0.78rem);
  font-weight: 850;
  line-height: 1.25;
}

.archive-slot:hover {
  filter: brightness(1.08);
  transform: translateY(-4px) rotate(-1deg);
}

.archive-envelope-slot {
  overflow: visible;
  place-items: stretch;
  align-content: stretch;
  padding: 0;
  transform: rotate(1.4deg);
  filter: drop-shadow(7px 8px 0 rgba(8, 5, 3, 0.5));
}

.archive-envelope-slot::before {
  content: none;
}

.archive-envelope-slot .archive-slot-thumb {
  position: absolute;
  left: 12%;
  bottom: 46%;
  z-index: 1;
  width: 76%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.76);
  box-shadow: 4px 4px 0 rgba(9, 6, 4, 0.42);
  transform: translateY(27%) rotate(-1deg);
  transform-origin: center bottom;
  transition: transform 220ms ease, filter 220ms ease;
}

.archive-envelope-front {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.archive-envelope-slot span,
.archive-envelope-slot small {
  position: absolute;
  z-index: 3;
  left: 14%;
  right: 14%;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 240, 210, 0.72);
}

.archive-envelope-slot span {
  top: 49%;
  color: #9b2256;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.5vw, 1.42rem);
}

.archive-envelope-slot small {
  top: 65%;
  max-width: none;
  color: #5b321b;
  font-size: clamp(0.55rem, 0.78vw, 0.74rem);
}

.archive-envelope-slot:hover {
  filter: brightness(1.04) drop-shadow(10px 12px 0 rgba(8, 5, 3, 0.52));
  transform: translateY(-4px) rotate(1.4deg);
}

.archive-envelope-slot:hover .archive-slot-thumb {
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-30%) rotate(-6deg);
}

.archive-envelope-book .archive-slot-thumb {
  left: 28%;
  bottom: 43%;
  width: 44%;
  aspect-ratio: 0.74 / 1;
  object-fit: cover;
  transform: translateY(32%) rotate(3deg);
}

.archive-envelope-book:hover .archive-slot-thumb {
  transform: translateY(-34%) rotate(7deg);
}

.archive-envelope-book span {
  top: 47%;
  left: 12%;
  right: 12%;
  font-size: clamp(0.78rem, 1.08vw, 1.02rem);
  line-height: 1.08;
}

.archive-envelope-book small {
  top: 68%;
  font-size: clamp(0.5rem, 0.7vw, 0.66rem);
}

.slot-7.archive-envelope-wide {
  top: 62.5%;
}

.slot-8.archive-envelope-wide {
  top: 62%;
}

.archive-envelope-wide .archive-slot-thumb {
  left: 13%;
  bottom: 46%;
  width: 74%;
  aspect-ratio: 1.46 / 1;
  transform: translateY(31%) rotate(-1deg);
}

.archive-envelope-wide span {
  top: 50%;
  font-size: clamp(0.95rem, 1.38vw, 1.28rem);
  line-height: 1.05;
}

.archive-envelope-wide small {
  top: 66%;
  font-size: clamp(0.54rem, 0.76vw, 0.72rem);
}

.archive-envelope-wide:hover .archive-slot-thumb {
  transform: translateY(-30%) rotate(-6deg);
}

.archive-file {
  width: min(1040px, 100%);
  margin: clamp(54px, 7vw, 88px) auto 0;
}

.archive-file-hero {
  width: 100%;
  margin: 0 auto clamp(22px, 3vw, 38px);
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  transform: none;
}

.archive-file-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.archive-wara-visual {
  padding: clamp(8px, 1.5vw, 14px);
  background: rgba(255, 244, 213, 0.4);
  border: 2px solid rgba(61, 44, 27, 0.36);
}

.archive-book-cover {
  width: min(420px, 78%);
}

.archive-book-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.archive-external-link {
  margin-top: 6px;
}

.archive-file-paper {
  width: min(880px, 100%);
  margin: 0 auto;
  color: #21170f;
  filter: none;
  transform: rotate(0.45deg);
}

.archive-wara-paper {
  width: min(900px, 100%);
}

.archive-wara-top,
.archive-wara-bottom {
  display: block;
  width: 100%;
  height: auto;
}

.archive-wara-body {
  margin: -1px 0;
  padding: clamp(18px, 3vw, 38px) clamp(48px, 8vw, 92px);
  background-image: url("assets/archive-wara-repeat.png");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.archive-file-paper h1 {
  margin: 0 0 clamp(12px, 1.6vw, 18px);
  color: #132f43;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
}

.archive-note-card {
  margin-top: clamp(20px, 3vw, 34px);
  padding: 0;
  border-top: 0;
}

.archive-note-card > div {
  display: block;
  padding: clamp(16px, 2.4vw, 26px);
  background: rgba(255, 238, 183, 0.74);
  border: 3px solid rgba(55, 36, 20, 0.78);
  box-shadow: 6px 7px 0 rgba(10, 6, 4, 0.36);
  transform: rotate(-0.8deg);
}

.archive-note-card dl > div {
  display: grid;
}

.archive-character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.archive-character-grid figure {
  margin: 0;
  padding: 8px;
  background: rgba(255, 244, 212, 0.56);
  border: 3px solid rgba(31, 21, 12, 0.86);
  box-shadow: 5px 5px 0 rgba(10, 6, 4, 0.48);
}

.archive-character-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.slot-1,
.slot-4,
.slot-7 {
  left: 6%;
}

.slot-2,
.slot-5,
.slot-8 {
  left: 37.5%;
}

.slot-3,
.slot-6,
.slot-9 {
  left: 68%;
}

.slot-1,
.slot-2,
.slot-3 {
  top: 8%;
}

.slot-4,
.slot-5,
.slot-6 {
  top: 37%;
}

.slot-7,
.slot-8,
.slot-9 {
  top: 66%;
}

.slot-2,
.slot-6,
.slot-8 {
  transform: rotate(1.6deg);
}

.contact-signboard {
  width: min(900px, 100%);
  margin: clamp(58px, 7vw, 92px) auto 0;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.5));
  transform: rotate(-0.4deg);
}

.contact-board-top,
.contact-board-bottom {
  display: block;
  width: 100%;
  height: auto;
}

.contact-board-body {
  position: relative;
  min-height: clamp(280px, 34vw, 440px);
  margin: -1px 0;
  background-image: url("assets/contact-board-repeat.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.contact-copy {
  width: min(690px, calc(100% - 120px));
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px) 0 clamp(12px, 2vw, 26px);
  color: #182c3d;
}

.contact-copy h2 {
  margin: 0 0 clamp(12px, 1.6vw, 18px);
  color: #c5231b;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 0.95;
  font-weight: 950;
}

.contact-copy p {
  margin: 0 0 16px;
  color: #172536;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 850;
  line-height: 1.75;
}

.contact-copy strong {
  font-weight: 950;
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin: clamp(14px, 2vw, 22px) 0;
}

.contact-mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 3px solid #1b1210;
  background: #f72b82;
  color: #fff9e8;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: 5px 5px 0 rgba(24, 13, 9, 0.8);
  transform: rotate(0.4deg);
}

.contact-mail-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px) rotate(0.4deg);
}

.contact-form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 3px solid #1b1210;
  background: #e5c14d;
  color: #201411;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 rgba(24, 13, 9, 0.76);
  cursor: pointer;
}

.contact-form-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.contact-note {
  margin-top: clamp(16px, 2.4vw, 28px);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1.65;
}

.google-form-panel {
  width: min(760px, calc(100% - 120px));
  margin: clamp(10px, 2vw, 20px) auto 0;
}

.google-form-panel iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 5px solid #1b1210;
  background: #f7f1e8;
  box-shadow: 6px 6px 0 rgba(14, 8, 5, 0.65);
  overflow: hidden;
}

.contact-round-nav {
  margin-top: clamp(24px, 3vw, 40px);
}

.profile-copy {
  position: relative;
  color: #21170f;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}

.profile-kicker {
  margin: 0 0 8px;
  color: #a93624;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 950;
  line-height: 1;
}

.profile-copy h2 {
  margin: 0 0 clamp(10px, 1.4vw, 16px);
  color: #19324a;
  font-size: clamp(1.7rem, 3.1vw, 2.8rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.profile-copy p {
  margin: 0 0 clamp(8px, 1.1vw, 12px);
  font-size: clamp(0.86rem, 1.08vw, 1rem);
  font-weight: 800;
  line-height: 1.72;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.works-grid.masonry-layout {
  display: block;
  columns: 3 300px;
  column-gap: clamp(14px, 2vw, 24px);
}

.works-grid.masonry-layout .work-card {
  display: inline-grid;
  width: 100%;
  margin: 0 0 clamp(14px, 2vw, 24px);
  break-inside: avoid;
}

.detail-gallery-grid.masonry-layout {
  align-items: start;
}

.work-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 0;
  aspect-ratio: 1;
  padding: clamp(34px, 4.2vw, 56px);
  border: 0;
  background: url("assets/work-frame-blue.png") center / contain no-repeat;
  color: #132c43;
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.48));
  box-shadow: none;
  transform-origin: 50% 82%;
  transition: transform 220ms cubic-bezier(0.18, 0.88, 0.28, 1.18), filter 220ms ease;
}

.work-thumb {
  position: absolute;
  display: grid;
  place-items: center;
  inset: 12% 10% auto;
  height: 34%;
  overflow: hidden;
  border: 2px dashed rgba(19, 44, 67, 0.34);
  background: rgba(239, 223, 177, 0.28);
  color: #1d3447;
  box-shadow: none;
  transform-origin: 50% 100%;
  transition: transform 240ms cubic-bezier(0.2, 0.9, 0.22, 1.2), filter 220ms ease;
}

.work-thumb::before {
  content: none;
}

.work-thumb::after {
  content: none;
  position: absolute;
  top: 8px;
  right: 10px;
  color: rgba(159, 47, 34, 0.84);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.work-thumb span {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #17344d;
  font-size: clamp(0.78rem, 1.1vw, 1.05rem);
  font-weight: 950;
  line-height: 1.28;
}

.work-thumb-image {
  border-style: solid;
  background: rgba(245, 230, 191, 0.62);
}

.work-thumb-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 240ms ease;
}

.work-card:hover {
  filter: brightness(1.04) drop-shadow(0 20px 22px rgba(0, 0, 0, 0.52));
  transform: translateY(-6px) scaleY(1.018);
}

.work-card:hover .work-thumb {
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-5px) scaleX(1.025) scaleY(0.985);
}

.work-card:hover .work-thumb-image img {
  transform: scale(1.045);
}

.work-card:nth-child(2n) {
  background-image: url("assets/work-frame-orange.png");
}

.work-card:nth-child(3n) {
  background-image: url("assets/work-frame-yellow.png");
}

.work-type {
  display: inline-block;
  margin: 46% 0 8px;
  color: #9f2f22;
  font-size: clamp(0.58rem, 0.82vw, 0.72rem);
  font-weight: 950;
  line-height: 1;
}

.work-card h2 {
  margin: 0;
  color: #102b43;
  font-size: clamp(1rem, 1.55vw, 1.42rem);
  line-height: 1.15;
  font-weight: 950;
}

.work-card p {
  margin: 8px 0 0;
  color: rgba(18, 31, 38, 0.9);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 750;
  line-height: 1.48;
}

.work-link {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 13px;
  border: 2px solid rgba(18, 11, 7, 0.96);
  background: #e0b43f;
  color: #21150e;
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: 4px 4px 0 rgba(10, 6, 4, 0.68);
}

.work-link:hover {
  transform: translateY(-2px);
}

.work-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  width: min(1060px, 100%);
  margin: clamp(54px, 7vw, 88px) auto 0;
}

.work-detail-page .work-detail {
  margin-top: clamp(82px, 9vw, 128px);
}

.work-detail-cover {
  margin: 0;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.48));
  transform: rotate(-1.2deg);
}

.work-detail-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.work-detail-paper {
  position: relative;
  padding: 0;
  background: none;
  color: #21170f;
  filter: drop-shadow(12px 14px 0 rgba(10, 6, 4, 0.5));
  box-shadow: none;
  transform: rotate(0.8deg);
}

.work-detail-paper::before {
  content: none;
}

.work-plate-top,
.work-plate-bottom {
  display: block;
  width: 100%;
  height: auto;
}

.work-plate-body {
  margin: -1px 0;
  padding: clamp(18px, 3vw, 38px) clamp(28px, 4.4vw, 54px);
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.work-plate-white > .work-plate-body {
  background-image: url("assets/work-plate-white-repeat.png");
}

.work-plate-yellow {
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-top: 0;
  border-top: 0;
  filter: drop-shadow(6px 8px 0 rgba(10, 6, 4, 0.42));
  transform: rotate(-0.8deg);
}

.work-plate-yellow > .work-plate-body {
  padding: clamp(12px, 2vw, 22px) clamp(20px, 3.4vw, 36px);
  background-image: url("assets/work-plate-yellow-repeat.png");
}

.work-detail-paper h1 {
  margin: 0 0 clamp(12px, 1.6vw, 18px);
  color: #132f43;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.02;
  text-shadow: none;
}

.detail-lead {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  color: #2a1b11;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 900;
  line-height: 1.72;
}

.detail-section {
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-top: clamp(14px, 1.8vw, 20px);
  border-top: 2px solid rgba(35, 21, 11, 0.28);
}

.detail-section h2 {
  margin: 0 0 10px;
  color: #9f2f22;
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  line-height: 1.25;
  font-weight: 950;
}

.detail-section h3 {
  margin: 0 0 10px;
  color: #132f43;
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.28;
  font-weight: 950;
}

.archive-group-label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 8px;
  background: rgba(19, 47, 67, 0.9);
  color: #fff2cf;
  font-size: clamp(0.62rem, 0.85vw, 0.76rem);
  font-weight: 950;
  line-height: 1;
}

.detail-section p {
  margin: 0 0 12px;
  color: #21170f;
  font-size: clamp(0.9rem, 1.08vw, 1rem);
  font-weight: 800;
  line-height: 1.75;
}

.detail-facts dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.detail-facts h2 {
  color: #132f43;
}

.detail-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(35, 21, 11, 0.22);
}

.detail-facts dt,
.detail-facts dd {
  margin: 0;
  font-size: clamp(0.84rem, 1vw, 0.95rem);
  font-weight: 850;
  line-height: 1.5;
}

.detail-facts dt {
  color: #8d2d21;
}

.detail-facts dd {
  color: #21170f;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: center;
}

.detail-gallery figure {
  margin: 0;
  padding: 10px;
  background: rgba(255, 244, 212, 0.56);
  border: 3px solid rgba(31, 21, 12, 0.86);
  box-shadow: 5px 5px 0 rgba(10, 6, 4, 0.48);
  transform: rotate(-0.8deg);
}

.detail-gallery figure:nth-child(2) {
  transform: rotate(1deg);
}

.detail-gallery-single {
  grid-template-columns: minmax(0, 1fr);
}

.detail-gallery-single figure {
  max-width: 560px;
}

.detail-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-gallery figcaption {
  margin-top: 9px;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 950;
  line-height: 1.45;
}

.detail-gallery figcaption a {
  color: #132f43;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.detail-gallery figcaption a:hover {
  color: #9f2f22;
}

.youtube-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 4px solid #1b1210;
  background: #120c08;
  box-shadow: 6px 6px 0 rgba(10, 6, 4, 0.58);
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.menu-sign,
.contact-board,
.work-sign,
.strip-inner {
  position: relative;
  border: 3px solid var(--black);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.menu-sign::before,
.work-sign::before,
.contact-board::before,
.strip-inner::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(36, 23, 15, 0.44);
  pointer-events: none;
}

.sign-blue {
  --tilt: -1deg;
  grid-column: 1 / span 4;
  background: var(--blue);
}

.sign-yellow {
  --tilt: 1.2deg;
  grid-column: 5 / span 3;
  background: var(--yellow);
  color: var(--ink);
}

.sign-red {
  --tilt: -0.8deg;
  grid-column: 8 / span 3;
  background: var(--red);
}

.sign-navy {
  --tilt: 1deg;
  grid-column: 11 / span 2;
  background: var(--navy);
}

.bolts::before,
.bolts::after,
.unused-bolt::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.28);
}

.bolts::before {
  top: 13px;
  left: 13px;
}

.bolts::after {
  top: 13px;
  right: 13px;
}

.unused-bolt::after {
  right: 13px;
  bottom: 13px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--red);
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(3.3rem, 11vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 rgba(36, 23, 15, 0.18);
}

.menu-signs {
  grid-column: 3 / span 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}

.menu-sign {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 12px;
  color: var(--cream);
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: rotate(var(--tilt, 0deg));
}

.menu-sign span {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
}

.sign-green {
  --tilt: -1.5deg;
  background: var(--green);
}

.sign-cream {
  --tilt: 1.6deg;
  background: var(--cream);
  color: var(--ink);
}

.notice-strip {
  border-top: 5px solid var(--black);
  border-bottom: 5px solid var(--black);
  background: var(--yellow);
  color: var(--ink);
}

.strip-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border-top: 0;
  border-bottom: 0;
  background: rgba(255, 246, 222, 0.66);
}

.strip-inner h2,
.strip-inner p {
  margin: 0;
}

.strip-inner h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.strip-inner p {
  max-width: 760px;
  margin-top: 10px;
  font-weight: 800;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 108px) 0;
}

.about,
.archive {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.section p {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.sign-heading {
  border-left: 12px solid var(--red);
  padding-left: 18px;
}

.sign-heading h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.work-sign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.work-sign {
  min-height: 280px;
  padding: 24px;
  color: var(--cream);
  transform: rotate(var(--tilt, 0deg));
}

.work-sign.red {
  --tilt: -1deg;
  background: var(--red);
}

.work-sign.blue {
  --tilt: 1.3deg;
  background: var(--blue);
}

.work-sign.yellow {
  --tilt: -0.6deg;
  background: var(--yellow);
  color: var(--ink);
}

.work-sign span {
  font-size: 0.86rem;
  font-weight: 900;
}

.work-sign h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1;
}

.work-sign p,
.work-sign.yellow p {
  margin: 0;
  color: inherit;
  font-weight: 800;
}

.craft {
  border-top: 2px dashed rgba(239, 224, 189, 0.36);
  border-bottom: 2px dashed rgba(239, 224, 189, 0.36);
}

.craft-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.craft-copy p {
  margin: 0;
  border: 3px solid var(--black);
  background: var(--cream);
  color: var(--ink);
  padding: 22px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.contact {
  padding-top: 0;
}

.contact-board {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  transform: rotate(-0.6deg);
}

.contact-board h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 0.95;
}

.contact-board p {
  max-width: 680px;
  margin: 16px auto 24px;
  color: var(--ink);
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--black);
  background: var(--yellow);
  color: var(--ink);
  padding: 0 20px;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 160ms ease;
}

.button:hover,
.image-button:hover,
.menu-sign:hover {
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.5)) brightness(1.06);
  transform: translateY(-3px);
}

.photo-menu .image-button:hover,
.subpage-nav .image-button:hover {
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.54)) brightness(1.08);
  transform: translateY(-8px) scaleX(1.045) scaleY(0.975) rotate(var(--tilt, 0deg));
}

.photo-menu .image-button:hover > img,
.subpage-nav .image-button:hover > img {
  transform: translateY(-3px) scale(1.035);
}

.museum-reveal {
  opacity: 0;
  translate: 0 16px;
  filter: brightness(0.92);
  transition:
    opacity 420ms ease,
    translate 460ms cubic-bezier(0.2, 0.78, 0.2, 1),
    filter 420ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.museum-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: brightness(1);
}

.museum-pressable {
  position: relative;
}

.museum-pressable:active {
  translate: 0 1px;
  filter: brightness(0.97);
}

.tap-dust {
  position: fixed;
  left: var(--tap-x);
  top: var(--tap-y);
  z-index: 10000;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(239, 205, 120, 0.74);
  border-radius: 999px;
  pointer-events: none;
  translate: -50% -50%;
  animation: tapDust 520ms ease-out forwards;
}

@keyframes tapDust {
  0% {
    opacity: 0.9;
    scale: 0.4;
  }

  100% {
    opacity: 0;
    scale: 3.2;
  }
}

.subpage-nav {
  transition: filter 320ms ease, translate 320ms ease;
}

.subpage-nav.is-stuck {
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.42));
}

.news-article,
.detail-gallery figure,
.work-detail-cover,
.archive-visual-card {
  transition: translate 360ms ease, filter 360ms ease;
}

.news-article:hover,
.detail-gallery figure:hover,
.work-detail-cover:hover,
.archive-visual-card:hover {
  translate: 0 -4px;
  filter: brightness(1.03);
}

.detail-gallery img,
.work-detail-cover img,
.news-thumb img,
.news-ad-strip img {
  cursor: zoom-in;
  transition: scale 360ms ease, filter 360ms ease;
}

.detail-gallery img:hover,
.work-detail-cover img:hover,
.news-thumb img:hover,
.news-ad-strip img:hover {
  scale: 1.025;
  filter: brightness(1.04);
}

.museum-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(10, 7, 4, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.museum-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.museum-lightbox__panel {
  position: relative;
  max-width: min(1060px, 94vw);
  max-height: 88vh;
  padding: clamp(10px, 1.8vw, 18px);
  background: rgba(239, 221, 174, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.56);
}

.museum-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.museum-lightbox__caption {
  margin: 10px 40px 0 0;
  color: #1a160f;
  font-size: 0.88rem;
  font-weight: 800;
}

.museum-lightbox__close {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #1a160f;
  background: #f4cf57;
  color: #1a160f;
  font-size: 1.1rem;
  font-weight: 950;
  cursor: pointer;
}

.museum-accordion {
  margin: 18px 0;
  border-top: 2px solid rgba(24, 19, 12, 0.24);
  border-bottom: 2px solid rgba(24, 19, 12, 0.24);
}

.museum-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  color: #9f2f22;
  font-weight: 950;
}

.museum-accordion summary::-webkit-details-marker {
  display: none;
}

.museum-accordion summary::after {
  content: "+";
  float: right;
  font-weight: 950;
}

.museum-accordion[open] summary::after {
  content: "-";
}

.museum-accordion__body {
  animation: accordionOpen 360ms ease;
}

@keyframes accordionOpen {
  from {
    opacity: 0;
    translate: 0 -6px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.cube-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background:
    linear-gradient(rgba(16, 9, 5, 0.72), rgba(16, 9, 5, 0.82)),
    url("assets/wood-wall-tile.png") center top / 720px 720px repeat;
  transition: opacity 120ms ease;
}

.cube-transition.is-active {
  visibility: visible;
  opacity: 1;
}

.cube-transition__stage {
  position: absolute;
  inset: 0;
  perspective: 1450px;
  perspective-origin: 50% 50%;
}

.cube-transition__cube {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  transform-style: preserve-3d;
  transform: translateZ(-50vw) rotateY(0deg);
}

.cube-transition__face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 12, 8, 0.62), rgba(18, 12, 8, 0.74)),
    url("assets/wood-wall-tile.png") center top / 720px 720px repeat;
  backface-visibility: hidden;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
}

.cube-transition__face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 218, 144, 0.12), transparent 34rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 42%, rgba(0, 0, 0, 0.44));
  opacity: 0.65;
}

.cube-transition__face iframe {
  display: block;
  width: 100vw;
  height: 100vh;
  border: 0;
  background:
    linear-gradient(rgba(18, 12, 8, 0.62), rgba(18, 12, 8, 0.74)),
    url("assets/wood-wall-tile.png") center top / 720px 720px repeat;
  pointer-events: none;
}

.cube-transition__face--in {
  transform: rotateY(90deg) translateZ(50vw);
}

.cube-transition__face--out {
  transform: rotateY(0deg) translateZ(50vw);
}

.cube-transition.is-active .cube-transition__cube {
  animation: pageCubeTurn 680ms cubic-bezier(0.36, 0.02, 0.12, 1) forwards;
}

.cube-transition.is-active .cube-transition__face--out::after {
  animation: cubeFaceDarken 680ms cubic-bezier(0.36, 0.02, 0.12, 1) forwards;
}

.cube-transition.is-active .cube-transition__face--in::after {
  animation: cubeFaceBrighten 680ms cubic-bezier(0.36, 0.02, 0.12, 1) forwards;
}

@keyframes pageCubeTurn {
  0% {
    transform: translateZ(-50vw) rotateY(0deg);
  }

  100% {
    transform: translateZ(-50vw) rotateY(-90deg);
  }
}

@keyframes cubeFaceDarken {
  0% {
    opacity: 0.32;
  }

  100% {
    opacity: 0.82;
  }
}

@keyframes cubeFaceBrighten {
  0% {
    opacity: 0.86;
  }

  100% {
    opacity: 0.32;
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(16px, 4vw, 46px);
  border-top: 3px solid var(--black);
  background: #120c08;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 940px) {
  .hanging-lamp {
    top: -74px;
    width: clamp(142px, 28vw, 210px);
  }

  .sign-stage {
    grid-template-columns: repeat(6, 1fr);
    align-content: end;
  }

  .sign-blue,
  .sign-yellow,
  .sign-red,
  .sign-navy,
  .menu-signs {
    grid-column: 1 / -1;
  }

  .tv-set,
  .media-row,
  .service-signs {
    grid-column: 1 / -1;
  }

  .media-row {
    grid-template-columns: minmax(0, 1fr) clamp(210px, 30vw, 280px);
    width: min(850px, 100%);
  }

  .photo-menu {
    grid-template-columns: repeat(2, 1fr);
    width: min(720px, 100%);
  }

  .service-signs {
    width: min(760px, 100%);
  }

  .sign-navy {
    display: none;
  }

  .work-sign-grid,
  .craft-copy,
  .about,
  .archive,
  .about-layout,
  .works-feature,
  .work-detail,
  .newspaper-grid {
    grid-template-columns: 1fr;
  }

  .lead-story {
    grid-column: auto;
    min-height: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
  }

  .vertical-story-body {
    min-height: 0;
    writing-mode: horizontal-tb;
  }

  .vertical-story-body p {
    max-height: none;
  }

  .boxed-note {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .boxed-note .news-label,
  .boxed-note h3,
  .boxed-note > p,
  .boxed-note .vertical-ad {
    grid-column: auto;
    grid-row: auto;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-sign-grid {
    width: calc(100% - 6px);
  }

  .work-sign {
    min-width: 0;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hanging-lamp {
    top: -38px;
    width: 104px;
  }

  .site-header {
    align-items: flex-start;
    padding: 8px 10px;
    pointer-events: none;
  }

  .brand {
    pointer-events: auto;
  }

  .brand-logo {
    width: 74px;
    height: 74px;
    box-shadow: 4px 4px 0 var(--black);
  }

  .brand span:last-child {
    display: none;
  }

  .sign-stage {
    width: min(100% - 16px, 520px);
    min-height: auto;
    padding-top: 96px;
    align-content: start;
  }

  .menu-signs,
  .service-signs {
    grid-template-columns: 1fr;
  }

  .photo-menu,
  .subpage-nav {
    --menu-button-height: clamp(70px, 17vw, 92px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 430px);
    max-width: 100%;
    margin: 0 auto;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .image-button {
    width: 100%;
    min-width: 0;
    height: var(--menu-button-height);
    justify-self: center;
    transform: rotate(var(--tilt, 0deg));
  }

  .subpage-nav .image-button {
    height: var(--menu-button-height);
  }

  .photo-menu .image-button > img,
  .subpage-nav .image-button > img {
    width: auto;
    max-width: 100%;
    max-height: var(--menu-button-height);
  }

  .service-signs {
    width: min(100%, 420px);
    gap: 10px;
    margin-top: 2px;
  }

  .service-sign {
    max-width: 330px;
    margin: 0 auto;
  }

  .contact-wide-sign {
    max-width: 360px;
  }

  .photo-menu .image-button:hover {
    transform: translateY(-5px) scaleX(1.025) scaleY(0.985) rotate(var(--tilt, 0deg));
  }

  .tv-set {
    width: min(100%, 440px);
  }

  .media-row {
    grid-template-columns: 1fr;
    width: min(100%, 440px);
    gap: 14px;
    margin-top: 18px;
    justify-items: center;
  }

  .side-stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    align-items: start;
    width: min(100%, 420px);
    gap: 10px;
  }

  .book-sign {
    width: 100%;
  }

  .section,
  .strip-inner {
    width: min(100% - 24px, 520px);
  }

  .subpage-inner {
    width: min(100% - 16px, 520px);
    padding-top: 104px;
  }

  .page-title-board p {
    font-size: 0.72rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-detail {
    width: min(100%, 430px);
    margin-top: 26px;
    gap: 18px;
  }

  .work-detail-page .work-detail {
    margin-top: 34px;
  }

  .work-detail-paper {
    transform: rotate(0.4deg);
  }

  .work-plate-body {
    padding: 18px 22px;
  }

  .work-plate-yellow > .work-plate-body {
    padding: 14px 18px;
  }

  .detail-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    width: min(100%, 430px);
    margin-top: 26px;
  }

  .profile-scroll-body {
    padding-left: 9.5%;
    padding-right: 9.5%;
  }

  .profile-copy h2 {
    font-size: clamp(1.45rem, 6.4vw, 2rem);
  }

  .profile-copy p {
    font-size: clamp(0.76rem, 3.3vw, 0.9rem);
    line-height: 1.58;
  }

  .contact-lamp,
  .archive-lamp,
  .news-lamp {
    left: 50%;
  }

  .archive-shelf {
    width: min(100%, 430px);
    margin-top: 26px;
  }

  .archive-slot {
    padding: 4px;
  }

  .archive-slot::before {
    inset: 20% 5%;
  }

  .archive-slot span {
    font-size: clamp(0.66rem, 3.1vw, 0.95rem);
  }

  .archive-slot small {
    display: none;
  }

  .newspaper {
    margin-top: 26px;
    padding: 14px;
    transform: rotate(-0.4deg);
  }

  .news-page .newspaper {
    margin-top: 34px;
  }

  .newspaper-head h2 {
    font-size: clamp(2rem, 13vw, 3.3rem);
  }

  .news-single-paper {
    width: min(100%, 430px);
    margin-top: 34px;
    padding: 18px 20px 34px;
  }

  .news-single-head .newspaper-title-image {
    width: min(100%, 360px);
  }

  .news-single-image {
    width: 100%;
    margin-bottom: 22px;
  }

  .news-single-title {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .news-single-content {
    font-size: clamp(1rem, 4.8vw, 1.24rem);
    line-height: 1.78;
  }

  .contact-signboard {
    width: min(100%, 430px);
    margin-top: 26px;
  }

  .contact-board-body {
    min-height: 360px;
  }

  .contact-copy {
    width: calc(100% - 56px);
    padding-top: 8px;
  }

  .contact-copy h2 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .contact-copy p {
    font-size: 0.84rem;
    line-height: 1.62;
  }

  .google-form-panel {
    width: calc(100% - 56px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cube-transition {
    display: none;
  }
}
