/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffcccc, #ff99cc); /* ピンクのグラデーション */
}

/* トップ画像 */
.hero {
    width: 100%;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto; /* 縦が切れないようにアスペクト比を維持 */
    display: block;
}

/* トップコンテンツ（画像の下に配置） */
.top-content {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); /* 半透明の白で視認性向上 */
    margin-bottom: 20px; /* メニューとの間に余白を追加 */
    position: relative; /* 他の要素との重なりを防ぐ */
    z-index: 1; /* メニューより手前に配置 */
}

.header-title {
    color: #ff6699; /* ピンク系の色に変更 */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.top-text h1 {
    font-size: 36px;
    margin: 0;
    color: #ff6699; /* ピンク系の見出し */
}

.top-text p {
    font-size: 18px;
}

/* メニュー項目 */
.menu-items {
    text-align: center;
    background: linear-gradient(135deg, #ffcccc, #ff99cc); /* ピンクのグラデーション */
    position: relative; /* 他の要素との重なりを調整 */
    z-index: 2; /* トップコンテンツより手前に */
}

.menu-items a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #fff; /* 文字色を白に */
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s;
}

.menu-items a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* セクション共通 */
section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8); /* 半透明の白でコンテンツを見やすく */
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative; /* 重なりを防ぐ */
    z-index: 1;
}

h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #ff6699; /* ピンク系の見出し */
}

/* プロフィール */
.profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ff99cc; /* ピンクの枠 */
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.profile-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff6699; /* ピンク系の見出し */
}

/* 主要政策（写真付き） */
.policy-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.policy-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid #ff99cc;
}

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

.policy-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ff6699; /* ピンク系の見出し */
}

/* 活動報告 */
.facebook-feed {
    text-align: center;
    max-width: 500px;
    margin: 0 auto; /* 中央寄せ */
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ff6699, #ff99cc); /* ピンクのグラデーション */
    color: white;
    margin-bottom: 50px; /* フッターメニュー分の余白 */
    position: relative;
    z-index: 1;
}

/* 開閉式フッターメニュー */
.footer-menu {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(135deg, #ff6699, #ff99cc); /* ピンクのグラデーション */
    color: white;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    z-index: 1000;
    font-size: 16px;
}

.footer-menu-content {
    display: none;
    position: fixed;
    bottom: 50px;
    width: 100%;
    background: linear-gradient(135deg, #ff99cc, #ffcccc); /* ピンクのグラデーション */
    color: white;
    z-index: 1000;
}

.footer-menu-content.active {
    display: block; /* メニューが開いたときに表示 */
}

.footer-menu-content a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.footer-menu-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .top-content {
        padding: 15px; /* スマホでのパディングを縮小 */
        margin-bottom: 30px; /* メニューとの間隔をさらに確保 */
    }

    .header-title {
        font-size: 18px;
    }

    .top-text h1 {
        font-size: 24px;
    }

    .top-text p {
        font-size: 14px;
    }

    .menu-items a {
        font-size: 16px;
    }

    section {
        padding: 20px 10px;
    }

    h2 {
        font-size: 24px;
    }

    .profile-text {
        min-width: 100%;
    }

    .policy-item {
        min-width: 100%;
    }

    .facebook-feed {
        max-width: 100%; /* スマホで幅をフルに */
    }
}