@charset "UTF-8";

:root {
  --width-kv-background: 1000;
  --section-content-gap: 40px;
}

/* 共通 */
.background {
  margin: 0 auto;
}

.contents-background {
  --width-contents-background: 1000;
  background-image: url("../../../images/event/2207higurashi3/background.png");
  background-position: center;
  background-size: 1000px;
  background-repeat: repeat-y;
  overflow-x: hidden;
}

.title {
  position: relative;
  margin: 50px auto 0;
  left: 0;
  right: 0;
}

.parts {
  position: relative;
  margin: var(--section-content-gap) auto 0;
  left: 0;
  right: 0;
}

/* キービジュアル */
.kv-background {
  --height-kv-background: 1422;
  height: calc(var(--height-kv-background) * 1px);
  background-image: url("../../../images/event/2207higurashi3/kv/background.png");
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow-x: hidden;
}

.kv {
  position: absolute;
}

#catch {
  --width-catch: 975;
  --top-catch: 70;
  width: calc(var(--width-catch) * 1px);
  top: calc(var(--top-catch) * 1px);
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: 3;
}

#title {
  --width-title: 698;
  --top-title: 300;
  --width-chara-3: 736;
  --bottom-chara-3: 40;
  width: calc(var(--width-chara-3) * 1px);
  top: calc(var(--top-title) * 1px);
  bottom: calc(var(--bottom-chara-3) * 1px);
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: 3;
}

#mion {
  --width-mion: 289;
  width: calc(var(--width-mion) * 1px);
  left: calc(50vw - var(--width-kv-background) * 1px / 2);
  bottom: 0;
  z-index: 3;
}

#shion {
  --width-shion: 275;
  width: calc(var(--width-shion) * 1px);
  right: calc(50vw - var(--width-kv-background) * 1px / 2);
  bottom: 0;
  z-index: 3;
}

#photo {
  --width-photo: 696;
  --bottom-photo: 0;
  width: calc(var(--width-photo) * 1px);
  bottom: calc(var(--bottom-photo) * 1px);
  right: 0;
  left: 0;
  margin: 0 auto;
  z-index: 2;
}

/* ストーリー */
#story-text {
  width: 805px;
  max-width: calc(100% - 30px);
  margin: var(--section-content-gap) auto 0;
  color: #fff;
  background-image: url("../../../images/event/2611higurashi3/parts/story-illustration.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

#story-text .story-body {
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  font-size: clamp(12px, 2.4vw, 24px);
  font-weight: bold;
  line-height: 1.9;
  text-align: center;
}

#story-text .story-body p {
  margin: 0 0 2em;
}

#story-text .story-body p:last-child {
  margin-bottom: 0;
}

#story-text .story-notes {
  margin-top: 60px;
  font-size: clamp(11px, 1.4vw, 14px);
  line-height: 1.8;
  text-align: left;
}

#story-text .story-notes p {
  margin: 0;
}

#story-text .story-warning {
  color: #f00;
}

/* ムービー・グッズ */
#parts-movie {
  --width-parts-movie: 880;
  display: block;
  width: calc(var(--width-parts-movie) * 1px);
  max-width: 100%;
  margin: var(--section-content-gap) auto 0;
}

#parts-goods {
  --width-parts-goods: 842;
  margin-bottom: 20px;
}

/* インフォメーション */
#frame-information {
  padding-bottom: 40px;
}

#parts-information {
  --width-parts-information: 741;
}

#frame-information .information-notes {
  box-sizing: border-box;
  width: 741px;
  max-width: calc(100% - 40px);
  margin: 40px auto 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
}

#frame-information .information-notes p {
  margin: 0 0 4px;
}

#frame-information .information-notes p:last-child {
  margin-bottom: 0;
}

/* スケジュール */
#frame-schedule {
  position: relative;
  margin-bottom: 0;
}

#parts-schedule {
  --width-parts-schedule: 449;
}



/* 地図・会場情報 */
#frame-map {
  position: relative;
}

#frame-map .venue-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0 30px;
  align-items: start;
  width: 800px;
  max-width: calc(100% - 30px);
  margin: var(--section-content-gap) auto 0;
  color: #fff;
}

#frame-map .venue-map {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 1 / 1;
  min-width: 0;
}

#frame-map .venue-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#frame-map .venue-name {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 20px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
}

#frame-map .venue-details {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}

#frame-map .venue-details dt {
  margin-top: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: bold;
}

#frame-map .venue-details dt:first-child {
  margin-top: 0;
}

#frame-map .venue-details dd {
  margin: 10px 0 0;
}

