@charset "Shift-JIS";

/*-------------------------------------
// 汎用
-------------------------------------*/

/* 【マージン】 */
.mrT0     {margin-top:    0;} .mrThalf {margin-top:    0.5em;} .mrT1 {margin-top:    1em;} .mrT2 {margin-top:    2em;} .mrT3 {margin-top:    3em;} .mrT4 {margin-top:    4em;} .mrT5 {margin-top:    5em;}
.mrB0     {margin-bottom: 0;} .mrBhalf {margin-bottom: 0.5em;} .mrB1 {margin-bottom: 1em;} .mrB2 {margin-bottom: 2em;} .mrB3 {margin-bottom: 3em;} .mrB4 {margin-bottom: 4em;} .mrB5 {margin-bottom: 5em;}
.mrR0     {margin-right:  0;} .mrRhalf {margin-right:  0.5em;} .mrR1 {margin-right:  1em;} .mrR2 {margin-right:  2em;} .mrR3 {margin-right:  3em;} .mrR4 {margin-right:  4em;} .mrR5 {margin-right:  5em;}
.mrL0     {margin-left:   0;} .mrLhalf {margin-left:   0.5em;} .mrL1 {margin-left:   1em;} .mrL2 {margin-left:   2em;} .mrL3 {margin-left:   3em;} .mrL4 {margin-left:   4em;} .mrL5 {margin-left:   5em;}
.mrLR0    {margin-left:   0; margin-right: 0;} .mrLRhalf {margin-left: 0.5em; margin-right: 0.5em;} .mrLR1 {margin-left: 1em; margin-right: 1em;} .mrLR2 {margin-left: 2em; margin-right: 2em;} .mrLR3 {margin-left: 3em; margin-right: 3em;} .mrLR4 {margin-left: 4em; margin-right: 4em;} .mrLR5 {margin-left: 5em; margin-right: 5em;}
.mrLRauto {margin-left: auto; margin-right: auto;}

/* 【パディング】 */
.pdT0 {padding-top:    0;} .pdThalf {padding-top:    0.5em;} .pdT1 {padding-top:    1em;} .pdT2 {padding-top:    2em;} .pdT3 {padding-top:    3em;} .pdT4 {padding-top:    4em;} .pdT5 {padding-top:    5em;}
.pdB0 {padding-bottom: 0;} .pdBhalf {padding-bottom: 0.5em;} .pdB1 {padding-bottom: 1em;} .pdB2 {padding-bottom: 2em;} .pdB3 {padding-bottom: 3em;} .pdB4 {padding-bottom: 4em;} .pdB5 {padding-bottom: 5em;}
.pdR0 {padding-right:  0;} .pdRhalf {padding-right:  0.5em;} .pdR1 {padding-right:  1em;} .pdR2 {padding-right:  2em;} .pdR3 {padding-right:  3em;} .pdR4 {padding-right:  4em;} .pdR5 {padding-right:  5em;}
.pdL0 {padding-left:   0;} .pdLhalf {padding-left:   0.5em;} .pdL1 {padding-left:   1em;} .pdL2 {padding-left:   2em;} .pdL3 {padding-left:   3em;} .pdL4 {padding-left:   4em;} .pdL5 {padding-left:   5em;}

/* テキスト */
.blackFont{ color: #000;}
.redFont  { color: #F00;}
.blueFont { color: #00F;}
.grayFont{ color: #444;}

.boldFont { font-weight:bold;}

.sizeR  { font-size: 1.0em;}
.sizeN  { font-size: 1.0em;}
.sizeL  { font-size: 1.1em;}
.sizeLL { font-size: 1.2em;}
.size3L { font-size: 1.4em;}
.sizeXL { font-size: 1.6em;}
.sizeS  { font-size: 0.9em;}
.sizeSS { font-size: 0.8em;}
.size3S { font-size: 0.7em;}
.sizeXS { font-size: 0.5em;}

/* 文字寄せ */
.align-center, .alignC {text-align: center !important;}
.align-left,   .alignL {text-align: left   !important;}
.align-right,  .alignR {text-align: right  !important;}

/* 表示設定 */
.disp-none         {display: none;}
.disp-block        {display: block;}
.disp-inline       {display: inline;}
.disp-inline-block {display: inline-block;}

/*-------------------------------------
// 共通
-------------------------------------*/

html {
  font-family:"Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  overflow-y: scroll;
  font-size: 10px;
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding:0;
  text-align: center;
/*background-image: url(./images/body_bg.gif);*/
/*background-color: #cccccc;*/
  background-color: #EDF0EF;
  line-height: 140%;
  font-size: 1.8em;
  
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%
}

div#container {
  clear: both;
  width: 802px;
  margin: 0 auto;
/*background-color: #ffffff;*/
  text-align: left;
  overflow: hidden;
}

div#container-inner {
  border-left: 1px solid #666666;
  border-right: 1px solid #666666;
  border-bottom: 1px solid #666666;
  position: relative;
  background: #FFF;
}

/*-------------------------------------
// ヘッダー
-------------------------------------*/

div#header * {
  margin: 0;
  padding:0;
}

div#header-inner img {
  border: none;
}

