@import url('https://fonts.googleapis.com/css?family=M+PLUS+1p:500,700&subset=japanese');

:root {
	--border-color: #23a3f9;
	--btn-bg-color: #23a3f9;
	--btn-border-color: #23a3f9; 
	--btn-hover-bg-color: #4cb4fa;
}

body {
  background: url('../img/header_line_top-f.png') repeat-x top left;
}

/*----------------------------------------------------
 Global Navigation
----------------------------------------------------*/
.header-line {
    background-color: #d06590;
	
}
.drawer-nav {
    background-color: #fbecf4;
}
.drawer-hamburger-icon, .drawer-hamburger-icon:after, .drawer-hamburger-icon:before {
    background-color: #d54d83;
}
.drawer-hamburger:after {
  color: #d54d83;
}
@media (min-width: 769px) {
  .drawer-nav {
      background-color: #d06590;
  }
  .drawer-nav ul {
		background-color: #23a3f9;
	}
  .drawer-nav ul li a:hover,
  .drawer-nav ul li a.is-active {
   background-color: #4cb4fa;
  }
}
/*----------------------------------------------------
 Main Contents
----------------------------------------------------*/

.login_area {
	background: #e7f3f7;
}
.login_area.login_area_toroku {
	background: #ecf3fa;
}

/*-- Login --*/
.btn.btn-confirm {
    background-color: #004fff;
    border-color: #004fff;
}
.btn.btn-confirm:hover {
    background-color: #062e75;
    border-color: #062e75;
	color: #fff;
}
/*-- Top page --*/

.btn-app,
input[type="submit"].btn-app {
    background-color: #df64a1;
    border-color: #df64a1;
}
/*-- Reload --*/
.btn.btn-reload {
    background-color: #ed1e79;
}
.btn.btn-reload:disabled {
	background-color: #999;
}
.btn.btn-reload:hover {
    background-color: #df64a1;
	color: #fff;
}
.btn.btn-reload:disabled:hover {
    background-color: #999;
	cursor:inherit; 
}
.btn.btn-status {
    background-color: #97f2e7;
}
.btn.btn-status:hover {
    background-color: #5bcebd;
}
/*-- STEP --*/

.c-stepper {
	display: -webkit-flex;
	display: flex;
	margin: 0 auto;
	padding-left: 0;
}

.c-stepper__item {
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	flex: 1;
	text-align: center;
}
.c-stepper__item:before {
	content: '';
	background-image: url("../img/icon-step-prev.svg");
	background-size: contain;
	display: block;
	width: 50px;
	height: 50px;
	margin: 0 auto 1rem;
}
.c-stepper__item.recent:before {
	background-image: url("../img/icon-step-f-recent.svg");
	background-size: contain;
}
.c-stepper__item:not(:last-child):after {
	content: "";
	position: relative;
	top: 25px;
	width: calc(100% - 50px);
	left: calc(50% + 25px);
	height: 2px;
	background-color: #e0e0e0;
	order: -1;
	z-index: -1;
}
.c-stepper__title,
.c-stepper__desc {
	color: #ccc;
}
.c-stepper__title {
	font-weight: 600;
	font-size: 1.2rem;
	margin-bottom: 0;
}
.c-stepper__desc {
	font-size: .8rem;
}
.recent .c-stepper__title {
	color: #000;
}
.recent .c-stepper__desc {
	color: grey;
}

.login_area .form-control.bg-cl{
	background-color: #c0d1e6;
}
.login_area textarea.form-control.bg-cl{
	height: 10rem;
}

