/* ═══════════════════════════════════════════════════
   SERVE INTERNATIONAL Co., Ltd. — 2026 Corporate Site
   Theme: brand sage green (from company logo) × warm white
   ═══════════════════════════════════════════════════ */

:root {
  --ink: #2F3A28;
  --ink-soft: #5C6852;
  --green-deep: #6f8c42;
  --green: #acc574;
  --green-mid: #acc574;
  --green-logo: #acc574;
  --green-pale: #eef4e4;
  --paper: #FBFCF7;
  --paper-warm: #F3F7EA;
  --white: #ffffff;
  --line-green: #06C755;
  --wa-green: #25D366;
  --radius: 22px;
  --shadow-soft: 0 8px 30px rgba(79, 107, 51, .1);
  --shadow-lift: 0 18px 50px rgba(79, 107, 51, .18);
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-serif: 'Shippori Mincho', serif;
  --font-en: 'Outfit', sans-serif;
  --nav-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 34px);
}

::selection { background: var(--green); color: #fff; }

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

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ═══════════ PRELOADER — the serving horse ═══════════ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(180deg, #FDFEFA 0%, #F1F7E4 100%);
  overflow: hidden;
  transition: opacity .8s var(--ease-out), visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }

.loader-scene { position: absolute; inset: 0; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.loader.brand-phase .loader-scene { opacity: 0; transform: scale(1.04); }

.loader-clouds { position: absolute; top: 6%; left: 0; width: 100%; height: 30%; }
.cloud { animation: cloudDrift 7s linear infinite; }
.cloud.c2 { animation-duration: 9s; }
.cloud.c3 { animation-duration: 6s; }
@keyframes cloudDrift { from { transform: translateX(40px); } to { transform: translateX(-80px); } }

.loader-skyline {
  position: absolute; left: 0; right: 0; bottom: 24%;
  height: clamp(90px, 18vh, 150px);
  display: flex; width: 200%;
  animation: skylineRun 6s linear infinite;
}
.loader-skyline svg { width: 50%; height: 100%; flex: none; }
@keyframes skylineRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.loader-ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24%;
  background: linear-gradient(180deg, #D9E7BC 0%, #C9DDA2 100%);
}
.loader-ground::before {
  content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 3px;
  background: rgba(124,156,78,.45);
}

.loader-horse-wrap {
  position: absolute; bottom: calc(24% - 26px); left: 50%;
  width: clamp(170px, 30vw, 260px);
  transform: translateX(-50%);
  animation: horseEnter 1.4s var(--ease-out) both;
}
@keyframes horseEnter { from { transform: translateX(-260%); } to { transform: translateX(-50%); } }
.loader-horse { width: 100%; height: auto; animation: horseBob .42s ease-in-out infinite alternate; }
@keyframes horseBob { from { transform: translateY(0); } to { transform: translateY(-6px); } }

.h-leg { transform-origin: var(--px) var(--py); animation: legSwing .42s ease-in-out infinite alternate; }
.h-leg-fn { animation-delay: 0s; }
.h-leg-bf { animation-delay: 0s; }
.h-leg-ff { animation-delay: -.42s; }
.h-leg-bn { animation-delay: -.42s; }
@keyframes legSwing { from { transform: rotate(-22deg); } to { transform: rotate(24deg); } }
.h-tail { transform-origin: 60px 56px; animation: tailWave .42s ease-in-out infinite alternate; }
@keyframes tailWave { from { transform: rotate(-6deg); } to { transform: rotate(9deg); } }
.h-mane { animation: maneWave .42s ease-in-out infinite alternate; }
@keyframes maneWave { from { transform: translateY(0); } to { transform: translateY(1.6px); } }

.loader-dust { position: absolute; bottom: 6px; left: -8%; display: flex; gap: 10px; }
.loader-dust span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(124,156,78,.3);
  animation: dustPuff 0.84s ease-out infinite;
}
.loader-dust span:nth-child(2) { animation-delay: .28s; }
.loader-dust span:nth-child(3) { animation-delay: .56s; }
@keyframes dustPuff {
  0% { transform: translate(0,0) scale(.4); opacity: 0; }
  30% { opacity: .9; }
  100% { transform: translate(-30px,-14px) scale(1.5); opacity: 0; }
}

.loader-brand {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px) scale(.97);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  pointer-events: none;
}
.loader.brand-phase .loader-brand { opacity: 1; transform: none; }
.loader-brand-horse { width: clamp(88px, 14vw, 130px); margin-bottom: 6px; }
.loader-brand-jp { font-family: var(--font-jp); font-weight: 500; letter-spacing: .55em; text-indent: .55em; font-size: .82rem; color: var(--green-logo); }
.loader-brand-en {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 3.6rem); letter-spacing: .16em; text-indent: .16em;
  color: var(--green); line-height: 1.15;
}
.loader-brand-sub { font-family: var(--font-en); font-weight: 500; letter-spacing: .5em; text-indent: .5em; font-size: clamp(.66rem, 1.6vw, .85rem); color: var(--green-mid); }