div#header-inner p#header-logo {
  width: 117px;
  height: 36px;
}

div#header-inner h1 {
  padding:10px 0;
  font-size: 1.8em;
  font-weight: normal;
  color: #000044;
  border-top: 1px solid #333333;
/*border-bottom: 1px solid #333333;*/
}

div#header-inner h1 img {
	width: 100%;
	height: auto;
}


/*-------------------------------------
// メインエリア
-------------------------------------*/

div#content {
  padding: 10px 25px;
}

div#content p {
/*text-align: center;*/
  margin: 0 0 0.5em;
}


/*-------------------------------------
// フッター
-------------------------------------*/

div#footer * {
  margin: 0;
  padding:0;
}

div#footer {
  clear: both;
  border-top: 1px solid #999999;
  margin-top: 20px;
}

div#footer-inner {
  padding: 10px;
  text-align: center;
}

div#footer-inner p {
  font-size: 0.8em;
}

/*-------------------------------------
// 各コンテンツ
-------------------------------------*/

/* 選挙区 */
ul#senkyoku {
  list-style-type: none;
  width: 680px;
  padding: 0;
  margin: 20px auto;
  overflow: hidden;
}

ul#senkyoku li {
  display: inline;
  float: left;
}

ul#senkyoku li a {
  display: block;
  width: 150px;
  padding: 8px 4px;
  margin: 4px;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #deeaff;
  color: #333333;
  text-decoration: none;
  border: 1px solid #6699ff;
}

ul#senkyoku li a:hover {
  background-color: #6699ff;
  color: #000000;
}

/* 開票ブロック */
.sokuho-block {
	margin: 0 0 40px;
	padding: 20px 0 0
}

/* 開票タイトル */
div.main-title {
	padding: 0px 5px 10px 5px;
}

div.main-title h2 {
	text-align: center;
	border-top: 2px solid #6699ff;
	border-bottom: 2px solid #6699ff;
	padding: 14px 0 10px;
	color: #333333;
	font-size: 1.6em;
	letter-spacing: 0.75em;
	font-weight: bold;
	margin: 0;
}

/* 開票詳細エリア */
div.main-content {
	text-align: center;
	padding: 0px 20px 20px 20px;
}

div.main-content p {
	font-size: 0.8em;
}

