/* =========================================================
   lounge AIMER — 静岡・両替町 高級ラウンジ 集客HP
   Palette: crystal / lavender / ice-blue / black / gold
   ========================================================= */

:root{
  --bg:        #0a0810;
  --bg-2:      #100c18;
  --panel:     #16111f;
  --panel-2:   #1c1727;
  --line:      rgba(201,168,106,.22);

  --lav:       #c9b6e8;
  --lav-soft:  #ddd0f0;
  --ice:       #a9cfe4;
  --ice-soft:  #cfe6f2;

  --gold:      #c9a86a;
  --gold-lt:   #e6cf95;
  --gold-deep: #a2803f;

  --text:      #efeaf4;
  --muted:     #b3aac2;
  --muted-2:   #8a8299;

  --maxw:      1180px;

  --serif-en:  'Cinzel', 'Cormorant Garamond', serif;
  --serif-en2: 'Cormorant Garamond', serif;
  --serif-jp:  'Shippori Mincho', 'Noto Serif JP', serif;
  --sans-jp:   'Noto Sans JP', sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  font-family:var(--sans-jp);
  color:var(--text);
  background:var(--bg);
  line-height:1.9;
  letter-spacing:.02em;
  overflow-x:hidden;
  word-break:normal;
  overflow-wrap:anywhere;
  -webkit-font-smoothing:antialiased;
}

img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

/* Ambient crystal glow background */
body::before{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(60% 40% at 15% 8%, rgba(169,207,228,.10), transparent 60%),
    radial-gradient(55% 45% at 85% 20%, rgba(201,182,232,.12), transparent 62%),
    radial-gradient(70% 50% at 50% 100%, rgba(201,168,106,.07), transparent 60%);
  pointer-events:none;
  z-index:0;
}

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; position:relative; z-index:1; }

