@import url('variables.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
h1,h2,h3,h4 { font-family: var(--font-serif-jp); font-weight: 400; line-height: 1.6; }
a { color: var(--text); text-decoration: none; transition: 0.4s var(--ease); }
img { max-width: 100%; display: block; }

/* LOADER */
.loader {
  position: fixed; inset: 0; background: var(--bg-dark); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
}
.loader-logo {
  font-family: var(--font-serif-en); color: var(--gold);
  font-size: 1.8rem; letter-spacing: 0.3em; opacity: 0;
  animation: pulseLogo 2.5s ease-in-out forwards;
}
.loader.hide { transform: translateY(-100%); pointer-events: none; }
@keyframes pulseLogo {
  0% { opacity: 0; transform: scale(0.95); }
  40% { opacity: 1; transform: scale(1); }
  60% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 24px 0; background: transparent; transition: 0.6s var(--ease);
}
.nav.scrolled {
  background: rgba(247,245,240,0.95); backdrop-filter: blur(16px);
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.nav-logo { font-family: var(--font-serif-en); font-size: 1.1rem; letter-spacing: 0.25em; color: var(--chitose); font-weight: 400; }
.nav-logo-img { height: 56px; width: auto; display: block; }
.nav-links { display: flex; gap: clamp(16px, 2vw, 32px); list-style: none; margin-left: auto; }
.nav-links a { font-family: var(--font-serif-en); color: var(--text-light); font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.nav-links a:hover { color: var(--chitose); }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  margin-left: clamp(16px, 2vw, 32px);
  margin-right: clamp(16px, 2vw, 24px);
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: var(--font-serif-en);
  font-size: 0.95rem;
  padding: 4px 0;
  cursor: pointer;
  transition: 0.4s var(--ease);
  letter-spacing: 0.1em;
  position: relative;
}
.lang-btn:hover {
  color: var(--chitose);
}
.lang-btn.active {
  color: var(--gold);
}
.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
}
.lang-sep {
  color: rgba(20, 20, 20, 0.2);
  font-size: 0.9rem;
}
.mobile-lang-wrap {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-lang-select {
  padding: 10px 24px;
  font-family: var(--font-sans);
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  outline: none;
}
.nav-cta {
  padding: 10px 24px; border: 1px solid var(--chitose); color: var(--chitose);
  font-size: 0.9rem; letter-spacing: 0.1em; border-radius: var(--radius);
  transition: 0.4s var(--ease); font-family: var(--font-serif-jp);
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--chitose); color: var(--bg); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 1px; background: var(--text); transition: 0.4s; }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; mix-blend-mode: multiply; filter: contrast(1.1); }
.hero-content { text-align: center; padding: 0 40px; max-width: 800px; position: relative; z-index: 2; }
.hero-title {
  font-family: var(--font-serif-jp); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; letter-spacing: 0.15em; color: var(--text);
  margin-bottom: 32px; line-height: 1.8;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-light); line-height: 2.2;
  margin-bottom: 56px; font-weight: 300; letter-spacing: 0.05em;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 40px; background: var(--chitose); color: var(--bg);
  font-size: 0.95rem; letter-spacing: 0.1em; border: none; border-radius: var(--radius);
  cursor: pointer; transition: 0.4s var(--ease); font-family: var(--font-sans);
}
.btn-primary:hover { background: var(--chitose-light); color: var(--bg); }
.btn-ghost {
  padding: 14px 40px; background: rgba(255, 255, 255, 0.6); color: var(--text);
  font-size: 0.95rem; letter-spacing: 0.1em; border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius); cursor: pointer; transition: 0.4s var(--ease); font-family: var(--font-sans);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.9); border-color: var(--chitose); color: var(--chitose); }
.btn-docs {
  display: flex; justify-content: space-between; align-items: center;
  background: transparent; border: 1px solid var(--gold-light); color: var(--gold-light);
  font-family: var(--font-serif-jp); width: 100%; max-width: 440px; padding: 20px 32px;
  border-radius: var(--radius); text-decoration: none; transition: 0.4s var(--ease);
}
.btn-docs:hover {
  background: var(--gold-light); color: #1a1a1a;
}
.hero-scroll {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--text-muted); }
.hero-scroll-line { width: 1px; height: 48px; background: var(--gold-muted); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 1px; height: 100%;
  background: var(--gold); animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }

