/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #7B2D8B;
  --color-secondary: #C94FA0;
  --color-accent: #F5C842;
  --color-tag-bg: linear-gradient(135deg, #75038B, #FF8DEE);
  --color-tag-text: #fff;
  --color-text: #000;
  --color-text-light: #666;
  --color-white: #fff;
  --color-border: #ddd;
  --color-section-divider: #e8c8f0;
  --color-coming-soon: #8B8A8A;

  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;

  /* PC (1400px+) */
  --nav-height: 120px;
  --section-padding: 100px 20px;
  --max-width: 1440px;
}

@font-face {
  font-family: 'DINAlternateBold';
  src: url('./fonts/DIN_Alternate_Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DINAlternateBold2';
  src: url('./fonts/DIN_Alternate_Bold_2.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DINCondensedBold';
  src: url('./fonts/DIN_Condensed_Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura';
  src: url('./fonts/Futura-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: #FFFDF6;
  background-image: url(./img/pc/bg.png);
  background-position: center;
  background-repeat: repeat-y;
  background-size: contain;
  line-height: 1.6;
}

img {
  max-width: 100%;
  width: 100%;
}

a {
  transition: .2s;
}

main {
  overflow-x: hidden;
}

/* ===== 中間帯 (900px〜1399px) ===== */
@media (max-width: 1399px) {
  :root {
    --nav-height: 80px;
    --section-padding: 80px 40px;
  }
}

/* ===== SP (〜899px) ===== */
@media (max-width: 899px) {
  :root {
    --nav-height: 45px;
    --section-padding: 50px 15px;
  }
  body {
    background-image: url(./img/sp/bg.png);
  }
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-primary);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__inner {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 30px;
}

.nav__links {
  display: flex;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}

.nav__links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: clamp(13px, 1.5vw, 32px);
  padding: 4px 8px;
  margin: 0 clamp(4px, 0.8vw, 20px);
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav__links a:hover {
  color: #F5C842;
}

.nav__inner .sns-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(16px, 2vw, 40px);
  width: clamp(30px, 4vw, 80px);
  height: clamp(30px, 4vw, 80px);
  background-color: #fff;
  border-radius: 100%;
  text-decoration: none;
  color: #000;
}

.nav__inner .sns-link a:hover {
  background-color: #000;
  color: #fff;
}

.nav__close {
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ハンバーガーボタン */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 45px;
  height: 45px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ドロワー */
.nav__drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 200;
  padding: 80px 30px 30px;
  transition: right 0.3s ease;
}

.nav__drawer.is-open {
  right: 0;
}

.nav__drawer-links {
  list-style: none;
}

.nav__drawer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav__drawer-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 0;
}

.nav__drawer-links a:hover {
  color: var(--color-accent);
}

.nav__drawer-close {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__drawer-close span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  left: 0;
}

.nav__drawer-close span:nth-child(1) {
  transform: rotate(45deg);
}

.nav__drawer-close span:nth-child(2) {
  transform: rotate(-45deg);
}

/* オーバーレイ */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
}

.nav__overlay.is-open {
  display: block;
}

/* ナビ：タブレット以下はハンバーガーに切り替え */
@media (max-width: 899px) {
  .nav__links {
    display: none;
  }

  .nav__inner {
    padding: 0 15px;
  }

  .nav__hamburger {
    display: flex;
    margin-left: 5px;
  }
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  padding: var(--section-padding);
  width: 100%;
}

.hero__inner > .section__tag {
  position: relative;
}

.hero__inner > .section__tag::after {
  content: '';
  display: block;
  width: clamp(80px, 12vw, 250px);
  height: clamp(80px, 12vw, 250px);
  background-image: url('./img/pc/free.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: clamp(-190px, -10vw, -20px);
  top: 50%;
  bottom: 50%;
  margin: auto;
}

.hero__logo {
  width: 100%;
}

.hero__catch {
  margin: 80px 0 60px;
}

.hero__catch img {
  width: auto;
  margin-right: auto;
  margin-left: auto;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 32px);
  margin-bottom: 70px;
  font-weight: 700;
}

.hero__date {
  font-size: clamp(62px, 9vw, 150px);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: 1px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-family: 'DINCondensedBold', sans-serif;
}

.hero__date span {
  font-size: clamp(36px, 4vw, 64px);
}

.hero__venue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text);
  font-weight: 700;
  width: min(1160px, 90%);
  margin: 0 auto;
}

.hero__venue p {
  font-size: clamp(14px, 1.5vw, 24px);
  line-height: 1.4;
  width: 85%;
}

.hero__venue-name {
  font-size: clamp(32px, 4.5vw, 70px);
  font-family: 'DINAlternateBold', sans-serif;
  font-weight: 700;
  color: var(--color-text);
}

.hero__venue .section__tag {
  width: 13%;
  margin: 0;
}

/* display切り替え */
.display--sp {
  display: none;
}

@media (max-width: 899px) {
  .hero__inner > .section__tag {
    margin-bottom: 20px;
  }

  .hero__inner > .section__tag::after {
    width: 110px;
    height: 110px;
    right: -10px;
  }

  .hero__catch {
    margin: 30px 0 30px;
  }

  .hero__sub {
    font-size: 16px;
    margin-bottom: 50px;
  }

  .hero__date {
    font-size: 62px;
    line-height: 1.2;
  }

  .hero__date span {
    font-size: 36px;
  }

  .hero__venue {
    display: block;
    width: 100%;
    padding: 0;
  }

  .hero__venue p {
    font-size: 14px;
    width: 100%;
  }

  .hero__venue-name {
    font-size: 46px;
    display: block;
  }

  .hero__venue .section__tag {
    width: 100%;
    margin: 0 auto 20px;
  }

  .display--pc {
    display: none;
  }

  .display--sp {
    display: block;
  }
}

