@charset "UTF-8";

/* ════════════════════════════════════════
   index.css — トップページ専用スタイル
   ※ 画像は実サイズ表示。max-width:100% でハミ出し防止のみ。
════════════════════════════════════════ */

/* ════ ヒーロースライドショー ════ */
.hero {
  display: grid;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background: #fff;
}

.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* スマホ: 縦長クロップ */
@media (max-width: 480px) {
  .hero {
    aspect-ratio: 3 / 4;
    max-width: 100%;
  }
  .hero-slide {
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
}

/* ════ ① メインロゴ・タイトル ════ */
.section-main-title {
  padding: 128px 0 36px;
  text-align: center;
}

.main-logo-wrap {
  margin-bottom: 20px;
}

.main-logo-wrap img,
.event-title-wrap img {
  margin: 0 auto;
}
.event-title-wrap img{
  max-width: 100%;
  width: 480px;
  height: auto;
}

@media (max-width: 480px) {
  .section-main-title {
    padding: 32px 0 24px;
  }
}

/* ════ ② 日程ボタン ════ */
.section-date {
  padding: 0 0 48px;
  text-align: center;
}

.date-btn-wrap {
  margin-bottom: 4px;
  width: 70%;
  margin-inline: auto;
}

.date-btn {
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  background: none;
  border: none;
  padding: 0;
  width: 96%;
  margin-inline: auto;
}

.date-btn:hover {
  opacity: 0.85;
  transform: scale(1.02);
}


/* スライドダウン */
.date-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  width: 1600px;
  max-width: 96%;
  margin-inline: auto;
  padding-top: 40px;
}

.date-detail.is-open {
  max-height: 1400px;
}

.date-detail-inner {
  padding: 28px 0 8px;
}

/* 日付ヘッドライン */
.date-headline {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.date-headline span {
  font-size: 15px;
  font-weight: 400;
}

/* 地域バッジ（ボタン直下・常時表示） */
.date-locations {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 0;
}

.date-location-badge {
  position: relative;
  display: block;
  width: 170px;
}

.date-location-badge a {
  display: block;
}

.date-location-badge::before,
.date-location-badge::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* .date-location-badge::before {
  content: "";
  background: rgba(255, 255, 255, 0.72);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: 1;
}

.date-location-badge::after {
  content: "準備中";
  display: grid;
  place-items: center;
  color: #222;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  z-index: 2;
} */

/* スライド内スケジュールアイコン */
.date-schedule-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-bottom: 38px;
  width: 1180px;
  max-width: 100%;
  margin-inline: auto;
}

.date-schedule-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
  padding-bottom: 40px;
}

.date-schedule-row-vertical {
  flex-direction: column;
  align-items: center;
}

.date-schedule-icons a {
  display: block;
  transition: transform 0.2s, opacity 0.2s;
  width: 50%;
}

.date-schedule-row-vertical a {
  width: 50%;
}

.date-schedule-icons img {
  display: block;
  width: 100%;
  height: auto;
}

.date-schedule-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

