/* ===== FOR STAND demo ===== */
:root {
  --navy: #122236;
  --navy-2: #1b3350;
  --ink: #1a2331;
  --paper: #f4f1ea;        /* 温かみのあるオフホワイト（純白を避ける） */
  --paper-2: #ece7db;
  --line: #d9d2c4;
  --gold: #c79235;         /* 高品位アクセント */
  --gold-soft: #e7c781;
  --amber: #e08a1e;        /* 価格・CTA */
  --ok: #2e8b57;
  --few: #d39a00;
  --full: #b14a39;
  --shadow: 0 18px 50px -28px rgba(18,34,54,.55);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gothic: "Zen Kaku Gothic New", system-ui, sans-serif;
  --mincho: "Zen Old Mincho", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: var(--gothic);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- demo bar ---- */
.demo-bar {
  background: linear-gradient(90deg, #16263f 0%, #122236 50%, #16263f 100%);
  color: #d9ce9f;
  font-size: 12.5px;
  letter-spacing: .02em;
  display: flex; align-items: center; gap: 10px;
  justify-content: center;
  padding: 9px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(199,146,53,.25);
}
.demo-bar__tag {
  background: var(--gold);
  color: #1a1306;
  font-weight: 700;
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 3px;
  letter-spacing: .1em;
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: rgba(244,241,234,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__mark {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--navy);
}
.brand__bar { color: var(--gold); margin: 0 1px; }
.brand__sub { font-size: 11px; color: #6b6354; letter-spacing: .14em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { color: #4c4738; padding: 4px 0; border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover { color: var(--navy); border-color: var(--gold); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--gothic); font-weight: 700;
  border-radius: 2px; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  text-align: center;
}
.btn--header { background: var(--navy); color: #fff; padding: 9px 18px; font-size: 13.5px; }
.btn--header:hover { background: var(--navy-2); }
.btn--primary { background: var(--amber); color: #211503; box-shadow: 0 10px 24px -12px rgba(224,138,30,.8); transition: transform .14s cubic-bezier(.175,.885,.32,1.275), box-shadow .15s ease, background .2s; }
.btn--primary:hover:not(:disabled) { transform: translateY(-3px) scale(1.015); box-shadow: 0 16px 36px -12px rgba(224,138,30,.92); }
.btn--primary:disabled { background: #cfc8b8; color: #8b8474; cursor: not-allowed; box-shadow: none; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; padding: 16px; font-size: 16px; }

/* ---- hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(199,146,53,.18) 0, transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, #0d1a2a 60%, #0a1521 100%);
  color: #f3eee2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 64px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .22em;
  color: var(--gold-soft); margin-bottom: 18px;
}
.hero__title {
  font-family: var(--mincho); font-weight: 900;
  font-size: clamp(38px, 6.4vw, 76px); line-height: 1.08;
  letter-spacing: .01em; margin-bottom: 22px;
}
.hero__title-em {
  color: var(--gold-soft);
  border-bottom: 4px solid var(--gold);
  padding-bottom: 2px;
}
.hero__lead { font-size: clamp(15px, 1.6vw, 18px); color: #d8d1c1; margin-bottom: 30px; }
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none;
  font-size: 13.5px; color: #cbc4b3;
}
.hero__points li { position: relative; padding-left: 18px; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg);
}

/* hero board */
.hero__board { position: relative; z-index: 2; }
.board-card {
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(231,199,129,.42);
  border-radius: 8px;
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px -20px rgba(18,34,54,.65), inset 0 1px 0 rgba(255,255,255,.14);
  position: relative;
}
.board-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(135deg, rgba(231,199,129,.08) 0%, transparent 42%);
  pointer-events: none;
}
.board-card > * { position: relative; }
.board-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board-card__title { font-weight: 700; font-size: 15px; color: #f3eee2; }
.board-card__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--gold-soft);
}
.board-card__live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #36c474;
  box-shadow: 0 0 0 0 rgba(54,196,116,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(54,196,116,.55)} 70%{box-shadow:0 0 0 8px rgba(54,196,116,0)} 100%{box-shadow:0 0 0 0 rgba(54,196,116,0)} }
.board-card__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.board-row {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 10px;
  padding: 10px 11px; border-radius: 3px;
  font-size: 14px;
  border-bottom: 1px solid rgba(231,199,129,.14);
}
.board-row:nth-child(odd) { background: rgba(255,255,255,.04); }
.board-row:last-child { border-bottom: 0; }
.board-row__name { color: #e8e2d4; }
.board-row__cap { font-family: var(--mono); font-size: 11.5px; color: #9aa3ad; }
.board-row__price { font-family: var(--mono); font-size: 13px; color: var(--gold-soft); }
.board-status { font-family: var(--mono); font-weight: 600; font-size: 13px; width: 28px; text-align: center; }
.s-ok { color: #45d17e; }
.s-few { color: #f2c14e; }
.s-full { color: #e08066; }
.board-card__note { margin-top: 14px; font-size: 12px; color: #b7b0a0; line-height: 1.6; }
.board-card__note a { color: var(--gold-soft); border-bottom: 1px solid; }

/* ---- sections ---- */
.section { padding: clamp(56px, 8vw, 104px) clamp(16px, 5vw, 64px); }
.section--board { background: var(--paper); }
.section--quote { background: var(--paper-2); }
.section--why { background: var(--paper); }
.section__head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 52px); text-align: center; }
.section__kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  color: var(--gold); margin-bottom: 14px;
}
.section__kicker--gold { color: var(--gold-soft); }
.section__title {
  font-family: var(--mincho); font-weight: 700;
  font-size: clamp(27px, 4vw, 44px); line-height: 1.25; color: var(--navy);
  margin-bottom: 16px;
}
.section__head--light .section__title { color: #fff; }
.section__desc { font-size: clamp(14.5px, 1.5vw, 17px); color: #5b5444; }
.section__desc--light { color: #c8d0da; }
.section__desc strong { color: var(--amber); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- vacancy board ---- */
.board-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  justify-content: center; margin-bottom: 22px; font-size: 13px; color: #5b5444;
}
.board-legend .chip { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }
.chip--ok { background: var(--ok); }
.chip--few { background: var(--few); }
.chip--full { background: var(--full); }
.board-legend__tip { color: #8a8270; }
.board-legend__tip a { color: var(--amber); border-bottom: 1px solid; font-weight: 600; }
.board-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.board { border-collapse: collapse; width: 100%; min-width: 720px; }
.board th, .board td { border: 1px solid var(--line); text-align: center; }
.board thead th {
  background: var(--navy); color: #f3eee2; padding: 12px 8px;
  font-size: 12.5px; font-weight: 500; position: sticky; top: 0;
}
.board thead th.is-weekend { color: var(--gold-soft); }
.board thead th .d-date { font-family: var(--mono); font-size: 15px; display: block; }
.board thead th .d-dow { font-size: 11px; opacity: .85; }
.board th.room-th { background: var(--navy-2); text-align: left; padding-left: 16px; min-width: 168px; }
.board td.room-cell { text-align: left; padding: 10px 16px; background: var(--paper); }
.board .room-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.board .room-meta { font-family: var(--mono); font-size: 11px; color: #837b69; }
.cell { padding: 0; }
.cell button {
  width: 100%; height: 100%; min-height: 46px; border: 0; cursor: pointer;
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  background: transparent; transition: background .15s, transform .1s;
}
.cell.c-ok button { color: var(--ok); }
.cell.c-few button { color: var(--few); background: rgba(211,154,0,.07); }
.cell.c-full button { color: var(--full); background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(177,74,57,.07) 6px, rgba(177,74,57,.07) 12px); }
.cell.c-ok button:hover, .cell.c-few button:hover { background: var(--gold-soft); color: var(--navy); transform: scale(1.04); }
.cell.c-full button:hover { background: rgba(177,74,57,.14); }

/* ---- quote ---- */
.quote {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px);
  max-width: 940px; margin: 0 auto;
}
.quote__form, .quote__result {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field select, .field input {
  font-family: var(--gothic); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper); transition: border .2s, box-shadow .2s;
}
.field select:focus, .field input:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,146,53,.18); background: #fff;
}
.quote__hint { font-size: 12.5px; color: #7a7260; margin-top: 4px; }
.quote__hint strong { color: var(--amber); }

.quote__result { display: flex; flex-direction: column; }
.readout {
  background: var(--navy); border-radius: 6px; padding: 22px 24px;
  text-align: center; margin-bottom: 18px;
}
.readout__label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: var(--gold-soft); margin-bottom: 6px; }
.readout__price {
  display: block; font-family: var(--mono); font-weight: 600;
  font-size: clamp(34px, 6vw, 52px); color: #fff; line-height: 1.1;
  letter-spacing: .01em;
}
.readout__price.flash { animation: flash .4s ease; }
@keyframes flash { 0%{color:var(--gold-soft);transform:scale(1.06)} 100%{color:#fff;transform:none} }
.readout__per { display: block; font-size: 12.5px; color: #aab3bd; margin-top: 8px; }
.breakdown { list-style: none; margin-bottom: 18px; }
.breakdown li { display: flex; justify-content: space-between; padding: 9px 2px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.breakdown li span:last-child { font-family: var(--mono); }
.breakdown li.is-discount { color: var(--ok); }
.breakdown li.is-total { font-weight: 700; color: var(--navy); border-bottom: 0; padding-top: 12px; }
.breakdown li.is-total span:last-child { font-size: 17px; }
.quote__micro { font-size: 12px; color: #7a7260; margin-top: 12px; text-align: center; }
.quote__micro strong { color: var(--navy); }

/* contact + autoreply */
.contact, .autoreply {
  max-width: 720px; margin: 28px auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.contact__title { font-family: var(--mincho); font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.contact__summary { font-size: 14px; color: #5b5444; background: var(--paper); border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 0 4px 4px 0; margin-bottom: 20px; }
.contact__fields { display: grid; gap: 4px; }
.req { background: var(--full); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.opt { background: #cfc8b8; color: #4c4738; font-size: 10px; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.contact__micro { font-size: 11.5px; color: #8a8270; margin-top: 12px; text-align: center; }

.autoreply { border-color: var(--ok); }
.autoreply__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.autoreply__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.autoreply__from { font-weight: 700; font-size: 14px; color: var(--navy); }
.autoreply__addr { font-family: var(--mono); font-size: 11.5px; color: #837b69; }
.autoreply__time { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: #9a927f; }
.autoreply__body { font-size: 14px; color: var(--ink); white-space: pre-wrap; line-height: 1.85; }

/* ---- why ---- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px 22px; box-shadow: var(--shadow); }
.why-card__num { font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.why-card h3 { font-family: var(--mincho); font-size: 19px; color: var(--navy); margin: 10px 0 10px; }
.why-card p { font-size: 13.5px; color: #5b5444; }

/* ---- auto ---- */
.section--auto { background: linear-gradient(165deg, #122236 0%, #0c1826 100%); color: #e8e2d4; }
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; max-width: 980px; margin: 0 auto clamp(34px, 4vw, 50px); }
.flow__step { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: 12px 18px; font-weight: 700; font-size: 15px; }
.flow__step span { font-family: var(--mono); width: 24px; height: 24px; border-radius: 50%; background: rgba(231,199,129,.2); color: var(--gold-soft); display: grid; place-items: center; font-size: 13px; }
.flow__step--key { background: var(--gold); color: #1a1306; border-color: var(--gold); }
.flow__step--key span { background: rgba(0,0,0,.18); color: #1a1306; }
.flow__arrow { color: var(--gold-soft); font-family: var(--mono); font-size: 15px; }
.flow__arrow--burst { font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.auto-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.auto-card { background: rgba(255,255,255,.05); border: 1px solid rgba(231,199,129,.22); border-radius: 8px; padding: 26px; }
.auto-card h3 { font-family: var(--mincho); font-size: 20px; color: #fff; margin-bottom: 10px; }
.auto-card p { font-size: 14px; color: #c8d0da; margin-bottom: 14px; }
.auto-card__tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--gold-soft); border: 1px solid rgba(231,199,129,.35); border-radius: 3px; padding: 3px 9px; }
.auto-foot { max-width: 980px; margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; font-size: 15px; color: var(--gold-soft); font-family: var(--mincho); }

/* ---- footer ---- */
.site-footer { background: #0a1521; color: #9aa3ad; padding: 44px clamp(16px, 5vw, 64px); }
.site-footer__brand { margin-bottom: 16px; }
.site-footer__brand .brand__mark { color: #f3eee2; }
.site-footer__brand p { font-size: 12.5px; color: #7e8893; margin-top: 4px; }
.site-footer__note { font-size: 12px; line-height: 1.8; color: #6e7783; }

/* ---- sticky cta (mobile) ---- */
.sticky-cta {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 60;
  background: var(--amber); color: #211503; font-weight: 700; font-size: 15px;
  padding: 13px 30px; border-radius: 40px; box-shadow: 0 14px 30px -10px rgba(224,138,30,.8);
  display: none;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__board { order: -1; }
  .quote { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 768px) {
  .board { min-width: 600px; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .btn--header { display: none; }
  .sticky-cta { display: inline-flex; }
  .hero__title { font-size: clamp(34px, 11vw, 50px); }
  .board { min-width: 520px; }
  .board thead th .d-date { font-size: 13px; }
  .board thead th .d-dow { font-size: 9px; }
  .board td.room-cell { padding: 8px 12px; }
}
.muted-note { font-size: 12.5px; color: #8a8270; }
