/* ===========================================================
   SKYLINE RESIDENCE TOKYO  -  Main Stylesheet
   =========================================================== */

:root {
  --c-bg: #f5f3ee;
  --c-bg-2: #ebe7df;
  --c-text: #1a1a1a;
  --c-text-2: #5a5a5a;
  --c-text-3: #909090;
  --c-accent: #1a3a5c;
  --c-accent-2: #5b8bb8;
  --c-accent-3: #c8a96a;
  --c-white: #ffffff;
  --c-line: rgba(0,0,0,0.08);
  --c-line-2: rgba(255,255,255,0.18);
  --c-dark: #0d1822;

  --font-en: 'Cormorant Garamond', 'Inter', serif;
  --font-en-sans: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;

  --easing: cubic-bezier(0.7, 0, 0.2, 1);
  --easing-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--easing); }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
sup { font-size: 0.55em; vertical-align: super; opacity: 0.7; }

/* ----- Custom Cursor ----- */
.cursor, .cursor-follower {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor { width: 6px; height: 6px; background: #fff; transition: width 0.2s, height 0.2s; }
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.4s var(--easing-out), width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor.is-hover { width: 14px; height: 14px; }
.cursor-follower.is-hover { width: 70px; height: 70px; border-color: rgba(255,255,255,0.9); }
@media (max-width: 900px) { .cursor, .cursor-follower { display: none; } }

/* ----- Loader ----- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--c-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s 0.4s var(--easing), visibility 0s 1.2s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; color: #fff; }
.loader-wave { width: 200px; height: 60px; margin-bottom: 24px; }
.loader-wave path { animation: waveAnim 2s ease-in-out infinite; }
.loader-wave path:nth-child(2) { animation-delay: 0.4s; }
@keyframes waveAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.loader-text {
  font-family: var(--font-en-sans);
  font-weight: 200; letter-spacing: 0.4em;
  font-size: 14px;
}
.loader-progress {
  font-family: var(--font-en-sans);
  font-weight: 300;
  font-size: 80px;
  margin-top: 24px;
  letter-spacing: -0.02em;
}

/* ----- Header ----- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 22px 40px;
  transition: background 0.4s var(--easing), padding 0.4s var(--easing), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 40px;
  border-bottom-color: var(--c-line);
}
.header-logo { display: flex; align-items: center; gap: 12px; }
.logo-wave { width: 50px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: var(--font-en-sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-accent);
}
.logo-sub {
  font-family: var(--font-en-sans);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--c-text-2);
  margin-top: 4px;
}
.header.is-light .logo-main { color: #fff; }
.header.is-light .logo-sub { color: rgba(255,255,255,0.85); }
.header.is-light .logo-wave path:first-child { stroke: #fff; }
.header.is-light .logo-wave path:last-child { stroke: rgba(255,255,255,0.7); }

.header-nav ul { display: flex; gap: 28px; justify-content: center; }
.header-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 4px 0;
  position: relative;
}
.header-nav .en {
  font-family: var(--font-en-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-text);
}
.header-nav .jp {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--c-text-2);
}
.header.is-light .header-nav .en { color: #fff; }
.header.is-light .header-nav .jp { color: rgba(255,255,255,0.85); }
.header-nav a::after {
  content: ''; position: absolute; bottom: -6px; left: 50%;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width 0.3s var(--easing-out), left 0.3s var(--easing-out);
}
.header-nav a:hover::after { width: 100%; left: 0; }

.header-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.btn-document {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 12px;
  padding: 10px 22px;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: transform 0.3s var(--easing), background 0.3s, gap 0.3s;
}
.btn-document:hover { background: #0d2845; gap: 14px; transform: translateY(-1px); }
.btn-document .arrow { display: inline-block; transition: transform 0.3s; }
.btn-document:hover .arrow { transform: translateX(3px); }
.header-sub-links { display: flex; gap: 14px; font-size: 10px; color: var(--c-text-2); }
.header.is-light .header-sub-links { color: rgba(255,255,255,0.75); }

.hamburger { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-img-wrapper {
  position: absolute; inset: -5%;
  overflow: hidden;
}
.hero-img-wrapper img {
  width: 110%; height: 110%;
  object-fit: cover;
  transform: scale(1.06);
  filter: contrast(1.05) brightness(0.92);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,24,34,0.15) 0%, rgba(13,24,34,0) 30%, rgba(13,24,34,0) 60%, rgba(13,24,34,0.55) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.25) 100%);
}
.hero-light {
  position: absolute;
  top: 20%; right: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255,220,160,0.35), transparent 60%);
  mix-blend-mode: screen;
  filter: blur(40px);
  animation: heroLight 8s ease-in-out infinite;
}
@keyframes heroLight {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-30px, -10px) scale(1.1); opacity: 1; }
}

/* Flag */
.hero-flag {
  position: absolute;
  top: 100px; left: 0;
  width: 230px; height: 140px;
  z-index: 5;
  animation: flagIn 1.2s 1.3s var(--easing-out) both;
}
@keyframes flagIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.hero-flag svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}
.hero-flag-content {
  position: relative;
  padding: 22px 30px;
  z-index: 1;
}
.hero-flag-mark svg { width: 56px; height: 38px; }
.hero-flag-title {
  font-family: var(--font-en-sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  margin-top: 6px;
}
.hero-flag-sub {
  font-family: var(--font-en-sans);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--c-text-2);
  margin-top: 4px;
}

/* Hero content */
.hero-content {
  position: relative; z-index: 4;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-title {
  font-family: var(--font-en-sans);
  font-weight: 900;
  font-size: clamp(60px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 30px rgba(0,0,0,0.25);
}
.hero-title-line {
  display: block;
  overflow: hidden;
  position: relative;
}
.hero-title-line > span { display: inline-block; }
.hero-desc {
  margin-top: 36px;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 18px);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  letter-spacing: 0.1em;
}
.hero-desc p { margin: 4px 0; }
.hero-desc .num {
  font-family: var(--font-en-sans);
  font-weight: 800;
  font-size: 1.25em;
  margin: 0 0.1em;
  color: var(--c-accent-3);
}
.hero-desc-cta {
  margin-top: 18px !important;
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.55);
  font-size: 0.85em !important;
  letter-spacing: 0.15em;
}

/* Hero Scroll */
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-en-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute;
  top: -50%; left: 0; width: 100%; height: 50%;
  background: #fff;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* Hero marquee */
.hero-marquee {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 5;
  overflow: hidden;
  padding: 14px 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 30s linear infinite;
  color: #fff;
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
}
.hero-marquee-track span { padding-right: 40px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-en-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-text-2);
  margin-bottom: 50px;
}
.section-label .num {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 28px;
  font-style: italic;
  color: var(--c-accent);
  letter-spacing: 0;
}
.section-label .line {
  flex: 0 0 80px;
  height: 1px;
  background: var(--c-text-2);
}
.section-label--light { color: rgba(255,255,255,0.8); }
.section-label--light .num { color: var(--c-accent-3); }
.section-label--light .line { background: rgba(255,255,255,0.4); }

