/* ホームページ・ビルダー向け軽量共通スタイル */
body {
  background-color: #ffffff !important;
  margin: 0;
  padding: 8px 0;
  font-family: "メイリオ", "Meiryo", sans-serif;
}
#contentsDetail_top2 {
  background-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
#wrapper {
  background-color: #ffffff !important;
  background-image: none !important;
}
#html_inc a { color: #b3541e; }
#html_inc a:hover { color: #d43a2f; }
#html_inc img {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* 受付状態ボタン：各所の長い style 属性を共通化 */
.status-box {
  display: inline-block;
  box-sizing: border-box;
  min-width: 70px;
  min-height: 60px;
  padding: 8px 6px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  line-height: 1.35;
  color: #ffffff !important;
  text-decoration: none !important;
  vertical-align: middle;
}
.status-open { background-color: #ff0000; border: 2px solid #d43a2f; }
.status-ready { background-color: #006b12; border: 2px solid #2e7d32; }
.status-closed { background-color: #001eff; border: 2px solid #3a5aa8; }

/* 参加区分ラベル */
.label-badge {
  display: inline-block;
  padding: 2px 8px;
  margin: 1px 2px 1px 0;
  border-radius: 4px;
  font-weight: bold;
  line-height: 1.45;
  vertical-align: middle;
  white-space: nowrap;
}
.label-couple { color: #009933; background-color: #edfff1; border: 1px solid #9ee5ad; }
.label-first { color: #ff1493; background-color: #fff2f8; border: 1px solid #ffc4df; }
.label-girl { color: #ff1493; background-color: #fff4fb; border: 1px solid #ffc4e5; }
.label-replay { color: #7a22cc; background-color: #f7f0ff; border: 1px solid #dec5ff; }

/* PCでは既存の710px表示を維持。狭い画面では横スクロールで崩れを防止 */
body > center { min-width: 720px; }

/* ===== play2 共通ヘッダー：角丸カード＋アイコンメニュー ===== */
header {
  width: min(1000px, calc(100% - 24px));
  margin: 12px auto 20px;
  padding: 14px !important;
  box-sizing: border-box;
  background: linear-gradient(180deg, #b9dcff 0%, #a8d0fa 100%) !important;
  border: 1px solid #8ebce9;
  border-radius: 24px !important;
  box-shadow: 0 8px 24px rgba(37, 83, 128, 0.15);
  overflow: hidden;
}
#head-line {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 20px 22px 18px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 20px !important;
  box-shadow: 0 5px 16px rgba(44, 88, 132, 0.12);
}
#logo {
  position: relative;
  min-height: 92px;
  padding: 0 285px 12px 8px;
  box-sizing: border-box;
}
#logo h1 {
  margin: 0;
  padding: 0;
  color: #202020;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "メイリオ", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .06em;
}
#logo h1 span {
  display: block;
  margin: 4px 0 0 48px;
  color: #145a9f;
  font-family: "メイリオ", "Meiryo", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
}
#logo::after {
  content: "企画情報・参加のご案内";
  display: block;
  margin: 8px 0 0 48px;
  color: #555;
  font-size: 14px;
  letter-spacing: .08em;
}
#logo #top {
  position: absolute;
  top: 2px;
  right: 0;
  display: inline-block;
  max-width: 270px;
  padding: 7px 16px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffa617 0%, #f28a00 100%);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 3px 9px rgba(179, 91, 0, .18);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
#globalNavi { margin-top: 4px; }
.play2-global-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
  overflow: visible;
}
.play2-global-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 9px 8px;
  box-sizing: border-box;
  color: #1558a1 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #cbd6e2;
  border-radius: 15px;
  box-shadow: 0 2px 7px rgba(31, 74, 117, .08);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .03em;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.play2-global-nav a:hover,
.play2-global-nav a:focus {
  background: linear-gradient(180deg, #eaf4ff 0%, #dcecff 100%);
  border-color: #77abe0;
  color: #0e4b8d !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(31, 93, 151, .16);
}
.play2-global-nav .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 50%;
  background: #e3efff;
  color: #176ad1;
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: bold;
  line-height: 1;
}
@media (max-width: 760px) {
  html, body { min-width: 0 !important; }
  header {
    width: calc(100% - 12px);
    margin: 6px auto 12px;
    padding: 7px !important;
    border-radius: 18px !important;
  }
  #head-line {
    padding: 15px 11px 12px;
    border-radius: 14px !important;
  }
  #logo {
    min-height: 0;
    padding: 0 0 12px;
    text-align: center;
  }
  #logo h1 { font-size: 23px; }
  #logo h1 span {
    margin: 3px 0 0;
    font-size: 17px;
  }
  #logo::after {
    margin: 7px 0 0;
    font-size: 12px;
  }
  #logo #top {
    position: static;
    max-width: none;
    margin-top: 10px;
    padding: 5px 12px;
    font-size: 12px;
    white-space: normal;
  }
  .play2-global-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .play2-global-nav a {
    min-height: 58px;
    padding: 7px 4px;
    border-radius: 11px;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
  }
  .play2-global-nav .nav-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    font-size: 17px;
  }
}

