/*
  恋フェスJAPAN テーマ別サブLP共通CSS
  index.html のneo-brutalistデザインシステムから抽出。
  index.html自体はこのファイルを読み込まず、引き続きインラインstyleのまま運用する。
*/
:root {
  --bg-color: #f0f0f0;
  --primary: #ff4500;
  --accent: #ffd700;
  --text-dark: #111111;
  --border-thick: 4px solid #111111;
  --shadow-heavy: 8px 8px 0px #111111;
  --shadow-hover: 12px 12px 0px #111111;
}
body, html {
  margin: 0; padding: 0;
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  overflow-x: hidden;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  touch-action: manipulation;
}
button, a, .hover-target, .nav-link, .event-card, .theme-card, .btn-submit, .hero-btn, .line-btn, summary {
  touch-action: manipulation;
}
* { box-sizing: border-box; }
a, button, input, select, textarea {
  cursor: none; text-decoration: none; color: inherit;
  border: none; outline: none; background: none;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.custom-cursor {
  position: fixed; top: 0; left: 0;
  width: 24px; height: 24px;
  pointer-events: none;
  z-index: 9999; mix-blend-mode: difference;
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
  transform: translate(-50%, -50%);
}
.custom-cursor svg { width: 100%; height: 100%; display: block; fill: var(--primary); }
.custom-cursor.hovered { width: 44px; height: 44px; }
.custom-cursor.hovered svg { fill: var(--accent); }
.fade-in-element { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.fade-in-element.is-visible { opacity: 1; transform: translateY(0); }
.floating-element {
  position: fixed; bottom: -150px; z-index: 1;
  pointer-events: none; animation: floatUp linear forwards;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  10% { opacity: 0.2; }
  100% { transform: translateY(-120vh) rotate(360deg) scale(1.5); opacity: 0; }
}

/* ヘッダー */
.global-header {
  padding: 20px 5%; display: flex;
  justify-content: space-between; align-items: center;
  border-bottom: var(--border-thick);
  background-color: #ffffff;
  position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; line-height: 1.2; }
.logo .logo-sub { display: block; font-size: 0.55em; letter-spacing: 0.1em; color: var(--primary); font-weight: 900; margin-top: 2px; }
.header-nav { display: none; gap: 15px; }
.nav-link {
  font-weight: 900; font-size: 1.05rem;
  padding: 8px 14px; border: 2px solid transparent; transition: all 0.2s;
}
.nav-link:hover {
  border: 2px solid var(--text-dark); background-color: var(--accent);
  transform: translate(-2px, -2px); box-shadow: 4px 4px 0px var(--text-dark);
}

/* セクション共通 */
.section-title {
  font-size: 1.8rem; font-weight: 900;
  text-transform: uppercase; border-bottom: var(--border-thick);
  display: inline-block; margin-bottom: 40px; padding-bottom: 10px;
  background: linear-gradient(transparent 60%, var(--primary) 60%);
}
.content-wrapper { padding: 40px 4%; max-width: 1400px; margin: 0 auto; position: relative; z-index: 10; }

/* ヒーロー */
.hero-section {
  padding: 40px 0; border-bottom: var(--border-thick);
  background-color: #ffffff; overflow: hidden;
  position: relative; display: flex; align-items: center;
  justify-content: center; min-height: 320px;
}
.hero-center-action {
  position: relative; z-index: 20; width: 90%; max-width: 600px;
  text-align: center; display: flex; flex-direction: column; gap: 20px;
}
.hero-btn {
  background: var(--primary); color: white;
  border: var(--border-thick); box-shadow: var(--shadow-heavy);
  padding: 20px 40px; font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 900; width: 100%; display: inline-block; transition: 0.3s;
}
.hero-btn:hover { transform: translate(-8px, -8px); box-shadow: 16px 16px 0px #111111; background: var(--accent); color: var(--text-dark); }
.hero-btn.dark { background: var(--text-dark); }

/* LINE登録ボタン */
.line-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #ffd700; border: 4px solid #111; box-shadow: 6px 6px 0px #111;
  border-radius: 100px; padding: 14px 24px;
  font-size: clamp(1.05rem, 3vw, 1.3rem); font-weight: 900; color: #111;
  transition: all 0.2s; text-decoration: none; width: 100%; max-width: 480px;
}
.line-btn:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0px #111; background: #ffe033; }
.line-btn .line-icon-wrap { position: relative; width: 42px; height: 42px; flex-shrink: 0; }
.line-btn .line-icon-wrap .phone-svg, .line-btn .line-icon-wrap svg { width: 42px; height: 42px; }
.line-btn-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.line-btn-sub { font-size: 0.75rem; font-weight: 700; color: #555; letter-spacing: 0.05em; }
.line-btn-main { font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 900; color: #111; letter-spacing: 0.02em; }
.line-btn-img { display: block; width: 100%; max-width: 320px; margin: 0 auto; text-decoration: none; transition: transform 0.15s; }
.line-btn-img-el { width: 100%; height: auto; display: block; }
.line-btn-img:hover { transform: translate(-3px, -3px); }

/* 固定LINEバー */
.fixed-line-bar {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9000; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease; width: calc(100% - 32px);
}
.fixed-line-bar.visible { opacity: 1; pointer-events: auto; }
.fixed-line-bar .line-btn { max-width: 100%; }

/* 統計・カード */
.stats-section { padding: 50px 4%; background-color: var(--primary); border-bottom: var(--border-thick); color: white; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1400px; margin: 0 auto; }
.stat-card { background: #fff; border: var(--border-thick); box-shadow: var(--shadow-heavy); padding: 30px; text-align: center; color: var(--text-dark); }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--primary); }
.animate-num { display: inline-block; }

/* 開催予定イベントカード */
.event-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.event-card {
  background: #fff; border: var(--border-thick); box-shadow: var(--shadow-heavy);
  padding: 24px 20px; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.event-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hover); }
.ev-date {
  display: inline-block; align-self: flex-start; background: var(--text-dark); color: #fff;
  font-weight: 900; font-size: 1.05rem; letter-spacing: .06em; padding: 6px 14px; margin-bottom: 14px;
}
.ev-date.is-awa { background: var(--primary); }
.ev-title { font-size: clamp(1.4rem, 4.5vw, 1.9rem); font-weight: 900; margin: 0 0 6px 0; line-height: 1.3; }
.ev-catch { font-weight: bold; font-size: .95rem; color: #666; margin: 0 0 18px 0; line-height: 1.6; }
.ev-dl { display: grid; grid-template-columns: 76px 1fr; gap: 10px 12px; margin: 0 0 18px 0; font-size: .93rem; }
.ev-dl dt { font-weight: 900; color: #111; border-right: 2px solid #eee; }
.ev-dl dd { margin: 0; font-weight: bold; color: #444; line-height: 1.55; }
.ev-note { background: var(--accent); border: 2px solid #111; font-weight: 900; font-size: .9rem; line-height: 1.6; padding: 10px 12px; margin: 0 0 20px 0; }
.ev-btn {
  display: block; text-align: center; margin-top: auto;
  background: var(--primary); color: #fff; border: 2px solid #111; box-shadow: 4px 4px 0 #111;
  font-weight: 900; font-size: 1.05rem; padding: 15px 10px;
}
.ev-btn:hover { background: #111; }

/* 近日開催プレースホルダー */
.coming-soon-box { background: #f9f9f9; border: var(--border-thick); box-shadow: var(--shadow-heavy); padding: 32px 24px; text-align: center; max-width: 700px; margin: 0 auto; }
.coming-soon-chip { display: inline-block; background: var(--accent); border: 2px solid #111; font-weight: 900; font-size: 0.85rem; padding: 5px 14px; margin-bottom: 16px; }

/* ステータスチップ（受付終了・近日開催等） */
.theme-card-chip { display: inline-block; font-weight: 900; font-size: 0.78rem; padding: 5px 12px; border: 2px solid #111; background: #fff; }
.theme-card-chip.is-live { background: var(--accent); }
.theme-card-chip.is-soon { background: #f0f0f0; color: #666; }

/* MIRAIZ mock 用の共通トークン（値自体はページ側でHTML複製） */
.mock-frame { background: #222; border: 3px solid #555; border-radius: 28px; padding: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }

/* FAQ */
.faq-item { background: #f9f9f9; border: var(--border-thick); box-shadow: 4px 4px 0 #111; padding: 18px 20px; margin-bottom: 14px; cursor: pointer; }
.faq-item summary { font-weight: 900; font-size: 1.05rem; line-height: 1.5; color: #111; }
.faq-item p { font-weight: bold; line-height: 1.8; margin: 14px 0 0 0; color: #444; font-size: 0.95rem; }

/* ページに戻るリンク */
.back-home-link { font-weight: 900; font-size: 0.85rem; color: #666; }
.back-home-link:hover { color: var(--primary); }

/* ===== モバイルファースト：768px以上はデスクトップ拡張 ===== */
@media (min-width: 768px) {
  .custom-cursor { display: block; }
  .section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 50px; }
  .content-wrapper { padding: 80px 5%; }
  .header-nav { display: flex; }
  .hero-section { padding: 80px 0; min-height: 460px; }
  .event-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .event-card { padding: 32px 28px; }
  .stats-section { padding: 80px 5%; }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .stat-number { font-size: 4rem; }
  .line-btn { padding: 16px 36px; gap: 16px; }
  .line-btn .line-icon-wrap { width: 52px; height: 52px; }
  .line-btn .line-icon-wrap .phone-svg, .line-btn .line-icon-wrap svg { width: 52px; height: 52px; }
  .fixed-line-bar { width: auto; }
}
