@charset "UTF-8";
/* CSS Document */

/* ==================================================
以下、全下層ページ共通
================================================== */

body.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
}


h1{
	width: 100%;
	padding: 24px 0px;
	box-sizing: border-box;
	min-height: 250px;
	margin: 15px 0 0;
	/* background-color: var(--skyblue); */
	background-image: var(--blue-gradation);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right;
	display: flex;
	align-items: center;
	position: relative;
}
h1 span{
	display: flex;
	justify-content: center;
	flex-direction:column;
	padding: 0 20px;
	min-height: 200px;
	width: 100%;
	color: #FFF;
	font-weight: 600;
	font-size: 4.5rem;
	letter-spacing: 0.4rem;
	line-height: 1.5;
	position: relative;
	z-index: 2;
/*	background-color: #FFFEF6;*/
}
@media screen and (max-width: 959px) {
}
@media screen and (max-width: 519px) {
}


.breadcrumbs{
	font-size: 1.2rem;
	margin: 20px 0 10px;
}

h2{
	color: var(--green);
	font-size: 2.3rem;
	margin-top: 50px;
	margin-bottom: 10px;
}
h2::after{
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background-color: var(--green);
}

h3{
	color: var(--green);
	font-size: 2rem;
	margin-top: 50px;
	margin-bottom: 5px;
	display: inline-block;
}
h3::after{
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background-color: var(--green);
}

main.container {
	width: calc(100% - 30px);
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}
main.container p{margin-top: 30px;	word-wrap: break-word;}


.indent-front{display: block; text-indent: 1em; padding-left: 0em;}
.indent-back{display: block; text-indent: -1em; padding-left: 1em;}

main a[target="_blank"][href^="http"]::after{
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	background: url("../img/icon_link.png");
	background-size: 15px;
	margin: 0 5px 0 8px;
	transform: translateY(8%);
}
/* ファイルへのリンク　アイコン設定 */
main a[href*=".pdf"]::before{	background: url("../img/icon_pdf.svg");}
main a[href*=".xlsx"]::before{	background: url("../img/icon_xlsx.svg");}
main a[href*=".docx"]::before{	background: url("../img/icon_docx.png");}
main a[href*=".pdf"]::before,
main a[href*=".xlsx"]::before,
main a[href*=".docx"]::before{
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	background-size: 22px;
	margin: 10px 5px 0 5px;
	transform: translateY(25%);
}

main ul{margin-top: 25px;}
main ul li{
	list-style: none;
	text-indent: -0.8em;
	padding-left: 1.8em;
}
/* main ul li::before{
	content: "●";
	display: inline-block;
	font-size: 1rem;
	margin-right: 10px;
	color: var(--cyaan);
	opacity: 0.5;
} */



table{
	width: 100%;
	margin-top: 30px;
	overflow: scroll;
	word-break: break-all;
	text-align: justify;
	text-justify: inter-character;
}
table,th, td{	border: solid 1px var(--green);}
th,td{
	padding: 6px 10px 4px;
	text-align: left;
	vertical-align: middle;
}
th{
	font-size: 1.9rem;
	background-color: var(--green);
	color: white;
	font-weight: 500;
}
table caption{height: 0; font-size: 0rem; overflow: hidden;}
table th[scope="col"]:nth-last-child(n+2),
table th[scope="rowgroup"]{border-right: solid 1px white;}
table tr:nth-last-child(n+2) th[scope="row"],
table th[scope="colgroup"]{border-bottom: solid 1px white;}



ol{
	display: block;
	width: 100%;
	margin-top: 10px;
	counter-reset: item;
}
ol.brackets{counter-reset: cnt;}
ol li{
	list-style-position: inside;
	counter-increment: cnt;
	text-indent: -1.1em;
	padding-left: 1.1em;
	margin-top: 5px;
}
ol.subheading>li{margin-top: 30px}
ol.brackets li{
	counter-reset: item;
	list-style-type: none;
	list-style-position: inside;
	counter-increment: cnt;
	text-indent: -2.5em;
	padding-left: 2.5em;
}
ol.brackets li:before{
	display: marker;
	content: "（" counter(cnt) "）";
}
/*main.container ol li p:nth-child(1){color: red;}*/

