:root {
  color-scheme: light;
  --cream: #f3eee7;
  --cream-soft: #f8f2ea;
  --paper: #fdf9f5;
  --ink: #313131;
  --navy: #000040;
  --navy-deep: #000027;
  --taupe: #6f675d;
  --line: #c8c3bc;
  --line-soft: #ded7ce;
  --danger: #9f3434;
  --success: #375f43;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Times New Roman", serif;
  --font-ui: Meiryo, "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;
  overflow-wrap: break-word;
  line-break: strict;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(49, 49, 49, .16);
  background: rgba(243, 238, 231, .94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  color: var(--navy);
  font-family: "Times New Roman", serif;
  font-size: .95rem;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: .88rem;
  line-height: 1.4;
}

.nav a:not(.btn) {
  color: rgba(49, 49, 49, .82);
}

.nav a:not(.btn):hover {
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 148px;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-primary {
  border-color: var(--navy-deep);
  background: var(--navy);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-ghost {
  border-color: rgba(243, 238, 231, .72);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(243, 238, 231, .12);
  color: var(--cream);
}

.btn-large {
  min-height: 54px;
  min-width: 190px;
  padding: 13px 24px;
}

.btn:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(0, 0, 64, .32);
  outline-offset: 3px;
}

.hero-luxury {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--cream);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  background-image: url("/assets/luxury-workspace.jpg");
  background-position: 58% 42%;
  background-size: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 39, .88) 0%, rgba(0, 0, 39, .58) 48%, rgba(0, 0, 39, .18) 100%),
    linear-gradient(180deg, rgba(0, 0, 39, .18) 0%, rgba(0, 0, 39, .5) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78svh;
  padding: 82px 0 70px;
}

.overline {
  margin: 0 0 18px;
  color: rgba(243, 238, 231, .82);
  font-family: var(--font-ui);
  font-size: .74rem;
  font-weight: 400;
  line-height: 1.5;
}

.overline.dark {
  color: var(--taupe);
}

.hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: 4.1rem;
  font-weight: 400;
  line-height: 1.24;
}

.mobile-only {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(243, 238, 231, .88);
  font-size: 1.08rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(640px, 100%);
  margin: 52px 0 0;
  border-top: 1px solid rgba(243, 238, 231, .38);
  border-bottom: 1px solid rgba(243, 238, 231, .38);
}

.hero-proof div {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid rgba(243, 238, 231, .28);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof dt {
  margin: 0 0 4px;
  color: rgba(243, 238, 231, .66);
  font-family: var(--font-ui);
  font-size: .74rem;
  line-height: 1.4;
}

.hero-proof dd {
  margin: 0;
  color: var(--cream);
  font-size: 1.32rem;
  line-height: 1.35;
}

.section {
  padding: 96px 0;
  background: var(--paper);
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  background: var(--navy);
  color: var(--cream);
}

.intro-grid,
.pricing-layout,
.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

.intro-grid h2,
.pricing-layout h2,
.split-feature h2,
.faq-layout h2,
.contact-copy h2,
.section-heading h2 {
  margin: 0;
  color: inherit;
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 1.45;
}

.intro-copy p,
.pricing-layout p,
.contact-copy p {
  margin: 0 0 18px;
  color: var(--taupe);
}

.section-navy .pricing-layout p,
.contact-copy p {
  color: rgba(243, 238, 231, .78);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.quiet-card {
  min-width: 0;
  padding: 38px;
  background: var(--cream);
}

.quiet-card .number,
.flow-list span {
  display: block;
  margin-bottom: 30px;
  color: var(--navy);
  font-family: "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1;
}

.quiet-card h3,
.flow-list h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
}

.quiet-card p,
.flow-list p,
.faq p {
  margin: 0;
  color: var(--taupe);
}

.price-panel {
  border: 1px solid rgba(243, 238, 231, .44);
}

.price-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(243, 238, 231, .32);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: rgba(243, 238, 231, .66);
  font-family: var(--font-ui);
  font-size: .86rem;
}

.price-row strong {
  color: var(--cream);
  font-size: 2.85rem;
  font-weight: 400;
  line-height: 1.2;
}

.price-row.small strong {
  font-size: 1.5rem;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid rgba(243, 238, 231, .32);
  background: rgba(243, 238, 231, .32);
}

.extras-grid article {
  min-width: 0;
  padding: 24px;
  background: var(--navy);
}

.extras-grid span,
.extras-grid b {
  display: block;
  font-weight: 400;
}

.extras-grid span {
  color: rgba(243, 238, 231, .62);
  font-family: var(--font-ui);
  font-size: .84rem;
}

.extras-grid b {
  margin-top: 8px;
  color: var(--cream);
  font-size: 1.05rem;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: 70px;
  align-items: center;
}

.feature-image {
  min-height: 520px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 39, .04), rgba(0, 0, 39, .24)),
    url("/assets/luxury-workspace.jpg");
  background-position: 55% 54%;
  background-size: cover;
}