/* ─────────── Top bar ─────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.topbar.scrolled {
  background: rgba(251, 252, 247, .85);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(79,107,51,.1);
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-family: var(--font-en); font-weight: 700; font-size: 1rem; letter-spacing: .1em; color: var(--green-deep); }
.brand-name em { font-style: normal; font-weight: 500; font-size: .72em; letter-spacing: .18em; color: var(--green); }
.brand-sub { font-size: .6rem; color: var(--ink-soft); letter-spacing: .16em; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-cta {
  font-size: .82rem; font-weight: 700; color: var(--green-deep);
  padding: 9px 20px; border: 1.5px solid rgba(124,156,78,.4); border-radius: 999px;
  transition: all .3s;
}
.topbar-cta:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* Language switch */
.lang-switch {
  position: relative; display: flex; align-items: center;
  background: rgba(124,156,78,.12); border: 1px solid rgba(124,156,78,.2);
  border-radius: 999px; padding: 4px; cursor: pointer; font-family: inherit;
}
.lang-opt {
  position: relative; z-index: 2;
  font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  padding: 5px 13px; border-radius: 999px; color: var(--ink-soft);
  transition: color .35s;
  white-space: nowrap;
}
.lang-opt.active { color: #fff; }
.lang-pill {
  position: absolute; z-index: 1; top: 4px; bottom: 4px;
  background: var(--green); border-radius: 999px;
  transition: left .4s var(--ease-out), width .4s var(--ease-out);
  box-shadow: 0 3px 10px rgba(124,156,78,.4);
}

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: .92rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s, background .3s, color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-logo) 100%);
  color: #fff; box-shadow: 0 10px 26px rgba(124,156,78,.4);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(124,156,78,.5); }
.btn-ghost { border: 1.6px solid rgba(124,156,78,.45); color: var(--green-deep); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; border-color: var(--green); }

/* ─────────── Hero ─────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid { position: absolute; inset: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; transition: transform .3s ease-out; }
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, #D3E5AE, transparent 65%); top: -120px; right: -80px; animation: orbFloat 11s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, #E9F2CE, transparent 65%); bottom: 0; left: -120px; animation: orbFloat 13s ease-in-out infinite reverse; }
.orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, #F0EFC9, transparent 65%); top: 34%; left: 42%; animation: orbFloat 9s ease-in-out infinite 1.5s; }
@keyframes orbFloat { 0%,100% { translate: 0 0; scale: 1; } 50% { translate: -34px 26px; scale: 1.07; } }
.hero-waves { position: absolute; bottom: -2px; left: 0; width: 100%; height: 190px; }
.hero-horse-mark {
  position: absolute; right: clamp(-40px, 4vw, 120px); top: 16%;
  width: clamp(280px, 34vw, 460px); pointer-events: none;
}

.hero-vertical {
  position: absolute; right: clamp(12px, 4vw, 56px); top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: .55em;
  color: rgba(124,156,78,.28);
  user-select: none;
}

.hero-content { width: min(1160px, 92%); margin-inline: auto; max-width: 820px; margin-left: max(4vw, calc((100% - 1160px)/2)); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.78); border: 1px solid rgba(124,156,78,.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 8px 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--green-deep);
  box-shadow: var(--shadow-soft);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(124,156,78,.5);} 60% { box-shadow: 0 0 0 8px rgba(124,156,78,0);} }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.35rem, 6.4vw, 4.6rem);
  line-height: 1.28;
  letter-spacing: .015em;
  color: var(--ink);
  margin: 26px 0 24px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1s var(--ease-out) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .18s; }
@keyframes lineUp { to { transform: translateY(0); } }
.grad {
  background: linear-gradient(120deg, var(--green) 10%, var(--green-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-lead { max-width: 620px; color: var(--ink-soft); font-size: clamp(.94rem, 1.6vw, 1.05rem); }

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

.hero-stats {
  display: flex; align-items: center; gap: clamp(16px, 3.5vw, 38px);
  margin-top: 52px; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--green-deep);
  line-height: 1.2; font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .74rem; color: var(--ink-soft); letter-spacing: .1em; margin-top: 2px; }
.stat-sep { width: 1px; height: 40px; background: rgba(124,156,78,.3); }

.scroll-hint {
  position: absolute; bottom: 26px; left: clamp(16px, 4vw, 56px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint-text { writing-mode: vertical-rl; font-size: .66rem; letter-spacing: .32em; color: var(--ink-soft); }
.scroll-hint-line { width: 1.5px; height: 52px; background: rgba(124,156,78,.3); position: relative; overflow: hidden; }
.scroll-hint-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--green-deep); animation: scrollLine 2s var(--ease-out) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 55%,100% { top: 100%; } }

/* ─────────── Marquee ─────────── */
.marquee {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-mid) 100%);
  color: rgba(255,255,255,.95);
  overflow: hidden; padding: 17px 0; white-space: nowrap;
  transform: rotate(-1deg) scale(1.02); margin-block: -8px 40px;
}
.marquee-track { display: inline-flex; align-items: center; gap: 38px; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--font-en); font-weight: 600; letter-spacing: .28em; font-size: .78rem; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────── Sections common ─────────── */
.section { padding: clamp(76px, 10vw, 130px) 0; position: relative; }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-weight: 600; letter-spacing: .34em;
  font-size: .72rem; color: var(--green); text-transform: uppercase;
}
.section-eyebrow.center { justify-content: center; }
.eyebrow-bar { width: 34px; height: 1.5px; background: currentColor; }
.section-title {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3rem); color: var(--ink);
  margin-top: 14px; letter-spacing: .02em;
}
.section-desc { color: var(--ink-soft); margin-top: 14px; max-width: 560px; }
.section-head.center .section-desc { margin-inline: auto; }

