@charset "UTF-8";
/* CSS Document */


/*-----------
inquiry
-----------*/

#inquiry{
  padding-bottom: 80px;
  overflow: hidden;
  position: relative
}

#inquiry dl{
  width: 100%;
  border-top: 1px solid #b2b2b2;
  margin-bottom: 50px;
}

#inquiry dt{
  clear: both;
  float: left;
  display:flex;
  flex-wrap:wrap;
  padding: 26px 0 26px 20px;
  line-height: 18px;
}

#inquiry dt span.essential{
  float: left;
  display: block;
  background: #ec0000;
  color: #fff;
  width: 37px;
  height: 18px;
  font-size: 12px;
  line-height: 18px;
  margin-left: 5px;
  text-align: center;
}

#inquiry dd{
  padding: 22px 30px 22px 260px;
  width: 710px;
  border-bottom: 1px solid #b2b2b2;
  min-height: 27px;
}

.type {
  position: relative;
  border: 1px solid #b2b2b2;
  width: 298px;
  height: 36px;
  margin: -7px 0;
}

.type select {
  width: 100%;
  line-height: 36px;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 38px 0 20px;
  font-size: 16px;
}

.type select::-ms-expand {
    display: none;
}

.type::before {
  position: absolute;
  top: 10px;
  right: 14px;
  content: '';
  width: 9px;
  height: 9px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  pointer-events: none;
}

textarea{
  padding: 5px 10px;
  border: 1px solid #b2b2b2;
  width: 100%;
  height: 168px;
  box-sizing: border-box;
  vertical-align: bottom;
  -webkit-appearance: none;
  border-radius: 0;
  margin: -7px 0;
}

input[type="text"],
input[type="tel"],
input[type="fax"]{
  width: 398px;
  line-height: 36px;
  border: 1px solid #b2b2b2;
  -webkit-appearance: none;
  border-radius: 0;
  margin: -7px 0;
  padding: 0 5px;
  box-sizing: border-box;
}

.name input[type="text"] {
  width: 218px;
}

.mail input[type="text"] {
  width: 498px;
}

.radio label {
  position: relative;
  cursor: pointer;
  padding-left: 25px;
  margin-right: 10px;
}

