/* ═══════════════════════════════════════════════════════════════════
   Casa Flor｜Application Form v2
   Spanish tile × Feminine luxury × Rich animation
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --terra:       #C85A33;
  --terra-light: #E8734A;
  --terra-soft:  #F4C5A8;
  --rose:        #B85A6E;
  --rose-soft:   #E8B8C0;
  --rose-deep:   #8B3A50;
  --ochre:       #B8862E;
  --gold:        #D4A94A;
  --gold-light:  #EBD08A;
  --gold-soft:   #FFF3D1;
  --teal:        #2E6B6E;
  --cream:       #FDF8F3;
  --cream-deep:  #F4EBDE;
  --ink:         #3A2820;
  --ink-soft:    #6B5548;
  --line:        #E8DDD2;

  --serif-en: "Cormorant Garamond", "Playfair Display", serif;
  --serif-jp: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans-jp:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --radius: 14px;
  --shadow-lg: 0 30px 80px -30px rgba(200, 90, 51, .35);
  --shadow-md: 0 12px 30px -12px rgba(200, 90, 51, .25);

  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out:    cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans-jp);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.pc-only { display: none; }
.sp-only { display: inline; }
@media (min-width: 720px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

/* ═══════════════ Global animations ═══════════════ */

/* Fade-in reveal (for hero) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.reveal-up.is-in { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .25s; }
.delay-3 { transition-delay: .4s; }
.delay-4 { transition-delay: .55s; }
.delay-5 { transition-delay: .7s; }
.delay-6 { transition-delay: .85s; }
.delay-7 { transition-delay: 1s; }

/* ═══════════════ INTRO MASK（Seiwa風・ロゴ→幕が左右に開く） ═══════════════ */
body.pre-load { overflow: hidden; }
.intro {
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.intro__curtain {
  position: absolute;
  top: 0; bottom: 0;
  width: 51%;
  background: linear-gradient(180deg, #3A2820 0%, #5A3A28 50%, #3A2820 100%);
  transition: transform 1.4s cubic-bezier(.76, 0, .24, 1);
}
.intro__curtain--left  { left: 0; transform: translateX(0); }
.intro__curtain--right { right: 0; transform: translateX(0); }
.intro--open .intro__curtain--left  { transform: translateX(-100%); }
.intro--open .intro__curtain--right { transform: translateX(100%); }
.intro__logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--gold-light);
  animation: intro-logo-in 1.2s var(--ease-out) both;
}
.intro--open .intro__logo { animation: intro-logo-out .6s var(--ease-out) both; }
@keyframes intro-logo-in {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.9); letter-spacing: -.05em; }
  50%  { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1);   letter-spacing: 0; }
}
@keyframes intro-logo-out {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}
.intro__brand-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(235, 208, 138, .5);
}
.intro__brand-line {
  width: 40px; height: 1px;
  background: var(--gold-light);
  margin: 0 auto 20px;
  animation: intro-line 1s var(--ease-out) .3s both;
}
@keyframes intro-line { from { width: 0; } to { width: 40px; } }
.intro__brand-jp {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: .5em;
  color: rgba(235, 208, 138, .8);
  padding-left: .5em;
}

/* Body ロード前は隠す */
body.pre-load .hero__inner,
body.pre-load .hero__visual {
  opacity: 0;
}
body.intro-done .hero__inner,
body.intro-done .hero__visual {
  opacity: 1;
  transition: opacity 1.2s var(--ease-out);
}

/* ═══════════════ HERO（Seiwa風・3層レイヤード＋クロスフェード） ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 24px 80px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #2A1A14;
}

/* 背景ビジュアル（3スライドをクロスフェード） */
.hero__visual {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.4s var(--ease-out), visibility 2.4s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* 3層レイヤー：Seiwa風のステージド・リビール（時間差でスケール&フェード） */
.hero__slide__layer {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__slide__layer svg { width: 100%; height: 100%; display: block; }

/* layer-1: ベース背景（大きくゆっくり広がる） */
.hero__slide__layer.layer-1 {
  transform: scale(1.1);
  opacity: 0;
  transition: transform 3s var(--ease-out), opacity 2s var(--ease-out);
}
.hero__slide.is-active .layer-1 {
  transform: scale(1);
  opacity: 1;
}

/* layer-2: 中央模様（少し遅れて回転しながら現れる） */
.hero__slide__layer.layer-2 {
  transform: scale(.7) rotate(-10deg);
  opacity: 0;
  transition: transform 2.5s cubic-bezier(.22, 1, .36, 1) .3s,
              opacity 2s var(--ease-out) .3s;
  animation: layer2-drift 20s ease-in-out infinite alternate;
}
.hero__slide.is-active .layer-2 {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}
@keyframes layer2-drift {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.05) rotate(4deg); }
}

