@charset "utf-8";

/* ---------------------------------------
contact us
-----------------------------------------*/
#contact main{
  display: block;
  max-width: 960px;
  width: 94%;
  margin: 80px auto;
}
#contact p{
  text-align: center;
  font-size: 16px;
}
#contact h1 {
  font-size: 30px;
  font-weight: 100;
  text-align: center;
  margin-bottom: 60px;
}
#contact h1::after {
  content: ' ';
  border-bottom: 2px solid #000;
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  width: 50px;
  padding: 20px 0 0;
  margin: auto;
}
#contact section{
  box-sizing: border-box;
  border: 3px solid #ccc;
  width: 100%;
  padding: 5%;
  margin: 60px auto 40px;
}

#contact dl{
  box-sizing: border-box;
  border-top: 1px dotted #ccc;
  width: 100%;
  padding: 15px 10px;
  font-size: 0;
}
#contact dl:last-of-type{
  border-bottom: 1px dotted #ccc;
}
#contact dt,
#contact dd{
  box-sizing: border-box;
  vertical-align: top;
  display: inline-block;
  font-size: 14px;
}
#contact dt{
  position: relative;
  width: 240px;
  padding: 5px 0 0 50px;
  margin-bottom: 0;
}
#contact dd span{
  margin-right: 20px;
}
.hissu:before{
  position: absolute;
  top: 6px;
  left: 0;
  content: "必須";
  display: inline-block;
  background: #333;
  color: #FFF;
  font-size: 12px;
  padding: 0 6px;
  margin-right: 10px;
}
#contact dd{
  width: calc(100% - 240px);
}
#contact dd p{
  text-align: left;
}
#contact dd a:link,
#contact dd a:visited{
  color: #666;
  text-decoration: underline;
  margin-left: 10px;
}
.fontS{
  font-size: 14px!important;
}

/*input,select,textarea*/
#contact select,
#contact input[type="text"]{
  box-sizing: border-box;
  border: 1px solid #999;
  font-size: 14px;
  width: 100%;
  padding: 7px 10px;
}
#contact select,
#contact input.post[type="text"]{
  width: calc(100% - 65%);
  /*  width: 50%;*/
  min-width: 200px;
}
#contact textarea {
  outline: none;
  border: 1px solid #999;
  width: 100%;
  padding: 12px;
  font-family: Arial;
  font-size: 16px;
  box-sizing: border-box;
}

#contact textarea,
#contact input[type="text"],
#contact input.post[type="text"]{
  -webkit-appearance: none; 
}
#contact select:active,
#contact select:focus,
#contact input[type="text"]:active,
#contact input[type="text"]:focus,
#contact textarea:active,
#contact textarea:focus{
  outline: none;
/*  box-shadow: 1px 1px 3px rgba(0, 0, 0, .3);*/
}
.err{
  color: #d82832;
  font-size: 14px;
  margin-top: 5px;
  margin-left: 1em;
}
.err:before{
  content: "！";
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  margin-right: 6px;
  border-radius: 1.5em;
  background: #d82832;
  text-align: center;
  line-height: 1.4em;
  font-weight: bold;
  font-size: 14px;
  color: #FFF;
}
.errbgOn {
  background: #fbeaea!important;
}

input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
/*css input texr*/
:placeholder-shown{ color: #CCC;}
::-webkit-input-placeholder{ color: #CCC;}     /* Google Chrome, Safari, Opera 15+, Android, iOS */
:-moz-placeholder{ color: #CCC; opacity: 1;}   /* Firefox 18- */
::-moz-placeholder{ color: #CCC; opacity: 1; } /* Firefox 19+ */
:-ms-input-placeholder{ color: #CCC;}          /* IE 10+ */

/* btnBox */
.btnBox{
  margin-top: 50px;
  text-align: center;
}
.btnBox #submitBtn{
  background: #000;
  color: #fff;
  cursor: hand;
  border: none;
}
.btnBox button{
  position: relative;
  width: 100%;
  max-width: 240px;
  padding: 15px 0;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
}
.btnBox button:before{
  content: "";
  position: absolute;
  top: -4px;
  right: 20px;
  bottom: 0;
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  transform: rotate(45deg);
}
.btnBox button#clearBtn:before{
  left: 20px;
  right: auto;
  transform: rotate(-134deg);
}

.btnBox button:hover{
  opacity: 0.8;
}

.btnBox .btnNext,
.btnBox #btnSubmit{
  background: #000;
}
.btnBox #clearBtn{
  background: #999;
  margin-right: 20px;
}

.inputBox{
  display: none;
}
.inputBox + label{
  cursor: pointer;
  position: relative;
  display: inline-block;
  margin:0 20px;
}
.inputBox + label:before{
  content: "";
  position: absolute;
  top: 3px;
  left: -20px;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 1px solid #999;
  border-radius: 20px;
}
.inputBox:checked + label:after{
  content: "";
  position: absolute;
  top: 7px;
  left: -16px;
  width: 8px;
  height: 8px;
  background: #999;
  border-radius: 20px;
}

.policyBox{
  margin-bottom: 100px;
}
.policyBox p{
  position: relative;
  line-height: 2.0;
  text-align: left!important;
  padding-left: 1.3em;
}
.policyBox p:before{
  content: "・";
  position: absolute;
  left: 0;
}




/*thanks*/
#thanks h2{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
#thanks p{
  line-height: 2.4;
}
#thanks a:link,
#thanks a:visited{
  box-sizing: border-box;
  background: #000;
  display: block;
  max-width: 300px;
  width: 80%;
  line-height: 50px;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  margin: 30px auto;
}


@media screen and (max-width: 750px){
  #contact section{
    border: none;
    padding: 5% 0;
  }
  #contact dt,
  #contact dd{
    display: block;
    width: 100%;
  }
  #contact dt{
    padding: 5px 0 0 0;
    margin-bottom: 14px;
  }
  .hissu:before{
    position: static;
  }
  #contact dd{
    min-height: 1.0em;
  }
  #contact dd span{
    display: block;
    margin-right: 0;
  }
  #contact dd span:first-of-type{
    margin-bottom: 5px;
  }
  #contact dd a:link,
  #contact dd a:visited{
    line-height: 2.0;
    margin-left: 0;
  }
  .btnBox button{
    display: block;
    max-width: initial;
    width: 90%;
    margin: 0 auto 10px;
  }
  .btnBox #clearBtn{
    margin-right: auto;
  }
  
  #contact select,
  #contact input[type="text"]{
    font-size: 16px;
  }
  #contact select,
  #contact input.post[type="text"]{
    min-width: initial;
    width: 100%;
  }
  
}


