:root {
  --bg: #f7f5f1;
  --paper: #fffdfa;
  --text: #16181d;
  --emphasis: #0e0e10;
  --gold: #c9a96a;
  --gold-deep: #9d7b3d;
  --muted: rgba(22, 24, 29, 0.68);
  --line: rgba(22, 24, 29, 0.12);
  --line-strong: rgba(201, 169, 106, 0.48);
  --header: rgba(247, 245, 241, 0.82);
  --font-serif-ja: "Shippori Mincho", serif;
  --font-body: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(22, 24, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 24, 29, 0.026) 1px, transparent 1px),
    var(--bg);
  background-size: 92px 92px, 92px 92px, auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--emphasis);
  background: rgba(201, 169, 106, 0.48);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 22% 31%, rgba(22, 24, 29, 0.7) 0 1px, transparent 1.3px),
    radial-gradient(circle at 76% 13%, rgba(22, 24, 29, 0.45) 0 1px, transparent 1.2px),
    radial-gradient(circle at 49% 78%, rgba(22, 24, 29, 0.32) 0 1px, transparent 1.2px);
  background-size: 17px 19px, 23px 29px, 31px 37px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--emphasis);
  transition:
    background-color 360ms ease,
    border-color 360ms ease,
    min-height 360ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name,
.site-nav a,
.section-label,
.business-index {
  font-family: var(--font-display);
}

.brand-name {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: clamp(12px, 2.4vw, 34px);
  font-size: 17px;
  line-height: 1;
}

.site-nav a,
.primary-button {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35em;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88vh;
  min-height: 88svh;
  padding: 122px clamp(18px, 4vw, 56px) 68px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 0;
  left: clamp(18px, 4vw, 56px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.74), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1200px);
  max-width: 1200px;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  align-self: center;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(430px, 72vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto clamp(32px, 5vw, 64px);
}

.hero-title {
  max-width: 980px;
  margin: 0;
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-sub {
  max-width: 760px;
  margin: clamp(22px, 3.2vw, 36px) 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 500;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.section {
  position: relative;
  padding: clamp(88px, 14vw, 176px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 78px;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-number {
  position: absolute;
  top: clamp(24px, 6vw, 74px);
  right: clamp(16px, 5vw, 72px);
  color: rgba(22, 24, 29, 0.045);
  font-family: var(--font-display);
  font-size: clamp(130px, 25vw, 360px);
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(34px, 8vw, 104px);
  align-items: start;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-deep);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
}

.section-label::before {
  display: none;
}

.section-label .motion-rule {
  width: clamp(42px, 8vw, 110px);
  height: 1px;
  background: rgba(201, 169, 106, 0.58);
}

.section-heading {
  margin: 0;
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(36px, 5.8vw, 78px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
}

.lead-text,
.business-body p,
.contact-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 2.05;
}

.lead-text {
  margin-top: clamp(28px, 5vw, 52px);
}

.section-business {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.62), rgba(247, 245, 241, 0)),
    var(--bg);
}

.section-business .section-heading {
  margin-bottom: clamp(44px, 7vw, 84px);
  font-family: var(--font-display);
}

.business-list {
  border-top: 1px solid var(--line-strong);
}

.business-item {
  display: grid;
  grid-template-columns: clamp(52px, 9vw, 110px) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  padding: clamp(32px, 5.6vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}

.business-index {
  margin: 0;
  color: rgba(157, 123, 61, 0.72);
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1;
}

.business-body {
  min-width: 0;
}

.business-body h3 {
  margin: 0 0 clamp(14px, 2vw, 22px);
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(25px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1.3;
}

.business-body p {
  max-width: 760px;
}

.business-tagline {
  color: var(--emphasis) !important;
  font-family: var(--font-serif-ja);
  font-size: clamp(20px, 2.8vw, 34px) !important;
  line-height: 1.55 !important;
}

.business-tagline + p {
  margin-top: 10px;
}

.primary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 34px);
  padding: 12px 22px 13px;
  border: 1px solid rgba(201, 169, 106, 0.74);
  color: var(--emphasis);
  background: rgba(201, 169, 106, 0.42);
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--gold-deep);
  background: rgba(201, 169, 106, 0.62);
  transform: translateY(-1px);
}

.company-table {
  display: grid;
  gap: 0;
  margin: clamp(34px, 5vw, 58px) 0 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(0, 0.76fr);
  gap: clamp(16px, 4vw, 42px);
  min-width: 0;
  padding: clamp(20px, 3vw, 30px) 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.1);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  min-width: 0;
  margin: 0;
}

.company-table dt {
  color: var(--gold-deep);
  font-weight: 700;
}

.company-table dd {
  color: var(--emphasis);
  overflow-wrap: anywhere;
}

.section-contact {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.82), rgba(247, 245, 241, 0.42)),
    var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(300px, 0.52fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: end;
}

.contact-copy {
  max-width: 560px;
  margin-top: clamp(24px, 4vw, 42px);
}

