:root { 
  --ver: 20260124_base_v1_clean; 
  --bg-color: #0f172a;  /* Midnight Blue Background */
  --text-color: #e2e8f0; /* Off-white text */
  --accent-gold: #eec465; 
  --strong-yellor: #e7fca9; 
  --container-bg: rgba(30, 41, 59, 0.8);
  --border-color: rgba(255, 255, 255, 0.1);
  --price-orange: #ffaa17; 
  --base-jpy:3000; 
}

/* --- Base --- */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--bg-color);
  position: relative;
  -webkit-text-size-adjust: 100%;
}

/* --- Fixed Background --- */
.fixed-background {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -10;
  background-color: #0f172a; 
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.7)),
    url('img/chopstickers-hangout-base-main-visual.webp');
  background-size: 90% auto; 
  background-repeat: no-repeat;
  background-position: center 18%;
}

@media (min-width: 1600px) {
  .fixed-background { background-size: 80% auto; }
}

@media (max-width: 768px) {
  .fixed-background {
    background-size: auto 50%;
    background-position: center 25%;
  }
}

/* --- Header --- */
header {
  position: fixed;
  top: 0; width: 100%;
  background: transparent;
  text-align: center;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 15px;
}

.header-title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--accent-gold);
  padding: 1px 20px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(238, 196, 101, 0.2);
}

.home-link, .home-link:visited {
  color: #ffffff !important;
  text-decoration: none;
  text-shadow: 0 0 5px #fff, 0 0 10px #00b3ff, 0 0 20px #00b3ff;
}

