body {
  color: #333;
  overflow-x: hidden;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", sans-serif;
}

html[lang="en"] body {
  font-family: "Noto Sans", sans-serif;
}

html[lang="ko"] body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="zh"] body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* インナー */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: transparent;
  z-index: 1000;
}

.header__inner {
  position: relative;
}

/* ハンバーガー */
.header__hamburger {
  margin: 0;
  padding: 10px;
  outline: none;
  border: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  width: 40px;
  height: 40px;
  background-color: transparent;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header__hamburger.is-open {
  background-color: transparent;
}

.header__hamburger span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: 0.5s;
  margin: 2px 0;
}

.header__hamburger.is-open span {
  background-color: #333;
}

.header__hamburger span:nth-of-type(1) {
  top: 0;
}

.header__hamburger span:nth-of-type(2) {
  top: 0;
}

.header__hamburger span:nth-of-type(3) {
  top: 0;
}

.header__hamburger.is-open span:nth-of-type(1) {
  top: 6px;
  transform: rotate(45deg);
}

.header__hamburger.is-open span:nth-of-type(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-of-type(3) {
  top: -6px;
  transform: rotate(-45deg);
}

/* ドロワーメニュー */
.header__drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 998;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.header__drawer-nav {
  padding: 60px 20px 20px;
}

.header__drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__drawer-item {
  margin-bottom: 20px;
}

.header__drawer-item a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #666;
  transition: 0.3s;
}

.header__drawer-item a:hover {
  color: #666;
}

/* メインコンテンツ */
.main-content {
  position: relative;
}

