/* ============================================================
   page.css — 城東ウォリアーズ ページ固有スタイル
   ============================================================
   Index (index.html) と サブページ (about / membership / privacy)
   それぞれのスタイルをセクションで管理します。
   ============================================================ */


/* ==========================================================
   ── INDEX PAGE ──────────────────────────────────────────
   ========================================================== */

/* ヒーローセクション */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #e3f2e8 0%, #fefcf8 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  top: -100px; right: -200px;
  z-index: 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; max-width: 540px; }
.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease-out 0.2s both;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.3;
  color: var(--primary-dark);
  margin-bottom: 24px;
  animation: fadeIn 0.8s ease-out 0.4s both;
}
.hero p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-mid);
  margin-bottom: 32px;
  animation: fadeIn 0.8s ease-out 0.6s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease-out 0.8s both;
}
.hero-visual {
  flex: 1;
  position: relative;
  animation: fadeInRight 1s ease-out 0.6s both;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-color: var(--border);
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 100%; max-width: 600px; }
}

/* セクション共通（index） */
.section { padding: 100px 0; }
.section-label {
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--primary-dark);
  margin-bottom: 24px;
}
.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  color: var(--text-mid);
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-desc { margin-bottom: 40px; }
}

/* スケジュールセクション */
.schedule-section { background-color: var(--bg-white); }
.schedule-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 850px;
  margin: 0 auto;
}
.schedule-icon { font-size: 48px; margin-bottom: 16px; }
.schedule-note { color: var(--text-mid); margin-bottom: 24px; }
.calendar-wrapper {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}
.calendar-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
@media (max-width: 768px) {
  .calendar-wrapper { padding-bottom: 100%; }
}

/* 特長セクション */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.feature-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-bottom-color 0.3s ease;
  border-bottom: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}
.feature-icon {
  width: 80px; height: 80px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  color: var(--primary);
}
.feature-card h3 { font-size: 20px; margin-bottom: 16px; color: var(--primary-dark); }
.feature-card p  { color: var(--text-mid); font-size: 15px; text-align: left; }

/* YouTube セクション */
.youtube-section { background-color: var(--bg); }
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.youtube-wrapper { display: flex; flex-direction: column; }
.youtube-item {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: block;
}
.youtube-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.youtube-item:hover img { transform: scale(1.05); }
.youtube-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}
.youtube-item:hover .youtube-play-btn { background: rgba(0, 0, 0, 0.1); }
.youtube-play-icon {
  width: 64px; height: 64px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* 中間バナー CTA */
.banner-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 60px 24px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: var(--shadow-lg);
}
.banner-cta h2 { color: #fff; margin-bottom: 16px; }
.banner-cta p  { opacity: 0.9; margin-bottom: 32px; }

/* 関連リンクセクション */
.links-section { background-color: var(--bg); }
.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow);
}
.link-chip::before {
  content: '🔗';
  font-size: 12px;
  opacity: 0.6;
}
.link-chip:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* FAQ セクション */
.faq-section { background-color: var(--bg-white); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-q {
  padding: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px;
  color: var(--text-mid);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-a {
  max-height: 600px;
  padding: 0 24px 24px;
  border-top: 1px dashed var(--border);
}
.faq-a a { color: var(--primary); text-decoration: underline; }
.faq-a a:hover { color: var(--accent); }


/* ==========================================================
   ── SUBPAGES (about / membership / privacy) ─────────────
   ========================================================== */

/* コンテンツエリア共通 */
.content-section { padding: 80px 0; background-color: var(--bg-white); }

/* about-block: 見出し＋本文の繰り返し単位 */
.about-block { margin-bottom: 60px; }
.about-block:last-child { margin-bottom: 0; }
.about-block h2 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.about-block h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background-color: var(--primary);
}
.about-block h3 { font-size: 18px; color: var(--primary); margin: 24px 0 12px; }
.about-block p  { font-size: 15px; color: var(--text-mid); margin-bottom: 16px; }

/* 情報パネル */
.info-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.info-panel h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 12px; }
.info-panel p  { margin-bottom: 0; }

/* 参加費画像ラッパー */
.price-image-wrapper {
  margin: 32px 0;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* 会員規約リスト */
.rule-list { margin-top: 24px; }
.rule-list > li {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}
.rule-list > li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rule-title {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.rule-title span { color: var(--primary); font-family: 'Zen Kaku Gothic New', sans-serif; }
.rule-desc { font-size: 15px; color: var(--text-mid); padding-left: 28px; }

/* about ページの強みカード */
.strength-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
.strength-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.strength-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.strength-card p { font-size: 15px; margin-bottom: 0; }

/* about ページ 運営団体情報 */
.org-info {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius);
  margin-top: 80px;
  text-align: center;
}
.org-info h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 20px; }
.org-info p  { margin-bottom: 8px; color: var(--text-mid); font-size: 15px; }

/* 外部リンクバナー（about ページ） */
.external-link-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f0f7f3;
  border: 1px solid #cce5d6;
  padding: 16px 24px;
  border-radius: 8px;
  margin: 24px 0;
  color: var(--primary-dark);
  font-weight: bold;
  transition: background-color 0.3s;
}
.external-link-banner:hover { background-color: #e3f2e8; }
.external-link-banner svg { fill: var(--primary); flex-shrink: 0; }

/* privacy ページ */
.policy-intro {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 40px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.policy-block { margin-bottom: 48px; }
.policy-block:last-child { margin-bottom: 0; }
.policy-block h2 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.policy-block h2 span {
  font-size: 24px;
  color: var(--primary);
  font-weight: 900;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.policy-block p { font-size: 15px; color: var(--text-mid); margin-bottom: 12px; }
.policy-list { margin-top: 12px; margin-bottom: 16px; padding-left: 20px; }
.policy-list li {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 8px;
  position: relative;
  padding-left: 8px;
}
.contact-info-block {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 60px;
}
.contact-info-block h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 16px; }
.contact-info-block p  { font-size: 15px; color: var(--text-mid); margin-bottom: 8px; }
.date-info {
  text-align: right;
  margin-top: 40px;
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 500;
}
