/* Lush — shared styles (header, background, fixed bars, footer, page scaffolding) */

:root {
  --bg: #0B0B0F;
  --surface: #15151B;
  --surface-hover: #1A1A22;
  --text: #F2EDE4;
  --muted: #8F8B84;
  --gold: #C9A063;
  --gold-light: #D4AE72;
  --gold-dark: #B38C50;
  --line-green: #06C755;
  --rule: rgba(255, 255, 255, .12);
  --rule-gold: rgba(201, 160, 99, .5);
  --font-serif: 'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-en: 'Jost', system-ui, sans-serif;
  --ease-lift: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: var(--text); text-decoration: none; transition: color .3s ease, background .3s ease; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; }
input, select, textarea { color-scheme: dark; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.en { font-family: var(--font-en); font-weight: 300; }

@media (max-width: 1023px) { .pc-only { display: none !important; } }
@media (min-width: 1024px) { .sp-only { display: none !important; } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bgRipple {
  0% { transform: translate(-50%, -50%) scale(.25); opacity: 0; }
  12% { opacity: var(--peak, .22); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@keyframes bgLine { 0%, 100% { opacity: .5; transform: scaleX(.6); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes bgDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(1.5vmin, -1vmin); } }
@keyframes telPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes telGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 160, 99, 0); } 50% { box-shadow: 0 0 18px 2px rgba(201, 160, 99, .45); } }
@keyframes topBurst { 0% { transform: scale(.3); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Page wrapper ---------- */
.page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-bottom: 60px; /* room for the fixed bottom bar */
}

/* ---------- Animated background (fixed, behind everything) ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}
.site-bg__layer { position: absolute; inset: 0; }
.site-bg__grid {
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 140px);
  background-position: calc(50% - 70px) 0;
}
.site-bg__hatch {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 9px);
}
.site-bg__glow {
  background:
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(201, 160, 99, .10), rgba(201, 160, 99, 0) 70%),
    radial-gradient(ellipse 55% 40% at 10% 95%, rgba(201, 160, 99, .07), rgba(201, 160, 99, 0) 70%),
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(28, 28, 39, .9), rgba(11, 11, 15, 0) 75%);
}
.site-bg__fade {
  background: linear-gradient(to bottom, rgba(11, 11, 15, .2), rgba(11, 11, 15, 0) 30%, rgba(11, 11, 15, 0) 70%, rgba(11, 11, 15, .35));
}
.ripple-src { position: absolute; width: 0; height: 0; }
.ripple {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  will-change: transform, opacity;
}
.site-bg__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform-origin: center;
  background: linear-gradient(to right, rgba(201, 160, 99, 0), rgba(201, 160, 99, .22) 50%, rgba(201, 160, 99, 0));
  animation: bgLine 12s ease-in-out infinite;
}

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.site-header__bg {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  transition: opacity .3s ease;
  pointer-events: none;
}
.site-header--transparent:not(.is-scrolled) .site-header__bg { opacity: 0; }
.site-header__bar {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo { display: flex; align-items: baseline; gap: 12px; }
.logo__word { font-family: var(--font-en); font-weight: 300; font-size: 26px; letter-spacing: .2em; color: var(--text); }
.logo__word span { color: var(--gold); }
.site-header__meta { display: flex; align-items: center; gap: 28px; }
.badge-priority {
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--gold);
  border: 1px solid var(--rule-gold);
  padding: 6px 10px 6px 14px;
  white-space: nowrap;
}
.site-header__hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: .1em;
  white-space: nowrap;
  color: var(--muted);
}
.site-header__hours span:first-child { font-size: 12px; }
.site-header__hours span:last-child { font-size: 11px; }
.site-header__tel {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: transform .45s var(--ease-lift), color .45s ease, text-shadow .45s ease;
}
.site-header__tel:hover { transform: translateY(-3px); color: var(--gold); text-shadow: 0 0 22px rgba(201, 160, 99, .7); }
.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.icon-btn--tel {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold);
  border: 1px solid var(--rule-gold);
}
.icon-btn--menu {
  flex-direction: column;
  gap: 7px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.icon-btn--menu span { display: block; width: 26px; height: 1px; background: var(--text); }

.gnav { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.gnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
}
.gnav li { flex: 1; text-align: center; }
.gnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 4px 10px;
  min-height: 44px;
  box-sizing: border-box;
  transition: transform .45s var(--ease-lift), color .45s ease, text-shadow .45s ease, background .45s ease;
}
.gnav a[aria-current="page"] { color: var(--gold); }
.gnav a:hover {
  transform: translateY(-4px);
  color: var(--gold);
  text-shadow: 0 0 22px rgba(201, 160, 99, .7), 0 0 6px rgba(201, 160, 99, .35);
  background: radial-gradient(ellipse 70% 90% at 50% 60%, rgba(201, 160, 99, .16), rgba(201, 160, 99, 0) 70%);
}
.gnav__en { font-family: var(--font-en); font-weight: 300; font-size: 13px; letter-spacing: .25em; }
.gnav__ja { font-size: 10px; letter-spacing: .15em; color: var(--muted); }

/* ---------- Full-screen menu (SP) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn .4s ease both;
  overflow-y: auto;
  padding: 80px 20px;
  box-sizing: border-box;
}
.menu[hidden] { display: none; }
.menu__close {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
}
.menu ul { list-style: none; margin: auto; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.menu ul a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 32px;
  transition: transform .45s var(--ease-lift), color .45s ease, text-shadow .45s ease;
}
.menu ul a[aria-current="page"] { color: var(--gold); }
.menu ul a:hover { transform: translateY(-4px) scale(1.04); color: var(--gold); text-shadow: 0 0 28px rgba(201, 160, 99, .7); }
.menu__ja { font-size: 1.5rem; letter-spacing: .3em; padding-left: .3em; }
.menu__en { font-family: var(--font-en); font-weight: 300; font-size: .625rem; letter-spacing: .4em; color: var(--gold); opacity: .7; }
.menu__foot {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: .1em;
}
.menu__foot a { font-size: 20px; color: var(--gold); }
.menu__foot span { font-size: 11px; color: var(--muted); }
.menu__foot span span { font-family: var(--font-serif); }

/* ---------- Fixed bottom bar (PC + SP) ---------- */
.fixbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  border-top: 1px solid var(--rule);
}
.fixbar--sp { height: 56px; grid-template-columns: 1fr 1fr 56px; }
.fixbar--pc { height: 60px; grid-template-columns: 1fr 1fr 72px; }
.fixbar__tel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--bg);
  font-weight: 500;
  transition: background .3s ease;
}
.fixbar__tel:hover, .fixbar__tel:focus { background: var(--gold-light); color: var(--bg); }
.fixbar__tel:active { background: var(--gold-dark); }
.fixbar__line {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-left: 1px solid var(--rule);
  color: var(--text);
  transition: background .3s ease, color .3s ease;
}
.fixbar__line:hover, .fixbar__line:focus, .fixbar__line:active { background: var(--line-green); color: var(--bg); }
.fixbar__top {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 0;
  border-left: 1px solid var(--rule);
  color: var(--gold);
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: .2em;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.fixbar__top:hover, .fixbar__top:focus { background: var(--surface-hover); box-shadow: inset 0 0 18px rgba(201, 160, 99, .35); }
.fixbar__top:active { background: var(--gold); color: var(--bg); }
.fixbar--sp .fixbar__tel { font-size: 14px; letter-spacing: .22em; padding-left: .22em; }
.fixbar--sp .fixbar__line { font-size: 12px; letter-spacing: .2em; }
.fixbar--sp .fixbar__top { font-size: 9px; }
.fixbar--pc .fixbar__tel,
.fixbar--pc .fixbar__line { font-size: 16px; font-weight: 500; letter-spacing: .25em; padding-left: .25em; }
.fixbar--pc .fixbar__top { font-size: 11px; }
.fixbar__tel-num { font-family: var(--font-en); font-weight: 400; letter-spacing: .1em; }
.fixbar__label { position: relative; }

.tel-pulse { position: absolute; inset: 0; display: block; animation: telGlow 2.4s ease-in-out infinite; }
.tel-pulse::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 220, .55), rgba(255, 244, 220, 0) 60%);
  animation: telPulse 2.4s ease-out infinite;
}
.top-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 99, .6), rgba(201, 160, 99, 0) 60%);
  opacity: 0;
  transform: scale(.3);
  animation: topBurst 1.6s ease-out infinite paused;
}
.fixbar__top:hover .top-burst,
.fixbar__top:focus .top-burst,
.fixbar__top:active .top-burst { animation-play-state: running; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 120px; background: rgba(21, 21, 27, .9); border-top: 1px solid var(--rule); }
.site-footer__inner { max-width: 1180px; margin: 0 auto; padding: 80px 40px 40px; box-sizing: border-box; }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 48px 64px;
  align-items: start;
}
.site-footer .logo__word { font-size: 30px; }
.site-footer address {
  margin-top: 24px;
  font-style: normal;
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: .1em;
  color: var(--muted);
}
.site-footer__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: .1em;
  color: var(--gold);
}
.site-footer__tel span { font-size: 10px; letter-spacing: .3em; }
.site-footer__mail { font-family: var(--font-en); font-weight: 300; letter-spacing: .06em; word-break: break-all; }
.site-footer__sns { margin-top: 24px; display: flex; gap: 24px; font-family: var(--font-en); font-weight: 300; font-size: 11px; letter-spacing: .3em; }
.fnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px 24px;
}
.fnav a { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; }
.fnav__ja { font-size: 13px; letter-spacing: .15em; }
.fnav__en { font-family: var(--font-en); font-weight: 300; font-size: 9px; letter-spacing: .3em; color: var(--muted); }
.site-footer__bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  line-height: 1.9;
}
.site-footer__bottom > span:last-child { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__bottom a { color: var(--muted); }

/* ---------- Page scaffolding ---------- */
.container { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; box-sizing: border-box; }
.page-head { padding-top: 184px; padding-bottom: 64px; border-bottom: 1px solid var(--rule); }
.page-head h1 { margin: 16px 0 0; font-size: 2.75rem; font-weight: 400; line-height: 1.4; letter-spacing: .2em; }
.breadcrumb { margin: 24px 0 0; font-size: 11px; letter-spacing: .15em; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.eyebrow { font-family: var(--font-en); font-weight: 300; font-size: 12px; letter-spacing: .35em; color: var(--gold); }
.section { padding-top: 96px; }
.section-title { margin: 12px 0 0; font-size: 28px; font-weight: 400; line-height: 1.5; letter-spacing: .16em; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) and (max-width: 1023px) {
  .container, .site-header__bar, .site-footer__inner { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 639px) {
  .container, .site-header__bar, .site-footer__inner { padding-left: 20px; padding-right: 20px; }
  .page { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .fixbar--sp { height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .page-head { padding-top: 112px; padding-bottom: 40px; }
  .page-head h1 { font-size: 1.875rem; }
  .section { padding-top: 72px; }
  .section-title { font-size: 1.5rem; }
  .site-footer__inner { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