/* ============ shared type ============ */
.kicker{
  font-family:var(--serif-en);
  font-size:.72rem;
  letter-spacing:.42em;
  text-transform:uppercase;
  color:var(--gold-lt);
  font-weight:500;
}
.gold-rule{
  width:52px; height:1px; margin:20px auto 26px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.gold-rule.left{ margin-left:0; }

.sec-title{
  font-family:var(--serif-jp);
  font-weight:600;
  color:var(--text);
  word-break:keep-all;
  line-height:1.5;
}
.sec-title .en{
  display:block;
  font-family:var(--serif-en2);
  font-size:2.9rem;
  font-weight:600;
  letter-spacing:.14em;
  color:var(--lav-soft);
  margin-bottom:.35em;
  line-height:1;
}

.lead{
  color:var(--muted);
  font-size:.98rem;
  line-height:2.05;
  font-weight:300;
}

/* ============ buttons ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--sans-jp);
  font-weight:500;
  letter-spacing:.06em;
  padding:16px 40px;
  border-radius:999px;
  min-height:52px;
  transition:transform .35s ease, box-shadow .35s ease, background .35s ease;
  white-space:nowrap;
  position:relative;
}
.btn-line{
  background:linear-gradient(135deg,var(--gold-lt),var(--gold) 55%,var(--gold-deep));
  color:#231a0d;
  box-shadow:0 10px 34px rgba(201,168,106,.28);
  font-weight:700;
}
.btn-line:hover{ transform:translateY(-3px); box-shadow:0 16px 44px rgba(201,168,106,.42); }
.btn-line svg{ width:19px; height:19px; }
.btn-ghost{
  background:transparent;
  color:var(--lav-soft);
  border:1px solid rgba(201,182,232,.4);
}
.btn-ghost:hover{ transform:translateY(-3px); border-color:var(--lav); background:rgba(201,182,232,.06); }

/* ============ header ============ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:60;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 28px;
  transition:background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(10,8,16,.82);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  padding:12px 28px;
  border-bottom:1px solid var(--line);
}
.brand-block{ display:flex; flex-direction:column; line-height:1; }
.brand{
  font-family:var(--serif-en);
  font-size:1.4rem;
  letter-spacing:.28em;
  color:var(--lav-soft);
  font-weight:600;
  text-indent:.28em;
}
.brand-sub{
  font-family:var(--serif-en2);
  font-size:.7rem;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--gold-lt);
  margin-top:7px;
  white-space:nowrap;
}
.header-cta{
  display:inline-flex; align-items:center; gap:.5em;
  flex:0 0 auto;
  white-space:nowrap;
  font-size:.82rem; font-weight:600; letter-spacing:.08em;
  padding:10px 22px; min-height:40px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gold-lt),var(--gold));
  color:#231a0d;
}
.header-cta svg{ width:16px; height:16px; }

/* ============ hero ============ */
.hero{ position:relative; background:#0c0a14; }
.hero-media{ position:relative; width:100%; line-height:0; }
.hero-media picture{ display:block; line-height:0; }
.hero-img{
  width:100%; height:auto; display:block;
}
.hero-img.mobile{ display:none; }
/* top + bottom scrims for text legibility (faces in the middle stay clear) */
.hero-media::before{
  content:""; position:absolute; top:0; left:0; right:0; height:38%;
  background:linear-gradient(180deg, rgba(10,8,16,.62), rgba(10,8,16,0));
  z-index:1; pointer-events:none;
}
.hero-media::after{
  content:""; position:absolute; bottom:0; left:0; right:0; height:34%;
  background:linear-gradient(0deg, rgba(9,7,14,.92), rgba(9,7,14,0));
  z-index:1; pointer-events:none;
}
.hero-top{
  position:absolute; top:0; left:0; right:0; z-index:2;
  text-align:center; line-height:1.5;
  padding:clamp(78px,11vh,132px) 22px 0;
}
.hero-bottom{
  position:absolute; bottom:0; left:0; right:0; z-index:2;
  text-align:center; line-height:1.9;
  padding:0 22px clamp(30px,4.5vh,58px);
}
.hero-kicker{
  font-family:var(--serif-en);
  font-size:clamp(.7rem,1.6vw,.82rem);
  letter-spacing:.36em;
  text-transform:uppercase;
  color:var(--gold-lt);
  text-shadow:0 2px 18px rgba(0,0,0,.7);
}
.hero-title{
  font-family:var(--serif-jp);
  font-weight:700;
  font-size:clamp(1.7rem,7.4vw,4rem);
  letter-spacing:.09em;
  line-height:1.32;
  margin:16px 0 12px;
  word-break:keep-all;
  color:#fff;
  text-shadow:0 3px 30px rgba(20,10,40,.85), 0 1px 6px rgba(0,0,0,.7);
}
.hero-title .thin{ color:var(--lav-soft); }
.hero-en{
  font-family:var(--serif-en2);
  font-size:clamp(.95rem,2.2vw,1.45rem);
  font-style:italic;
  letter-spacing:.16em;
  color:var(--ice-soft);
  text-shadow:0 2px 20px rgba(0,0,0,.75);
}
.hero-lead{
  margin:0 auto 22px;
  max-width:30em;
  font-size:clamp(.86rem,2vw,.98rem);
  font-weight:300;
  line-height:2;
  color:#efe9f4;
  text-shadow:0 2px 14px rgba(0,0,0,.9);
  word-break:keep-all;
}
.hero-cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.scroll-hint{
  position:absolute; bottom:14px; left:50%; transform:translateX(-50%);
  z-index:3;
  font-family:var(--serif-en); font-size:.58rem; letter-spacing:.34em;
  color:var(--lav-soft); text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  text-shadow:0 1px 8px rgba(0,0,0,.8);
}
.scroll-hint span{ width:1px; height:38px; background:linear-gradient(var(--gold),transparent); animation:scrollpulse 2.4s ease-in-out infinite; }
@keyframes scrollpulse{ 0%,100%{opacity:.3; transform:scaleY(.6);} 50%{opacity:1; transform:scaleY(1);} }

/* ============ generic section ============ */
.section{ position:relative; padding:110px 0; }
.section-head{ text-align:center; margin-bottom:56px; }

/* ============ concept ============ */
.concept{ background:linear-gradient(180deg,var(--bg),var(--bg-2)); }
.concept-body{
  max-width:760px; margin:0 auto; text-align:center;
}
.concept-body p{
  font-size:1rem; line-height:2.2; color:var(--muted);
  font-weight:300;
}
.concept-body p + p{ margin-top:1.4em; }
.concept-marks{
  display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:44px;
}
.concept-mark{
  font-family:var(--serif-jp);
  font-size:.9rem; letter-spacing:.14em;
  color:var(--lav-soft);
  padding:10px 22px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(201,182,232,.04);
}

/* ============ cast / circular 3D carousel ============ */
.cast{ background:linear-gradient(180deg,var(--bg-2),#0c0914); overflow:hidden; }

.cast-stage-wrap{
  max-width:1060px;
  margin:0 auto;
  padding:0 20px;
  position:relative; z-index:1;
}
/* clipped perspective frame — cards are transformed inside and
   never escape it, so no horizontal scroll / off-screen elements */
.cast-viewport{
  position:relative;
  width:100%;
  /* fallback height; refined by JS to fit the (tallest) centre card so nothing is clipped */
  height:clamp(440px, 108vw, 600px);
  margin:0 auto;
  overflow:hidden;
  perspective:1180px;
  perspective-origin:50% 46%;
  cursor:grab;
  touch-action:pan-y;
}
.cast-viewport:active{ cursor:grabbing; }
/* depth vignette + soft floor glow for a premium stage feel */
.cast-viewport::before{
  content:""; position:absolute; inset:0; z-index:6; pointer-events:none;
  background:
    radial-gradient(58% 40% at 50% 93%, rgba(201,168,106,.12), transparent 70%),
    linear-gradient(90deg, rgba(10,8,16,.9), transparent 15% 85%, rgba(10,8,16,.9));
}
.cast-ring{
  position:absolute; inset:0;
  transform-style:preserve-3d;
}
.cast-ring .cast-card{
  position:absolute;
  top:50%; left:50%;
  width:min(300px, 70vw);
  margin:0;
  transform:translate(-50%,-50%) scale(.5);
  opacity:0;
  transition:transform .62s cubic-bezier(.33,0,.2,1), opacity .5s ease;
  will-change:transform, opacity;
  backface-visibility:hidden;
}
.cast-ring .cast-card.is-center{
  cursor:pointer;
  box-shadow:0 34px 84px rgba(0,0,0,.62), 0 0 0 1px rgba(230,207,149,.38);
}

.cast-card{
  border-radius:18px;
  overflow:hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201,182,232,.18), transparent 60%),
    linear-gradient(180deg,#1b1626,#120e1b);
  border:1px solid rgba(201,182,232,.24);
  box-shadow:0 22px 60px rgba(0,0,0,.55);
}
.cast-card picture{ display:block; line-height:0; }
.cast-photo{
  width:100%;
  aspect-ratio:2/3;
  object-fit:contain;
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(169,207,228,.12), transparent),
    linear-gradient(180deg,#141020,#0e0b16);
}
.cast-meta{
  padding:16px 18px 20px;
  text-align:center;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(201,168,106,.05),transparent);
}
.cast-name{
  font-family:var(--serif-en);
  font-size:1.28rem;
  letter-spacing:.22em;
  color:var(--gold-lt);
  font-weight:600;
  text-indent:.22em;
}
.cast-catch{
  margin-top:8px;
  font-family:var(--serif-jp);
  font-size:.86rem;
  line-height:1.7;
  color:var(--lav-soft);
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.cast-controls{
  display:flex; align-items:center; justify-content:center; gap:22px;
  margin-top:34px;
}
.cast-nav{
  width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(201,182,232,.4);
  background:rgba(201,182,232,.05);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--lav-soft);
  transition:background .3s, border-color .3s, transform .3s;
}
.cast-nav:hover{ background:rgba(201,182,232,.14); border-color:var(--lav); transform:translateY(-2px); }
.cast-nav svg{ width:18px; height:18px; }
.castPagination{ display:flex; gap:9px; align-items:center; }
.castPagination .cast-dot{
  width:8px; height:8px; padding:0; border:0; cursor:pointer;
  background:rgba(201,182,232,.35); border-radius:50%;
  transition:width .3s, background .3s;
}
.castPagination .cast-dot.is-active{
  width:22px; border-radius:6px;
  background:linear-gradient(90deg,var(--gold-lt),var(--gold));
}
.cast-note{
  text-align:center; margin-top:30px;
  font-size:.8rem; color:var(--muted-2); letter-spacing:.04em;
}

/* ============ interior ============ */
.interior{ background:linear-gradient(180deg,#0c0914,var(--bg)); }
.interior-body{ max-width:720px; margin:0 auto 54px; text-align:center; }
.interior-body p{ font-size:1rem; line-height:2.15; color:var(--muted); font-weight:300; }
.interior-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.interior-item{
  position:relative;
  border-radius:14px; overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 16px 44px rgba(0,0,0,.5);
}
.interior-item img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  object-position:center;
  transition:transform 1.1s ease;
}
.interior-item:hover img{ transform:scale(1.05); }
.interior-cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:38px 18px 16px;
  font-family:var(--serif-jp);
  font-size:.86rem; letter-spacing:.06em;
  color:#f2edf7;
  background:linear-gradient(180deg,transparent,rgba(8,6,12,.9));
  text-shadow:0 1px 8px rgba(0,0,0,.7);
}

/* ============ access ============ */
.access{ background:linear-gradient(180deg,var(--bg),var(--bg-2)); }
.access-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start;
}
.info-table{ width:100%; border-collapse:collapse; }
.info-table th, .info-table td{
  text-align:left; padding:17px 4px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  font-size:.94rem;
}
.info-table th{
  font-family:var(--serif-en2);
  font-weight:600; letter-spacing:.14em;
  color:var(--gold-lt);
  width:34%;
  white-space:nowrap;
}
.info-table td{ color:var(--text); font-weight:300; line-height:1.85; }
.info-table .jp-label{
  display:block; font-family:var(--serif-jp); font-size:.72rem;
  color:var(--muted-2); letter-spacing:.1em; margin-top:2px;
}
.access-note{ margin-top:24px; font-size:.86rem; color:var(--muted); line-height:1.9; font-weight:300; }
.map-col{ display:flex; flex-direction:column; height:100%; }
.map-frame{
  width:100%; flex:1; min-height:340px;
  border-radius:14px; overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 16px 44px rgba(0,0,0,.5);
  background:linear-gradient(135deg,#151120,#0e0b16);
}
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; filter:grayscale(.3) contrast(1.05) brightness(.92); }
.map-link{
  display:inline-flex; align-items:center; gap:.4em;
  align-self:flex-end;
  margin-top:8px;
  padding:11px 2px;
  min-height:44px;
  font-family:var(--serif-en2); font-size:.9rem; letter-spacing:.08em;
  color:var(--gold-lt);
  border-bottom:1px solid transparent;
  transition:border-color .3s;
}
.map-link:hover{ border-color:var(--gold-lt); }
.map-link svg{ width:14px; height:14px; }

/* ============ reservation CTA ============ */
.cta{
  position:relative;
  text-align:center;
  padding:120px 24px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(201,182,232,.12), transparent 60%),
    linear-gradient(180deg,var(--bg-2),#0b0812);
  border-top:1px solid var(--line);
}
.cta .sec-title .en{ color:var(--lav-soft); }
.cta-lead{
  max-width:34em; margin:0 auto 34px;
  color:var(--muted); font-weight:300; line-height:2.15; font-size:.98rem;
}
.cta-micro{
  margin-top:20px; font-size:.82rem; letter-spacing:.06em;
  color:var(--gold-lt);
}

/* ============ footer ============ */
.footer{
  text-align:center;
  padding:64px 24px 90px;
  background:var(--bg);
  border-top:1px solid var(--line);
}
.footer .brand{ font-size:1.5rem; justify-content:center; display:inline-block; }
.footer-tag{
  margin-top:18px; font-family:var(--serif-jp);
  font-size:.9rem; color:var(--lav-soft); letter-spacing:.08em;
  word-break:keep-all;
}
.footer-info{
  margin-top:22px; font-size:.84rem; color:var(--muted); line-height:1.95; font-weight:300;
}
.footer-warning{
  margin-top:22px; display:inline-block;
  font-size:.78rem; color:var(--muted-2);
  padding:9px 20px; border:1px solid var(--line); border-radius:999px;
}
.footer-copy{
  margin-top:28px; font-family:var(--serif-en2);
  font-size:.72rem; letter-spacing:.24em; color:var(--muted-2); text-transform:uppercase;
}

/* ============ floating fab ============ */
.fab{
  position:fixed; right:20px; bottom:20px; z-index:70;
  display:inline-flex; align-items:center; gap:.5em;
  padding:14px 22px; min-height:50px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gold-lt),var(--gold) 60%,var(--gold-deep));
  color:#231a0d; font-weight:700; font-size:.86rem; letter-spacing:.06em;
  box-shadow:0 12px 36px rgba(201,168,106,.4);
  transition:transform .3s ease, opacity .3s ease, visibility .3s ease;
}
.fab:hover{ transform:translateY(-3px); }
.fab svg{ width:19px; height:19px; }
/* hide floating CTA while an on-screen CTA (hero buttons) is visible,
   so it never overlaps in-page buttons — keeps both always pressable */
