/* ====================================
 * FANCLUB 特典モーダル
 * ================================= */
/* モーダルを開くボタン */
.fanclub-modal-open {
  margin: 2rem auto;
  width: 280px;
}

.fanclub-modal-open p {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 6% 10%;
  width: 100%;
  text-align: center;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  background-color: #f5d952;
  border-radius: 50vh;
  background-image: url(../img/common/btn_arrow.png);
  background-position: center right 6%;
  background-size: 1.6rem 1.6rem;
  background-repeat: no-repeat;
  transition: all 0.3s;
  cursor: pointer;
}
.fanclub-modal-open p:hover {
  text-decoration: none;
  background-color: #ffc400;
}

/* モーダル本体の指定 + モーダル外側の背景の指定 */
.fanclub-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 0px;
  overflow: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  /* メニューボタンのz-indexが97 */
  z-index: 100;
}
/* モーダル本体の擬似要素の指定 */
.fanclub-modal:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/* モーダル本体に「active」クラス付与した時のスタイル */
.fanclub-modal.active {
  opacity: 1;
  visibility: visible;
}
/* モーダル枠の指定 */
.fanclub-modal .modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 960px;
  max-height: 90%;
  width: 90%;
  height: 80%;
}
/* モーダルを閉じるボタンの指定 */
.fanclub-modal .modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  left: min(calc(100vw - 40px), calc(100% - 20px));
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.fanclub-modal .modal-inner {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior-y: none;
}
/* モーダル内のコンテンツの指定 */
.fanclub-modal .modal-content {
  font-family: 'fot-tsukuardgothic-std', sans-serif;
  background: #fff;
  text-align: left;
  padding: 3rem 6rem;
}
.fanclub-modal .modal-content .right {
  text-align: right;
}
.fanclub-modal .modal-content p {
  font-size: 16px;
  margin-bottom: 1rem;
}
.fanclub-modal .modal-content p span {
  font-weight: 700;
  line-height: 1.8;
}
.fanclub-modal .modal-content img {
  margin: 0 0 5rem;
}
.fanclub-modal .modal-content img.mem-ticket {
  width: 25rem;
  margin: 0 auto 5rem;
  display: block;
}

.fanclub-modal .title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 3rem;
}

@media screen and (min-width: 1px) and (max-width: 767px) {
  .fanclub-modal .modal-close {
    top: -40px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .fanclub-modal .modal-content {
    padding: 2rem 3rem;
  }

  .fanclub-modal .modal-content h1 {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .fanclub-modal .modal-content p {
    font-size: 1.4rem;
  }

  .fanclub-modal .modal-open {
    width: 80%;
    margin: 30px auto 0;
    font-size: 1rem;
  }
}

/* ====================================
 * Blu-ray 誤植のお知らせモーダル
 * ================================= */
/* モーダルを開くボタン */
.notice-modal-open {
  cursor: pointer;
  margin: 4.8rem auto;
  width: min(90%,930px);
  padding: 24px 16px;
  background-color: #ff3c00;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;

}
.notice-modal-open:hover {
  filter: brightness(90%);
}
.notice-modal-open .nowrap,
.modal-content .title .nowrap {
  white-space: nowrap;
}

/* モーダル本体の指定 + モーダル外側の背景の指定 */
.notice-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 0px;
  overflow-y: scroll;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  /* メニューボタンのz-indexが97 */
  z-index: 100;
  /* 背景スクロール制御 */
  overscroll-behavior: contain;
  touch-action: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
/* モーダル本体の擬似要素の指定 */
.notice-modal:before,
.notice-modal:after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  height: calc(100% + 1px);
}
/* モーダル本体に「active」クラス付与した時のスタイル */
.notice-modal.active {
  opacity: 1;
  visibility: visible;
}
/* モーダル枠の指定 */
.notice-modal .modal-body {
  flex-grow: 0;
  position: relative;
  vertical-align: middle;
  width: min(90vw, 930px);
  max-height: 90%;
  padding: initial;
}
/* モーダルを閉じるボタンの指定 */
.notice-modal .modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.notice-modal .modal-inner {
  max-height: 80dvh;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.notice-modal .modal-content {
  font-family: 'fot-tsukuardgothic-std', sans-serif;
  background: #fff;
  text-align: left;
  padding: 3rem 6rem;
}

.notice-modal .modal-content .title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 1.6rem;
}
.notice-modal .modal-content .title .nowrap {
  white-space: nowrap;
}
.notice-modal .modal-content .update {
  font-size: 14px;
  margin-bottom: 3rem;
}
.notice-modal .modal-content p {
  font-size: 16px;
  margin-bottom: 1.6rem;
}
.notice-modal .modal-content p span {
  font-weight: 700;
  line-height: 1.8;
}
.notice-modal .modal-content p:has(> a) {
  margin-bottom: 2.4rem;
}
.notice-modal .modal-content p.indent {
  text-indent: -1em;
  padding-left: 1em;
}
.notice-modal .modal-content p picture {
  display: inline-block;
  max-width: 80px;
  margin-top: 8px;
}

@media screen and (min-width: 1px) and (max-width: 767px) {
  .notice-modal-open {
    padding: 16px;
  }
  .notice-modal .modal-close {
    /* メニューと干渉するため非表示 */
    display: none;
  }
  .notice-modal .modal-inner {
    max-height: 85dvh;
  }
  .notice-modal .modal-content {
    padding: 2.4rem;
  }
}