@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Shippori+Mincho:wght@400;500&family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

:root {
  --bg: #f7f4ee;
  --paper: #fffdf8;
  --paper-soft: #fbf8f1;
  --text: #242321;
  --muted: #777068;
  --muted-2: #9a9389;
  --line: #d8d0c3;
  --line-dark: #b9afa1;
  --shadow: 0 24px 80px rgba(36, 35, 33, 0.08);
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.85), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, var(--bg), #f3efe6 100%);
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  letter-spacing: 0.045em;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.33;
  background-image:
    linear-gradient(rgba(36,35,33,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,35,33,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.15) 72%, transparent 100%);
  z-index: -1;
}

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

img, svg {
  max-width: 100%;
  display: block;
}

p {
  margin: 0;
}

::selection {
  background: rgba(36,35,33,0.13);
}

.site-header {
  height: var(--header-height);
  padding: 0 var(--gutter);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 244, 238, 0.82);
  border-bottom: 1px solid rgba(216, 208, 195, 0.58);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
}

.logo-mark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--text);
  border-radius: 50%;
  position: relative;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 6px;
  background: var(--text);
  transform-origin: bottom center;
}

.logo-mark::before {
  transform: translate(-50%, -100%) rotate(0deg);
}

.logo-mark::after {
  transform: translate(-50%, -100%) rotate(115deg);
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.105em;
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width .28s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.mobile-nav-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.12em;
  font-size: 12px;
  padding: 8px 0;
}

main {
  min-height: calc(100vh - var(--header-height));
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.7fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.kicker {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-title,
.page-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.035em;
  margin: 0;
}

.hero-title .sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2.1vw, 28px);
  letter-spacing: 0.13em;
  font-weight: 300;
  color: var(--muted);
  margin-top: 18px;
}

.hero-copy {
  max-width: 680px;
  margin-top: clamp(34px, 4vw, 58px);
  font-size: clamp(15px, 1.35vw, 18px);
  color: #36332e;
}

.hero-copy p + p {
  margin-top: 18px;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.text-link,
.outline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.13em;
}

.outline-link {
  border: 1px solid var(--line-dark);
  padding: 12px 18px;
  min-width: 176px;
  justify-content: space-between;
  background: rgba(255,255,255,0.24);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.outline-link:hover {
  background: rgba(255,255,255,0.72);
  border-color: var(--text);
  transform: translateY(-1px);
}

.arrow {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}

.hero-visual {
  justify-self: center;
  width: min(100%, 420px);
}

.device-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line-dark);
  padding: 14px;
  background: rgba(255,255,255,0.42);
  box-shadow: var(--shadow);
}

.device-screen {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.13em;
}

.scroll-note {
  position: absolute;
  left: var(--gutter);
  bottom: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  writing-mode: vertical-rl;
}

.section {
  padding: clamp(72px, 10vw, 148px) 0;
  border-top: 1px solid var(--line);
}

.section.compact {
  padding: clamp(52px, 7vw, 92px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  margin-bottom: clamp(42px, 7vw, 92px);
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.17em;
  color: var(--muted);
  text-transform: uppercase;
}

.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
}

.lead {
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 2.1;
  color: #332f2a;
}

.lead + .lead {
  margin-top: 22px;
}

.works-list {
  border-top: 1px solid var(--line-dark);
}

.work-row {
  display: grid;
  grid-template-columns: 56px clamp(74px, 9vw, 124px) minmax(0, 1.2fr) minmax(180px, 0.55fr) 48px;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  transition: color .25s ease, opacity .25s ease;
}

.work-row:hover .work-title {
  transform: translateX(4px);
}

.work-index,
.work-meta,
.work-arrow {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-preview {
  display: block;
  aspect-ratio: 9 / 12;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.26);
  overflow: hidden;
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.work-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 3.4vw, 48px);
  letter-spacing: 0.04em;
  line-height: 1.24;
  transition: transform .25s ease;
}

.work-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 8px;
  max-width: 620px;
}

.work-arrow {
  justify-self: end;
  color: var(--text);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line);
}