/* layer-3: 装飾ドット（最後に細かく散る） */
.hero__slide__layer.layer-3 {
  transform: scale(.5);
  opacity: 0;
  transition: transform 1.8s var(--ease-bounce) .6s,
              opacity 1.4s var(--ease-out) .6s;
}
.hero__slide.is-active .layer-3 {
  transform: scale(1);
  opacity: 1;
}

/* ヴィネット（上下暗くして文字を読みやすく） */
.hero__vignette {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(42, 26, 20, .6) 0%, rgba(42, 26, 20, .2) 30%, rgba(42, 26, 20, .3) 70%, rgba(42, 26, 20, .75) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(42, 26, 20, .5) 100%);
}

/* スライド番号ナビ */
.hero__slide-nav {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .4);
}
.hero__slide-num {
  position: relative;
  padding: 8px 0;
  transition: color .5s;
}
.hero__slide-num.is-active {
  color: var(--gold-light);
}
.hero__slide-num.is-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold-light);
  animation: slide-nav-progress 7s linear;
}
@keyframes slide-nav-progress {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* Floating petals */
.petals { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.petal {
  position: absolute;
  width: 14px; height: 20px;
  background: linear-gradient(135deg, rgba(232, 184, 192, .5), rgba(184, 90, 110, .4));
  border-radius: 50% 0 50% 0;
  animation: petal-fall linear infinite;
  filter: blur(.5px);
}
.petal--1 { left: 8%;  top: -10px; animation-duration: 18s; animation-delay:  0s; transform: rotate(15deg);  }
.petal--2 { left: 22%; top: -10px; animation-duration: 24s; animation-delay: -3s; transform: rotate(-25deg); background: linear-gradient(135deg, rgba(244, 197, 168, .5), rgba(200, 90, 51, .35)); }
.petal--3 { left: 38%; top: -10px; animation-duration: 20s; animation-delay: -6s; transform: rotate(45deg);  }
.petal--4 { left: 55%; top: -10px; animation-duration: 26s; animation-delay: -9s; transform: rotate(-15deg); background: linear-gradient(135deg, rgba(235, 208, 138, .5), rgba(212, 169, 74, .35)); }
.petal--5 { left: 68%; top: -10px; animation-duration: 22s; animation-delay: -1s; transform: rotate(30deg);  }
.petal--6 { left: 82%; top: -10px; animation-duration: 28s; animation-delay: -5s; transform: rotate(-40deg); background: linear-gradient(135deg, rgba(244, 197, 168, .5), rgba(200, 90, 51, .35)); }
.petal--7 { left: 92%; top: -10px; animation-duration: 21s; animation-delay: -12s; transform: rotate(10deg); }
.petal--8 { left: 15%; top: -10px; animation-duration: 25s; animation-delay: -15s; transform: rotate(-30deg); background: linear-gradient(135deg, rgba(235, 208, 138, .4), rgba(212, 169, 74, .3)); }
@keyframes petal-fall {
  0%   { transform: translateY(-20px) rotate(0deg);  opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

.hero__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  z-index: 2;
}

/* エディトリアルラベル（Seiwa風） */
.editorial-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--terra);
  margin-bottom: 28px;
}
.editorial-label--light { color: var(--gold-light); margin-bottom: 40px; }
.editorial-label__num {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
}
.editorial-label__sep {
  flex: 0 0 40px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  animation: sep-grow 1.4s var(--ease-out) both;
}
.intro-done .hero__label .editorial-label__sep { animation-delay: .3s; }
@keyframes sep-grow { from { flex-basis: 0; } to { flex-basis: 40px; } }
.editorial-label__name {
  font-style: normal;
  font-weight: 500;
}

/* タイトル：日本語（分割リビール・keyframe方式） */
.hero__title {
  display: block;
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(30px, 7.5vw, 58px);
  letter-spacing: .18em;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(42, 26, 20, .5);
}
.hero__title-part {
  display: inline-block;
  opacity: 0;
}
@keyframes hero-title-in {
  0%   { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.intro-done .hero__title-part {
  animation: hero-title-in 1.2s cubic-bezier(.22, 1, .36, 1) both;
}
.intro-done .hero__title-part.part-1 { animation-delay: .3s; }
.intro-done .hero__title-part.part-2 { animation-delay: .5s; }

/* タイトル：英字（単語分割） */
.hero__title-en {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: .12em;
  color: var(--gold-light);
  margin-bottom: 40px;
}
.hero__title-en__part {
  display: inline-block;
  opacity: 0;
}
@keyframes hero-en-in {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.intro-done .hero__title-en__part {
  animation: hero-en-in 1s var(--ease-out) both;
}
.intro-done .hero__title-en__part.part-1 { animation-delay: .8s; }
.intro-done .hero__title-en__part.part-2 { animation-delay: .95s; }
.intro-done .hero__title-en__part.part-3 { animation-delay: 1.1s; }

/* リード文：行ごとにリビール */
.hero__lead {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 15px;
  line-height: 2.4;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 48px;
  letter-spacing: .06em;
}
.hero__lead__line {
  display: block;
  opacity: 0;
}
@keyframes hero-line-in {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero__lead em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 500;
  border-bottom: 1px solid rgba(235, 208, 138, .4);
  padding-bottom: 2px;
}
.intro-done .hero__lead__line {
  animation: hero-line-in 1s var(--ease-out) both;
}
.intro-done .hero__lead__line.line-1 { animation-delay: 1.3s; }
.intro-done .hero__lead__line.line-2 { animation-delay: 1.5s; }
.intro-done .hero__lead__line.line-3 { animation-delay: 1.7s; }
.intro-done .hero__lead__line.line-4 { animation-delay: 1.9s; }

.hero__cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 56px;
  opacity: 0;
  animation: cta-in 1s var(--ease-out) 2.2s both;
  background: linear-gradient(135deg, var(--gold), var(--ochre));
  background-size: 200% 100%;
  color: #fff;
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .2em;
  border-radius: 40px;
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(212, 169, 74, .5), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .4s var(--ease-bounce), box-shadow .4s;
  overflow: hidden;
}
.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s;
}
.hero__cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 30px 50px -10px rgba(212, 169, 74, .7);
  background-position: 100% 0;
}
.hero__cta:hover::before { transform: translateX(100%); }
.hero__cta-arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.hero__cta:hover .hero__cta-arrow { transform: translateX(6px); }
@keyframes cta-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ Section commons ═══════════════ */

.section-eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .4em;
  color: var(--terra);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-title {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(22px, 5vw, 34px);
  letter-spacing: .12em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--ink);
}

