/* styles.css */
body {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff; /* 背景を白に変更 */
    color: #333; /* テキストカラーをダークグレーに変更 */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #d32f2f; /* キーカラーの赤に変更 */
}

header h1 {
    font-size: 24px;
    color: #fff; /* 赤い背景に白いテキスト */
}
header h1 a {
    color: white; /* 文字色を白に設定 */
    text-decoration: none; /* 下線を消す */
}

header h1 a:hover {
    color: white; /* ホバー時も白色のまま */
}
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav a {
    color: #fff; /* 赤い背景に白いテキスト */
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #ffcc00; /* ホバー時の色を黄色に変更 */
}

/* 初期状態では改行を無効にする */
br.sp {
    display: none;
}

.hero {
    background: url('hero.jpg') no-repeat center center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff; /* ヒーローセクションのテキストカラーを白に変更 */
}
/* h2 タイトルデザイン */
.headline {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(45deg, #ff0000, #ff8c00);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    margin: 20px 10px;
}

/* チーム名デザイン */
.team-name {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #222;
    text-shadow: 2px 2px 8px rgba(255, 0, 0, 0.6);
    margin-top: 10px;
}

/* チームメッセージ */
.team-message {
    font-size: 1.2rem;
    text-align: center;
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    background: rgba(255, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
}

.section ul {
    list-style: none; /* リストのマーカーを削除 */
    padding: 0;
    margin: 20px auto; /* 上下に余白を持たせ、中央配置 */
    max-width: 600px; /* 読みやすい幅を指定 */
    text-align: left; /* 左寄せ */
}

.section ul li {
    padding: 12px 0; /* 各項目に余白 */
    border-bottom: 1px solid #ddd; /* 区切り線 */
    font-size: 18px; /* 少し大きめのフォントで可読性UP */
}

.section ul li:last-child {
    border-bottom: none; /* 最後の項目の線をなくす */
}

.section ul li strong {
    color: #222; /* キーカラーの赤 */
    font-weight: bold;
    display: inline-block;
    width: 150px; /* 見出し部分の幅を固定し、揃える */
}
.section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #222; /* キーカラーの赤 */
    margin-bottom: 15px;
}

.info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px; /* 上下10px、左右20pxの余白 */
    max-width: 600px; /* 読みやすい幅を設定 */
    margin: 0 auto; /* 中央寄せ */
}

.info div {
    display: contents; /* 強調部分と内容部分を揃える */
}

.info strong {
    white-space: nowrap; /* 強調部分の改行を防ぐ */
}

.info span {
    display: block; /* 読みやすくするためブロック化 */
}


.team-name {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.team-description {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 20px;
}
.section {
    padding: 50px 20px;
    text-align: center;
}

/* ギャラリーのスタイル調整 */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2カラムにする */
    gap: 15px; /* 画像間の間隔 */
    justify-content: center;
    align-items: center;
    max-width: 800px; /* ギャラリー全体の最大幅を設定 */
    margin: 0 auto; /* 中央寄せ */
}

.gallery img {
    width: 100%; /* 画像の幅をカラムにフィットさせる */
    height: auto; /* アスペクト比を維持 */
    border-radius: 8px;
}

/* スマホ・タブレット向けのレスポンシブ対応 */
@media screen and (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr; /* スマホでは1カラム表示 */
    }
}
footer {
    text-align: center;
    padding: 20px;
    background: #d32f2f; /* 赤い背景 */
    color: #fff; /* テキストを白に */
}

/* フォームの全体設定 */
.form-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9; /* 背景色を少し明るく */
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px; /* フォーム要素間の間隔を調整 */
}

/* 全てのフォーム要素に box-sizing: border-box を追加 */
input, textarea, button, label {
    box-sizing: border-box; /* パディングを含めたサイズ計算 */
}

/* ラベルのスタイル */
label {
    font-size: 16px;
    text-align: left;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* インプットとテキストエリアのスタイル */
input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* テキストエリアのカスタマイズ */
textarea {
    resize: vertical;
}

/* ボタンのスタイル */
button {
    padding: 12px;
    background-color: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #b71c1c;
}

/* フォーム要素がきれいに並ぶための設定 */
input, textarea {
    margin-top: 5px; /* 上部の余白を少し追加 */
}
@media (max-width: 600px) {
    .info {
        grid-template-columns: 1fr; /* スマホ時は1カラム */
        gap: 5px 10px; /* スマホ時は余白を調整 */
    }

    .info strong {
        display: block; /* スマホでは改行 */
    }
}
/* スマホ時のメニューのハンバーガー化 */
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

/* メニューが閉じているときの設定 */
nav ul {
    display: flex;
    gap: 15px;
}

/* スマホ時のメニューとレスポンシブ調整 */
@media (max-width: 600px) {
    nav ul {
        display: none; /* ハンバーガーメニュー時にデフォルトで非表示 */
        flex-direction: column;
        width: 100%;
        background-color: #d32f2f;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        z-index: 100;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 10px 0;
        display: block;
        font-size: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .info {
        grid-template-columns: 1fr; /* スマホ時は1カラム */
        gap: 5px 10px;
    }

    .info strong {
        display: block;
    }

    /* メニューが開く時のアニメーション */
    .menu-open {
        display: flex;
    }
	header h1 {
    font-size: 18px;
    color: #fff; /* 赤い背景に白いテキスト */
}
}

/* メニューを表示させるためのCSS */
.menu-open {
    display: flex !important;
}
/* スマホ用のスタイル調整 */
@media screen and (max-width: 768px) {
    .headline {
        font-size: 2rem;
        padding: 8px 15px;
        margin: 15px 5px;
    }

    .team-name {
        font-size: 1.8rem;
    }

    .team-message {
        font-size: 1rem;
        padding: 8px;
    }
}
@media screen and (max-width: 768px) {
    br.sp {
        display: block;
    }
}
