@keyframes driftInOut {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(5px, -8px) rotate(2deg); }
  50%  { transform: translate(-5px, 10px) rotate(-2deg); }
  75%  { transform: translate(8px, 5px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
header nav a {
  font-family: 'Mochiy Pop One', cursive;
}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #fff;
}

header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.logo {
  font-size: 1.8em;
  color: #e60033;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #e60033;
}

.hero img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.hero {
  position: relative;
  background: url('../images/sample.png') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  color: #fff;
  background: none;
  padding: 0;
  max-width: 90%;
}

.hero-content h1 {
  font-size: 2em;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2em;
}

.news {
  padding: 40px 20px;
  background-color: #1a1a1a;
}

.news h2 {
  font-size: 1.5em;
  color: #e60033;
  margin-bottom: 20px;
}

.news ul {
  list-style: none;
  padding-left: 0;
  line-height: 2em;
}

footer {
  padding: 20px;
  background-color: #000;
  text-align: center;
  font-size: 0.9em;
}

.sns a {
  color: #aaa;
  text-decoration: none;
  margin: 0 8px;
}
.sns a:hover {
  color: #fff;
}
.logo-img {
  height: 80px;
  width: auto;
}

/* Simple text-based hamburger menu icon */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.nav-menu ul {
  display: flex;
  gap: 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-15px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.nav-menu.open ul {
  max-height: 500px; /* sufficient for menu items */
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  header {
    justify-content: space-between;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    background: linear-gradient(to bottom, #00ccff, #e0f7ff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 100px 30px 40px;
    border: none;
    z-index: 99;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Georgia', '游ゴシック', 'Yu Gothic', serif;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-15px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  }

  .nav-menu.open ul {
    max-height: 100vh;
    opacity: 1;
    transform: translateY(0);
  }

  nav ul {
    gap: 10px;
  }
}
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  font-size: 2.2em;
  color: #00ccff;
  text-shadow: 0 0 8px rgba(0, 204, 255, 0.8);
  border-bottom: 2px solid #00ccff;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 30px;
}

section img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin: 20px 0;
}

/* About */
.about p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Games */
.games ul {
  list-style: none;
  padding: 0;
}
.games li {
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* Events */
.events .event {
  margin: 40px auto;
  max-width: 700px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #ccf3ff, #e0fcff);
  border-left: 10px solid #00ccff;
  position: relative;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 10px rgba(0, 128, 255, 0.15);
  text-align: left;
  color: #003344;
}

.events .event::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  height: 100%;
  width: 30px;
  background: #00ccff;
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0% 100%);
}

.events .event h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #0077aa;
}

.events .event img {
  width: 100%;
  border-radius: 8px;
  margin: 15px 0;
}

.events .event p {
  line-height: 1.6;
}

/* Concafe */
.concafe .button {
  display: inline-block;
  background-color: #00ccff;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 10px;
}

/* Staff */
.staff-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.staff-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 10px;
  width: 250px;
}
.staff-card img {
  width: 100%;
  border-radius: 10px;
}
.staff-card h3 {
  margin: 10px 0 5px;
  color: #00ccff;
}
.staff-card p {
  font-size: 0.95em;
}

/* Pricing/Menu */
.pricing ul,
.menu ul {
  list-style: none;
  padding: 0;
}
.pricing li,
.menu li {
  font-size: 1.1em;
  margin: 8px 0;
}

/* Access */
.access .map img {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  border-radius: 10px;
}

/* Base body background (light tropical blue) */
body {
  background-color: #e0f7ff;
  color: #222;
}

/* Section alternation */
.about,
.menu,
.staff,
.access {
  background-color: #ffffff;
}

.games,
.events,
.concafe,
.pricing {
  background-color: #f0fcff;
}

/* Updated section titles with tropical neon accent */
section h2 {
  font-size: 2.2em;
  color: #00ccff;
  text-shadow: 0 0 8px rgba(0, 204, 255, 0.8);
  border-bottom: 2px solid #00ccff;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 30px;
}