.main-content__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.main-content__background {
  background-image: url(img/top-background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0 calc(50% - 50vw);
}

.main-content__page-inner {
  position: relative;
  max-width: 720px;
  padding: 80px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.main-content__page-background,
.main-content__top-background {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.main-content__top-background {
  background-color: #797979;
}

/* bodyの背景色（余白対策） */
.body--top {
  background-color: #797979;
}

.body--a {
  background-color: #031148;
}

.body--b {
  background-color: #785b05;
}

.body--c {
  background-color: #702853;
}

.body--d {
  background-color: #6d2707;
}

.body--e {
  background-color: #536608;
}

.body--f {
  background-color: #23637b;
}

.body--h {
  background-color: #09140e;
}

.main-content__page-background.main-content__page-background--a {
  background-color: #031148;
}

.main-content__page-background.main-content__page-background--b {
  background-color: #785b05;
}

.main-content__page-background.main-content__page-background--c {
  background-color: #702853;
}

.main-content__page-background.main-content__page-background--d {
  background-color: #6d2707;
}

.main-content__page-background.main-content__page-background--e {
  background-color: #536608;
}

.main-content__page-background.main-content__page-background--f {
  background-color: #23637b;
}

.main-content__page-background.main-content__page-background--h {
  background-color: #09140e;
}

.main-content__title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.main-content__notice {
  margin-top: 20px;
  color: #fff;
}

.main-content__lang-list {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  color: #fff;
}

.main-content__lang-item {
  font-size: 20px;
  text-align: center;
}

.main-content__map,
.main-content__room-display {
  margin-top: 20px;
  width: 100%;
}

.main-content__map img {
  width: 100%;
  aspect-ratio: 64/47;
  object-fit: cover;
}

.map__container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.map-area {
  position: absolute;
  display: block;
}

/* ----------部屋の位置-------------*/
.map-area--room-a {
  left: 22%;
  top: 3%;
  width: 10.9%;
  height: 29%;
}

.map-area--room-b {
  left: 32.7%;
  top: 13%;
  width: 12.2%;
  height: 19%;
}

.map-area--room-c {
  left: 45%;
  top: 19%;
  width: 28%;
  height: 13%;
}

.map-area--room-d {
  left: 73.3%;
  top: 9%;
  width: 10.8%;
  height: 10%;
}

.map-area--room-e {
  left: 76.2%;
  top: 19%;
  width: 8%;
  height: 13%;
}

.map-area--room-f {
  left: 76.2%;
  top: 35.9%;
  width: 8%;
  height: 8.6%;
}

.map-area--room-h {
  left: 76.3%;
  top: 52.9%;
  width: 12.3%;
  height: 46%;
}

.map-area--panel-top {
  left: 4.5%;
  top: 37%;
  width: 6%;
  height: 8%;
}

.map-area--panel-top2 {
  left: 53.5%;
  top: 29%;
  width: 8%;
  height: 4%;
}

.map-area--panel-top,
.map-area--panel-top2 {
  background-color: rgb(0, 128, 255);
}

.room--panel::before { --room-color: 0, 128, 255; }

@keyframes panel-glow {
  0% {
    border-color: rgba(0, 128, 255, 0.6);
    box-shadow: 0 0 8px rgba(0, 128, 255, 0.2),
                0 0 15px rgba(0, 128, 255, 0.1);
    transform: scale(1);
  }
  50% {
    border-color: rgb(0, 128, 255);
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.35),
                0 0 25px rgba(0, 128, 255, 0.2);
    transform: scale(1.02);
  }
  100% {
    border-color: rgba(0, 128, 255, 0.6);
    box-shadow: 0 0 8px rgba(0, 128, 255, 0.2),
                0 0 15px rgba(0, 128, 255, 0.1);
    transform: scale(1);
  }
}

/* スクリーンリーダー用のテキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* タッチデバイス対応 */
@media (hover: none) and (pointer: coarse) {
  .map-area {
    min-height: 20px;
  }
}

.main-content__back {
  margin-top: 40px;
  width: 100%;
  text-align: center;
}

.main-content__back-link {
  text-decoration: none;
  font-size: 18px;
  display: block;
  font-weight: bold;
  padding: 10px 0;
  color: #333;
  border: 1px solid;
  border-radius: 8px;
  background-color: #fff;
}

/* ------------------------------------------*/
/* 番号表示共通スタイル */
/* ------------------------------------------*/
.map-areaTop--exhibit1-1::before,
.map-areaTop--exhibit1-2::before,
.map-areaTop--exhibit1-3::before,
.map-areaTop--exhibit1-4::before,
.map-areaTop--exhibit2-1::before,
.map-areaTop--exhibit2-2::before,
.map-areaA--exhibit1-1::before,
.map-areaA--exhibit1-2::before,
.map-areaA--exhibit1-3::before,
.map-areaB--exhibit1-1::before,
.map-areaB--exhibit1-2::before,
.map-areaB--exhibit1-3::before,
.map-areaB--exhibit2-1::before,
.map-areaB--exhibit2-2::before,
.map-areaB--exhibit3-1::before,
.map-areaB--exhibit3-2::before,
.map-areaB--exhibit3-3::before,
.map-areaB--exhibit3-4::before,
.map-areaB--exhibit3-5::before,
.map-areaB--exhibit3-6::before,
.map-areaC--exhibit1-1::before,
.map-areaD--exhibit1-1::before,
.map-areaD--exhibit1-2::before,
.map-areaD--exhibit2-1::before,
.map-areaD--exhibit2-2::before,
.map-areaD--exhibit2-3::before,
.map-areaD--exhibit2-4::before,
.map-areaD--exhibit3-1::before,
.map-areaD--exhibit3-2::before,
.map-areaD--exhibit3-3::before,
.map-areaD--exhibit3-4::before,
.map-areaD--exhibit4-1::before,
.map-areaD--exhibit4-2::before,
.map-areaD--exhibit4-3::before,
.map-areaD--exhibit4-4::before,
.map-areaE--exhibit1-1::before,
.map-areaE--exhibit1-2::before,
.map-areaE--exhibit1-3::before,
.map-areaE--exhibit2-1::before,
.map-areaE--exhibit2-2::before,
.map-areaE--exhibit2-3::before,
.map-areaE--exhibit2-4::before,
.map-areaE--exhibit2-5::before,
.map-areaF--exhibit1-1::before,
.map-areaF--exhibit1-2::before,
.map-areaF--exhibit1-3::before,
.map-areaF--exhibit1-4::before,
.map-areaF--exhibit2-1::before,
.map-areaH--exhibit1-1::before,
.map-areaH--exhibit1-2::before,
.map-areaH--exhibit1-3::before,
.map-areaH--exhibit1-4::before,
.map-areaH--exhibit1-5::before,
.map-areaH--exhibit1-6::before,
.map-areaH--exhibit1-7::before,
.map-areaH--exhibit1-8::before,
.map-areaH--exhibit1-9::before,
.map-areaH--exhibit2-1::before,
.map-areaH--exhibit2-2::before,
.map-areaH--exhibit2-3::before,
.map-areaH--exhibit2-4::before,
.map-areaH--exhibit3-1::before,
.map-areaH--exhibit3-2::before,
.map-areaH--exhibit3-3::before,
.map-areaH--exhibit3-4::before {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background: rgba(0, 128, 255, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ------------------------------------------*/
/* ----------Top-1 お手洗いご案内----------- */
/* ------------------------------------------*/
.map-areaTop--exhibit1-1 {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 29%;
  height: 10%;
  z-index: 10;
}

.map-areaTop--exhibit1-2 {
  left: 20%;
  transform: translateX(-50%);
  top: 10%;
  width: 24%;
  height: 30%;
  z-index: 10;
}

.map-areaTop--exhibit1-3 {
  left: 50%;
  transform: translateX(-50%);
  top: 13%;
  width: 24%;
  height: 28%;
  z-index: 10;
}

.map-areaTop--exhibit1-4 {
  left: 80%;
  transform: translateX(-50%);
  top: 13%;
  width: 24%;
  height: 28%;
  z-index: 10;
}

/* 番号表示 */
.map-areaTop--exhibit1-1::before { content: "1"; }
.map-areaTop--exhibit1-2::before { content: "2"; }
.map-areaTop--exhibit1-3::before { content: "3"; }
.map-areaTop--exhibit1-4::before { content: "4"; }

/* ------------------------------------------*/
/* ----------Top-2 総合案内----------- */
/* ------------------------------------------*/
.map-areaTop--exhibit2-1 {
  left: 5%;
  top: 38%;
  width: 57%;
  height: 25%;
  z-index: 10;
}

.map-areaTop--exhibit2-2 {
  left: 2%;
  bottom: 0;
  width: 58%;
  height: 37%;
  z-index: 10;
}

/* 番号表示 */
.map-areaTop--exhibit2-1::before { content: "1"; }
.map-areaTop--exhibit2-2::before { content: "2"; }

/* ------------------------------------------*/
/* ----------Room A----------- */
/* ------------------------------------------*/
.map-areaA--exhibit1 {
  left: 50%;
  transform: translateX(-50%);
  bottom: -3%;
  width: 35%;
  height: 16%;
  z-index: 10;
}

/* Room A 展示物エリアの透過オーバーレイ */
.map-areaA--exhibit1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 255, 0.4);
  border: 2px solid rgba(0, 128, 255, 0.6);
  border-radius: 4px;
  animation: glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* ----------A-1 Room A--------- */
.map-areaA--exhibit1-1 {
  left: 35%;
  transform: translateX(-50%);
  top: 22%;
  width: 47%;
  height: 12%;
  z-index: 10;
}

.map-areaA--exhibit1-2 {
  left: 40%;
  transform: translateX(-50%);
  top: 54%;
  width: 58%;
  height: 23%;
  z-index: 10;
}

.map-areaA--exhibit1-3 {
  left: 28%;
  transform: translateX(-50%);
  top: 78%;
  width: 33%;
  height: 17%;
  z-index: 10;
}

/* 番号表示 */
.map-areaA--exhibit1-1::before { content: "1"; }
.map-areaA--exhibit1-2::before { content: "2"; }
.map-areaA--exhibit1-3::before { content: "3"; }

/* ------------------------------------------*/
/* ----------Room B----------- */
/* ------------------------------------------*/
.map-areaB--exhibit1 {
  left: 25%;
  bottom: 0;
  width: 23%;
  height: 18%;
  z-index: 10;
}

.map-areaB--exhibit2 {
  left: 25%;
  top: 0;
  width: 23%;
  height: 18%;
  z-index: 10;
}

.map-areaB--exhibit3 {
  right: 27%;
  bottom: 0;
  width: 23%;
  height: 18%;
  z-index: 10;
}

/* Room B 展示物エリアの透過オーバーレイ */
.map-areaB--exhibit1::before,
.map-areaB--exhibit2::before,
.map-areaB--exhibit3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 255, 0.4);
  border: 2px solid rgba(0, 128, 255, 0.6);
  border-radius: 4px;
  animation: glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* --------- B-1 Room B --------- */
.map-areaB--exhibit1-1 {
  left: 10%;
  top: 20%;
  width: 62%;
  height: 12%;
  z-index: 10;
}

.map-areaB--exhibit1-2 {
  left: 10%;
  top: 49%;
  width: 61%;
  height: 25%;
  z-index: 10;
}

.map-areaB--exhibit1-3 {
  left: 10%;
  top: 74%;
  width: 61%;
  height: 25%;
  z-index: 10;
}

/* ----------B-2 Room B　----------- */
.map-areaB--exhibit2-1 {
  left: 8%;
  top: 1%;
  width: 54%;
  height: 25%;
  z-index: 10;
}

.map-areaB--exhibit2-2 {
  left: 4%;
  top: 44%;
  width: 25%;
  height: 17%;
  z-index: 10;
}

/* ----------B-3 Room B----------- */
.map-areaB--exhibit3-1 {
  left: 29%;
  top: 29%;
  width: 45%;
  height: 12%;
  z-index: 10;
}

.map-areaB--exhibit3-2 {
  right: 0;
  top: 52%;
  width: 26%;
  height: 18%;
  z-index: 10;
}

.map-areaB--exhibit3-3 {
  right: 61px;
  bottom: 6%;
  width: 31%;
  height: 26%;
  z-index: 10;
}

.map-areaB--exhibit3-4 {
  left: 61px;
  bottom: 6%;
  width: 31%;
  height: 26%;
  z-index: 10;
}

.map-areaB--exhibit3-5 {
  left: 0;
  top: 46%;
  width: 26%;
  height: 23%;
  z-index: 10;
}

.map-areaB--exhibit3-6 {
  left: 0;
  top: 20%;
  width: 26%;
  height: 23%;
  z-index: 10;
}

/* 番号表示 */
.map-areaB--exhibit1-1::before { content: "1"; }
.map-areaB--exhibit1-2::before { content: "2"; }
.map-areaB--exhibit1-3::before { content: "3"; }
.map-areaB--exhibit2-1::before { content: "1"; }
.map-areaB--exhibit2-2::before { content: "2"; }
.map-areaB--exhibit3-1::before { content: "1"; }
.map-areaB--exhibit3-2::before { content: "2"; }
.map-areaB--exhibit3-3::before { content: "3"; }
.map-areaB--exhibit3-4::before { content: "4"; }
.map-areaB--exhibit3-5::before { content: "5"; }
.map-areaB--exhibit3-6::before { content: "6"; }

/* ------------------------------------------*/
/* ----------Room C----------- */
/* ------------------------------------------*/
.map-areaC--exhibit1 {
  left: 9%;
  bottom: 4%;
  width: 18%;
  height: 33%;
  z-index: 10;
}

/* Room C 展示物エリアの透過オーバーレイ */
.map-areaC--exhibit1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 255, 0.4);
  border: 2px solid rgba(0, 128, 255, 0.6);
  border-radius: 4px;
  animation: glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* ----------C-1 Room C----------- */
.map-areaC--exhibit1-1 {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* 番号表示 */
.map-areaC--exhibit1-1::before { content: "1"; }

/* ------------------------------------------*/
/* ----------Room D----------- */
/* ------------------------------------------*/
.map-areaD--exhibit1 {
  left: 16%;
  bottom: 0;
  width: 18%;
  height: 29%;
  z-index: 10;
}

.map-areaD--exhibit2 {
  left: 51%;
  bottom: 0;
  width: 17%;
  height: 34%;
  z-index: 10;
}

.map-areaD--exhibit3 {
  right: 16%;
  bottom: 0;
  width: 16.6%;
  height: 34%;
  z-index: 10;
}

.map-areaD--exhibit4 {
  left: 34%;
  bottom: 0;
  width: 18%;
  height: 34%;
  z-index: 10;
}

/* Room D 展示物エリアの透過オーバーレイ */
.map-areaD--exhibit1::before,
.map-areaD--exhibit2::before,
.map-areaD--exhibit3::before,
.map-areaD--exhibit4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 255, 0.4);
  border: 2px solid rgba(0, 128, 255, 0.6);
  border-radius: 4px;
  animation: glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* ----------D-1 Room D　----------- */
.map-areaD--exhibit1-1 {
  right: 4%;
  top: 19%;
  width: 88%;
  height: 21%;
  z-index: 10;
}

.map-areaD--exhibit1-2 {
  left: 7%;
  top: 58%;
  width: 88%;
  height: 42%;
  z-index: 10;
}

/* ----------D-2 Room D　----------- */
.map-areaD--exhibit2-1 {
  right: 9%;
  top: 0;
  width: 83%;
  height: 15%;
  z-index: 10;
}

.map-areaD--exhibit2-2 {
  right: 3%;
  top: 15%;
  width: 48%;
  height: 36%;
  z-index: 10;
}

.map-areaD--exhibit2-3 {
  left: 4%;
  bottom: 0;
  width: 45%;
  height: 47%;
  z-index: 10;
}

.map-areaD--exhibit2-4 {
  right: 7%;
  bottom: 10%;
  width: 44%;
  height: 14%;
  z-index: 10;
}

/* ----------D-3 Room D　----------- */
.map-areaD--exhibit3-1 {
  right: 9%;
  top: 17%;
  width: 40%;
  height: 21%;
  z-index: 10;
}

.map-areaD--exhibit3-2 {
  right: 0;
  top: 37%;
  width: 48%;
  height: 58%;
  z-index: 10;
}

.map-areaD--exhibit3-3 {
  left: 29%;
  bottom: 8%;
  width: 27%;
  height: 50%;
  z-index: 10;
}

.map-areaD--exhibit3-4 {
  left: 2%;
  bottom: 10%;
  width: 27%;
  height: 49%;
  z-index: 10;
}

/* ----------D-4 Room D　----------- */
.map-areaD--exhibit4-1 {
  right: 2%;
  top: 19%;
  width: 41%;
  height: 51%;
  z-index: 10;
}

.map-areaD--exhibit4-2 {
  left: 32%;
  top: 53%;
  width: 27%;
  height: 34%;
  z-index: 10;
}

.map-areaD--exhibit4-3 {
  right: 35%;
  bottom: 0;
  width: 21%;
  height: 14%;
  z-index: 10;
}

.map-areaD--exhibit4-4 {
  left: 0;
  bottom: 0;
  width: 31%;
  height: 37%;
  z-index: 10;
}

/* 番号表示 */
.map-areaD--exhibit1-1::before { content: "1"; }
.map-areaD--exhibit1-2::before { content: "2"; }
.map-areaD--exhibit2-1::before { content: "1"; }
.map-areaD--exhibit2-2::before { content: "2"; }
.map-areaD--exhibit2-3::before { content: "3"; }
.map-areaD--exhibit2-4::before { content: "4"; }
.map-areaD--exhibit3-1::before { content: "1"; }
.map-areaD--exhibit3-2::before { content: "2"; }
.map-areaD--exhibit3-3::before { content: "3"; }
.map-areaD--exhibit3-4::before { content: "4"; }
.map-areaD--exhibit4-1::before { content: "1"; }
.map-areaD--exhibit4-2::before { content: "2"; }
.map-areaD--exhibit4-3::before { content: "3"; }
.map-areaD--exhibit4-4::before { content: "4"; }

/* ------------------------------------------*/
/* ----------Room E----------- */
/* ------------------------------------------*/
.map-areaE--exhibit1 {
  left: 4%;
  top: 39%;
  width: 24%;
  height: 29%;
  z-index: 10;
}

.map-areaE--exhibit2 {
  right: 16%;
  top: 0;
  width: 27%;
  height: 28%;
  z-index: 10;
}

/* Room E 展示物エリアの透過オーバーレイ */
.map-areaE--exhibit1::before,
.map-areaE--exhibit2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 255, 0.4);
  border: 2px solid rgba(0, 128, 255, 0.6);
  border-radius: 4px;
  animation: glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* ----------E-1 Room E　----------- */
