@charset "UTF-8";
/* CSS Document */

/*
  基本的な設定：
  まずPC用の表示（801px以上）をデフォルトとし、
  SP用の要素（.sp-only）を非表示にしておく
*/
.sp-only {
  display: none;
}

/*
  画面の横幅が800px以下の場合のスタイル
  （スマートフォンやタブレット向けの表示）
*/
@media screen and (max-width: 800px) {
  /* PC用の要素（.pc-only）を非表示にする */
  .pc-only {
    display: none;
  }

  /* SP用の要素（.sp-only）を表示する */
  .sp-only {
    display: block; /* もしくは inline, flex など要素に合わせて指定 */
  }
}

/* 基本設定 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.8;
    font-size: 100%; /* remの基準として設定 */
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.4;
}

h2 {
    font-size: 1.75rem; /* 28px */
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

p {
    margin-top: 0;
}

a {
    color: #d32f2f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

/* コンテナ */
.container {
    width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* セクション共通スタイル */
section {
    padding: 60px 40px;
}

/* 1. ファーストビュー */
.hero {
	background-image: url("mv_bg.webp");
	background-size: cover;
  	background-position: center 50%; /* 横方向は中央、縦方向も中央 */
    background-color: #1a1a1a;
    color: #fff;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    text-align: center;
    padding: 40px 40px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.125rem; /* 18px */
    margin-top: 30px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .logo,
.closing .logo {
	font-family:  "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: bold;
	font-size: 8rem;
	text-shadow: 2px 2px 14px #000;
	line-height: 1.2;
	margin-top: 40px;
    margin-bottom: 30px;
}
.hero .prize-highlight {
    font-size: 2rem; /* 32px */
    font-weight: 900;
    color: #ffd700;
    line-height: 1.3;
    margin-bottom: 40px;
    border: 2px solid #ffd700;
    display: inline-block;
    padding: 10px 20px;
}
.hero .prize-highlight span {
  font-size: 3.4rem;
  /* 縁取り - 強調バージョン */
  -webkit-text-stroke: 2px #ffd700; /* 太さを2pxに増やす */
  text-stroke: 2px #ffd700;         /* 太さを2pxに増やす */
  color: #fff; /* テキストの色を白に */

  /* 光彩（グロー効果）- 控えめバージョン */
  text-shadow:
    0 0 5px #ffd700,
    0 0 10px #ffd700,
    0 0 15px #ffea00;
}

/* 共通CTAボタン */
.cta-button {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff;
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #b71c1c;
    transform: scale(1.05);
    text-decoration: none;
}


/* 2. メッセージ */
.message {
    text-align: center;
    background-color: #f9f9f9;
}
.message p {
    font-size: 1.125rem; /* 18px */
}
.message .strong {
    font-size: 2.4rem; /* 44px */
    font-weight: 700;
    margin-top: 30px;
}

/* 動画セクション専用のスタイル（左右の余白をなくす） */
.video-section {
  padding-left: 0;
  padding-right: 0;
}

.video-container {
  position: relative; /* iframeを絶対配置するための基準 */
  width: 100%;
  padding-top: 56.25%; /* 16:9 のアスペクト比を維持 (9 ÷ 16 = 0.5625) */
  overflow: hidden;
}

.video-container iframe {
  position: absolute; /* コンテナを基準に絶対配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 3. 大会概要 */
.about ul {
    margin-top: 30px;
    padding-left: 20px;
    list-style: '■ ';
}

.about ul li {
    margin-bottom: 10px;
}

/* 4. 競技内容 */
.competition {
    background-color: #f9f9f9;
}
.competition .lead {
    text-align: center;
    margin-bottom: 40px;
}
.competition-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.competition-item {
    width: 23%;
}
.competition-item .icon {
    font-size: 3rem; /* 48px */
	margin-bottom: -10px;
}

.competition h2 {
    font-size: 1.2rem;
}

.competition-item h3 {
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.competition .more {
	text-align: center;
}
/* 5. 賞金 */
.prize table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.125rem; /* 18px */
}
.prize td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.prize td:last-child {
    text-align: right;
    font-weight: 700;
}
.prize .first-place {
    background-color: #fffde7;
    font-size: 1.5rem; /* 24px */
    color: #b71c1c;
}

/* 6. 大会の特徴 */
.features {
    background-color: #f9f9f9;
}
.features-grid {
    display: flex;
    gap: 30px;
}
.feature-item {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
}
.feature-item h3 {
    font-size: 1.125rem; /* 18px */
    margin-bottom: 10px;
}

/* 7. 参加資格とスケジュール */
.join-content {
    display: flex;
    gap: 40px;
}
.qualification, .schedule {
    flex: 1;
}
.qualification div.entry-fee {
	margin-bottom: 2.5rem;
}
.join h3 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    font-size: 1.25rem; /* 20px */
    margin-bottom: 15px;
}
.join ul li {
    margin-bottom: 10px;
}
.schedule .status {
    background-color: #d32f2f;
    color: #fff;
    font-size: 0.875rem; /* 14px */
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
}
.schedule .status-Waiting {
    background-color: #535353;
    color: #fff;
    font-size: 0.875rem; /* 14px */
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
}
.schedule .status a {
	color: white;
}
/* 8. クロージング */
.closing {
    background-color: #1a1a1a;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color: #fff;
    text-align: center;
}
.closing h2 {
    border-bottom-color: #444;
}
.closing .logo {
    font-size: 6.5rem; /* 104px */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 40px;
}

.closing .logo img {
	text-align: center;
	width: 84%;
}

/* =============================================== */
/* よくある質問 (FAQ) セクション */
/* =============================================== */
.faq h2 {
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    padding: 20px;
    cursor: pointer;
    position: relative;
    background-color: #f7f7f7;
    margin: 0;
    transition: background-color 0.3s ease;
    
    /* 🔽 ここから追加・修正 🔽 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #d32f2f;
    transition: transform 0.3s ease;
    
    /* 🔽 ここから修正 🔽 */
    position: static; /* 疑似要素の絶対配置を解除 */
    transform: none; /* transformの指定を解除 */
    margin-left: 10px; /* テキストとの間にスペースを作成 */
}

/* その他のCSSは変更なし */
.faq-item.active .faq-question::after {
    content: '−';
    transform: none; /* transformの指定を解除 */
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* 回答の高さに応じて調整 */
    opacity: 1;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
}

@media screen and (max-width: 800px) {
    .faq-question {
        font-size: 1rem;
    }
}

/* =============================================== */
/* フッター                                        */
/* =============================================== */
.site-footer {
  text-align: center; /* 文字を中央揃え */
  padding: 20px;      /* 上下の余白 */
  background-color: #1a1a1a; /* 背景色を濃いグレーに */
  color: #ccc;        /* 文字色を薄いグレーに */
  font-size: 0.875rem;   /* 少し小さめの文字サイズ */
}

.site-footer p {
  margin: 0; /* pタグのデフォルトマージンをリセット */
}

/* =============================================== */
/* レスポンシブ対応 (横幅800px以下のスクリーン) */
/* =============================================== */
@media screen and (max-width: 800px) {

    /* コンテナの幅を100%にし、影を消す */
    .container {
        width: 100%;
        box-shadow: none;
    }

    /* セクションの左右の余白を少し狭くする */
    section {
        padding: 40px 20px;
    }

    /* 見出しや文字のサイズを調整 */
    h2 {
        font-size: 1.5rem; /* 24px */
    }
    
    .hero h1 {
        font-size: 2rem; /* 22px */
    }
    
    .hero .logo, .closing .logo {
        font-size: 3.75rem; /* 60px */
    }

    /* 横並びのレイアウトを縦並びに変更 */
    .competition-grid,
    .features-grid,
    .join-content {
        flex-direction: column;
        gap: 25px;
    }

    /* 縦並びになった各要素の幅を100%にする */
    .competition-item {
        width: 100%;
        margin-bottom: -30px;
    }
    .competition .more {
		margin-top: 3rem;
	}
}