/* Header Legal Links */
.header-legal-links {
  width: 100%;
  margin-top: 8px; 
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
  padding-right: 110px; 
  gap: 10px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.header-legal-links a {
  font-size: 0.75rem;
  color: #ccc;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4); 
  backdrop-filter: blur(2px);
  transition: all 0.2s;
  white-space: nowrap;
}

.header-legal-links a:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* Language Dropdown */
.lang-dropdown-container {
  position: fixed;
  top: 55px;
  right: 15px;
  z-index: 9999;
}

.lang-details { position: relative; display: inline-block; }

.lang-summary {
  list-style: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--accent-gold);
  font-size: .7rem;
  font-weight: bold;
  backdrop-filter: blur(4px);
  user-select: none;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-summary:hover { background: rgba(238, 196, 101, 0.2); }
.lang-summary::-webkit-details-marker { display: none; }

.lang-list {
  position: absolute;
  top: 110%; right: 0;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 5px 0;
  min-width: 120px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; overflow: hidden;
}

.lang-list a {
  display: block; padding: 8px 15px;
  color: #eee; text-decoration: none;
  font-size: 1.5rem; text-align: left;
  transition: 0.2s;
}

.lang-list a:hover { background: var(--accent-gold); color: #000; }
.lang-details[open] .lang-summary { background: var(--accent-gold); color: #000; }


/* --- Main Content Layout --- */
main {
  text-align: center;
  padding: 120px 20px 260px;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

/* --- ファーストビュー下端のフェード演出 --- */
main::after {
  content: "";
  position: fixed;
  bottom: 0; left: 0; width: 100%; height: 12vh;
  background: linear-gradient(to bottom, transparent, var(--bg-color));
  pointer-events: none; 
  z-index: 30; 
}


/* --- Hero Section (Typography & Layout) --- */
.hero-section { margin-bottom: 20px; }

.hero-catch-top {
  font-size: 1.5rem; color: #fff; margin: 0; font-weight: 500; line-height: 1.2;
}

.hero-catch-sub {
  font-size: 1.3rem; color: #eec465; margin: 5px 0 40px;
  font-weight: 800; line-height: 1.2 ; text-shadow: 0 2px 4px rgba(0,0,0,0.8); letter-spacing: 0.5px;
}

.neon-main-title {
  font-size: 2.4rem; line-height: 1.2; font-weight: 900; color: #fff;
  margin: 5px auto 10px; max-width: 900px; 
  text-shadow: 0 0 5px #ffffff, 0 0 10px #905703, 0 0 20px #454444, 0 0 40px #ff6200;
}

.highlight-ers {
  color: #ff8a80; 
  text-shadow: 0 0 10px #ff6200;
  font-style: italic;
}

.hero-time-sub {
  font-size: 1.3rem; line-height: 1.0; color: #f0eaea;
  margin: 0 auto 5px; font-weight: 600; text-transform: none;
}

.hero-description {
  font-size: 1.2rem; font-weight: 400; color: #ffffff;
  margin: 10px 0; line-height: 1.2; text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-section h2, 
.hero-section h3 {
  margin-top: 5px;
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .hero-catch-top { font-size: 1.8rem; }
  .hero-catch-sub { font-size: 1.8rem; }
  .neon-main-title { font-size: 2.5rem; margin: 20px auto; }
  .hero-time-sub { font-size: 1.6rem; }
}


/* --- Components (Buttons & Boxes) --- */
@keyframes pulseOrange {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 160, 63, 0.7); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(249, 160, 63, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 160, 63, 0); }
}

.hero-book-btn {
  display: inline-block;
  background: #825e027d;
  color: #fff;
  padding: 14px 26px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(249, 160, 63, 0.6);
  border: 1px solid #ffbe5c;
  transform: scale(1);
  animation: pulseOrange 2s infinite;
  transition: transform 0.2s;
}
.hero-book-btn:hover { transform: scale(1.05); }

.content-box {
  background: rgba(0, 0, 0, 0.45); border-radius: 8px;
  padding: 15px; margin-bottom: 20px; text-align: left;
}
.box-border-dashed {
  border: 2px dashed rgba(238, 196, 101, 0.4);
  border-radius: 12px; padding: 30px 20px;
  margin: 34px auto 40px; max-width: 820px;
}
.box-border-solid {
  max-width: 600px; width: 90%; margin: 40px auto;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 25px;
}
.benefit-box {
  background: rgba(0,0,0,0.65); border-radius: 8px; padding: 15px; margin-bottom: 20px; text-align: left;
}
.benefit-foodies { border-left: 4px solid #ff8a80; }
.benefit-jetlag { border-left: 4px solid #4fc3f7; }

.section-chip { background: var(--accent-gold); color: #000; padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 1.3rem; }


/* --- Survey Button --- */
#survey-container {
  position: absolute; top: 90px; right: 15px; z-index: 2000;
  display: flex; flex-direction: column; align-items: flex-end; transition: opacity 1s;
}
#survey-trigger {
  background: rgba(15, 23, 42, 0.8); color: #fff; border: 1px solid #eec465;
  padding: 8px 12px; border-radius: 20px; font-size: 0.8rem;
  cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  display: flex; align-items: center; gap: 6px;
  animation: gentle-pulse 2s infinite;
}
@keyframes gentle-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(238, 196, 101, 0.4); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(255, 179, 0, 0.3); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(238, 196, 101, 0); }
}
.survey-text { font-weight: 600; }

#survey-options {
  display: none; flex-direction: column; gap: 8px; margin-top: 10px;
  background: rgba(15, 23, 42, 0.95); padding: 10px; border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.2); min-width: 160px;
}
#survey-options.active { display: flex; }

.survey-opt {
  background: transparent; border: 1px solid rgba(255,255,255,0.4);
  color: #e2e8f0; padding: 8px; border-radius: 8px; cursor: pointer;
  text-align: left; font-size: 0.9rem; transition: all 0.2s;
}
.survey-opt:hover { background: #eec465; color: #0f172a; border-color: #eec465; }

@media (max-width: 480px) {
  #survey-container { top: 100px; right: 15px; }
  #survey-trigger { padding: 6px 10px; font-size: 0.75rem; }
}


/* --- Price Display Styles --- */
.price-jpy-group { color: var(--accent-gold); }
.price-foreign-group { color: var(--price-orange); }
.tax-label { color: #ffffff !important; font-size: 0.8em; margin-left: 4px; font-weight: normal; }


/* --- Cards & Lists (Souvenir/Location) --- */
.room-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  max-width: 600px;
  margin: 0 auto;
}

.access-list {
  text-align: left; display: inline-block; margin: 10px auto; padding-left: 1.2em; line-height: 1.6;
}
.access-list li { margin-bottom: 8px; }

.souvenir-img-style {
  width: 100%; max-width: 320px; height: auto; border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: 1px solid rgba(255, 255, 255, 0.2); 
}

/* --- FAQ Accordion --- */
.faq-container { max-width: 600px; margin: 20px auto; text-align: left; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 5px; }

.faq-q {
  padding: 15px 10px; cursor: pointer; font-weight: 600;
  color: #eec465; list-style: none; position: relative; transition: 0.3s;
}
.faq-q:hover { background: rgba(255, 255, 255, 0.05); }
.faq-q::after {
  content: '+'; position: absolute; right: 10px; font-weight: bold; font-size: 1.2rem;
}
.faq-item[open] .faq-q::after { content: '-'; }
.faq-a {
  padding: 10px 20px 20px; color: #ddd; line-height: 1.6; font-size: 1rem;
  background: rgba(0, 0, 0, 0.2);
}
.faq-q::-webkit-details-marker { display: none; }


/* --- Notices & Footer --- */
#notice-box {
  max-width: 600px; width: 90%; margin: 20px auto; text-align: left;
  padding: 20px; border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(238, 196, 101, 0.4) !important;
}

