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

:root {
  --bg: #f6f4ed;
  --paper: #fffdf8;
  --ink: #3f382f;
  --muted: #756d63;
  --line: #b8b1a4;
  --main: #665f54;
  --accent: #74845b;
  --white: #ffffff;
  --container: 1120px;
}

html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 16px; line-height: 1.95; letter-spacing: .04em; }
body.menu-open { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
figure, h1, h2, h3, p { margin: 0; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.bleed-left { margin-left: calc(50% - 50vw); }
.bleed-right { margin-right: calc(50% - 50vw); }
.bleed-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.site-header { height: 92px; background: rgba(246,244,237,.97); position: relative; z-index: 20; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: "Shippori Mincho", serif; font-size: 19px; letter-spacing: .02em; }
.site-nav { display: flex; gap: 44px; font-family: "Shippori Mincho", serif; font-size: 13px; letter-spacing: .08em; }
.menu-toggle { display: none; border: 0; background: none; width: 48px; height: 48px; padding: 12px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); margin: 6px 0; }

.hero { position: relative; min-height: 590px; background: #2d2a25; }
.hero-media { height: 590px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; display: block; }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: 4px; color: var(--white); pointer-events: none; }
.hero-copy h1 { font-family: "Shippori Mincho", serif; font-size: clamp(42px, 4vw, 60px); line-height: 1.38; font-weight: 500; letter-spacing: .09em; width: 560px; text-shadow: 0 2px 18px rgba(0,0,0,.24); }
.hero-copy p { margin-top: 22px; font-family: "Shippori Mincho", serif; font-size: 18px; line-height: 1.5; letter-spacing: .03em; font-style: italic; }

.section { padding: 104px 0 112px; }
.eyebrow { font-family: "Shippori Mincho", serif; font-size: 17px; letter-spacing: .05em; line-height: 1; }
.section-line { display: block; width: 50px; height: 1px; background: var(--line); margin: 14px 0 38px; }
.split { display: grid; align-items: center; }
.split-about { grid-template-columns: 1fr 420px; gap: 90px; }
.copy-block h2 { font-family: "Shippori Mincho", serif; font-size: clamp(27px, 2.25vw, 36px); line-height: 1.55; font-weight: 500; letter-spacing: .06em; }
.body-copy { margin-top: 34px; color: var(--muted); font-size: 15px; line-height: 2.05; }
.photo-frame { margin: 0; overflow: hidden; border-radius: 12px; background: #ddd; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo { aspect-ratio: 1 / 1; }
.about-photo img { object-position: center; }

.section-service { padding-top: 78px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-item { min-height: 210px; padding: 0 54px; border-left: 1px solid #d8d2c7; }
.service-item:first-child { border-left: 0; padding-left: 0; }
.service-item:last-child { padding-right: 0; }
.deco-icon { width: 62px; height: 62px; object-fit: contain; object-position: center; display: block; margin-bottom: 15px; }
.service-item h3, .portfolio-card h3, .flow-item h3 { font-family: "Shippori Mincho", serif; font-weight: 600; letter-spacing: .07em; }
.service-item h3 { font-size: 17px; line-height: 1.4; }
.service-item p { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }

.section-coffee { padding-top: 86px; }
.split-coffee { grid-template-columns: 570px 1fr; gap: 54px; }
.coffee-photo { aspect-ratio: 2.25 / 1; }
.coffee-photo img { object-position: center; }
.coffee-copy { align-self: center; }

.section-space { padding-top: 104px; }
.split-space { grid-template-columns: 1fr 570px; gap: 80px; }
.space-photo { aspect-ratio: 2.25 / 1; }
.space-photo img { object-position: center; }

.section-portfolio { padding-top: 86px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.portfolio-card .photo-frame { aspect-ratio: 1.65 / 1; border-radius: 10px; }
.portfolio-card h3 { margin-top: 15px; font-size: 14px; line-height: 1.5; }
.portfolio-card p { margin-top: 4px; color: var(--muted); font-size: 12px; }

.section-flow { padding-top: 92px; padding-bottom: 116px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.flow-item { position: relative; padding-right: 48px; }
.flow-item:not(:last-child)::after { content: ""; position: absolute; right: 17px; top: 34px; width: 22px; height: 22px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.flow-item > span { font-family: "Shippori Mincho", serif; font-size: 24px; line-height: 1; }
.flow-item h3 { margin-top: 15px; font-size: 18px; }
.flow-item p { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.cta { position: relative; padding: 120px 0 132px; text-align: center; overflow: visible; }
.cta-inner { position: relative; z-index: 2; }
.cta h2 { font-family: "Shippori Mincho", serif; font-size: clamp(28px, 2.5vw, 38px); font-weight: 500; line-height: 1.5; letter-spacing: .08em; }
.cta p { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.cta-button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 52px; width: 180px; margin-top: 34px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 14px; letter-spacing: .12em; box-shadow: 0 8px 24px rgba(74,82,54,.13); transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(74,82,54,.18); background: #68764f; }
.cta small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }
.deco { position: absolute; z-index: 1; pointer-events: none; object-fit: contain; }
.deco-center { width: 70px; height: 55px; left: 50%; top: 74px; transform: translateX(-50%); }
.deco-left { width: 250px; height: 190px; left: 0; bottom: 34px; object-position: left bottom; }
.deco-right { width: 250px; height: 190px; right: 0; bottom: 34px; transform: scaleX(-1); object-position: left bottom; }

.site-footer { border-top: 1px solid #d6d0c5; padding: 30px 0 42px; text-align: center; }
.footer-brand { font-family: "Shippori Mincho", serif; font-size: 16px; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-top: 10px; font-size: 12px; }
.footer-links a { border-bottom: 1px solid transparent; }
.footer-links a:hover { border-color: var(--main); }
.copyright { margin-top: 24px; color: var(--muted); font-size: 10px; letter-spacing: .05em; }

.reveal { opacity: 1; transform: none; }
html.js-enabled .reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
html.js-enabled .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } html.js-enabled .reveal { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .site-header { height: 76px; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 14px 20px 22px; background: var(--bg); border-top: 1px solid #ddd6ca; box-shadow: 0 14px 28px rgba(50,44,37,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; }
  .menu-toggle { display: block; }
  .hero, .hero-media { min-height: 520px; height: 520px; }
  .hero-copy { justify-content: flex-end; padding-bottom: 72px; }
  .hero-copy h1 { font-size: clamp(36px, 8vw, 48px); width: auto; }
  .section { padding: 72px 0 76px; }
  .split-about, .split-coffee, .split-space { grid-template-columns: 1fr; gap: 40px; }
  .split-about .photo-frame { order: 2; width: min(100%, 520px); justify-self: center; }
  .split-coffee .coffee-copy { order: 1; }
  .split-coffee .coffee-photo { order: 2; }
  .split-space .space-photo { order: 2; }
  .service-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 30px; }
  .service-item { padding: 0 20px; border-left: 1px solid #d8d2c7; }
  .service-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .service-item:nth-child(2) { padding-right: 0; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; }
  .flow-item:not(:last-child)::after { display: none; }
  .deco-left, .deco-right { width: 180px; height: 140px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .brand { font-size: 16px; }
  .hero, .hero-media { min-height: 500px; height: 500px; }
  .hero-media img { object-position: 61% center; }
  .hero-copy { padding-bottom: 54px; }
  .hero-copy h1 { font-size: clamp(34px, 10vw, 44px); line-height: 1.45; }
  .hero-copy p { font-size: 15px; }
  .section { padding: 62px 0 66px; }
  .eyebrow { font-size: 15px; }
  .section-line { margin-bottom: 30px; }
  .copy-block h2, .cta h2 { font-size: clamp(25px, 7vw, 32px); }
  .body-copy { font-size: 16px; line-height: 2; }
  .service-grid, .portfolio-grid, .flow-grid { grid-template-columns: 1fr; }
  .service-item, .service-item:nth-child(2), .service-item:nth-child(3) { border-left: 0; padding: 0; min-height: 0; }
  .service-item + .service-item { padding-top: 34px; border-top: 1px solid #d8d2c7; }
  .portfolio-grid { gap: 38px; }
  .portfolio-card h3 { font-size: 15px; }
  .cta { padding: 104px 0 126px; }
  .cta-button { width: min(100%, 360px); min-height: 52px; }
  .deco-center { width: 56px; top: 60px; }
  .deco-left, .deco-right { width: 125px; height: 105px; bottom: 28px; }
  .footer-links { gap: 22px; }
}