div.main-content table {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

div.main-content table td {
	padding: 30px 20px 0px 20px;
}

div.main-content table td.update-time {
	font-size: 1.0em;
	color: #333333;
	text-align: right;
	font-weight: bold;
}

div.main-content table td.percentage {
	font-size: 1.0em;
	color: #333333;
	text-align: center;
	font-weight: bold;
	background-color: #deeaff;
	padding: 10px;
}

div.main-content table td.tokaku {
	font-size: 1.8em;
	font-weight: bold;
	width: 12%;
}

div.main-content table td.profile {
	width: 10%;
}

div.main-content table td.profile img {
	width: 50px;
}

div.main-content table td.shimei {
	font-size: 2.2em;
	color: #333333;
	text-align: left;
	/* letter-spacing: 0.1em; */
	width: 30%;
}

div.main-content table td.shozoku {
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
	text-align: center;
	width: 15%;
}

div.main-content table td.shozoku span {
	padding: 3px 10px;
	border-radius: 10px;
}

.all-sokuho__A01 .all-sokuho__B001 td.shozoku span,
.all-sokuho__C01 .all-sokuho__D001 td.shozoku span {
	background-color: rgb(29,121,204);	// 中道
}

.all-sokuho__A01 .all-sokuho__B002 td.shozoku span,
.all-sokuho__C01 .all-sokuho__D002 td.shozoku span {
	background-color: rgb(237,119,67);	// 参政
}

.all-sokuho__A01 .all-sokuho__B003 td.shozoku span,
.all-sokuho__C01 .all-sokuho__D003 td.shozoku span {
	background-color: rgb(65,162,216);	// 共産
}

.all-sokuho__A01 .all-sokuho__B004 td.shozoku span,
.all-sokuho__C01 .all-sokuho__D004 td.shozoku span {
	background-color: rgb(173,26,26);	// 自民
}

.all-sokuho__A02 .all-sokuho__B001 td.shozoku span,
.all-sokuho__C02 .all-sokuho__D001 td.shozoku span {
	background-color: rgb(65,162,216);	// 共産
}

.all-sokuho__A02 .all-sokuho__B002 td.shozoku span,
.all-sokuho__C02 .all-sokuho__D002 td.shozoku span {
	background-color: rgb(173,26,26);	// 自民
}

div.main-content table td.tokuhyo {
	font-size: 2.2em;
	color: #333333;
	text-align: right;
	letter-spacing: 0.1em;
	width: 27.5%;
}

/*-------------------------------------
// パーツ
-------------------------------------*/

/* 最新更新ボタン */
.update-sokuho {
	text-align: right;
	margin: 0;
}
.all-sokuho .update-sokuho {
	padding-top: 15px;
}

.update-sokuho p {
	padding-right: 30px;
}
.all-sokuho .update-sokuho p {
	padding-right: 10px;
}

.update-sokuho input {
	background-color: #EEEEEE;
	border: outset 2px #EEEEEE;
	color: #000033;
/*	padding: 5px 0 5px 0;	*/
	padding: 7px 18px 6px;
/*	width: 11em;	*/
	font-size: 14px;
	cursor: pointer;
}
.update-sokuho input:hover {
	background-color: #EAEAEA;
	border-color: #EAEAEA;
}


/* ボタン（共通） */
.btn {
	display: inline-block;
	padding: 8px 25px 6px;
	text-decoration: none;
	color: #36C;
	border: solid 1px #69F;
	transition: .4s;
	font-size: 0.95em;
}
.btn:hover {
	background: #69F;
	color: #FFF;
}

/* 前のページへ戻るボタン */
.update-sokuho {
	position: relative;
}
.btn-back {
	position: absolute;
	left: 20px;
	top: 7px;
	padding: 4px 20px 3px;
	border-color: #999;
	color: #444;
}
.btn-back:hover {
	background: #999;
}

/* 市町村別 表示ボタン */
.btn-all-sokuho {
	width: 240px;
	padding: 8px 10px 6px;
}

/*-------------------------------------
// 市町村別開票速報
-------------------------------------*/

.all-sokuho-wrapper {
	margin: 0;
	padding: 0;
}

.all-sokuho-wrapper div.main-title {
	padding-bottom: 0px;
}
.all-sokuho {
	font-size: 0.7em;
	padding: 0 20px 0;
}
.all-sokuho .percentage {
	font-size: 1.2em;
}
.all-sokuho div.main-content table td.tokaku,
.all-sokuho div.main-content table td.shimei,
.all-sokuho div.main-content table td.tokuhyo {
	font-weight: bold;
}
.scs-box {
	border: 1px solid #999;
	margin: 10px 15px 30px;
	padding: 0 0 5px;
}

.scs-title .scs-title__main {
	text-align: center;
	font-size: 1.8em;
	margin: 0 0 0.6em;
	line-height: 2;
	color: #FFF;
	border-bottom: 1px solid #999;
	position: relative;
}

.all-sokuho__A01 .scs-title__main,
.all-sokuho__C01 .scs-title__main {
	background-color: #22778b;	// 山梨1区
}

.all-sokuho__A02 .scs-title__main,
.all-sokuho__C02 .scs-title__main {
	background-color: #092e37;	// 山梨2区
}


.scs-title .scs-title__main .percentage {
	font-weight: normal;
	background-color: none;
	padding: 0 0 0 50px;
	font-size: 0.6em;
	position: absolute;
	right: 15px;
	bottom: 5px;
}
.all-sokuho div.main-content table td {
	padding: 15px 10px 0px 10px;
}



/*-------------------------------------
// バナーエリア
-------------------------------------*/

.banner-wrapper {
	margin: 0 0 30px 0;
	padding: 0;
	text-align: center;
}

.banner-wrapper p {
	margin-bottom: 20px !important;
}

.banner-wrapper img {
	width: 540px;
}



.menu-link{
	display: flex;
	align-items: end;
	margin: 0 40px;
}
.menu-link a{
	text-decoration: none;
	transition: all .3s;
}
.ml-A01,
.ml-C01{
	color: #fff;
	background-color: #22778b;
	border: 1px solid #22778b;
}
.ml-A01:hover,
.ml-C01:hover{
	color: #22778b;
	background-color: #fff;
}

.ml-A02,
.ml-C02{
	color: #fff;
	background-color: #092e37;
	border: 1px solid #092e37;
}
.ml-A02:hover,
.ml-C02:hover{
	color: #092e37;
	background-color: #fff;
}

.ml-A01,
.ml-A02{
	font-size: 1.2em;
	margin-right : 3px;
	padding: 6px 20px;
	border-radius: 20px;
}
.ml-C01,
.ml-C02{
	font-size: 0.8em;
	margin-right : 20px;
	padding: 2px 20px;
	border-radius: 20px;
}
#C01,
#C02{
	color: #fff;
	margin-left: 36px;
	margin-bottom: 0px;
	display: inline-block;
	font-size: 1.0em;
	padding: 2px 20px;
}
#C01{
	background-color: #22778b;
}
#C02{
	background-color: #092e37;
}