.contact-action {
  display: block;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.contact-form {
  width: 100%;
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(18px, 3vw, 30px);
}

.form-field {
  position: relative;
  min-width: 0;
}

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

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(22, 24, 29, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.required-mark {
  color: var(--gold-deep);
  font-size: 12px;
  line-height: 1;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.2);
  border-radius: 0;
  color: var(--emphasis);
  background: transparent;
  outline: 0;
  transition:
    border-color 220ms ease,
    background-color 220ms ease;
}

.form-field input {
  min-height: 46px;
  padding: 8px 0 10px;
}

.form-field textarea {
  min-height: 190px;
  resize: vertical;
  padding: 12px 0;
  line-height: 1.75;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold-deep);
  background: rgba(201, 169, 106, 0.06);
}

.form-error {
  min-height: 21px;
  margin: 6px 0 0;
  color: #a8472e;
  font-size: 12px;
  line-height: 1.55;
}

.form-field-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 28px;
  padding: 13px 22px 14px;
  border: 1px solid rgba(201, 169, 106, 0.74);
  border-radius: 0;
  color: var(--emphasis);
  background: rgba(201, 169, 106, 0.42);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.form-button:hover,
.form-button:focus-visible {
  border-color: var(--gold-deep);
  background: rgba(201, 169, 106, 0.62);
  transform: translateY(-1px);
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-button-secondary {
  color: var(--gold-deep);
  background: transparent;
}

.form-button-secondary:hover,
.form-button-secondary:focus-visible {
  color: var(--emphasis);
}

.confirm-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(201, 169, 106, 0.42);
  border-bottom: 1px solid var(--line);
}

.confirm-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) minmax(0, 0.7fr);
  gap: 18px;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.1);
}

.confirm-list div:last-child {
  border-bottom: 0;
}

.confirm-list dt,
.confirm-list dd {
  min-width: 0;
  margin: 0;
}

.confirm-list dt {
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.confirm-list dd {
  color: var(--emphasis);
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-complete {
  padding: clamp(28px, 5vw, 46px) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.form-complete p {
  margin: 0;
  color: var(--emphasis);
  font-family: var(--font-serif-ja);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-status.is-error {
  color: #a8472e;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 34px 18px 42px;
  color: rgba(22, 24, 29, 0.54);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 16px;
}

.footer-logo {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.motion-line {
  display: block;
  overflow: hidden;
}

.motion-line-inner,
.motion-rule,
[data-motion~="section-number"],
[data-motion~="stagger"] > * {
  will-change: transform, opacity;
}

.motion-line-inner {
  display: block;
}

.motion-rule {
  display: block;
  flex: 0 0 auto;
  transform-origin: left center;
}

.motion-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  height: 2px;
  pointer-events: none;
}

.motion-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.motion-cursor {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.motion-cursor-dot,
.motion-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.motion-cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--gold-deep);
}

.motion-cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(157, 123, 61, 0.58);
  transition:
    width 180ms ease,
    height 180ms ease,
    margin 180ms ease,
    border-color 180ms ease;
}

.motion-cursor.is-hover .motion-cursor-ring {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: rgba(157, 123, 61, 0.86);
}

@media (pointer: fine) and (min-width: 768px) {
  body.has-motion-cursor,
  body.has-motion-cursor a,
  body.has-motion-cursor button,
  body.has-motion-cursor input,
  body.has-motion-cursor textarea,
  body.has-motion-cursor select {
    cursor: none;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    gap: 16px;
    min-height: 68px;
  }

  .site-nav {
    gap: 14px;
    font-size: 15px;
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-label {
    margin-bottom: 0;
  }

  .business-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.85;
  }

  .site-header {
    align-items: flex-start;
    gap: 8px;
    min-height: 74px;
    padding: 14px 16px 12px;
  }

  .site-header.is-scrolled {
    min-height: 70px;
  }

  .brand-logo {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    flex: 1;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }

  .hero {
    min-height: 88vh;
    min-height: 88svh;
    padding: 100px 16px 34px;
  }

  .hero::after {
    right: 16px;
    left: 16px;
  }

  .hero-logo {
    width: min(320px, 78vw);
    margin-bottom: 34px;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 42px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .section {
    padding: 78px 16px;
  }

  .section-number {
    right: 8px;
    font-size: 118px;
  }

  .section-label {
    font-size: 18px;
  }

  .section-heading {
    font-size: clamp(33px, 10vw, 44px);
  }

  .lead-text,
  .business-body p,
  .contact-copy {
    font-size: 15px;
  }

  .business-index {
    font-size: 30px;
  }

  .business-body h3 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .primary-button,
  .form-button {
    width: 100%;
  }

  .company-table div,
  .confirm-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px 0;
  }

  .contact-action {
    padding-top: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-field textarea {
    min-height: 170px;
  }

  .form-button {
    margin-top: 22px;
  }

  .form-actions {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
