:root {
  --bg: #f7f3ec;
  --paper: #fffdf9;
  --ink: #2c2622;
  --muted: #5e564e;
  --brown: #3c342e;
  --brown-deep: #2a2420;
  --line: #e5d9cc;
  --gold: #c8893a;
  --gold-deep: #8a6230;
  --shadow: 0 12px 32px rgba(44, 38, 34, 0.05);
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", Palatino, "Iowan Old Style", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --header: 64px;
  --dock: 72px;
  --wrap: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

p { margin: 0; }

h1, h2, h3, .brand-name, .quote, .price-value {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

h1, h2, h3 { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--brown);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-height: 44px;
}

.brand img { height: 42px; width: auto; display: block; }

.brand-name { font-size: 1.2rem; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav { display: none; }

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 4px 20px calc(var(--dock) + 12px);
  max-height: calc(100dvh - var(--header));
  overflow: auto;
}

@media (max-width: 1119px) {
  .header-inner { position: static; }
}

.site-nav a:not(.btn) {
  text-decoration: none;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}

.site-nav .btn { margin-top: 14px; }

.site-nav a[aria-current="page"] { color: var(--gold-deep); }

.section { padding: 64px 0; }

.section-alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.lead { font-size: 1.05rem; }

.muted { color: var(--muted); }

.stack { display: grid; gap: 1em; }

.stack-lg { display: grid; gap: 1.4em; }

.hero {
  display: grid;
  grid-template-areas:
    "copy"
    "logo"
    "actions";
  gap: 12px;
  padding: 12px 0 8px;
}

.hero-copy { grid-area: copy; }
.hero-logo { grid-area: logo; }
.hero-actions { grid-area: actions; }

.hero h1 {
  font-size: 1.7rem;
  line-height: 1.4;
}

.hero-sub { margin-top: 12px; font-size: 1.02rem; }

.hero-desc { margin-top: 10px; color: var(--muted); }

.hero-logo img {
  width: min(100%, 176px);
  margin-inline: auto;
  display: block;
}

.actions { display: grid; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.btn-line { background: var(--brown); color: #fbf7f2; }
.btn-line:hover { background: var(--brown-deep); }

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: #c9b8a4;
}

.btn-ghost:hover { background: #fff; border-color: var(--brown); }

.section h2 { font-size: clamp(1.45rem, 4vw, 2rem); }

.section-intro { margin-top: 16px; }

.split { display: grid; gap: 28px; align-items: center; }

.photo { margin: 0; }

.photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.photo figcaption,
.photo-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

#searching {
  background: #fff;
  border-top: 3px solid var(--brown);
  border-bottom: 1px solid var(--line);
}

#searching .empty,
#searching .cat-card {
  background: var(--bg);
}

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.steps li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 20px;
}

.section-alt .steps li { background: var(--bg); }

.step-no {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.steps h3 { margin: 4px 0 8px; font-size: 1.2rem; }

.steps p { color: var(--muted); }

.steps li:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  color: var(--gold);
  line-height: 1;
}

.cards, .consult-grid, .price-list, .cat-grid { display: grid; gap: 14px; }

.cards { margin-top: 28px; }

.card, .price-item, .cat-card, .empty, .faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.card, .price-item { padding: 22px 20px; }

.section-alt .card,
.section-alt .price-item,
.section-alt .faq { background: var(--bg); }

.card h3 { font-size: 1.22rem; margin-bottom: 8px; }

.card p, .price-item p { color: var(--muted); }

.card p + p, .card ul + p { margin-top: 0.8em; }

.card ul { margin: 0.6em 0 0; padding-left: 1.2em; color: var(--muted); }

.card li + li { margin-top: 0.25em; }

.card-line {
  background: #fffaf3;
  border-color: #e4c89a;
  box-shadow: var(--shadow);
}

.card .btn, .price-note .btn { margin-top: 16px; }

.consult-grid { margin-top: 28px; }

.notice, .quote {
  margin-top: 22px;
}

.notice {
  background: #fffaf3;
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
}

.quote {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.7;
}