/* ===== Update 010：企画一覧の見やすさ統一 ===== */
#html_inc {
  width: 710px;
  max-width: calc(100vw - 24px);
  margin: 0 auto;
  color: #252525;
  line-height: 1.75;
}

/* 一覧上部の案内リンク */
#html_inc > table:first-of-type {
  width: 100% !important;
  margin: 0 auto 22px !important;
  padding: 8px 12px;
  box-sizing: border-box;
  background: #f6fbff;
  border: 1px solid #c8def2;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(39, 87, 132, .08);
}
#html_inc > table:first-of-type td {
  padding: 10px 12px !important;
  border-bottom: 1px solid #dceaf6;
}
#html_inc > table:first-of-type tr:last-child td { border-bottom: 0; }
#html_inc > table:first-of-type a {
  font-weight: 700;
  text-decoration: none;
}

/* 企画一覧内の主要枠をカード化 */
#html_inc > table[width="710"],
#html_inc > table[width="700"],
#html_inc > table[width="705"] {
  max-width: 100%;
  box-sizing: border-box;
}
#html_inc > table[bgcolor="#ff0000"],
#html_inc > table[bgcolor="#ff80c0"] {
  margin-top: 10px !important;
  margin-bottom: 24px !important;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(45, 58, 76, .13);
}

/* イベント情報の内側表 */
#html_inc table[bgcolor="#676767"][width="700"] {
  width: calc(100% - 10px) !important;
  margin: 5px auto !important;
  border-radius: 10px;
  overflow: hidden;
}
#html_inc table[bgcolor="#676767"][width="700"] td {
  line-height: 1.55;
}

/* 受付ボタン */
#html_inc .status-box {
  min-width: 76px;
  min-height: 64px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .14);
}
#html_inc .status-open:hover,
#html_inc .status-open:focus {
  filter: brightness(.94);
  transform: translateY(-1px);
}

/* 区分ラベル */
#html_inc .label-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
}

/* 区切り線を軽くする */
#html_inc > hr {
  width: 100% !important;
  height: 1px;
  margin: 24px auto !important;
  border: 0;
  background: #dbe4ec;
}

@media screen and (max-width: 760px) {
  body > center { min-width: 0; }
  #html_inc {
    width: auto;
    max-width: none;
    margin: 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #html_inc > table:first-of-type {
    min-width: 0 !important;
    font-size: 14px;
  }
  #html_inc > table:first-of-type font[size="5"] {
    font-size: 18px !important;
  }
  #html_inc > table[bgcolor="#ff0000"],
  #html_inc > table[bgcolor="#ff80c0"] {
    min-width: 680px;
  }
}

