
section{
padding:50px 0;

}
.wrap{
width:1300px;
margin: 0 auto;
}



	/*iPhoneセレクト拡大防止*/
    input[type=text],input[type=password],input[type=email],textarea{
	font-size:16px;
    padding: 0.25em 0.5em;
    border: 1px solid #666;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
    }
    
	select,option{
	font-size:16px;
    border: 1px solid #666;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
    }    
    select{
    padding: 0.125em 0.25em;
    min-width:5em;
    }
    select.mid{
    min-width:5em;
    }
    
    input[type=password],    
    input[type=text]{
    min-width:410px;
	}
    textarea,
    input[type=email]{
    min-width:100%;
	}
    textarea{
    height: auto;
    min-height:1em;
    line-height: 1.5;
    max-width: 100%;    
    }
    input[type=file]{
    border: none;
    }
    input[type=text].short{
    min-width:inherit;
    margin-right: 0.25em;
    width:7em!important;
	}
    input[type=text].mid{
    min-width:inherit;
    margin-right: 0.25em;
    width:11em!important;
	}
    input[type=text].long{
    margin-right: 0.25em;
    width:100%!important;
    min-width:800px!important;
    -webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
	}    
    
textarea::placeholder ,    
input::placeholder {
  color:#ccc;
}
textarea:-ms-input-placeholder, 
input:-ms-input-placeholder {
  color:#ccc;
}
textarea::-ms-input-placeholder, 
input::-ms-input-placeholder {
  color:#ccc;
}


dl.formbox{
padding:1em 0 4em 0;
margin:0 auto;
clear: both;
}

dl.formbox dt{
font-size: 18px;
font-weight: bold;
text-align: center;
margin:3em 0 1.5em 0 ;
text-align: center;
}
dl.formbox dd.first{
font-size: 22px;
font-weight: bold;
display: flex;
  justify-content: center;
  align-items: center;
}
dl.formbox dd.first input[type="radio"]{
visibility: hidden;
position: absolute;
}
dl.formbox dd.first label{
max-width: 234px;
width:48%;
height: 74px;
display: flex;
  justify-content: center;
  align-items: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border:2px solid #53A8FD;
background-color: #ffff;
color: #1884C4;
border-radius: 10px;
font-weight: normal;
margin: 0 1em;
cursor: pointer;
}
dl.formbox dd.first input[type="radio"]:checked+label,
dl.formbox dd.first label:hover{
color: #fff;
background-color: #53A8FD;
}
dl.formbox dd.block{
display: block;
text-align: center;
line-height: 1.5;
}
dl.formbox dd.block h3{
font-size: 34px;
color: #1884C4;
}
dl.formbox dd p.bold{
margin-bottom: 2em;
}
dl.formbox dd p{
font-size: 18px;
}

dl.formbox dd.first input[type="text"]{
border-radius: 10px;
border:2px solid #53A8FD;
border-radius: 10px;
margin-right: 0.5em;
min-width: inherit;
max-width: 272px;
}

p.policy{
margin:2em 0;
font-size: 14px!important;
font-weight: normal;
}
p.policy a{
text-decoration: underline;
}

/* iOSでのデフォルトスタイルをリセット */
button,
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
p.submitbtn{
clear: both;
margin:0 0 3em 0;
text-align: center;
}
button.green{
border: 1px solid #89c23a;
background-color: #89c23a;
max-width:437px;
width: 100%;
height: 48px;
line-height:1;
color: #fff;
padding:0;
font-size:24px;
font-weight: bold;
display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
button.green:hover{
background-color:#fff;
color: #89c23a;
}

a.btn{
color: #1884C4;
}
p.thanks-read{
padding: 5em 2em;
line-height: 2.5;
font-size: 16px;
text-align: center;
}

@media screen and (max-width:1200px) {
}
@media screen and (max-width:1000px) {
.wrap {
    width:90%;
    margin: 0 auto;
}


    input[type="file"],
    button,
    textarea,
    input[type=text]{
    width: 100%;
    min-width: inherit;
    -webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
    }
    
    #customer_birth select,
    #history select{
    width:20%;
    min-width: inherit;
    -webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
    }
    #customer_birth select[id^="year"],
    #history select[id^="year"]{
    width:30%;    
    }


table tr td[colspan="2"].txtL {
    text-align: left;
    padding:2em 0;
}
table tr td[colspan="2"].txtL p {
    margin-bottom:1em;
    line-height: 1.5;
}
.formError {
	position: absolute;
	display: block;
	cursor: pointer;
	text-align: left;
	margin-left:0;
    left:40%!important;
}
p.thanks-read {
    padding: 5em 0;
    line-height: 2.5;
    font-size: 16px;
    text-align: center;
}


label{
display: block;
float: left;
min-width:40%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 0em;
}
a.btn{
color: #1884C4;
padding-bottom: 2em;
display: block;
}

button{
font-size:16px;
}
dl.formbox dt {
font-size: 16px;
}
dl.formbox dd {
font-size: 16px;
}
dl.formbox dd.first label{
font-size: 16px;
height: 50px;
margin: 0 0.5em;
}
dl.formbox dd.first input[type="radio"]:checked+label,
dl.formbox dd.first label:hover{
color: #fff;
background-color: #53A8FD;
}

dl.formbox dd.first input[type="text"]{
border-radius: 10px;
border:2px solid #53A8FD;
border-radius: 10px;
margin-right: 0.5em;
min-width: inherit;
max-width: 200px;
}

    
}
@media screen and (max-width:768px) {
}
@media screen and (max-width:640px) {
}
@media screen and (max-width:480px) {
}
@media screen and (max-width:320px) {
}

.attbtn{
margin-bottom:10px;
background-color: #53A8FD !important;
color: #fff;
font-size: 1.8rem;
padding: 0.5em 4em;
border: 1px solid #53A8FD !important;
border-radius: 0.5em !important;
cursor: pointer !important;
}
.attbtn:hover{
color:#1884C4 !important;
background-color: #fff !important;
}
