/* 基本設定 */
body {
    font-family: 'Arial', 'Meiryo', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* ヘッダー */
header {
    background: #0056b3;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #77aadd 3px solid;
    text-align: center;
}

header h1 {
    margin: 0;
    padding-bottom: 10px;
}

header p {
    font-size: 1.1em;
}

/* ナビゲーション */
nav {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

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

nav ul li {
    display: inline;
    padding: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #77aadd;
}

/* メインコンテンツ */
main {
    padding: 20px;
    margin: 20px auto;
    background: #fff;
    max-width: 960px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.section-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.section-block:last-child {
    border-bottom: none;
}

h2 {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* ボタン */
.button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: #0056b3;
}

/* 大会情報リスト */
#information ul {
    list-style: disc inside;
    padding-left: 20px;
}

#information ul li {
    margin-bottom: 8px;
}

#information ul li a {
    color: #007bff;
    text-decoration: none;
}

#information ul li a:hover {
    text-decoration: underline;
}

/* ギャラリー */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}

footer #contact {
    font-size: 0.9em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        padding: 10px 0;
    }

    main {
        margin: 10px;
        padding: 15px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}