/* ===== Section 共通 ===== */
.section {
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__line {
  width: min(1800px, 100%);
  margin: 100px auto;
}

.section__header {
  text-align: center;
  margin-bottom: 20px;
}

.section__title {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.section__title img {
  width: auto;
}

.section__tag {
  display: block;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  padding: 2px 12px;
  border-radius: 50px;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 32px);
  letter-spacing: 0.5px;
  width: min(1160px, 90%);
  margin: 0 auto;
}

.section__content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 300px;
  margin-bottom: 150px;
}

.coming-soon {
  font-family: 'Futura', sans-serif;
  font-size: clamp(24px, 4vw, 64px);
  font-weight: bold;
  color: var(--color-coming-soon);
  letter-spacing: 4px;
}

@media (max-width: 1399px) {
  .section__line {
    margin: 70px auto;
  }

  .section__content {
    margin-top: 200px;
    margin-bottom: 100px;
  }
}

@media (max-width: 899px) {
  .section__line {
    width: min(600px, 150%);
    margin: 50px auto;
  }

  .section__title {
    margin-bottom: 30px;
  }

  .section__tag {
    font-size: 16px;
    padding: 5px 10px;
    width: 100%;
  }

  .section__content {
    margin-top: 150px;
    margin-bottom: 50px;
  }
}

/* ===== お知らせ ===== */
#info a:hover {
  text-decoration: none;
}

#info a {
  position: relative;
  text-decoration: none;
}

#info a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

#info a:hover::after {
  width: 100%;
}

#info .section__content {
  margin-top: 50px;
  margin-bottom: 50px;
}

#info .section__content ul li {
  font-weight: 700;
  font-size: clamp(13px, 2vw, 34px);
  text-align: center;
  list-style: none;
  line-height: 1.8;
}

@media (max-width: 899px) {
  #info .section__content {
    margin-top: 30px;
    margin-bottom: 0;
  }
}


/* ===== 会場マップ ===== */
.section--map .section__content {
  min-height: 200px;
}

@media (max-width: 899px) {
  .section--map .section__content {
    min-height: 100px;
  }
}

/* ===== 道しるべ (アクセス) ===== */
#access .section__content {
  display: block;
  margin-top: 100px;
  margin-bottom: 0;
}

.access__text {
  margin-bottom: 100px;
}

.access__text p {
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

@media (max-width: 1399px) {
  #access .section__content {
    margin-top: 60px;
  }
}

@media (max-width: 899px) {
  #access .section__content {
    margin-top: 30px;
  }

  .access__text {
    margin-bottom: 50px;
  }

  .access__text p {
    font-size: 14px;
  }
}

/* ===== 開催概要 ===== */
#overview .section__content {
  margin-top: 100px;
  margin-bottom: 0;
}

#overview .section__content dl {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
}

#overview .section__content dl div {
  width: 45%;
  margin-bottom: 80px;
}

#overview .section__content dl div:nth-child(5),
#overview .section__content dl div:nth-child(6) {
  margin-bottom: 0;
}

#overview .section__content dl div dt,
#overview .section__content dl div dd {
  padding: 5px 30px 10px;
}

#overview .section__content dl div dt {
  background: var(--color-tag-bg);
  border-radius: 50px;
  color: var(--color-white);
  font-size: clamp(16px, 2vw, 32px);
  font-weight: 700;
  margin-bottom: 20px;
}

#overview .section__content dl div dd {
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: 600;
}

@media (max-width: 1399px) {
  #overview .section__content {
    margin-top: 60px;
  }
}

@media (max-width: 899px) {
  #overview .section__content {
    margin-top: 30px;
  }

  #overview .section__content dl div {
    width: 100%;
    margin-bottom: 30px;
  }

  #overview .section__content dl div:nth-child(5) {
    margin-bottom: 50px;
  }

  #overview .section__content dl div:nth-child(6) {
    margin-bottom: 0;
  }

  #overview .section__content dl div dt,
  #overview .section__content dl div dd {
    font-size: 16px;
    text-align: center;
  }

  #overview .section__content dl div dt {
    margin-bottom: 10px;
    padding: 5px 15px 10px;
  }
}

/* ===== 同時開催 ===== */
#co-event .section__content {
  margin-top: 0;
  margin-bottom: 0;
}

#co-event .section__content a:hover {
  opacity: .7;
}

#co-event .section__content a {
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 899px) {
  #co-event .section__content a {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* ===== 問い合わせ ===== */
.contact {
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

#contact a {
  color: var(--color-text);
  position: relative;
  text-decoration: none;
}

#contact a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

#contact a:hover::after {
  width: 100%;
}

.contact__info {
  font-size: clamp(18px, 3vw, 48px);
  font-weight: 700;
  margin-bottom: 50px;
}

.contact__info p:first-child {
  font-size: clamp(16px, 2.2vw, 36px);
}

.contact__logo {
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 899px) {
  .contact {
    margin: 0 auto 50px;
  }

  .contact__info p:first-child {
    font-size: 16px;
  }

  .contact__info {
    font-size: 18px;
    margin-bottom: 50px;
  }

  .contact__logo {
    max-width: 60%;
  }
}

/* ===== Footer ===== */
.footer {
  background-color: #000;
  color: var(--color-white);
  text-align: center;
  padding: 50px 30px;
  font-size: clamp(12px, 1.2vw, 20px);
}