:root {
  --ink: #1f2427;
  --muted: #687070;
  --paper: #f7f3ec;
  --paper2: #fffaf1;
  --line: rgba(31, 36, 39, .14);
  --brand: #8a5b32;
  --brand2: #2f5b4c;
  --deep: #16231f;
  --accent: #d7a657;
  --serif: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --en: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.9;
  letter-spacing: .03em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(31,36,39,.045) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.sample-bar {
  position: relative;
  z-index: 300;
  padding: 8px 14px;
  text-align: center;
  background: #fff4db;
  border-bottom: 1px solid #e9ca86;
  color: #754d1c;
  font-size: 12px;
  font-weight: 700;
}
.sample-bar a { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  background: rgba(255, 250, 241, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 250, 241, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  border-radius: 4px;
  font-weight: 800;
  font-size: 21px;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .08em;
  line-height: 1.3;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
}
.nav a { position: relative; white-space: nowrap; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tel {
  margin: 0;
  min-width: 148px;
  text-align: right;
  line-height: 1.25;
}
.tel strong { display: block; font-size: 18px; letter-spacing: .02em; }
.tel small { color: var(--muted); font-size: 10px; font-weight: 700; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 14px 34px rgba(31,36,39,.08);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}
.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 148px 0 70px;
  overflow: hidden;
  background: var(--deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero);
  background-size: cover;
  background-position: var(--hero-pos, center);
  transform: scale(1.06);
  animation: heroIn 16s var(--ease) forwards;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,24,22,.78), rgba(16,24,22,.48) 42%, rgba(16,24,22,.14) 68%, rgba(16,24,22,.02) 100%),
    linear-gradient(0deg, rgba(16,24,22,.42), rgba(16,24,22,0) 42%);
  z-index: 1;
}
@keyframes heroIn {
  from { transform: scale(1.12); opacity: .75; }
  to { transform: scale(1); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  width: min(700px, 100%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.88);
  font-family: var(--en);
  font-size: 17px;
  font-style: italic;
  letter-spacing: .18em;
}
.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  margin: 22px 0 22px;
  font-family: var(--serif);
  font-size: clamp(36px, 6.4vw, 72px);
  line-height: 1.25;
  letter-spacing: .055em;
  font-weight: 700;
}
.hero-lead {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  color: rgba(255,255,255,.88);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 58px;
  z-index: 4;
  width: min(360px, calc(100% - 48px));
  padding: 24px;
  color: #fff;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(18px);
}
.hero-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
}
.hero-card p { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; }

section { position: relative; padding: clamp(84px, 10vw, 140px) 0; }
.soft { background: var(--paper2); }
.deep {
  color: #fff;
  background: var(--deep);
}
.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(34px, 5vw, 64px);
}
.section-head.center { text-align: center; justify-items: center; }
.label {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 4.1vw, 48px);
  line-height: 1.35;
  letter-spacing: .045em;
}
.section-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.deep .section-head p { color: rgba(255,255,255,.74); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.intro-copy h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.55;
}
.intro-copy p {
  color: var(--muted);
  font-weight: 700;
}
.photo-frame {
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.photo-frame::before {
  content: "";
  display: block;
  aspect-ratio: 4 / 3;
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.photo-frame:hover img { transform: scale(1.04); }

.grid { display: grid; gap: 20px; }
.concern-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: 0 22px 54px rgba(31,36,39,.06);
}
.card strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--brand2);
  border-radius: 50%;
  font-family: var(--en);
  font-size: 22px;
}
.card h3 { margin: 0 0 12px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-weight: 700; }

.service-grid { grid-template-columns: repeat(4, 1fr); }
.service {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 22px; }
.service-body h3 { margin: 0 0 8px; font-size: 17px; }
.service-body p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.image-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.check-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list button {
  width: 100%;
  padding: 18px 18px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.check-list button:hover,
.check-list button.active {
  transform: translateX(4px);
  border-color: transparent;
  color: #fff;
  background: var(--brand2);
}
.check-result {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 62px rgba(31,36,39,.08);
}
.check-result h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
}
.check-result p { margin: 0; color: var(--muted); font-weight: 700; }

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
}
.step {
  padding: 26px 18px;
  background: var(--deep);
}
.step strong {
  display: block;
  color: var(--accent);
  font-family: var(--en);
  font-size: 28px;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: rgba(255,255,255,.74); font-size: 13px; }

.company-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
}
.profile,
.contact-panel {
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
}
dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 0; }
dt, dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
dt { color: var(--muted); font-weight: 900; }
dd { font-weight: 800; }
.contact-panel {
  color: #fff;
  background: linear-gradient(135deg, var(--brand2), var(--deep));
}
.contact-panel h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
}
.contact-panel p { color: rgba(255,255,255,.78); font-weight: 700; }

.disclaimer {
  padding: 62px 0;
  background: #fff8e8;
  border-top: 1px solid #e7d6aa;
  color: #6a461e;
}
.disclaimer-inner {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.disclaimer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.footer {
  padding: 34px 20px;
  text-align: center;
  color: rgba(255,255,255,.65);
  background: var(--deep);
  font-size: 12px;
  font-weight: 700;
}
.bottom-bar { display: none; }

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

body.tone-green { --brand: #8a5b32; --brand2: #315c49; --deep: #15251e; --paper: #f6f1e8; --paper2: #fffaf1; }
body.tone-warm { --brand: #b26d33; --brand2: #6b7a45; --deep: #2a251f; --paper: #f8f0e4; --paper2: #fffaf4; }
body.tone-urban { --brand: #8b6b4a; --brand2: #344c62; --deep: #17212b; --paper: #f4f1ed; --paper2: #fbfaf7; }
body.tone-elegant { --brand: #9d8058; --brand2: #37483f; --deep: #151a18; --paper: #f5f1ea; --paper2: #fffaf3; }

@media (max-width: 980px) {
  .container { width: min(100% - 28px, 720px); }
  .site-header { top: 0; background: rgba(255, 250, 241, .96); box-shadow: 0 1px 0 var(--line); }
  .header-inner { min-height: 74px; }
  .nav {
    position: fixed;
    top: 106px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: #fffaf1;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(31,36,39,.16);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s, transform .28s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .tel, .head-actions > .button { display: none; }
  .menu-btn { display: block; }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero {
    min-height: 92svh;
    padding: 132px 0 112px;
    align-items: end;
  }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(16,24,22,.76), rgba(16,24,22,.48) 58%, rgba(16,24,22,.18)),
      linear-gradient(0deg, rgba(16,24,22,.70), rgba(16,24,22,0) 48%);
  }
  .hero-card { display: none; }
  .intro-grid,
  .check-wrap,
  .company-grid { grid-template-columns: 1fr; }
  .concern-grid,
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  dl { grid-template-columns: 96px 1fr; }
  .bottom-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 260;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(31,36,39,.26);
  }
  .bottom-bar a {
    display: grid;
    place-items: center;
    min-height: 54px;
    color: #fff;
    background: var(--brand);
    font-weight: 900;
  }
  .bottom-bar a:last-child { background: var(--deep); }
}

@media (max-width: 620px) {
  .sample-bar { font-size: 11px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-mark { width: 44px; height: 44px; font-size: 18px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
  .hero { min-height: 88svh; }
  .hero::before { background-position: var(--hero-mobile-pos, center); }
  .hero h1 { font-size: clamp(34px, 11vw, 50px); }
  .hero-actions .button { width: 100%; }
  .concern-grid,
  .service-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  section { padding: 72px 0; }
}
