/* ============================================
   日本海マジックコンベンション 公式サイト
   テーマ：空色 × 虹 × 赤リボン（明るいポップ）
   ============================================ */
:root {
  --sky: #bfe7f8;
  --sky-light: #eaf7fd;
  --blue: #1f6fd0;
  --navy: #17436e;
  --pink: #e8336d;
  --red: #d92643;
  --yellow: #f7b823;
  --green: #2da05a;
  --ink: #23303c;
  --gray: #5d6b78;
  --white: #ffffff;
  --line: #d3e6ef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--sky-light);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .8; }

.en { font-family: "Baloo 2", "Zen Maru Gothic", sans-serif; letter-spacing: .08em; font-weight: 700; }

.rainbow-bar {
  height: 6px;
  background: linear-gradient(90deg, #e8336d, #f7801e, #f7b823, #2da05a, #1f6fd0, #7b52c7);
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; color: var(--navy); }
.brand .mark { font-size: 22px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

.global-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.global-nav a { display: block; padding: 8px 13px; font-size: 14px; font-weight: 700; color: var(--ink); border-radius: 999px; }
.global-nav a:hover { color: var(--pink); opacity: 1; }
.global-nav a.current { color: var(--pink); }
.nav-cta a {
  background: var(--pink); color: #fff !important; border-radius: 999px;
  padding: 9px 22px !important; margin-left: 10px;
  box-shadow: 0 4px 14px rgba(232,51,109,.35);
}
.nav-cta a:hover { background: var(--red); opacity: 1; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(ellipse 60% 45% at 18% 12%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 18%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(180deg, #8fd4f2 0%, #bfe7f8 55%, #eaf7fd 100%);
  padding: 96px 24px 84px;
}
.hero .kicker {
  display: inline-block; background: var(--yellow); color: #5b3c00;
  font-size: 13.5px; font-weight: 800; letter-spacing: .12em;
  padding: 7px 26px; border-radius: 999px; margin-bottom: 26px;
  box-shadow: 0 4px 14px rgba(247,184,35,.4);
}
.hero h1 {
  font-size: clamp(32px, 6vw, 62px); font-weight: 900; line-height: 1.3;
  color: var(--blue); letter-spacing: .02em; margin-bottom: 6px;
  text-shadow: 0 2px 0 #fff, 0 6px 22px rgba(31,111,208,.25);
}
.hero h1 .year { color: var(--pink); }
.hero .sub { color: var(--navy); font-weight: 800; font-size: clamp(15px, 2vw, 19px); margin: 10px 0 30px; }
.hero .date-box {
  display: inline-block; background: #fff; border: 2px solid var(--blue); border-radius: 16px;
  padding: 18px 34px; margin-bottom: 34px; box-shadow: 0 10px 30px rgba(31,111,208,.15);
}
.hero .date-box .d { font-size: clamp(18px, 2.6vw, 24px); font-weight: 900; color: var(--ink); }
.hero .date-box .d .dow-sat { color: var(--blue); }
.hero .date-box .d .dow-sun { color: var(--red); }
.hero .date-box .v { font-size: 14.5px; color: var(--gray); font-weight: 700; margin-top: 4px; }

.btn {
  display: inline-block; background: var(--pink); color: #fff; font-weight: 800;
  padding: 15px 42px; font-size: 15.5px; letter-spacing: .06em; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(232,51,109,.35);
  transition: transform .2s, background .2s, box-shadow .25s;
}
.btn:hover { background: var(--red); transform: translateY(-2px); opacity: 1; color: #fff; box-shadow: 0 10px 26px rgba(232,51,109,.45); }
.btn.btn-outline { background: #fff; color: var(--pink); border: 2px solid var(--pink); box-shadow: none; }
.btn.btn-outline:hover { background: var(--pink); color: #fff; }
.btn.line-btn { background: #06c755; box-shadow: 0 6px 20px rgba(6,199,85,.3); }
.btn.line-btn:hover { background: #05a648; }

/* ---------- 賞金バー ---------- */
.prize-bar {
  background: linear-gradient(120deg, var(--pink), #f7801e);
  color: #fff; text-align: center; padding: 20px 24px;
}
.prize-bar .label { font-size: 13.5px; letter-spacing: .2em; display: block; font-weight: 800; }
.prize-bar .amount { font-family: "Baloo 2", sans-serif; font-size: clamp(26px, 4.4vw, 42px); font-weight: 800; line-height: 1.3; }
.prize-bar .amount small { font-size: .5em; }

/* ---------- セクション ---------- */
section { padding: 84px 0; }
section.alt { background: #fff; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title .ribbon {
  display: inline-block; background: var(--pink); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .18em;
  padding: 6px 30px; border-radius: 999px; margin-bottom: 14px;
}
.section-title h2 { font-size: clamp(23px, 3.2vw, 32px); font-weight: 900; color: var(--navy); letter-spacing: .03em; }
.section-title h2::after {
  content: ""; display: block; width: 90px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, #e8336d, #f7801e, #f7b823, #2da05a, #1f6fd0, #7b52c7);
  margin: 16px auto 0;
}
.lead { text-align: center; max-width: 760px; margin: -24px auto 46px; color: var(--gray); font-weight: 500; }

/* ---------- カード ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card {
  background: #fff; border-radius: 18px; padding: 30px 24px;
  box-shadow: 0 8px 26px rgba(31,111,208,.1);
  border-top: 5px solid var(--blue);
  transition: transform .25s, box-shadow .25s;
}
.card:nth-child(2) { border-top-color: var(--green); }
.card:nth-child(3) { border-top-color: var(--pink); }
.card:nth-child(4) { border-top-color: var(--yellow); }
.card:nth-child(5) { border-top-color: #7b52c7; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(31,111,208,.18); }
.card .card-icon { font-size: 32px; margin-bottom: 10px; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 13.5px; color: var(--gray); }
.card .prize-note { display: inline-block; margin-top: 10px; background: #fff3cd; color: #8a6100; font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; }

/* ---------- 概要・ゲスト ---------- */
.overview-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .overview-grid { grid-template-columns: 1fr; } }
.overview-grid img { border-radius: 14px; box-shadow: 0 14px 40px rgba(23,67,110,.2); }

.info-panel {
  background: #fff; border-radius: 18px; padding: 34px;
  box-shadow: 0 8px 26px rgba(31,111,208,.1);
}
.info-panel h3 { color: var(--navy); font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
.info-panel .badge {
  display: inline-block; background: var(--green); color: #fff; font-size: 11.5px;
  padding: 3px 14px; border-radius: 999px; margin-left: 10px; vertical-align: middle; font-weight: 800;
}
.info-panel dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; font-size: 15px; }
.info-panel dt { color: var(--pink); font-weight: 800; }
.info-panel dd { color: var(--ink); }
@media (max-width: 560px) {
  .info-panel { padding: 24px 20px; }
  .info-panel dl { grid-template-columns: 1fr; gap: 2px 0; }
  .info-panel dd { margin-bottom: 10px; }
}

/* ---------- ゲスト ---------- */
.guest-panel {
  background: linear-gradient(135deg, #fff 0%, #fdf2f7 100%);
  border-radius: 20px; padding: 40px; max-width: 860px; margin: 0 auto;
  box-shadow: 0 10px 32px rgba(232,51,109,.14);
  border: 1px solid #f7d6e3;
}
.guest-panel .g-label { display: inline-block; background: var(--pink); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; padding: 4px 18px; border-radius: 999px; margin-bottom: 14px; }
.guest-panel h3 { font-size: clamp(26px, 4vw, 36px); color: var(--ink); line-height: 1.3; }
.guest-panel .g-en { color: var(--pink); font-size: 14px; letter-spacing: .22em; margin-bottom: 20px; }
.guest-panel p { font-size: 14.5px; color: var(--gray); margin-bottom: 12px; }

/* ---------- 料金表 ---------- */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 860px; margin: 0 auto; }
.price-card {
  background: #fff; border-radius: 18px; padding: 30px 24px; text-align: center;
  box-shadow: 0 8px 26px rgba(31,111,208,.1); border-top: 5px solid var(--blue);
}
.price-card:nth-child(2) { border-top-color: var(--pink); }
.price-card:nth-child(3) { border-top-color: var(--green); }
.price-card h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 10px; min-height: 3em; display: flex; align-items: center; justify-content: center; }
.price-card .price { font-family: "Baloo 2", sans-serif; font-size: 34px; font-weight: 800; color: var(--pink); line-height: 1.2; }
.price-card .price small { font-size: .5em; }
.price-card .note { font-size: 12.5px; color: var(--gray); margin-top: 6px; font-weight: 700; }

/* ---------- 過去大会ギャラリー ---------- */
.era-block { margin-bottom: 56px; }
.era-block h3 {
  text-align: center; font-size: clamp(19px, 2.6vw, 24px); color: var(--navy); margin-bottom: 8px;
}
.era-block .era-sub { text-align: center; font-size: 13.5px; color: var(--gray); font-weight: 700; margin-bottom: 22px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gallery a {
  display: block; background: #fff; border-radius: 12px; padding: 10px;
  box-shadow: 0 6px 20px rgba(23,67,110,.12);
  transition: transform .2s, box-shadow .25s;
}
.gallery a:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 12px 30px rgba(23,67,110,.2); opacity: 1; }
.gallery img { border-radius: 6px; width: 100%; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--blue) 0%, #3f8ce0 100%);
  color: #fff; text-align: center;
}
.cta h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.cta p { color: #dcecfb; margin-bottom: 32px; font-weight: 500; }
.cta .btn { background: var(--yellow); color: #5b3c00; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.cta .btn:hover { background: #fff; color: var(--blue); }
.cta .btn.line-btn { background: #06c755; color: #fff; }
.cta .btn.line-btn:hover { background: #05a648; color: #fff; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #bcd3e8; padding: 56px 0 28px; }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 0 24px; text-align: center; }
.footer-brand { color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 20px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin-bottom: 26px; }
.footer-nav a { color: #bcd3e8; font-size: 13.5px; font-weight: 700; }
.footer-nav a:hover { color: #fff; }
.sns { display: flex; justify-content: center; gap: 16px; margin-bottom: 26px; }
.sns a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; transition: background .25s;
}
.sns a:hover { background: var(--pink); opacity: 1; }
.sns svg { width: 18px; height: 18px; fill: #fff; }
.host-note { font-size: 13.5px; color: #bcd3e8; margin-bottom: 22px; font-weight: 700; }
.host-note a { color: #fff; text-decoration: underline; }
.copyright { font-size: 12px; color: #7e9cba; border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .global-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(23,67,110,.12);
  }
  .global-nav.open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .global-nav a { padding: 13px 26px; font-size: 15px; }
  .nav-cta a { margin: 10px 22px; text-align: center; }
  .hero { padding: 70px 20px 56px; }
  section { padding: 58px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