/* ===== Update 011：企画一覧のスマホ最適化 ===== */
@media screen and (max-width: 760px) {
  body {
    padding-top: 4px;
    overflow-x: hidden;
  }

  #html_inc {
    margin: 0 6px;
    overflow-x: visible;
  }

  /* 固定幅の表をスマホ幅へ収める */
  #html_inc table,
  #html_inc > table[width="710"],
  #html_inc > table[width="700"],
  #html_inc > table[width="705"],
  #html_inc > table[bgcolor="#ff0000"],
  #html_inc > table[bgcolor="#ff80c0"],
  #html_inc table[bgcolor="#676767"][width="700"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #html_inc .event-card > tbody > tr > td {
    padding: 5px !important;
  }

  #html_inc .event-card table[bgcolor="#676767"] {
    table-layout: fixed;
  }

  #html_inc .event-card table[bgcolor="#676767"] td {
    width: auto !important;
    padding: 4px 3px !important;
    font-size: 11px;
    letter-spacing: normal !important;
    overflow-wrap: anywhere;
  }

  #html_inc .event-card table[bgcolor="#676767"] font[size="2"] {
    font-size: 11px !important;
  }

  #html_inc .event-card img {
    width: 52px !important;
    height: auto !important;
    max-height: 74px;
    object-fit: cover;
  }

  #html_inc .status-box {
    min-width: 54px;
    min-height: 54px;
    padding: 6px 3px;
    border-radius: 9px;
    font-size: 11px;
    line-height: 1.3;
  }

  #html_inc .label-badge {
    padding: 3px 6px;
    margin: 1px 0;
    font-size: 10px;
    white-space: normal;
  }

  #html_inc .event-important-notice {
    font-size: 13px;
  }

  #html_inc .event-important-notice font[size="6"] {
    font-size: 20px !important;
  }

  #html_inc .event-important-notice font[size="5"] {
    font-size: 17px !important;
  }

  #html_inc .event-page-title h2,
  #html_inc .event-month-title {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  #html_inc > hr {
    margin: 16px auto !important;
  }
}

@media screen and (max-width: 430px) {
  #html_inc .event-card table[bgcolor="#676767"] td {
    padding: 3px 2px !important;
    font-size: 10px;
  }

  #html_inc .event-card table[bgcolor="#676767"] font[size="2"] {
    font-size: 10px !important;
  }

  #html_inc .event-card img {
    width: 44px !important;
    max-height: 64px;
  }

  #html_inc .status-box {
    min-width: 48px;
    min-height: 50px;
    font-size: 10px;
  }
}


/* ===== Update 013：過去企画のアコーディオン表示・横幅統一 ===== */
#html_inc .past-events-section {
  width: 100%;
  max-width: 710px;
  margin: 30px auto 10px;
  box-sizing: border-box;
}

#html_inc .past-events-accordion {
  width: 100%;
  margin: 0 0 14px;
  border: 1px solid #c8def2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(39, 87, 132, .09);
  overflow: hidden;
  box-sizing: border-box;
}

#html_inc .past-events-accordion > summary {
  position: relative;
  display: block;
  padding: 15px 50px 15px 20px;
  color: #174f8f;
  background: #eef7ff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

#html_inc .past-events-accordion > summary::-webkit-details-marker {
  display: none;
}

#html_inc .past-events-accordion > summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

#html_inc .past-events-accordion[open] > summary::after {
  content: "−";
}

#html_inc .past-events-accordion > summary:hover,
#html_inc .past-events-accordion > summary:focus {
  background: #e3f2ff;
}

#html_inc .past-events-content {
  padding: 14px;
  box-sizing: border-box;
}

#html_inc .past-event-table {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border-collapse: separate;
  table-layout: fixed;
  box-sizing: border-box;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: none !important;
}

#html_inc .past-event-table td {
  box-sizing: border-box;
  height: 39px;
  padding: 8px 10px !important;
  vertical-align: middle;
}

#html_inc .past-event-table td:first-child {
  width: 140px !important;
  text-align: center;
}

#html_inc .past-event-table td:nth-child(2) {
  width: auto !important;
}