.notice {
  background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa; padding: 15px; border-radius: 12px; margin: 20px auto;
  max-width: 820px; text-align: left; font-size: 1rem;
}

.social-icon {
  width: 38px; height: 38px; object-fit: contain; transition: transform 0.3s;
}
.contact-links a:hover { color: var(--accent-gold); }
.contact-links a:hover .social-icon { transform: scale(1.1); }

.footer-min { margin-top: 20px; padding-bottom: 80px; color: #888; }
.footer-legal-links { margin-bottom: 30px; }
.footer-legal-links a { color: #ddd !important; text-decoration: underline; margin: 0 10px; }
.footer-legal-links a:hover { color: #eec465 !important; }


/* --- Matsuya Challenge & Gyumeshi Guide --- */
.matsuya-challenge-box {
  max-width: 600px; width: 90%; margin: 60px auto 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid #fecd06; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.matsuya-hero-img-container { position: relative; width: 100%; height: 200px; overflow: hidden; }
.matsuya-hero-img { width: 100%; height: 100%; object-fit: cover; }
.matsuya-caption {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: rgba(0,0,0,0.7); color: #fff; padding: 5px 15px; font-size: 0.8rem;
}
.matsuya-content { padding: 25px 20px; text-align: center; }
.matsuya-survival-kit {
  background: rgba(254, 205, 6, 0.1); border: 1px dashed #fecd06;
  border-radius: 8px; padding: 15px; margin-bottom: 20px;
}
.matsuya-get-btn {
  display: block; width: 100%; background: #fecd06; color: #000;
  font-weight: bold; padding: 15px 0; border-radius: 50px;
  text-decoration: none; font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(254, 205, 6, 0.4);
  transition: transform 0.2s;
}
.matsuya-get-btn:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(254, 205, 6, 0.6); }

.gyu-guide-container {
  background-color: #1a1a1a; color: #f0f0f0; padding: 20px;
  border-radius: 8px; max-width: 600px; margin: 20px auto; font-family: sans-serif;
}
.gyu-details {
  margin-bottom: 15px; border: 1px solid #444; border-radius: 5px; overflow: hidden;
}
.gyu-details[open] { border-color: #d4af37; }

.gyu-summary {
  background-color: #333; padding: 15px; cursor: pointer;
  font-weight: bold; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.3s; font-size: 1.1em;
}
.gyu-summary:hover { background-color: #444; }
.gyu-summary::after {
  content: '+'; font-size: 1.3em; color: #d4af37; font-weight: bold; margin-left: 10px;
}
.gyu-details[open] .gyu-summary::after { content: '-'; }

.gyu-content {
  padding: 20px; line-height: 1.7; background-color: #222;
  border-top: 1px solid #444; font-size: 1em; text-align: left;
}
.gyu-content strong { color: #d4af37; }
.gyu-content ul { margin: 15px 0; padding-left: 25px; }
.gyu-content li { margin-bottom: 8px; }

@media screen and (max-width: 768px) {
  .gyu-summary { padding: 15px; font-size: 1em; }
  .gyu-content { font-size: 1.1em; padding: 20px; }
}


/* --- Gallery (Background Animation) --- */
.gallery {
  position: fixed; top: 0; left: 0; height: 100vh; overflow: hidden;
  z-index: 0; opacity: 0.9; pointer-events: none; display: none; 
}
@media (min-width: 1100px) {
  .gallery {
    display: block;
    width: calc((100vw - 1024px) / 2 * 0.9);
    max-width: 250px; 
    margin-left: calc((100vw - 1024px) / 2 * 0.325);
  }
}
.gallery-track { display: flex; flex-direction: column; animation: scrollDown 60s linear infinite; }
.gallery img { width: 100%; height: auto; margin-bottom: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); }
@keyframes scrollDown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }


/* --- Midnight Sticky Container --- */
#midnight-sticky-container {
  background-color: rgba(11, 15, 25, 0.2); 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #333;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
  position: fixed; 
  bottom: 0; left: 0; right: 0; 
  width: 100%; 
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.4s ease-out;
}
#midnight-sticky-container.show { transform: translateY(0); }

.sticky-notice-bar {
  background: #151b2b; display: flex; justify-content: space-between;
  padding: 4px 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%; max-width: 600px; margin: 0 auto;
}
.sticky-nav-links {
  background: transparent; display: flex; justify-content: space-between;
  padding: 4px 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%; max-width: 600px; margin: 0 auto;
}
.nav-item { color: #aaa; text-decoration: none; font-size: 0.75rem; text-align: center; line-height: 1.1; }
.nav-item span { font-size: 1.1rem; display: block; margin-bottom: 1px; }

.sticky-main-bar { display: flex; justify-content: center; padding: 12px 0; }
.sticky-inner-wrapper { width: 100%; max-width: 600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }

.sticky-price { color: var(--accent-gold); font-weight: bold; font-size: 1.2rem; }
.sticky-sub { font-size: 0.75rem; color: var(--price-orange); margin-top: 2px; font-weight: 600; }

.sticky-btn {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: white; padding: 10px 24px; border-radius: 30px;
  text-decoration: none; font-weight: bold; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}


/* --- Snow Animations --- */
.snowflake {
  position: fixed; top: -10vh; z-index: 9999; color: #FFF;
  user-select: none; pointer-events: none; will-change: top, transform; 
  text-shadow: 0 0 5px rgba(255,255,255, 0.8);
}
@keyframes fall {
  0% { top: -10vh; opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { top: 110vh; opacity: 0; }
}
@keyframes sway {
  0% { transform: translateX(0) rotate(0deg); }
  33% { transform: translateX(25px) rotate(10deg); }
  66% { transform: translateX(-25px) rotate(-10deg); }
  100% { transform: translateX(0) rotate(0deg); }
}


/* --- PC Layout Adjustment --- */
@media (min-width: 1024px) {
  .header-legal-links {
    position: fixed; top: 22px; left: 50%; width: auto; margin-left: -380px;
    padding: 0; justify-content: flex-end; pointer-events: none;
  }
  .header-legal-links a { pointer-events: auto; }
  .lang-dropdown-container {
    top: 22px; right: auto; left: 50%; margin-left: 200px;
  }
  #survey-container {
    top: 75px; right: auto; left: 50%; margin-left: 200px; align-items: flex-start;
  }
  .lang-list { right: auto; left: 0; }
  #survey-options { align-items: flex-start; }
  header { padding-bottom: 0; }
}


/* --- Mobile Specific --- */
@media (max-width: 768px) {
  main { padding-top: 140px !important; }
  h1 { font-size: 1.8rem; margin-top: 10px !important; }
  .room-images { grid-template-columns: repeat(2, 1fr); }
  .room-photo { height: 100px; }
  #backToTopBtn { right: 15px !important; }
}


/* --- Back to Top --- */
#backToTopBtn {
  position: fixed; bottom: 161px;
  right: calc(max(20px, (100vw - 1024px) / 2 + 210px));
  width: 38px; height: 38px;
  background: #0f172a; color: #eec465; border: 1px solid #eec465; border-radius: 50%;
  z-index: 10001; display: flex; justify-content: center; align-items: center;
  text-decoration: none; font-size: 0.8rem; 
  opacity: 0; transition: opacity 0.3s, right 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
#backToTopBtn.show { opacity: 1; pointer-events: auto; }