/* SECTIONS */
section { padding: 140px 0; position: relative; }
.container { max-width: 800px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-family: var(--font-serif-en); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.3em;
  color: var(--gold-dark); text-transform: uppercase; margin-bottom: 20px; text-align: center;
}
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem); text-align: center;
  margin-bottom: 20px; letter-spacing: 0.08em; font-weight: 400;
}
.gold-line { width: 40px; height: 1px; background: var(--gold); margin: 32px auto; }

/* LAYOUT UTILS */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-layout.reverse .split-text { order: 2; }
.split-layout.reverse .split-image { order: 1; }
.split-image img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/5; }

/* BRAND MESSAGE */
.brand-message { background: var(--bg); }
.brand-text {
  text-align: center; max-width: 520px; margin: 0 auto;
  font-family: var(--font-serif-jp); font-size: 1.15rem;
  line-height: 2.8; color: var(--text-light); font-weight: 300;
  letter-spacing: 0.08em;
}
.brand-text strong { font-weight: 400; color: var(--text); }
.brand-text .brand-name { color: var(--chitose); font-weight: 400; }
.brand-text .rest { color: var(--gold); }
.brand-meaning {
  text-align: center; margin-top: 64px; padding-top: 64px;
  border-top: 1px solid var(--border);
}
.brand-meaning p {
  font-family: var(--font-serif-jp); font-size: 1.1rem;
  color: var(--text-light); line-height: 2.4; font-weight: 300;
}
.brand-meaning em { font-style: normal; color: var(--chitose); }

/* LOSS */
.loss { background: var(--bg-dark); color: rgba(255,255,245,0.85); }
.loss .section-label { color: var(--gold-light); }
.loss .section-title { color: rgba(255,255,245,0.9); }
.loss .gold-line { background: var(--gold-light); opacity: 0.4; }
.loss-text {
  text-align: center; max-width: 520px; margin: 0 auto;
  font-family: var(--font-serif-jp); font-size: 1.15rem;
  line-height: 2.8; color: rgba(255,255,245,0.95); font-weight: 400;
  letter-spacing: 0.06em;
}
.loss-text strong { color: #ffffff; font-weight: 600; }
.loss-highlight {
  margin-top: 64px; text-align: center;
  font-family: var(--font-serif-jp); font-size: 1.3rem;
  color: var(--gold-light); letter-spacing: 0.1em;
}

/* VALUE */
.value { background: var(--bg); }
.value-text {
  text-align: center; max-width: 520px; margin: 0 auto;
  font-family: var(--font-serif-jp); font-size: 1.15rem;
  line-height: 2.8; color: var(--text-light); font-weight: 300;
}
.value-text strong { color: var(--text); font-weight: 400; }

/* DIRECTOR */
.director { background: var(--bg-alt); }
.director-text {
  text-align: center; max-width: 560px; margin: 0 auto;
  font-family: var(--font-serif-jp); font-size: 1.1rem;
  line-height: 2.8; color: var(--text-light); font-weight: 300;
}
.director-text strong { color: var(--text); font-weight: 400; }
.director-cta { text-align: center; margin-top: 56px; }
.director-cta a {
  font-size: 1rem; color: var(--chitose); letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border-gold); padding-bottom: 4px;
}
.director-cta a:hover { border-color: var(--chitose); }

/* LOGO MEANING */
.logo-meaning { background: var(--bg); }
.logo-intro {
  text-align: center; max-width: 520px; margin: 0 auto 64px;
  font-family: var(--font-serif-jp); font-size: 1.1rem;
  line-height: 2.6; color: var(--text-light); font-weight: 300;
}
.color-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; }
.color-stage { text-align: center; }
.color-dot { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 20px; }
.color-dot.dot-chitose { background: var(--chitose); }
.color-dot.dot-shojyohi { background: var(--shojyohi); }
.color-dot.dot-honmurasaki { background: var(--honmurasaki); }
.color-stage h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: 0.1em; }
.color-stage p { font-size: 1rem; color: var(--text-muted); line-height: 2; }