.feature-list {
  display: grid;
  gap: 1px;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 14px;
  border: 1px solid var(--navy);
  vertical-align: middle;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.flow-list article {
  min-width: 0;
  padding: 34px 28px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.faq {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.6;
}

.faq p {
  margin-top: 12px;
}

.contact-section {
  background: var(--ink);
  color: var(--cream);
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 238, 231, .3);
}

.contact-note span {
  display: block;
  color: rgba(243, 238, 231, .62);
  font-family: var(--font-ui);
  font-size: .84rem;
}

.contact-note p {
  margin: 8px 0 0;
  color: var(--cream);
}

.form-card {
  min-width: 0;
  padding: 36px;
  border: 1px solid rgba(243, 238, 231, .36);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}

.form-section-title {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.form-section-title span {
  display: block;
  font-size: 1.35rem;
  line-height: 1.5;
}

.form-section-title p {
  margin: 6px 0 0;
  color: var(--taupe);
  font-size: .95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.choice-field legend {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: .88rem;
  line-height: 1.6;
}

.choice-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.required {
  color: var(--danger);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffdf9;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder {
  color: rgba(49, 49, 49, .42);
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.checks label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 42px;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  background: #fffdf9;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: .86rem;
  line-height: 1.35;
  word-break: keep-all;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.checks input {
  width: 14px;
  height: 14px;
  min-height: 0;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  appearance: none;
  accent-color: var(--navy);
}

.checks input:checked {
  border-color: var(--cream);
  background: var(--navy);
}

.checks label:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
}

.checks label:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--cream);
  border-bottom: 1.5px solid var(--cream);
  transform: translateY(-70%) rotate(-45deg);
  pointer-events: none;
}

.checks label:hover {
  border-color: var(--navy);
}

.btn-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 28px;
}

.form-status {
  min-height: 28px;
  margin-top: 14px;
  color: var(--navy);
  font-family: var(--font-ui);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(243, 238, 231, .18);
  background: var(--navy-deep);
  color: rgba(243, 238, 231, .78);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-ui);
  font-size: .88rem;
}

.footer .brand,
.footer a:hover {
  color: var(--cream);
}

.footer .logo-mark {
  color: var(--cream);
}

.thanks-page {
  min-height: 100vh;
  background: var(--cream);
}

.thanks-panel {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 76px);
  max-width: 760px;
  padding: 88px 0;
}

.thanks-panel h1 {
  margin: 30px 0 22px;
  color: var(--navy);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.45;
}

.thanks-panel p {
  margin: 0 0 14px;
  color: var(--taupe);
}

.thanks-panel .btn {
  margin-top: 22px;
}

.admin-shell {
  min-height: 100vh;
  background: var(--cream);
}

.admin-main {
  padding: 36px 0 76px;
}

.admin-main h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.35;
}

.admin-main p {
  margin: 0;
  color: var(--taupe);
}

.toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--cream-soft);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: .84rem;
  font-weight: 400;
}

td {
  font-family: var(--font-ui);
  font-size: .92rem;
}

.status-pill {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 64, .24);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: .8rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
}

.stack {
  display: grid;
  gap: 16px;
}

.card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.card h2,
.card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.5;
}

.card p {
  margin: 0 0 12px;
  color: var(--taupe);
}

.kv {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-ui);
}

.prebox {
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--navy-deep);
  color: var(--cream);
  white-space: pre-wrap;
}

@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .hero-content h1 {
    font-size: 3.4rem;
  }

  .intro-grid,
  .pricing-layout,
  .faq-layout,
  .contact-layout,
  .split-feature,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-copy {
    position: static;
  }

  .number-grid {
    grid-template-columns: 1fr;
  }

  .flow-list,
  .extras-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-image {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 1rem;
  }

  .logo-mark {
    width: 31px;
    height: 31px;
  }

  .nav {
    display: none;
  }

  .hero-luxury,
  .hero-content {
    min-height: 690px;
  }

  .hero-content {
    padding: 70px 0 46px;
  }

  .hero-image {
    background-position: 66% 44%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 39, .82) 0%, rgba(0, 0, 39, .68) 58%, rgba(0, 0, 39, .84) 100%);
  }

  .hero-content h1 {
    font-size: 2.36rem;
    line-height: 1.36;
  }

  .mobile-only {
    display: block;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.85;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .btn,
  .btn-large {
    width: 100%;
    min-width: 0;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-proof div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 238, 231, .24);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .hero-proof dd {
    font-size: 1.14rem;
    text-align: right;
  }

  .section {
    padding: 66px 0;
  }

  .intro-grid h2,
  .pricing-layout h2,
  .split-feature h2,
  .faq-layout h2,
  .contact-copy h2,
  .section-heading h2 {
    font-size: 2rem;
    line-height: 1.48;
  }

  .quiet-card,
  .form-card,
  .card {
    padding: 24px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px;
  }

  .price-row strong {
    font-size: 2.2rem;
  }

  .price-row.small strong {
    font-size: 1.25rem;
  }

  .flow-list,
  .extras-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .feature-image {
    min-height: 320px;
  }

  .thanks-panel h1 {
    font-size: 2.2rem;
  }

  .footer-inner,
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-main .hero-actions {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-luxury,
  .hero-content {
    min-height: 720px;
  }

  .hero-content h1 {
    font-size: 2.08rem;
  }

  .quiet-card,
  .form-card,
  .card {
    padding: 20px;
  }

  .kv {
    grid-template-columns: 1fr;
  }
}