@media (max-width: 938px) {
  .date-btn-wrap {
    width: 98%;
  }
}
@media (max-width: 680px) {
  .date-location-badge:last-child {
    margin-top: -60px;
  }
}
@media (max-width: 480px) {
  .date-detail {
    padding-top: 0px;
  }
  .date-headline {
    font-size: 18px;
  }
  .date-locations {
    gap: 25px;
    margin-top: 0px;
    margin-bottom: 0;
  }
  .date-location-badge {
    font-size: 13px;
    padding: 8px 0;
    width: 40%;
  }
  .date-location-badge::after {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .date-location-badge:last-child {
    margin-top: -60px;
  }
  .date-schedule-row {
    flex-direction: column;
  }
  .date-schedule-icons a {
    width: 100%;
  }
  .date-schedule-icons {
    padding-bottom: 0px;
  }

}

/* ════ ③ スピーカー・役員 ════ */
.section-speakers {
  padding: 90px 0 48px;
}

/* ロゴ */
.speakers-logo {
  text-align: center;
  padding: 48px 0 32px;
}
.speakers-logo img {
  margin: 0 auto;
  max-width: 100%;
  width: 220px;
  height: auto;
}

/* 大会説明文 */
.speakers-intro {
  text-align: center;
  padding-bottom: 48px;
}

.speakers-intro-heading {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.speakers-intro-text {
  font-size: 18px;
  line-height: 2;
  color: var(--color-text);
}

/* スピーカーグリッド */
.speakers-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 88px;
}

.speaker-item {
  display: block;
  text-align: center;
  width: 280px;
  transition: transform 0.2s, opacity 0.2s;
  color: var(--color-text);
}

.speaker-item:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* 写真：長方形 */
.speaker-item img {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
  margin-inline: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  filter: grayscale(0);
  transition: filter 0.45s ease;
}

.speaker-item:hover img {
  filter: grayscale(1);
}

.speaker-role {
  font-size: 16px;
  color: #777;
  line-height: 1.8;
  margin-bottom: 6px;
}

.speaker-name {
  font-size: 16px;
  font-weight: 400;
}

@media (max-width: 480px) {
  .speakers-intro-text {
    font-size: 15px;
  }
  .speaker-item {
    width: 86%;
  }
}

/* ════ ④ 参加会費のご案内ボタン（実サイズ） ════ */
.section-entry-btn {
  padding: 28px 0 98px;
  text-align: center;
}

.entry-btn-wrap {
  display: flex;
  justify-content: center;
  width: 200px;
  max-width: 60%;
  margin-inline: auto;
}

.entry-btn-wrap a {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.entry-btn-wrap a:hover {
  transform: translateY(-3px) scale(1.03);
  opacity: 0.9;
}

.entry-btn-guide {
  margin-top: 20px;
  margin-bottom: 0;
  text-align: center;
}

.entry-btn-guide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  background: #fff;
  box-sizing: border-box;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.entry-btn-guide a:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}


/* ════ ⑤ タイムテーブル（実サイズ） ════ */
.section-timetable {
  padding: 0 0 24px;
  text-align: center;
}

.timetable-title {
  margin-bottom: 12px;
  width: 520px;
  max-width: 75%;
  margin-inline: auto;
}

.timetable-title img {
  margin: 0 auto;
  max-width: 100%;
}

.tt-buttons {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}

.tt-buttons a {
  display: block;
  transition: transform 0.2s, opacity 0.2s;
}

.tt-buttons a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}
.tt-buttons a img {
  width: 50%;
  height: auto;
  margin-inline: auto;
}

/* ════ ⑥ PDFボタン（実サイズ） ════ */
.section-pdf-btns {
  padding: 0 0 66px;
}

.pdf-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.pdf-buttons a {
  display: block;
  transition: transform 0.2s, opacity 0.2s;
  width: 180px;
  max-width: 40%;
}

.pdf-buttons a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}


/* ════ ⑦ 旭川ナビゲーション ════ */
.section-hex-nav {
  padding: 0 0 48px;
}

.hex-nav-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hex-nav-grid a {
  display: block;
  transition: transform 0.2s, opacity 0.2s;
}

.hex-nav-grid a:hover {
  transform: translateY(-4px);
  opacity: 0.85;
}

/* ════ ⑧ スポンサーセクション（実サイズ） ════ */
.section-sponsors {
  padding: 48px 0;
  width: 800px;
  margin-inline: auto;
  max-width: 96%;
}

.sponsor-tier-1 {
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.sponsor-tier-1 img {
  margin: 0 auto;
  border: #c1c1c1 solid 1px;
}

.sponsor-tier-2 {
  margin-bottom: 30px;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.sponsor-tier-2 img {
  margin: 0 auto;
  border: #c1c1c1 solid 1px;
}

/* スポンサーグリッド: 実サイズで横並び・折り返し */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.sponsor-grid img {
  margin: 0 auto;
  border: #c1c1c1 solid 1px;
}
@media (max-width: 768px) {
  .sponsor-tier-1,
  .sponsor-tier-2,
  .sponsor-grid {
    gap: 10px;
    margin-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .section-entry-btn {
    padding: 14px 0 49px;
  }

  .entry-btn-wrap {
    width: 50%;
    max-width: 50%;
  }

  .entry-btn-guide {
    margin-top: 16px;
  }

  .entry-btn-guide a {
    width: min(100%, 320px);
    padding: 9px 14px;
    font-size: 14px;
  }

  .tt-buttons {
    gap: 15px;
    margin-top: 20px;
  }

  .pdf-buttons {
    gap: 22px;
  }

  .pdf-buttons a {
    max-width: 40%;
  }
  .pdf-buttons a:last-child {
    margin-top: -20px;
  }

}