/* 解説 */
#about-text {
  width: 803px;
  max-width: calc(100% - 40px);
  margin: var(--section-content-gap) auto 0;
  color: #fff;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.8;
  text-align: left;
  overflow-wrap: break-word;
}

#about-text .about-section + .about-section {
  margin-top: 30px;
}

#about-text h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
}

#about-text p {
  margin: 0;
}

#about-text .about-red {
  color: #f00;
}

/* 注意事項：質問を押すと回答を開閉 */
#parts-faq {
  --width-parts-faq: 800;
  width: calc(var(--width-parts-faq) * 1px);
  max-width: calc(100% - 40px);
  margin: var(--section-content-gap) auto 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
  overflow-wrap: break-word;
}

#parts-faq .faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

#parts-faq .faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

#parts-faq .faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px 4px;
  list-style: none;
  font-weight: bold;
  cursor: pointer;
}

#parts-faq .faq-question::-webkit-details-marker {
  display: none;
}

#parts-faq .faq-question::before {
  content: "Q.";
  flex-shrink: 0;
}

#parts-faq .faq-question::after {
  content: "＋";
  margin-left: auto;
  flex-shrink: 0;
}

#parts-faq .faq-item[open] > .faq-question::after {
  content: "−";
}

#parts-faq .faq-question:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

#parts-faq .faq-answer {
  padding: 0 16px 20px 36px;
  font-weight: normal;
}

/* ロゴ・コピーライト・固定チケットボタン */
#button-logo {
  --width-button-logo: 100;
  --mt-parts-logo: 30;
  --mb-parts-logo: 10;
  margin-top: calc(var(--mt-parts-logo) * 1px);
  margin-bottom: calc(var(--mb-parts-logo) * 1px);
}

#copyright-text {
  margin: 30px auto;
  padding: 0 15px;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

#button-fix {
  --width-button-fix: 299;
  position: fixed;
  right: calc(50vw - var(--width-contents-background) * 1px / 2);
  bottom: 0;
  z-index: 3;
}

/* 幅1000px以下 */
@media screen and (max-width: 1000px) {
  .background { width: 98vw; }
  .kv-background {
    background-size: 98vw;
    height: calc(var(--height-kv-background) / 1000 * 100vw);
  }
  #catch {
    width: calc(var(--width-catch) / 1000 * 100vw * 0.95);
    top: calc(var(--top-catch) / 1000 * 100vw);
  }
  #title {
    width: calc(var(--width-title) / 1000 * 100vw);
    top: calc(var(--top-title) / 1000 * 100vw);
  }
  #mion {
    left: 0;
    width: calc(var(--width-mion) / 1000 * 100vw);
  }
  #shion {
    right: 0;
    width: calc(var(--width-shion) / 1000 * 100vw);
  }
  #photo { width: calc(var(--width-photo) / 1000 * 100vw); }
  .contents-background { background-size: 95vw; }
  #parts-movie { width: calc(var(--width-parts-movie) / 1000 * 100vw); }
  #parts-goods { width: calc(var(--width-parts-goods) / 1000 * 100vw); }
  #parts-information { width: calc(var(--width-parts-information) / 1000 * 100vw); }
  #parts-schedule { width: calc(var(--width-parts-schedule) / 1000 * 100vw); }
  #button-logo {
    width: calc(var(--width-button-logo) / 1000 * 100vw);
    margin-top: calc(var(--mt-parts-logo) / 1000 * 100vw);
    margin-bottom: calc(var(--mb-parts-logo) / 1000 * 100vw);
  }
  #button-fix {
    right: 0;
    width: calc(var(--width-button-fix) / 1000 * 100vw);
  }
  #copyright-text { font-size: 12px; }
}

/* スマートフォン */
@media screen and (max-width: 600px) {
  #frame-information .information-notes { font-size: 14px; }
  #frame-map .venue-info {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 25px;
  }
  #frame-map .venue-map,
  #frame-map .venue-name,
  #frame-map .venue-details {
    grid-column: 1;
    grid-row: auto;
  }
  #frame-map .venue-name {
    margin: 0;
    font-size: 20px;
  }
  #about-text,
  #parts-faq { font-size: 14px; }
  #about-text h3 { font-size: 18px; }
  #parts-faq .faq-question { padding: 15px 4px; }
  #parts-faq .faq-answer { padding: 0 8px 18px 32px; }
}

/* 広い画面：固定チケットボタンを右側の余白へ */
@media screen and (min-width: 1640px) {
  #button-fix {
    left: calc(50vw + 520px);
    right: auto;
    width: 299px;
  }
}

