/* style05.css */

/* ボタンを横並びにするためのコンテナ */
.navigation-buttons-container {
    display: flex; /* Flexboxを使って子要素を横並びにします */
    justify-content: center; /* ボタンを中央に配置します */
    gap: 20px; /* ボタン間のスペースを設けます */
    margin-top: 30px; /* 上部に余白を追加します */
}

.nav-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* ボタンの背景色 */
    color: white; /* ボタンの文字色 */
    text-decoration: none; /* 下線をなくします */
    border-radius: 5px; /* 角を丸くします */
    transition: background-color 0.3s ease; /* ホバー時のアニメーション */
}

.nav-button:hover {
    background-color: #0056b3; /* ホバー時の背景色 */
}

/* 既存のCSSがあれば、上記に加えて記述してください */
/* 例: header, body, modalなどのスタイル */

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color:black;
    text-align: center;
}

header {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

h1 {
    margin: 0;
}

#box1, #box2 {
    width: 80%;
    margin: 20px auto;
    min-height: 100px;
    background-color:black;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
