.fixed-logo {
  position: fixed;
  top: -300px;
  left: -500px;
  width: 1800px;
  opacity: 0.1;
  z-index: -1000;
  pointer-events: none;
}


/* calendar  */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 11000;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
}

.modal-img {
  max-width: 100%;
  height: 60vh;
  transition: transform 0.3s ease;
}

.modal-img:hover {
  transform: scale(1.02);
  cursor: pointer;
}


/* event */
#event {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#event .event-images {
  display: flex;
  gap: 40px;
  /* justify-content: center; */
}

/* menu */
#menu h2::before, #menu h2::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 48px;

  background: url("../images/spoonfork.png") no-repeat center;
  background-size: contain;

  margin-right: 10px;
  vertical-align: middle;

  image-rendering: pixelated;
}


/* gallery */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 180px;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}


/* モーダル */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 11000;
}

.modal.is-open {
  display: flex;
}

.modal img {
  max-width: 85%;
  max-height: 85%;
  display: block;
}

/* ←→ボタン */
.modal-prev,
.modal-next,
.modal-close {
  position: absolute;
  background: black;
  color: white;
  border: 2px solid white;
  cursor: pointer;
  transition: 0.2s;
}

.modal-prev,
.modal-next {
  width: 60px;
  height: 60px;
  font-size: 24px;
  top: 50%;
}

.modal-prev { left: 5%; }
.modal-next { right: 5%; }

/* 閉じる */
.modal-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(0,0,0,0.4);
  border: 2px solid white;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 6px 12px;
  z-index: 11001;
}

.modal.is-open .modal-close {
  display: block;
}

.modal-prev:hover,
.modal-next:hover,
.modal-close:hover {
  background: var(--color-yellow);
  color: black;
  transform: scale(1.1);
}
.modal-prev:active,
.modal-next:active,
.modal-close:active {
  transform: translateY(4px); 
  box-shadow: 0 0 0 white;
}



/* =========
  RPG UI Panel
========= */
.rpg-panel {
  display: flex;
  gap: 80px;
  background: #141414;
  border: 3px solid white;
  padding: 40px 60px;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

/* =========
  RPG Tabs
========= */
.rpg-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 160px;
}

/* タブボタン（メニューもギャラリーも共通） */
.rpg-tab {
  background: none;
  border: none;
  color: var(--color-white);
  font-family: 'DotGothic16', sans-serif;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: 0.2s;
}

.rpg-tab::before {
  content: "▶︎ ";
  opacity: 0;
}

.rpg-tab.is-active::before {
  opacity: 1;
  animation: blink 1s infinite;
  color: var(--color-yellow);
}

.rpg-tab.is-active {
  color: var(--color-yellow);
}

/* =========
  RPG Content
========= */
.rpg-content {
  display: none;
  padding: 20px;
  border: 2px solid white;
  background: #111;
  min-width: 300px;
}

/* 外枠を固定高さにする */
.rpg-content {
  border: 2px solid white;
  padding: 20px;
  height: 55vh;         
  overflow-y: auto;      
  box-sizing: border-box;
}

.rpg-content.is-active {
  display: block;
}

/* 点滅 */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}


.rpg-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 100px 40px 40px;
}

.rpg-title {
  font-size: 48px;
  margin-bottom: 6vh;
  letter-spacing: 4px;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.rpg-text {
  max-width: 600px;
  font-size: 24px;
  line-height: 1.2;
}

.rpg-link {
  color: white;
  text-decoration: none;
  transition: 0.2s;
}

.rpg-link:hover {
  color: var(--color-yellow);
  transform: translateX(5px);
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}


.mobile-tab-switch {
  display: none;
}

/* .nav-buttons */
.nav-buttons {
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0;
  transition: opacity 1s ease;
}

.nav-buttons button {
  width: 50px;
  height: 50px;
  font-size: 20px;
  background: black;
  color: white;
  border: 2px solid white;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 6px;  
}

.nav-buttons button:hover {
  background: var(--color-yellow);
  color: black;
  transform: scale(1.1);
}

.nav-buttons button:active {
  transform: translateY(4px); 
  box-shadow: 0 0 0 white;
}


.title h2 {
  font-size: 3rem;
  margin-top: 2vh;
  margin-bottom: 4vh;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}


/* access */
#access h2::before, #access h2::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 48px;

  background: url("../images/map.png") no-repeat center;
  background-size: contain;

  margin-right: 10px;
  vertical-align: middle;

  image-rendering: pixelated;
}

.section-image {
  border: 3px solid white;
  padding: 10px;
  background: #111;
  display: block;
  
}

.section-image iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
  aspect-ratio: 16/9;
}



/* SNS */
.sns-icons {
  display: flex;
  gap: 40px;              /* アイコン間の間隔 */
  justify-content: center;
  margin-top: 40px;
}

.sns-icons img {
  width: 12vw;
  height: auto;
  border-radius: 16px;
  filter: invert(1);
  transition: all 0.3s ease;
}

.sns-icons img:hover {
  transform: scale(1.08);
}

.sns-icon {
  display: flex;
  flex-direction: column;
  text-align: center;
}