/* ============================================================
   CORXET — ASIAN FIT MODEL
   ecru × ink × gold / quiet luxury motion
   ============================================================ */

:root {
  --ecru:       #f4f1ea;
  --ecru-deep:  #ece7dc;
  --paper:      #faf8f3;
  --ink:        #191713;
  --ink-soft:   #3d3a33;
  --gold:       #a58a4f;
  --gold-soft:  #c4ad7d;
  --line:       rgba(25, 23, 19, .12);

  --font-display: "Jost", "Futura", "Avenir Next Condensed", "Helvetica Neue", "Arial Narrow", sans-serif;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ecru);
  color: var(--ink);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- shared ---------- */

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 40px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.55;
  letter-spacing: .06em;
  margin-bottom: 32px;
}

.section-lead {
  max-width: 620px;
  color: var(--ink-soft);
  line-height: 2.1;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background .5s ease, box-shadow .5s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 243, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height .5s ease;
}

.site-header.is-scrolled .header-inner { height: 64px; }

.brand { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .08em;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .38em;
  color: var(--gold);
}

.global-nav { display: flex; gap: 44px; }

.global-nav a {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .26em;
  position: relative;
  padding: 6px 0;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  border: 1px solid var(--ink);
  padding: 12px 26px;
  font-size: 13px;
  letter-spacing: .14em;
  transition: background .35s ease, color .35s ease;
}

.header-cta:hover { background: var(--ink); color: var(--paper); }

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 2px;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  padding: 180px 40px 100px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 7.5vw, 110px);
  line-height: .95;
  letter-spacing: .01em;
  display: flex;
  flex-direction: column;
}

.hero-title-sub {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.05;
  letter-spacing: .02em;
  margin-top: 8px;
}

.hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 26px);
  letter-spacing: .12em;
  line-height: 2;
  margin-top: 48px;
}

.hero-desc {
  color: var(--ink-soft);
  margin-top: 24px;
  line-height: 2.1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 44px;
}

.btn-primary {
  display: inline-block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 46px;
  font-size: 14px;
  letter-spacing: .18em;
  transition: color .4s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}

.btn-primary:hover { color: var(--ink); }
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-text {
  font-size: 13px;
  letter-spacing: .1em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.btn-text .arrow {
  display: inline-block;
  color: var(--gold);
  transition: transform .35s var(--ease-out);
}

.btn-text:hover .arrow { transform: translate(3px, -3px); }

.hero-meta {
  display: flex;
  gap: 64px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}

.hero-meta dt {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-meta dd {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .06em;
}

.hero-meta dd small { font-size: 12px; color: var(--ink-soft); margin-left: 4px; }

.hero-visual {
  position: relative;
  background: var(--ecru-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 70px 100px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 45%, transparent 0 260px, rgba(165, 138, 79, .18) 260px 261px, transparent 261px),
    linear-gradient(115deg, transparent 34%, rgba(165, 138, 79, .14) 34.1%, transparent 34.4%);
  pointer-events: none;
}

/* --- 3D spin stage --- */

.spin-stage {
  position: relative;
  max-width: 620px;
  width: 100%;
  perspective: 1500px;
  will-change: transform;
}

.spin-canvas {
  display: block;
  width: min(400px, 72%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 34px 30px rgba(25, 23, 19, .22));
}

.spin-floor {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 54%;
  height: 34px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(25, 23, 19, .20) 0%, transparent 68%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  top: 140px;
  right: 56px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  animation: badge-float 5s ease-in-out infinite;
}

.hero-badge span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--gold-soft);
}

.hero-badge strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .12em;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-side-note {
  position: absolute;
  right: 26px;
  bottom: 40px;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--ink-soft);
}

/* hero entrance */
.hero-in {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 1.1s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- concept ---------- */

.concept { background: var(--paper); }

.concept .section-inner {
  text-align: center;
  max-width: 820px;
}

.concept .eyebrow { justify-content: center; }
.concept .eyebrow::before { display: none; }
.concept .section-lead { margin: 0 auto; }

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 72px;
}

.feature-card {
  background: var(--paper);
  padding: 36px 32px 44px;
  position: relative;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(25, 23, 19, .10);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.feature-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-top: 8px;
}

.feature-photo {
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--ecru-deep);
}

