/* ---------------------------------
 柱
-----------------------------------*/
.kouho_heading {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f2f2;
    border: solid 1px #dedede;
    padding: 4px 10px 2px;
}
.kouho_heading > h2 {
    font-size: 1.2rem;
}
.kouho_heading > h2 > span {
    font-size: 1.05rem;
}
.kouho_heading > time {
    font-size: 0.95rem;
    color: #4d4d4d;
}

/* ---------------------------------
 候補者リスト 
-----------------------------------*/
.kouho_img_button,
.interview_link {
  display: none;
}
.show-button {
  display: flex !important;
}
.show-link {
  display: inline-flex !important;
}

.kouho_list {
  padding: 0;
  margin: 0;
}
.kouho_list > li {
  list-style: none;
  padding: 16px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
.kouho {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-left: 8px;
}
.kouho_photo {
  flex: 0 0 100px;
  position: relative;
}
.kouho_photo img {
  width: 100px;
  height: auto;
  display: block;
}
.kouho_content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.kouho_name {
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 1px dashed #ccc;
  padding: 2px 0 8px;
  align-items: baseline;
  /*  display: flex; */
  /* gap: 10px; */
  line-height: 1;
}
.kouho_name_kana {
  font-size: 0.95rem;
  color: #666;
}
.kouho_row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2px;
}
.kouho_row_left {
  display: flex;
  flex-direction: column;
}
.kouho_detail {
  /* display: block; */
  /* flex-wrap: wrap; */
  /* gap: 0px 10px; */
  font-size: 0.95rem;
  color: #333;
  padding: 0;
  margin: 0;
}
.kouho_detail > li:first-of-type {
    padding-left: 0;
}
.kouho_detail > li {
  display: inline;
  list-style: none;
  font-size: 0.95rem;
  border-right: 1px dashed #ccc;
  padding: 0 10px;
  line-height: 1.6;
}
.kouho_detail > li:last-child {
  border-right: none;
}
.kouho_img_button {
  position: relative;
  width: 150px;
  height: 84px;
  /* background-color: #003366; */
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  margin-left: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.kouho_img_button.show-button {
  opacity: 1;
  pointer-events: auto;
}
.kouho_img_button.show-button:hover img {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.kouho_img_button::after {
  content: '\f04b';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 18px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: #FF0000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.kouho_img_button .play-icon {
  position: relative;
  font-size: 24px;
  color: #fff;
  pointer-events: none;
}
.kouho_interview_button {
  margin-top: 2px;
}
.interview_link,
.movie_link,
.kouho_questionnaire_link {
  color: #03388c;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
  align-items: center;
  gap: 6px;
}
.interview_link:hover,
.movie_link:hover,
.kouho_questionnaire_link:hover {
  text-decoration: underline;
}
.movie_link {
  display: none;
}
.fa-solid, .fas {
  margin-top: 2px;
}

/* モーダル */
/* --- モーダル関連スタイル --- */
.modal_overlay {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
}

.modal_overlay.show {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.modal_content {
  background: white;
  width: 90%;
  max-width: 700px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.modal_overlay.show .modal_content {
  transform: scale(1);
  opacity: 1;
}

.modal_close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

.modal_close:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.video_wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.video_wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal_name {
  font-size: 1.4rem;
  margin-top: 16px;
  font-weight: bold;
}

.modal_link,
.modal_questionnaire_link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  background: #007acc;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  gap: 6px;
  width: 250px;
}

/* 得票数 */
.kouho_vote {
    float: right;
    margin-right: 240px;
    text-align: right;
    font-size: 1.3rem;
}

/* 写真上に花パターン */
.kouho.tosen .kouho_photo::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("/files/o/files/senkyo/sanin2022/flower.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-40%, -20%);
}

/* 得票数前に花パターン */
.kouho.win .kouho_result .vote {
  display: flex;
  align-items: center;
}
.kouho.win .kouho_result .vote::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("//www.hokkaido-np.co.jp/files/senkyo/sanin2022/flower.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 6px;
}

/* ■20250715追記■ */
.kouho_list.kaihyo_day .kouho_photo {
  flex: 0 0 85px !important;
}
.kouho_list.kaihyo_day > li {
  padding: 15px 0;
  margin-bottom: 0;
}
.kouho_list.kaihyo_day .kouho_name {
  padding: 2px 0 10px;
  margin-bottom: 6px;
}
.kouho_list.kaihyo_day .kouho_content {
  margin-top: 5px;
}

/* ■ここまで■ */


/* ---------------------------------
 トップ左メニュー
-----------------------------------*/
:root {
  --wrapper-width: 1200px;
  <!--{* 幅を変更したい場合はこの数値を変更 *}-->
  --sidebar-width: 340px;
  --sidebar-gutter: 10px;
}
.wrapper.wide {
  width: var(--wrapper-width) !important;
}
.wrapper.wide .main {
  /*width: calc(var(--wrapper-width) - var(--sidebar-width) - var(--sidebar-gutter));*/
}
.sidebar_left {
  width: var(--sidebar-width) !important;
  float: left !important;
  margin-right: 10px;
  position: sticky;
  top: 0;
}
.sidebar_left li {
  position: relative;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 12px 10px 12px !important;
}
.hover_nav a:hover {
    text-decoration: none;
}
.hover_nav a:hover:before {
    width: 100%;
}
.hover_nav a {
    position: relative;
    /* display: inline-block; */
    display: block;
    font-weight: bold;
    color: #333;
}
.hover_nav li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease;
}
.hover_nav li:hover::after {
  width: 100%;
}
.hover_nav li.active::after {
  width: 100%;
}

/* ---------------------------------
 一覧へリンク
-----------------------------------*/
.more_link {
   text-align: right;
   margin-bottom: 50px;
}
.more_link a {
   color: #212121;
   font-size: 18px;
}
.more_link a:hover {
   color: #6b6969;
}
.more_link a:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f054";
    margin-left: 5px;
    color: #679CDB;
}

/* ---------------------------------
 候補者アンケート
-----------------------------------*/
.questionnaire {
	/*border-top: 2px solid #9B533D;
	border-left: 2px solid #9B533D;
	border-right: 2px solid #9B533D;
	&:last-of-type {
		border-bottom: 2px solid #9B533D;
	}
*/
}
.questionnaire-summary {
	position: relative;
	display: block;
	color: #00418F;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	background-color: #fff;
	&:hover {
		/*cursor: pointer;
		opacity: 0.8;*/
	}
	.btn {
		position: absolute;
		top: 3%;
		right: 20%;
		width: 18px;
		height: 18px;
		transform-origin: center center;
		transition-duration: 0.2s;

		&:before,
		&:after {
			content: "";
			background-color: #00418F;
			border-radius: 10px;
			width: 18px;
			height: 4px;
			position: absolute;
			top: 7px;
			left: 0;
			transform-origin: center center;
		}
		&:before {
			width: 4px;
			height: 18px;
			top: 0;
			left: 7px;
		}
	}
	&.is-active {
		.btn {
			-webkit-transform: rotate(-180deg);
			transform: rotate(-180deg);
			&:before {
				content: none;
			}
		}
	}
}

.questionnaire-summary::-webkit-questionnaire-marker {
	display: none;
}

.questionnaire-content {
	/*padding: 20px;*/
	p {
		margin: 0 0 20px;
		color: #000;
		font-size: 18px;
		text-align: left;
		&:last-of-type {
			margin: 0 0 0;
		}
	}
}

.qa{
    margin: 5px 0;
		color: black;
}
.qa .motto {
    color: black;
    width: 28%;
    margin-left: auto;
    margin-right: auto;
    padding: 9px 16px;
    font-size: 1.3rem;
    border-bottom: 2px solid;
    border-top: 2px solid;
    border-left: 2px solid;
    border-right: 2px solid;
		margin-top: 20px;
	&:hover {
		cursor: pointer;
		opacity: 0.8;
	}
}
.qa__question{
    font-size: 1.4rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
    font-weight: bold;
    color: #9B533D;
    background: #fff;
    border: 2px solid #9B533D;
		border-collapse:collapse;
}
.qa__question__no{
    width: 10%;
    background: #9B533D;
    color: white;
		font-size: 23px;
		text-align: left;
		padding: 4px 16px;
}
.qa__question__num{
    padding: 9px 16px;
    font-size: 1.1rem;
    color: black;
    font-weight: bold;
    /*background: #0f4c82;*/
		text-align: left;
}
.qa__question__theme{
    padding: 9px 16px;
    font-size: 1.5rem;
    color: black;
    font-weight: bold;
    /*background: #0f4c82;*/
		text-align: left;
}

.qa__question__text{
    padding: 13px 16px;
}
.qa-table--descriptive{
    border-bottom: solid 1px #ebebeb;
}
.qa-table{
    margin-top: 23px;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
.qa-table--descriptive .qa-table__koho{
    display: block;
    width: 100%;
}
.qa-table--descriptive .qa-table__answer{
    display: block;
    width: 100%;
}
.qa-table--selective .qa-table__candidate .qa-table__name {
    margin-left: 13px;
}
.qa-table--descriptive .qa-table__candidate .qa-table__name{
    margin-left: 13px;
}
.qa-table__name{
    font-size: 1.2rem;
    font-weight: bold;
}
.qa-table--selective .qa-table__candidate{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background: #f5f5f5;
    padding: 6px 12px;
}
.qa-table--descriptive .qa-table__candidate{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background: #ebebeb;
    padding: 5px 5px;
}
.qa-table--descriptive .qa-table__answer{
    display: block;
    width: 100%;
}

.qa-table__answer{
    font-size: 1rem;
    line-height: 1.9;
    padding: 14px 0;
}
.qa-table__select-answer{
		font-size: 1.2rem;
    line-height: 1.4;
    font-weight: bold;
    color: #0f4c82;
    width: 100%;
		padding-left: 15px;
		padding-top: 10px;
    padding-bottom: 10px;
		text-align: left;
    padding-left: 2em;
    text-indent: -1em;
		border-top: solid 1px #ebebeb;
}
.qa-table__reason {
    font-size: 1rem;
    line-height: 1.4;
    /*font-weight: bold;
    color: #0f4c82;*/
    width: 100%;
		border-bottom: solid 1px #ebebeb;
		text-align: left;
		font-weight: normal;
		text-align: left;
		font-weight: normal;
		padding-bottom: 15px;
		padding-left: 20px;
}
.qa-table__koho .party-icon{
    font-size: 1rem;
    border-width: 1px;
    display: block;
    text-align: center;
    line-height: 1.5;
    min-width: 4em;
    width: 4em;
    border: 2px solid #000;
    border-radius: 1em;
    background: #fff;
    padding: 0;
    font-weight: bold;
}
.qa__legend{
    margin-top: 20px;
		text-align: left;
}
.qa__legend__item{
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: bold;
    color: #0f4c82;
    width: 100%;
		padding-left: 1em;
    text-indent: -1em;
		transform: translate(3%, 0%);
		width: 80%;
}
.qa-table--selective{
    table-layout: fixed;
}
.qa-table--selective tr:first-child {
    height: 35px;
    /*background: #ebebeb;*/
}
.qa-table--selective th:first-child {
    width: 20%;
}

.qa-table--selective .qa-table__koho{
    padding: 8px 0;
}
.qa-table--selective .is-true{
    position: relative;
}
.qa-table--selective .qa-table__check{
    position: relative;
    width: 100%;
    height: 100%;
}

.qa-table--selective .qa-table__check, .qa-table--selective .qa-table__koho {
    /*border-bottom: solid 1px #ebebeb;*/
}
.qa-table__check{
    text-align: center;
}

.qa-table--selective .is-false span{
    width: 30px;
    height: 30px;
    display: block;
    content: '';
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-bottom: 3px solid #9c9c9c;
}

.questionnaire-summary > p{
    background: #9B533D;
    color: white;
    margin-left: auto;
    margin-right: auto;
    padding: 9px 16px;
    font-size: 1.5rem;
}
.qa__preamble {
  text-align: left;
  margin-bottom: 30px;
  font-weight: normal;
  font-size: 16px;
  margin-top: 30px;
}
.qa__preamble a {
	text-decoration: underline;
}
.face_name {
	/*width: 110px;*/
}
.face_grid {
  display: flex;
  flex-wrap: wrap;
	justify-content: center;
  /*gap: 5px;*/
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 25px;
}

.face {
  flex: 0 0 120px; /* 幅を固定 */
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
	margin-bottom: 10px;
}

.face img {
  width: 80%;
  /*height: 60px;*/
  object-fit: cover;
  /*border-radius: 50%;*/
  /*display: block;*/
  margin-bottom: 4px;
}
.qa_link {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}



/* トップタイトル */
.heading_type_02 .heading_title {
    font-size:20px !important;
}

/* 過去選挙結果 */
.sidePrimaryNewsList {
    border-top: 1px solid #e5e5e5;
}
.sidePrimaryNewsItem {
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
}
.sidePrimaryNewsItem a {
    display: table;
    width: 100%;
    min-height: 43px;
    padding: 5px 0;
    transition: all 0.3s;
}
.sidePrimaryNewsTitle {
    display: table-cell;
    vertical-align: middle;
}
.textArrow {
    background: url(/files/image/builtin/textarrow.gif) 0 6px no-repeat;
    padding-left: 1em;
    display: block;
}

/* 最下リスト下の罫線はなし */
.post_list-type_thm_bg-m .post_item:nth-last-child(-n+1) {
    border-bottom: none;
    margin-bottom: 0;
}

.post_icon {
    display:unset !important;
}
.heading_title {
  font-size: 18px;
  font-weight: 700;
  margin-right: 20px;
}
.heading_title a:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f107";
    margin-left: 3px;
    color: #679CDB;
}