main.container dl{	margin-top: 30px;}
main.container dt{	margin-top: 30px;}
main.container dd {	padding-left: 1em;}

.margin-l{display: block; margin-left: 15px;}



/*第2階層メニューページ共通ボタン*/
ul.index_button_wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 1.9rem;
	gap: 15px;
}
ul.index_button_wrap li{
	width: calc((100% / 2) - 15px);
	max-width: 490px;
	background-image: var(--gradation);
	text-align: left;
	border-radius: 15px;
	box-sizing: border-box;
	position: relative;
	z-index: 0;
	overflow: hidden;
	padding: 5px;
	text-indent: 0;
}
ul.index_button_wrap li::after {
	content: "";
    position: absolute;
    display: inline-block;
    color: #000;
    vertical-align: middle;
	right: 25px;
	transition: 0.3s;
	background-image: url(../img/arrow.png);
	background-size: 35px;
    background-repeat: no-repeat;
	width: 35px;
	height: 35px;
    top: 50%;
	transform: translateY(-50%);
}
ul.index_button_wrap li:hover::after {right: 20px;}
ul.index_button_wrap li.gray_out:hover::after {right: 25px;}

ul.index_button_wrap li p,
ul.index_button_wrap li a{
	margin: 0;
	padding: 30px 60px 30px 40px;
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	color: black;
	text-decoration: none;
	display: flex;
	align-items: center;
	z-index: 10;
	border-radius: 10px;
}
ul.index_button_wrap li p {background-color:lightgray;}
ul.index_button_wrap li a {background-color:#ffffff;}

main ul.index_button_wrap a[href$=".pdf"]::before{	background: none;}

main ul.index_button_wrap li a:focus{border: solid 2px #4d91c7}

ul.index_button_wrap li.gray_out {
	background-image: none;
	background-color: lightgray;
}

main ul.index_button_wrap a::before {display: none;}

@media screen and (max-width: 519px) {
	ul.index_button_wrap li{
		width: 100%;
	}	
}

/* ==================================================
以上、全下層ページ共通

以下、お知らせ
================================================== */

main.container.news_index ul li{
	border-bottom: 1px solid #b1b1b1;
	text-indent: 0;
	padding: 0;
}
main.container.news_index ul li::before{content: none;}
main.container.news_index ul li div{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
}
/* 日付 */
main.container.news_index p.year{
	font-size: 1.5rem;
	display: block;
	margin-right: 10px;
	word-wrap: break-word;
}
/* 日付 */
main.container.news_index .date{
	font-size: 2.2rem;
	display: block;
	margin-right: 15px;
	word-wrap: break-word;
}
/* カテゴリー */
main.container.news_index .category{
	font-size: 1.3rem;
	display: block;
	padding: 1px 20px 3px;
	background-color: var(--red);
	color: white;
	text-align: center;
	border-radius: 15px;
	transform: translateY(-15%);
}
/* お知らせ内容 */
main.container.news_index .text{
	width: 100%;
	display: block;
	margin: 5px 0;
}

/* ==================================================
以上、お知らせ

以下、開票と当選人の決定
================================================== */

.count_decision table tr:nth-child(1) th:nth-child(1){border-right: solid 1px white;} 
.count_decision table td.red{background-color: yellow;} 

/* ==================================================
以上、開票と当選人の決定

以下、不在者投票
================================================== */

.voting_absence table + table{	margin-top: 0;}
.voting_absence table tr:nth-child(1) th:nth-child(1){width: 23%;}
.voting_absence table tr:nth-child(1) th:nth-child(2){width: 40%;}
.voting_absence table + table tr:nth-child(1) th:nth-child(1){border-top: solid 1px white;}

/* ==================================================
以上、不在者投票


以下、特例郵便等投票
================================================== */

.pamphlet_wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 20px 0;
}
.pamphlet_wrap>a{
	margin: 0 25px 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.pamphlet_wrap>a[href$=".pdf"]::before{content: none;}
.pamphlet_wrap img{
	height: 300px;
	border: solid 1px gray;
}

/* ファイルへのリンク　アイコン設定 */
.pamphlet_wrap>a[href$=".pdf"] span::before{
	background: url("../img/icon_pdf.png");
	content: "";
	display: inline-block;
	width: 18.72px;
	height: 22.96px;
	background-size: cover;
	margin: 5px 5px 0 5px;
	transform: translateY(25%);
}

.print-address{
	margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between
}
.print-address a{
	width: calc( (100% - 70px) / 8 ); 
	border: solid 1px #0b61a8;
	margin-bottom: 10px;
	box-sizing: border-box;
	padding: 5px;
	text-align: center;
}
.print-address a[href$=".pdf"]::before{content: none;}
.print-address a:hover{	color: white;	background: #0b61a8;}
.print-address a[href*="javascript:void(0)"]{	pointer-events: none; background-color: #AAA; color:white;	border: solid 1px #AAA;}
.print-address::after,.print-address::before{
	display: block;
	content: '';
	width: calc( (100% - 70px) / 8 ); 
}
.print-address::before{order: 2;}

@media screen and (max-width: 959px) {
	.print-address a{	width: calc( (100% - 70px) / 4 ); }
	.print-address::after,.print-address::before{	width: calc( (100% - 70px) / 4 ); }
}
@media screen and (max-width: 519px) {
	
}

/* ==================================================
以上、特例郵便等投票

以下、Q&A
================================================== */

main.container.qa_index dl p{margin-top: 0; background-color: yellow}
main.container.qa_index dt:first-child{	border-top: dotted 1.5px #b1b1b1;}
main.container.qa_index dt{
	width: 100%;
	box-sizing: border-box;
	font-size: 1.6rem;
	font-weight: 500;
	position: relative;
	cursor: pointer;
	border: solid 2px transparent;
	border-bottom: dotted 1.5px #b1b1b1;
	padding: 17px 25px 10px 65px;
	display: flex;
	margin: 0;
}
main.container.qa_index dd{
	width: 100%;
	box-sizing: border-box;
	font-size: 1.5rem;
	padding: 16px 20px 9px 90px;
	background: #e7f1f7;
	display: flex;
	border-bottom: dotted 1.5px #b1b1b1;
}
main.container.qa_index .up_down{
	width: 0.8em;
	height: 0.8em;
	position: absolute;
	right: 0;
	margin-right: 5px;
	top: 40%;
	background: url("../img/question_arrow.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: rotate(180deg);
	transition: 0.5s;
}
main.container.qa_index span.num{
	margin-left: -50px;
	color: #4d91c7;
	font-weight: 500;
	font-size: 2.3rem;
	margin-right: 20px;
	margin-top: -7px;
}
main.container.qa_index dt:focus{
	border: solid 2px #88b5f7;
}
@media screen and (max-width: 519px) {
	main.container.qa_index dt{	padding: 17px 25px 10px 55px;}
	main.container.qa_index dd{	padding: 16px 20px 9px 70px;}
}

/* ==================================================
以上、Q&A

以下、データ集(共通)
================================================== */

main[class^="container data_"] img{width: 100%; margin-top: 15px;}

/* ==================================================
以上、データ集(共通)

以下、区割りについて
================================================== */

.count_bulletin th:nth-child(n+2) {
    width: 23%;
}

/* ==================================================
以上、データ集(共通)


以下、区割りについて
================================================== */

div.select-wrap{
	display: flex;
	flex-direction: row;
}
form.municipality{
	width: 100%;
	max-width: 400px;
}
form.municipality>select{
  border: solid 2px #b1b1b1;
  border-radius: 5px;
  font: inherit;
  outline: none;
	height: 50px;
	width: 100%;
	background-color: white;
	margin: 0;
	padding: 0;
}
form.municipality>select:focus{	border: solid 2px #4d91c7;}
button.municipality_button{
  	background: transparent;
  	border-radius: 0;
  	font: inherit;
	height: calc(50px - 4px);
	padding: 0 15px;
	margin: 0 0 20px 10px;
	border: solid 2px #4d91c7;
	cursor: pointer;
	vertical-align: middle;
	color: #4d91c7;
	font-weight: 500;
}
button.municipality_button:hover,
button.municipality_button:focus{	background-color: #4d91c7; color: white;}
button.municipality_button:hover p,
button.municipality_button:focus p{color: white;}

.election_election02 table{width: 100%;}
.election_election02 table th:first-child{width: 10%; border-right: solid 1px white;}
.election_election02 table span[class^="map-modal"]{color: #0b61a8; margin-left: 10px; font-size: 1.3rem; cursor: pointer}
.election_election02 table span[class^="map-modal"]:focus{border: solid 2px #88b5f7;}

div[class^="map-modal"]{
	height: 100vh;
	width: 100vw;
	position: fixed;
	z-index: 10;
	top:0;
	display: none;
	overflow: scroll;
}
div[class^="map-modal"] .overlay{
	background-color: rgba(0,0,0,0.7);
	height: 100vh;
	width: 100vw;
	position: fixed;
}
div[class^="map-modal"] .container{
	width: calc( 100% - 100px );
	max-width: 700px;
	margin: 50px auto 0;
	position: relative;	
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
div[class^="map-modal"] img.map-image{
	width: 100%;
	position: relative;
	flex-shrink: 0;
}
div[class^="map-modal"] img.close-button{
	width: 30px;
	position: relative;
	margin-bottom: 15px;
	cursor: pointer;
}
div[class^="map-modal"] img.close-button:focus{border: solid 2px #88b5f7;}

.election_election02 #goTop{
	position: absolute;
	right: 15px;
	background-color: #4d91c7;
	padding: 10px;
	font-weight: 500;
	color: white;
	border-radius: 5px;
	font-size: 1.2rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.election_election02 #goTop a{
	color: white;
	font-size: 1.2rem;
	text-align: center;
}
.election_election02 #goTop img{
	position: relative;
	width:20px;
}

/* ==================================================
以上、区割りについて

以下、期日前投票所一覧
================================================== */

.election_election02 form.municipality,
.voting_earlyvoting form.municipality {
	width: 100%;
	max-width: 400px;
}
.election_election02 form.municipality>select,
.voting_earlyvoting form.municipality>select {
	border: solid 2px #b1b1b1;
	border-radius: 5px;
	font: inherit;
	outline: none;
	height: 50px;
	width: 100%;
	background-color: white;
	margin: 0;
	padding: 0;
	cursor: pointer;
}
.voting_earlyvoting form.municipality>select:focus {	border: solid 2px #4d91c7;}

.election_election02 .select-wrap,
.voting_earlyvoting .select-wrap {
	display: flex;
	margin-top: 15px;
}

.election_election02 button.municipality_button,
.voting_earlyvoting button.municipality_button {
  	background: transparent;
  	border-radius: 0;
  	font: inherit;
	height: calc(50px - 4px);
	padding: 0 15px;
	margin: 0 0 20px 10px;
	border: solid 2px #4d91c7;
	cursor: pointer;
	vertical-align: middle;
	color: #4d91c7;
	font-weight: 500;
	line-height: 1.2;
}
.election_election02 button.municipality_button:hover,
.election_election02 button.municipality_button:focus,
.voting_earlyvoting button.municipality_button:hover,
.voting_earlyvoting button.municipality_button:focus {
	background-color: #4d91c7; color: white;
}
.election_election02 button.municipality_button:hover p,
.election_election02 button.municipality_button:focus p,
.voting_earlyvoting button.municipality_button:hover p,
.voting_earlyvoting button.municipality_button:focus p {
	color: white;
}

.constituency_index #goTop,
.election_election02 #goTop,
.voting_earlyvoting #goTop {
	position: absolute;
	right: 15px;
	background-color: var(--navy);
	padding: 10px;
	font-weight: 500;
	color: white;
	border-radius: 5px;
	font-size: 1.2rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.constituency_index #goTop a,
.election_election02 #goTop a,
.voting_earlyvoting #goTop a {
	color: white;
	font-size: 1.2rem;
	text-align: center;
	margin-top: 0;
}
.constituency_index #goTop img,
.election_election02 #goTop img,
.voting_earlyvoting #goTop img {
	position: relative;
	width:20px;
}
.constituency_index #goTop p,
.election_election02 #goTop p,
.voting_earlyvoting #goTop p {
	margin-top: 0;
}
.election_election02 img.graph,
.voting_earlyvoting img.graph {
	width: 100%;
	max-width: 600px;
	margin: 0 auto 30px;
	display: block;
}
.election_election02 .graph-container,
.voting_earlyvoting .graph-container {
	display: none;
}
.election_election02 button.graph-button,
.voting_earlyvoting button.graph-button {
  	background: transparent;
  	border: none;
  	border-radius: 0;
  	font: inherit;
 	 outline: none;
	width: 100%;
	text-align: left;
	margin-bottom: 20px;
	cursor: pointer;
}
.election_election02  button.graph-button:focus,
.voting_earlyvoting button.graph-button:focus {
	border: solid 2px #4d91c7;
}

.voting_earlyvoting table th:nth-child(1) {width: 15%;}
.voting_earlyvoting table th:nth-child(2) {width: 29%;}
.voting_earlyvoting table th:nth-child(3) {width: 29%;}
.voting_earlyvoting table th:nth-child(4) {width: 13%;}
.voting_earlyvoting table th:nth-child(5) {width: 13%;}

.count_list table th:nth-child(1) {width: 17%}
.count_list table th:nth-child(2) {width: 35%}
.count_list table th:nth-child(3) {width: 35%}
.count_list table td:nth-child(4) {width: 13%; text-align: center;}

@media screen and (max-width: 700px) {
	.count_list table,
	.voting_earlyvoting table {
		display: block;
		white-space: nowrap;
		overflow-x: scroll;	
	}
	.count_list table tbody,
	.voting_earlyvoting table tbody {
		display: table;
	}
}

@media screen and (max-width: 519px) {
	.election_election02 div.select-wrap,
	.voting_earlyvoting div.select-wrap {
		flex-direction:column;
		align-items: center;
	}
	.election_election02 .municipality_button,
	.voting_earlyvoting .municipality_button {
		display: block;
		margin: 10px 0 20px;
		text-align: center;
		transform: translateY(30%);
	}
}

/* ==================================================
以上、期日前投票所一覧

以下、期日前投票
================================================== */

main.voting_before th{width: 15%;}

/* ==================================================
以上、期日前投票

以下、サイトマップ
================================================== */

main.sitemap_index > ul > li{margin-top: 25px;}
main.sitemap_index  li > ul{margin-top: 0;}
main.sitemap_index ul li::before{
	content: "▲";
	display: inline-block;
	font-size: 1rem;
	margin-right: 10px;
	color: var(--navy);
	opacity: 0.5;
	transform: translateY(40%) rotate(90deg);
}
main.sitemap_index li a[href="javascript:void(0)"]{color: black; pointer-events: none;}

.gray_out {
	color: gray;
}
.gray_out:hover{text-decoration: none;	cursor :auto;}

/* ==================================================
以上、サイトマップ

以下、候補者情報
================================================== */

main.hirei_index ol,
main.senkyoku_index ol{list-style: none; padding-left: 1.3rem;}

main.senkyoku_index a[href*="javascript:void(0)"],
main.hirei_index a[href*="javascript:void(0)"]{	pointer-events: none; color: black}

main.hirei_index tr.bold{border-top: solid 2.5px ;;}

main.senkyoku_index tr:nth-child(1) th:nth-child(n+4){border-bottom: solid 1px white;}

main.senkyoku_index tr:first-child th:nth-child(1),
main.senkyoku_index tr:first-child th:nth-child(2){width: 15%;}
main.senkyoku_index tr:first-child th:nth-child(3){width: 20%;}
main.senkyoku_index tr:first-child th:nth-child(4){width: 37%;}

main.senkyoku_index audio{width: 100%; cursor: pointer;	display: block;}
main.senkyoku_index .audio-button{display: none;}

main.senkyoku_index table a[href*=".pdf"]::before,
main.hirei_index table a[href*=".pdf"]::before{
	width: 30px;
	height: 36.88px;
	margin-top: -12px;
}
/*main.constituency_candidate table a[href*="_sound.pdf"]::after,*/
main.judge_outline table a[href*="_sound.pdf"]::after,
main.senkyoku_index table a[href*="_sound.pdf"]::after,
main.hirei_index table a[href*="_sound.pdf"]::after{
	content: "読み上げ対応";
	font-size: 1.2rem;
	display: block;
	margin-top: 5px;
}

main.judge_outline audio{width: 100%; cursor: pointer;display: block;}
main.judge_outline .audio-button{display: none;}

@media screen and (max-width: 519px) {
	main.judge_outline table {
		display: block;
		white-space: nowrap;
		overflow-x: scroll;
		vertical-align: middle; /* 上下中央に寄せる */ 
	}
	main.judge_outline table a[href*=".pdf"] img{width: 23px;}
	main.judge_outline audio{display: none;}
	main.judge_outline .audio-button{
		display: block;
		padding: 0;
		border: none;
		background: transparent;
		width: 30px;
		height: 30px;
		background-image: url("../img/audio_start.png");
		background-size: cover;
		background-repeat: no-repeat;
	}
	main.judge_outline .audio-button.playing{
		background-image: url("../img/audio_stop.png");
	}
}


@media screen and (max-width: 519px) {
	main.hirei_index table a[href*=".pdf"] img{	width: 30px;}
	main.senkyoku_index audio{display: none;}
	main.senkyoku_index .audio-button{
		display: block;
		padding: 0;
		border: none;
		background: transparent;
		width: 30px;
		height: 30px;
		background-image: url("../img/audio_start.png");
		background-size: cover;
		background-repeat: no-repeat;
	}
	main.senkyoku_index .audio-button.playing{
		background-image: url("../img/audio_stop.png");
	}
}

/* ==================================================
以上、候補者情報

以下、PR動画
================================================== */

/*
main.video-index video{width: 100%;}
main.video-index h4{margin-top: 30px;}
main.video-index ul.index_button_wrap{	flex-direction: row; margin-top: 10px;}
main.video-index ul.index_button_wrap li{width: calc( 50% - 5px );}
main.video-index ul.index_button_wrap li a{	padding: 20px 40px;}
main.video-index ul.index_button_wrap li a[target="_blank"][href^="http"]::after{
	display: block;
	height: 25px;
	width: 25px;
	background-image: var(--blue-gradation);
	position: absolute;
	right: 12px;
	top:50%;
	transform: translateY(-50%);
	border-radius: 100%;
	transition: 0.2s;
}
main.video-index ul.index_button_wrap li a[target="_blank"][href^="http"]:hover::after{	right: 8px;}
main.video-index ul.index_button_wrap li a[target="_blank"][href^="http"]::before{    right: 27px;}
main.video-index ul.index_button_wrap li a[target="_blank"][href^="http"]:hover::before{	right: 23px;}
*/

video{
	width: 100%;
	margin-top: 
		40px;
}


/* ==================================================
以上、PR動画

以下、検索結果
================================================== */

.result_index li {
	list-style: none;
	font-size: 1.4rem;
	padding: 20px 0;
	width: 100%;
	text-indent: 0;
	border-bottom: solid 1.5px gray;
	color: dimgray;
	display: block;
}
.result_index li::before{	content: none;}
.result_index li p{
	margin-top: 10px;
	width: 100%;
	max-height: 100px;
	overflow: hidden;
}
.result_index li a{font-size: 1.7rem;}

/* ==================================================
以上、検索結果

以下、文字サイズ・色合い変更
================================================== */


.custom_button_wrap{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
.custom_button{
	width: calc( 25% - 15px );
	height: auto;
	margin: 0 10px 15px 0;
	padding: 5px 0 0 5px;
	border: solid 2px grey;
	box-sizing: border-box;
	cursor: pointer;
}
.custom_button img{	width: 100%;}
@media screen and (max-width: 959px) {
	.custom_button{	width: calc( 33.5% - 15px);}
}
@media screen and (max-width: 519px) {
	.custom_button{	width: calc( 50% - 15px);}
}

/* ==================================================
以上、文字サイズ・色合い変更

以下、小選挙区
================================================== */

/* 画像 */
.constituency_index img {
	width: 100%;
	height: auto;
}

/* 表 */
.constituency_index table td:nth-child(1) {width: 8%;}
.constituency_index table td:nth-child(2) {width: 50%;}
.constituency_index table td:nth-child(3) {width: 25%;}
.constituency_index table td:nth-child(4) {width: 13%;}
.constituency_index table td:nth-child(1) p {margin: 0;}

.constituency_candidate table td:nth-child(1) {width: 5%;}
.constituency_candidate table td:nth-child(2) {width: 20%;}
.constituency_candidate table td:nth-child(3) {width: 18%;}
.constituency_candidate table td:nth-child(4) {width: 39%;}
.constituency_candidate table td:nth-child(5) {width: 18%;}

/*main.constituency_candidate a[href*=".pdf"]::before {
	width: 40px;
	height: 40px;
	background-size: 40px;
	margin-bottom: 10px;
}*/

main.constituency_candidate table tr:nth-child(1) th:nth-child(n+4) {border: solid 1px white;}
main.constituency_candidate .audio-button{display: none;}
main.constituency_candidate audio {width: 100%;}

@media screen and (max-width: 700px) {
	.constituency_candidate table,
	.constituency_index table {
		display: block;
		white-space: nowrap;
		overflow-x: scroll;
	}
	.constituency_candidate table tbody,
	.constituency_index table {
/*			display: table;	*/
	}
}

main.proportional_index audio{width: 100%; cursor: pointer;display: block;}
main.proportional_index .audio-button{display: none;}

/*
main.proportional_index audio{display: none;}
main.proportional_index .audio-button{
	display: block;
	padding: 0;
	border: none;
	background: transparent;
	width: 30px;
	height: 30px;
	background-image: url("../img/audio_start.png");
	background-size: cover;
	background-repeat: no-repeat;
}
main.proportional_index .audio-button.playing{
	background-image: url("../img/audio_stop.png");
}
*/

@media screen and (max-width: 519px) {
	main.proportional_index table,
	main.constituency_index table {
		display: block;
		white-space: nowrap;
		overflow-x: scroll;
		vertical-align: middle; /* 上下中央に寄せる */ 
	}
	main.proportional_index table a[href*=".pdf"] img{width: 23px;}
	main.proportional_index audio{display: none;}
	main.proportional_index .audio-button{
		display: block;
		padding: 0;
		border: none;
		background: transparent;
		width: 30px;
		height: 30px;
		background-image: url("../img/audio_start.png");
		background-size: cover;
		background-repeat: no-repeat;
	}
	main.proportional_index .audio-button.playing{
		background-image: url("../img/audio_stop.png");
	}
}