:root {
  --ink: #171411;
  --ink-soft: #3d3934;
  --paper: #f7f1e8;
  --paper-light: #fffaf2;
  --warm: #ece1d1;
  --gold: #b28a45;
  --gold-light: #d4b16f;
  --grey: #82796f;
  --line: rgba(23, 20, 17, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 18, 14, 0.16);
  --radius: 26px;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper-light);
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.1rem; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.section-pad { padding: 112px 0; }
.warm { background: var(--paper); }
.dark { background: var(--ink); color: var(--paper-light); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 20, 17, 0.08);
  transition: box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled { height: 66px; box-shadow: 0 12px 42px rgba(23,20,17,.08); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-weight: 800; letter-spacing: .06em; }
.brand-text small { color: var(--grey); font-size: 11px; letter-spacing: .18em; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; letter-spacing: .04em; }
.site-nav a { position: relative; color: var(--ink-soft); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  padding-top: 160px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(178,138,69,.22), transparent 32%),
    linear-gradient(120deg, rgba(255,250,242,.95), rgba(247,241,232,.85)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80') center/cover;
  z-index: -2;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(23,20,17,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23,20,17,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 88%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.35; margin: 0; }
h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.04em;
  max-width: 900px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -0.03em;
}
h3 { font-size: 21px; letter-spacing: -0.01em; }
.lead {
  margin: 28px 0 0;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 17px;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(23,20,17,.14); }
.btn.primary { background: var(--ink); color: var(--paper-light); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.34); }
.btn.light { color: var(--paper-light); border-color: rgba(255,255,255,.28); }
.hero-card { position: relative; min-height: 520px; }
.image-panel {
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.image-panel::after, .card-image::after {
  content: "";
  display: block;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 35%, rgba(23,20,17,.28));
}
.image-1 { background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80'); }
.image-2 { background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80'); }
.image-panel.large { min-height: 520px; }
.stat-card {
  position: absolute;
  left: -38px;
  bottom: 44px;
  width: 250px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,250,242,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.stat-card span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.stat-card strong { display: block; font-size: 54px; line-height: 1; margin: 10px 0; font-family: var(--serif); }
.stat-card p { margin: 0; color: var(--grey); font-size: 13px; line-height: 1.6; }

.intro-strip { background: var(--ink); color: var(--paper-light); padding: 30px 0; }
.strip-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.strip-grid p { margin: 0; font-family: var(--serif); font-size: 22px; }
.strip-items { display: flex; flex-wrap: wrap; gap: 10px; }
.strip-items span, .pill-list span {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: .06em;
}

.two-col { display: grid; grid-template-columns: .86fr 1.14fr; gap: 76px; }
.align-center { align-items: center; }
.section-head p:last-child, .text-block p { color: var(--ink-soft); }
.text-block p:first-child { margin-top: 0; }
.centered { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.business-card {
  background: var(--paper-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 56px rgba(23,20,17,.08);
  border: 1px solid rgba(23,20,17,.06);
}
.card-image { height: 210px; background-size: cover; background-position: center; }
.image-food { background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=900&q=80'); }
.image-ip { background-image: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=900&q=80'); }
.image-health { background-image: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=900&q=80'); }
.card-body { padding: 30px; }
.number { color: var(--gold); font-weight: 900; letter-spacing: .18em; font-size: 12px; }
.card-body h3 { margin: 10px 0 14px; }
.card-body p, .card-body li { color: var(--ink-soft); font-size: 14px; }
.card-body ul { margin-bottom: 0; }

.services-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: 72px; align-items: start; }
.sticky-head { position: sticky; top: 120px; }
.service-list { display: grid; gap: 16px; }
.service-item {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.5);
}
.service-item span { color: var(--gold); font-weight: 900; }
.service-item h3 { margin: 8px 0 8px; }
.service-item p { margin: 0; color: var(--ink-soft); }

.dark .eyebrow { color: var(--gold-light); }
.dark .section-head p { color: rgba(255,250,242,.72); }
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strength-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.strength-card p { color: rgba(255,250,242,.72); font-size: 14px; }
.project-section { background: linear-gradient(180deg, var(--paper-light), #fff); }
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill-list span { border-color: var(--line); color: var(--ink-soft); background: var(--paper-light); }

.company-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.company-table { margin: 0; background: var(--paper-light); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.company-table div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.company-table div:last-child { border-bottom: 0; }
.company-table dt, .company-table dd { padding: 21px 24px; margin: 0; }
.company-table dt { color: var(--gold); font-weight: 900; background: rgba(178,138,69,.08); }
.company-table dd { color: var(--ink-soft); }
.company-table a { color: var(--ink); font-weight: 800; border-bottom: 1px solid var(--gold); }

.contact { background: var(--ink); color: var(--paper-light); }
.contact-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  padding: 58px;
  border-radius: 34px;
  background:
    linear-gradient(130deg, rgba(178,138,69,.24), transparent 55%),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.contact-card h2 { max-width: 780px; }
.contact-list { margin-top: 28px; color: rgba(255,250,242,.72); }
.contact-actions { align-content: center; flex-direction: column; justify-content: center; }
.contact-actions p { color: rgba(255,250,242,.68); margin: 4px 0 0; }

.site-footer { padding: 38px 0; background: #0f0d0b; color: rgba(255,250,242,.72); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; }
.site-footer strong { color: var(--paper-light); }
.site-footer p { margin: 3px 0 0; font-size: 12px; letter-spacing: .14em; }
.site-footer nav { display: flex; gap: 20px; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@media (max-width: 980px) {
  .site-header { padding: 0 22px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(255,250,242,.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .hero-grid, .two-col, .services-layout, .company-grid, .contact-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { min-height: 460px; }
  .card-grid.three, .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-head { position: static; }
  .strip-grid, .footer-grid { flex-direction: column; display: flex; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .section-pad { padding: 76px 0; }
  .brand-text small { display: none; }
  .hero { padding-top: 132px; }
  h1 { font-size: 38px; }
  .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .stat-card { left: 18px; right: 18px; width: auto; bottom: 26px; }
  .card-grid.three, .strength-grid { grid-template-columns: 1fr; }
  .company-table div { grid-template-columns: 1fr; }
  .company-table dt, .company-table dd { padding: 15px 18px; }
  .contact-card { padding: 30px 22px; }
  .footer-grid nav { flex-wrap: wrap; }
}