.fab.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; transform:translateY(10px); }

/* ============ reveal anim ============ */
.fi{ opacity:0; transform:translateY(26px); transition:opacity 1s ease, transform 1s ease; }
.fi.v{ opacity:1; transform:none; }
.fi-1{ transition-delay:.12s; }
.fi-2{ transition-delay:.24s; }
.fi-3{ transition-delay:.36s; }

/* ============ responsive ============ */
@media (max-width:900px){
  .access-grid{ grid-template-columns:1fr; gap:30px; }
  .sec-title .en{ font-size:2.4rem; }
}

@media (max-width:768px){
  .hero-img.desktop{ display:none; }
  .hero-img.mobile{ display:block; }
  .hero-top{ padding-top:clamp(70px,10vh,110px); }
  .hero-media::before{ height:34%; }
  .hero-media::after{
    height:52%;
    background:linear-gradient(0deg, rgba(9,7,14,.96) 30%, rgba(9,7,14,.55) 68%, rgba(9,7,14,0));
  }
  .section{ padding:80px 0; }
  .brand{ font-size:1.2rem; }
  .site-header{ padding:14px 18px; }
  .site-header.scrolled{ padding:10px 18px; }
}

@media (max-width:600px){
  .wrap{ padding:0 18px; }
  .interior-grid{ grid-template-columns:1fr; gap:16px; }
  .interior-item img{ aspect-ratio:4/3; }
  .sec-title{ word-break:normal; overflow-wrap:anywhere; }
  .sec-title .en{ font-size:2rem; }
  .btn{ padding:15px 30px; width:100%; max-width:320px; }
  .hero-cta{ flex-direction:column; align-items:center; }
  .hero-cta .btn{ width:100%; max-width:300px; }
  .concept-mark{ font-size:.82rem; padding:9px 16px; }
  .header-cta{ padding:9px 16px; font-size:.76rem; }
}

/* small phones: free header room so the LINE CTA never wraps
   (the "gentleman's club" tagline still shows in the hero kicker) */
@media (max-width:480px){
  .brand-sub{ display:none; }
}

@media (max-width:360px){
  .brand{ font-size:1.05rem; letter-spacing:.2em; }
}

/* ============ mobile hero overlap fix (phones only) ============
   PC/tablet unchanged. On phones the集合ヒーロー shows in full (people
   never cropped), the title sits over the top crystal area, and the
   lead + CTA move BELOW the image onto a solid dark panel so text
   never lands on faces and both buttons stay fully readable/pressable. */
@media (max-width:520px){
  /* image stays natural (width:100%/height:auto) → no crop, no squish */
  .hero-media{ line-height:1.9; }
  /* lead + CTA flow below the photo instead of overlaying it */
  .hero-bottom{
    position:static;
    padding:26px 20px calc(30px + env(safe-area-inset-bottom));
    background:linear-gradient(180deg,#0c0914,var(--bg));
  }
  .hero-lead{ margin:0 auto 20px; text-shadow:none; color:#e9e2f2; }
  /* keep the bottom scrim subtle since text is no longer over the image */
  .hero-media::after{ height:30%; }
}
