﻿body {
	padding: 20px;
	text-align: center;
}
.title {
	margin-bottom: 20px;
	padding: 20px 0;
    font-weight: bold;
    color: #00a63c;
	font-size: 122%;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
input[type=text] {
	padding: 5px 10px;
	font-size: 16px;
	width:100%;
	border: none;
	border-radius: 3px;
	background: #e5f6eb;
}
input[name=btn_confirm],
input[name=btn_submit],
input[name=btn_back] {
	margin-top: 10px;
    padding: 10px 10px;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	border: none;
	border-radius: 3px;
	box-shadow: 0 3px 0 #0d5f20;
	background: #00a63c;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
}
input[name=btn_back] {
	margin-bottom: 20px;
	box-shadow: 0 3px 0 #777;
	background: #999;
}
.element_wrap {
	margin-bottom: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #ccc;
	text-align: left;
}
label {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
	width: 100%;
	vertical-align: top;
}

.element_wrap h3{
position:relative;
    border-left: 3px solid #999;
    font-size: 1em;
    padding: 0px 5px;
}


.element_wrap p {
	display: inline-block;
	margin:  0;
	text-align: left;
}
label[for=answer1],
label[for=answer2],
label[for=answer3],
label[for=gender_male],
label[for=gender_female]{
	margin-right: 0px;
	width: auto;
	font-weight: normal;
	width:100%;
    background-color: #e5f6eb;
    text-align: center;
    border-radius: 5px;
    padding: 10px 10px 10px 30px;
    position:relative;
    transition: all 0.2s linear;
}

#answer1,
#answer2,
#answer3,
#gender_male,
#gender_female,
#agreement{
display:none;
}


.element_wrap input:checked + label{
    background-color: #00B66E;
    color: white;
}


.choice{
text-align:center;
}
.choice h3{
text-align:left;
}
.choice ul{
display:flex;
list-style:none;
margin:0;
padding:0;
}
.choice li{
width:calc(100%/3);
}
.choice li:nth-child(1){
margin-right:5px;
}
.choice li:nth-child(2){
margin-left:5px;
}
.choice li:nth-child(3){
margin-left:5px;
}

@media only screen and (max-width: 568px) {
.choice ul{
display:block;
}
.choice li{
width:calc(100%);
display:block;
}
.choice li:nth-child(1){
margin-right:0;
}
.choice li:nth-child(2){
margin-left:0;
}
.choice li:nth-child(3){
margin-left:0;
}
}

select{
    width: 100%;
    background-color: #e5f6eb;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    background: #e5f6eb;
    font-size: 1.1em;
}


label[for=agreement] {
	width: auto;
	font-weight: normal;
    background-color: #e5f6eb;
    text-align: center;
    border-radius: 5px;
    padding: 10px 10px 10px 40px;
    position:relative;
    transition: all 0.2s linear;
}





label[for=gender_male]:hover,
label[for=gender_female]:hover,
label[for=agreement]:hover {
    background-color: #00B66E;
    color: white;
}




.choice label::before {
    font-family: "Font Awesome 5 free";
    content: "\f0c8";    
    font-weight:bold;
    position: absolute;
    left: 10px;
    display: block;
    color:#fff;
    z-index:5;
    font-size: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}
.choice label::after {
    font-family: "Font Awesome 5 free";
    content: "\f00c";    
    font-weight:bold;
    position: absolute;
    left: 12px;
    display: block;
    color:#e5f6eb;
    z-index:10;
    top: 50%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}


/*
.choice input[type="checkbox"]:checked + label {
    color: #ed6103;
}
*/

.choice input[type="radio"]:checked + label::after ,
.choice input[type="checkbox"]:checked + label::after {
    color: #ed6103;
}


textarea[name=enquete01],
textarea[name=enquete02],
textarea[name=enquete03],
textarea[name=enquete04] {
	padding: 5px 10px;
	width: 100%;
	height: 100px;
	font-size: 16px;
	border: none;
	border-radius: 3px;
	background: #e5f6eb;
}
.error_list {
	padding: 10px 30px;
	color: #ff2e5a;
	font-size: 86%;
	text-align: left;
	border: 1px solid #ff2e5a;
	border-radius: 5px;
}


/**/
.formError.inline {
    display: block!important;
}
.formError .formErrorContent {
    background: #ff735b!important;
    font-size: 14px!important;
}

.privacyLink{
    
}
.privacyLink a{
	margin-top: 10px;
    padding: 10px 30px;
	font-size: 16px;
	color: #000;
	cursor: pointer;
	border: none;
	border-radius: 3px;
	background: #ccc;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 290;
    position:relative;
    transition: all 0.2s linear;
}
.privacyLink a:hover{
	background: #eee;
	text-decoration:none;
	color: #000;

}
.privacyLink a:after{
    font-family: "Font Awesome 5 free";
    content: "\f105";
    font-weight : 900;
    position: absolute;
    top:50%;
    right: 15px;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}




.need {
    background-color: #d83959;
    color: #fff;
    font-size: 12px;
    display: inline-block;
    padding: 2px 5px 3px 5px;
    margin: 0 0 0 10px;
    border-radius: 3px;
}