.section-heading {
  font-weight: 400;
  margin-bottom: 30px;
}
.section-heading .en {
  display: block;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 64px);
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--c-text);
}
.section-heading .jp {
  display: block;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: 0.16em;
  color: var(--c-accent);
  margin-top: 22px;
}

.lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 2.0;
  color: var(--c-text-2);
}
.copy {
  font-size: 14px;
  margin-top: 24px;
  color: var(--c-text-3);
  font-style: italic;
  letter-spacing: 0.08em;
}

/* ===== CONCEPT ===== */
.concept {
  padding: 140px 60px 160px;
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: center;
}
.concept-text { padding-right: 20px; }
.concept-visual {
  position: relative;
  height: 600px;
}
.concept-img-frame {
  position: absolute;
  inset: 0 0 80px 60px;
  overflow: hidden;
  box-shadow: 0 40px 60px -20px rgba(26,58,92,0.25);
}
.concept-img-frame--small {
  inset: auto auto 0 0;
  width: 260px; height: 320px;
  border: 8px solid var(--c-bg);
  box-shadow: 0 30px 50px -15px rgba(0,0,0,0.2);
  z-index: 2;
}
.concept-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.concept-decor {
  position: absolute;
  top: 0; right: -10px;
  font-family: var(--font-en);
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--c-accent-3);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