.map-areaE--exhibit1-1 {
  right: 4%;
  top: 19%;
  width: 88%;
  height: 14%;
  z-index: 10;
}

.map-areaE--exhibit1-2 {
  left: 7%;
  top: 51%;
  width: 88%;
  height: 28%;
  z-index: 10;
}

.map-areaE--exhibit1-3 {
  right: 7%;
  bottom: 0;
  width: 88%;
  height: 21%;
  z-index: 10;
}

/* ----------E-2 Room E　----------- */
.map-areaE--exhibit2-1 {
  left: 0;
  top: 19%;
  width: 34%;
  height: 21%;
  z-index: 10;
}

.map-areaE--exhibit2-2 {
  left: 7%;
  top: 39%;
  width: 21%;
  height: 51%;
  z-index: 10;
}

.map-areaE--exhibit2-3 {
  left: 25%;
  top: 38%;
  width: 42%;
  height: 18%;
  z-index: 10;
}
.map-areaE--exhibit2-4 {
  left: 30%;
  top: 56%;
  width: 38%;
  height: 38%;
  z-index: 10;
}
.map-areaE--exhibit2-5 {
  right: 0;
  top: 38%;
  width: 36%;
  height: 36%;
  z-index: 10;
}

/* 番号表示 */
.map-areaE--exhibit1-1::before { content: "1"; }
.map-areaE--exhibit1-2::before { content: "2"; }
.map-areaE--exhibit1-3::before { content: "3"; }
.map-areaE--exhibit2-1::before { content: "1"; }
.map-areaE--exhibit2-2::before { content: "2"; }
.map-areaE--exhibit2-3::before { content: "3"; }
.map-areaE--exhibit2-4::before { content: "4"; }
.map-areaE--exhibit2-5::before { content: "5"; }

