@charset "UTF-8";

/* ==========================================================================
   Variables & Reset (ダークモード仕様)
   ========================================================================== */
:root {
  /* 公式サイトの静けさと重厚感を踏襲したダークカラー */
  --bg-color: #0a0a0a;          /* 深みのある漆黒 */
  --text-color: #f5f5f7;        /* 読みやすい明るいオフホワイト */
  --text-muted: #86868b;        /* 補助的なグレーテキスト */
  --border-color: #222224;      /* 空間を区切るダークグレーの線 */
  --bg-subtle: #141416;         /* 案内ボックスやカード用の少し明るい黒 */
  --accent-color: #7966ff;      /* 黒背景に美しく映える洗練された青紫 */
  --accent-hover: #9485ff;      /* ホバー時の淡いハイライト紫 */
  --alert-color: #e55353;       /* 注意喚起 */
  
  /* フォント要件 */
  --font-en: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  
  /* レイアウト */
  --header-height: 70px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .section-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  .section-header {
    width: 35%;
    padding-right: 40px;
  }
  .section-content {
    width: 65%;
  }
}

.section-title {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  color: var(--text-color);
  text-transform: uppercase;
  position: relative;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 2px;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 16px 48px;
  font-size: 15px;
  border: 1px solid var(--accent-color);
  min-width: 240px;
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  outline: none;
}

.btn-large {
  padding: 20px 64px;
  font-size: 17px;
  min-width: 280px;
}

.btn-header {
  border: 1px solid var(--text-color);
  padding: 8px 20px;
  font-size: 12px;
  background-color: transparent;
}

.btn-header:hover, .btn-header:focus-visible {
  background-color: var(--text-color);
  color: var(--bg-color);
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* ==========================================================================
   Header & Footer
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 10, 10, 0.85); /* ダーク背景の半透明 */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

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

