:root {
  --bg: #f8f4ec;
  --surface: #fffdf8;
  --tint: #f1ebdd;
  --text: #46382c;
  --muted: #6e5e4f;
  --line: #e2d7c4;
  --line-strong: #cfc0a7;
  --accent: #b85a28;
  --accent-dark: #9a4a20;
  --window: #f3c98f;
  --shadow-sm: 0 1px 3px rgba(70, 56, 44, 0.05);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16.5px;
  line-height: 1.9;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: 0.03em;
  font-feature-settings: "palt";
}

a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

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

.ib { display: inline-block; }

.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(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  white-space: nowrap;
}
.logo-mark {
  width: 26px;
  height: 26px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-window { fill: var(--window); }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.16s;
}
.nav a:not(.nav-cta):hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
.nav .nav-cta {
  padding: 7px 17px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  transition: background-color 0.16s, transform 0.12s;
}
.nav .nav-cta:hover {
  background: var(--accent-dark);
  color: #fff;
}
.nav .nav-cta:active { transform: translateY(1px); }

/* hero */
.hero {
  padding: 64px 0 68px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 264px;
  align-items: center;
  gap: 44px;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: 31px;
}
.hero p {
  margin: 0 0 10px;
}
.hero .hero-sub {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--accent-dark);
}
.hero .btn { margin-top: 26px; }

.hero-illust {
  width: 100%;
  height: auto;
  justify-self: end;
}
.hero-illust .ln {
  fill: none;
  stroke: var(--text);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-illust .thin { stroke-width: 1.9; }
.hero-illust .pale { stroke: var(--line-strong); stroke-width: 1.8; }
.hero-illust .wall { fill: var(--surface); }
.hero-illust .roof { fill: var(--tint); }
.hero-illust .door {
  fill: var(--bg);
  stroke: var(--text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-illust .win {
  fill: var(--window);
  stroke: var(--text);
  stroke-width: 2.4;
}
.hero-illust .win.thin { stroke-width: 1.9; }
.hero-illust .sign {
  fill: var(--surface);
  stroke: var(--text);
  stroke-width: 2;
}
.hero-illust .sign-text {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 700;
  fill: var(--text);
  letter-spacing: 0.04em;
}
.hero-illust .knob { fill: var(--accent); }
.hero-illust .step-stone {
  fill: var(--tint);
  stroke: var(--text);
  stroke-width: 1.8;
}
.hero-illust .tree {
  fill: var(--tint);
  stroke: var(--text);
  stroke-width: 1.9;
  stroke-linejoin: round;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(154, 74, 32, 0.2);
  transition: background-color 0.16s, transform 0.12s, box-shadow 0.16s;
}
.btn:hover {
  background: var(--accent-dark);
  box-shadow: 0 3px 8px rgba(154, 74, 32, 0.26);
}
.btn:active { transform: translateY(1px); }

/* sections */
.section { padding: 68px 0; }
.section.tint {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section:not(.tint) + .section:not(.tint) {
  border-top: 1px solid var(--line);
}
.section h2 {
  margin: 0 0 24px;
  font-size: 25px;
}
.section h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.lead {
  margin: -8px 0 24px;
  color: var(--muted);
}

/* examples */
.examples {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.examples li {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 14fr);
  gap: 16px 32px;
  align-items: baseline;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.examples p { margin: 0; }
.ex-q { font-weight: 500; }
.ex-a {
  position: relative;
  padding-left: 26px;
}
.ex-a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 14px;
  height: 1.8px;
  background: var(--accent);
  border-radius: 1px;
}
.ex-a::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.92em;
  width: 6.5px;
  height: 6.5px;
  border-top: 1.8px solid var(--accent);
  border-right: 1.8px solid var(--accent);
  transform: translateY(calc(-50% + 0.9px)) rotate(45deg);
}

.examples-note {
  margin: 28px 0 0;
  padding: 15px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* price */
.price {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price th,
.price td {
  padding: 20px 26px;
  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: 52%;
}
.price-free {
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 700;
}
.price-val {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.price .sub {
  display: block;
  margin-top: 2px;
  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;
  max-width: 760px;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 32px 54px;
  counter-increment: step;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--surface);
  color: var(--accent-dark);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 44px;
  bottom: 6px;
  border-left: 1.5px dashed var(--line-strong);
}
.steps p { margin: 0; }

/* staff */
.staff-body { max-width: 660px; }
.staff-body p { margin: 0; }

/* faq */
.faq { max-width: 720px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s;
}
.faq details:last-child { margin-bottom: 0; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  padding: 17px 46px 17px 22px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  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, border-color 0.16s;
}
.faq summary:hover::after,
.faq details[open] summary::after {
  border-color: var(--accent-dark);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details p {
  margin: 0;
  padding: 0 22px 19px;
}

/* contact */
.form {
  max-width: 560px;
  display: grid;
  gap: 20px;
}
.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-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.form textarea {
  resize: vertical;
  min-height: 136px;
}
.form input:hover,
.form textarea:hover {
  border-color: #bca88b;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 90, 40, 0.16);
}
.form .btn { justify-self: start; }
.form-msg {
  margin: 0;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--surface);
  border-left: 3px solid var(--line-strong);
  color: var(--muted);
}
.form-msg:empty { display: none; }
.form-msg.is-done {
  color: #3f5c28;
  border-left-color: #4f6b35;
  background: #f3f6ee;
  font-weight: 500;
}
.form-msg.is-error {
  color: #8f2d1e;
  border-left-color: #a33a2a;
  background: #fbf1ef;
}
.form .btn:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tel {
  margin: 30px 0 0;
  font-size: 15.5px;
}
.email-link {
  display: inline-block;
  white-space: nowrap;
}

/* 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-family: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .pc { display: none; }
  .header-inner { height: 58px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta {
    padding: 7px 14px;
    font-size: 14px;
  }
  .logo { font-size: 17px; }
  .logo-mark { width: 24px; height: 24px; }

  .hero { padding: 36px 0 48px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero h1 br { display: none; }
  .hero h1 {
    font-size: 23px;
    margin-bottom: 16px;
  }
  .hero-illust {
    order: -1;
    max-width: 210px;
    justify-self: center;
  }

  .section { padding: 52px 0; }
  .section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .lead { margin-top: -6px; }

  .examples li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
  .examples-note {
    margin-top: 22px;
    padding: 14px 16px;
  }

  .price th,
  .price td {
    display: block;
    width: 100%;
  }
  .price th {
    padding: 16px 18px 4px;
    border-bottom: 0;
  }
  .price td {
    padding: 0 18px 16px;
  }

  .steps li {
    padding: 0 0 26px 48px;
  }
  .steps li::before {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .steps li:not(:last-child)::after {
    left: 15.5px;
    top: 38px;
  }

  .faq summary {
    padding: 15px 40px 15px 18px;
  }
  .faq summary::after { right: 18px; }
  .faq details p { padding: 0 18px 17px; }
}
