@charset "utf-8";

* {
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}

.mb0 { margin-bottom: 0!important;}
.mb15 { margin-bottom: 15px!important;}
.mb30 { margin-bottom: 30px!important;}
.mb40 { margin-bottom: 40px!important;}
.mb60 { margin-bottom: 60px!important;}


/******
* pagetop
*******/
#topcontrol {
  width: 50px;
  height: 50px;
}
#pagetop {
  background-image: url(images/pagetop.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 50px;
  height: 50px;
}

/******
* inquiry form
******/
#inquiry-form {
  margin-bottom: 30px;
  font-size: 13px;
}
#inquiry-form * {
  box-sizing: border-box;
}
#inquiry-form .error-message {
  color: #d00;
  border: 1px solid #d00;
  padding: 1em;
  border-radius: 5px;
}
#inquiry-form .error-message li {
  color: #d00;
}
#inquiry-form dl {
  margin-bottom: 30px;
}
#inquiry-form dl::after {
  content: " ";
  display: table;
  clear: both;
}
#inquiry-form dl i.require {
  width: 35px;
  height: 20px;
  display: inline-block;
  background-image: url(images/icon-hissu.png);
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: 5px;
  left: 10px;
}
#inquiry-form dl dt {
  float: left;
  width: 220px;
  font-weight: normal;
}
#inquiry-form dl dd {
  padding-left: 220px;
}
#inquiry-form input[type="text"],
#inquiry-form textarea {
  width: 100%;
  border: 1px solid #665743;
  border-radius: 5px;
  padding: 0.5em 1em;
  font-size: 1em;
  -webkit-appearance: none;
  box-shadow: none;
  background: transparent;
}
#inquiry-form select {
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid #665743;
  border-radius: 5px;
  padding: 0.5em 1em;
  font-size: 1em;
  background: transparent;
}
#inquiry-form .checkboxs label {
  display: inline-block;
  cursor: pointer;
  margin-bottom: 10px;
}
#inquiry-form .section-title {
  border-bottom: none;
  font-size: 1.1em;
}
.thanks p {
  font-size: 13px;
}

.btn-area {
  text-align: center;
  padding-top: 40px;
}
.btn-area button {
  display: inline-block;
  -webkit-appearance: none;
  padding: 0.5em 2em;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  background: #eee;
  margin-bottom: 30px;
  margin-right: 1em;
}
.btn-area button:hover {
  opacity: 0.9;
}
.btn-area .btn-confirm {
  color: #fff;
  background: #665743;
  width: 270px;
}
.btn-area .btn-submit {
  color: #fff;
  background: #665743;
  width: 200px;
}
#inquiry-form input[type="checkbox"] {
  display: inline-block;
  background: transparent;
  border: 1px solid #665743;
  border-radius: 3px;
  -webkit-appearance: none;
  vertical-align: middle;
  width: 1em;
  height: 1em;
}
#inquiry-form input[type="checkbox"]:checked::before {
  font-family: "Ionicons";
  content: "\f122";
  color: #665743;
  position: relative;
  font-size: 0.8em;
  left: 2px;
  top: -3px;
}



.sp-only { display: none!important; }

@media only screen and (max-width: 767px) {

  .sp-only { display: block !important; }
  .pc-only { display: none !important; }


  #topcontrol {
    bottom: 15px;
    right: 15px !important;
  }

  #inquiry-form dl dt {
    float: none;
    width: 100%;
    font-weight: bold;
  }
  #inquiry-form dl dd {
    padding-left: 0;
    margin-left: 0;
  }
  #inquiry-form dl dd .input {
    margin: 15px 0;
  }



}