/* TREATMENTS NAV */
.treatments { background: var(--bg-alt); }
.treatments-intro {
  text-align: center; max-width: 480px; margin: 0 auto 56px;
  font-size: 1.1rem; color: var(--text-light); line-height: 2.2;
}
.treatment-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.treatment-link {
  text-align: center; padding: 40px 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: 0.5s var(--ease); background: var(--bg);
  position: relative; overflow: hidden;
}
.treatment-link::before {
  content: ''; position: absolute; inset: 0; background: var(--chitose);
  opacity: 0; transition: 0.5s var(--ease); z-index: 0;
}
.treatment-link:hover { border-color: var(--chitose); transform: translateY(-4px); box-shadow: var(--shadow); }
.treatment-link:hover::before { opacity: 0.03; }
.treatment-link h3, .treatment-link p { position: relative; z-index: 1; transition: 0.5s var(--ease); }
.treatment-link:hover h3 { color: var(--chitose); }
.treatment-link h3 { font-size: 1.15rem; letter-spacing: 0.08em; margin-bottom: 8px; color: var(--text); }
.treatment-link p { font-size: 0.95rem; color: var(--text-muted); }

/* MEMBERSHIP (FLOW) */
.membership { background: var(--bg); }
.program-flow { display: flex; align-items: stretch; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.program-stage {
  text-align: center; padding: 56px 32px 48px; flex: 1; min-width: 260px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); transition: 0.4s var(--ease);
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.program-stage:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.program-stage.premium { background: var(--bg); color: var(--text); border: 2px solid var(--honmurasaki); }
.program-stage h3 { font-size: 1.4rem; margin-bottom: 4px; letter-spacing: 0.08em; }
.program-stage.premium h3 { color: var(--honmurasaki); }
.program-stage .stage-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; }
.stage-benefits { list-style: none; text-align: left; width: 100%; margin-top: 32px; }
.stage-benefits li {
  font-size: 1.05rem; padding-left: 20px; position: relative; margin-bottom: 12px;
  color: var(--text); line-height: 1.6;
}
.program-stage.premium .stage-benefits li { color: var(--text); font-weight: 500; }
.stage-benefits li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}
.program-arrow { font-size: 1.2rem; color: var(--gold); display: flex; align-items: center; }

/* THE JOURNEY */
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.j-step { position: relative; padding: 24px; border-left: 1px solid rgba(212,175,55,0.3); }
.j-num { font-family: var(--font-serif-en); font-size: 2.5rem; color: var(--gold-light); opacity: 0.5; margin-bottom: 8px; }
.j-step h3 { font-size: 1.2rem; color: #fff; margin-bottom: 16px; letter-spacing: 0.1em; }
.j-step p { font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,245,0.7); }

/* HOSPITALITY */
.hospitality { background: var(--bg-alt); }
.hospitality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.h-card { text-align: center; padding: 48px 32px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: 0.4s var(--ease); }
.h-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-muted); }
.h-icon { font-size: 2.5rem; margin-bottom: 24px; }
.h-card h4 { font-size: 1.2rem; color: var(--text); margin-bottom: 16px; letter-spacing: 0.1em; }
.h-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; }

/* REGIONAL */
.regional { background: var(--bg-alt); }
.regional-text {
  text-align: center; max-width: 480px; margin: 0 auto;
  font-family: var(--font-serif-jp); font-size: 0.92rem;
  line-height: 2.6; color: var(--text-light); font-weight: 300;
}

/* ACCESS */
.access { background: var(--bg); }
.access-intro {
  text-align: center; max-width: 480px; margin: 0 auto 56px;
  font-size: 1.1rem; color: var(--text-light); line-height: 2;
}
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto; align-items: start; }
.access-info h3 { font-family: var(--font-serif-en); font-size: 1.2rem; color: var(--chitose); letter-spacing: 0.15em; margin-bottom: 24px; }
.access-item { margin-bottom: 20px; }
.access-item dt { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 4px; }
.access-item dd { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(0.95); }
.access-cta { text-align: center; margin-top: 64px; }

/* FOOTER */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1100px; margin: 0 auto 64px; padding: 0 40px; flex-wrap: wrap; gap: 48px; }
.footer-logo-large { font-family: var(--font-serif-en); color: var(--chitose); font-size: 1.8rem; letter-spacing: 0.25em; line-height: 1.4; margin-bottom: 16px; }
.footer-logo-img { height: 120px; width: auto; margin-bottom: 24px; display: block; }
.footer-desc { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; }
.footer-nav { display: flex; gap: 64px; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 16px; }
.footer-nav a { font-family: var(--font-serif-en); font-size: 1.05rem; color: var(--text-light); letter-spacing: 0.05em; transition: 0.3s; }
.footer-nav a:hover { color: var(--chitose); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 40px 40px 0; border-top: 1px solid rgba(0,0,0,0.05); text-align: center; }
.footer-copy { font-size: 0.9rem; color: var(--text-muted); }

