/* --- 全体のスタイルリセットと基本設定 --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Hiragino Kaku Gothic ProN', 'Meiryo';
    line-height: 1.7;
    background-color: #f8f9fa; /* 背景色 */
    color: #333;
}

/* --- ヘッダーとロゴ --- */
.main-header {
    padding: 0.75rem 2rem; /* 上下の余白を少し調整 */
    background-color: #fffaf0;
    border-bottom: 1px solid #f4511e;

    /* Flexboxを使い、ロゴを垂直・水平方向ともに完全に中央揃えにする */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    height: 50px; /* ロゴの高さを少し調整 */
    width: auto;
}

/* --- コンテンツのコンテナ --- */
.container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2.5rem; /* 内側の余白を少し広げる */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07); /* 影を少し調整 */
}

/* --- 各コンテンツセクション --- */
.content-section {
    margin-bottom: 2.5rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 1.7rem;
    color: #d84315; /* ブランドカラーの濃いオレンジ */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0; /* シンプルなグレーの区切り線 */
}

.content-section p,
.content-section ol {
    font-size: 1rem;
}

.content-section ol {
    padding-left: 20px;
}

/* --- フッター --- */
.main-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* --- ボタンのスタイル --- */
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 28px;
    background-color: #f4511e; /* ロゴの赤色 */
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px; /* 角を完全に丸くしてモダンに */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #d84315; /* 少し濃い赤色 */
    transform: translateY(-2px); /* 少し浮き上がる効果 */
}
/* --- 画像ロゴのスタイル --- */
.logo-image {
    height: 40px; /* ロゴの高さ */
    width: auto;
}

/* --- ナビゲーションリンクのコンテナ --- */
.nav-links {
    text-align: center;
}

/* --- 小さいボタンのスタイル --- */
.btn-small {
    padding: 8px 20px; /* 上下の余白を小さくする */
    font-size: 0.9rem; /* 文字を少し小さくする */
    margin: 0 0.5rem; /* ボタン間の左右の余白 */
}