/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
               Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ============================================
   VARIABLES
============================================ */
:root {
  --gold:    #b8ac58;
  --dark:    #1c1c2c;
  --dark2:   #232336;
  --white:   #ffffff;
  --gray:    #f5f5f5;
  --text:    #333333;
  --inner-w: 1100px;
}

/* ============================================
   INNER WRAPPER
============================================ */
.section-inner {
  max-width: var(--inner-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================
   HEADER
============================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 0 0 0 30px;
  height: 70px;
}

.logo {
  height: 44px;
}

.logo img {
  height: 44px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}



/* ============================================
   MAIN VISUAL
============================================ */
#mv {
  position: relative;
  margin-top: 70px;
  overflow: hidden;
}

.mv-bg {
  width: 100%;
  height: auto;
  display: block;
}

.mv-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.mv-sub {
  font-size: clamp(16px, 2vw, 26px);
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  font-weight: 500;
}

.mv-title {
  font-size: clamp(28px, 5vw, 70px);
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.15;
}


/* ============================================
   LEGEND SECTION
============================================ */
#legend {
  line-height: 0;
}

#legend picture,
#legend img {
  width: 100%;
  display: block;
}

/* ============================================
   DETAIL SECTION
============================================ */
#detail {
  padding: 80px 0 60px;
  background: #fff;
}

.section-title-img {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-img img {
  max-width: 650px;
  margin: 0 auto;
}

/* 大会概要テーブル */
.detail-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 50px;
  border-collapse: collapse;
}

.detail-table tr {
  border-bottom: 1px solid #ddd;
}

.detail-table tr:first-child {
  border-top: 1px solid #ddd;
}

.detail-table th {
  width: 130px;
  padding: 22px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  vertical-align: top;
  white-space: nowrap;
}

.detail-table td {
  padding: 22px 20px;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}


/* ============================================
   REGULATION SECTION
============================================ */
#regulation {
  background: #fff;
  padding: 80px 0 80px;
  color: var(--text);
}

.regulation-heading {
  text-align: center;
  margin-bottom: 60px;
}

.regulation-heading .section-title-img {
  margin-bottom: 12px;
}

.regulation-heading .section-title-img img {
  max-width: 380px;
}

.regulation-sub {
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.1em;
}

/* 2カラムレイアウト */
.regulation-body {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.regulation-text {
  flex: 1;
  min-width: 0;
}

.regulation-visual {
  flex: 1;
  min-width: 0;
}

/* ルールブロック */
.reg-block {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.reg-block:first-child {
  border-top: 1px solid #ddd;
}

.reg-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  padding-top: 2px;
}

.reg-content {
  flex: 1;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}

.reg-content p {
  margin-bottom: 8px;
}

.reg-content ul {
  padding-left: 0;
}

.reg-content ul li {
  margin-bottom: 4px;
}

/* ・付きリスト */
.reg-content .ul-dot li {
  padding-left: 1em;
  text-indent: -1em;
}

.reg-content .ul-dot li::before {
  content: "・";
}

/* ●など記号付きリスト（・不要） */
.reg-content .ul-plain li {
  padding-left: 1em;
  text-indent: -1em;
}

/* 会場マップ */
.reg-map {
  margin-bottom: 30px;
}

.reg-map-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.6;
}

.reg-map-title span {
  font-size: 13px;
  font-weight: 400;
}

.reg-map-note {
  font-size: 12px;
  color: #888;
  margin-bottom: 14px;
}

.reg-court-img,
.reg-stadium-img {
  width: 100%;
  margin-bottom: 10px;
}

.reg-court-img img,
.reg-stadium-img img {
  width: 100%;
  height: auto;
}

.reg-zoom-note {
  font-size: 12px;
  color: #999;
  margin-bottom: 30px;
}


/* スケジュール */
.reg-schedule {
  margin-bottom: 30px;
}

.reg-schedule-inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.reg-schedule-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  padding-right: 20px;
  padding-top: 16px;
}

.reg-schedule-rows {
  flex: 1;
}

.schedule-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 16px;
  border-left: 3px solid #1a5fb4;
  margin-bottom: 10px;
}

.schedule-row:last-child {
  margin-bottom: 0;
}

.schedule-time {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  min-width: 110px;
}

.schedule-content {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.schedule-content.kickoff {
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
}

.schedule-content.kickoff span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  margin-top: 2px;
}

/* 中止の場合 */
.reg-cancel {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.reg-cancel .reg-label {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  width: auto;
}

.reg-cancel p {
  font-size: 13px;
  color: #444;
  line-height: 1.8;
}

/* ============================================
   NOTES SECTION
============================================ */
#notes {
  padding: 80px 0;
  background: #fff;
}