@media screen and (max-width: 760px) {
  #html_inc .past-events-section {
    max-width: none;
    margin-top: 20px;
  }

  #html_inc .past-events-accordion > summary {
    padding: 13px 44px 13px 15px;
    font-size: 16px;
  }

  #html_inc .past-events-content {
    padding: 8px;
    overflow-x: hidden;
  }

  #html_inc .past-event-table {
    min-width: 0 !important;
    font-size: 12px;
  }

  #html_inc .past-event-table td {
    padding: 7px 6px !important;
    overflow-wrap: anywhere;
  }

  #html_inc .past-event-table td:first-child {
    width: 92px !important;
  }
}

/* ===== Update 021：企画情報ページ完成・アコーディオン整理 ===== */
#html_inc {
  --event-content-width: 942px;
  width: min(var(--event-content-width), calc(100vw - 82px));
  max-width: var(--event-content-width);
  overflow: visible;
}

#html_inc .event-list-page {
  width: 100%;
  max-width: var(--event-content-width);
  margin: 0 auto;
  box-sizing: border-box;
}

/* ページ内の主要枠をすべて同じ幅へ統一 */
#html_inc .event-guide-links,
#html_inc .event-page-title,
#html_inc .event-important-notice,
#html_inc .event-card,
#html_inc .event-info-accordions,
#html_inc .past-events-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* ページ上部の重要リンク */
#html_inc .event-guide-links {
  width: 100% !important;
  margin: 0 auto 18px !important;
  border-collapse: separate;
  border-spacing: 0;
  background: #f8fbff;
  border: 1px solid #c8def2;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(39, 87, 132, .07);
  overflow: hidden;
}

#html_inc .event-guide-links td {
  padding: 10px 14px !important;
  border-bottom: 1px solid #dce9f4;
  line-height: 1.6 !important;
}

#html_inc .event-guide-links tr:last-child td {
  border-bottom: 0;
}

#html_inc .event-guide-links a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#html_inc .event-guide-links font[size="5"] {
  font-size: 18px !important;
}

/* 企画情報ページ内の移動ボタン */
#html_inc .event-page-jump {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0 auto 20px;
}

#html_inc .event-page-jump a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  color: #145a9f;
  background: #fff;
  border: 1px solid #bfd8ef;
  border-radius: 11px;
  box-shadow: 0 2px 7px rgba(39, 87, 132, .07);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

#html_inc .event-page-jump a:hover,
#html_inc .event-page-jump a:focus {
  color: #0f4d8b;
  background: #eaf5ff;
  border-color: #75afe1;
  outline: none;
}

/* 各セクションの共通見出し */
#html_inc .event-section-heading,
#html_inc .event-page-title {
  scroll-margin-top: 16px;
}

#html_inc .event-section-heading {
  margin: 0 0 12px;
  padding: 11px 16px;
  color: #124f8b;
  background: linear-gradient(180deg, #f8fcff 0%, #eef7ff 100%);
  border: 1px solid #bed8ef;
  border-left: 6px solid #438fd4;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(39, 87, 132, .07);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}

#html_inc .event-page-title {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  padding: 13px 17px;
  color: #124f8b;
  background: linear-gradient(180deg, #f8fcff 0%, #eef7ff 100%);
  border: 1px solid #bed8ef;
  border-left: 6px solid #438fd4;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(39, 87, 132, .07);
}

#html_inc .event-page-title h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

/* ホームページ・ビルダーで作られた直下の表と区切り線も同一幅にする */
#html_inc .event-list-page > table,
#html_inc .event-list-page > hr,
#html_inc hr[width="700"],
#html_inc hr[width="705"],
#html_inc hr[width="710"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

#html_inc .event-list-page > hr,
#html_inc hr[width="700"],
#html_inc hr[width="705"],
#html_inc hr[width="710"] {
  height: 1px;
  margin: 22px auto !important;
  border: 0;
  background: #dbe4ec;
}

/* 重要案内と企画カードの幅・角丸を揃える */
#html_inc .event-important-notice {
  border-collapse: separate;
  border-spacing: 5px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(149, 35, 35, .13);
}

