@import (once) "default.less";
@import (once) "font.less";


/* navi ///////////////////////*/
.navi{
padding:50px 0 0 0;

dl{
.dt;
width:100%;
}
dd{
.tac;
.dtc;
.pr;
width:33.3%;
padding:2px;
}

dd p{
.bold;
padding:20px;
background:@c4;
}
.active p{
background:@c2;
}
a{
.tdu;
}
dd:nth-child(1):before,
dd:nth-child(2):before{
content: "";
.db;
.pa;
top:50%;
right:-10px;
margin-top:-10px;
border-right: 10px solid transparent;
border-bottom: 15px solid @c1;
border-left: 10px solid transparent;
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
z-index:1;
}

.text{
padding:20px 0;
}
h4{
padding:20px 0;
}
em{
color:@red;
}

}

@media (max-width:800px){
.navi{
padding:30px 0 0 0;

dd b{
.dn;
}

}
}


/* form ///////////////////////*/
.form{
padding:50px 0 100px 0;

h4{
font-size:18pt;
padding:20px 0 20px 0;
}

.text{
margin:10px 0 30px 0;
}

.table{
margin:0 auto 0 auto;
width:100%;
}
th{
.nw;
}
th, td{
padding:15px;
border-top:1px #CCC solid;
}
tr:first-child th, tr:first-child td,{
border-top:0px;
}


textarea{
border:0;
width:100%;
height:150px;
border:1px #CCC solid;
}
input[type="text"]{
border:1px #CCC solid;
height:28px;
line-height:28px;
.dib;
.vam;
}
.req{
em{
color:@red;
}
}
.type1{
width:120px;
}
.type2{
width:240px;
}
.type3{
width:360px;
}
.type4{
width:98%;
}

.submit{
padding:40px 0 0 0;
.tac;
}
.back{
padding:40px 0 0 0;
.tal;
}

small{
.dib;
padding:10px;
line-height:140%;
}

}


@media (max-width:800px){
.form{
padding:0 0 50px 0;

h4{
font-size:15pt;
padding:15px 0 15px 0;
}

.type1{
width:100px;
}
.type2{
width:100%;
}
.type3{
width:100%;
}
.type4{
width:100%;
}

.submit{
padding:20px 0 0 0;
}
.back{
padding:10px 0 0 0;
.tac;
}

}
}


@media (max-width:500px){
.form{

h4{
.tac;
font-size:13pt;
padding:10px 0 10px 0;
}

.table{
margin:10px auto;
width:100%;
}
th, td{
.tal;
.db;
border:0;
}
th{
padding:15px 0 0 0;
}
td{
padding:5px 0;
border-bottom:1px #CCC solid;
}
tr:last-child td{
border:0;
}



}
}


/* thanks ///////////////////////*/
.thanks{
padding:150px 0;
.tac;

h4{
font-size:16pt;
}

.button{
padding:40px 0;
}
}

@media (max-width:800px){
.thanks{
padding:100px 0;

}
}


/* error ///////////////////////*/
.error{
.dt;
.center;
h4{
font-size:16pt;
}
}
