label {
  display: inline-block;
}
label a {
  color: #FF8348;
  font-weight: bold;
}
label a:hover {
  text-decoration: underline;
}

/* 入場チケットが必要です */
.ticket {
  background: #f9f9f9;
}
.ticket-wrapper {
  margin: 0 auto;
  padding: 120px 4%;
  max-width: 1000px;
}

.ticket-header {
  text-align: center;
}
.ticket-text {
  background-color: #f4f4f4;
  margin: 20px auto;
  padding: 8px 12px;
}
.ticket-image {
  display: block;
  margin: 0 auto;
  width: 80%;
  min-width: 200px;
}
.ticket-listlink {
  background: linear-gradient(#222, #000);
  border-radius: 2px;
  color: #fff;
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  margin: 32px auto;
  padding: 8px;
  text-align: center;
  width: 250px;
}
.ticket-login-wrapper {
  margin: 60px auto;
  text-align: center;
}

/* ガイドブック最新デザイン */
.eyecatch {
  padding: 120px 2% 140px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.eyecatch-header {
  font-weight: normal;
  margin: 32px auto;
}
.eyecatch-text {
  color: #ccc;
}

.section {
  padding: 0 4%;
}

.listul {
  list-style-type: disc;
  margin: 12px auto 20px;
  padding: 8px 0 8px 2.5em;
}
.listul li {
  padding: 8px 0;
}
.listul li b {
  color: rgb(255, 255, 156);
}

.listtable {
  border: 1px solid #aaa;
  border-collapse: collapse;
  margin: 12px auto 20px;
}
.listtable tr th,
.listtable tr td {
  border: 1px solid #aaa;
  border-collapse: collapse;
  line-height: 1.5;
  padding: 4px 8px;
}
.listtable tr th {
  background: #333;
}

.headline-l {
  line-height: 1.3;
  margin: 40px auto 12px;
}
.text {
  margin: 0 0 1em 0;
}
/* ここまで */




.showheader {
  background: transparent;
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: auto;
}
.showheader-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 auto;
  padding: 4px 12px;
  white-space: nowrap;
}
.showheader-section {
  padding: 4px 1%;
}
/* 左上のボタン */
.showheader-userinfobtn {
  background: #000;
  color: #fff;
  font-size: 1.3em;
  padding: 0 20px;
  height: 36px;
}

.showheader-userwrapper {
  color: #fff;
  display: flex;
  align-items: center;
}
.showheader-userthumb {
  width: 36px;
  height: 36px;
}
.showheader-userthumb img {
  border-radius: 4px 0 0 4px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.showheader-username {
  background: #000;
  border-radius: 0 4px 4px 0;
  color: #fff;
  display: flex;
  flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
  justify-content: center; /* 子要素をflexboxにより中央に配置する */
  align-items: center;
  font-weight: bold;
  padding: 0 16px;
  height: 36px;
}
.showheader-loginbtn {
  background: #0075C9;
  color: #fff;
  display: block;
  font-size: .8em;
  font-weight: bold;
  line-height: 2;
  padding: 0 16px;
  text-align: center;
  vertical-align: middle;
}

.send-info {
  background: #f1f1f1;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
  padding: 2px 12px;
}


.collection,
.postreview,
.guidebook-select,
.collection,
.menu,
.beginner,
.stamp,
.profile,
.exittourl,
.infosubmit,
.sp-alert,
.quizine-result,
.vote,
.pr,
.prnavi,
.jigoku,
.userpost,
.userposttopic,
.birthday,
.calendar {
  display: none;
  font-size: .9em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 12px;
  left: 0;
  width: 100%;
  height: 98%;
}
.guidebook {
  display: none;
  font-size: .9em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.collection-wrapper,
.postreview-wrapper,
.collection-wrapper,
.menu-wrapper,
.guidebook-select-wrapper,
.beginner-wrapper,
.stamp-wrapper,
.profile-wrapper,
.exittourl-wrapper,
.infosubmit-wrapper,
.sp-alert-wrapper,
.quizine-result-wrapper,
.vote-wrapper,
.pr-wrapper,
.prnavi-wrapper,
.jigoku-wrapper,
.userpost-wrapper,
.userposttopic-wrapper,
.birthday-wrapper,
.calendar-wrapper {
  background: #fcfcfc;
  border-radius: 4px;
  box-shadow: 1px 1px 4px #333;
  overflow-y: auto;
  padding: 24px 2%;
  width: 92%;
  max-height: 84%;
}

.guidebook-wrapper {
  border-radius: 4px;
  box-shadow: 1px 1px 4px #333;
  overflow-y: auto;
  width: 96%;
  max-width: 1280px;
}

.collection-outerwall,
.postreview-outerwall,
.guidebook-outerwall,
.guidebook-select-outerwall,
.collection-outerwall,
.menu-outerwall,
.beginner-outerwall,
.stamp-outerwall,
.profile-outerwall,
.exittourl-outerwall,
.infosubmit-outerwall,
.sp-alert-outerwall,
.quizine-result-outerwall,
.vote-outerwall,
.pr-outerwall,
.prnavi-outerwall,
.jigoku-outerwall,
.userpost-outerwall,
.userposttopic-outerwall,
.birthday-outerwall,
.calendar-outerwall {
  background: rgba(0,0,0,.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.collection-outerwall .close,
.postreview-outerwall .close,
.collection-outerwall .close,
.guidebook-select-outerwall .close,
.menu-outerwall .close,
.beginner-outerwall .close,
.stamp-outerwall .close,
.profile-outerwall .close,
.exittourl-outerwall .close,
.infosubmit-outerwall .close,
.sp-alert-outerwall .close,
.quizine-result-outerwall .close,
.pr-outerwall .close,
.prnavi-outerwall .close,
.userpost-outerwall .close,
.userposttopic-outerwall .close,
.birthday-outerwall .close,
.calendar-outerwall .close {
  color: #f1f1f1;
  font-size: 3em;
  position: absolute;
  top: 40px;
  right: 2%;
}
.guidebook .close {
  color: #f1f1f1;
  font-size: 3em;
  position: absolute;
  top: 40px;
  right: 2%;
  z-index: 2;
}

.loading-data {
    position: fixed; /* 画面全体を覆う */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* 半透明の白 */
    display: none;
    justify-content: center; /* 水平方向中央 */
    align-items: center; /* 垂直方向中央 */
    z-index: 2; /* 他の要素より前面に表示 */
}

.loading-data-wrapper {
    background: rgba(0, 0, 0, 0.7); /* 半透明の黒 */
    padding: 20px 40px;
    border-radius: 10px;
}

.loading-data-text {
    font-size: 20px;
    color: #fff; /* 文字色を白に */
}


.hanko-canvas {
  position: absolute;
  top: 0;
  z-index: -1;
}

.collection-section {
  margin: 32px auto;
}
.collection-stamps {
  display: flex;
  flex-wrap: wrap;
}
.collection-stamps-item {
  padding: 4px;
  width: 80px;
}
.collection-stamps-item img {
  width: 100%;
}


.birthday-section-item {
  display: flex;
  align-items: center;
}
.birthday-section-item-package {
  height: 120px;
}
.birthday-section-item-content {
  margin: 0 12px;
}

.userpost-content {
  margin: 40px auto;
}
.userpost-content-item {
  background: #fefefe;
  padding: 12px 12px 24px;
}
.userpost-content-item-info {
}
.userpost-content-item-header {
  border-bottom: 1px solid #aaa;
  line-height: 1;
  margin: 0 auto 12px;
  padding: 2px 0 8px;
}
.userpost-content-item-description {
  line-height: 1.4;
}

.userposttopic-table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  font-size: .9em;
  line-height: 1.4;
  margin: 28px auto 40px;
  width: 100%;
}
.userposttopic-table th,
.userposttopic-table td {
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 2px 8px;
}

.userpost-form {
  background: #f1f1f1;
  margin: 40px auto 20px;
  padding: 12px;
}
.userpost-form-section {
  margin: 8px auto;
}

.jigoku-wrapper {
  background: rgba(0,0,0,.4);
  box-shadow: none;
  color: #fff;
  text-align: center;
}
.jigoku-outerwall {
  background: rgba(255,0,0,.7);
}
.jigoku-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px auto;
  width: 96%;
  max-width: 500px;
}
.jigoku-retry,
.jigoku-top,
.jigoku-share {
  background: #000;
  border-radius: 2px;
  display: table;
  font-size: 1.2em;
  font-weight: bold;
  margin: 12px 2%;
}
.jigoku-retry a,
.jigoku-top a,
.jigoku-share a {
  display: table-cell;
  padding: 4px 12px;
  vertical-align: middle;
}
.jigoku-top {
  margin: 12px auto;
}





.prnavi-section {
  margin: 24px auto;
}
.pr-section .content-header {
  margin: 0 auto 8px;
}


.pr-title {
  margin: 24px auto;
}
.pr-description {
  color: #777;
}
.pr-dlurl {
  border: 1px solid #ccc;
  border-radius: 2px;
  display: table;
  margin: 32px auto;
  text-align: center;
  width: 200px;
}
.pr-dlurl a {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.vote-close {
  border: 1px solid #ccc;
  border-radius: 2px;
  margin: 32px auto;
  padding: 2px 8px;
  text-align: center;
  display: none;
}

.loading {
  background: #fff;
  display: flex;
  height: 100vh;
}

.menu-section > h3.content-header {
  color: #072C38;
  margin: 1.2em 0 .6em;
  font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem);
}

/* トップへボタン */
.menu-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: .5rem 0 1rem;
}
.menu-buttons-item a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .65rem 1rem;
  border-radius: 10px;
  background: #072C38;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: transform .12s ease, opacity .12s ease;
}
.menu-buttons-item a:hover { transform: translateY(-1px); }
.menu-buttons-item a:active { transform: translateY(0); opacity: .9; }

/* 「他のゲーム部屋」カード一覧 */
.menu-newmuseums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.menu-newmuseums-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
  height: 100%;
}
.menu-newmuseums-item a {
  display: block;
  color: #1f2937;
  text-decoration: none;
  height: 100%;
}
.menu-newmuseums-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

