:root {
  --ink: #2e2b27;
  --sub: #5f5951;
  --muted: #7b746a;
  --line: #ded4c6;
  --paper: #fffdf8;
  --wash: #f6f0e6;
  --wood: #9d7245;
  --wood-dark: #6f4d2c;
  --charcoal: #343330;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(46, 43, 39, .08);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(157, 114, 69, .5);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 210px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.18rem;
}

.brand-mark::before {
  content: "";
  width: 34px;
  height: 34px;
  border: 2px solid var(--wood);
  background:
    linear-gradient(90deg, transparent 48%, rgba(157, 114, 69, .25) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(157, 114, 69, .25) 48% 52%, transparent 52%),
    var(--wash);
}

.brand-sub {
  color: var(--muted);
  font-size: .82rem;
  margin-left: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--sub);
  font-weight: 700;
  border-bottom: 2px solid transparent;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--wood-dark);
  border-color: var(--wood);
}

.header-tel {
  display: grid;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
  line-height: 1.35;
}

.header-tel span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, .96), rgba(255, 253, 248, .74) 52%, rgba(255, 253, 248, .24)),
    url("../img/placeholder-workshop.svg") center / cover;
  border-bottom: 1px solid var(--line);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, #c6aa82 0 80px, #e8dccb 80px 160px);
  opacity: .55;
}

.hero-content {
  width: min(720px, 100%);
  padding: 80px 0 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wood-dark);
  font-weight: 800;
  font-size: .94rem;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--wood);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  color: var(--sub);
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  max-width: 720px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--wood-dark);
  border-color: var(--wood-dark);
}

.button.secondary {
  background: rgba(255, 253, 248, .82);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--wash);
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--wash);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.28;
}

.section-copy {
  color: var(--sub);
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--sub);
  margin-bottom: 0;
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid #ccb894;
  background:
    linear-gradient(135deg, rgba(157, 114, 69, .16), transparent),
    var(--wash);
  position: relative;
}

.icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--wood);
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.image-frame {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.note-box {
  padding: 24px;
  border-left: 4px solid var(--wood);
  background: var(--white);
  color: var(--sub);
}

.machine-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.machine-item,
.news-item,
.outline-row {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.machine-item {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.machine-item strong {
  font-size: 1.04rem;
}

.machine-item span,
.news-item span,
.outline-row dt {
  color: var(--muted);
  font-weight: 700;
}

.outline {
  margin: 0;
  border-top: 1px solid var(--line);
}

.outline-row {
  grid-template-columns: 170px 1fr;
}

.outline-row dd {
  margin: 0;
}

.cta-band {
  background: var(--charcoal);
  color: var(--white);
}

.cta-band .section-copy,
.cta-band .lead {
  color: rgba(255, 255, 255, .78);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.contact-method {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.contact-method span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
}

.contact-method strong {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
}

.page-hero {
  position: relative;
  padding: 74px 0 86px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, .96), rgba(255, 253, 248, .84)),
    url("../img/placeholder-workshop.svg") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: .94rem;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row time {
  color: var(--wood-dark);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 800;
}

.required {
  color: #8d2f23;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfc3b4;
  border-radius: 4px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: .94rem;
}

.site-footer {
  background: #242321;
  color: rgba(255, 255, 255, .82);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
}

.footer-title {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .58);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 72px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-tel {
    display: none;
  }

  .section-head,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.cols-4,
  .grid.cols-3,
  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15.5px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-sub {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 64px 0 92px;
  }

  .section {
    padding: 64px 0;
  }

  .grid.cols-4,
  .grid.cols-3,
  .contact-methods,
  .machine-list {
    grid-template-columns: 1fr;
  }

  .outline-row,
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