.feature-photo img {
  transition: transform 1.2s var(--ease-out), filter 1.2s ease;
}

.feature-card:hover .feature-photo img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 14px;
  line-height: 1.7;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 2;
}

/* ---------- gallery ---------- */

.gallery { background: var(--ink); color: var(--paper); }

.gallery-stage {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: center;
}

.gallery-main {
  background: var(--paper);
  padding: 40px;
  overflow: hidden;
}

.gallery-main img {
  transition: opacity .45s ease, transform .45s ease;
}

.gallery-main img.is-fading {
  opacity: 0;
  transform: scale(.985);
}

.gallery-tabs { display: flex; flex-direction: column; }

.gallery-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(250, 248, 243, .16);
  color: rgba(250, 248, 243, .55);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .22em;
  text-align: left;
  padding: 26px 8px;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 18px;
  transition: color .35s ease, padding-left .35s var(--ease-out);
}

.gallery-tab span {
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: .18em;
}

.gallery-tab:hover { color: var(--paper); }

.gallery-tab.is-active {
  color: var(--paper);
  padding-left: 22px;
  position: relative;
}

.gallery-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.gallery-caption {
  font-size: 13px;
  line-height: 2.1;
  color: rgba(250, 248, 243, .72);
  max-width: 560px;
  margin-top: 8px;
  transition: opacity .3s ease;
}

.gallery-caption.is-fading { opacity: 0; }

/* ---------- material ---------- */

.material { background: var(--paper); }

.material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.material-photo {
  overflow: hidden;
  background: var(--ecru-deep);
}

.material-photo img {
  transition: transform 1.4s var(--ease-out);
}

.material-photo:hover img { transform: scale(1.04); }

.material-spec {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.material-spec div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.material-spec dt {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--gold);
}

.material-spec dd {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .12em;
}

/* ---------- how to ---------- */

.step-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 72px;
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.step-num {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: .1em;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.step p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 2;
}

.howto-note {
  margin-top: 72px;
  font-size: 12.5px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 22px 28px;
  line-height: 2;
}

/* ---------- spec ---------- */

.spec { background: var(--paper); }

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 88px;
  align-items: start;
}

.spec-head .section-title span {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .5em;
  letter-spacing: .3em;
  color: var(--gold);
  margin-top: 10px;
}

.spec-photo {
  margin-top: 40px;
  overflow: hidden;
  background: var(--ecru-deep);
}

.spec-photo img { transition: transform 1.4s var(--ease-out); }
.spec-photo:hover img { transform: scale(1.04); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 24px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td { border-top: 1px solid var(--ink); }

.spec-table th {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  width: 130px;
  color: var(--ink);
}

.spec-table td { color: var(--ink-soft); }
.spec-table td small { font-size: 12px; color: var(--gold); }

.size-chart {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
  margin: 16px 0 8px;
}

.size-chart th,
.size-chart td {
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  font-size: 13px;
  text-align: center;
}

.size-chart thead th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  width: auto;
  border-bottom: 1px solid var(--ink);
}

.size-chart tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink);
  width: auto;
}

/* ---------- purchase ---------- */

.purchase { background: var(--ecru-deep); }

.purchase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
}

.purchase-card {
  background: var(--paper);
  padding: 52px 48px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

.purchase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(25, 23, 19, .12);
}

.purchase-card.is-dark {
  background: var(--ink);
  color: var(--paper);
}

.purchase-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 22px;
}

.purchase-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.purchase-card > p { font-size: 13.5px; line-height: 2; color: var(--ink-soft); }
.purchase-card.is-dark > p { color: rgba(250, 248, 243, .72); }

.purchase-cta {
  display: inline-block;
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  transition: color .35s ease;
}

.purchase-card.is-dark .purchase-cta:hover { color: var(--gold-soft); }

.purchase-cta.is-soon {
  color: var(--gold);
  border-bottom-color: transparent;
  cursor: default;
}

.purchase-note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 248, 243, .65);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

.site-footer .brand {
  align-items: center;
  margin-bottom: 32px;
}

.site-footer .brand-name { color: var(--paper); }

.footer-note {
  font-size: 12px;
  line-height: 2.2;
  max-width: 560px;
  margin: 0 auto 36px;
}

