:root {
  --paper: #fdfbf7;
  --ivory: #f4efe5;
  --ink: #2e2721;
  --muted: #60564d;
  --rust: #854735;
  --line: #d9cfc0;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif CJK JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 86px;
  padding: 0 0 0 clamp(20px, 4vw, 64px);
  background: var(--paper);
  border-bottom: 1px solid #e9e1d7;
}
.wordmark { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.seal { display: grid; place-items: center; width: 39px; height: 42px; border: 1px solid var(--rust); color: var(--rust); font-size: 23px; line-height: 1; }
.wordmark small, .wordmark strong { display: block; }
.wordmark small { font-size: 9px; letter-spacing: .12em; margin-bottom: 4px; }
.wordmark strong { font-size: 24px; font-weight: 600; letter-spacing: .13em; line-height: 1.15; }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { gap: clamp(24px, 3.25vw, 50px); font-size: 13px; letter-spacing: .06em; }
.desktop-nav a:hover, .map:hover, .back-top:hover { color: var(--rust); }
.header-actions { height: 100%; gap: 23px; }
.outline, .solid { display: inline-flex; align-items: center; justify-content: space-between; gap: 21px; border: 1px solid currentColor; padding: 13px 18px; font-size: 13px; transition: background-color .2s, color .2s; }
.outline:hover { background: var(--ink); color: white; border-color: var(--ink); }
.solid { background: var(--ink); color: white; border-color: var(--ink); }
.solid:hover { background: var(--rust); border-color: var(--rust); }
.menu-button { display: grid; place-content: center; justify-items: center; gap: 8px; width: 86px; height: 100%; background: var(--ink); color: white; border: 0; cursor: pointer; }
.menu-button:focus-visible { outline-offset: -5px; outline-color: white; }
.menu-lines { position: relative; display: block; width: 26px; height: 11px; }
.menu-lines i { position: absolute; inset: 0 0 auto; height: 1px; background: currentColor; transition: transform .2s; }
.menu-lines i + i { top: 9px; }
.menu-button[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines i + i { transform: translateY(-4.5px) rotate(-45deg); }
.menu-label { font-size: 10px; letter-spacing: .1em; }
.menu-panel { position: fixed; z-index: 9; top: 86px; right: 0; width: min(100%, 415px); max-height: calc(100dvh - 86px); overflow: auto; padding: 18px 33px 25px; background: var(--paper); box-shadow: 0 12px 24px #30241420; }
.menu-panel a { display: flex; justify-content: space-between; align-items: center; min-height: 55px; border-bottom: 1px solid var(--line); }
.menu-panel a:hover { color: var(--rust); }
.hero { position: relative; display: flex; align-items: center; min-height: clamp(480px, 45.5vw, 780px); isolation: isolate; background: #f1e5d6; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff9eda0, #fff9ed00 52%); }
.hero-inner { width: min(1160px, 86%); margin-inline: auto; padding-bottom: 18px; }
.short-label { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; font-size: 13px; font-weight: 600; letter-spacing: .16em; }
.short-label span { width: 24px; height: 1px; background: var(--rust); }
.hero h1 { font-size: clamp(46px, 5.15vw, 84px); line-height: 1.48; font-weight: 600; letter-spacing: .09em; }
.hero-sub { margin-top: 20px; font-size: clamp(13px, 1.18vw, 17px); letter-spacing: .12em; }
.scroll { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 10px/1 var(--sans); letter-spacing: .22em; }
.scroll i { height: 33px; width: 1px; background: currentColor; }
.image-note { position: absolute; bottom: 13px; right: 20px; font: 10px/1.4 var(--sans); color: #47382c; background: #fff9ebc9; padding: 2px 6px; }
.section { padding: 96px max(6vw, 20px); }
.eyebrow { color: var(--rust); font: 11px/1.4 var(--sans); letter-spacing: .22em; }
h2 { font-size: clamp(28px, 3.05vw, 44px); font-weight: 600; line-height: 1.55; letter-spacing: .1em; }
.intro, .contact, .section-heading { text-align: center; }
.intro h2, .contact h2, .section-heading h2, .history h2 { margin-top: 12px; }
.intro p:last-child, .contact p:not(.eyebrow) { margin: 22px auto 0; font-size: 15px; line-height: 2.25; letter-spacing: .06em; }
.products { padding-top: 16px; }
.product-shortcut { margin-top: 20px; font-size: .875rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 45px); max-width: 1120px; margin: 45px auto 0; }
.product a { display: block; }
.product-photo { position: relative; overflow: hidden; background: var(--ivory); }
.product-photo img { aspect-ratio: 1.13; object-fit: cover; transition: transform .45s ease; }
.product-photo .product-assortment { object-fit: contain; }
.product a:hover img { transform: scale(1.045); }
.product-photo > span { position: absolute; top: 0; left: 14px; writing-mode: vertical-rl; padding: 12px 7px; background: var(--paper); border: 1px solid var(--line); border-top: 0; font-size: 13px; letter-spacing: .13em; }
.product-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 19px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.product-title h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: .06em; }
.product-name-part { white-space: nowrap; }
.product-title > span, .text-link span { color: var(--rust); }
.product p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.product-links { display: flex; justify-content: center; gap: 22px 38px; flex-wrap: wrap; margin-top: 46px; }
.text-link { display: inline-flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px solid var(--ink); font-size: 14px; }
.text-link:hover { color: var(--rust); border-color: var(--rust); }
.history { display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); }
.history-photo { min-height: 440px; position: relative; }
.history-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 71%; }
.history-content { align-self: center; padding: 68px clamp(32px, 7vw, 115px); }
.history-content > p:not(.eyebrow) { margin-top: 20px; font-size: 15px; line-height: 2.1; }
.history-content .text-link { margin-top: 24px; }
.company-info { max-width: 820px; margin: 36px auto 0; border-top: 1px solid var(--line); font-size: 15px; }
.company-info div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding: 16px 10px; line-height: 1.75; }
.company-info dd { margin: 0; }
.map { display: inline-block; margin-left: 12px; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.contact { background: var(--ivory); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-actions a { min-height: 50px; }
.contact p.hours { font-size: 12px; color: var(--muted); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 6vw; }
.footer > small, .back-top { font-size: 12px; }
@media (max-width: 1030px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .history-content { padding: 50px 32px; }
}
@media (max-width: 640px) {
  :root { scroll-padding-top: 78px; }
  .header { height: 65px; padding-left: 16px; gap: 8px; }
  .wordmark { gap: 8px; }
  .wordmark strong { font-size: 18px; }
  .wordmark small { font-size: 8px; letter-spacing: .07em; }
  .seal { width: 30px; height: 33px; font-size: 19px; }
  .header-actions { gap: 9px; }
  .header-actions .outline { padding: 9px 7px; font-size: 10px; gap: 4px; }
  .menu-button { width: 55px; gap: 6px; }
  .menu-lines { width: 21px; }
  .menu-label { font-size: 9px; }
  .menu-panel { top: 65px; max-height: calc(100dvh - 65px); }
  .hero { min-height: 510px; align-items: flex-start; }
  .hero-photo { object-position: 64% center; }
  .hero::before { background: linear-gradient(180deg, #fff9ede5, #fff9ed30 65%, transparent); }
  .hero-inner { margin: 48px 0 0 7%; padding: 0; width: 90%; }
  .short-label { font-size: 11px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(39px, 10vw, 58px); line-height: 1.42; }
  .hero-sub { margin-top: 12px; font-size: 12px; }
  .image-note { right: 10px; bottom: 8px; }
  .section { padding-block: 64px; }
  .intro p:last-child { max-width: 420px; }
  .intro h2 { font-size: clamp(18px, 6vw, 28px); }
  .wide { display: none; }
  .products { padding-top: 8px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; max-width: 440px; margin-top: 28px; }
  .product-photo img { aspect-ratio: 1.47; }
  .history { grid-template-columns: 1fr; }
  .history-photo { min-height: 280px; }
  .history-content { padding: 46px 6vw 54px; }
  .company-info div { grid-template-columns: 75px 1fr; padding-inline: 0; gap: 8px; font-size: 13px; }
  .map { margin-left: 0; }
  .footer { flex-wrap: wrap; gap: 16px; }
  .footer > small { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero { overflow: clip; }
  .hero-photo { animation: hero-settle 4s cubic-bezier(.2, .65, .3, 1); }
  .hero-inner { animation: page-entrance .8s ease-out; }
  .detail-heading, .detail-hero figure {
    animation: page-entrance .68s ease-out both;
  }
  .detail-hero figure { animation-delay: .12s; }
  .menu-panel:not([hidden]) { animation: menu-entrance .2s ease-out; }
  .motion-enter {
    animation: page-entrance .56s cubic-bezier(.2, .65, .3, 1) var(--entrance-delay, 0ms) backwards;
  }
  .motion-enter:focus-within, .detail-heading:focus-within, .hero-inner:focus-within { animation: none; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .outline, .solid { transition: background-color .2s, color .2s, translate .2s; }
  .outline:hover, .solid:hover { translate: 0 -2px; }
  .product a:focus-visible img { transform: scale(1.045); }
}
@keyframes hero-settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes page-entrance {
  from { opacity: .35; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes menu-entrance {
  from { opacity: .6; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