.text-link {
  color: var(--gold-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.center-link { margin-top: 22px; }

.cat-card { overflow: hidden; }

.cat-card img, .cat-photo-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #efe4d4;
}

.cat-card-body { display: grid; gap: 8px; padding: 14px 16px 16px; }

.cat-area { font-family: var(--serif); font-size: 1.15rem; }

.cat-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.status {
  border: 1px solid #e4c89a;
  color: var(--gold-deep);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.empty { padding: 28px 20px; color: var(--muted); }

.price-list { margin-top: 28px; }

.price-item { gap: 4px; display: grid; }

.price-name { font-weight: 700; }

.price-value { font-size: 1.45rem; }

.small { font-size: 0.92rem; }

.cta-band {
  background:
    radial-gradient(420px 180px at 80% 0%, rgba(232, 168, 74, 0.18), transparent 70%),
    var(--brown-deep);
  color: #f7f3ec;
}

.cta-band .muted, .cta-band p { color: #f0e6da; }

.cta-band .btn-line { background: #f4eadc; color: var(--brown-deep); }
.cta-band .btn-line:hover { background: #fff; }
.cta-band .btn-ghost { color: #f7f3ec; border-color: rgba(247, 243, 236, 0.45); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.cta-band .actions { margin-top: 22px; }

.page-head { padding: 36px 0 8px; }

.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.45rem); margin: 8px 0 12px; }

.breadcrumb { margin: 0 0 8px; color: var(--muted); font-size: 0.88rem; }

.breadcrumb a { color: var(--gold-deep); }

.prose h2 { font-size: 1.22rem; margin: 2.1rem 0 0.55rem; }

.prose p + p, .prose ul { margin-top: 0.8em; }

.prose ul { padding-left: 1.2em; }

.prose li + li { margin-top: 0.35em; }

.define { display: grid; gap: 16px; margin-top: 28px; }

.define div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.define dt { font-weight: 700; }

.define dd { margin: 0; color: var(--muted); }

.faq { padding: 0 18px; }

.faq + .faq { margin-top: 10px; }

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "＋";
  float: right;
  color: var(--gold-deep);
  font-weight: 500;
}

.faq[open] summary::after { content: "－"; }

.faq p { padding: 0 0 16px; color: var(--muted); }

.form { display: grid; gap: 16px; margin-top: 8px; }

.form-row { display: grid; gap: 16px; }

label span, .field-label { font-weight: 700; font-size: 0.92rem; }

input, select, textarea {
  width: 100%;
  margin-top: 6px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ddcbb6;
  border-radius: 12px;
  padding: 12px 14px;
}

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

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}

.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.35rem; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-logo { width: 150px; height: auto; display: block; }

.footer-grid { display: grid; gap: 28px; }

.footer-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 12px 0 4px;
}

.footer-links, .footer-contact { display: grid; gap: 8px; align-content: start; }

.footer-contact a,
.prose a,
.define a { overflow-wrap: anywhere; }

.footer-links a, .legal-links a { text-decoration: none; }

.footer-links a:hover, .legal-links a:hover { text-decoration: underline; }

.footer-label { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--gold-deep); font-weight: 700; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.copy { margin-top: 14px; color: var(--muted); font-size: 0.82rem; }

.tel {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 236, 0.96);
  border-top: 1px solid var(--line);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .actions { display: flex; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .price-item {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 24px;
  }
  .price-item p { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 800px) {
  .section { padding: 96px 0; }
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse .photo { order: -1; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps li:not(:last-child)::after {
    content: "→";
    left: auto;
    right: -14px;
    bottom: auto;
    top: 22px;
    transform: none;
  }
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .consult-grid { grid-template-columns: 1.25fr 0.85fr 0.9fr; align-items: stretch; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "copy logo"
      "actions logo";
    align-items: center;
    gap: 20px 48px;
    padding-top: 48px;
  }
  .hero h1 { font-size: clamp(2rem, 3vw, 2.7rem); }
  .hero-logo img { width: min(100%, 380px); }
}

@media (min-width: 1120px) {
  body { padding-bottom: 0; }
  .nav-toggle, .mobile-dock { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
  .site-nav a:not(.btn) {
    border: 0;
    padding: 8px 0;
    font-size: 0.92rem;
  }
  .site-nav a:not(.btn):hover { color: var(--gold-deep); }
  .site-nav .btn { margin-top: 0; min-height: 42px; }
}

@media print {
  .mobile-dock, .nav-toggle, .site-nav .btn { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .cta-band { background: #fff; color: #000; }
  .site-header { position: static; }
}