/* サムネイル */
.menu-newmuseums-item-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  overflow: hidden;
}
.menu-newmuseums-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform .25s ease;
}
.menu-newmuseums-item:hover .menu-newmuseums-item-image img {
  transform: scale(1.04);
}

/* テキスト部 */
.menu-newmuseums-item-text {
  padding: .7rem .85rem .9rem;
}
.menu-newmuseums-item-text h4.content-header {
  margin: .1rem 0 .35rem;
  font-size: 1rem;
  color: #072C38;
}
.menu-newmuseums-item-views small {
  color: #6b7280;
  font-size: .9em;
}

/* 余白（セクション） */
.menu-section { margin: 1rem 0 1.2rem; }

/* モバイル微調整 */
@media (max-width: 480px) {
  .menu-buttons-item a { padding: .6rem .9rem; }
  .menu-newmuseums { gap: 10px; }
}

.profile-stamp,
.profile-badge {
  display: flex;
  flex-wrap: wrap;
}
.profile-stamp-item,
.profile-badge-item {
  margin: 20px 8px;
  width: 80px;
}
.profile-stamp-item-anim {
  animation: profile-stamp-item-anim 1.5s infinite;
}
@keyframes profile-stamp-item-anim {
  0% { background-color: #FFD700; }
  50% { background-color: #fff; }
  100% { background-color: #FFD700; }
}
.profile-stamp-item img,
.profile-badge-item img {
  width: 100%;
}

.exittourl-select {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  text-align: center;
  width: 200px;
}
.exittourl-select div {
  background: #f1f1f1;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
  padding: 8px 16px;
}

.stamp-wrapper {
  text-align: center;
}

/* 見出し・本文 */
#beginner h2.content-header {
  margin: 0 0 .6em;
  padding-left: .6em;
  border-left: 6px solid #072C38;
  font-size: clamp(1.2rem, 1.05rem + .9vw, 1.6rem);
  color: #072C38;
}
#beginner h3.content-header {
  margin: 1.2em 0 .5em;
  font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem);
  color: #072C38;
}
#beginner .content-text { line-height: 1.8; margin: .4em 0 1em; }
#beginner a { color: #072C38; text-decoration: underline; text-underline-offset: 3px; }