/* ─────────── About ─────────── */
.about { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%); }
.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.about-lead {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--green-deep);
  line-height: 1.6; margin-bottom: 22px;
}
.about-copy p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }
.about-values { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.value-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid rgba(124,156,78,.2);
  padding: 10px 18px 10px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: var(--green-deep);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.value-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.value-kanji {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-logo));
  color: #fff; border-radius: 50%;
  font-family: var(--font-serif); font-size: 1rem; font-weight: 800;
}
.about-visual { position: relative; }
.about-svg { width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(79,107,51,.22)); }
.about-card-float {
  position: absolute; bottom: 26px; left: -14px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 14px 22px;
  box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column;
  animation: floatY 5s ease-in-out infinite;
}
.acf-num { font-family: var(--font-en); font-weight: 700; font-size: 1.15rem; color: var(--green-deep); }
.acf-label { font-size: .72rem; color: var(--ink-soft); letter-spacing: .12em; }
@keyframes floatY { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.float-anim { animation: floatY 6s ease-in-out infinite; }
.drift-anim { animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0);} 50% { transform: translate(26px,-14px);} }

/* ─────────── Founder ─────────── */
.founder { background: var(--paper); }
.founder-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.founder-frame {
  position: relative;
  background: #fff;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(124,156,78,.22);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.founder-watermark {
  position: absolute; inset: 8%;
  width: 84%; height: 84%;
  opacity: .55;
}
.founder-frame img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.founder-frame.no-img img { display: none; }
.founder-placeholder { display: none; position: relative; z-index: 2; }
.founder-frame.no-img .founder-placeholder { display: block; }
.founder-name-card {
  position: relative; z-index: 3;
  margin: -34px auto 0; width: fit-content;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: #fff; border-radius: 16px;
  padding: 13px 30px;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 14px 34px rgba(124,156,78,.42);
}
.fnc-title { font-size: .68rem; letter-spacing: .3em; text-indent: .3em; opacity: .9; }
.fnc-name { font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; }
.founder-quote {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem); color: var(--green-deep);
  line-height: 1.7; margin: 20px 0 18px;
}
.founder-copy p:not(.founder-quote):not(.section-eyebrow) { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }

/* ─────────── Services ─────────── */
.services { background: var(--paper-warm); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc-card {
  position: relative;
  background: #fff; border: 1px solid rgba(124,156,78,.16);
  border-radius: var(--radius); padding: 30px 26px 28px;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s;
  transition-delay: 0s !important;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(169,199,125,.12), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(124,156,78,.5); }
.svc-card:hover::before { opacity: 1; }
.svc-num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-en); font-weight: 700; font-size: .82rem;
  color: rgba(124,156,78,.4); letter-spacing: .1em;
}
.svc-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(169,199,125,.18), rgba(124,156,78,.22));
  display: grid; place-items: center; color: var(--green-deep);
  margin-bottom: 20px;
  transition: background .35s, color .35s, transform .45s var(--ease-out);
}
.svc-icon svg { width: 32px; height: 32px; }
.svc-card:hover .svc-icon {
  background: linear-gradient(135deg, var(--green), var(--green-logo));
  color: #fff; transform: scale(1.06) rotate(-4deg);
}
.svc-name { font-size: 1.04rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: .02em; }
.svc-text { font-size: .82rem; color: var(--ink-soft); line-height: 1.75; }