/* ===== NUMBERS ===== */
.numbers {
  position: relative;
  padding: 140px 60px 160px;
  background: var(--c-dark);
  color: #fff;
  overflow: hidden;
}
.numbers-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(91,139,184,0.18), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(200,169,106,0.12), transparent 55%);
  z-index: 0;
}
.numbers .section-label { position: relative; z-index: 1; max-width: var(--container); margin-left: auto; margin-right: auto; }
.numbers-grid {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line-2);
  border-bottom: 1px solid var(--c-line-2);
}
.number-card {
  padding: 60px 40px;
  border-right: 1px solid var(--c-line-2);
  position: relative;
}
.number-card:last-child { border-right: 0; }
.number-card-num {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(60px, 7vw, 100px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex; align-items: flex-end;
}
.number-card-num sup {
  font-size: 0.28em;
  font-family: var(--font-en-sans);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-left: 6px;
  opacity: 1;
  margin-bottom: 12px;
  color: var(--c-accent-3);
}
.number-card-label {
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--c-accent-3);
}
.number-card-desc {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ===== TOWER ===== */
.tower {
  padding: 140px 60px 160px;
  max-width: var(--container);
  margin: 0 auto;
}
.tower-hero {
  position: relative;
  margin-bottom: 100px;
}
.tower-hero-img {
  overflow: hidden;
  height: 600px;
  position: relative;
}
.tower-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--easing-out);
}
.tower-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,24,34,0.55), transparent 60%);
}
.tower-hero-text {
  position: absolute;
  top: 50%; left: 80px;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}
.catch-small {
  font-family: var(--font-en-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--c-accent-3);
  margin-bottom: 16px;
}
.catch-main {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.catch-desc {
  margin-top: 24px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tower-features { display: flex; flex-direction: column; gap: 80px; }
.tower-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
}
.tower-feature--reverse { grid-template-columns: 1fr 1.1fr; }
.tower-feature--reverse .tower-feature-img { order: 2; }
.tower-feature-img {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.tower-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--easing-out);
}
.tower-feature:hover .tower-feature-img img { transform: scale(1.04); }
.tower-feature-no {
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-accent);
}
.tower-feature h4 {
  margin-top: 18px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.tower-feature p {
  margin-top: 20px;
  font-size: 15px;
  color: var(--c-text-2);
  line-height: 2;
}

/* ===== PLAN ===== */
.plan {
  padding: 140px 60px 160px;
  background: var(--c-bg-2);
  position: relative;
}
.plan > .section-label { max-width: var(--container); margin-left: auto; margin-right: auto; }
.plan-intro {
  max-width: var(--container);
  margin: 0 auto 70px;
  text-align: center;
}
.plan-intro .section-heading .en,
.plan-intro .section-heading .jp { text-align: center; }
.plan-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.plan-card {
  background: var(--c-white);
  overflow: hidden;
  transition: transform 0.6s var(--easing-out), box-shadow 0.6s var(--easing-out);
  position: relative;
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -15px rgba(26,58,92,0.18);
}
.plan-card--premium {
  background: linear-gradient(180deg, #1a3a5c, #0d1822);
  color: #fff;
}
.plan-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.plan-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--easing-out);
}
.plan-card:hover .plan-card-img img { transform: scale(1.06); }
.plan-card-body { padding: 28px 26px 32px; }
.plan-card-type {
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--c-accent);
}
.plan-card--premium .plan-card-type { color: var(--c-accent-3); }
.plan-card h4 {
  margin-top: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
}
.plan-card p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.8;
}
.plan-card--premium p { color: rgba(255,255,255,0.7); }
.plan-card-price {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-text-2);
}
.plan-card-price strong {
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 28px;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.plan-card--premium .plan-card-price { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); }
.plan-card--premium .plan-card-price strong { color: var(--c-accent-3); }
.plan-card-link {
  display: inline-flex; gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  transition: gap 0.3s var(--easing-out);
}
.plan-card-link:hover { gap: 12px; }
.plan-card--premium .plan-card-link { color: var(--c-accent-3); }