.deco-band {
  position: absolute; left: 0; right: 0; height: 40px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'><g fill='none' stroke='%23C85A33' stroke-opacity='.35' stroke-width='.8'><path d='M30 6 L36 22 L52 30 L36 30 L30 46 L24 30 L8 30 L24 22 Z'/><circle cx='30' cy='24' r='6'/></g></svg>") repeat-x;
  background-size: 60px 40px;
  z-index: 1;
}
.deco-band--top { top: 0; }
.deco-band--bottom { bottom: 0; transform: rotate(180deg); }

/* ═══════════════ CONCEPT ═══════════════ */

.concept {
  padding: 120px 24px 100px;
  background: var(--cream);
  position: relative;
  text-align: center;
}
.concept__frame { max-width: 720px; margin: 0 auto; padding: 40px 20px; }
.concept__title {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(26px, 6vw, 40px);
  letter-spacing: .18em;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--ink);
}
.concept__title span { display: block; }
.concept__body {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.2;
  color: var(--ink-soft);
  margin-bottom: 56px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  position: relative;
  padding: 32px 12px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #FFFCFA);
  text-align: center;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s;
  overflow: hidden;
}
.pillar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(232, 115, 74, .08));
  opacity: 0;
  transition: opacity .5s;
}
.pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(200, 90, 51, .3);
  border-color: var(--terra-soft);
}
.pillar:hover::before { opacity: 1; }
.pillar__flower {
  position: absolute;
  top: 10px; right: 10px;
  opacity: .3;
  transition: transform .8s var(--ease-out), opacity .3s;
}
.pillar:hover .pillar__flower {
  opacity: .7;
  transform: rotate(180deg) scale(1.15);
}
.pillar__num {
  display: block;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 26px;
  color: var(--terra);
  margin-bottom: 8px;
  font-weight: 600;
}
.pillar__text {
  font-family: var(--serif-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .1em;
}

/* ═══════════════ SERVICES ═══════════════ */

.services {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  text-align: center;
  position: relative;
}
.services__inner { max-width: 1100px; margin: 0 auto; }

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}
@media (min-width: 720px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }

.s-card {
  position: relative;
  padding: 44px 28px 36px;
  background: #fff;
  border-radius: 20px;
  text-align: left;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s;
  overflow: hidden;
}
.s-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra), var(--rose), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.s-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.s-card:hover::after { transform: scaleX(1); }
.s-card__badge {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 40px;
  font-weight: 600;
  color: var(--terra-soft);
  opacity: .6;
}
.s-card__icon {
  font-size: 44px;
  margin-bottom: 18px;
  display: inline-block;
  transition: transform .5s var(--ease-bounce);
}
.s-card:hover .s-card__icon { transform: scale(1.15) rotate(-8deg); }
.s-card__title {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.s-card__text {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 13px;
  line-height: 2;
  color: var(--ink-soft);
}

/* ═══════════════ VOICE ═══════════════ */

.voice {
  padding: 100px 24px;
  background: linear-gradient(135deg, #F9EAD9, #FDE4E4, #F4EBDE);
  background-size: 200% 200%;
  animation: voice-bg 15s ease-in-out infinite;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@keyframes voice-bg {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.voice::before,
.voice::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200, 90, 51, .12), transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
}
.voice::before { top: -50px; left: -50px; animation: float 12s ease-in-out infinite; }
.voice::after  { bottom: -50px; right: -50px; animation: float 15s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, 20px); }
}

.voice__inner {
  max-width: 680px; margin: 0 auto;
  position: relative;
  z-index: 1;
}
.voice__quote-mark {
  font-family: var(--serif-en);
  font-size: 100px;
  line-height: 1;
  color: var(--terra);
  opacity: .3;
  margin-bottom: -30px;
}
.voice__body {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: clamp(15px, 3vw, 19px);
  line-height: 2.4;
  color: var(--ink);
  letter-spacing: .08em;
  margin-bottom: 40px;
}
.voice__body em {
  font-style: normal;
  color: var(--terra);
  font-weight: 500;
  background: linear-gradient(180deg, transparent 65%, rgba(212, 169, 74, .35) 65%);
}
.voice__sign {
  display: inline-block;
  padding: 20px 40px;
  border-top: 1px solid rgba(200, 90, 51, .3);
  border-bottom: 1px solid rgba(200, 90, 51, .3);
  margin-bottom: 48px;
}
.voice__sign-title {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.voice__sign-name {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: .3em;
}

.voice__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}
.trust-item {
  padding: 20px 8px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(200, 90, 51, .15);
  transition: transform .4s var(--ease-out), background .3s;
}
.trust-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .9); }
.trust-item__num {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 36px;
  color: var(--terra);
  line-height: 1;
}
.trust-item__unit {
  font-family: var(--serif-jp);
  font-size: 13px;
  color: var(--terra);
  margin-left: 2px;
}
.trust-item__label {
  display: block;
  font-family: var(--serif-jp);
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 6px;
  letter-spacing: .1em;
  line-height: 1.5;
}

/* ═══════════════ FORM ═══════════════ */