/* ─────────── Store : Tokyo Farmer's Food ─────────── */
.store { background: var(--paper); }
.store-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.store-copy > p:not(.section-eyebrow) { color: var(--ink-soft); font-size: .95rem; margin-top: 18px; }
.store-copy .section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-family: var(--font-en); font-weight: 700; letter-spacing: .04em; color: var(--green-deep); }
.store-features { margin-top: 26px; display: grid; gap: 14px; }
.store-features li, .resort-features li {
  display: flex; align-items: center; gap: 13px;
  font-size: .9rem; font-weight: 500; color: var(--ink);
}
.sf-icon, .rf-icon {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: rgba(169,199,125,.18); border: 1px solid rgba(124,156,78,.3);
  border-radius: 12px; color: var(--green-deep);
}
.sf-icon svg, .rf-icon svg { width: 21px; height: 21px; }
.store-frame {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid rgba(124,156,78,.25);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #F3F8E8, #E2EECB);
  display: grid; place-items: center;
}
.store-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.store-frame:hover img { transform: scale(1.05); }
.store-frame.no-img img { display: none; }
.store-placeholder { display: none; }
.store-frame.no-img .store-placeholder { display: block; }

/* ─────────── Resort (daylight, brand palette) ─────────── */
.resort { background: linear-gradient(180deg, var(--paper-warm) 0%, var(--green-pale) 100%); }
.resort-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.resort-svg { width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(79,107,51,.2)); }
.flame { transform-origin: 344px 366px; animation: flame 1.6s ease-in-out infinite alternate; }
.flame-2 { animation-duration: 1.1s; }
@keyframes flame { from { transform: scale(1) skewX(0deg);} to { transform: scale(1.12) skewX(-3deg);} }

.resort-title {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.3;
  margin: 16px 0 20px; color: var(--ink);
}
.resort-text { color: var(--ink-soft); font-size: .95rem; max-width: 520px; }
.resort-features { margin: 26px 0 32px; display: grid; gap: 12px; }