/* ===== SIMULATOR ===== */
.simulator {
  padding: 140px 60px 160px;
  max-width: var(--container);
  margin: 0 auto;
}
.simulator-intro { text-align: center; margin-bottom: 60px; }
.simulator-intro .section-heading .en,
.simulator-intro .section-heading .jp { text-align: center; }
.simulator-intro .lead { text-align: center; margin-top: 24px; }
.simulator-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: 0 40px 80px -30px rgba(26,58,92,0.18);
  border-radius: 4px;
  overflow: hidden;
}
.simulator-tabs {
  display: flex;
  border-bottom: 1px solid var(--c-line);
}
.sim-tab {
  flex: 1;
  padding: 22px 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--c-text-2);
  background: var(--c-bg);
  border-right: 1px solid var(--c-line);
  position: relative;
  transition: background 0.3s, color 0.3s;
}
.sim-tab:last-child { border-right: 0; }
.sim-tab.is-active {
  color: var(--c-accent);
  background: #fff;
}
.sim-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-accent);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
}
.simulator-inputs {
  padding: 50px 45px;
  background: var(--c-bg);
  border-right: 1px solid var(--c-line);
}
.sim-field { margin-bottom: 30px; }
.sim-field:last-child { margin-bottom: 0; }
.sim-field label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-text-2);
  margin-bottom: 12px;
}
.sim-input-wrap {
  display: flex; flex-direction: column; gap: 12px;
}
.sim-input-wrap input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(to right, var(--c-accent) var(--val,50%), var(--c-line) var(--val,50%));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.sim-input-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-accent);
  box-shadow: 0 2px 8px rgba(26,58,92,0.3);
  cursor: pointer;
  transition: transform 0.2s;
}
.sim-input-wrap input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.sim-input-wrap input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-accent);
  box-shadow: 0 2px 8px rgba(26,58,92,0.3);
  cursor: pointer;
}
.sim-input-numeric {
  display: flex; align-items: center; gap: 8px;
  justify-content: flex-end;
}
.sim-input-numeric input {
  width: 130px;
  padding: 10px 14px;
  border: 1px solid var(--c-line);
  background: #fff;
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 18px;
  text-align: right;
  color: var(--c-accent);
  letter-spacing: -0.01em;
  border-radius: 3px;
}
.sim-input-numeric input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.sim-input-wrap--small { width: auto; }
.sim-input-wrap--small input[type="number"] {
  width: 110px; padding: 10px 12px;
  border: 1px solid var(--c-line);
  background: #fff;
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 16px;
  text-align: right;
  border-radius: 3px;
}
.sim-unit {
  font-size: 13px;
  color: var(--c-text-2);
  letter-spacing: 0.05em;
}
.sim-field--row { display: flex; justify-content: space-between; align-items: center; }
.sim-field--row label { margin-bottom: 0; }
.sim-radio-group { display: flex; gap: 16px; }
.sim-radio {
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--c-text-2);
}
.sim-radio input { accent-color: var(--c-accent); }

/* Results */
.simulator-results {
  padding: 50px 45px;
  background: #fff;
}
.sim-result-main {
  padding: 30px;
  background: linear-gradient(135deg, var(--c-accent), #0d1822);
  color: #fff;
  border-radius: 4px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.sim-result-main::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(200,169,106,0.2), transparent 60%);
}
.sim-result-label {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  position: relative;
}
.sim-result-value {
  font-family: var(--font-en-sans);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px;
  color: var(--c-accent-3);
  position: relative;
}
.sim-result-unit {
  font-size: 0.4em;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.sim-result-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  position: relative;
}
.sim-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.sim-result-item {
  padding: 16px;
  background: var(--c-bg);
  border-radius: 3px;
}
.sim-result-item-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-text-2);
  margin-bottom: 6px;
  font-weight: 500;
}
.sim-result-item-value {
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-accent);
  letter-spacing: -0.01em;
}
.sim-chart-wrap { margin-top: 24px; }
.sim-chart-title {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-text);
  margin-bottom: 14px;
}
.sim-chart-bar {
  display: flex;
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--c-bg);
}
.sim-chart-bar-principal {
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  transition: width 0.6s var(--easing-out);
}
.sim-chart-bar-interest {
  background: linear-gradient(90deg, var(--c-accent-3), #d9b67a);
  transition: width 0.6s var(--easing-out);
}
.sim-chart-legend {
  margin-top: 12px;
  display: flex; justify-content: space-around;
  font-size: 12px;
  color: var(--c-text-2);
}
.sim-chart-legend .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-principal { background: var(--c-accent); }
.dot-interest { background: var(--c-accent-3); }
.sim-chart-legend strong {
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-text);
  margin: 0 4px;
}
#sim-canvas {
  width: 100%; max-width: 100%;
  margin-top: 20px;
  background: linear-gradient(180deg, #fafaf8, #f3efe7);
  border-radius: 3px;
}
.sim-note {
  margin-top: 24px;
  padding: 16px;
  background: var(--c-bg);
  font-size: 11px;
  color: var(--c-text-2);
  line-height: 1.8;
  border-left: 3px solid var(--c-accent-3);
}
.sim-note a { color: var(--c-accent); text-decoration: underline; }