/* ------------------------------------------*/
/* ----------Room F----------- */
/* ------------------------------------------*/
.map-areaF--exhibit1 {
  left: 0;
  top: 1%;
  width: 27%;
  height: 36%;
  z-index: 10;
}

.map-areaF--exhibit2 {
  left: 36%;
  top: 26%;
  width: 37%;
  height: 42%;
  z-index: 10;
}

/* Room F 展示物エリアの透過オーバーレイ */
.map-areaF--exhibit1::before,
.map-areaF--exhibit2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 255, 0.4);
  border: 2px solid rgba(0, 128, 255, 0.6);
  border-radius: 4px;
  animation: glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* ----------F-1 Room F　----------- */
.map-areaF--exhibit1-1 {
  right: 4%;
  top: 19%;
  width: 88%;
  height: 14%;
  z-index: 10;
}

.map-areaF--exhibit1-2 {
  left: 7%;
  top: 51%;
  width: 88%;
  height: 22%;
  z-index: 10;
}

.map-areaF--exhibit1-3 {
  right: 7%;
  bottom: 15%;
  width: 88%;
  height: 12%;
  z-index: 10;
}

.map-areaF--exhibit1-4 {
  right: 7%;
  bottom: 0;
  width: 88%;
  height: 15%;
  z-index: 10;
}

