/* 開催概要（overview）ページ — Figma 209:189 ヒーロー */

.overviewHero {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.overviewHero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.overviewHero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.overviewHero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overviewHero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 220px;
  padding: 36px var(--sp-pad-x, 16px) 40px;
  text-align: center;
}

/* 見出し: Figma 209:189（日本語は Noto、40px / Bold 相当） */
.overviewHero__title {
  margin: 0;
  color: #ffffff;
  font-family: "Noto Sans JP", "Montserrat", sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.overviewHero__en {
  margin: 12px 0 0;
  color: #ffffff;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

/* タブレット・PC: ヒーロー高さ 240px（base.css の 541px / 951px ブレークポイントに合わせる） */
@media (min-width: 541px) {
  .overviewHero {
    height: 240px;
    min-height: 240px;
  }

  .overviewHero__inner {
    min-height: 100%;
    height: 100%;
    padding: 20px 24px 24px;
  }
}

@media (min-width: 951px) {
  .overviewHero__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 540px) {
  .overviewHero__title {
    letter-spacing: 0.04em;
  }

  .overviewHero__en {
    margin-top: 8px;
  }
}

/* 開催概要ページ — セクション見出し（Figma「アクセス」相当：中央＋deco_line） */
.overviewSectionHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
}

/* 見出しタイポは h2 に .sectionTitleA を併記（base.css） */

.overviewSectionHead__rule {
  display: flex;
  justify-content: center;
}

.overviewSectionHead__ruleImage {
  display: block;
  width: 39px;
  height: auto;
}

/* 開催情報（表）— セクションは全幅＋余白、アクセスと同型で内側を横幅A */
.overviewSpec {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  /* 調整しやすいよう、左右余白は%基準で管理 */
  --overview-spec-pad-x: 5%;
  padding: 40px var(--overview-spec-pad-x) 64px;
}

.overviewSpec__inner {
  box-sizing: border-box;
  max-width: 1040px; /* 横幅A（.overviewAccess__inner と同一） */
  margin: 0 auto;
}

.overviewSpec__tableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.overviewSpec__table {
  width: 100%;
  min-width: min(100%, 300px);
  border-collapse: collapse;
  font-family: "Noto Sans JP", "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333333;
}

.overviewSpec__table th,
.overviewSpec__table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}

.overviewSpec__table tbody tr:first-child th,
.overviewSpec__table tbody tr:first-child td {
  border-top: 1px solid #e0e0e0;
}

.overviewSpec__table th {
  width: 9.5rem;
  min-width: 9.5rem;
  font-weight: 700;
  color: #231815;
  background-color: #f5f5f5;
}

.overviewSpec__table td {
  font-weight: 400;
}

.overviewSpec__table a {
  color: #d80c18;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.overviewSpec__table a:hover,
.overviewSpec__table a:focus-visible {
  opacity: 0.85;
}

@media (max-width: 540px) {
  .overviewSpec {
    padding: 32px var(--sp-pad-x, 16px) 48px;
  }

  .overviewSectionHead {
    gap: 12px;
    margin-bottom: 20px;
  }

  .overviewSpec__table {
    font-size: 14px;
  }

  .overviewSpec__table th,
  .overviewSpec__table td {
    padding: 12px 12px;
  }

  .overviewSpec__table th {
    width: 7.25rem;
    min-width: 7.25rem;
  }

  .overviewAccess {
    padding: 24px var(--sp-pad-x, 16px) 48px;
  }

  .overviewAccess__address {
    font-size: 14px;
  }
}

@media (min-width: 951px) {
  .overviewSpec {
    --overview-spec-pad-x: 7%;
  }

  .overviewAccess {
    --overview-access-pad-x: 7%;
  }
}

/* アクセス（地図）— セクションはメインカラム全幅、装飾は常にカラム右下端 */
.overviewAccess {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  --overview-access-pad-x: 7%;
  padding: 32px var(--overview-access-pad-x) 64px;
  overflow: visible;
}

.overviewAccess__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px; /* 横幅A */
  margin: 0 auto;
}

/* Figma: セクション右下の装飾（bg_page.png。サイズは書き出しに合わせて調整可） */
.overviewAccess::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: max(0px, env(safe-area-inset-right, 0px));
  bottom: 0;
  width: clamp(160px, 46vw, 400px);
  height: clamp(120px, 34vw, 280px);
  background: url("../img/bg_page.png") no-repeat right bottom / contain;
  pointer-events: none;
}

.overviewAccess__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.overviewAccess__text {
  min-width: 0;
}

.overviewAccess__venue {
  margin: 0 0 12px;
  min-width: 0;
}

.overviewAccess__venueLink {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  font-family: "Noto Sans JP", "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.overviewAccess__venueText {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.overviewAccess__venueLink:focus-visible {
  outline: 2px solid #231815;
  outline-offset: 3px;
}

.overviewAccess__venueIcon {
  flex-shrink: 0;
  display: block;
  width: 19px;
  height: 19px;
}

.overviewAccess__address {
  margin: 0;
  font-family: "Noto Sans JP", "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333333;
}

/* PC でも効くスクリーンリーダー用（spMenuPanel__srOnly は 950px 以下のみ定義のため） */
.overviewAccess__srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.overviewAccess__mapWrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 600 / 450;
  background-color: #e8e8e8;
}

.overviewAccess__map {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 951px) {
  /* PC: アクセスは Figma 相当の 2 カラム（テキスト | 地図） */
  .overviewAccess__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 40px;
    align-items: center;
  }

  .overviewAccess__mapCol {
    min-width: 0;
  }
}