/* ===== ACCESS ===== */
.access {
  padding: 140px 60px 160px;
  max-width: var(--container);
  margin: 0 auto;
}
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.access-list {
  margin-top: 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.access-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--c-bg-2);
  font-size: 15px;
}
.access-list strong {
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 24px;
  color: var(--c-accent);
  margin: 0 4px;
}
.line-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-family: var(--font-en-sans);
  font-weight: 800;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
  flex-shrink: 0;
}
.line-jy { background: #80c243; }
.line-jc { background: #f68b1e; }
.line-y { background: #ffd400; color: #333; }
.line-z { background: #b5b5ac; }
.line-r { background: #c41e3a; }
.access-note {
  margin-top: 18px;
  font-size: 11px;
  color: var(--c-text-3);
}
.access-map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.access-map img { width: 100%; height: 100%; object-fit: cover; }
.access-map-pin {
  position: absolute;
  top: 45%; left: 52%;
  z-index: 2;
}
.pin-pulse {
  width: 20px; height: 20px;
  background: var(--c-accent-3);
  border-radius: 50%;
  position: relative;
}
.pin-pulse::before, .pin-pulse::after {
  content: '';
  position: absolute; inset: -8px;
  border: 2px solid var(--c-accent-3);
  border-radius: 50%;
  animation: pinPulse 2s ease-out infinite;
}
.pin-pulse::after { animation-delay: 1s; }
@keyframes pinPulse {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.pin-label {
  position: absolute;
  top: 35px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #fff;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ===== SAFETY ===== */
.safety {
  padding: 140px 60px 160px;
  background: var(--c-bg-2);
}
.safety > .section-label { max-width: var(--container); margin-left: auto; margin-right: auto; }
.safety-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.safety-card {
  background: #fff;
  padding: 40px 30px;
  text-align: center;
  border-radius: 4px;
  transition: transform 0.6s var(--easing-out);
}
.safety-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -15px rgba(26,58,92,0.15);
}
.safety-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  color: var(--c-accent);
}
.safety-icon svg { width: 100%; height: 100%; }
.safety-card h4 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.safety-card p {
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.9;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 140px 60px;
  color: #fff;
  overflow: hidden;
  min-height: 600px;
  display: flex; align-items: center; justify-content: center;
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.1);
}
.cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,24,34,0.4), rgba(13,24,34,0.7));
}
.cta-content {
  position: relative;
  text-align: center;
  z-index: 1;
  max-width: 800px;
}
.cta-small {
  font-family: var(--font-en-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--c-accent-3);
  margin-bottom: 24px;
}
.cta-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.cta-desc {
  margin-top: 30px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.88);
}
.cta-actions {
  margin-top: 50px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  border-radius: 999px;
  transition: all 0.4s var(--easing);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--c-accent-3);
  color: #fff;
}
.btn-primary:hover {
  background: #d9b67a;
  gap: 18px;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(200,169,106,0.5);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  gap: 18px;
}
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }
.cta-tel {
  margin-top: 50px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
}
.cta-tel a {
  display: block;
  font-family: var(--font-en-sans);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 8px 0;
}
.cta-tel-hour { font-size: 11px; opacity: 0.7; }

