:root {
  --paper: #f6f5f1;
  --ink: #151513;
  --muted: #67665f;
  --line: rgba(21,21,19,.22);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  font-synthesis: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

.site-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 3.5vw; border-bottom: 1px solid var(--line); }
.brand { display: grid; line-height: 1; letter-spacing: .12em; }
.brand strong { font: 700 13px/1 Arial,sans-serif; }
.brand small { margin-top: 6px; color: var(--muted); font-size: 9px; }
.header-link { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 11px; }

.label { margin: 0 0 24px; font: 700 10px/1 Arial,sans-serif; letter-spacing: .2em; }
.intro { min-height: max(760px,calc(100svh - 74px)); display: grid; grid-template-columns: minmax(500px,.92fr) minmax(580px,1.08fr); gap: clamp(28px,4vw,72px); align-items: center; padding: clamp(64px,8vh,110px) 3.5vw clamp(58px,7vh,94px) 6vw; overflow: hidden; border-bottom: 1px solid var(--line); }
.intro-text { position: relative; z-index: 2; min-width: 0; padding-top: 28px; }
.intro .label { margin-bottom: 32px; }
.intro h1 { max-width: 790px; margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(66px,6.35vw,104px); font-weight: 400; line-height: .98; letter-spacing: -.085em; }
.hero-line { display: block; overflow: hidden; padding: 0 .09em .12em 0; margin-bottom: -.12em; }
.hero-line:first-child { font-size: .66em; letter-spacing: -.055em; white-space: nowrap; }
.hero-line > span { display: block; }
.motion-ready .hero-line > span { transform: translate3d(0,108%,0); animation: hero-line-in .9s cubic-bezier(.16,1,.3,1) forwards; }
.hero-line:nth-child(2) > span { animation-delay: .09s; }
.hero-line:nth-child(3) > span { animation-delay: .18s; }
.hero-line-accent { margin-left: 18%; font-size: 1.24em; font-style: italic; }
.intro-copy { max-width: 540px; margin: clamp(32px,4.8vh,54px) 0 0 18%; color: var(--muted); font-size: 13px; line-height: 2; }
.intro-link { position: relative; isolation: isolate; width: min(420px,82%); display: flex; justify-content: space-between; margin: 30px 0 0 18%; padding: 15px 14px; overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 12px; transition: color .2s ease, transform .12s ease; }
.intro-link::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--ink); transform: translate3d(-102%,0,0); transition: transform .38s cubic-bezier(.2,.72,.25,1); }
.intro-link > span:last-child { transition: transform .38s cubic-bezier(.2,.72,.25,1); }
.intro-link:focus-visible { color: var(--paper); }
.intro-link:focus-visible::before { transform: translate3d(0,0,0); }
.intro-link:focus-visible > span:last-child { transform: translate3d(0,4px,0); }
.intro-link:active { transform: scale(.985); }
.intro-index { margin: 32px 0 0; color: #918f87; font: 9px/1 Arial,sans-serif; letter-spacing: .18em; writing-mode: vertical-rl; }
.motion-ready .intro .label { animation: hero-detail-in .62s cubic-bezier(.2,.72,.25,1) both; }
.motion-ready .intro-copy { animation: hero-detail-in .72s .48s cubic-bezier(.2,.72,.25,1) both; }
.motion-ready .intro-link { animation: hero-detail-in .72s .56s cubic-bezier(.2,.72,.25,1) both; }
.motion-ready .intro-index { animation: hero-detail-in .72s .64s cubic-bezier(.2,.72,.25,1) both; }

.hero-collage { position: relative; min-width: 0; height: min(690px,76vh); isolation: isolate; }
.hero-sheet { position: absolute; display: block; overflow: visible; padding: 5px; background: #fff; box-shadow: 0 22px 58px rgba(21,21,19,.16); transform-origin: 50% 50%; transition: translate .38s cubic-bezier(.2,.72,.25,1), box-shadow .38s ease; }
.motion-ready .hero-sheet { animation: hero-sheet-in .92s cubic-bezier(.16,1,.3,1) both; }
.hero-sheet::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.58); pointer-events: none; }
.hero-sheet img { height: 100%; object-fit: cover; object-position: top center; }
.hero-sheet > span { position: absolute; z-index: 3; right: 4px; bottom: -24px; color: var(--ink); font: 700 9px/1 Arial,sans-serif; letter-spacing: .14em; }
.hero-sheet:focus-visible { z-index: 7; translate: 0 -6px; box-shadow: 0 30px 74px rgba(21,21,19,.24); }
.hero-sheet-main { z-index: 5; top: 9%; left: 18%; width: 55%; height: 69%; animation-delay: .12s; }
.hero-sheet-food { z-index: 4; top: 1%; right: -3%; width: 37%; height: 59%; transform: rotate(2.2deg); animation-delay: .22s; }
.hero-sheet-family { z-index: 3; left: -4%; bottom: 5%; width: 42%; height: 42%; transform: rotate(-2.4deg); animation-delay: .18s; }
.hero-sheet-exhibition { z-index: 1; top: -2%; left: -2%; width: 38%; height: 34%; transform: rotate(-1.2deg); animation-delay: .06s; }
.hero-sheet-portfolio { z-index: 2; right: 6%; bottom: -2%; width: 34%; height: 39%; transform: rotate(1.4deg); animation-delay: .28s; }