/* セクション区切り */
#beginner .beginner-section + .beginner-section {
  border-top: 1px dashed #e5e7eb;
  padding-top: .8rem;
}

/* テーブル（操作一覧） */
#beginner .beginner-table {
  width: 100%;
  border-collapse: collapse;
  margin: .25rem 0 1rem;
  font-size: .98em;
  max-width: 800px;
}
#beginner .beginner-table th,
#beginner .beginner-table td {
  padding: .55rem .7rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}
#beginner .beginner-table th {
  white-space: nowrap;
  font-weight: 700;
  color: #072C38;
}
#beginner .beginner-table tr:nth-child(odd) td { background: rgba(0,0,0,.02); }

/* モバイル：テーブルを縦並びに簡易変形 */
@media (max-width: 720px) {
  #beginner .beginner-wrapper { width: 94%; padding: 18px 4%; }
  #beginner .beginner-table tr {
    display: block;
    margin: 0 0 .6rem;
    border-bottom: 1px solid #e5e7eb;
  }
  #beginner .beginner-table th,
  #beginner .beginner-table td {
    display: block;
    border-bottom: none;
    padding: .45rem .2rem;
  }
  #beginner .beginner-table th { color: #6b7280; font-weight: 600; }
}


.thankyou {
  background: rgba(255,255,255,.7);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.thankyou-wrapper {
  color: #000;
}
.postreview-section,
.infosubmit-section {
  margin: 20px auto;
}
.infosubmit-section textarea {
  height: 120px;
}
#postreview_text,
#infosubmit_text {
  height: 120px;
}