/* ===== OVERVIEW ===== */
.overview {
  padding: 140px 60px 160px;
  max-width: var(--container);
  margin: 0 auto;
}
.overview-table table {
  width: 100%;
  border-collapse: collapse;
}
.overview-table tr {
  border-bottom: 1px solid var(--c-line);
}
.overview-table th, .overview-table td {
  padding: 22px 24px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.overview-table th {
  font-weight: 600;
  width: 220px;
  color: var(--c-accent);
  letter-spacing: 0.08em;
}
.overview-table td {
  color: var(--c-text-2);
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.85);
  padding: 80px 60px 40px;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}
.footer-logo .logo-main { color: #fff; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.65); }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-nav-col h5 {
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-accent-3);
  margin-bottom: 20px;
}
.footer-nav-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s, padding 0.3s;
}
.footer-nav-col a:hover { color: #fff; padding-left: 6px; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--c-line-2);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.footer-notes {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  max-width: 600px;
}
.footer-copy {
  font-family: var(--font-en-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--c-dark);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform 0.6s var(--easing-out);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 24px; }
.m-nav-link {
  display: flex; flex-direction: column; gap: 4px;
  color: #fff;
  font-family: var(--font-en-sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.08em;
}
.m-nav-link span {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-accent-3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .header { padding: 16px 24px; }
  .header-nav ul { gap: 20px; }
  .header-nav .en { font-size: 10px; }
  .header-nav .jp { font-size: 9px; }
}
@media (max-width: 1100px) {
  .header-nav { display: none; }
  .hamburger {
    display: flex; flex-direction: column;
    width: 32px; height: 24px;
    justify-content: space-between;
    z-index: 102;
  }
  .hamburger span {
    display: block;
    width: 100%; height: 2px;
    background: var(--c-text);
    transition: transform 0.4s, opacity 0.4s, background 0.3s;
  }
  .header.is-light .hamburger span { background: #fff; }
  .hamburger.is-open span { background: #fff; }
  .hamburger.is-open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .hamburger.is-open span:nth-child(2) { opacity: 0; }
  .hamburger.is-open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .concept, .tower, .plan, .simulator, .access, .safety, .overview {
    padding: 80px 24px 100px;
  }
  .numbers { padding: 80px 24px 100px; }
  .concept-inner { grid-template-columns: 1fr; gap: 60px; }
  .concept-visual { height: 400px; }
  .concept-img-frame--small { width: 180px; height: 220px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-card { padding: 40px 24px; }
  .number-card:nth-child(2n) { border-right: 0; }
  .number-card:nth-child(1), .number-card:nth-child(2) { border-bottom: 1px solid var(--c-line-2); }
  .tower-hero-img { height: 400px; }
  .tower-hero-text { left: 24px; right: 24px; }
  .tower-feature, .tower-feature--reverse {
    grid-template-columns: 1fr; gap: 30px;
  }
  .tower-feature--reverse .tower-feature-img { order: 0; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .simulator-grid { grid-template-columns: 1fr; }
  .simulator-inputs { border-right: 0; border-bottom: 1px solid var(--c-line); padding: 30px 24px; }
  .simulator-results { padding: 30px 24px; }
  .access-inner { grid-template-columns: 1fr; gap: 40px; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer { padding: 60px 24px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 20px; }
  .hero-flag { width: 180px; height: 110px; top: 80px; }
  .hero-flag-content { padding: 16px 22px; }
  .cta { padding: 80px 24px; }
  .overview-table th { width: 130px; padding: 16px 12px; font-size: 12px; }
  .overview-table td { padding: 16px 12px; font-size: 13px; }
}
@media (max-width: 560px) {
  .header { padding: 12px 16px; }
  .logo-wave { width: 40px; height: 30px; }
  .logo-main { font-size: 11px; }
  .logo-sub { font-size: 8px; }
  .plan-grid, .safety-grid { grid-template-columns: 1fr; }
  .sim-result-grid { grid-template-columns: 1fr; }
  .hero-marquee { padding: 10px 0; }
  .hero-marquee-track { font-size: 11px; }
  .hero-flag { display: none; }
}
