body {
	font-family: 'Noto Sans JP', sans-serif;
	scroll-behavior: smooth;
}
.bg-indigo-seiran {
	background-color: #003366;
}
.text-indigo-seiran {
	color: #003366;
}
.border-indigo-seiran {
	border-color: #003366;
}
.hover-bg-indigo-seiran:hover {
	background-color: #004488;
}
.section-content {
	display: none;
}
.section-content.active {
	display: block;
	animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   記事本文 (.entry-content) のスタイル
   ========================================= */

/* ベースのテキスト設定 */
.entry-content {
    font-family: 'Noto Sans JP', sans-serif;
    color: #374151; /* 濃いグレー */
    line-height: 1.8; /* 行間を広めに取る */
    font-size: 16px;
}

@media (min-width: 768px) {
    .entry-content {
        font-size: 17px; /* PCでは少し大きく */
    }
}

/* 段落 (p) */
.entry-content p {
    margin-bottom: 1.8em; /* 段落間の余白 */
    letter-spacing: 0.05em; /* 文字間隔 */
}

/* 見出し2 (h2) - 青い帯と左線で強調 */
.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: #eff6ff; /* 薄い青背景 */
    border-left: 5px solid #1e40af; /* ブランドカラーの太線 */
    color: #1e3a8a;
    line-height: 1.4;
}

/* 見出し3 (h3) - 下線のみのシンプルデザイン */
.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #bfdbfe; /* 薄い青の下線 */
    color: #1e40af;
    line-height: 1.4;
}

/* 見出し4 (h4) - 左側の小さなマーカー */
.entry-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 3px solid #60a5fa;
    color: #1f2937;
}

/* 見出し5 (h5) - 太字のみ */
.entry-content h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

/* リスト (ul, ol) */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.8em;
    padding-left: 1.5em; /* インデント */
    border: 1px solid #f3f4f6;
    background: #f9fafb;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem; /* ボックス風にする */
    border-radius: 0.5rem;
}

.entry-content ul {
    list-style-type: disc; /* 黒丸 */
}

.entry-content ol {
    list-style-type: decimal; /* 数字 */
}

.entry-content li {
    margin-bottom: 0.5em;
}

/* 引用 (blockquote) */
.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid #d1d5db;
    background-color: #f9fafb;
    color: #4b5563;
    font-style: italic;
}

/* 太字 (strong/b) - 蛍光ペン風 */
.entry-content strong,
.entry-content b {
    background: linear-gradient(transparent 60%, #bfdbfe 60%); /* 下半分だけ青マーカー */
    font-weight: 700;
    padding: 0 0.1em;
}

/* リンク (a) */
.entry-content a {
    color: #1e40af;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* 画像 */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem; /* 角丸 */
    margin: 2rem auto; /* 上下余白 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* テーブル (table) - 議会報告などで使うため */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.95em;
}

.entry-content th,
.entry-content td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.entry-content th {
    background-color: #f3f4f6;
    font-weight: 700;
}

/* スマホでのテーブルスクロール対策 */
.entry-content .wp-block-table {
    overflow-x: auto;
}

/* =========================================
   Contact Form 7 デザインカスタマイズ
   ========================================= */

/* フォーム全体の枠組み */
.cf7-form-wrapper {
    max-width: 100%;
}

/* 各項目のまとまり */
.cf7-item {
    margin-bottom: 2rem; /* 項目間の余白 */
}

/* ラベル（項目名） */
.cf7-item label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #374151; /* 濃いグレー */
    font-size: 1rem;
}

/* 必須・任意バッジ */
.required-badge,
.any-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: normal;
}

/* 必須バッジの色 */
.required-badge {
    background-color: #ef4444; /* 赤 */
    color: #fff;
}

/* 任意バッジの色 */
.any-badge {
    background-color: #e5e7eb; /* グレー */
    color: #4b5563;
}

/* 入力欄（テキスト・メール・電話など） */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px; /* スマホでズームされないサイズ */
    color: #1f2937;
    background-color: #f9fafb; /* 薄いグレー背景 */
    border: 1px solid #d1d5db; /* 枠線 */
    border-radius: 6px; /* 角丸 */
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 入力欄にフォーカスした時（クリック時） */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: #1e40af; /* ブランドカラー（青藍） */
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1); /* 青いふわっとした光 */
}

/* テキストエリア（メッセージ欄） */
.wpcf7 textarea {
    height: 200px;
    line-height: 1.6;
}

/* 送信ボタンエリア */
.cf7-submit-btn {
    text-align: center;
    margin-top: 3rem;
}

/* 送信ボタン本体 */
.wpcf7 input[type="submit"] {
    display: inline-block;
    background-color: #003366; /* ブランドカラー（青藍） */
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 4rem; /* ボタンの大きさ */
    border: none;
    border-radius: 9999px; /* 丸みのあるボタン */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    -webkit-appearance: none; /* スマホでのデフォルトスタイル解除 */
}

/* 送信ボタンホバー時 */
.wpcf7 input[type="submit"]:hover {
    background-color: #003366; /* 少し濃い青 */
    transform: translateY(-2px); /* 少し浮き上がる */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 入力エラー時のメッセージ */
.wpcf7-not-valid-tip {
    color: #dc2626; /* 赤文字 */
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: bold;
}

/* 送信完了・エラーなどの全体メッセージ枠 */
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #10b981; /* 緑 */
    background-color: #ecfdf5;
    color: #047857;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: #ef4444; /* 赤 */
    background-color: #fef2f2;
    color: #b91c1c;
}

.wpcf7-response-output {
    border-radius: 6px;
    padding: 1rem !important;
    margin: 2rem 0 !important;
    text-align: center;
    font-weight: bold;
}

/* プレースホルダーの色（少し薄く） */
::placeholder {
    color: #9ca3af;
    opacity: 1;
}