.footer-copy {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .3em;
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hero-badge { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 150px 40px 60px; }
  .hero-visual { padding: 60px 40px 80px; min-height: 60vh; }
  .hero-badge { top: 40px; right: 40px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-stage { grid-template-columns: 1fr; gap: 40px; }
  .material-grid, .spec-grid, .purchase-grid { grid-template-columns: 1fr; gap: 48px; }
  .step-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-inner { padding: 80px 24px; }
  .header-inner { padding: 0 20px; gap: 16px; }
  .global-nav { display: none; }
  .header-cta { padding: 10px 16px; font-size: 12px; white-space: nowrap; }
  .hero-copy { padding: 130px 24px 48px; }
  .hero-visual { padding: 48px 24px 72px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-meta { gap: 40px; }
  .step-list { grid-template-columns: 1fr; }
  .purchase-card { padding: 40px 28px; }
  .hero-side-note { display: none; }
}

/* ---------- R.R.R site integration ---------- */

.global-nav .nav-rrr {
  color: var(--gold);
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-bottom: 30px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(250, 248, 243, .65);
  border-bottom: 1px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}

.footer-links a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

/* ---------- header tools / language switcher (i18n) ---------- */

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink);
  padding: 6px 18px 6px 4px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23a58a4f'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.lang-select:focus { outline: none; border-bottom-color: var(--gold); }

@media (max-width: 640px) {
  .header-tools { gap: 10px; }
  .lang-select { font-size: 10px; padding-right: 14px; }
}

/* ---------- clinic inquiry modal ---------- */

.purchase-cta-btn {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-display);
}

.clinic-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(25, 23, 19, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.clinic-modal.is-open { opacity: 1; visibility: visible; }

.clinic-modal-panel {
  position: relative;
  background: var(--paper);
  max-width: 620px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 56px 52px;
  transform: translateY(24px);
  transition: transform .4s var(--ease-out);
}

.clinic-modal.is-open .clinic-modal-panel { transform: translateY(0); }

.clinic-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  appearance: none;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 6px;
}

.clinic-modal-close:hover { color: var(--ink); }

.clinic-modal-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.7;
  margin-bottom: 14px;
}

.clinic-modal-lead {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 2;
  margin-bottom: 30px;
}

.clinic-modal .form-field { margin-bottom: 22px; }

.clinic-modal .form-field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: 8px;
}

.clinic-modal .form-field .req {
  color: var(--gold);
  font-size: 10px;
  margin-left: 8px;
  letter-spacing: .2em;
}

.clinic-modal .form-field .req.is-optional { color: var(--ink-soft); }

.clinic-modal .form-field input,
.clinic-modal .form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--ecru);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .3s ease;
}

.clinic-modal .form-field input:focus,
.clinic-modal .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.clinic-modal .form-field textarea { min-height: 110px; resize: vertical; }

.clinic-modal .form-error {
  background: rgba(140, 43, 43, .07);
  border: 1px solid rgba(140, 43, 43, .3);
  color: #8c2b2b;
  padding: 13px 18px;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 22px;
  display: none;
}

.clinic-modal .form-error.is-show { display: block; }

.clinic-modal .btn-primary {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.clinic-modal .btn-block { display: block; width: 100%; text-align: center; }

.clinic-modal-done { text-align: left; }
.clinic-modal-done .btn-primary { margin-top: 10px; }

@media (max-width: 640px) {
  .clinic-modal { padding: 14px; }
  .clinic-modal-panel { padding: 40px 26px; }
}

/* ---------- howto video ---------- */

.howto-video {
  margin: 72px auto 0;
  max-width: 880px;
  background: var(--paper);
  padding: 22px 22px 26px;
}

.howto-video-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.howto-video-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
}

.howto-video-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05em;
}

.howto-video video {
  display: block;
  width: 100%;
  background: var(--ink);
}

@media (max-width: 640px) {
  .howto-video { padding: 14px 14px 18px; margin-top: 56px; }
  .howto-video-head { flex-direction: column; gap: 4px; }
}

/* ---------- howto step photos ---------- */

.step-photo {
  overflow: hidden;
  background: var(--ecru-deep);
  margin-bottom: 22px;
}

.step-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.step:hover .step-photo img { transform: scale(1.04); }

/* ---------- 問い合わせモーダル ボット対策（画面外の不可視フィールド） ---------- */

.clinic-modal .hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
}
