/* 全体設定 */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh; /* 画面全体の高さを設定 */
    background-color: #f4f4f9;
    color: #333;
    overflow: hidden; /* 全体のオーバーフローを隠す */
}

/* ヘッダー */
header {
    background-color: #007bff;
    color: #fff;
    padding: 1rem;
    position: fixed; /* ヘッダーを固定 */
    width: 100%; /* ヘッダーの幅を画面全体に */
    top: 0; /* ヘッダーを画面の上部に固定 */
    left: 0; /* ヘッダーを画面の左端に配置 */
    z-index: 1000; /* ヘッダーを最前面に表示 */

}

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

.header-nav li {
    margin: 0 15px;
}

.header-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #ffdd57;
}

/* レイアウトコンテナ */
.layout-container {
    display: flex;
    flex: 1;
    flex-direction: row;
    overflow: hidden; /* コンテンツのオーバーフローを隠す */
    margin-top: 60px; /* ヘッダーの高さ分の余白を追加 */
}

/* サイドバー */
.sidebar {
    width: 220px;
    background-color: #4372b9;
    color: #fff;
    padding: 1rem;
    flex-shrink: 0;
    border-radius: 8px;
    position: fixed; /* サイドバーを固定 */
    top: 0px; /* ヘッダーの高さ分下げる */
    bottom: 0; /* フッターの高さ分上げる */
    overflow-y: auto; /* サイドバーの縦スクロールを有効に */
}

/* サイドバーのリンクの色 */
.sidebar nav a {
    color: #b9f0d9; /* リンクの色 */
}

.sidebar nav a:visited {
    color: #dedabb; /* クリック済みリンクの色 */
}

/* メインコンテンツ */
.content {
    flex: 1;
    padding: 1rem;
    margin-left: 240px; /* サイドバーの幅 + マージン */
    overflow-y: auto; /* メインコンテンツの縦スクロールを有効に */
    background-color: #ffffff;
    border-radius: 8px;/* メインコンテンツに角丸を追加 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 300px; /* フッターの高さ分の余白を追加 */
}

/* 情報アイテム */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    background-color: #a7c9fc;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* フッター */
footer {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: fixed; /* フッターを固定 */
    width: 100%; /* フッターの幅を画面全体に */
    bottom: 0; /* フッターを画面の下部に固定 */
    left: 0; /* フッターを画面の左端に配置 */
    flex-shrink: 0; /* フッターの高さを固定 */
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 1rem;
}

.pagination .step-links a {
    margin: 0 5px;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s;
}

.pagination .step-links a:hover {
    color: #0056b3;
}

.pagination .step-links .current {
    margin: 0 5px;
    font-weight: bold;
    color: #333;
}
/* Aboutページのスタイル */
.about-container {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.about-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}
