html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f4f4f4;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ページ全体の高さを確保 */
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: black;
    color: white;
    padding: 10px 0;
}

header h1 {
    margin: 0;
    padding: 10px 0; /* Ensure consistent padding for header h1 */
    text-align: center;
}

header nav {
    display: flex;
    justify-content: center; /* 中央揃え */
    align-items: center;
    position: relative; /* 追加: メニューアイコンを絶対位置で配置するために相対位置を設定 */
}

header nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute; /* 追加: メニューアイコンを絶対位置に配置 */
    right: 20px; /* 追加: メニューアイコンを右端に配置 */
    top: 15px; /* 追加: メニューアイコンを上部に配置 */
}

.menu-icon span {
    background: #fff;
    margin: 5px 0;
    width: 25px;
    height: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        display: none; /* 初期状態で非表示 */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: black; /* メニューの背景色を黒に */
        width: 100%; /* 幅を100%に */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    header nav ul.show {
        display: flex; /* クラス "show" が追加されたときに表示 */
    }

    header nav ul li {
        margin: 10px 0; /* 各メニュー項目の間にマージンを追加 */
    }

    header nav ul li a {
        color: white; /* メニューアイテムのテキストカラーを白に */
    }

    .menu-icon {
        display: flex; /* メニューアイコンを表示 */
    }
}

/* その他のスタイル */
.hero {
    background: url('../images/hero.jpg') no-repeat center center/cover;
    height: 100vh; /* 画面全体の高さ */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0; /* 上下の余白を削除 */
}

.hero h2 {
    font-size: 8em;
    margin: 0;
    padding: 0 20px; /* Adjust the padding to ensure consistent height */
}

.hero p {
    font-size: 1.2em;
    padding: 10px 20px;
}

.hero .btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: darkslategray;
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 7px;
}

section {
    padding: 50px 0;
    background-color: white;
    text-align: center;
    flex: 1; /* 各セクションがフレックスアイテムとして振る舞う */
}

section h2 {
    margin: 0 0 20px;
    padding: 0 20px; /* Ensure consistent padding for section h2 */
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto; /* フッターをページの下部に固定 */
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
}

form input, form textarea {
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    margin-top: 20px;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #555;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.gallery {
    padding: 50px 0;
    text-align: center;
    background-color: black; /* Set section background to black */
    color: white; /* Set section text to white */
}

.gallery h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 40px);
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.small-image {
    width: 70%; /* ここで必要なサイズに変更 */
    max-width: 240px; /* 必要に応じて最大幅を設定 */
    height: auto; /* アスペクト比を維持 */
}

/* その他のメディアクエリ */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .hero {
        height: 300px;
    }

    .hero h2 {
        font-size: 7em;
    }

    .hero p {
        font-size: 1em;
    }

    .gallery-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 6em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .hero .btn {
        padding: 8px 10px;
        font-size: 0.9em;
    }
}

.access-map {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.three-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.column {
    flex: 1;
    padding: 10px;
    text-align: left;
}

.column h3 {
    margin-top: 0;
}

.about {
    padding: 50px 0;
    text-align: center;
    background-color: black; /* Set section background to black */
    color: white; /* Set section text to white */
}

.about h2, .about h3 {
    margin: 20px 0;
}

.about p {
    margin: 10px 0;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.about-image {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

.column-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.column {
    flex: 1;
    padding: 10px;
    text-align: left;
}

.column h3 {
    margin-top: 0;
}

.column img.column-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.location {
    padding: 50px 0;
    text-align: center;
    background-color: black; /* Set section background to black */
    color: white; /* Set section text to white */
}

.location h2, .location h3 {
    margin: 20px 0;
}

.location p {
    margin: 10px 0;
}

.menu {
    padding: 50px 0;
    text-align: center;
    background-color: black; 
    color: white; 
}

.menu h2, .menu h3 {
    margin: 20px 0;
}

.menu p {
    margin: 10px 0;
}

.events {
    padding: 50px 0;
    text-align: center;
    background-color: black; /* Set section background to black */
    color: white; /* Set section text to white */
}