.matome-topic {
  background: rgba(0,0,0,.7);
  display: none;
  font-size: .9em;
  flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
  justify-content: center; /* 子要素をflexboxにより中央に配置する */
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.matome-topic-inner {
  background: #fcfcfc;
  border-radius: 4px;
  box-shadow: 1px 1px 4px #333;
  overflow-y: auto;
  padding: 24px 2%;
  width: 80%;
  max-height: 84%;
}

.matome-topic-table1 {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 32px 0;
}
.matome-topic-table1 tr th,
.matome-topic-table1 tr td {
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 4px 8px;
}
.matome-topic-table1 tr th {
  background: #f1f1f1;
  font-weight: bold;
}
.matome-topic-close {
  background: #f1f1f1;
  border: 1px solid #ccc;
  cursor: pointer;
  font-weight: bold;
  margin: 20px auto;
  padding: 2px 8px;
  text-align: center;
  width: 120px;
}

/* matome_items */
.matome-unacquired {
  padding: 40px 2%;
}
/* 見出しアイテム */
.headline-l {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  line-height: 1.2;
  margin: 2.8em auto 1em;
  padding: 12px 0;
}
.headline-m {
  font-size: 1.3em;
  line-height: 1.3;
  margin: 1.7em auto 0;
}
.headline-m:before {
  content: "\f0da";
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  margin: 0 1% 0 .5%;
}
.headline-s {
  font-size: 1.15em;
}


/* 画像アイテム */
.image-l {
  margin: 0 auto;
  padding: 8px;
  width: 75%;
  max-width: 500px;
  min-width: 200px;
}
.il-image img {
  width: 100%;
}
.il-text {
  font-style: italic;
  line-height: 1.2;
  margin: 4px 0;
}

.image-l-text {
  margin: 0 auto 48px;
}
.ilt-text {
  margin: 0 auto 8px;
}
.ilt-text p {
  margin: 0 auto 2em;
}
.ilt-image img {
  margin: 2px auto;
  width: 100%;
}
.ilt-copyright {
  color: #444;
  font-size: .9em;
  text-align: right;
}

.image-m {
  margin: 0 auto;
}
.im-image {
  float: left;
  margin: 0 8px 0 0;
  width: 50%;
  max-width: 140px;
}
.im-image img {
  width: 100%;
}
.im-text {
  overflow: hidden;
}
.im-text > p {
  margin: .6em 0 1em;
}


/* テキストアイテム */
/*.text {
  margin: 8px auto 1.5em;
}
.text > p {
  margin: 0 auto 1em;
}
.t-text a {
  color: #1A0DAB;
}
.t-text a:hover {
  text-decoration: underline;
}*/


.quizine-result-item {
  border-radius: 4px;
  margin: 32px auto;
  padding: 16px 2%;
}
.quizine-description {
  line-height: 1.4;
}
.quizine-content,
.quizine-descimage {
  margin: 8px 0;
  max-width: 260px;
}
.quizine-content img,
.quizine-descimage img {
  width: 100%;
}

.guidebookitems-counter-top {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}
.guidebookitems-counter-top,
.guidebookitems-counter-bottom {
  display: flex;
  justify-content: center;
  align-items: end;
  line-height: 1;
  margin: 40px auto 0;
  text-align: center;
}
.guidebookitems-counter-left {
  margin: 0 12px 0 0;
}
.guidebookitems-counter-right {
  font-size: 2.5em;
}


/* ガイドブックを選択 */
.guidebook-select-items {
  margin: 20px auto 0;
}
.guidebook-select-item {
  background: #f7f7f7;
  cursor: pointer;
  margin: 4px auto;
  padding: 8px 2%;
}


/* コレクション */
.collection-guidebook-table {
  border-collapse: collapse;
  margin: 12px auto 40px;
  width: 100%;
}
.collection-guidebook-table tr td {
  background: #f1f1f1;
  border-bottom: 1px solid #fff;
  line-height: 1.3;
  padding: 8px 12px;
}
.collection-guidebooks-guidebook {
  color: #777;
  text-align: center;
}
.collection-guidebooks-guidebook i {
  color: #3a322b;
}


/* プロフィール */
.profile-section-header small {
  border: 1px solid #ccc;
  font-size: .6em;
  font-weight: normal;
  margin: 0 0 0 8px;
  padding: 2px 8px;
  vertical-align: 3px;
}
.profile-table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 12px auto 40px;
  width: 100%;
}
.profile-table tr td,
.profile-table tr th {
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 8px 12px;
}
.profile-table-thumb {
  width: 100px;
}

.footer-version {
  border-radius: 4px;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  position: fixed;
  bottom: 4px;
  right: 4px;
  z-index: 100;
}



@media screen and (max-width:550px) {
.showheader-userthumb {
  width: 24px;
  height: 24px;
}
.showheader-username {
  height: 24px;
}
#showheader_help {
  display: none;
}
.menu-newmuseums-item {
  width: 48%;
}
}