/* ----------F-2 Room F　----------- */
.map-areaF--exhibit2-1 {
  left: 0;
  top: 17%;
  width: 40%;
  height: 27%;
  z-index: 10;
}

/* 番号表示 */
.map-areaF--exhibit1-1::before { content: "1"; }
.map-areaF--exhibit1-2::before { content: "2"; }
.map-areaF--exhibit1-3::before { content: "3"; }
.map-areaF--exhibit1-4::before { content: "4"; }
.map-areaF--exhibit2-1::before { content: "1"; }

/* ------------------------------------------*/
/* ----------Room H----------- */
/* ------------------------------------------*/
.map-areaH--exhibit1 {
  left: 0;
  top: 38%;
  width: 27%;
  height: 12%;
  z-index: 10;
}

/* Room H 展示物エリアの透過オーバーレイ */
.map-areaH--exhibit1::before,
.map-areaH--exhibit2::before,
.map-areaH--exhibit3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 255, 0.4);
  border: 2px solid rgba(0, 128, 255, 0.6);
  border-radius: 4px;
  animation: glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 4px rgba(0, 128, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 12px rgba(0, 128, 255, 0.8);
  }
}

.map-areaH--exhibit2 {
  left: 0;
  top: 50%;
  width: 27%;
  height: 10%;
  z-index: 10;
}

