:root {
  --ink: #163a34;
  --ink-soft: #45655f;
  --paper: #f7f1e6;
  --white: #fffdf8;
  --gold: #c9963e;
  --orange: #ee6c3c;
  --line: #ddd3c3;
  --shadow: 0 24px 64px rgba(32, 49, 43, .12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; }
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: rgba(255,253,248,.94);
  border-bottom: 1px solid rgba(22,58,52,.12);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.header-link { font-size: 14px; text-decoration: none; color: var(--ink-soft); }
.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  background: var(--white) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,253,248,.1), transparent 64%); pointer-events: none; }
.hero-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 1; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 14px 0 18px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(42px, 6vw, 76px); line-height: 1.08; letter-spacing: -.03em; max-width: 650px; }
.hero-lead { max-width: 560px; color: var(--ink-soft); font-size: 17px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { background: rgba(255,253,248,.9); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; }
.primary-button, .secondary-button {
  border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
.primary-button { background: var(--orange); color: white; box-shadow: 0 12px 24px rgba(238,108,60,.24); }
.primary-button:hover { transform: translateY(-1px); }
.secondary-button { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.hero-actions { margin-top: 28px; }
main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 100px; }
.section-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-card { padding: 38px; }
.intro-card h2, .form-card h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 32px; line-height: 1.35; margin: 0 0 16px; }
.detail-card { padding: 26px; position: sticky; top: 94px; }
.detail-list { margin: 0; }
.detail-row { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 112px 1fr; gap: 14px; }
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.detail-row dd { margin: 0; font-weight: 700; }
.price { font-size: 26px; color: var(--orange); }
.notes { padding-left: 1.2em; margin-bottom: 0; }
.form-card { margin-top: 34px; padding: 42px; }
.form-intro { color: var(--ink-soft); margin-top: -6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; }
.required { color: var(--orange); margin-left: 4px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cfc5b5; background: white; border-radius: 12px; padding: 13px 14px; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.calculated-total { min-height: 52px; display: flex; align-items: center; border-radius: 12px; padding: 10px 15px; background: #f2eadc; color: var(--orange); font-size: 22px; font-weight: 800; }
.char-counter { justify-self: end; margin-top: -2px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.char-counter.over { color: var(--orange); }
.field-help { margin: -2px 0 0; color: var(--ink-soft); font-size: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0; font-size: 13px; color: var(--ink-soft); }
.submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.status { font-size: 14px; color: var(--ink-soft); }
.status.error { color: #a92b2b; }
.empty { text-align: center; padding: 90px 24px; }
.empty h1 { margin-inline: auto; }
.site-footer { background: var(--ink); color: #e9f0ed; padding: 42px 24px; text-align: center; font-size: 13px; }
.site-footer strong { display: block; font-size: 17px; margin-bottom: 6px; }
[hidden] { display: none !important; }
@media (max-width: 820px) {
  .site-header { height: 64px; padding-inline: 18px; }
  .header-link { display: none; }
  .hero { min-height: 640px; background-position: 58% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,253,248,.5); }
  .hero-inner, main { width: min(100% - 32px, 680px); }
  .section-grid { grid-template-columns: 1fr; }
  .detail-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .intro-card { padding: 26px 22px; }
  .field.full { grid-column: auto; }
}