.form-section {
  position: relative;
  padding: 80px 20px 100px;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}
.form-wrap {
  max-width: 780px;
  margin: 60px auto 0;
  background: #fff;
  border-radius: 20px;
  padding: 44px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
@media (min-width: 720px) { .form-wrap { padding: 64px 56px; } }

.form-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--line);
}
.form-header__title {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.form-header__note {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 2;
}
.hl { color: var(--terra); font-weight: 500; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  list-style: none;
  margin-bottom: 44px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 18px; left: 12%; right: 12%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  text-align: center;
  font-size: 11px;
  font-family: var(--serif-jp);
  color: var(--ink-soft);
  padding-top: 46px;
  position: relative;
  line-height: 1.4;
  letter-spacing: .05em;
}
.step span {
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--serif-en);
  font-size: 13px;
  color: var(--ink-soft);
  transition: all .4s var(--ease-bounce);
  z-index: 1;
}
.step--active { color: var(--terra); font-weight: 600; }
.step--active span {
  background: linear-gradient(135deg, var(--terra), var(--terra-light));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(200, 90, 51, .5);
  transform: translateX(-50%) scale(1.1);
}
.step--done span {
  background: var(--terra-soft);
  border-color: var(--terra-soft);
  color: #fff;
}
.step--done span::before { content: '✓'; }
.step--done span > *:not(::before) { display: none; }