.map-areaH--exhibit3 {
  left: 0;
  bottom: 17%;
  width: 27%;
  height: 12%;
  z-index: 10;
}

/* ----------H-1 Room H　----------- */
.map-areaH--exhibit1-1 {
  left: 22%;
  top: 0;
  width: 57%;
  height: 12%;
  z-index: 10;
}

/* 番号表示 */
.map-areaH--exhibit1-1::before { content: "1"; }
.map-areaH--exhibit1-2::before { content: "2"; }
.map-areaH--exhibit1-3::before { content: "3"; }
.map-areaH--exhibit1-4::before { content: "4"; }

.map-areaH--exhibit1-2 {
  left: 3%;
  top: 23%;
  width: 24%;
  height: 61%;
  z-index: 10;
}

.map-areaH--exhibit1-3 {
  left: 25%;
  top: 14%;
  width: 34%;
  height: 72%;
  z-index: 10;
}

.map-areaH--exhibit1-4 {
  left: 58%;
  top: 17%;
  width: 41%;
  height: 45%;
  z-index: 10;
}
.map-areaH--exhibit1-5 {
  right: 0;
  top: 25%;
  width: 17%;
  height: 20%;
  z-index: 10;
}
.map-areaH--exhibit1-6 {
  left: 4%;
  top: 49%;
  width: 23%;
  height: 35%;
  z-index: 10;
}
.map-areaH--exhibit1-7 {
  left: 26%;
  top: 49%;
  width: 20%;
  height: 35%;
  z-index: 10;
}
.map-areaH--exhibit1-8 {
  left: 43%;
  top: 49%;
  width: 32%;
  height: 38%;
  z-index: 10;
}
.map-areaH--exhibit1-9 {
  right: 0;
  top: 49%;
  width: 17%;
  height: 20%;
  z-index: 10;
}

/* ----------H-2 Room H　----------- */
.map-areaH--exhibit2-1 {
  left: 22%;
  top: 0;
  width: 57%;
  height: 12%;
  z-index: 10;
}

/* 番号表示 */
.map-areaH--exhibit2-1::before { content: "1"; }
.map-areaH--exhibit2-2::before { content: "2"; }
.map-areaH--exhibit2-3::before { content: "3"; }
.map-areaH--exhibit2-4::before { content: "4"; }

.map-areaH--exhibit2-2 {
  left: 2%;
  top: 33%;
  width: 30%;
  height: 41%;
  z-index: 10;
}
.map-areaH--exhibit2-3 {
  left: 32%;
  top: 23%;
  width: 28%;
  height: 43%;
  z-index: 10;
}
.map-areaH--exhibit2-4 {
  right: 2%;
  top: 23%;
  width: 38%;
  height: 55%;
  z-index: 10;
}

.map-areaH--exhibit2-5 {
  right: 0;
  top: 27%;
  width: 20%;
  height: 22%;
  z-index: 10;
}
.map-areaH--exhibit2-6 {
  left: 3%;
  top: 51%;
  width: 17%;
  height: 15%;
  z-index: 10;
}