.header-logo {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.header-logo a {
  display: inline-block;
  padding: 0.8em 0 0.5em;
  transition: 0.3;
  opacity: 0.7;
}
.header-logo a:hover {
  opacity: 1;
}
.header-logo img {
  width: 8em;
}
.site-footer {
  background-color: #020202;
  color: #ffffff;
  padding: 60px 0;
  font-size: 13px;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.15em;
}
.footer-brand a {
  display: inline-block;
  transition: 0.3s;
  opacity: 0.5;
}
.footer-brand a:hover {
  opacity: 1;
}
.footer-brand img {
  width: 12em;
}
.footer-links a {
  color: #cccccc;
  border-bottom: 1px solid #444444;
  padding-bottom: 2px;
}

.footer-links a:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.copyright {
  color: #666666;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

/* ==========================================================================
   Hero Section (ファーストビュー)
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-visual {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-sub-logo {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-title {
  margin-bottom: 24px;
}

.en-title {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.en-subtitle {
  display: block;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent-color);
  margin-top: 8px;
}

.hero-lead {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 40px;
}

.hero-deadline-box {
  border-left: 3px solid var(--accent-color);
  padding-left: 16px;
  margin-bottom: 40px;
}

.deadline-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.deadline-date {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.deadline-date .day {
  font-size: 18px;
  font-weight: 500;
  margin-left: 4px;
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 4px;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
  }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 8%;
  }
  .hero-visual {
    width: 42%;
    max-width: none;
    margin: 0;
  }
  .hero-content {
    width: 50%;
  }
  .en-title {
    font-size: 44px;
  }
  .en-subtitle {
    font-size: 24px;
  }
}

/* ==========================================================================
   Intro Section (冒頭説明)
   ========================================================================== */
.intro-section {
  border-top: 1px solid var(--border-color);
}

.intro-inner-layout {
  display: flex;
  flex-direction: column;
  gap: 64px; /* 大きな文字に合わせてセクション内の余白を拡張 */
}

/* 重要事項（キーファクト）のグリッド */
.intro-keyfeatures {
  display: grid;
  grid-template-columns: 1fr; /* スマホでは1列で上から順にガツンと読ませる */
  gap: 40px;
}

@media (min-width: 768px) {
  .intro-keyfeatures {
    grid-template-columns: repeat(2, 1fr); /* PC・タブレットでは安定感のある2列構成 */
    gap: 56px 48px;
  }
}

.feature-item {
  border-top: 2px solid var(--text-color); /* 文字の強さに負けないよう、線を少し太く（2px）変更 */
  padding-top: 20px;
}

.feature-meta {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 22px; /* スマホでもしっかり主張する大文字サイズ */
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-color);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .feature-title {
    font-size: 28px; /* PCでは巨大なタイポグラフィとして機能させ、1秒で内容を叩き込む */
  }
}

/* 冒頭文章 */
.intro-text {
  font-size: 16px;
  line-height: 2;
}

.intro-text p + p {
  margin-top: 24px;
}

@media (min-width: 768px) {
  .intro-text {
    font-size: 18px; /* 下の長文も、上のインパクトに合わせて少しだけサイズアップ */
  }
}
/* ==========================================================================
   Section Contents & Inner Styles
   ========================================================================== */
.about-section, .opencall-about-section, .format-section,
.application-info-section, .eligibility-section, .specifications-section,
.schedule-section, .locations-section, .guidelines-section, .rights-section, .support-section {
  border-top: 1px solid var(--border-color);
}

.section-content p + p {
  margin-top: 16px;
}

.link-paragraph {
  margin-top: 24px;
}

.text-link {
  color: var(--text-color);
  border-bottom: 1px solid var(--text-color);
  padding-bottom: 2px;
  font-weight: 500;
}

.text-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* 案内ボックス */
.info-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.info-box-step {
  width: 100%;
}

.step-label {
  display: inline-block;
  background-color: var(--text-color);
  color: var(--bg-color);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 12px;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.step-content {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.info-box-arrow {
  font-size: 20px;
  color: var(--accent-color);
  font-weight: 700;
}

@media (min-width: 768px) {
  .info-box {
    flex-direction: row;
    justify-content: space-around;
    padding: 40px;
  }
  .info-box-step {
    width: auto;
  }
  .info-box-arrow {
    transform: rotate(-90deg);
  }
}

/* グリッドレイアウト */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.note-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* 選出数表示 */
.selection-count {
  margin-top: 40px;
  display: flex;
  align-items: baseline;
  gap: 24px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 16px;
}

.count-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.count-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
}

/* リストスタイル */
.styled-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.styled-list li {
  position: relative;
  padding-left: 24px;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.spec-list li::before {
  background-color: var(--text-color);
}

.text-danger li::before {
  background-color: var(--alert-color); /* ダーク背景で見えやすい少し明るめの赤に変更 */
}

/* タイムライン (スケジュール) */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: -20px;
  top: 8px;
  width: 9px;
  height: 9px;
  background-color: var(--bg-color);
  border: 1px solid var(--text-color);
  border-radius: 50%;
}

.timeline-item.accent-item::after {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  width: 11px;
  height: 11px;
  left: -21px;
}

.timeline-date {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.timeline-date span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}

.timeline-content {
  font-size: 15px;
  font-weight: 500;
}

.accent-item .timeline-date {
  color: var(--accent-color);
  font-family: var(--font-ja);
}

.accent-item .timeline-content {
  font-weight: 700;
}

/* 放映場所カード（Flexboxで上詰め・左詰め、ボタンのみ最下部同期） */
.location-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;     /* 【横方向】すべての要素を完全に「左詰め」に統一 */
  justify-content: flex-start;  /* 【縦方向】すべての要素を完全に「上詰め」に統一 */
  text-align: left;
  padding: 40px 32px;
  width: 100%;
}

.location-tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.location-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.location-time {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px; /* テキストとボタンの間の最低限の余白 */
}

/* マップリンク用のミニマルデザイン */
.location-map {
  margin-top: auto; /* 残った縦方向の余白をすべてマージンが吸収し、ボタンを最下部に押し下げる */
}

.map-link {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-color);
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-link .arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー時の演出 */
.map-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.map-link:hover .arrow {
  transform: translate(2px, -2px);
}

/* 放映協力 */
.support-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.partner-item {
  min-height: 50px;
  display: flex;
  align-items: center;
}

.partner-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.partner-logo a {
  display: inline-block;
  opacity: 0.7;
  transition: 0.3s;
}
.partner-logo a:hover {
  opacity: 1;
}
.partner-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   CTA Section (最下部応募エリア)
   ========================================================================== */
.cta-section {
  background-color: var(--bg-subtle);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.cta-deadline {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 32px;
  }
}

/* ==========================================================================
   Animation Effect (JavaScript連携)
   ========================================================================== */
.js-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  a, .btn {
    transition: none !important;
  }
}