.category-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.17);
}

.category-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 400;
  margin: 0 0 32px;
  text-transform: uppercase;
}

.category-card p {
  color: var(--muted);
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.project-card {
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
}

.project-thumb {
  background: rgba(255,255,255,0.34);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 22px;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card h3 {
  margin: 0 0 8px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 24px;
}

.project-card p {
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding-top: clamp(72px, 11vw, 148px);
  padding-bottom: clamp(64px, 9vw, 118px);
}

.page-intro {
  max-width: 780px;
  margin-top: clamp(34px, 5vw, 64px);
  font-size: clamp(16px, 1.6vw, 20px);
  color: #38342f;
}

.meta-table {
  border-top: 1px solid var(--line-dark);
  margin-top: clamp(44px, 6vw, 82px);
}

.meta-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.meta-label {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta-value {
  color: #34312d;
}

.project-hero-image {
  margin: 0 auto;
  max-width: 860px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.34);
  padding: 14px;
}

.project-hero-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.text-block {
  max-width: 820px;
  margin-left: auto;
}

.text-block p + p {
  margin-top: 22px;
}

.document {
  max-width: 820px;
}

.document h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 26px;
  margin: 48px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.document h2:first-child {
  margin-top: 0;
}

.document p,
.document li {
  color: #3a362f;
  font-size: 15px;
}

.document ul {
  padding-left: 1.2em;
}

.contact-panel {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
  padding: clamp(34px, 6vw, 70px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 104px);
}

.contact-panel h2 {
  margin: 0;
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.35;
  font-weight: 400;
}

.contact-panel p {
  color: var(--muted);
}

.mail-placeholder {
  display: inline-flex;
  margin-top: 34px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 4px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px var(--gutter);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.13em;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .scroll-note {
    display: none;
  }

  .hero-visual {
    justify-self: start;
    max-width: 340px;
  }

  .section-head,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

  .work-row {
    grid-template-columns: 46px 78px minmax(0, 1fr) 40px;
  }

  .work-meta {
    grid-column: 3 / 5;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 0 20px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-nav-button {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: calc(var(--header-height) + 10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(255,253,248,0.96);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .logo-text {
    font-size: 12px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-title,
  .page-title {
    font-size: clamp(42px, 16vw, 76px);
  }

  .hero-title .sub {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .outline-link {
    width: 100%;
  }

  .work-row {
    grid-template-columns: 36px 72px minmax(0, 1fr);
    padding: 28px 0;
    gap: 14px;
  }

  .work-arrow {
    grid-column: 3;
    justify-self: start;
  }

  .work-meta {
    grid-column: 3;
  }

  .work-preview {
    grid-row: span 3;
  }

  .category-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 190px;
  }

  .meta-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-inner {
    flex-direction: column;
  }
}


.visual-preview-section {
  background: rgba(255,255,255,0.16);
}

.visual-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.visual-preview-card {
  display: block;
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
}

.visual-preview-image {
  aspect-ratio: 9 / 13;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.28);
  overflow: hidden;
}

.visual-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-preview-text {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.visual-preview-text strong {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  color: var(--text);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 920px) {
  .visual-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .visual-preview-grid {
    grid-template-columns: 1fr;
  }

  .visual-preview-image {
    aspect-ratio: 9 / 12;
  }
}


.photobook-cover {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.photobook-cover-image {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.28);
  padding: 12px;
}

.photobook-cover-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.photobook-cover-text h2 {
  margin: 18px 0 24px;
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.photobook-cover-text p + p {
  margin-top: 18px;
}

.character-list {
  margin: 34px 0 0;
  border-top: 1px solid var(--line-dark);
}

.character-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.character-list dt {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.character-list dd {
  margin: 0;
  color: #34312d;
}

.photobook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 32px);
}

.photobook-item {
  margin: 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
}

.photobook-item img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.28);
}

.photobook-item figcaption {
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

@media (max-width: 920px) {
  .photobook-cover {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .photobook-grid {
    grid-template-columns: 1fr;
  }

  .character-list div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