/* CHATBOT WIDGET */
.chatbot-widget { position: fixed; bottom: 32px; right: 32px; z-index: 1000; font-family: var(--font-sans); }
.chatbot-toggle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--honmurasaki); color: var(--bg);
  border: 2px solid var(--gold); box-shadow: 0 8px 24px rgba(35, 27, 43, 0.4);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chatbot-toggle:hover { transform: scale(1.08); background: var(--bg-dark); }
.chatbot-window {
  position: absolute; bottom: 84px; right: 0; width: 360px; height: 500px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15); display: flex; flex-direction: column;
  overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(20px);
  transition: 0.4s var(--ease); transform-origin: bottom right;
}
.chatbot-window.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.chatbot-header {
  background: var(--bg-dark); padding: 20px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--gold-muted);
}
.chatbot-header-info { display: flex; flex-direction: column; gap: 4px; }
.chatbot-title { font-family: var(--font-serif-jp); color: var(--gold-light); font-size: 1.1rem; letter-spacing: 0.1em; }
.chatbot-status { color: rgba(255,255,255,0.6); font-size: 0.75rem; display: flex; align-items: center; gap: 6px; }
.chatbot-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4CAF50; }
.chatbot-close { background: none; border: none; color: var(--bg); font-size: 1.8rem; cursor: pointer; opacity: 0.7; transition: 0.3s; }
.chatbot-close:hover { opacity: 1; }
.chatbot-messages { flex: 1; padding: 24px 20px; overflow-y: auto; background: var(--bg-alt); display: flex; flex-direction: column; gap: 16px; }
.chat-message { display: flex; }
.chat-message.bot .message-content { background: var(--bg); border: 1px solid var(--border); color: var(--text); border-radius: 4px 16px 16px 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.message-content { padding: 14px 16px; font-size: 0.95rem; line-height: 1.6; max-width: 90%; }
.chatbot-input { padding: 16px; background: var(--bg); border-top: 1px solid var(--border); display: flex; gap: 12px; align-items: center; }
.chatbot-input input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 24px; font-size: 0.95rem; font-family: var(--font-sans); background: var(--bg-alt); outline: none; transition: 0.3s; }
.chatbot-input input:focus { border-color: var(--gold-muted); }
.chatbot-input button { width: 44px; height: 44px; border-radius: 50%; background: var(--chitose); color: var(--bg); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.chatbot-input button:hover { background: var(--chitose-light); transform: scale(1.05); }
.chat-message.user { justify-content: flex-end; }
.chat-message.user .message-content { background: var(--gold-light); color: var(--bg-dark); border-radius: 16px 4px 16px 16px; }
.message-loading { display: flex; gap: 4px; padding: 14px 16px; align-items: center; }
.message-loading span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
.message-loading span:nth-child(1) { animation-delay: -0.32s; }
.message-loading span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* MOBILE MENU */
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(247,245,240,0.98); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-serif-jp); font-size: 1.2rem; color: var(--text); letter-spacing: 0.1em; }
.mobile-menu-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 1.8rem; color: var(--text); cursor: pointer; }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: 0.15s; }
.fade-in-d2 { transition-delay: 0.3s; }
.fade-in-d3 { transition-delay: 0.45s; }
.fade-in-d4 { transition-delay: 0.6s; }
/* TREATMENT MODALS */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  z-index: 1000; opacity: 0; pointer-events: none; transition: 0.5s var(--ease);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.treatment-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -45%);
  width: 90%; max-width: 640px; background: var(--bg); border-radius: 16px;
  z-index: 1001; padding: 48px; box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  opacity: 0; pointer-events: none; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.treatment-modal.active { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal-close {
  position: absolute; top: 24px; right: 24px; background: none; border: none;
  font-size: 2rem; color: var(--text-light); cursor: pointer; transition: 0.3s;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--text); transform: rotate(90deg); }
