body {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e1e;
    /* ダークな背景（黒っぽいグレー） */
    color: #f2f2f2;
    /* 明るい文字色（白に近いグレー） */
    margin: 0;
    padding: 0;
}

/* ヘッダー */
header {
    background-color: #1e1e1e;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    /* 横幅を常に100%に */
}

header h1 {
    margin: 0;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
}

/* ナビゲーション */
nav {
    margin: 0;
    padding: 0;
    background-color: #333333;
    width: 100%;
    /* 横幅を常に100%に */
    box-sizing: border-box;
    /* パディングやマージンを含めた計算を有効に */
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-evenly;
    /* 均等配置 */
    align-items: center;
    width: 100%;
}

.main-menu>li {
    position: relative;
    flex-grow: 1;
    /* 項目を均等に伸ばす */
    text-align: center;
}

.main-menu a {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 0;
    background-color: #444444;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    width: 100%;
    /* リンクを項目の横幅全体に広げる */
}

.main-menu a:hover {
    background-color: #ff4655;
}

/* ドロップダウンメニュー */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444444;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: max-content;
    /* メニュー幅をコンテンツに合わせる */
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #ff4655;
}

/* ドロップダウンの表示切替 */
.dropdown:hover .dropdown-menu {
    display: block;
}





/* ゲーム情報セクション */
.game-info {
    padding: 20px;
    background-color: #2a2a2a;
    /* ダークグレーの背景 */
    border-radius: 10px;
    margin: 20px 0;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* メインタイトルのスタイル */
.game-info h2 {
    font-size: 2.5em;
    color: #ff4655;
    /* VALORANTのロゴカラー（赤） */
    text-align: center;
    margin-bottom: 20px;
}

/* セクションタイトル */
.game-info h3,
.game-info h4 {
    font-size: 2em;
    color: #ff4655;
    /* セクションタイトルも赤で強調 */
    margin-bottom: 10px;
}

/* ゲームモードのリスト */
.game-info ul {
    list-style-type: none;
    padding: 0;
}

.game-info a {
    color: #f2f2f2;
    text-decoration: none;
}

.game-info a:hover {
    text-decoration: underline;
    color: #ff4655;
}

/* 各ゲームモードのスタイル */
.game-mode {
    background-color: #333;
    /* ダークな背景 */
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.game-mode a {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 30px;
}

.game-mode a:hover {
    text-decoration: underline;
    color: #ff4655;
}

/* ゲームモードのタイトル */
.game-mode h4 {
    font-size: 2em;
    color: #ffffff;
    /* 明るい文字色 */
    margin-top: 0;
    margin-bottom: 50px;
}

/* ゲームモードのタイトル */
.game-mode h5 {
    font-size: 2em;
    color: #ffffff;
    /* 明るい文字色 */
    margin-top: 30px;
    margin-bottom: 15px;
}

/* 強調したい文字（強調部分） */
.game-info strong {
    color: #ff4655;
    /* 赤色で強調 */
}

/* リストアイテムのデザイン */
.game-info ul li {
    margin-bottom: 10px;
}

/* 重要な情報やセクションを目立たせる */
.game-info p {
    font-size: 1em;
    color: #dcdcdc;
    /* 少し明るいグレーで視認性を高める */
}

/* ゲームモードの説明部分に枠線をつけて強調 */
.game-mode p {
    color: #ccc;
    font-size: 1.7em;
    margin: 5px 0;
    margin-bottom: 30px;
}

/* 対戦時間や勝利条件のラベル */
.game-mode p strong {
    font-weight: bold;
}

/* 画像を中央揃えにするコンテナ */
.image-container {
    display: flex;
    /* フレックスボックスを使用 */
    justify-content: center;
    /* 横方向で中央揃え */
    align-items: center;
    /* 縦方向で中央揃え */
    height: 50vh;
    /* ビューポート全体の高さ */
    margin: 0;
    /* 余白をなくす */
    /*background-color: #f9f9f9;*/
    /* 背景色（任意） */
}

.image-container img {
    width: 450px;
    height: auto;
}

/* テーブル全体のスタイル */
table {
    width: 80%;
    /* 表の幅 */
    border-collapse: collapse;
    /* 枠線を一つにまとめる */
    margin: 20px auto;
    /* 表を中央に配置 */
}

/* テーブルヘッダーとデータセルのスタイル */
th,
td {
    border: 1px solid #ccc;
    /* セルの枠線 */
    padding: 10px;
    /* セル内の余白 */
    text-align: center;
    /* 水平方向の中央揃え */
    vertical-align: middle;
    /* 垂直方向の中央揃え */
}

/* テーブルヘッダー部分のスタイル */
th {
    font-weight: bold;
    /* 太字 */
}



#video-section,
#youtube-section {
    text-align: center;
    margin: 40px auto;
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    max-width: 700px;
    color: #f2f2f2;
}

#video-section h2,
#youtube-section h2 {
    color: #ff4655;
    margin-bottom: 20px;
}

video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
