@charset "UTF-8";

/* ベース設定 */
body {
  margin: 0;
  padding: 0;
  background: #f3f3f3;
  font-size: 15px;
  font-family: sans-serif;
  color: #555;
}

/* 共通セクション枠 */
.section-box,
.menu,
.gallery,
.ticket-list {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.center-section {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.center-section iframe {
  max-width: 100%;
  height: 400px;
  border: none;
}

.map-frame {
  max-width: 900px;
  margin: 0 auto;
}


.training-gallery {
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  padding: 10px;
  text-align: center;
}

.training-gallery img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}





/* メニュー */
.menu {
  position: relative;
  width: 100%;
  height: 60px;
  max-width: 900px;
  margin: 0 auto;
  zoom: 1;
}
.menu::before,
.menu::after {
  content: " ";
  display: table;
}
.menu::after {
  clear: both;
}
.menu > li {
  float: left;
  width: 20%;
  height: 60px;
  line-height: 60px;
  font-size: 16px;
  background: #aa3333;
}
.menu > li a {
  display: block;
  color: #fff;
}
.menu > li a:hover {
  color: #999;
}
.menu > li:hover {
  background: #072A24;
  transition: all 0.5s;
}

/* サブメニュー */
ul.menu__second-level,
ul.menu__third-level,
ul.menu__fourth-level {
  visibility: hidden;
  opacity: 0;
  z-index: 10;
}
li.menu__single {
  position: relative;
}
li.menu__single ul.menu__second-level {
  position: absolute;
  top: 40px;
  width: 100%;
  background: #072A24;
  transition: all 0.2s ease;
}
li.menu__single:hover ul.menu__second-level {
  top: 60px;
  visibility: visible;
  opacity: 1;
}

/* セクションタイトル */
.ticket-section h2,
.info-section h2 {
  font-size: 26px;
  color: #aa3333;
  margin-bottom: 20px;
}
.ticket-section p,
.info-section p {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
}

/* 出演者テーブル */
.cast-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}
.cast-table th,
.cast-table td {
  padding: 12px;
  border: 1px solid #ccc;
}
.cast-table th {
  text-align: center;
  background-color: #ffe0cc;
}
.cast-table td:first-child {
  text-align: center;
}
.cast-table a {
  color: #0066cc;
  text-decoration: none;
}
.cast-table a:hover {
  text-decoration: underline;
}

/* CoRich埋め込み */
.corich-embed {
  margin-top: 30px;
  text-align: center;
}

/* 公演チラシギャラリー */
.gallery {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}
.main-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-bottom: 10px;
}
.gallery .label {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}
.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.thumbnails img {
  width: 200px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}
.thumbnails img:hover {
  border: 2px solid #666;
}
.thumbnails img.selected {
  border: 2px solid #aa3333;
  box-shadow: 0 0 5px #aa3333;
}

/* 公演詳細セクション */
.stage-details {
  margin-top: 30px;
  font-size: 16px;
  color: #333;
  text-align: center;
}
.subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.2;
}
.stage-details h3 {
  font-size: 40px;
  color: #333;
  font-weight: 900;
  margin-top: 4px;
  margin-bottom: 10px;
}
.stage-date {
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
}
.date-label {
  color: #aa3333;
  font-size: 18px;
  font-weight: bold;
  margin-right: 8px;
}
.date-range {
  font-size: 18px;
  letter-spacing: 1px;
}

/* 出演者リスト */
.cast-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  text-align: center;
  font-size: 16px;
  line-height: 2;
}
.cast-list li {
  margin: 4px 0;
}

/* スタッフ・協力 */
.staff-info {
  margin-top: 30px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}
.staff-info h4 {
  font-size: 16px;
  color: #aa3333;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* 活動お知らせリスト */
.info-section {
  text-align: center;
}
.info-list {
  list-style: none;
  padding-left: 0;
  font-size: 15px;
  color: #333;
  display: inline-block;
  text-align: left;
}
.info-list li {
  margin-bottom: 20px;
  line-height: 1.6;
}
.info-list a {
  color: #0066cc;
  text-decoration: none;
}
.info-list a:hover {
  text-decoration: underline;
}

/* フッター */
.site-footer {
  background-color: #aa3333;
  color: #fff;
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
  font-size: 14px;
}
.site-footer a {
  color: #fff;
  text-decoration: underline;
  margin: 0 10px;
}
.site-footer a:hover {
  color: #ffe0cc;
}

/* 物語セクション */
.story-section {
  width: 100%;
  margin: 3em 0;
  text-align: center;
}
.story-divider {
  border: none;
  border-top: 1px solid #ccc;
  height: 1px;
  margin: 2em 0;
}
.story {
  margin-top: 0.2em;
  margin-bottom: 2em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  white-space: pre-line;
}

/* 稽古風景見出し */
.training-heading {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.5rem;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  width: fit-content;
  margin: 2em auto;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
}





/* スペーサー */
.spacer {
  margin-top: 2em;
}

/* チケットリスト */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.ticket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff8f0;
  border: 1px solid #ffcc99;
  border-radius: 6px;
  padding: 10px 15px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.ticket-name {
  font-weight: bold;
  font-size: 16px;
  color: #aa3333;
  flex-shrink: 0;
}

.ticket-url a {
  color: #0066cc;
  text-decoration: none;
  word-break: break-word;
  font-size: 14px;
}

.ticket-url a:hover {
  text-decoration: underline;
}

/* スマホ対応（既存） */
@media screen and (max-width: 600px) {
  .cast-table {
    font-size: 13px;
    table-layout: fixed;
    word-break: break-word;
  }

  .cast-table th,
  .cast-table td {
    padding: 8px;
  }

  .cast-table td:nth-child(2) {
    width: 100%;
  }

  .cast-table td:nth-child(3) {
    width: auto;
    max-width: 120px;
    word-break: break-word;
  }

  .ticket-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticket-name {
    margin-bottom: 6px;
  }

  .ticket-url a {
    font-size: 13px;
  }


.contact-button {
  display: inline-block;
  background-color: #aa3333;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
  margin-top: 10px;
}

.contact-button:hover {
  background-color: #072A24;
}

.site-footer {
  background-color: #aa3333;
  color: #fff;
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
  font-size: 14px;
}


  /* 📱 スマホ用文字サイズ拡張 */
  body,
  .section-box,
  .ticket-section p,
  .info-section p,
  .cast-table,
  .cast-list,
  .staff-info,
  .info-list,
  .story,
  .training-heading,
  .site-footer {
    font-size: 17px;
    line-height: 1.8;
  }

  .ticket-section h2,
  .info-section h2 {
    font-size: 24px;
  }

  .stage-details h3 {
    font-size: 32px;
  }

  .stage-date,
  .date-label,
  .date-range {
    font-size: 16px;
  }

  .menu > li {
    font-size: 14px;
  }

  .gallery .label {
    font-size: 13px;
  }

  .ticket-name {
    font-size: 17px;
  }

  .ticket-url a {
    font-size: 15px;
  }
}

.ticket-button {
  display: inline-block;
  background-color: #aa3333;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
  width: 100%;
}

.ticket-button:hover {
  background-color: #072A24;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .ticket-button {
    font-size: 18px;
    padding: 14px 24px;
  }
}