:root {
  --ink: #2b261f;
  --muted: #746b5e;
  --paper: #f5f1e8;
  --paper-light: #fbf9f3;
  --green: #334a36;
  --green-light: #60715d;
  --wood: #927052;
  --line: #d9d0c0;
  --serif: "Noto Serif JP", YuMincho, "Yu Mincho", serif;
  --sans: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-light); font-family: var(--sans); line-height: 1.8; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 999; background: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 82px; display: flex; align-items: center;
  gap: 2.5rem; padding: 0 clamp(1.25rem, 4vw, 4.5rem); background: rgba(251,249,243,.94);
  border-bottom: 1px solid rgba(66,56,45,.1); backdrop-filter: blur(12px);
}
.brand { display: flex; flex-direction: column; min-width: 180px; line-height: 1; }
.brand-main { font: 500 1.2rem var(--serif); letter-spacing: .12em; }
.brand-sub { margin-top: .55rem; font-size: .52rem; letter-spacing: .18em; color: var(--muted); }
.desktop-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); margin-left: auto; }
.desktop-nav a, .social-link { position: relative; font-size: .78rem; letter-spacing: .08em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -.5rem; width: 100%; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.line { color: #2e6c41; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.6rem; min-height: 58px;
  padding: .9rem 1.8rem; color: white; background: var(--green); border: 1px solid var(--green);
  font-size: .88rem; letter-spacing: .08em; transition: background .25s, color .25s, transform .25s;
}
.button:hover { background: #213525; transform: translateY(-2px); }
.button-small { min-height: 44px; padding: .65rem 1.2rem; }
.menu-button, .mobile-menu { display: none; }

@media (max-width: 1320px) and (min-width: 1051px) {
  .site-header { gap: 1.25rem; padding-inline: 2rem; }
  .desktop-nav { gap: 1.25rem; }
  .header-actions { gap: .7rem; }
  .desktop-nav a, .social-link { font-size: .7rem; }
  .button-small { min-height: 40px; padding: .55rem .9rem; font-size: .72rem; }
}

.hero { position: relative; min-height: 820px; height: 100svh; padding-top: 82px; overflow: hidden; }
.hero-image { position: absolute; inset: 82px 0 0; height: calc(100% - 82px); object-fit: cover; object-position: center; animation: heroIn 1.4s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { position: absolute; inset: 82px 0 0; background: linear-gradient(90deg, rgba(246,238,220,.94) 0%, rgba(246,238,220,.65) 31%, transparent 58%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; width: min(1240px, calc(100% - 10vw)); margin: auto; padding-top: 4rem; }
.hero-copy { margin: 0; font: 500 clamp(2.8rem, 5.1vw, 5rem)/1.48 var(--serif); letter-spacing: .12em; }
.hero-lead { margin: 2rem 0 2.2rem; font: 500 clamp(.95rem, 1.3vw, 1.2rem)/2 var(--serif); letter-spacing: .08em; }
.hero-button { align-self: flex-start; min-width: 270px; }
.scroll-guide { position: absolute; z-index: 2; bottom: 3rem; right: 2.5rem; margin: 0; color: white; font-size: .62rem; letter-spacing: .22em; writing-mode: vertical-rl; }
.scroll-guide::after { content: ""; display: inline-block; width: 1px; height: 48px; margin-top: .8rem; background: currentColor; animation: scrollLine 2s infinite; }

.section { padding: clamp(5rem, 9vw, 9rem) max(5vw, calc((100vw - 1240px)/2)); }
.section-heading { margin-bottom: clamp(3rem, 5vw, 5rem); text-align: center; }
.section-heading h1, .section-heading h2 { margin: .45rem 0 0; font: 500 clamp(2rem, 3.2vw, 3.15rem)/1.5 var(--serif); letter-spacing: .12em; }
.section-heading > p:last-child:not(.section-en) { color: var(--muted); }
.section-en { margin: 0; color: var(--green-light); font-size: .64rem; font-weight: 600; letter-spacing: .28em; }
.mobile-only { display: none; }

.strengths { background: var(--paper); }
.strength-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strength { position: relative; padding: 3.5rem clamp(2rem, 4vw, 4rem); }
.strength + .strength { border-left: 1px solid var(--line); }
.strength-number { color: var(--wood); font: 400 2rem var(--serif); }
.strength h2 { margin: 1.4rem 0 1rem; font: 500 1.35rem/1.8 var(--serif); letter-spacing: .08em; }
.strength p { margin: 0; color: var(--muted); font-size: .9rem; }

.works { background: var(--paper-light); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.work-card { border: 1px solid var(--line); background: #fff; }
.image-wrap { aspect-ratio: 4/3; overflow: hidden; }
.image-wrap img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.work-card:hover img { transform: scale(1.035); }
.work-copy { padding: 1.6rem; }
.work-copy > p { margin: 0 0 .4rem; color: var(--muted); font-size: .72rem; }
.work-copy h3 { margin: 0 0 1.6rem; font: 500 1.12rem/1.7 var(--serif); }
.work-copy a { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .78rem; }

.flow { background: var(--green); color: white; }
.flow .section-en { color: #c3cbbd; }
.flow-list { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.flow-list li { padding: .5rem clamp(1rem, 2vw, 2rem); }
.flow-list li + li { border-left: 1px solid rgba(255,255,255,.18); }
.flow-list span { color: #c5b59f; font: 400 1.8rem var(--serif); }
.flow-list h3 { min-height: 4.6rem; margin: 1.4rem 0 .8rem; font: 500 .96rem/1.7 var(--serif); }
.flow-list p { margin: 0; color: rgba(255,255,255,.68); font-size: .78rem; }

.voices { background: #e9e1d4; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
blockquote { margin: 0; padding: clamp(2rem, 4vw, 3.8rem); background: rgba(255,255,255,.58); border: 1px solid rgba(114,94,69,.2); }
blockquote p { min-height: 8rem; margin: 0; font: 500 1.15rem/2 var(--serif); }
blockquote footer { color: var(--muted); font-size: .74rem; }

.faq { background: var(--paper-light); }
.faq-list { max-width: 900px; margin: auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.7rem 3rem 1.7rem 1rem; cursor: pointer; font: 500 1rem var(--serif); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1rem; font: 300 1.5rem var(--sans); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 3rem 1.7rem; color: var(--muted); font-size: .9rem; }

.contact { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 620px; background: #e9e1d4; }
.contact > img { height: 100%; object-fit: cover; }
.contact-content { align-self: center; padding: clamp(3rem, 7vw, 7rem); }
.contact-content h2 { margin: .8rem 0 1.8rem; font: 500 clamp(2rem, 3.2vw, 3.2rem)/1.6 var(--serif); letter-spacing: .08em; }
.contact-actions { display: flex; gap: .8rem; margin: 2.4rem 0 1.5rem; }
.button-light { background: var(--green); }
.button-outline { color: var(--green); background: transparent; }
.button-outline:hover { color: white; }
.contact-content small { color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 3.5rem max(5vw, calc((100vw - 1240px)/2)); color: #ddd3c4; background: #28241f; font-size: .72rem; }
.footer-brand { margin: 0 0 .5rem; color: white; font: 500 1.25rem var(--serif); letter-spacing: .12em; }
.site-footer p { margin-top: 0; }
.footer-links { display: flex; gap: 2rem; }
.copyright { grid-column: 1/-1; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes scrollLine { 0%,100% { transform: scaleY(.2); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

@media (max-width: 1050px) {
  .desktop-nav, .header-actions { display: none; }
  .site-header { height: 70px; justify-content: space-between; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; border: 0; background: transparent; }
  .menu-button span { display: block; width: 28px; height: 1px; background: var(--ink); transition: transform .3s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 70px; left: 0; width: 100vw; height: calc(100svh - 70px); overflow-y: auto; padding: 3rem 1.5rem; background: var(--paper-light); }
  .mobile-menu.is-open { display: block; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font: 500 1.2rem var(--serif); }
  .mobile-social { display: flex; gap: 1.5rem; margin-top: 2rem; color: var(--green); font-size: .85rem; }
  .hero { padding-top: 70px; }
  .hero-image, .hero-shade { inset-top: 70px; }
  .flow-list { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
  .flow-list li:nth-child(4) { border-left: none; }
}

@media (max-width: 720px) {
  .brand-main { font-size: 1rem; }
  .brand-sub { font-size: .43rem; }
  .hero { min-height: 720px; height: 100svh; }
  .hero-image { inset: 70px 0 0; height: calc(100% - 70px); object-position: 69% center; }
  .hero-shade { inset: 70px 0 0; background: linear-gradient(180deg, rgba(246,238,220,.88) 0%, rgba(246,238,220,.45) 43%, rgba(24,27,20,.18) 100%); }
  .hero-content { justify-content: flex-start; width: calc(100% - 2.5rem); padding-top: 7.5rem; }
  .hero-copy { font-size: clamp(2.2rem, 10vw, 3.1rem); line-height: 1.55; letter-spacing: .08em; }
  .hero-lead { margin: 1.2rem 0 1.7rem; font-size: .85rem; }
  .hero-button { min-width: 0; width: 100%; max-width: 290px; }
  .scroll-guide { display: none; }
  .section { padding: 5rem 1.25rem; }
  .section-heading { margin-bottom: 3rem; }
  .section-heading h1, .section-heading h2 { font-size: 2rem; }
  .mobile-only { display: block; }
  .strength-list, .works-grid, .voice-grid { grid-template-columns: 1fr; }
  .strength-list { border-bottom: 0; }
  .strength { padding: 2.5rem 1.2rem; border-bottom: 1px solid var(--line); }
  .strength + .strength { border-left: 0; }
  .works-grid, .voice-grid { gap: 1rem; }
  .work-copy { padding: 1.3rem; }
  .flow-list { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .flow-list li { padding: 0 1rem; }
  .flow-list li:nth-child(3), .flow-list li:nth-child(5) { border-left: none; }
  .flow-list li:nth-child(4) { border-left: 1px solid rgba(255,255,255,.18); }
  .flow-list h3 { min-height: auto; }
  blockquote p { min-height: auto; margin-bottom: 2.5rem; }
  .contact { grid-template-columns: 1fr; }
  .contact > img { height: 42vh; min-height: 280px; }
  .contact-content { padding: 4rem 1.25rem; }
  .contact-actions { flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