.map-areaH--exhibit2-7 {
  left: 18%;
  top: 51%;
  width: 17%;
  height: 24%;
  z-index: 10;
}

.map-areaH--exhibit2-8 {
  left: 32%;
  top: 51%;
  width: 25%;
  height: 14%;
  z-index: 10;
}

.map-areaH--exhibit2-9 {
  right: 21%;
  top: 51%;
  width: 21%;
  height: 28%;
  z-index: 10;
}

.map-areaH--exhibit2-10 {
  right: 0;
  top: 51%;
  width: 21%;
  height: 10%;
  z-index: 10;
}

/* ----------H-3 Room H　----------- */
.map-areaH--exhibit3-1 {
  left: 22%;
  top: 0;
  width: 57%;
  height: 12%;
  z-index: 10;
}

/* 番号表示 */
.map-areaH--exhibit3-1::before { content: "1"; }
.map-areaH--exhibit3-2::before { content: "2"; }
.map-areaH--exhibit3-3::before { content: "3"; }
.map-areaH--exhibit3-4::before { content: "4"; }

.map-areaH--exhibit3-2 {
  left: 4%;
  top: 33%;
  width: 41%;
  height: 40%;
  z-index: 10;
}
.map-areaH--exhibit3-3 {
  left: 45%;
  top: 34%;
  width: 28%;
  height: 53%;
  z-index: 10;
}
.map-areaH--exhibit3-4 {
  right: 0;
  top: 23%;
  width: 28%;
  height: 35%;
  z-index: 10;
}

.main-content__room-display {
  position: relative;
  max-width: 300px;
}

.main-content__room-display img {
  width: 100%;
  object-fit: cover;
}

/* 部屋のアスペクト比 */
.main-content__room-display.main-content__room-display--a {
  max-width: 230px;
}

.main-content__room-display.main-content__room-display--a img {
  aspect-ratio: 52/103;
}

.main-content__room-display.main-content__room-display--b img {
  aspect-ratio: 242/271;
}

.main-content__room-display.main-content__room-display--c img {
  aspect-ratio: 465/182;
}

.main-content__room-display.main-content__room-display--d img {
  aspect-ratio: 212/149;
}

.main-content__room-display.main-content__room-display--e img {
  aspect-ratio: 77/90;
}

.main-content__room-display.main-content__room-display--f img {
  aspect-ratio: 153/122;
}

.main-content__room-display.main-content__room-display--h {
  max-width: 230px;
}

.main-content__room-display.main-content__room-display--h img {
  aspect-ratio: 52/128;
}

/* 共通スタイル */
.main-content__room-display img {
  width: 100%;
  object-fit: cover;
}

/* 各部屋ごとのアスペクト比 */


.main-content__room-display.top_1 img {
  aspect-ratio: 160/107;
}
.main-content__room-display.top_2 img {
  aspect-ratio: 587/781;
}

/* 縦長画像用（max-width: 230px） */
.main-content__room-display.a_1,
.main-content__room-display.b_1,
.main-content__room-display.d_1,
.main-content__room-display.e_1,
.main-content__room-display.f_1 {
  max-width: 230px;
  margin: 20px auto 0;
}

.main-content__room-display.a_1 img {
  aspect-ratio: 40/87;
}
.main-content__room-display.b_1 img {
  aspect-ratio: 40/87;
}
.main-content__room-display.b_2 img {
  aspect-ratio: 445/769;
}
.main-content__room-display.b_3 img {
  aspect-ratio: 287/362;
}
.main-content__room-display.c_1 img {
  aspect-ratio: 412/511;
}
.main-content__room-display.d_1 img {
  aspect-ratio: 407/766;
}
.main-content__room-display.d_2 img {
  aspect-ratio: 919/1501;
}
.main-content__room-display.d_3 img {
  aspect-ratio: 574/549;
}
.main-content__room-display.d_4 img {
  aspect-ratio: 300/240;
}
.main-content__room-display.e_1 img {
  aspect-ratio: 323/770;
}
.main-content__room-display.e_2 img {
  aspect-ratio: 289/372;
}
.main-content__room-display.f_1 img {
  aspect-ratio: 403/885;
}
.main-content__room-display.f_2 img {
  aspect-ratio: 300/385;
}
.main-content__room-display.h_1 img {
  aspect-ratio: 582/773;
}
.main-content__room-display.h_2 img {
  aspect-ratio: 1152/1536;
}
.main-content__room-display.h_3 img {
  aspect-ratio: 287/384;
}

/* Magnific Popup用設定 */
/* モーダル表示時の背景スクロール防止 */
html.mfp-helper {
  overflow: hidden;
}