/*-- PIE --*/
	h1.headlineH1 span.h1Small {
		font-size: 1.8rem;
		margin-top:.6rem;
		display: inline;
	}
	.pie-chart {
		background:
			radial-gradient(
				circle closest-side,
				transparent 80%,
				white 0
			),
			conic-gradient(
				#bfbdbe 0,
				#bfbdbe 50%,
				#f697a7 0,
				#f697a7 90%,
				#64b9ff 0,
				#64b9ff 100%
		);
		position: relative;
		width: 100%;
		min-height: 250px;
		margin: 0 0 20px;
	}
	.pie-chart cite {
		position: absolute;
		bottom: -1em;
		right: 0em;
		font-size: 80%;
		padding: 1rem;
		color: gray;
		font-style: normal;
	}
	.pie-chart figcaption {
		position: absolute;
	}
	.pie-chart figcaption.fig01 {
		top:8em;
		right: 1em;
		font-size: 80%;
	}
	.pie-chart figcaption.fig02 {
		bottom: 1em;
		left: .5em;
		font-size: 1rem;
	}
	.cls-1{ width:50px;height:1px;border-top:1px solid #000;position:absolute;transform: rotate(-45deg);top:-20px;left:50px;}
	.cls-2{ width:50px;height:1px;border-top:1px solid #000;position:absolute;transform: rotate(25deg);top:30px;left:70px;}
	@media screen and (min-width: 1100px) {
			.cls-1{ width:50px;transform: rotate(-45deg);top:-20px;left:80px;}
			.cls-2{ width:50px;transform: rotate(40deg);top:30px;left:110px;}
	}
	.pie-chart figcaption.fig03 {
		top: .5em;
		left: .5em;
		font-size: 1rem;
	}
	.pie-chart span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}
	.item-settlement {border-radius:30px;width:100%;overflow:hidden;padding:0;box-shadow: 3px 3px 3px 1px rgba(0,0,0,0.1);}
	.item-settlement-owners {border: 7px solid #f697a7;}
	.item-settlement-friends {border: 7px solid #64b9ff;}
	.item-settlement-owners h2 {width:100%;font-size:1.7rem!important;background:#f697a7;color:#fff;margin:0!important;padding:10px 20px 17px;;border:none;}
	.item-settlement-friends h2 {width:100%;font-size:1.7rem!important;background:#64b9ff;color:#fff;margin:0!important;padding:10px 20px 17px;;border:none;}

	.item-settlement p.join {text-align: center;font-weight:600;font-size:1.5rem;padding: 1rem 0;letter-spacing:-.1em;margin:0 auto;}
	.item-settlement-owners p.join { color: #f697a7;text-align:center;}
	.item-settlement-friends p.join { color: #64b9ff;text-align:center;}
	/* .item-settlement-owners p.join:after { content: url('../img/arrow-pink.png');margin-left:.3em;}
	.item-settlement-friends p.join:after { content: url('../img/arrow-blue.png');margin-left:.3em;} */

	.item-settlement-benefit {position:relative;height: 6em;padding:1em;}
	.item-settlement-benefit p {font-size:1.2rem;line-height:1.7rem!important;font-weight:400!important;}
	.item-settlement-benefit p.tarif {position:absolute;top: 3em;right:1em;font-size:1rem;line-height:1.2rem!important;font-weight:600!important;}
	.item-settlement-friends .item-settlement-benefit .tarif {top: 2em;font-size:1.7rem;}
	.item-settlement a {width:100%; color: #000;text-decoration:none;}

	.item-settlement a:hover {text-decoration:none;}
	.item-settlement h3 {font-size:2rem;font-weight:700;}
	.item-settlement-owners h3 {border-bottom: 1px solid #ed5094;color:#ed5094;}
	.item-settlement-friends h3 {border-bottom: 1px solid #00a6bb;color:#00a6bb;}
	.item-settlement h3 span {font-size:1rem;font-weight:400;}
	.item-settlement p { padding:0;font-weight: 700;line-height: 1rem;}
	.item-settlement-owners p strong{font-size:1.8rem;font-weight:700;color:#ed5094;padding:0;line-height: 1.8rem;}
	.item-settlement-friends p strong{font-size:1.35rem;font-weight:700;color:#ed5094;padding:0;line-height: 2rem;}
	.item-settlement-friends p em{padding:0;font-weight: 400;font-style:normal;font-size:1.1rem;line-height: 1.2rem;}
@media screen and (max-width: 767px) {
	.item-settlement-arrow {
		transform: rotate(90deg);
	}
}

/*-- ELECTION VOTE --*/
#contents h1, #contents-single h1.voteHeadlineH1 {
	display:-webkit-flex;
	display:flex;
	-webkit-flex: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	position: relative;
	height: 128px;
	margin-right: 60px;
	padding: 30px 0 30px 60px;
	color: #fff;
	background: #e4017e;
	text-align: center;
	font-size: 1.3rem;
	font-weight: 700;
	text-shadow: 2px 2px 1px rgba(0,0,0,0.3);
}
#contents h1, #contents-single h1.voteHeadlineH1 em{
	font-size: 2rem;
	font-style: normal
}

#contents h1, #contents-single h1.voteHeadlineH1:before {
  position: absolute;
  top: 0;
  left: 0px;
  content: '';
  border-width: 64px 0 64px 60px;
  border-style: solid;
  border-color: transparent transparent transparent #f8fafc;
}
#contents h1, #contents-single h1.voteHeadlineH1:after {
  position: absolute;
  top: 0;
  right: -60px;
  content: '';
  border-width: 64px 0 64px 60px;
  border-style: solid;
  border-color: transparent transparent transparent #e4017e;
}
#contents h1, #contents-single h1.voteHeadlineH1 em{
	font-size: 2rem;
	font-style: normal
}
@media (max-width: 320px) {
	#contents h1, #contents-single h1.voteHeadlineH1 {
		-webkit-justify-content: end;
		justify-content: end;
		padding: 30px 0 30px 30px;
		font-size: 1rem;
	}
	#contents h1, #contents-single h1.voteHeadlineH1 em{
		font-size: 1.8rem;
	}
}
@media (min-width: 769px) {
	#contents h1, #contents-single h1.voteHeadlineH1 {
	font-size: 2rem;
	-webkit-justify-content: center;
	justify-content: center;
	text-align: center;
	padding:0 0 0 60px;
	}
	#contents h1, #contents-single h1.voteHeadlineH1 em{
		font-size: 3.5rem;
	}
}

.container.container-vote .card-header {
	background: #23a3f9;
	border: 1px solid #23a3f9;
	color: #fff;
	font-size:1.2rem;
	font-weight: 700;
	text-align: center;
}
.container.container-vote .card-header span {
	font-size:.9rem;
	font-weight: 400;
}
.container.container-vote .progress-bar {
	background-color: #5cade0;
}

.container.container-vote .btn {
	border-radius: 7px;
}
.container.container-vote .btn.btn-primary {
	background-color:#5cade0;
	border-color: #5cade0;
}

#contents-single .modal.modal-vote h1.modal-title {
	position: relative;
	font-size: 1.8rem;
	line-height: 2.4rem;
	margin-bottom: 0px;
	padding-bottom:0;
	font-weight: 700;
}
#contents-single .modal.modal-vote .modal-header {
	padding: 1rem 1rem .5rem;
	border-bottom: none;
}
#contents-single .modal.modal-vote h1.modal-title span {
	font-size: 1rem;
	font-weight: 400;
	margin-left: .5rem;
	color: #999;
}
#contents-single .modal.modal-vote h2 {
	border-top: 3px double #ccc;
	border-bottom: 3px double #ccc;
	padding: 10px 0;
	font-size: 1.5rem;
	line-height: 1.5rem;
}
#contents-single .modal.modal-vote h2:first-child {
	margin-top:0;
}
#contents-single .modal.modal-vote .modal-body img {
	margin-bottom: 1rem;
}
#contents-single .modal.modal-vote .modal-footer {
	justify-content: center;
}
@media (min-width: 769px) {
	#contents-single .modal.modal-vote .modal-footer {
		justify-content: end;
	}
}
}
/* table version */
#contents-single .modal.modal-vote .modal-body table td {
		vertical-align: top;
}
#contents-single .modal.modal-vote .modal-body table img {
	margin: 0 auto 30px;
}
@media (min-width: 768px) {
	#contents-single .modal.modal-vote .modal-body table img {
		max-width: 150px;
		display:block;
		margin: 0 30px 10px 0;
	}
}
@media (min-width: 992px) {
	#contents-single .modal.modal-vote .modal-body table img {
		max-width: 235px;
	}
}
@media (max-width: 767px) {
	#contents-single .modal.modal-vote .modal-body table tr {
		display:-webkit-flex;
		display:flex;
		-webkit-flex: wrap;
		flex-wrap: wrap;
	}
	#contents-single .modal.modal-vote .modal-body table td {
		display:block;
		width: 100%;
	}
	#contents-single .modal.modal-vote .modal-body table td:nth-child(odd) {
		order: 2;
	}
	#contents-single .modal.modal-vote .modal-body table td:nth-child(even) {
		order: 1;
	}
}

.candidateProf {
	border: 3px solid #23a3f9;
	padding:30px 20px;
	border-radius: 15px;
	margin: 30px 0;
}

.candidate-separater {
	width: 100%;
	border-top: 1px solid #23a3f9;
}