.radio label::before,
.radio label::after {
  content: "";
  display: block; 
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

.radio label::before {
  background-color: #fff;
  border: 1px solid #b2b2b2;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  left: 0;
}

.radio label::after {
  background-color: #b2b2b2;
  border-radius: 50%;
  opacity: 0;
  width: 12px;
  height: 12px;
  left: 3px
}

input:checked + label::after {
  opacity: 1;
}

.inquiry-contact-form-radio-item {
 position: absolute;
 white-space: nowrap;
 border: 0;
 clip: rect(0 0 0 0);
 clip-path: inset(50%);
 overflow: hidden;
 height: 1px;
 width: 1px;
 margin: -1px;
 padding: 0;
}

.form__file{
  margin-top: -7px;
}

.form__file input[type=file] {
  display: none;
}

.form__file label {
  background: #f5f5f5;
  border: 1px solid #b2b2b2;
  padding: 4px 30px;
  margin: 0 8px 0 0;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  color: #000;
}

.form__file label:hover {
  opacity: 0.7;
  transition: 0.3s ease-out;
}

.form__file label:after {
  content: "選択されていません";
  color: black;
  font-size: 14px;
  height: 20px;
  line-height: 20px;
  position: absolute;
  right: -140px;
  top: calc(50% - 10px);
}

.form__file label.changed:after {
  content: "";
}

input.btn{
  display: block;
  width: 360px;
  height: 54px;
  background: #004e8c url("../../../common/img/arrow_r_w.png") no-repeat center right 25px;
  background-size: 9px auto;
  border-radius: 3px;
  color: #fff;
  margin: 0 auto;
  font-size: 18px;
  line-height: 54px;
  text-align: center;
  margin-bottom: 90px;
  transition: opacity 0.5s ease-in-out;
}

input.btn:hover {
  opacity: 0.5;
  transition: 0.5s ease-in-out;
}

.txt_error{
  color: #ec0000;
  margin:-8px 0 15px;
  font-size: 14px;
  line-height: 1.4;
}

.txt_note{
  text-indent: -1em;
  padding: 10px 0 0 1em;
  font-size: 14px;
  margin-bottom: -7px;
}

.box_gray{
  width: 100%;
  background: #f5f5f5;
  padding: 30px 40px 20px;
  margin: 0 0 40px;
  box-sizing: border-box;
  font-size: 14px;
}

.box_gray .list_caution li{
  padding-left: 1em;
  text-indent: -1em;
}

.box_gray .txt_inquiry{
  padding: 20px 0 0;
}

.btn_confirm{
  width: 380px;
  margin: 0 auto;
  height: 56px;
  margin-bottom: 90px;
  display:flex;
  flex-wrap:wrap;
}

.btn_confirm li{
  width: 48%;
}

.btn_confirm li:first-child{
  margin-right: 4%;
}

input.btn_back{
  display: block;
  width: 100%;
  height: 54px;
  background: #004e8c url("../../../common/img/arrow_l_w.png") no-repeat 20px center;
  background-size: 9px auto;
  border-radius: 3px;
  color: #fff;
  margin: 0 auto;
  font-size: 18px;
  text-align: center;
  transition: opacity 0.5s ease-in-out;
  padding-left: 5px;
  box-sizing: border-box;
}

input.btn_submit{
  display: block;
  width: 100%;
  height: 54px;
  background: #004e8c url("../../../common/img/arrow_r_w.png") no-repeat center right 20px;
  background-size: 9px auto;
  border-radius: 3px;
  color: #fff;
  margin: 0 auto;
  font-size: 18px;
  line-height: 54px;
  text-align: center;
  transition: opacity 0.5s ease-in-out;
  padding-right: 5px;
  box-sizing: border-box;
}

#thanks{
  width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 0 150px;
}

#thanks h2{
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 10px;
}

#thanks p{
  text-align: center;
  font-size: 18px;
}



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


#inquiry{
  padding-bottom: 50px;
}

#inquiry dl{
  width: 100%;
  border-top: 1px solid #b2b2b2;
  margin-bottom: 30px;
}

#inquiry dt{
  float: none;
  padding: 20px 10px 0;
  line-height: 18px;
  width: 100%;
  box-sizing: border-box;
}

#inquiry dd{
  padding: 8px 10px 20px;
  width: 100%;
  border-bottom: 1px solid #b2b2b2;
  box-sizing: border-box;
}

.type {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.type select {
  padding: 0 38px 0 15px;
}

textarea{
  margin: 0;
}

input[type="text"],
input[type="tel"],
input[type="fax"]{
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.name input[type="text"] {
  width: 36%;
}

.mail input[type="text"] {
  width: 100%;
}

input.btn{
  width: 100%;
  margin-bottom: 40px;
  height: 52px;
  line-height: 52px;
}

.box_gray {
    width: 100%;
    padding: 6% 4% 6%;
    margin: 0 0 30px;
}

.box_gray a {
  text-decoration: underline;
}

#inquiry dt.no_sp {
    padding: 12px 10px 0;
}

.form__file{
  margin-top: 0;
}

.txt_error{
  margin:0 0 10px;
}

.txt_note{
  margin-bottom: 0;
}

.btn_confirm{
  width: 100%;
  margin: 0 0 40px 0;
}

input.btn_back,
input.btn_submit{
  height: 52px;
}

#thanks{
  width: 100%;
  margin: 0;
  padding: 15% 0 20%;
}

#thanks h2{
  font-size: 22px;
  font-weight: bold;
}

#thanks p{
  text-align: center;
  font-size: 16px;
}


}