/* 会場別の開閉ボックス */
.performance-list {
  width: 840px;
  max-width: calc(100% - 30px);
  margin: var(--section-content-gap) auto 0;
  color: #fff;
  text-align: center;
}
.performance-card {
  margin: 0 0 24px;
  border: 1px solid #7c879e;
  background: rgba(0, 0, 0, 0.88);
}
.performance-summary {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: pointer;
}
.performance-summary::-webkit-details-marker { display: none; }
.performance-summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.performance-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 16px 20px;
  background: #1c2c4e;
  border-bottom: 1px solid #7c879e;
  font-weight: bold;
  line-height: 1.6;
}
.performance-region {
  padding: 3px 12px;
  border: 1px solid currentColor;
  font-size: 15px;
}
.performance-venue { font-size: 20px; }
.performance-card .performance-period {
  display: block;
  margin: 0;
  padding: 24px 20px 12px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}
.performance-hint {
  display: block;
  padding: 0 16px 24px;
  color: #f4b7b7;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.performance-hint-open { display: none; }
.performance-card[open] .performance-hint-closed { display: none; }
.performance-card[open] .performance-hint-open { display: inline; }
.performance-content {
  padding: 0 24px 32px;
  border-top: 1px solid #7c879e;
}
.performance-content #parts-schedule {
  display: block;
  width: 449px;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0;
}
.performance-ticket {
  display: block;
  width: 272px;
  max-width: 80%;
  margin: 25px auto 0;
}
.performance-content #button-ticket {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.performance-section-title {
  margin: 40px auto 0;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.6;
}
.performance-content #frame-map .venue-info {
  width: 100%;
  max-width: none;
  margin-top: 40px;
}
/* 終了公演はリンクや開閉機能のない通常のボックス */
.performance-card-ended { border-color: #50545d; }
.performance-card-ended .performance-heading {
  color: #999;
  background: #141a26;
  border-color: #50545d;
}
.performance-card-ended .performance-period {
  padding-bottom: 24px;
  color: #999;
}
.performance-ended-label {
  padding: 3px 10px;
  color: #ddd;
  background: #63252b;
  font-size: 13px;
}
@media screen and (max-width: 600px) {
  .performance-heading { gap: 10px; padding: 14px 12px; }
  .performance-venue { font-size: 16px; }
  .performance-region { font-size: 13px; }
  .performance-card .performance-period { font-size: 15px; }
  .performance-hint { font-size: 13px; }
  .performance-content { padding: 0 16px 24px; }
  .performance-section-title { font-size: 20px; }
}

/* スケジュール見出しとボックスの間隔 */
.performance-list {
  margin-top: 60px;
}

/* ボックスを少し明るい緑に */
.performance-card {
  border-color: #6c9275;
  background: #122219;
}

.performance-heading {
  background: #315c40;
  border-bottom-color: #6c9275;
}

.performance-content {
  border-top-color: #6c9275;
}

/* 開閉の案内文を元の明るいピンクに */
.performance-hint {
  color: #f4b7b7;
}

/* ========================================
   ストーリー
   文章の左右の空きに挿絵を配置
======================================== */

#story-text {
  box-sizing: border-box;
  width: 805px;
  max-width: calc(100% - 30px);
  margin: 40px auto 0;
  color: #fff;
  background-image: none;
}

#story-text .story-body {
  font-family:
    "游明朝",
    "Yu Mincho",
    "ヒラギノ明朝 ProN",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(12px, 2.4vw, 24px);
  font-weight: bold;
  line-height: 1.9;
  text-align: center;
}

#story-text .story-body p {
  margin: 0;
}

/* 文章のまとまり同士の間隔 */
#story-text .story-block + .story-block {
  margin-top: 48px;
}

/* 左の挿絵・中央の文章・右の挿絵 */
#story-text .story-scene {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 160px;
  column-gap: 12px;
  align-items: center;
}

#story-text .story-scene > p {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* 挿絵 */
#story-text .story-scene-image {
  position: static;
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

/* ストーリー下の注意書き */
#story-text .story-notes {
  margin-top: 40px;
  font-size: clamp(11px, 1.4vw, 14px);
  line-height: 1.8;
  text-align: left;
}

#story-text .story-notes p {
  margin: 0;
}

#story-text .story-warning {
  color: #f00;
}

/* 狭い画面では挿絵を縮小 */
@media screen and (max-width: 850px) {
  #story-text .story-scene {
    grid-template-columns:
      clamp(48px, 16vw, 140px)
      minmax(0, 1fr)
      clamp(48px, 16vw, 140px);
    column-gap: 8px;
  }

  #story-text .story-block + .story-block {
    margin-top: 36px;
  }
}