#html_inc .event-month-title {
  width: 100%;
  margin: 26px auto 14px !important;
  padding: 10px 15px;
  color: #145a9f;
  background: #edf7ff;
  border: 1px solid #c2dcf2;
  border-left: 6px solid #438fd4;
  border-radius: 11px;
  font-size: 21px;
  line-height: 1.4;
  box-sizing: border-box;
}

#html_inc .event-card {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(45, 58, 76, .12);
}

/* アコーディオン共通 */
#html_inc .event-info-accordions,
#html_inc .past-events-section {
  margin-top: 30px !important;
  scroll-margin-top: 16px;
}

#html_inc .event-accordion {
  width: 100%;
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid #c5ddef;
  border-radius: 13px;
  box-shadow: 0 4px 13px rgba(39, 87, 132, .08);
  overflow: hidden;
  scroll-margin-top: 16px;
  box-sizing: border-box;
}

#html_inc .event-accordion > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 54px 12px 17px;
  color: #174f8f;
  background: linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%);
  cursor: pointer;
  list-style: none;
  user-select: none;
  box-sizing: border-box;
}

#html_inc .event-accordion > summary::-webkit-details-marker {
  display: none;
}

#html_inc .event-accordion > summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  color: #fff;
  background: #4f91d4;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
}

#html_inc .event-accordion[open] > summary {
  color: #fff;
  background: linear-gradient(180deg, #5f9fe1 0%, #4388cf 100%);
  border-bottom: 1px solid #c5ddef;
}

#html_inc .event-accordion[open] > summary::after {
  content: "−";
  color: #26669f;
  background: #fff;
}

#html_inc .event-accordion > summary:hover,
#html_inc .event-accordion > summary:focus {
  filter: brightness(.98);
  outline: none;
}

#html_inc .accordion-title {
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

#html_inc .accordion-meta {
  flex: 0 0 auto;
  color: #60768b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

#html_inc .event-accordion[open] .accordion-meta {
  color: rgba(255, 255, 255, .88);
}

#html_inc .event-accordion-content {
  padding: 17px;
  background: #fff;
  box-sizing: border-box;
}

/* 既存のホームページ・ビルダー用表をアコーディオン内で安全に収める */
#html_inc .event-accordion-content table,
#html_inc .event-accordion-content table[width="700"],
#html_inc .event-accordion-content table[width="705"],
#html_inc .event-accordion-content table[width="710"] {
  max-width: 100% !important;
  box-sizing: border-box;
}

#html_inc .event-accordion-content > table[width="700"],
#html_inc .event-accordion-content > table[width="705"],
#html_inc .event-accordion-content > table[width="710"] {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#html_inc .event-accordion-content img[width="710"],
#html_inc .event-accordion-content video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* 終了企画・履歴の表 */
#html_inc .past-events-content {
  padding: 12px;
}

#html_inc .past-event-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #d4e2ee;
  border-radius: 9px;
  overflow: hidden;
}

#html_inc .past-event-table td {
  height: 40px;
  padding: 8px 11px !important;
  border-bottom: 1px solid #dbe7f1;
  font-size: 13px;
  line-height: 1.45;
}

#html_inc .past-event-table tr:last-child td {
  border-bottom: 0;
}

#html_inc .past-event-table tr:nth-child(even) td {
  background: #f8fbfe !important;
}

#html_inc .past-event-table td:first-child {
  width: 130px !important;
  color: #b23b32;
  background: #eef6fd !important;
  font-weight: 700;
  text-align: center;
}

#html_inc .history-table td:first-child {
  color: #174f8f;
}

