:root {
  --ink: #071117;
  --ink-soft: #0d1d25;
  --blue: #174053;
  --paper: #f2efe8;
  --gold: #b89b6d;
  --line: rgba(116, 98, 72, 0.2);
  --serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 300; letter-spacing: 0.045em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

body::before {
  content: "";
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.contact-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.contact-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 27px clamp(24px, 6vw, 86px);
  color: white;
}

.contact-brand { display: flex; align-items: baseline; gap: 10px; font-family: "Noto Serif JP", serif; letter-spacing: 0.12em; }
.contact-brand small { font-family: var(--serif); font-size: 9px; letter-spacing: 0.28em; }
.contact-brand strong { font-size: 25px; font-weight: 400; }
.back-link { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,0.74); font-size: 9px; }
.back-link i { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; font-style: normal; }

.contact-hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 115px 0 80px;
  color: white;
  background:
    linear-gradient(100deg, rgba(4,12,17,0.97), rgba(8,26,34,0.8)),
    url("../assets/images/hero/night.jpg") center 58% / cover;
}

.contact-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 68% 55%, rgba(111,168,190,0.14), transparent 31%); }
.hero-inner { position: relative; z-index: 3; }
.eyebrow { margin: 0 0 17px; color: var(--gold); font-family: var(--serif); font-size: 11px; letter-spacing: 0.31em; }
.hero-inner h1 { margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(43px, 6vw, 70px); font-weight: 400; letter-spacing: 0.12em; }
.hero-inner > p:last-child { margin: 27px 0 0; color: rgba(255,255,255,0.62); font-size: 11px; line-height: 2.15; }

.contact-orbit { position: absolute; z-index: 2; border: 1px solid rgba(196,181,150,0.17); border-radius: 50%; }
.orbit-one { top: -180px; right: -40px; width: 550px; height: 550px; }
.orbit-two { top: -95px; right: 45px; width: 370px; height: 370px; }
.hero-curve { position: absolute; z-index: 4; right: -5%; bottom: -69px; left: -5%; height: 115px; background: var(--paper); border-radius: 50% 50% 0 0 / 75% 75% 0 0; }

.form-section { padding: 115px 0 140px; }
.form-layout { display: grid; grid-template-columns: 0.68fr 1.32fr; align-items: start; gap: clamp(55px, 8vw, 110px); }

.contact-guide { position: sticky; top: 40px; padding-top: 21px; }
.contact-guide h2, .form-heading h2, .complete-panel h2 { margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(29px, 3.4vw, 43px); font-weight: 400; letter-spacing: 0.08em; }
.contact-guide > p:nth-of-type(2) { margin: 25px 0 31px; color: #6f7373; font-size: 10px; line-height: 2; }
.phone-link, .mail-link { display: flex; border-top: 1px solid var(--line); }
.phone-link { flex-direction: column; padding: 23px 0; }
.phone-link small { color: #847865; font-size: 8px; }
.phone-link strong { margin-top: 5px; font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: 0.08em; }
.mail-link { align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.mail-link small { color: var(--gold); font-family: var(--serif); font-size: 9px; letter-spacing: 0.2em; }
.mail-link span { font-family: var(--serif); font-size: 17px; letter-spacing: 0.05em; }
.contact-guide address { margin-top: 27px; color: #7c817f; font-size: 9px; font-style: normal; line-height: 1.9; }

.form-card { position: relative; padding: clamp(31px, 5vw, 62px); background: #fff; border: 1px solid rgba(126,108,82,0.16); box-shadow: 0 27px 75px rgba(32,43,42,0.08); }
.form-card::before { content: ""; position: absolute; inset: 11px; pointer-events: none; border: 1px solid rgba(171,148,108,0.15); }
.form-heading, .form-card form, .complete-panel, .form-message { position: relative; z-index: 2; }
.form-heading { margin-bottom: 42px; }
.form-heading h2 { font-size: clamp(28px, 3vw, 37px); }
.form-heading > p:last-child { margin: 15px 0 0; color: #8e908d; font-size: 8px; }
.form-heading > p:last-child span, .field > span b { color: #9b7144; font-weight: 400; }

.field { display: block; margin-top: 27px; }
.field:first-of-type { margin-top: 0; }
.field > span:first-child { display: block; margin-bottom: 11px; color: #4f5352; font-size: 10px; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  color: #192226;
  background: #faf9f6;
  border: 1px solid rgba(91,82,68,0.18);
  border-radius: 0;
  outline: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input, .field select { min-height: 54px; padding: 0 16px; }
.field textarea { min-height: 175px; padding: 16px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { background: white; border-color: #a88d61; }
.field input::placeholder, .field textarea::placeholder { color: #acaeaa; font-size: 10px; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: "⌄"; position: absolute; top: 50%; right: 17px; color: #8b7653; transform: translateY(-56%); pointer-events: none; }
.field select { appearance: none; cursor: pointer; }

.consent-field { display: flex; align-items: flex-start; gap: 11px; margin-top: 26px; color: #747875; font-size: 9px; line-height: 1.7; cursor: pointer; }
.consent-field input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: #8e744e; }
.submit-button { display: flex; width: 100%; min-height: 63px; align-items: center; justify-content: space-between; margin-top: 31px; padding: 0 19px 0 28px; color: white; background: linear-gradient(110deg, #163847, #0b1e27); border: 0; cursor: pointer; transition: filter 0.25s ease, transform 0.25s ease; }
.submit-button:hover { filter: brightness(1.14); transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: 0.68; transform: none; }
.submit-button span { font-size: 11px; letter-spacing: 0.11em; }
.submit-button i { display: grid; width: 31px; height: 31px; place-items: center; color: #182128; background: #cbb68e; border-radius: 50%; font-style: normal; }
.form-note { margin: 13px 0 0; color: #989b97; font-size: 8px; text-align: center; }
.form-message { min-height: 1.8em; margin: -24px 0 22px; color: #a24242; font-size: 10px; line-height: 1.8; }
.form-message:empty { display: none; }
.honey-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.complete-panel { padding: 80px 10px; text-align: center; outline: 0; }
.complete-panel p:nth-of-type(2) { margin: 25px 0 34px; color: #777c7b; font-size: 11px; line-height: 2.1; }
.complete-panel a { display: inline-flex; min-width: 220px; min-height: 51px; align-items: center; justify-content: center; color: white; background: var(--ink-soft); font-size: 9px; }

.contact-footer { display: flex; align-items: center; justify-content: space-between; padding: 38px clamp(24px, 6vw, 86px); color: rgba(255,255,255,0.52); background: #050b0f; font-size: 8px; }

@media (max-width: 760px) {
  .contact-shell { width: min(100% - 36px, 540px); }
  .contact-header { padding: 19px; }
  .contact-brand strong { font-size: 21px; }
  .back-link span { display: none; }
  .contact-hero { min-height: 390px; padding: 100px 0 67px; background-position: center 55%; }
  .hero-inner h1 { font-size: clamp(38px, 12vw, 52px); }
  .hero-inner > p:last-child { max-width: 310px; font-size: 9px; }
  .hero-inner > p:last-child br { display: none; }
  .orbit-one { right: -280px; }
  .orbit-two { right: -130px; }
  .hero-curve { bottom: -54px; height: 80px; }
  .form-section { padding: 79px 0 90px; }
  .form-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-guide { position: static; padding: 0 3px; }
  .form-card { width: calc(100% + 20px); margin-left: -10px; padding: 40px 25px; }
  .form-card::before { inset: 8px; }
  .field { margin-top: 23px; }
  .contact-footer { padding: 31px 21px; }
}

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