@charset "UTF-8";

/* ==========================================================================
   1. BASE STYLES (style.css)
   ========================================================================== */

/* ----- 印刷時に非表示 ----- */
 @media print{
	.print_none{ display: none; }
	.archive-header,.entry-header { margin-top: 4em; }
	}

/* ----- ユーティリティ -------------------- */
.red { color: #cb171d; }
.featured-badge {
  display: inline-block;
  background: #cb171d;
  color: #fff;
  font-size: .75em;
  font-weight: 700;
  padding: .2em .6em;
  vertical-align: middle;
  margin-right: .4em;
}
.apply-election-box .featured-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 6px 16px;
  font-size: 1.2em;
  box-sizing: border-box;
  border: 2px solid #cb171d;
}
.election-item .featured-badge {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 1;
}
.election-item:has(.featured-badge) .election-item-body {
  padding-top: 1.4em;
}

/* ----- スキップリンク -------------------- */
.skip-link,.screen-reader-text { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus,.screen-reader-text:focus {
	position: static; width: auto; height: auto; left: auto; background: #000; color: #fff; padding: 8px; z-index: 1000; }

/* ************************************************************
全体レイアウト
************************************************************ */

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
	font-feature-settings: "palt";
	font-family: "Noto Sans JP", "BIZ UDPGothic", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-size: 1.1em; letter-spacing: .04em; font-weight: 400; line-height:1.8em; -webkit-text-size-adjust: 100%;
	color: #000; background-color: #fff;
	height: 100%; margin: 0;
	overflow-x: hidden;
	}

body * { box-sizing: border-box; }
section { position: relative; }
.site-content { width:100%; }
.wrapper { width: 90%; max-width: 1120px; margin-left: auto; margin-right: auto; }

img { image-rendering: -webkit-optimize-contrast; }

/* ----- アンカーリンクスクロール時の位置を調整 ----- */

.anchor-offset { position: absolute; height: 80px; top: -80px; visibility: hidden; }
h2>span, h3>span, h4>span { padding-top: 80px; margin-top: -80px; } /* TOC+用設定 */
.join-content h2>span, .join-content h3>span, .join-content h4>span { padding-top: 0px; margin-top: 0px; }

/* ----- PCで電話のクリック・タッチイベントを無効化 ----- */

@media (min-width: 769px){ a[href^="tel:"] { pointer-events: none; }}

/* ----- パンくず ----- */

.breadcrumbs { padding-top: 10px; font-size: .9em; }

/* ************************************************************
リンク
************************************************************ */

a { color:#003f88; text-decoration: none; }
/* iOS Safari の電話番号・住所自動リンクを無効化 */
a[x-apple-data-detectors] { color: inherit; text-decoration: none; pointer-events: none; }
.wrapper a:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; cursor: pointer; }
a img { transition: opacity 0.2s ease; }
a img:hover { opacity: 0.7; }
a.no-hover img:hover { opacity: 1; }

/* ----- 画像ホバー時にボーダーを表示しない ----- */
.header-ttl a img:hover,
.slick-slider-container a img:hover,
.sns-list-item a img:hover,
.member-sns-list-item a img:hover,
.header-party-logo-tagline a img:hover,
.mark-party-logo a img:hover
	{ border:none; }

/* ************************************************************
ボタン
************************************************************ */

.more a,
.return a,
.wp-block-button a,
.page-index-btn a,
.page-index-btn2 a,
.page-index-btn span,
.default-all {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; padding: .5em; font-size: 1em; font-weight: 700; text-align: center;
	text-decoration: none !important; border-radius: 5px; transition: all 0.3s ease; box-sizing: border-box;
}

/* メインカラー（青） */
.more a, .return a, .wp-block-button a, .page-index-btn a, .page-index-btn2 a {
  color: #003f88; background: #fff; border: 2px solid #003f88;
}

/* グレー（無効・アクティブ） */
/* グレー（無効・アクティブ）の基本スタイルとホバー時の固定 */
.page-index-btn a.is-active,
.page-index-btn span,
.default-all,
.page-index-btn a.is-active:hover,
.page-index-btn span:hover,
.default-all:hover {
	color: #000 !important; background: #ffc000 !important; border: 2px solid #ffc000 !important;
	cursor: default; text-decoration: none !important;
}
/* --- ホバー設定 --- */
.more a:hover,
.return a:hover,
.wp-block-button a:hover,
.page-index-btn a:hover,
.page-index-btn2 a:hover {
	background: #003f88; color: #fff !important; border-color: #003f88; text-decoration: none !important;
}

/* 外部リンクホバー時のアイコン色 */
.more a[target="_blank"]:hover::after,
.return a[target="_blank"]:hover::after,
.wp-block-button a[target="_blank"]:hover::after,
.page-index-btn a[target="_blank"]:hover::after,
.page-index-btn2 a[target="_blank"]:hover::after {
  color: #ffffff !important;
}

/* アイコン定義 */
.more a:not([target="_blank"])::after { content: '\f105'; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.return a:not([target="_blank"])::before { content: '\f104'; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: .5em; }

/* レイアウト設定 */
.more { display: block; margin: 20px auto; text-align: center; }
.return { display: block; margin: 60px auto 0; text-align: center; }
.more a, .return a { width: 50%; }

.wp-block-button { padding: 1em 0; width: 100%; text-align: center; }
.wp-block-button__link { border-radius: 0; display: block; margin: 0 auto; width:50%!important;}

.page-index-btn-container, .page-index-btn2-container {
  display: flex; flex-wrap: wrap; list-style: none; padding-left: 0; margin: 0;
}
.page-index-btn-card-container { width: 24.3%; white-space: nowrap; }
.page-index-btn-container li { margin-right: 10px; margin-bottom: 10px; }
.page-index-btn-container li:nth-child(4n) { margin-right: 0; }

.align-left a { text-align: left !important; justify-content: flex-start; }

/* レスポンシブ */
@media screen and (max-width: 1120px) {
  .page-index-btn-card-container { width: 24%; }
  .page-index-btn a, .page-index-btn2 a, .page-index-btn span { font-size: .9em; }
}

@media screen and (max-width: 1024px) {
  .page-index-btn-card-container { width: 48.5%; }
  .page-index-btn-container li:nth-child(4n) { margin-right: 10px; }
  .page-index-btn-container li:nth-child(2n) { margin-right: 0; }
  .page-index-btn a, .page-index-btn2 a, .page-index-btn span { padding: .1em .2em !important; }
}

@media (max-width: 768px) {
  .more a, .return a { width: 100%; }
  .align-left-sp a { text-align: left !important; justify-content: flex-start; }
  .page-index-btn a, .page-index-btn2 a, .page-index-btn span { padding: .1em .2em .2em .2em !important; }
  .wp-block-button__link { width: 100% !important; }
}

/* ----- ファイルダウンロードボタン（ブロック要素） ----- */
.wp-block-file:not(.wp-element-button) { font-size: 1em; }
.wp-block-file {
	box-sizing: border-box; text-align: center; padding-top: 1em; padding-bottom: 1em; 	margin-bottom: 0em;
	}
.wp-block-file a {
	padding: .5em; border: 1px solid #003f88; width:100%; font-weight: 700;
	align-items: center; display: inline-flex; -webkit-box-align: center; -webkit-box-pack: center; justify-content: center;
	}
.wp-block-file a::before {
	font-family: "FontAwesome"; content: "\f019"; font-size: inherit; margin-right: .3em; color: #003f88;
	}
.wp-block-file a:hover {
	text-decoration:none;
	}
@media all and (max-width: 768px) {
	.wp-block-file a { display:block; padding: .5em .5em; text-align: center; align-items: initial; }
	}
.wp-block-file a:hover, .wp-block-file a:hover::before { background: #003f88; color: #fff; }
.wp-block-file__button { display: none; }

/* ************************************************************
その他
************************************************************ */

/* ----- ReCAPCHA v3 ----- */

.recaptcha-msg { margin-top: 1em; }
.recaptcha-msg p { font-size: .8em; line-height: 1.3em; }
.grecaptcha-badge { visibility: hidden; }

/* ----- <sup></sup>をつけたときのline-heightの変化を抑止 ----- */

sup {
  vertical-align: baseline; /* 一旦リセット */
  position: relative;
  top: -0.5em;              /* 上にずらす */
  line-height: 0;           /* 行間への影響をゼロにする */
  font-size: 75%;           /* お好みのサイズに */
}

/* ----- その他 ----- */

.bold, strong { font-weight: 700; }
.dpfp-blue { color: #003f88; }
.red { color: #cb171d; }
.text-aign-right { text-align:right; }
.justify { text-align:justify; }
sup { color: #cb171d; }
.bigger { font-size: 1.6em; line-height: 1.6em; }
.smaller { font-size: .8em; }
hr, .wp-block-separator { height: 1px; border: none; border-top: 1px solid #cccccc ; }
.newmerk-text { font-weight: 500; color: #cb171d; }
@media screen and (max-width:768px) {
	.bigger { font-size: 1.3em; }
	}

.marker1 { background:linear-gradient(transparent 70%, #ffc000 30%); display: inline; padding: 0 1px 0px; }
.marker2 { background:linear-gradient(transparent 70%, #fef84c 30%); display: inline; padding: 0 1px 0px; }

.underline-dpfpy {
	text-decoration: underline; text-decoration-color: #ffc000;
	text-underline-offset: .25em; text-decoration-thickness: 2px;
	}

.indext1 { padding-left: 1em; }
.indent2 { padding-left: 2em; }
@media screen and (max-width:768px) {
	.indext1 { padding-left: .5em; }
	.indent2 { padding-left: 1em; }
	}

/* ************************************************************
リスト
************************************************************ */

/* ------ ベーシックなリストのスタイル ----- */
.list-def { list-style: none; margin-top: 0px; margin-bottom:0px; }
.list-def li::before { content: "●"; color: #ffc000; margin-right: .3em; }
.list-def li { text-indent: -1.3em; margin-left: -1em; text-align: justify; }
.list-def2 { list-style: none; margin-top: 0px; margin-bottom:0px; }
.list-def2 li::before { content: "●"; color: #ffc000; margin-right: .3em; }
.list-def2 li { text-indent: -1.3em; margin-left: -1em; text-align: justify; }
@media screen and (max-width: 768px) {
	.list-def { list-style: none; padding-left: 0; }
	.list-def li::before { content: "●"; color: #ffc000; margin-right: .3em; }
	.list-def li { text-indent: -1.2em; margin-left: 1.2em; text-align: justify; }
	.list-def2 { list-style: none; padding-left: 0; }
	.list-def2 li::before { content: "●"; color: #ffc000; margin-right: .3em; }
	.list-def2 li { text-indent: -1.2em; margin-left: 1.2em; text-align: justify; }
	}

/* ----- ●ビュレット標準リスト -------------------- */
.list-def ul { list-style: none; padding-left: 1.3em; }
.list-def ul li { font-size: 1em; text-indent: -1.3em; }
.list-def ul li::before { content: "●"; color: #ffc000; margin-right: .3em; }
@media (max-width: 768px) {
	.list-def ul  { padding-left: 0em; }
	.list-def ul li { padding-left: 1.3em; text-indent: -1.3em; }
	}

/* ----- 注意書きリスト -------------------- */
.caution-list ul { list-style-type: none; margin: 0; padding-left: 0; box-sizing: border-box; }
.caution-list ul li { margin-left:1.2em; text-indent: -1.2em; text-align: justify;}
.caution-list ul li::before { padding-right: .2em; content: "※"; color: #cb171d; font-weight: 900; }
.caution-list--qualification ul li::before { content: "●"; color: #003f82; }
.caution-list--requirements ul li::before { content: "●"; color: #cb171d; }
.caution-list ul li ol { padding-left: 0; margin-top: .5em; margin-bottom: .5em; }
.caution-list ul li ol li { margin-left: 2em; text-indent: 0; }
.caution-list ul li ol li + li { margin-top: .5em; }
.caution-list ul li ol li::before { content: none; }
.resume-download-buttons {
  display: flex;
  gap: 12px;
  margin-top: .5em;
}
.resume-download-btn {
  display: inline-block;
  min-width: 300px;
  padding: 7px 5px;
  background: #003f82;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  font-size: inherit;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
  box-sizing: border-box;
}
.resume-download-btn i { margin-right: .5em; color: inherit; }
.resume-download-btn:hover,
.wrapper .resume-download-btn:hover {
  background: #fabe00;
  color: #003f82;
  text-decoration: none;
}
@media (max-width: 640px) {
  .resume-download-buttons { flex-direction: column; align-items: flex-start; }
  .resume-download-btn { min-width: 0; width: 100%; }
}

/* ----- 表組風リスト -------------------- */

.border-list-wrap { list-style: none; margin: 0; padding: 0; padding-left: 0em !important; margin-bottom:20px; }
.border-list li { display:flex; justify-content:flex-start; border-top:1px solid #cccccc; padding: .5em; text-align:justify; }
.border-list li:last-child { border-bottom:1px solid #cccccc; }
.item { width: 8em; }

@media screen and (max-width:768px){
	.border-list li { padding: .5em 0em .2em .2em; }
	.item { width: 140px; }
	.value { flex-grow: 1; flex-shrink: 1; flex-basis: 0%; }
	}

/* ----- ニュースリスト -------------------- */

.top-newslist { padding-bottom: 50px; }
.update-list { padding: 0; margin-top: 60px; margin-bottom: 0; }
@media (max-width: 768px) {
	.update-list { margin-top: 20px; margin-bottom: 0; }
	}

.update-list-wrap { margin-bottom: 0; }

/* ************************************************************
スマホ/PC別表示非表示
************************************************************ */

@media all and (min-width: 769px) {
  .sp-only { display: none!important; }
  .pc-only { display: inline!important; }
  .sp-only-block { display: none!important; }
  .pc-only-block { display: block!important; }
  .sp_br { display:none!important; }
}
@media all and (max-width: 768px) {
  .sp-only { display: inline!important; }
  .pc-only { display: none!important; }
  .sp-only-block { display: block!important; }
  .pc-only-block { display: none!important; }
  .sp_br { display:inline!important; }
}

/* ----- スマホでTABLEを横スクロール ----- */
table { display: block; overflow-x: scroll; white-space: nowrap; -webkit-overflow-scrolling: touch; }

/* ----- Googleドキュメント連携の際のTABLEのスタイル -------------------- */
.gdoc-table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}
.gdoc-td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  vertical-align: top;
  line-height: 1.6;
}




/* ************************************************************
フォーム関係
************************************************************ */

/* ----- 全体 ----- */
.page-contact.module-contact { padding-top: 0 !important; }
.form-label.form-label-birthday { margin-top: 20px; }
fieldset { padding: 0 !important; border: none !important; }
legend { font-size: 1em; font-weight: 700; padding-left: 0; }
.form-group { padding-top: 1.1rem; }
.form-send-bt { display: block; text-align: center; margin-left: auto; margin-right: auto; margin-top: 40px; }
div.wpcf7 .wpcf7-spinner { display: block; text-align: center; margin-top: 10px; margin-bottom: 10px; margin-left: auto; margin-right: auto; }
.count-your-message-down { margin-top: 5px; font-size: .9em; text-align: right; }

/* ----- テーブル ----- */
table th, table td {
    border: 1px solid #dddddd; background-color: #ffffff;
    padding: 20px; vertical-align: middle; text-align: center;
}

/* ----- プライバシーポリシー ----- */
.page-plivacypolicy h3 { display: none; }
.scroll__inner {
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #aaa;
    height: 250px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scroll__inner::-webkit-scrollbar { display: none; }
.privacy-iframe { padding-left: 1em; padding-right: 2em; padding-bottom: 2em; }
@media (max-width: 768px) {
    .privacy-iframe { padding-left: .5em; padding-right: 1.5em; }
}
.privacy-iframe h3 { text-align: center; font-size: 1.2em; }
.privacy-iframe h4 { font-size: 1em; margin-bottom: 0; }
.privacy-date { display: block; text-align: right; }
.privacy-iframe p, .privacy-iframe span, .privacy-iframe ul, .privacy-iframe ol {
    font-size: .9em; line-height: 1.5em;
    margin-top: 0; margin-bottom: 0;
    text-align: justify;
}

/* ----- 注意文 ----- */
.box-atenntion { border: none; margin-top: 30px; margin-bottom: 10px; }
.box-atenntion-title {
    display: block; text-align: center;
    font-weight: 700; font-size: 1.8em; color: #000; margin-top: 0; margin-bottom: 1em;
}
.box-atenntion-content { padding: 50px; border: none; background: #f1f2ee; }
.apply-form-title { display: block; text-align: center; font-weight: 700; font-size: 1.8em; color: #000; margin-top: 72px; margin-bottom: 72px; }
.form-submit-note br { display: none; }
@media (max-width: 768px) {
    .box-atenntion-title { font-size: 1.4em; }
    .apply-form-title { font-size: 1.4em; }
    .box-atenntion-content { padding: 30px 10px; }
    .form-submit-note br { display: block; }
}
.form-caution { font-size: 1em; margin-top: 10px; margin-bottom: 10px; display: block; }
.form-caution::before { content: "※"; color: #cb171d; font-weight: 900; }

/* ----- フォントとフィールド基本スタイル ----- */
button, input, select, text, textarea {
    font-family: "Noto Sans JP", "BIZ UDPGothic", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
text, textarea { font-size: 1em !important; line-height: 1.6em !important; padding-left: .5em !important; }
@media screen and (max-width: 768px) {
    button, input, select, text, textarea { font-size: 1.1rem; }
}
input[type="file"],
input[type="text"], input[type="url"], input[type="password"], input[type="email"],
input[type="search"], input[type="tel"], input[type="select"], input[type="number"],
input[type="date"], textarea {
    background-color: #F8F8F8; background-image: none;
    border: none; border-radius: 0;
    box-shadow: 0 0 0 rgba(0,0,0,.075) inset; color: #333;
    display: block; font-size: 1.1rem; line-height: 1.42857; padding: 6px 12px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box; margin-top: 5px; margin-bottom: 5px;
}
input[type="text"], input[type="password"], input[type="email"], input[type="search"],
input[type="url"], input[type="tel"], input[type="number"], textarea {
    background: #fff;
    border: 1px solid #9e9e9e;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus,
input[type="search"]:focus, input[type="url"]:focus, input[type="tel"]:focus, textarea:focus {
    background: #F8F8F8; border: 1px solid #000; box-shadow: none; color: #000; outline: 0;
}
.wpcf7-select {
    background-color: #fff; background-image: none;
    border: 1px solid #9e9e9e; border-radius: 0;
    box-shadow: 0 0 0 rgba(0,0,0,.075) inset; color: #333;
    display: inline-block; font-size: 1.1rem; line-height: 1.42857; padding: 6px 12px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box; margin-top: 5px; margin-bottom: 5px;
}

/* ----- 入力項目の長さ ----- */
.wpcf7 input[name="your-postalcode"], .wpcf7 input[name="number-of-copies"] { width: 30%; height: 35px !important; }
.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-title"],
.wpcf7 input[name="your-name-kana"],
.wpcf7 input[name="your-phone"],
.wpcf7 input[name="your-fax"],
.wpcf7 input[name="your-email"], .wpcf7 input[name="your-email_confirm"],
.wpcf7 input[name="your-occupation"],
.wpcf7 input[name="receipt-address"],
.wpcf7 input[name="election-place"],
.wpcf7 input[name="destination"] { width: 50%; height: 35px !important; }
.wpcf7 input[name="zipcode"] { width: 30%; height: 35px !important; }
.wpcf7 input[name="your-address"], .wpcf7 input[name="your-address1"], .wpcf7 input[name="your-address2"] { width: 100%; height: 35px !important; }
.wpcf7 textarea[name="your-message"],
.wpcf7 textarea[name="your-message1"],
.wpcf7 textarea[name="your-message2"] { margin-top: 10px; width: 100%; height: 250px; }
@media screen and (max-width: 768px) {
    .wpcf7 input[name="your-postalcode"], .wpcf7 input[name="number-of-copies"],
    .wpcf7 input[name="your-name"], .wpcf7 input[name="your-title"],
    .wpcf7 input[name="your-name-kana"], .wpcf7 input[name="your-phone"],
    .wpcf7 input[name="your-fax"],
    .wpcf7 input[name="your-email"], .wpcf7 input[name="your-email_confirm"],
    .wpcf7 input[name="your-address"], .wpcf7 input[name="your-address1"], .wpcf7 input[name="your-address2"],
    .wpcf7 input[name="your-occupation"], .wpcf7 input[name="receipt-address"],
    .wpcf7 textarea[name="your-message"],
    .wpcf7 input[name="election-place"], .wpcf7 input[name="destination"],
    .wpcf7 input[name="zipcode"], .wpcf7 input[name="your-constituency"] { width: 100%; }
}

/* ----- 送信ボタン ----- */
.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
    width: 100%;
    font-size: 1.2rem;
    font-weight: 700;
    color: #003f88;
    background-color: #fff;
    border: 2px solid #003f88;
    padding: 20px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    text-align: center;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"%3E%3Cpath fill="%23003f88" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: calc(50% + 3em) center;
    transition: all 0.3s;
}
input[type="submit"] { font-size: 1.5em; }
.wpcf7-submit { font-size: 1em; }
@media (max-width: 768px) {
    input[type="submit"] { font-size: 1.2em; }
}
.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
    color: #fff;
    background-color: #003f88;
    border-color: #003f88;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"%3E%3Cpath fill="%23fff" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/%3E%3C/svg%3E');
}

/* ----- 戻るボタン ----- */
.wpcf7-form-control.wpcf7-back.wpcf7c-elm-step2.wpcf7c-btn-back {
    width: 50%;
    margin: 0 auto;
    border-radius: 0 !important;
    border: 1px solid #003f88;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"%3E%3Cpath fill="%23003f88" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"/%3E%3C/svg%3E');
    background-position: calc(50% - 3em) center;
}
.wpcf7-form-control.wpcf7-back.wpcf7c-elm-step2.wpcf7c-btn-back:hover {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"%3E%3Cpath fill="%23fff" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"/%3E%3C/svg%3E');
}

/* ----- アップロードフィールド説明文 ----- */
.form-upload-desc { margin-top: .5em; font-size: .95em; line-height: 1.6; }
.form-upload-desc a,
.caution-list a:not(.resume-download-btn),
.apply-org a { color: #003f88; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.form-upload-desc a:hover,
.caution-list a:not(.resume-download-btn):hover,
.apply-org a:hover { text-decoration-thickness: 2px; }

/* ----- ファイルアップロードボタン ----- */
input[type="file"] { width: 100%; padding: 0; background: none; }
input[type="file"]::file-selector-button {
    font-size: 1.2rem; font-weight: 700;
    color: #003f88; background-color: #fff;
    border: 1px solid #003f88; border-radius: 0 !important;
    padding: .25em .75em; margin-right: .5em; cursor: pointer;
}
@media screen and (max-width: 768px) {
    input[type="file"] { width: 100%; padding: 0; background: none; }
    input[type="file"]::file-selector-button {
        width: 8em; font-size: 1.2rem; font-weight: 700;
        color: #003f88; background-color: #fff;
        border: 1px solid #003f88; border-radius: 0 !important;
        padding: .25em; margin-right: .5em; cursor: pointer;
    }
}

/* ----- ドラッグ&ドロップゾーン ----- */
.drop-zone {
  border: 1px solid #9e9e9e;
  border-radius: 0;
  padding: 32px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.drop-zone:hover { border-color: #003f82; }
.drop-zone.is-dragover {
  border-color: #003f82;
  background-color: #eef4fb;
}
.drop-zone.has-file { border-style: solid; border-color: #003f82; }
.drop-zone__prompt { margin: 0; color: #666; line-height: 1.6; }
.drop-zone__click { color: #003f82; text-decoration: underline; }
.drop-zone__file-name {
  margin: 8px 0 0;
  font-weight: 700;
  color: #003f82;
  word-break: break-all;
}
.drop-zone__file-name:empty { display: none; }
.drop-zone__error {
  margin: 8px 0 0;
  color: #cb171d;
  font-weight: 700;
}
.drop-zone__error:empty { display: none; }
.drop-zone__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
}

/* ----- ラベル・必須マーク ----- */
.input-label { margin-top: 20px; margin-bottom: 10px; }
.apply-target-readonly {
  display: block;
  overflow: hidden;
  padding: 6px 12px;
  font-size: 1.1rem;
  line-height: 1.42857;
  color: #333;
  background: none;
  border: 1px solid #9e9e9e;
  box-sizing: border-box;
  margin-top: 5px;
  cursor: default;
}
@media (min-width: 769px) {
  .contactform-apply .input-label > fieldset > .apply-target-readonly {
    display: block;
    overflow: hidden;
    width: 36.6%;
  }
}
.input-label-bold { font-weight: 700; background: none !important; }
.contactform-apply .input-label-bold::before {
  content: "■";
  color: #fabe00;
  margin-right: .25em;
}
.form-input-must {
    display: inline-block; margin-left: .5em; height: 1.6em; padding: .3em .3em .5em;
    font-size: .8rem; line-height: 110%; color: #fff; font-weight: bold; background: #cb171d;
}

/* ----- 確認画面 ----- */
#main .wpcf7c-conf { background-color: #eee; color: #000; border: 2px solid #eee; box-shadow: none; }

/* ----- バリデーション・レスポンスメッセージ ----- */
.wpcf7 span.wpcf7-not-valid-tip { color: #cb171d; font-weight: bold; }
.wpcf7 .wpcf7-not-valid { background: #fff; }
.form-label-birthday .wpcf7-not-valid-tip { display: none; }
.form-label-birthday:has(.wpcf7-not-valid)::after {
  content: "生年月日を選択してください。";
  display: block;
  color: #cb171d;
  font-weight: bold;
  margin-top: 4px;
  margin-left: 300px;
}
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-spam-blocked,
.wpcf7 .wpcf7-response-output { color: #cb171d; background-color: #fff; border: 2px solid #cb171d; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: #cb171d; background-color: #cb171d; color: #fff; margin: 2em 0; }
.wpcf7 form.sent .wpcf7-response-output { margin: 2em 0; border-color: #003f88; background-color: #003f88; color: #fff; }
.wpcf7 .wpcf7-response-output { margin: 10px 0 0; padding: 8px 35px 8px 14px; border-radius: 0; }
.wpcf7 .wpcf7-mail-sent-ok { border-color: #003f88; background-color: #003f88; color: #fff; }

/* ----- アコーディオン ----- */
.simplebar-content-wrapper { background: #fff !important; }
.contact-accordion .accordion__item { border: 2px solid #003f88; border-radius: 5px; margin-bottom: 0; }
.contact-accordion .accordion__head { border: none; padding-top: 5px; padding-bottom: 5px; }
.contact-accordion .accordion__item .accordion__head::after { font-family: "FontAwesome"; content: "\f107"; }
.contact-accordion .accordion__item.active .accordion__head::after { font-family: "FontAwesome"; content: "\f106"; color: #ffc000 !important; }
.contact-accordion .accordion__item .accordion__head::after,
.contact-accordion .accordion__item.active .accordion__head::after { position: absolute; top: 25px; right: 20px; font-size: 1.6em; color: #003f88; }
.contact-accordion .qah2-2 { font-size: 1.5em; color: #003f88; font-weight: 700; margin-top: 15px; margin-bottom: 20px; padding-left: 30px; }
.contact-accordion .accordion__body { padding: 0 30px !important; }
@media screen and (max-width: 600px) {
    .contact-accordion .accordion__head { padding-top: 5px; }
    .contact-accordion .qah2-2 { font-size: 1.2em; margin-bottom: 5px !important; padding-left: 15px; margin-top: 5px !important; }
    .contact-accordion .accordion__item .accordion__head::after,
    .contact-accordion .accordion__item.active .accordion__head::after { top: 12px; right: 15px; font-size: 1.2em; }
    .contact-accordion .accordion__body { padding: 0 20px !important; }
}

/* ----- ラジオボタン ----- */
.form-item-number .wpcf7-item { display: inline-block; margin: 0 1em 0 0; }
.form-item-radio .wpcf7-list-item { display: inline-block; margin: .5em 1.5em 0 0; }
.form-item-radio label { cursor: pointer; display: inline-block; }
.form-item-radio label input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.form-item-radio label input:focus + span { outline: 2px solid #0073aa; outline-offset: 2px; }
.form-item-radio label input:checked + span:after,
.form-item-radio label input:checked + .wpcf7c-conf-hidden + span:after { display: block; }
.form-item-radio label > span { display: block; position: relative; }
@media screen and (min-width: 769px) { .form-item-radio label > span { font-size: 1.1rem; line-height: 24px; padding-left: 30px; } }
@media screen and (max-width: 768px) { .form-item-radio label > span { font-size: 1.1rem; line-height: 3.5vw; padding-left: 4.5vw; } }
@media screen and (max-width: 600px) { .form-item-radio label > span { font-size: 1.1rem; line-height: 5.5vw; padding-left: 6vw; } }
.form-item-radio label > span:before, .form-item-radio label > span:after {
    border: 1px solid #9e9e9e; border-radius: 50%; content: ""; display: block; position: absolute;
}
.form-item-radio label > span:before { background-color: #fff; left: 0; top: 0; }
@media screen and (min-width: 769px) { .form-item-radio label > span:before { height: 24px; width: 24px; } }
@media screen and (max-width: 768px) { .form-item-radio label > span:before { height: 3.6vw; width: 3.6vw; } }
@media screen and (max-width: 600px) { .form-item-radio label > span:before { height: 4.6vw; width: 4.6vw; } }
.form-item-radio label > span:after { background-color: #002457; border: 1px solid #001022; display: none; }
@media screen and (min-width: 769px) { .form-item-radio label > span:after { height: 16px; left: 4px; top: 4px; width: 16px; } }
@media screen and (max-width: 768px) { .form-item-radio label > span:after { height: 2.4vw; left: .6vw; top: .6vw; width: 2.4vw; } }
@media screen and (max-width: 600px) { .form-item-radio label > span:after { height: 3vw; left: .8vw; top: .8vw; width: 3vw; } }

/* ----- チェックボックス ----- */
.form-item-checkbox { margin-top: 20px; }
.form-item-checkbox .wpcf7-list-item { display: block; margin: .5em 1em .5em 0; }
.form-item-checkbox .wpcf7-list-item:last-of-type { margin-right: 0; }
.form-item-checkbox label { cursor: pointer; display: inline-block; }
.form-item-checkbox label input { display: none; }
.form-item-checkbox label input:checked + span:after,
.form-item-checkbox label input:checked + .wpcf7c-conf-hidden + span:after { display: block; }
.form-item-checkbox label > span { display: block; position: relative; }
@media screen and (min-width: 769px) { .form-item-checkbox label > span { font-size: 1.1rem; line-height: 34px; padding-left: 36px; } }
@media screen and (max-width: 768px) { .form-item-checkbox label > span { font-size: 1.1rem; line-height: 160%; padding-left: 6.4vw; } }
.form-item-checkbox label > span:before, .form-item-checkbox label > span:after { border-radius: 0; content: ""; display: block; position: absolute; margin-top: 5px; }
.form-item-checkbox label > span:before { border: 1px solid #9e9e9e; background-color: #fff; left: 0; top: 0; }
@media screen and (min-width: 769px) { .form-item-checkbox label > span:before { height: 24px; width: 24px; } }
@media screen and (max-width: 768px) { .form-item-checkbox label > span:before { height: 4.26667vw; width: 4.26667vw; } }
.form-item-checkbox label > span:after { background-color: #002457; display: none; }
@media screen and (min-width: 769px) { .form-item-checkbox label > span:after { height: 16px; left: 4px; top: 4px; width: 16px; } }
@media screen and (max-width: 768px) { .form-item-checkbox label > span:after { height: 3.2vw; left: .53333vw; top: .53333vw; width: 3.2vw; } }

/* ************************************************************
フォーム申し込みページ：PC 2カラムレイアウト
legend を float: left で左配置し、.wpcf7-form-control-wrap を
overflow: hidden (BFC) で右に並べる。fieldset が legend 高さに追従する。
************************************************************ */

/* ----- 選挙日程リスト ----- */
.schedule-list { display: grid; grid-template-columns: max-content 1fr; gap: .2em 1em; margin-top: .75em; }
.schedule-list dt { white-space: nowrap; }
.schedule-list dd { margin: 0; }

@media (min-width: 769px) {

  /* --- 通常フィールド --- */
  .contactform-apply .input-label > fieldset {
    overflow: hidden; /* clearfix + legend float を包む */
    padding: 0 !important;
  }
  .contactform-apply .input-label > fieldset > legend {
    float: left;
    width: 300px;
    padding-right: 20px;
    box-sizing: border-box;
    padding-top: 8px;
  }
  .contactform-apply .input-label > fieldset > .wpcf7-form-control-wrap {
    display: block;
    overflow: hidden; /* BFC: float の隣に配置 */
    padding-top: 5px;
  }

  /* --- 生年月日（年月日セレクト群をインライン並びに） --- */
  .contactform-apply .form-label.form-label-birthday > fieldset {
    overflow: hidden;
    padding: 0 !important;
  }
  .contactform-apply .form-label.form-label-birthday > fieldset > legend {
    float: left;
    width: 300px;
    padding-right: 20px;
    box-sizing: border-box;
    padding-top: 8px;
  }
}
.form-label-birthday fieldset label { margin-left: 0.3em; }

/* ====================================================
   候補者公募申請フォームページ (page-form)
   ==================================================== */

.apply-body .print_none > footer { display: none; }

.apply-header {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  background: #fabe00;
}
.apply-header__link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.apply-header__link:hover { text-decoration: none; opacity: 1; }
.apply-header__link img:hover { opacity: 1; }
.apply-header__logo { display: block; line-height: 0; flex-shrink: 0; }
.apply-header__logo img { height: 52px; width: auto; display: block; }
.apply-header__title { font-size: 1.6em; font-weight: 900; color: #003f82; white-space: nowrap; margin-top: 0; margin-bottom: 0; }

.apply-body .wrapper { padding-top: 36px; padding-bottom: 60px; }

.apply-election-box {
  border: 6px solid #fabe00;
  padding: 32px 40px 28px;
  margin-bottom: 36px;
  text-align: center;
}
.apply-election-box__title { font-weight: 900; color: #000; margin: 0 0 20px; line-height: 1.3; font-size: 2.2em; }
.election-pref { margin-right: .5em; }
#schedule-list {
  display: grid;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  grid-template-columns: max-content 1fr;
  gap: 4px 48px;
  text-align: left;
}
#schedule-list dt { font-weight: normal; color: #000; font-size: 1.2em; }
#schedule-list dd { margin: 0 0 5px; color: #000; font-size: 1.2em; }
#schedule-list .deadline-soon { color: #cb171d; font-weight: 700; }
.election-closed-badge {
  display: inline-block; margin-left: 10px; padding: 3px 10px;
  background: #999; color: #fff; border-radius: 3px; font-size: 0.75rem; font-weight: 700; vertical-align: middle;
}
.apply-election-box .election-closed-badge {
  display: block; width: fit-content; margin: 0 auto 16px; padding: 6px 16px;
  background: none; border: 2px solid #cb171d; color: #cb171d; border-radius: 0; font-size: 1.2em; box-sizing: border-box;
}
.election-closed-section { margin: 24px 0; padding: 40px 24px; background: #f1f2ee; text-align: center; }
.election-closed-section .apply-back-btn { margin-bottom: 40px; }
.election-closed-message { margin: 0 0 24px; color: #000; }

.apply-hero {
  position: relative;
  margin-bottom: 36px;
  line-height: 0;
  height: 350px; /* ← PC の高さ */
  overflow: hidden;
}
.apply-hero img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 90%; /* ← 画像サイズ（小さくするには % を下げる） */
  height: auto;
  display: block;
}
.apply-hero__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  line-height: 1.8;
  font-size: 1em;
  display: flex;
  flex-direction: column;
}
.apply-hero__text p {
  margin: 0;
}
@media (max-width: 768px) {
  .apply-hero {
    height: 760px; /* ← スマホの高さ */
  }
.apply-hero img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%; /* ← 画像サイズ（小さくするには % を下げる） */
  height: auto;
  display: block;
}
  .apply-hero__text {
    width: 100%;
  }
}

.apply-org { border: 2px solid #fabe00; padding: 28px 40px; margin-top: 60px; }
.apply-org-inner { display: flex; gap: 48px; align-items: flex-start; justify-content: center; }
.apply-org__label { white-space: nowrap; padding-top: 2px; flex-shrink: 0; }
.apply-org__details { line-height: 1.8; color: #000; }
.apply-org__details a { color: #003f88; }
.apply-org__contact { margin: 0; }
.org-postal { margin-right: .5em; }
#org-fax-wrap { margin-left: 16px; }

.apply-footer {
  background-color: #f1f2ee;
  text-align: center;
  padding: 48px 20px 36px;
}
.apply-footer img { height: 110px; width: auto; display: block; margin: 0 auto 12px; }
.apply-footer__copy { color: #000; margin: 0; font-size: .8em; }

/* form-apply 送信ボタン */
.contactform-apply input[type="submit"] {
    background-color: #003f82;
    background-image: none;
    color: #fff;
    border: none;
    border-radius: 0;
    width: 316px;
    height: 72px;
    font-size: 22px;
    font-weight: 700;
    display: block;
    margin: 0 auto;
    padding: 0;
    transition: background-color 0.3s;
}
.contactform-apply input[type="submit"]:hover {
    background-color: #fabe00;
    background-image: none;
    color: #003f82;
}

/* CF7 カスタムスピナー（プログレスバー） */
.contactform-apply .wpcf7-spinner {
  display: block;
  width: 120px;
  height: 20px;
  background-color: #ddd;
  background-image: linear-gradient(#003f82, #003f82);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 0;
  animation: loader-progress 2s infinite linear;
  border-radius: 0;
  opacity: 1;
  margin: 12px auto 0;
}
.contactform-apply .wpcf7-spinner::before {
  display: none;
}
@keyframes loader-progress {
  100% { background-size: 100% 100%; }
}

@media (max-width: 640px) {
  .apply-header { padding: 8px 8px; gap: 10px; }
  .apply-header__logo img { height: 50px; }
  .apply-header__title { font-size: 1.2em; font-weight: 900; line-height: 1.2em; }
  .apply-header__title-sub { display: block; }
  .apply-election-box { padding: 20px 15px 20px; }
  #schedule-list { gap: 0 24px; }
  #schedule-list dt,
  #schedule-list dd { font-size: 1em; }
  #schedule-list dd { margin: 0; }
  .apply-org { padding: 20px; }
  .apply-org-inner { flex-direction: column; gap: 8px; }
  .contactform-apply input[type="submit"] { width: 100%; height: 64px; font-size: 18px; }
  .form-label-birthday:has(.wpcf7-not-valid)::after { margin-left: 0; }
  .apply-election-box__title { font-size: 1.6em; line-height: 1.6; }
  .election-pref { display: block; margin-right: 0; }
  .org-postal { display: block; }
  .apply-org__contact { display: flex; flex-direction: column; gap: 2px; }
  #org-fax-wrap { margin-left: 0; }
  .apply-footer__copy { font-size: .8em; }
  .apply-footer { padding-bottom: 100px; }
}

/* ===== 選挙一覧ページ ===== */
.page-electionlist {
  margin-bottom: 120px;
}
.pref-nav-wrap {
  background: #f1f2ee;
  padding: 20px 0;
  margin-bottom: 40px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.pref-nav {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 13px 11px;
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.pref-nav li {
  width: auto;
  height: 2.27em;
  line-height: 2.27em;
  background-color: #fff;
  text-align: center;
  font-size: inherit;
  color: #000;
}
.pref-nav li a {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #003f82;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.pref-nav li a:hover {
  background-color: #fabe00;
  color: #003f82;
  text-decoration: none;
}
.pref-section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}
.pref-section-title {
  font-size: 1.5em;
  font-weight: 700;
  margin: 3em 0 0;
  padding: 0;
}
.election-list {
  list-style: none;
  padding: 1px 0 0;
  margin: 18px 0 0;
}
.election-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border: 1px solid #333;
  margin-top: -1px;
  gap: 20px;
  position: relative;
}
.election-item.is-closed {
  color: #999;
}
.election-item-body {
  flex: 1;
  min-width: 0;
}
.election-item-name {
  font-weight: bold;
  margin: 0 0 6px;
  font-size: 1.2em;
}
.election-item-dates {
  margin: 4px 0 0;
  font-size: inherit;
  color: inherit;
}
.deadline-soon {
  color: #cb171d;
  font-weight: 700;
}
.election-item-action {
  flex-shrink: 0;
}
.election-apply-btn,
.election-item .election-closed-badge {
  display: inline-block;
  min-width: 140px;
  padding: 10px 22px;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  font-size: inherit;
  white-space: nowrap;
}
.election-apply-btn {
  background: #003f82;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}
.wrapper .election-apply-btn:hover {
  background: #fabe00;
  color: #003f82;
  text-decoration: none;
}
.election-item .election-closed-badge {
  background: #999;
}
.election-loading {
  color: #888;
  padding: 20px 0;
}
@media (max-width: 880px) {
  .pref-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 640px) {
  .pref-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .pref-nav li {
    height: 2.5em;
    line-height: 2.5em;
    box-sizing: border-box;
  }
  .pref-nav li a {
    background-color: #003f82;
    color: #fff;
  }
  .pref-section-title {
    font-size: 1.3em;
    margin-top: 2.5em;
  }
  .election-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .election-item-dates {
    font-size: 1em;
  }
  .date-sep {
    display: block;
    height: 0;
    overflow: hidden;
  }
  .election-item-action {
    align-self: flex-end;
  }
  .election-apply-btn,
  .election-closed-badge {
    text-align: center;
    box-sizing: border-box;
  }
}

/* ----- ページタイトル（共通）----- */
.apply-page-title {
  font-weight: 900;
  color: #000;
  line-height: 1.6em;
  font-size: 2.2em;
  text-align: center;
  margin: 60px 0;
}
@media (max-width: 768px) {
  .apply-page-title { font-size: 1.6em; }
}

/* ----- 戻るリンクボタン ----- */
.apply-back-btn {
  display: block;
  width: 316px;
  height: 72px;
  line-height: 72px;
  margin: 40px auto 0 auto;
  background-color: #003f82;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}
.apply-back-btn:hover, .apply-back-btn:focus,
.wrapper .apply-back-btn:hover, .wrapper .apply-back-btn:focus {
  background-color: #fabe00;
  color: #003f82;
  text-decoration: none;
}
@media (max-width: 640px) {
  .apply-back-btn { width: 100%; font-size: 18px; box-sizing: border-box; margin: 40px auto 0 auto; }
}

/* ----- 選挙関連ニュースセクション ----- */
.election-news {
  padding: 80px 0;
}
.election-news .interview_card__title {
  font-size: 1em;
  -webkit-line-clamp: unset;
  overflow: visible;
  display: block;
}
@media (max-width: 768px) {
  .election-news { padding: 50px 0; }
  .election-news .interview_card {
    height: 100px;
  }
  .election-news .interview_card__img {
    flex: 0 0 100px;
  }
  .election-news .interview_card__body {
    padding: 10px;
  }
  .election-news .interview_card__title {
    font-size: 1em;
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .election-news .interview_card__meta {
    font-size: .75em;
  }
}

/* ----- サイドタブ固定ナビ ----- */
.side-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 90;
}
.side-tab__item {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  width: 50px;
  box-sizing: border-box;
  padding: 20px 0;
  background: #003f82;
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
  letter-spacing: .1em;
  transition: background-color 0.3s, color 0.3s;
}
.side-tab__icon {
  writing-mode: horizontal-tb;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fabe00;
  color: #003f82;
  font-size: .7em;
  line-height: 1;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.side-tab__item:hover {
  background: #fabe00;
  color: #003f82;
  text-decoration: none;
}
.side-tab__item:hover .side-tab__icon {
  background: #003f82;
  color: #fabe00;
}
@media (max-width: 768px) {
  .side-tab {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    flex-direction: row;
  }
  .side-tab__item {
    width: 100%;
    writing-mode: horizontal-tb;
    padding: 15px 0;
    font-size: 1em;
    gap: 8px;
  }
  .side-tab__icon {
    margin-bottom: 0;
  }
}

/* ----- ページトップへ戻るボタン ----- */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 0;
  width: 50px;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  visibility: hidden;
  transform: translateY(80px);
  transition: visibility 0.3s, transform 0.3s;
  z-index: 100;
}
.to-top.is-visible {
  visibility: visible;
  transform: translateY(0);
}
.to-top img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}
.to-top:hover { opacity: 0.75; }
@media (max-width: 768px) {
  .to-top { width: 42px; bottom: 70px; right: 0; }
}

/* ====================================================
   フロントページ共通
   ==================================================== */
.l-inner {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .sp-only { display: inline; }
}
.c-sec_ttl {
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  color: #000;
  margin: 0 0 60px;
  line-height: 1.3;
}
.c-sec_ttl small {
  display: block;
  font-size: .5em;
  font-weight: 700;
  color: #9e9e9e;
  letter-spacing: .15em;
  margin-top: .4em;
}
@media (max-width: 640px) {
  .c-sec_ttl { font-size: 1.6em; margin-bottom: 30px; }
}

/* ====================================================
   ヒーローセクション
   ==================================================== */
.hero {
  width: 100%;
  height: auto;
  line-height: 0;
  font-size: 0;
}
.hero picture,
.hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* ====================================================
   メッセージセクション
   ==================================================== */
.message {
  padding: 80px 0;
}
.apply-body .message {
  padding: 0;
}
.message_block {
  display: grid;
  grid-template-columns: 25% 1fr;
  grid-template-areas:
    "img text"
    "img bodies";
  column-gap: 48px;
  align-items: start;
}
.message_block + .message_block {
  margin-top: 30px;
}
.message_block__img {
  grid-area: img;
}
.message_block__img img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cccccc;
}
.message_block__text {
  grid-area: text;
}
.message_block__bodies {
  grid-area: bodies;
}
.message_block__title {
  font-size: 1.8em;
  font-weight: 900;
  color: #000;
  margin: 0 0 .4em;
  line-height: 1.4;
}
.message_block__subtitle {
  font-size: 1.2em;
  font-weight: 700;
  color: #000;
  margin: 0 0 1em;
}
.message_block__body {
  margin: 0;
  line-height: 1.8;
  text-align: justify;
}
@media (max-width: 768px) {
  .message { padding: 50px 0; }
  .apply-body .message { padding: 0; }
  .message_block {
    grid-template-columns: 1fr 40%;
    grid-template-areas:
      "text img"
      "bodies bodies";
    column-gap: 16px;
  }
  .message_block + .message_block {
    margin-top: 30px;
  }
  .message_block__bodies {
    margin-top: 12px;
  }
  .message_block__title {
    font-size: 1.4em;
  }
}

/* ====================================================
   応募資格・応募要項セクション
   ==================================================== */
.qualification,
.requirements {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .qualification,
  .requirements { padding: 50px 0; }
}

/* ====================================================
   選考セクション
   ==================================================== */
.selection {
  padding: 80px 0;
}
.selection_list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}
.selection_list li {
  position: relative;
  padding-left: 1.4em;
  line-height: 1.7;
  text-align: justify;
}
.selection_list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #003f82;
  font-size: .8em;
  top: .4em;
}
.selection_step {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  justify-content: center;
  counter-reset: step;
}
.selection_step li {
  position: relative;
  counter-increment: step;
  display: flex;
}
.selection_step li:not(:last-child)::after {
  content: "▶";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translate(50%, -50%);
  color: #003f82;
  font-size: 1.2em;
}
.selection_step .box {
  min-width: 180px;
  padding: 20px 24px;
  background: #fabe00;
  border: none;
  text-align: center;
  color: #000;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.selection_step .box .large {
  font-size: 1.15em;
}
.selection_step .box small {
  display: inline-block;
  font-size: .85em;
  font-weight: 400;
  margin-top: .2em;
}
@media (max-width: 768px) {
  .selection { padding: 50px 0; }
  .selection_list { margin-bottom: 32px; }
  .selection_step {
    flex-direction: column;
    gap: 36px 0;
    align-items: center;
  }
  .selection_step li:not(:last-child)::after {
    content: "▼";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translate(-50%, 50%);
  }
  .selection_step .box {
    min-width: 220px;
  }
}

/* box-atenntion 内の選考ステップ（幅制約対応） */
@media (min-width: 769px) {
  .box-atenntion .selection_step {
    gap: 0;
  }
  .box-atenntion .selection_step li {
    flex: 1 1 0;
    margin-right: 36px;
  }
  .box-atenntion .selection_step li:last-child {
    margin-right: 0;
  }
  .box-atenntion .selection_step .box {
    min-width: 0;
    width: 100%;
  }
  .box-atenntion .selection_step li:not(:last-child)::after {
    right: -18px;
    transform: translate(50%, -50%);
  }
}

/* ====================================================
   地方議員インタビューセクション
   ==================================================== */
.interview {
  padding: 80px 0;
}
.interview_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.interview_card {
  display: flex;
  height: 100%;
  text-decoration: none;
  color: #000;
  border: 1px solid #ccc;
  transition: box-shadow 0.3s;
}
.interview_card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  text-decoration: none;
  color: #000;
}
.interview_card:hover .interview_card__img img {
  transform: scale(1.05);
  transition: transform 0.3s;
}
.interview_card__img img {
  transition: transform 0.3s;
}
.interview_card img:hover {
  opacity: 1;
}
.interview_card__img {
  flex: 0 0 160px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.interview_card__new {
  position: absolute;
  top: 0;
  left: 0;
  background: #cb171d;
  color: #fff;
  font-size: .75em;
  font-weight: 700;
  padding: 4px 10px;
  line-height: 1;
  z-index: 1;
}
.interview_card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.interview_card__body {
  flex: 1 1 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.interview_card__vol {
  color: #fabe00;
}
.interview_card__title {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.5;
  color: #003f82;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.interview_card__name {
  font-size: 1em;
  font-weight: 700;
  margin: 0;
}
.interview_card__meta {
  font-size: .9em;
  color: #666;
  margin: 0;
}
@media (max-width: 768px) {
  .interview { padding: 50px 0; }
  .interview_grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .interview_card__img {
    flex: 0 0 135px;
  }
  .interview_card__body {
    padding: 12px;
  }
  .interview_card__title {
    font-size: 1em;
    margin-bottom: .3em;
  }
  .interview_card {
    height: 150px;
  }
  .interview_card__name {
    font-size: .9em;
    margin: 0;
    line-height: 1.5em;
  }
  .interview_card__meta {
    font-size: .8em;
    line-height: 1.4em;
  }
}

/* ====================================================
   インタビューシングルページ
   ==================================================== */
/* ====================================================
   インタビュー・シングルページ
   ==================================================== */
.interview-single {
  max-width: 900px;
  margin: 48px auto 80px;
  padding: 48px 56px;
  border: 1px solid #ccc;
}

/* --- ヒーロー：PC 2カラム（左=テキスト／右=画像）、SP 縦積み --- */
.interview-single__hero {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 400px);
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 6px solid #003f82;
}
.interview-single__hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.interview-single__ribbon {
  display: inline-flex;
  align-items: stretch;
  margin: 0 0 20px;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
}
.interview-single__category {
  background: #003f82;
  color: #fabe00;
  padding: 10px 10px;
  display: inline-flex;
  align-items: center;
}
.interview-single__vol {
  background: #fabe00;
  color: #003f82;
  padding: 10px 10px;
  letter-spacing: 0.08em;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
}
.interview-single__title {
  font-size: 2.2em;
  font-weight: 900;
  line-height: 1.4;
  color: #000;
  margin: 0 0 28px;
}
.interview-single__profile {
  padding-bottom: 0;
}
.interview-single__name {
  font-size: 1.4em;
  font-weight: 900;
  color: #000;
  margin: 0 0 4px;
}
.interview-single__meta {
  font-size: 1em;
  color: #666;
  margin: 0;
}
.interview-single__prof-link {
  margin: 0;
  line-height: 1.5em;
}
.interview-single__prof-link a {
  color: #003f82;
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}
.interview-single__prof-link a:hover {
  text-decoration-thickness: 2px;
}

/* --- 本文 --- */
.interview-single__content {
  margin-bottom: 64px;
  font-size: 1.05em;
  line-height: 2;
  color: #000;
}
.interview-single__content p {
  margin: 0 0 1.6em;
  text-align: justify;
}
.interview-single__content h2,
.interview-single__content h2.wp-block-heading {
  position: relative;
  margin: 2.4em 0 1.8em;
  padding: 0 0 0 1.8em;
  background: transparent;
  color: #000;
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.9;
}
.interview-single__content h2::before,
.interview-single__content h2.wp-block-heading::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: -0.05em;
  font-size: 1.5em;
  font-weight: 500;
  color: #003f82;
  letter-spacing: 0;
  line-height: 1.4;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.interview-single__content h2 .interview-q-marker,
.interview-single__content h2.wp-block-heading .interview-q-marker {
  background-image: linear-gradient(
    transparent 74%,
    #fabe00 74%,
    #fabe00 92%,
    transparent 92%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 2px;
}
.interview-single__content blockquote {
  margin: 2.4em 0;
  padding: 28px 32px;
  border-top: 3px solid #fabe00;
  border-bottom: 3px solid #fabe00;
  background: transparent;
  text-align: center;
  font-size: 1.25em;
  font-weight: 700;
  color: #000;
  line-height: 1.7;
}
.interview-single__content blockquote p {
  margin: 0;
}
.interview-single__content .wp-block-image img {
  max-width: 100%;
  height: auto;
}

/* --- 公開日 --- */
.interview-single__published {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 6px solid #003f82;
  text-align: right;
  font-size: 0.9em;
  color: #666;
}

/* --- 前後ナビ（カード形式） --- */
.interview-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  padding-top: 32px;
}
.interview-nav__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #000;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.wrapper .interview-nav__card:hover,
.interview-nav__card:hover {
  background: #fabe00;
  border-color: #fabe00;
  text-decoration: none;
}
.interview-nav__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
}
.interview-nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.interview-nav__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.interview-nav__label {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 2px;
}
.interview-nav__title {
  font-size: 0.95em;
  font-weight: 700;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.interview-nav__card i {
  font-size: 1.6em;
  color: #003f82;
  flex-shrink: 0;
}

/* --- 一覧に戻る --- */
.interview-single__back {
  text-align: center;
}

/* --- SP --- */
@media (max-width: 768px) {
  .interview-single {
    margin: 24px auto 48px;
    padding: 28px 20px;
  }
  .interview-single__hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .interview-single__ribbon { font-size: 0.9em; }
  .interview-single__title { font-size: 1.8em; margin-bottom: 20px; }
  .interview-single__name { font-size: 1.2em; }
  .interview-single__profile {
    padding-bottom: 16px;
    border-bottom: 6px solid #003f82;
  }
  .interview-single__content {
    margin-bottom: 48px;
    font-size: 1em;
    line-height: 1.9;
  }
  .interview-single__content h2,
  .interview-single__content h2.wp-block-heading {
    font-size: 1.15em;
    padding: 0 0 0 2em;
    margin: 2em 0 1.8em;
    line-height: 1.7;
  }
  .interview-single__content h2::before,
  .interview-single__content h2.wp-block-heading::before {
    left: 0;
    top: -0.05em;
    font-size: 1.4em;
  }
  .interview-single__content blockquote {
    padding: 20px 16px;
    font-size: 1.1em;
  }
  .interview-single__content .wp-block-image img { width: 100%; height: auto; }
  .interview-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 24px;
  }
  .interview-nav__card {
    min-width: 0;
    gap: 12px;
  }
  /* SPはタイトル折返しを許可して2行まで表示 */
  .interview-nav__title {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
  }
  .interview-nav__thumb {
    width: 56px;
    height: 56px;
  }
  .interview-nav__card i {
    font-size: 1.4em;
  }
}

/* ====================================================
   FAQ（よくあるご質問）アコーディオン
   ==================================================== */
.faq {
  padding: 80px 0;
}
.faq_list {
  margin: 0 auto;
}
.js-accordion {
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid #9e9e9e;
}
.js-accordion dt {
  position: relative;
  padding: 18px 56px 18px 24px;
  font-size: 1.1em;
  font-weight: 700;
  color: #003f82;
  cursor: pointer;
  line-height: 1.5em;
  transition: background-color 0.2s;
}
.js-accordion dt:hover {
  background: #003f82;
  color: #fff;
}
.js-accordion dt:hover::before,
.js-accordion dt:hover::after {
  background: #fff;
}
.js-accordion dt::before,
.js-accordion dt::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 2px;
  background: #003f82;
  transition: transform 0.3s;
}
.js-accordion dt::after {
  transform: rotate(90deg);
}
.js-accordion.open dt::after {
  transform: rotate(0);
}
.js-accordion dd {
  display: none;
  margin: 0;
  padding: 20px 24px;
  border-top: 1px solid #e0e0e0;
  color: #000;
  line-height: 1.5em;
}
.js-accordion dd p {
  margin: 0 0 .8em;
}
.js-accordion dd p:last-child {
  margin-bottom: 0;
}
.js-accordion dd a {
  color: #003f82;
  text-decoration: underline;
}
.js-accordion dd a:hover {
  text-decoration-thickness: 2px;
}
.js-accordion dd table {
  margin: 10px 0;
}
@media (max-width: 640px) {
  .faq { padding: 50px 0; }
  .js-accordion dt { padding: 16px 48px 16px 16px; font-size: .95em; }
  .js-accordion dt::before,
  .js-accordion dt::after { right: 16px; }
  .js-accordion dd { padding: 16px; }
}

/* ==== インタビュー「一覧を見る」ボタン（トップページ） ==== */
.interview__more {
  margin-top: 40px;
  text-align: center;
}

/* ==== インタビュー アーカイブページ ==== */
.interview-archive {
  padding: 0 0 80px;
}
.interview-archive__pagination {
  margin-top: 50px;
}
.interview-archive__pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.interview-archive__pagination li a,
.interview-archive__pagination li span {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid #002f6c;
  color: #002f6c;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}
.interview-archive__pagination li span.current {
  background: #002f6c;
  color: #fff;
}
.interview-archive__pagination li a:hover {
  background: #fabe00;
  border-color: #fabe00;
}
.interview-archive__empty {
  text-align: center;
  padding: 40px 0;
}
.interview-archive__back {
  margin-top: 60px;
  text-align: center;
}
@media (max-width: 640px) {
  .interview-archive { padding: 50px 0; }
}

/* ==== トップページ CV ボタン（候補者公募選挙一覧へ） ==== */
.apply-back-btn--cv {
  width: 480px;
  height: 96px;
  line-height: 96px;
  font-size: 28px;
  position: relative;
}
.apply-back-btn--cv::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
  line-height: 1;
}
@media (max-width: 640px) {
  .apply-back-btn--cv {
    width: 100%;
    height: 80px;
    line-height: 80px;
    font-size: 20px;
  }
  .apply-back-btn--cv::after {
    right: 20px;
  }
}

/* ==== インタビュー画像領域の背景色（人物切り抜き対応） ==== */
.interview .interview_card__img,
.interview-archive .interview_card__img,
.interview-single__hero-image,
.interview-nav__thumb {
  background-color: #eaeaea;
}
