@charset "UTF-8";

/* ==================================================
   目次
   1. 変数・基本設定・リセット
   2. 共通レイアウト・パーツ (セクション, ボタン, タイトル)
   3. ヘッダー
   4. フッター
   5. トップページ固有 (メインビジュアル, 政策, 略歴)
   6. ニュース・お知らせシステム (リスト, アーカイブ, ページ送り)
   7. プロフィール詳細ページ (経歴, 年表, テーブル)
   ================================================== */


/* ==================================================
   1. 変数・基本設定・リセット
   ================================================== */
:root {
    --main-color: #009E3D;
    --accent-color: #007a2f;
    --bg-gray: #f4f9f4;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}


/* ==================================================
   2. 共通レイアウト・パーツ
   ================================================== */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section_title {
    text-align: center;
    margin-bottom: 40px;
}

.section_title h3 {
    font-size: 32px;
    color: var(--main-color);
    margin: 0;
    letter-spacing: 0.1em;
}

.section_title p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.btn_area {
    text-align: center;
    margin-top: 40px;
}

.btn,
.btn_more {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: bold;
}


/* ==================================================
   3. ヘッダー
   ================================================== */
header {
    width: 100%;
    border-bottom: 3px solid var(--main-color);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hd_container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.hd_sitename {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hd_name p {
    font-size: 16px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.hd_name h1 {
    font-size: 40px;
    margin: -5px 0 0 0;
    color: var(--main-color);
    line-height: 1.1;
}

.hd_sitename h2 {
    font-size: 18px;
    color: #fff;
    background: var(--main-color);
    padding: 2px 10px;
    border-radius: 4px;
    margin: 0;
}

.hd_menu ul {
    display: flex;
    gap: 30px;
}

.hd_menu a {
    font-weight: bold;
    color: var(--main-color);
}

.hd_menu a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}


/* ==================================================
   4. フッター
   ================================================== */
footer {
    background: var(--main-color);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.copyright {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
}


/* ==================================================
   5. トップページ固有
   ================================================== */
/* メインビジュアル */
.top_visual {
    width: 100%;
    max-width: 100%;
    background-color: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.visual_inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border-bottom: 5px solid var(--main-color);
    max-width: 1200px;
    max-height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding-right: 50px;
    overflow: hidden;
}

.visual_inner img {
    width: auto;
    height: 500px;
    object-fit: cover;
    flex-shrink: 0;
    margin: -60px -100px -40px 0;
}

.visual_text {
    flex: 1;
    margin-left: 20px;
}

.catch_copy {
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 15px 0;
    border-radius: 50%;
    background-color: #1d40db;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
}

.catch_copy p {
    margin: -3px;
}

.visual_text h1 {
    font-size: 80px;
    margin: -20px 0 0 0;
    color: var(--main-color);
}

/* プロフィールサマリー (トップページ用) */
.profile_content {
    background: var(--bg-gray);
    padding: 40px;
    border-radius: 8px;
}

.profile_text h4 {
    font-size: 24px;
    color: var(--main-color);
    margin-top: 0;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.profile_text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 1.5em;
}

.profile_text ul li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--main-color);
}

/* 政策リスト */
.policy_list {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.policy_item {
    background: #fff;
    padding: 30px;
    width: 32%;
    border-radius: 8px;
    border-top: 5px solid var(--main-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.policy_item h4 {
    color: var(--main-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}


/* ==================================================
   6. ニュース・お知らせシステム
   ================================================== */
/* コンテナ枠 */
.news_container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ニュースアイテム */
.news_item {
    border-bottom: 1px solid #ddd;
}

.news_item:last-child {
    border-bottom: none;
}

.news_link_box {
    display: flex;
    align-items: center;
    padding: 20px 0;
    gap: 30px;
    width: 100%;
}

.news_date {
    font-family: monospace;
    color: var(--main-color);
    font-weight: bold;
    min-width: 110px;
    font-size: 18px;
}

.news_text {
    margin: 0;
    flex: 1;
}

/* ホバー時の挙動 */
a.news_link_box:hover {
    background-color: rgba(0, 158, 61, 0.03);
}

a.news_link_box .news_text::after {
    content: " ↗";
    font-size: 0.8em;
    margin-left: 5px;
    color: var(--accent-color);
}

/* アーカイブセクション (プロフィール詳細下部) */
#news_archive_section {
    margin-top: 60px;
    border-top: 1px solid #ddd;
}

/* 表示件数選択エリア */
.news_controls {
    text-align: right;
    margin-bottom: 20px;
}

.news_controls label {
    font-size: 14px;
    color: #666;
    margin-right: 5px;
}

.news_controls select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 14px;
    cursor: pointer;
}

/* ページネーション */
.pagination_area {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination_btn {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--main-color);
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.pagination_btn:hover {
    background: #f0f0f0;
}

.pagination_btn.active {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    pointer-events: none;
}

.pagination_btn.disabled {
    color: #ccc;
    pointer-events: none;
    background: #f9f9f9;
    border-color: #eee;
}


/* ==================================================
   7. プロフィール詳細ページ
   ================================================== */
/* 下層ページ用ヘッダー */
.page_header {
    background: var(--bg-gray);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
}

.page_header h2 {
    font-size: 36px;
    color: var(--main-color);
    margin: 0;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.breadcrumb a {
    color: #333;
    text-decoration: underline;
}

.profile_detail_section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* 写真＋メッセージ横並びエリア */
.profile_top_area {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

.profile_sidebar {
    width: 300px;
    flex-shrink: 0;
    text-align: center;
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side_image img {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 15px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-gray);
}

.side_label {
    display: inline-block;
    background: var(--bg-gray);
    color: var(--main-color);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.side_name {
    font-size: 24px;
    color: var(--main-color);
    margin: 0;
}

.profile_top_area .bio_message {
    flex: 1;
    margin-bottom: 0;
    padding: 30px;
    background-color: #fff;
    border-left: 5px solid var(--main-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.bio_message h3 {
    color: var(--main-color);
    margin-top: 0;
    font-size: 24px;
}

/* ブロック共通 (略歴, パーソナルデータ) */
.bio_block {
    margin-bottom: 50px;
}

.bio_block h3 {
    font-size: 22px;
    color: #333;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* 略歴（年表形式） */
.history_timeline {
    border-left: 2px solid #ddd;
    padding-left: 20px;
    margin-left: 10px;
}

.history_row {
    display: flex;
    margin-bottom: 20px;
    align-items: baseline;
}

.history_date {
    font-weight: bold;
    color: var(--main-color);
    width: 180px;
    flex-shrink: 0;
}

.history_content {
    flex: 1;
}

/* テーブル形式（家族・資格など） */
.info_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.info_table th, .info_table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.info_table th {
    width: 160px;
    background-color: #fafafa;
    color: var(--main-color);
    font-weight: bold;
}

/* 活動リスト */
.activity_list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.activity_list li {
    width: 100%;
    padding: 5px 0 5px 20px;
    position: relative;
    border-bottom: 1px dashed #eee;
}

.activity_list li::before {
    content: "✔";
    color: var(--main-color);
    position: absolute;
    left: 0;
    top: 5px;
}