.notes-body {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.notes-col {
  flex: 1;
  min-width: 0;
}

.notes-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.notes-block {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.notes-label {
  width: 80px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  padding-top: 2px;
}

.notes-content {
  flex: 1;
  font-size: 13px;
  line-height: 1.9;
  color: #444;
}

.notes-content p {
  margin-bottom: 10px;
}

.notes-content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SPONSOR SECTION
============================================ */
#sponsor {
  background: url("img/img_sec4.jpg") center center / cover no-repeat;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sponsor-title-img {
  margin-bottom: 36px;
}

.sponsor-title-img img {
  max-width: 320px;
  margin: 0 auto;
}

.sponsor-list {
  display: flex;
  justify-content: center;
}

.sponsor-placeholder {
  background: #fff;
  width: 340px;
  padding: 30px 20px;
  font-size: 16px;
  color: #888;
  text-align: center;
  letter-spacing: 0.05em;
}


/* ============================================
   FOOTER
============================================ */
#footer {
  background: var(--dark);
  padding: 50px 20px 36px;
  text-align: center;
  color: rgba(255,255,255,0.8);
}

.footer-entry {
  margin-bottom: 32px;
}


.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-host {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

#footer address p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}

.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
}

.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* ============================================
   RESPONSIVE — SP (max 767px)
============================================ */
@media (max-width: 767px) {

  .section-inner {
    padding: 0 20px;
  }

  /* Header */
  .header-inner {
    padding: 0 16px;
    height: 56px;
  }

  .logo {
    height: 34px;
  }

  .logo img {
    height: 34px;
  }

  /* ヘッダー内ENTRYボタン SP */
  .header-inner {
    padding: 0 0 0 16px;
  }

  .header-nav .entry-btn--apply {
    font-size: 11px;
    padding: 0 14px;
    height: 56px;
    letter-spacing: 0;
  }

  .header-nav .entry-btn--icon {
    height: 56px;
    padding: 0 14px;
  }

  .header-nav .entry-btn--icon img {
    height: 30px;
  }

  /* MV */
  #mv {
    margin-top: 56px;
  }

  .mv-sub {
    font-size: 12px;
  }

  .mv-title {
    font-size: 24px;
  }


  /* Detail */
  #detail {
    padding: 50px 0 40px;
  }

  .section-title-img img {
    max-width: 90%;
  }

  .detail-table {
    display: table;
  }

  .detail-table th {
    width: 80px;
    font-size: 12px;
    padding: 14px 12px;
  }

  .detail-table td {
    font-size: 12px;
    padding: 14px 12px;
  }

  .map-area {
    padding: 20px;
  }

  /* Regulation */
  #regulation {
    padding: 50px 0 50px;
  }

  .regulation-body {
    flex-direction: column;
    gap: 40px;
  }

  .regulation-visual {
    width: 100%;
  }

  .regulation-heading .section-title-img img {
    max-width: 70%;
  }

  .reg-block {
    flex-direction: column;
    gap: 8px;
  }

  .reg-label {
    width: auto;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 6px;
  }

  /* Notes */
  #notes {
    padding: 50px 0;
  }

  .notes-body {
    flex-direction: column;
    gap: 40px;
  }

  .notes-block {
    flex-direction: column;
    gap: 6px;
  }

  .notes-label {
    width: auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
  }

  /* Sponsor */
  #sponsor {
    height: auto;
    padding: 50px 0;
  }

  .sponsor-placeholder {
    width: 80%;
  }

  /* Entry */
  #entry {
    padding: 30px 20px;
  }

  .entry-btn-wrap img {
    height: 50px;
  }

  /* Footer */
  #footer {
    padding: 30px 20px 24px;
  }

  .footer-host {
    font-size: 14px;
  }
}

/* ============================================
   ZOOMABLE IMAGES
============================================ */
.zoomable {
  position: relative;
  cursor: zoom-in;
  display: block;
}

.zoomable img {
  display: block;
  width: 100%;
  transition: opacity 0.2s;
}

.zoomable:hover img {
  opacity: 0.85;
}

.zoom-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.zoomable:hover .zoom-icon {
  opacity: 1;
}

/* ============================================
   LIGHTBOX MODAL
============================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#lightbox.is-open {
  display: flex;
  opacity: 1;
}

#lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

#lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  display: block;
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   MAP EMBED (detail table内)
============================================ */
.map-embed {
  margin-top: 14px;
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* ============================================
   ENTRY BUTTON（共通）
============================================ */
.entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5c400;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.entry-btn:hover {
  opacity: 0.85;
}

/* 「大会申し込み」テキストボタン */
.entry-btn--apply {
  font-size: 14px;
  font-weight: 900;
  color: #111;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 0 28px;
  height: 70px;
}

/*「ENTRY」アイコンボタン */
.entry-btn--icon {
  height: 70px;
  padding: 0 24px;
}

.entry-btn--icon img {
  height: 42px;
  width: auto;
  display: block;
}

/* フッター内ボタン */
.footer-entry {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
  gap: 0;
}

.footer-entry .entry-btn--apply {
  height: 64px;
  font-size: 15px;
  padding: 0 32px;
}

.footer-entry .entry-btn--icon {
  height: 64px;
  padding: 0 24px;
}

.footer-entry .entry-btn--icon img {
  height: 44px;
}


/* 応援者について */
.reg-supporters {
  padding: 16px 0 20px;
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
}

.reg-supporters-title {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.reg-supporters p {
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}

/* ============================================
   PAGE TOP BUTTON
============================================ */
#pagetop {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: #2a4a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 99;
}

#pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}

#pagetop:hover {
  background: #1a3a7a;
}

/* notes-content 内のリスト */
.notes-content .ul-dot {
  padding-left: 0;
}

.notes-content .ul-dot li {
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.9;
  color: #444;
}

.notes-content .ul-dot li::before {
  content: "・";
}