@media screen and (max-width: 760px) {
  #html_inc {
    width: calc(100% - 12px);
    max-width: none;
    margin: 0 auto;
  }

  #html_inc .event-guide-links {
    margin-bottom: 14px !important;
  }

  #html_inc .event-guide-links td {
    height: auto !important;
    padding: 9px 10px !important;
    font-size: 13px;
  }

  #html_inc .event-guide-links font[size="5"] {
    font-size: 16px !important;
    line-height: 1.45;
  }

  #html_inc .event-page-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 15px;
  }

  #html_inc .event-page-jump a {
    min-height: 40px;
    padding: 7px 6px;
    font-size: 12px;
  }

  #html_inc .event-section-heading {
    padding: 9px 12px;
    font-size: 18px;
  }

  #html_inc .event-page-title h2,
  #html_inc .event-month-title {
    font-size: 19px;
  }

  #html_inc .event-info-accordions,
  #html_inc .past-events-section {
    margin-top: 22px !important;
  }

  #html_inc .event-accordion > summary {
    min-height: 52px;
    padding: 10px 46px 10px 13px;
    gap: 7px;
  }

  #html_inc .accordion-title {
    font-size: 15px;
  }

  #html_inc .accordion-meta {
    display: none;
  }

  #html_inc .event-accordion > summary::after {
    right: 12px;
    width: 25px;
    height: 25px;
    font-size: 18px;
    line-height: 24px;
  }

  #html_inc .event-accordion-content,
  #html_inc .past-events-content {
    padding: 8px;
    overflow-x: hidden;
  }

  #html_inc .legacy-content {
    font-size: 13px;
  }

  #html_inc .past-event-table td {
    padding: 7px 6px !important;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  #html_inc .past-event-table td:first-child {
    width: 84px !important;
  }
}

/* ===== Update 022：企画情報本文を共通ヘッダーの内側幅へ統一 ===== */
@media screen and (min-width: 761px) {
  #html_inc {
    --event-content-width: 942px;
    width: min(var(--event-content-width), calc(100vw - 82px));
    max-width: var(--event-content-width);
    margin-left: auto;
    margin-right: auto;
  }

  #html_inc .event-list-page,
  #html_inc .event-guide-links,
  #html_inc .event-page-jump,
  #html_inc .event-page-title,
  #html_inc .event-important-notice,
  #html_inc .event-month-title,
  #html_inc .event-card,
  #html_inc .event-info-accordions,
  #html_inc .past-events-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

/* ===== Update 030：企画情報を専用ページへ分割 ===== */
#html_inc .event-page-jump a.is-current,
#html_inc .event-page-jump a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, #5f9fe1 0%, #367fc6 100%);
  border-color: #367fc6;
  box-shadow: 0 5px 13px rgba(36, 105, 168, .22);
}

#html_inc .event-dedicated-page .event-page-title {
  margin-bottom: 18px !important;
}

#html_inc .event-page-title p {
  margin: 6px 0 0;
  color: #536b80;
  font-size: 14px;
  line-height: 1.6;
}

#html_inc .event-static-section {
  width: 100%;
  margin: 0 auto 24px;
  padding: 14px;
  background: #fff;
  border: 1px solid #c5ddef;
  border-radius: 13px;
  box-shadow: 0 4px 13px rgba(39, 87, 132, .08);
  box-sizing: border-box;
}

#html_inc .event-dedicated-page .event-info-accordions {
  margin-top: 0 !important;
}

#html_inc .event-dedicated-page .past-events-content {
  padding: 0;
}

@media screen and (max-width: 760px) {
  #html_inc .event-page-title p {
    font-size: 12px;
  }

  #html_inc .event-static-section {
    padding: 7px;
  }
}


/* ===== Update 031：企画参加ガイドを4つの専用ページへ整理 ===== */
#html_inc .event-archive-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 22px;
}

#html_inc .event-archive-link-wrap a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  color: #315f86;
  background: #f7fbff;
  border: 1px solid #c8ddec;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

#html_inc .event-archive-link-wrap a::before {
  content: "▸";
  color: #438fd4;
}

#html_inc .event-archive-link-wrap a:hover,
#html_inc .event-archive-link-wrap a:focus,
#html_inc .event-archive-link-wrap a.is-current,
#html_inc .event-archive-link-wrap a[aria-current="page"] {
  color: #fff;
  background: #4388cf;
  border-color: #4388cf;
  outline: none;
}

