:root {
  --ink: #202124;
  --muted: #60646c;
  --paper: #ffffff;
  --soft: #f4f3ef;
  --line: #deddd8;
  --accent: #d85b21;
  --accent-dark: #a93d10;
  --dark: #242424;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 14px 38px rgba(22, 22, 22, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1677d2; outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: #fff;
  background: #000;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: #fff;
  background: rgba(32, 32, 32, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.header-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  margin-right: auto;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  white-space: nowrap;
}
.brand strong { display: block; font-size: 1.05rem; letter-spacing: .04em; }
.brand span { color: #ccc; font-size: .7rem; letter-spacing: .12em; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #fff;
  background: transparent;
  border: 1px solid #666;
  border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }
.site-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 11px 10px;
  color: #eee;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: #444; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }

.hero { position: relative; background: #222; overflow: hidden; }
.hero img { width: 100%; height: clamp(290px, 48vw, 560px); object-fit: cover; object-position: center; opacity: .82; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.08) 70%); }
.hero-copy {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100% - var(--max)) / 2));
  bottom: clamp(30px, 7vw, 86px);
  width: min(650px, calc(100% - 48px));
  color: #fff;
}
.eyebrow { margin: 0 0 8px; color: #f2ad82; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2rem, 5.2vw, 4.7rem); line-height: 1.12; letter-spacing: -.03em; }
.hero p { margin: 18px 0 0; max-width: 48rem; font-size: clamp(.95rem, 2vw, 1.18rem); }

.page-hero { color: #fff; background: linear-gradient(135deg, #222 0%, #3a3a3a 72%, #733317 100%); }
.page-hero .wrap { padding-block: clamp(48px, 8vw, 92px); }
.page-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.15; }
.page-hero p { max-width: 44rem; margin: 12px 0 0; color: #ddd; }

.wrap { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(52px, 8vw, 92px); }
.section + .section { border-top: 1px solid var(--line); }
.section-white { background: var(--paper); }
.section-dark { color: #fff; background: var(--dark); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.25; }
.section-heading p { max-width: 42rem; margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #c7c7c7; }

.intro-grid, .split { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 6vw, 76px); align-items: start; }
.lead { margin-top: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 650; }
.service-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.service-list li { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; font-weight: 700; }

.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.quick-link { min-height: 86px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.quick-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.button { color: #fff; background: var(--accent); border-color: var(--accent); }
.button:hover { background: var(--accent-dark); }
.button-secondary { color: var(--ink); background: #fff; border-color: #aaa; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card, .content-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-card { display: flex; flex-direction: column; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eee; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.product-body h2, .product-body h3 { margin: 0 0 10px; font-size: 1.08rem; line-height: 1.5; }
.product-body p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; }
.product-body .price { color: var(--ink); font-size: 1.08rem; font-weight: 800; }
.product-body .note { margin-top: auto; padding-top: 8px; font-size: .82rem; }
.tag { display: inline-block; align-self: flex-start; margin-bottom: 10px; padding: 3px 9px; color: #fff; background: var(--accent); border-radius: 999px; font-size: .72rem; font-weight: 800; }
.tag.sold { background: #555; }

.news-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #555; }
.news-list li { display: grid; grid-template-columns: 9rem 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid #505050; }
.news-list time { color: #f2ad82; font-weight: 750; }

.prose { max-width: 850px; }
.prose h2 { margin-top: 2.4em; font-size: 1.45rem; line-height: 1.4; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-block: 1em; }
.prose ul { padding-left: 1.4rem; }
.definition-list { display: grid; grid-template-columns: 12rem 1fr; margin: 24px 0 0; border-top: 1px solid var(--line); }
.definition-list dt, .definition-list dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.definition-list dt { font-weight: 800; background: #eceae4; }

.gallery-story + .gallery-story { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.gallery-story h2 { margin-top: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-block: 24px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

.contact-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.contact-item { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.contact-item small { display: block; color: var(--muted); font-weight: 700; }
.contact-item strong, .contact-item a { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 800; overflow-wrap: anywhere; }

.site-footer { padding: 42px 0; color: #ccc; background: #191919; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; }
.site-footer h2 { margin: 0 0 8px; color: #fff; font-size: 1.2rem; }
.site-footer p { margin: 5px 0; font-size: .88rem; }
.footer-links { display: flex; justify-content: flex-end; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #fff; font-size: .88rem; }
.copyright { margin-top: 28px !important; color: #888; }

dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(0,0,0,.62); }
.dialog-body { padding: 30px; text-align: center; }
.dialog-body h2 { margin: 0 0 8px; }
.dialog-body p { color: var(--muted); }

@media (max-width: 920px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; width: 100%; padding: 0 16px 16px; background: rgba(32,32,32,.99); }
  .site-nav[hidden] { display: none; }
  .site-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); width: min(100%, 620px); margin: 0 auto; }
  .site-nav a { padding: 13px 12px; }
  .intro-grid, .split { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 921px) { .site-nav[hidden] { display: block; } }

@media (max-width: 640px) {
  .wrap, .header-inner { width: min(calc(100% - 24px), var(--max)); }
  .brand strong { font-size: .9rem; }
  .brand span { font-size: .62rem; }
  .hero img { height: 350px; object-position: 58% center; }
  .hero-copy { left: 20px; bottom: 28px; width: calc(100% - 40px); }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.05) 80%); }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .quick-links, .card-grid, .gallery, .contact-panel { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 40% 60%; border-radius: 14px; }
  .product-card img { height: 100%; min-height: 180px; }
  .product-body { padding: 16px; }
  .product-body h2, .product-body h3 { font-size: .96rem; }
  .news-list li { display: block; }
  .news-list time { display: block; margin-bottom: 6px; }
  .definition-list { grid-template-columns: 1fr; }
  .definition-list dt { padding-bottom: 6px; border-bottom: 0; }
  .definition-list dd { padding-top: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

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