/* ─────────── Company ─────────── */
.company { background: var(--paper); }
.company-card {
  background: #fff; border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-soft); border: 1px solid rgba(124,156,78,.18);
  padding: clamp(10px, 3vw, 26px) clamp(20px, 4vw, 48px);
  max-width: 880px; margin-inline: auto;
}
.company-table { width: 100%; }
.ct-row {
  display: grid; grid-template-columns: 168px 1fr; gap: 18px;
  padding: 21px 6px; border-bottom: 1px solid rgba(124,156,78,.16);
}
.ct-row:last-child { border-bottom: none; }
.ct-row dt {
  font-weight: 700; color: var(--green-deep); font-size: .88rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.ct-row dt::before { content: "○"; color: var(--green-logo); font-size: .6rem; margin-top: .55em; }
.ct-row dd { color: var(--ink-soft); font-size: .92rem; }
.link-green { color: var(--green-deep); font-weight: 700; border-bottom: 1px solid currentColor; transition: color .3s; }
.link-green:hover { color: var(--green); }

/* ─────────── Contact ─────────── */
.contact { background: var(--paper-warm); }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1020px; margin-inline: auto;
}
.contact-card {
  display: flex; align-items: center; gap: 17px;
  background: #fff; border-radius: var(--radius);
  border: 1px solid rgba(124,156,78,.18);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease-out), box-shadow .4s;
  transition-delay: 0s !important;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.cc-icon {
  width: 58px; height: 58px; flex: none; border-radius: 17px;
  display: grid; place-items: center; color: #fff;
}
.whatsapp .cc-icon { background: linear-gradient(135deg, #2BE07A, #17A94E); box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.line .cc-icon { background: linear-gradient(135deg, #2ED96E, #05A648); box-shadow: 0 8px 20px rgba(6,199,85,.35); }
.info .cc-icon { background: linear-gradient(135deg, var(--green), var(--green-logo)); box-shadow: 0 8px 20px rgba(124,156,78,.35); }
.cc-body { display: flex; flex-direction: column; min-width: 0; }
.cc-name { font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.cc-desc { font-size: .78rem; color: var(--ink-soft); margin-top: 2px; }
.cc-arrow {
  margin-left: auto; font-weight: 700; color: var(--green);
  transition: transform .3s var(--ease-out);
  white-space: nowrap; font-size: .9rem;
}
.contact-card:hover .cc-arrow { transform: translateX(5px); }
.map-link { border-bottom: 1px dashed currentColor; }
.contact-note { text-align: center; margin-top: 34px; font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; }

/* ─────────── Footer ─────────── */
.footer {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: rgba(255,255,255,.9);
  padding: 54px 0 46px; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-jp); font-weight: 700; color: #fff; font-size: 1rem;
}
.footer-tag { font-family: var(--font-serif); font-size: .88rem; color: #fff; letter-spacing: .1em; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.7); font-family: var(--font-en); letter-spacing: .08em; margin-top: 8px; }

/* ─────────── Quick contact FABs ─────────── */
.quick-contact {
  position: fixed; right: 18px; bottom: calc(var(--nav-h) + 46px);
  display: flex; flex-direction: column; gap: 12px; z-index: 90;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.quick-contact.show { opacity: 1; transform: none; pointer-events: auto; }
.qc-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.qc-btn:hover { transform: scale(1.12); }
.qc-wa { background: linear-gradient(135deg, #2BE07A, #17A94E); box-shadow: 0 10px 24px rgba(37,211,102,.45); }
.qc-line { background: linear-gradient(135deg, #2ED96E, #05A648); box-shadow: 0 10px 24px rgba(6,199,85,.45); }

/* ─────────── Bottom navigation (light glass) ─────────── */
.bottom-nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: max(14px, env(safe-area-inset-bottom, 14px));
  z-index: 110;
  width: min(520px, calc(100% - 24px));
}
.bn-inner {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(124,156,78,.28);
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 22px 55px rgba(79,107,51,.28), inset 0 1px 0 rgba(255,255,255,.9);
}
.bn-indicator {
  position: absolute; top: 8px; bottom: 8px;
  border-radius: 19px;
  background: linear-gradient(135deg, var(--green), var(--green-logo));
  box-shadow: 0 6px 20px rgba(124,156,78,.5);
  transition: left .5s var(--ease-out), width .5s var(--ease-out);
  will-change: left;
}
.bn-item {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px 8px;
  border-radius: 19px;
  color: var(--ink-soft);
  transition: color .35s, transform .35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.bn-item:active { transform: scale(.93); }
.bn-icon svg { width: 23px; height: 23px; transition: transform .4s var(--ease-out); }
.bn-item.is-active { color: #fff; }
.bn-item.is-active .bn-icon svg { transform: translateY(-1px) scale(1.08); }
.bn-label { font-size: .6rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }

/* ─────────── Reveal on scroll ─────────── */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* Parallax layers get their transform from JS (translate3d) */
[data-parallax] { will-change: transform; }

/* ─────────── Language fade ─────────── */
.lang-fading [data-i18n] { transition: opacity .22s; opacity: 0; }
[data-i18n] { transition: opacity .25s; }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1020px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .resort-grid, .founder-grid, .store-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin-inline: auto; }
  .founder-photo { max-width: 420px; margin-inline: auto; }
  .store-visual { max-width: 540px; margin-inline: auto; }
  .resort-visual { max-width: 500px; margin-inline: auto; order: 2; }
  .resort-copy { order: 1; }
  .contact-grid { grid-template-columns: 1fr; max-width: 560px; }
  .hero-vertical { display: none; }
  .scroll-hint { display: none; }
  .hero-horse-mark { opacity: .5; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  body { line-height: 1.8; }
  .topbar-cta { display: none; }
  .brand-sub { display: none; }
  .hero { padding-top: 104px; min-height: 96svh; }
  .hero-content { margin-left: 4%; width: 92%; }
  .hero-stats { gap: 14px; }
  .stat-sep { display: none; }
  .stat { min-width: 72px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 26px 22px; }
  .ct-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 2px; }
  .ct-row dd { padding-left: 20px; }
  .quick-contact { right: 12px; bottom: calc(var(--nav-h) + 40px); }
  .qc-btn { width: 47px; height: 47px; }
  .bottom-nav { width: calc(100% - 16px); }
  .bn-inner { border-radius: 24px; padding: 7px; }
  .bn-label { font-size: .56rem; }
  .marquee-track span { font-size: .68rem; }
  .hero-horse-mark { width: 240px; right: -60px; top: 10%; opacity: .4; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-parallax] { transform: none !important; }
}