.modal-header { text-align: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 1.8rem; letter-spacing: 0.1em; color: var(--text); margin-bottom: 8px; }
.modal-sub { font-family: var(--font-serif-en); font-size: 1rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; }
.modal-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-light); margin-bottom: 32px; text-align: justify; }
.modal-list { list-style: none; margin-bottom: 40px; }
.modal-list li {
  position: relative; padding-left: 24px; margin-bottom: 16px; font-size: 1.05rem;
  color: var(--text); line-height: 1.6;
}
.modal-list li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}
.modal-cta { text-align: center; }

/* PRICE LIST styles moved to price.css */
.price-amount .tax { display: block; font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-light); letter-spacing: 0; margin-top: 2px; }


/* NEWS */
.news { padding: 40px 0; border-bottom: 1px solid var(--border); }
.news-container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.news-label { font-family: var(--font-serif-en); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.news-ticker { flex-grow: 1; overflow: hidden; }
.news-item { display: flex; align-items: center; gap: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-date { font-family: var(--font-serif-en); font-size: 0.9rem; color: var(--text-light); }
.news-text { font-size: 0.95rem; color: var(--text); }
.news-link { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.1em; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; white-space: nowrap; }
.news-link:hover { border-bottom-color: var(--gold); }
.news-modal-list { list-style: none; padding: 0; margin: 0; }
.news-modal-list li { border-bottom: 1px solid var(--border); padding: 24px 0; }
.news-modal-list li:last-child { border-bottom: none; }
.n-date { font-family: var(--font-serif-en); font-size: 0.9rem; color: var(--gold); margin-bottom: 8px; }
.n-title { font-size: 1.1rem; color: var(--text); margin-bottom: 12px; font-weight: bold; }
.n-desc { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; }

/* CONNECT */
.connect { position: relative; padding: 120px 0; background: var(--bg-dark); text-align: center; overflow: hidden; }
.connect-bg { position: absolute; inset: 0; background: url('../assets/hero_bg.webp') center/cover no-repeat; opacity: 0.15; }
.connect-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

/* RESPONSIVE */
@media (max-width: 1100px) and (min-width: 769px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.85rem; }
  .nav-logo { font-size: 0.95rem; }
  .nav-cta { padding: 8px 16px; font-size: 0.85rem; }
  .lang-switcher { margin-left: 16px; margin-right: 16px; gap: 8px; }
  .lang-btn { font-size: 0.85rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 100px 0; }
  .container, .container-wide { padding: 0 28px; }
  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .split-layout.reverse .split-text { order: 1; }
  .split-layout.reverse .split-image { order: 2; }
  .color-stages { grid-template-columns: 1fr; gap: 32px; }
  .treatment-nav { grid-template-columns: 1fr 1fr; }
  .journey-grid { grid-template-columns: 1fr; gap: 40px; }
  .j-step { border-left: none; border-top: 1px solid rgba(212,175,55,0.3); padding: 24px 0; }
  .hospitality-grid { grid-template-columns: 1fr; gap: 24px; }
  .program-flow { flex-direction: column; }
  .program-arrow { transform: rotate(90deg); margin: 16px 0; }
  .access-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .news-container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .news-item { flex-direction: column; align-items: flex-start; gap: 8px; white-space: normal; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { flex-direction: column; gap: 16px; }
}

/* Brand Katakana and Rank Furigana */
.brand-kana {
  font-family: var(--font-serif-jp);
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  margin-top: 8px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.hero-content .brand-kana {
  font-size: 1rem;
  margin-top: -16px;
  margin-bottom: 32px;
}
.footer-logo .brand-kana, .footer-kana {
  margin-top: 12px;
  text-align: left;
  font-size: 0.75rem;
}
ruby {
  ruby-align: center;
}
rt {
  font-size: 0.55em;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.rank-romaji {
  font-family: var(--font-serif-en);
  font-size: 0.65em;
  color: var(--text-muted);
  font-weight: normal;
  display: block;
  margin-top: 4px;
}
.program-stage h3 { margin-bottom: 12px; } /* Give some breathing room for ruby */

/* 一時非表示:チャットボット ― 確認後に解除 */
.chatbot-widget {
  display: none !important;
}

/* 一時非表示:多言語公開延期に伴う言語切替UIの非表示 */
.lang-switcher, .mobile-lang-wrap {
  display: none !important;
}