.mfp-wrap {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ポップアップコンテンツ共通ベース */
.inline-wrap,
.guide,
.facility,
.visitor-info {
  position: relative;
  margin: 10px auto;
  max-width: 700px;
  background: #fff;
  padding: 20px 30px;
}

.inline-wrap {
  padding: 40px 30px;
}
.inline-wrap p {
  line-height: 1.5;
}


.inline-wrap h2 {
  border-bottom: 1px solid;
}


.inline-wrap li {
  list-style-type: disc;
  margin-left: 20px;
}

.inline-wrap .image {
  margin-top: 10px;
  text-align: center;
}

.inline-wrap .popup-modal-dismiss {
  margin-top: 30px;
  text-align: center;
}

.inline-wrap .image,
.inline-wrap .popup-modal-dismiss a {
  text-decoration: underline;
  color: #0080ff;
}

#room_a_1_1 h1 {
  color: #031148;
}

#room_b_1_1 h1,
#room_b_2_1 h1,
#room_b_3_1 h1 {
  color: #785b05;
}

#room_d_1_1 h1,
#room_d_2_1 h1,
#room_d_3_1 h1,
#room_d_4_1 h1 {
  color: #6d2707;
}

#room_e_1_1 h1 {
  color: #536608;
}

#room_f_1_1 h1,
#room_f_2_1 h1 {
  color: #23637b;
}

#room_h_1_1 h1,
#room_h_2_1 h1,
#room_h_3_1 h1 {
  color: #09140e;
}

/* Magnific Popup カスタマイズ */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mfp-content {
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 部屋の枠線アニメーション */
.room {
  position: absolute;
  cursor: pointer;
}

.room::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid;
  animation: room-glow 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* 各部屋の色設定 */
.room--a::before { --room-color: 3, 17, 72; }
.room--b::before { --room-color: 120, 91, 5; }
.room--c::before { --room-color: 112, 40, 83; }
.room--d::before { --room-color: 109, 39, 7; }
.room--e::before { --room-color: 83, 102, 8; }
.room--f::before { --room-color: 35, 99, 123; }
.room--h::before { --room-color: 9, 20, 14; }

/* スクロール中はアニメーション停止（iOS Chrome対策） */
.is-scrolling .room::before,
.is-scrolling .map-area::before {
  animation: none;
}

/* 共通の光るアニメーション */
@keyframes room-glow {
  0% {
    border-color: rgba(var(--room-color), 0.6);
    box-shadow: 0 0 8px rgba(var(--room-color), 0.4),
                0 0 15px rgba(var(--room-color), 0.2);
    transform: scale(1);
  }
  50% {
    border-color: rgb(var(--room-color));
    box-shadow: 0 0 15px rgba(var(--room-color), 0.7),
                0 0 25px rgba(var(--room-color), 0.4);
    transform: scale(1.02);
  }
  100% {
    border-color: rgba(var(--room-color), 0.6);
    box-shadow: 0 0 8px rgba(var(--room-color), 0.4),
                0 0 15px rgba(var(--room-color), 0.2);
    transform: scale(1);
  }
}

/* ------------------------------------------*/
/* Guide Block */
/* ------------------------------------------*/

.guide__intro {
  line-height: 1.5;
  padding-top: 10px;
}

.guide__item {
  padding-top: 40px;
}

.guide__heading {
  border-bottom: 1px solid;
}

.guide__text {
  padding-top: 10px;
  line-height: 1.5;
}

/* ------------------------------------------*/
/* Facility List */
/* ------------------------------------------*/

.facility__list {
  list-style: none;
  padding: 0;
  margin-top: 1em;
  
}

/* ------------------------------------------*/
/* Visitor Info */
/* ------------------------------------------*/

.visitor-info__section {
  padding-top: 40px;
}

.visitor-info__heading {
  border-bottom: 1px solid;
}

.visitor-info__item {
  margin-top: 40px;
}

.visitor-info__text {
  line-height: 1.5;
}

.visitor-info__text-title {
  font-weight: bold;
}

.visitor-info__list {
  list-style-type: disc;
font-weight: bold;
}

/* ------------------------------------------*/
/* Exhibit */
/* ------------------------------------------*/


.exhibit__title {
  padding-bottom: 10px;
  border-bottom: 1px solid;
}

.exhibit__text {
  line-height: 1.5;
  margin-top: 20px;
}

.exhibit__text-title {
  font-weight: bold;
 font-size: 18px;
}

.exhibit__section {
  margin-top: 40px;
}

.exhibit__subtitle {
 margin-top: 10px;
}

.exhibit__section .exhibit__subtitle:first-child {
  margin-top: 0;
}
