:root {
  --bg: #f8f4ec;
  --surface: #fffdf8;
  --tint: #f1ebdd;
  --text: #46382c;
  --muted: #7d6c5c;
  --line: #e2d7c4;
  --accent: #b85a28;
  --accent-dark: #9a4a20;
  --window: #f3c98f;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

h1, h2, h3, .logo {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

a { color: var(--accent-dark); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 244, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 19px;
  white-space: nowrap;
}
.logo-mark { width: 28px; height: 28px; color: var(--text); }
.logo-window { fill: var(--window); }

.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--accent-dark); }
.nav .nav-cta {
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* hero */
.hero { padding: 72px 0 64px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 40px;
}
.hero h1 { margin: 0 0 24px; font-size: 32px; }
.hero p { margin: 0 0 8px; }
.hero .btn { margin-top: 24px; }
.hero-illust { width: 100%; justify-self: end; }
.hero-illust .ln {
  fill: none;
  stroke: var(--text);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-illust .thin { stroke-width: 2; }
.hero-illust .win { fill: var(--window); stroke: var(--text); stroke-width: 3; }
.hero-illust .sign { fill: var(--surface); stroke: var(--text); stroke-width: 2.5; }
.hero-illust .sign-text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
  fill: var(--text);
}
.hero-illust .dot { fill: var(--text); }

.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }

/* sections */
.section { padding: 72px 0; }
.section.tint { background: var(--tint); }
.section h2 { margin: 0 0 24px; font-size: 26px; }
.section h3 { margin: 0 0 4px; font-size: 18px; }
.lead { margin-top: 0; }

.examples {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.examples li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
}
.examples li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--window);
  border: 2px solid var(--accent);
}

.cannot {
  margin-top: 40px;
  padding: 20px 24px;
  border-left: 4px solid var(--line);
  background: var(--surface);
}
.cannot p { margin: 0; color: var(--muted); }

/* price */
.price {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
.price th,
.price td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.price tr:last-child th,
.price tr:last-child td { border-bottom: 0; }
.price th { font-weight: 500; width: 55%; }
.price td strong { color: var(--accent-dark); font-size: 20px; }
.price .sub {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

/* steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 32px 60px;
  counter-increment: step;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 46px;
  bottom: 6px;
  border-left: 2px dotted var(--line);
}
.steps p { margin: 0; }

/* staff */
.staff {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.staff-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--tint);
  border: 2px dashed var(--line);
}
.staff-name { margin: -12px 0 12px; font-weight: 700; }
.staff p:last-child { margin: 0; }

/* faq */
.faq details {
  background: var(--surface);
  border-radius: 8px;
  margin-bottom: 12px;
}
.faq summary {
  padding: 16px 48px 16px 24px;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 24px 18px; }

/* contact */
.form { max-width: 560px; }
.form { display: grid; gap: 20px; margin-top: 24px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.optional { font-weight: 400; font-size: 14px; color: var(--muted); }
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.form .btn { justify-self: start; }
.form-msg { margin: 0; color: var(--muted); }
.form-msg:empty { display: none; }
.form-msg.is-done { color: #4f6b35; font-weight: 500; }
.form-msg.is-error { color: #a33a2a; }
.form .btn:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tel { margin-top: 32px; }

/* footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.site-footer p { margin: 0; }
.footer-name { font-weight: 700; color: var(--text); }

/* mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .pc { display: none; }
  .nav a:not(.nav-cta) { display: none; }
  .logo { font-size: 17px; }
  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 br { display: none; }
  .hero h1 { font-size: 25px; }
  .hero-illust { order: -1; max-width: 220px; justify-self: start; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 22px; }
  .price th, .price td { display: block; width: 100%; padding: 14px 18px; }
  .price th { border-bottom: 0; padding-bottom: 0; }
  .staff { grid-template-columns: 1fr; gap: 20px; }
  .staff-photo { width: 120px; height: 120px; }
}