@keyframes hero-line-in {
  to { transform: translate3d(0,0,0); }
}
@keyframes hero-detail-in {
  from { opacity: 0; transform: translate3d(0,12px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes hero-sheet-in {
  from { opacity: .55; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

@media (hover: hover) {
  .intro-link:hover { color: var(--paper); }
  .intro-link:hover::before { transform: translate3d(0,0,0); }
  .intro-link:hover > span:last-child { transform: translate3d(0,4px,0); }
  .hero-sheet:hover { z-index: 7; translate: 0 -6px; box-shadow: 0 30px 74px rgba(21,21,19,.24); }
}

.purpose { padding: 13vh 7vw 15vh; }
.purpose > h2 { margin: 0 0 68px; font-size: 12px; font-weight: 500; }
.purpose-list { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); }
.purpose-list article { min-height: 260px; display: flex; flex-direction: column; padding: 22px 30px 24px 0; border-bottom: 1px solid var(--ink); }
.purpose-list article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.purpose-list span { color: var(--muted); font: 10px Arial,sans-serif; }
.purpose-list h3 { margin: auto 0 12px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(24px,2.3vw,34px); font-weight: 400; line-height: 1.4; }
.purpose-list p { max-width: 370px; margin: 0; color: var(--muted); font-size: 12px; }

.templates { padding: 14vh 3vw 17vh; background: #e9e7e1; }
.templates-heading { display: grid; grid-template-columns: .55fr 1.45fr .8fr; gap: 4vw; width: min(1360px,100%); margin: 0 auto 10vh; }
.templates-heading .label { margin-top: 17px; }
.templates-heading h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(46px,5.8vw,82px); font-weight: 400; line-height: 1.2; letter-spacing: -.065em; }
.templates-heading > p:last-child { align-self: end; margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.template-list { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 84px 24px; width: min(1360px,100%); margin: 0 auto; }
.template { grid-column: span 6; min-width: 0; }
.template-large { grid-column: span 7; }
.template-large + .template-tall { grid-column: span 5; margin-top: 170px; }
.template-wide { grid-column: span 8; margin-left: 8.333%; }
.template > a:first-child { display: block; overflow: hidden; background: #d4d2cc; }
.template img { height: 610px; object-fit: cover; object-position: top center; transition: transform .45s ease, opacity .3s ease; }
.template-large img { height: 700px; }
.template-tall img { height: 920px; }
.template-wide img { height: auto; aspect-ratio: 16/10; object-fit: cover; }
.template > a:first-child:hover img, .template > a:first-child:focus-visible img { transform: scale(1.012); opacity: .92; }
.template-caption { display: grid; grid-template-columns: 1.15fr .85fr auto; gap: 20px; align-items: end; padding-top: 16px; border-top: 1px solid var(--ink); }
.template-caption span { color: var(--muted); font: 9px Arial,sans-serif; letter-spacing: .12em; }
.template-caption h3 { margin: 5px 0 0; font-size: 15px; font-weight: 500; }
.template-caption p { margin: 0; color: var(--muted); font-size: 10px; }
.template-caption > a { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 10px; white-space: nowrap; }

.closing { min-height: 610px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 8vw; align-items: end; padding: 12vh 7vw; background: var(--ink); color: white; }
.closing h2 { max-width: 950px; margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(46px,5.8vw,82px); font-weight: 400; line-height: 1.35; letter-spacing: -.055em; }
.closing a { align-self: end; display: flex; justify-content: space-between; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); font-size: 12px; }
footer { min-height: 100px; display: flex; align-items: center; padding: 0 3.5vw; background: var(--ink); color: #77766f; border-top: 1px solid rgba(255,255,255,.16); font-size: 10px; }

@media (max-width: 900px) {
  .intro { grid-template-columns: minmax(390px,.9fr) minmax(420px,1.1fr); gap: 24px; padding-inline: 4vw; }
  .intro h1 { font-size: clamp(58px,7.8vw,76px); }
  .hero-line-accent, .intro-copy, .intro-link { margin-left: 10%; }
  .hero-collage { height: min(610px,72vh); }
  .templates-heading { grid-template-columns: 1fr 2fr; }
  .templates-heading > p:last-child { grid-column: 2; }
  .template-caption { grid-template-columns: 1fr auto; }
  .template-caption > p { grid-column: 1; }
}

@media (max-width: 760px) {
  .intro { min-height: auto; display: block; padding: 84px 5vw 68px; }
  .intro-text { padding-top: 0; }
  .intro h1 { max-width: 650px; font-size: clamp(58px,10.5vw,76px); }
  .hero-line-accent, .intro-copy, .intro-link { margin-left: 12%; }
  .intro-copy { max-width: 570px; }
  .hero-collage { height: 500px; margin: 54px -5vw 0; }
  .hero-sheet-main { top: 22%; left: 15%; width: 70%; height: 60%; }
  .hero-sheet-food { top: 1%; right: -3%; width: 47%; height: 56%; }
  .hero-sheet-family { left: -3%; bottom: 4%; width: 48%; height: 46%; }
  .hero-sheet-exhibition, .hero-sheet-portfolio { display: none; }
}

@media (max-width: 600px) {
  .site-header { min-height: 66px; padding: 0 18px; }
  .brand strong { font-size: 10px; }
  .header-link { font-size: 10px; }
  .intro { min-height: auto; display: block; padding: 78px 20px 60px; }
  .intro-text { padding-top: 0; }
  .intro .label { margin-bottom: 20px; }
  .intro h1 { font-size: clamp(46px,13.7vw,56px); line-height: 1; letter-spacing: -.085em; }
  .hero-line { padding-bottom: .16em; margin-bottom: -.16em; }
  .hero-line-accent { margin-left: 12%; font-size: 1.2em; }
  .intro-copy { margin: 34px 0 0 12%; font-size: 12px; line-height: 1.9; }
  .intro-link { width: 88%; margin: 28px 0 0 12%; }
  .intro-index { display: none; }
  .hero-collage { height: 430px; margin: 48px -20px 0; }
  .hero-sheet { padding: 3px; box-shadow: 0 16px 38px rgba(21,21,19,.17); }
  .hero-sheet > span { right: 2px; bottom: -18px; font-size: 8px; }
  .hero-sheet-main { top: 25%; left: 15%; width: 70%; height: 58%; }
  .hero-sheet-food { top: 2%; right: -5%; width: 48%; height: 54%; }
  .hero-sheet-family { left: -6%; bottom: 5%; width: 49%; height: 45%; }
  .hero-sheet-exhibition, .hero-sheet-portfolio { display: none; }
  .purpose { padding: 96px 20px 110px; }
  .purpose > h2 { margin-bottom: 32px; }
  .purpose-list { display: block; }
  .purpose-list article { min-height: 210px; padding: 18px 0 22px; }
  .purpose-list article + article { padding-left: 0; border-left: 0; }
  .purpose-list h3 { font-size: 28px; }
  .templates { padding: 100px 14px 120px; }
  .templates-heading { display: block; margin-bottom: 62px; padding: 0 6px; }
  .templates-heading h2 { font-size: 42px; line-height: 1.3; }
  .templates-heading > p:last-child { margin-top: 28px; font-size: 11px; }
  .template-list { display: block; }
  .template, .template-large, .template-large + .template-tall, .template-wide { margin: 0 0 76px; }
  .template img, .template-large img { height: 470px; }
  .template-tall img { height: 620px; }
  .template-wide img { height: auto; }
  .template-caption { grid-template-columns: 1fr auto; gap: 7px 12px; }
  .template-caption h3 { font-size: 14px; }
  .template-caption p { grid-column: 1/-1; }
  .template-caption > a { grid-column: 2; grid-row: 1; align-self: end; }
  .closing { min-height: 580px; display: block; padding: 100px 20px; }
  .closing h2 { font-size: 40px; line-height: 1.42; }
  .closing a { margin-top: 90px; }
  footer { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-line > span { transform: none !important; }
}
