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

:root {
	--border-color: #d06590;
	--btn-bg-color: #eb6687;
	--btn-border-color: #eb6687;
	--btn-hover-bg-color: #ef839e;
}

body {
  background: url('../img/header_line_top-o.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: #eb6687;
	}
  .drawer-nav ul li a:hover,
  .drawer-nav ul li a.is-active {
   background-color: #ef839e;
  }
}
/*----------------------------------------------------
 Main Contents
----------------------------------------------------*/

.login_area {
	background: #fce3e8;
}
.login_area.login_area_toroku {
	background: #faecf3;
}

/*-- Login --*/
.btn.btn-confirm {
    background-color: #df64a1;
    border-color: #df64a1;
}
/*-- 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;
}
.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-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: #f0c2d9;
}
.login_area textarea.form-control.bg-cl{
	height: 10rem;
}

/*-- 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;
	font-size: 1.3rem;
	font-weight: 700;
	text-shadow: 2px 2px 1px rgba(0,0,0,0.3);

}

#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: #eb6687;
	border: 1px solid #eb6687;
	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 #e4017e;
	padding:30px 20px;
	border-radius: 15px;
	margin: 30px 0;
}

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