#html_inc .event-archive-link-wrap a.is-current::before,
#html_inc .event-archive-link-wrap a[aria-current="page"]::before {
  color: #fff;
}

#html_inc .event-static-section {
  scroll-margin-top: 18px;
}

#html_inc .event-static-section + .event-static-section {
  margin-top: 22px;
}

#html_inc .event-static-section table,
#html_inc .event-static-section table[width="697"],
#html_inc .event-static-section table[width="700"],
#html_inc .event-static-section table[width="705"],
#html_inc .event-static-section table[width="710"] {
  max-width: 100% !important;
  box-sizing: border-box;
}

#html_inc .event-static-section > table[width="697"],
#html_inc .event-static-section > table[width="700"],
#html_inc .event-static-section > table[width="705"],
#html_inc .event-static-section > table[width="710"],
#html_inc .event-static-section .legacy-content > table[width="697"],
#html_inc .event-static-section .legacy-content > table[width="700"],
#html_inc .event-static-section .legacy-content > table[width="705"],
#html_inc .event-static-section .legacy-content > table[width="710"] {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#html_inc .event-static-section img[width="710"],
#html_inc .event-static-section video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

#html_inc .event-note-card {
  padding: 15px 17px;
  color: #23384c;
  background: #f7fbff;
  border: 1px solid #cadfed;
  border-radius: 11px;
  line-height: 1.8;
}

#html_inc .event-note-card.event-note-warning {
  background: #fffaf3;
  border-color: #efcf9d;
}

#html_inc .event-note-card ul {
  margin: 0;
  padding-left: 1.35em;
}

#html_inc .event-note-card li + li {
  margin-top: 8px;
}

#html_inc .event-archive-page .event-static-section {
  padding: 16px;
}

#html_inc .event-archive-page .past-events-content {
  padding: 0;
}

@media screen and (max-width: 760px) {
  #html_inc .event-archive-link-wrap {
    justify-content: center;
    margin: -4px 0 17px;
  }

  #html_inc .event-archive-link-wrap a {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    box-sizing: border-box;
  }

  #html_inc .event-note-card {
    padding: 11px 12px;
    font-size: 13px;
  }

  #html_inc .event-static-section table {
    table-layout: auto;
  }
}

/* ===== Update 032：選択中の企画メニューを薄いピンクで表示 ===== */
#html_inc .event-page-jump a.is-current,
#html_inc .event-page-jump a[aria-current="page"] {
  color: #8b2855 !important;
  background: linear-gradient(180deg, #fff8fb 0%, #f9dbe8 100%) !important;
  border-color: #e99abb !important;
  box-shadow:
    0 5px 13px rgba(181, 65, 115, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .78) !important;
  font-weight: 700;
  cursor: default;
}

#html_inc .event-page-jump a.is-current:hover,
#html_inc .event-page-jump a.is-current:focus,
#html_inc .event-page-jump a[aria-current="page"]:hover,
#html_inc .event-page-jump a[aria-current="page"]:focus {
  color: #8b2855 !important;
  background: linear-gradient(180deg, #fff8fb 0%, #f9dbe8 100%) !important;
  border-color: #e99abb !important;
  filter: none;
  outline: 2px solid rgba(233, 154, 187, .28);
  outline-offset: 2px;
}

#html_inc .event-archive-link-wrap a.is-current,
#html_inc .event-archive-link-wrap a[aria-current="page"] {
  color: #8b2855 !important;
  background: #f9dbe8 !important;
  border-color: #e99abb !important;
  box-shadow: 0 4px 11px rgba(181, 65, 115, .16);
  cursor: default;
}

#html_inc .event-archive-link-wrap a.is-current::before,
#html_inc .event-archive-link-wrap a[aria-current="page"]::before {
  color: #b74778 !important;
}

/* 専用ページは全内容を常時表示し、アコーディオンを使用しない */
#html_inc .event-dedicated-page .event-static-section {
  display: block;
}