/* Light border and subtle shadows on cards and containers */
.staff-card,
.events .event {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  color: #000;
}

.staff-card h3,
.events h3 {
  color: #00c2e0;
}

.concafe .button {
  background-color: #00ccff;
  color: #fff;
  font-weight: bold;
  border: none;
  transition: background 0.3s;
}

.concafe .button:hover {
  background-color: #00b8e0;
}

/* Adjust footer to match new color palette */
footer {
  background-color: #006778;
  color: #fff;
}

footer a {
  color: #ccfaff;
}
footer a:hover {
  color: #fff;
}
  .nav-menu ul li a {
    font-family: 'Mochiy Pop One', cursive;
    font-size: 1.6em;
    color: #003344;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 0;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.5px;
  }

  .nav-menu ul li a:hover {
    color: #000;
    transform: scale(1.05);
  }
/* Concafe - Pink × Purple Whimsical Dollhouse Theme */
.concafe {
  background: linear-gradient(135deg, #ffe4f5, #f5e6ff);
  color: #5e004f;
  font-family: 'Segoe UI', sans-serif;
  border: 4px double #d97acc;
  border-radius: 20px;
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 700px;
  box-shadow: 0 0 15px rgba(216, 112, 214, 0.3);
}

.concafe h2 {
  color: #cc33aa;
  font-family: 'Georgia', serif;
  text-shadow: 0 1px 3px rgba(255, 200, 255, 0.7);
}

.concafe img {
  border: 4px solid #ffc8ec;
  border-radius: 15px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(255, 150, 200, 0.3);
}

.concafe p {
  font-size: 1.1em;
  line-height: 1.6;
}

.concafe .button {
  background: linear-gradient(to right, #ff77cc, #cc66ff);
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 3px 8px rgba(204, 102, 255, 0.4);
  margin-top: 20px;
  display: inline-block;
  transition: 0.3s;
  animation: pulse 1.6s infinite ease-in-out;
}

.concafe .button:hover {
  background: linear-gradient(to right, #cc66ff, #ff77cc);
  transform: scale(1.05);
}
.staff-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
}

.staff-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.staff-card {
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: start;
  white-space: normal;
}
.staff-swiper {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

.staff-swiper .swiper-slide {
  background: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 6px;
  width: 110px;
  height: 140px;
  text-align: center;
  color: #003344;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.staff-swiper .swiper-slide img {
  width: 80%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 5px;
}

.staff-swiper .swiper-slide h3 {
  font-size: 1.1em;
  color: #00b8e0;
  margin: 10px 0 5px;
}

.staff-swiper .swiper-slide p {
  font-size: 0.95em;
  line-height: 1.4;
}

.staff-swiper .swiper-slide.staff-1 { background-color: #ffeef0 !important; }
.staff-swiper .swiper-slide.staff-2 { background-color: #f0faff !important; }
.staff-swiper .swiper-slide.staff-3 { background-color: #f7f0ff !important; }
.staff-swiper .swiper-slide.staff-4 { background-color: #fff6e5 !important; }
.staff-swiper .swiper-slide.staff-5 { background-color: #f5ffe8 !important; }
.staff-swiper .swiper-slide.staff-6 { background-color: #f0fff9 !important; }
.staff-swiper .swiper-slide.staff-7 { background-color: #f9f9f9 !important; }
.staff-swiper .swiper-slide.staff-8 { background-color: #e8f0ff !important; }
.staff-swiper .swiper-slide.staff-9 { background-color: #ffe8f9 !important; }
.staff-swiper .swiper-slide.staff-10 { background-color: #e5fff7 !important; }
.staff-swiper .swiper-slide.staff-11 { background-color: #fffbe0 !important; }
.staff-swiper .swiper-slide.staff-12 { background-color: #f0e8ff !important; }
.staff-swiper .swiper-slide.staff-13 { background-color: #af690d !important; }
.staff-1 { background-color: #ffeef0; }
.staff-2 { background-color: #f0faff; }
.staff-3 { background-color: #f7f0ff; }
.staff-4 { background-color: #fff6e5; }
.staff-5 { background-color: #f5ffe8; }
.staff-6 { background-color: #f0fff9; }
.staff-7 { background-color: #f9f9f9; }
.staff-8 { background-color: #e8f0ff; }
.staff-9 { background-color: #ffe8f9; }
.staff-10 { background-color: #e5fff7; }
.staff-11 { background-color: #fffbe0; }
.staff-12 { background-color: #f0e8ff; }
.staff-12 { background-color: #af690d; }

@media screen and (min-width: 1024px) {
  .staff-swiper {
    overflow-x: auto;
  }

  .staff-swiper .swiper-wrapper {
    display: flex !important;
    gap: 12px;
    transform: none !important;
  }

  .staff-swiper .swiper-slide {
    transform: none !important;
    transition: none !important;
    flex-shrink: 0;
  }
}
/* Default: show swiper, hide grid */
.mobile-staff-swiper {
  display: block;
}
.desktop-staff-grid {
  display: none;
}

@media screen and (min-width: 1024px) {
  .mobile-staff-swiper {
    display: none;
  }

  .desktop-staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px;
  }

  .desktop-staff-grid .staff-card {
    width: 110px;
    height: 140px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    text-align: center;
    color: #003344;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }

  .desktop-staff-grid .staff-card img {
    width: 80%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
  }

  .desktop-staff-grid .staff-card h3 {
    font-size: 1em;
    color: #00b8e0;
    margin: 8px 0 5px;
  }
}
/* === Scroll Animation === */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}
.hero-glow {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #ffffff, #00ffff, #ffffff);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine-once 2s forwards;
}

@keyframes shine-once {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: 0% center;
    color: #fff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }
}
/* Hamburger menu button styling */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #000;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}
.game-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 0 20px;
  margin-top: 30px;
}

.game-icon {
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #003344;
}

.game-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.fade-in-seq {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-seq.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

/* Pricing photo layout */
.pricing-photos {
  margin-top: 40px;
}

/* Responsive vertical-pair: desktop = vertical stack, mobile = hidden (swiper shown) */
.vertical-pair {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.vertical-pair img {
  width: 100%;
  max-width: 300px;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
  .vertical-pair {
    display: none;
  }
}


/* Visibility controls */
.mobile-only {
  display: none;
}
.desktop-only {
  display: flex;
}

@media (max-width: 767px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none !important;
  }
}
.concafe .button {
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.3);
  }
}
/* Drink Menu Section Image Styling */
.drink-menu img {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* === Modal Overlay for Gallery Images === */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

#caption {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 1.1em;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 20px;
  justify-items: center;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

@media screen and (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
  }
}
/* Responsive Pricing Row Layout */
.pricing-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing-row img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Special rule for top pricing image (new_user.jpg) */
.pricing-photos img[src*="new_user.jpg"] {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* === Custom Spacing Adjustments for Events and Gallery === */
.events .event:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .event-grid {
    justify-content: space-between;
    gap: 6px;
    padding: 0 10px;
    flex-wrap: wrap;
  }
  .event-box {
    width: 90px;
    height: 90px;
  }
  .sub-events {
    margin-bottom: 30px;
  }
}

/* === Sub-event Box Section and Animation === */
.sub-events {
  margin: 40px auto;
  text-align: center;
  padding: 20px;
}

.event-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
}

.event-box {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
}

.event-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 767px) {
  .event-box {
    animation: orbitDrift 7s ease-in-out infinite;
  }
}
@keyframes orbitDrift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(4px, -6px) rotate(3deg); }
  40%  { transform: translate(-4px, 6px) rotate(-2deg); }
  60%  { transform: translate(6px, 3px) rotate(2deg); }
  80%  { transform: translate(-3px, -5px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@media screen and (max-width: 767px) {
  .event-box {
    animation: orbitDrift 7s ease-in-out infinite;
  }
}
/* --- Intro Character Image Styling for Games Section --- */
.intro-character {
  max-width: 220px;
  width: 100%;
  display: block;
  margin: 20px auto 0 auto;
  border-radius: 10px;
}