/* Step panels */
.step-panel {
  border: none;
  display: none;
}
.step-panel--active {
  display: block;
  animation: panel-in .6s var(--ease-out);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.step-panel__title {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: .1em;
}
.panel-lead {
  text-align: center;
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 2;
}

/* Customer type cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 560px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative;
  padding: 22px 8px 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all .4s var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--terra), var(--rose), var(--gold));
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
}
.card:hover {
  border-color: var(--terra-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card input { display: none; }
.card__icon {
  display: block;
  font-size: 30px;
  margin-bottom: 8px;
  filter: grayscale(.3);
  transition: all .4s var(--ease-bounce);
}
.card__text {
  font-family: var(--serif-jp);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: .05em;
}
.card.is-on {
  border-color: var(--terra);
  background: linear-gradient(135deg, #FDF3ED, #F9E5D9);
  box-shadow: 0 8px 20px -6px rgba(200, 90, 51, .35);
}
.card.is-on .card__icon { filter: none; transform: scale(1.15); }
@keyframes card-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Fields */
.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (min-width: 620px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.field-label,
.field label,
.upload-block__title {
  display: block;
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: .05em;
}
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--rose);
  color: #fff;
  font-family: var(--sans-jp);
  font-size: 10px;
  border-radius: 3px;
  letter-spacing: .05em;
}
.field input[type=text],
.field input[type=tel],
.field input[type=email],
.field input[type=number],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  font-family: var(--sans-jp);
  font-size: 15px;
  color: var(--ink);
  transition: all .3s var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terra);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 90, 51, .1);
  transform: translateY(-1px);
}
.field textarea { resize: vertical; min-height: 120px; }
.hint {
  display: block;
  font-family: var(--serif-jp);
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.7;
}
.hint--gold {
  text-align: center;
  background: linear-gradient(135deg, #FFF8E8, #FCEAC8);
  padding: 16px;
  border-radius: 10px;
  color: var(--ochre);
  font-weight: 500;
  font-size: 12px;
  margin-top: 20px;
  border: 1px solid rgba(212, 169, 74, .3);
}

.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chips label { cursor: pointer; font-weight: normal; margin: 0; }
.radio-chips input { display: none; }
.radio-chips span {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-family: var(--serif-jp);
  font-size: 12px;
  color: var(--ink-soft);
  transition: all .3s var(--ease-out);
  background: #fff;
}
.radio-chips label:hover span { border-color: var(--terra-soft); color: var(--terra); }
.radio-chips input:checked + span {
  background: linear-gradient(135deg, var(--terra), var(--terra-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px -3px rgba(200, 90, 51, .5);
  transform: scale(1.05);
}

/* Upload */
.upload-block { margin-bottom: 28px; }
.dropzone {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  padding: 36px 16px;
  border: 2px dashed var(--terra-soft);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #FEFAF6, #FDF3ED);
  cursor: pointer;
  transition: all .4s var(--ease-out);
}
.dropzone:hover {
  border-color: var(--terra);
  background: linear-gradient(135deg, #FDF3ED, #F9E5D9);
  transform: translateY(-2px);
}
.dropzone__icon {
  font-family: var(--serif-en);
  font-size: 40px;
  color: var(--terra);
  line-height: 1;
  transition: transform .4s var(--ease-bounce);
}
.dropzone:hover .dropzone__icon { transform: rotate(90deg) scale(1.15); }
.dropzone__label {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-top: 8px;
}
.dropzone__hint {
  font-family: var(--serif-jp);
  font-size: 11px;
  color: var(--ink-soft);
}
.filelist { list-style: none; margin-top: 12px; padding: 0; }
.filelist li {
  font-family: var(--serif-jp);
  font-size: 12px;
  color: var(--terra);
  padding: 6px 12px;
  background: #FDF3ED;
  border-radius: 6px;
  margin-bottom: 4px;
  animation: file-in .4s var(--ease-out);
}
@keyframes file-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* Summary */
.summary {
  margin-top: 30px;
  padding: 26px;
  background: linear-gradient(135deg, var(--cream), var(--cream-deep));
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.summary h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 15px;
  color: var(--terra);
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: .1em;
}
.summary dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  font-family: var(--serif-jp);
  font-size: 12px;
}
.summary dt { color: var(--ink-soft); font-weight: 500; }
.summary dd { color: var(--ink); word-break: break-all; }
.summary .dim { color: #B8A899; font-style: italic; }

/* Agree */
.agree {
  display: flex; align-items: center; gap: 10px;
  margin: 24px 0;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 8px;
  font-family: var(--serif-jp);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: background .3s;
}
.agree:hover { background: #FDF3ED; }
.agree input { width: 18px; height: 18px; accent-color: var(--terra); }

/* Buttons */
.step-nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}
.step-nav .btn { flex: 1; }
.btn {
  position: relative;
  padding: 15px 26px;
  border-radius: 40px;
  border: none;
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .1em;
  transition: all .35s var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: translateX(100%); }
.btn--primary {
  background: linear-gradient(135deg, var(--terra), var(--terra-light));
  color: #fff;
  box-shadow: 0 10px 20px -6px rgba(200, 90, 51, .45);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px -6px rgba(200, 90, 51, .6);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--ochre));
  color: #fff;
  box-shadow: 0 10px 20px -6px rgba(212, 169, 74, .5);
  font-weight: 600;
  padding: 17px 30px;
  animation: gold-pulse 3s ease-in-out infinite;
}
@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 10px 20px -6px rgba(212, 169, 74, .5); }
  50%      { box-shadow: 0 14px 28px -6px rgba(212, 169, 74, .7); }
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 32px -6px rgba(212, 169, 74, .75);
}
.btn--gold:disabled { opacity: .6; cursor: wait; animation: none; }
.btn--ghost {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--terra-soft); color: var(--terra); transform: translateY(-2px); }
.btn__arrow { display: inline-block; margin-left: 6px; transition: transform .3s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.err {
  margin-top: 12px;
  color: var(--rose);
  font-size: 12px;
  text-align: center;
  font-family: var(--serif-jp);
}

/* ═══════════════ DONE ═══════════════ */

.done {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  animation: done-in .8s var(--ease-out);
}
@keyframes done-in {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
.done__petals {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.done__petals span {
  position: absolute;
  width: 12px; height: 18px;
  background: linear-gradient(135deg, var(--rose-soft), var(--terra-soft));
  border-radius: 50% 0 50% 0;
  animation: done-petal 4s ease-out infinite;
}
.done__petals span:nth-child(1) { left: 10%; animation-delay:  0s; }
.done__petals span:nth-child(2) { left: 25%; animation-delay: .5s; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.done__petals span:nth-child(3) { left: 45%; animation-delay:  1s; }
.done__petals span:nth-child(4) { left: 60%; animation-delay: 1.5s; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.done__petals span:nth-child(5) { left: 75%; animation-delay:  2s; }
.done__petals span:nth-child(6) { left: 90%; animation-delay: 2.5s; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
@keyframes done-petal {
  0%   { top: -20px; opacity: 0; transform: rotate(0deg); }
  20%  { opacity: 1; }
  100% { top: 100%; opacity: 0; transform: rotate(360deg); }
}
.done__flower {
  animation: flower-in .8s var(--ease-bounce) .3s both, spin-slow 20s linear infinite 1s;
}
@keyframes flower-in {
  from { opacity: 0; transform: scale(0) rotate(-180deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
.done__title {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(30px, 6vw, 46px);
  color: var(--terra);
  font-weight: 600;
  margin: 20px 0;
  line-height: 1.4;
}
.done__title span {
  display: block;
  font-family: var(--serif-jp);
  font-style: normal;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: .15em;
}
.done__id {
  font-family: var(--serif-jp);
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 20px;
}
.done__id b {
  color: var(--terra);
  font-family: var(--serif-en);
  font-size: 20px;
  margin-left: 8px;
  letter-spacing: .1em;
}
.done__msg {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 2.2;
  margin-bottom: 32px;
}
.done__tel {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--terra), var(--terra-light));
  color: #fff;
  border-radius: 40px;
  font-family: var(--serif-jp);
  font-weight: 500;
  letter-spacing: .1em;
  box-shadow: 0 10px 20px -6px rgba(200, 90, 51, .5);
  transition: transform .3s var(--ease-out);
}
.done__tel:hover { transform: translateY(-2px) scale(1.03); }

/* AI概算ブロック（完了画面内） */
.done-estimate {
  max-width: 480px;
  margin: 24px auto 32px;
  padding: 26px 24px 22px;
  background: linear-gradient(135deg, #FFF8E8, #FDF3ED);
  border: 1px solid rgba(212, 169, 74, .35);
  border-radius: 16px;
  box-shadow: 0 20px 40px -20px rgba(212, 169, 74, .4);
  text-align: center;
  animation: estimate-in .8s var(--ease-out) .6s both;
}
@keyframes estimate-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.done-estimate__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif-jp);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: .12em;
  margin-bottom: 16px;
  font-weight: 500;
}
.done-estimate__ai {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 20px;
  background: linear-gradient(135deg, var(--gold), var(--ochre));
  color: #fff;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 4px;
  box-shadow: 0 3px 8px -2px rgba(212, 169, 74, .5);
}
.done-estimate__area {
  font-family: var(--serif-jp);
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 12px;
}
.done-estimate__area b {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 20px;
  color: var(--terra);
  margin: 0 4px;
  letter-spacing: .05em;
}
.done-estimate__source {
  display: block;
  font-family: var(--serif-jp);
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.done-estimate__price {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: clamp(22px, 5vw, 30px);
  color: var(--ochre);
  letter-spacing: .04em;
  padding: 12px 0 8px;
  border-top: 1px dashed rgba(212, 169, 74, .4);
}
.done-estimate__tax {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--serif-jp);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  vertical-align: middle;
}
.done-estimate__note {
  font-family: var(--serif-jp);
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-top: 12px;
}

/* ═══════════════ FOOTER ═══════════════ */

.footer {
  background: linear-gradient(135deg, #3A2820, #5A3A2E);
  color: rgba(255, 255, 255, .8);
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
}
.footer::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--terra), var(--rose), var(--gold), var(--rose), var(--terra));
  position: absolute;
  top: 0; left: 0; right: 0;
}
.footer__inner { max-width: 720px; margin: 0 auto; }
.footer__logo {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 36px;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 6px;
}
.footer__tag {
  font-family: var(--serif-jp);
  font-size: 12px;
  color: var(--gold-light);
  letter-spacing: .3em;
  margin-bottom: 24px;
}
.footer__info {
  font-family: var(--serif-jp);
  font-size: 13px;
  line-height: 2;
  margin-bottom: 24px;
}
.footer__info a { color: var(--gold-light); text-decoration: underline; }
.footer__copy {
  font-family: var(--serif-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .5);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .petal, .done__petals span { display: none; }
}
