@charset "UTF-8";

#contact_box.cont_box {
  width: 60%;
  max-width: 700px;
  margin: 0 auto;
}

#contact_box p.txt,
#contact_box p.thanks {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-align: 1.6;
  margin-bottom: 80px;
  line-height: 2;
}
#contact_box p.txt01 {
  margin-bottom: 40px;
}

#contact_box .privacypolicy {
  overflow-y: scroll;
  height: 180px;
  border: 1px #C0C0C0 solid;
  padding: 30px;
  margin-bottom: 80px;
  text-align: left;
  line-height: 1.6em;
  font-size: 13px;
}
#contact_box .privacypolicy h3 {
  margin-bottom: 10px;
  font-size: 14px;
}

/*********************************************
 * フォーム用
 *********************************************/
#form {
  position: relative;
}
#contact_box ul li {
  margin-bottom: 60px;
  text-align: left;
}
#contact_box ul li span.del,
#contact_box ul li span.hide {
	font-size: 14px;
  color: #707070;
  vertical-align: top;
  line-height: 2;
}
#contact_box select{
  outline:none;
  text-indent: 0.01px;
  text-overflow: '';
  background: none transparent;
  vertical-align: middle;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding:20px;
  border: #C0C0C0 1px solid;
  color: #707070;
  width:100%;
  border-radius:0;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
#contact_box select::-ms-expand {
  display: none;
}
#contact_box select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #828c9a;
}
#contact_box input,
#contact_box button,
#contact_box textarea {
  -webkit-appearance: none;
}
#contact_box textarea::-webkit-scrollbar,
#contact_box .privacypolicy::-webkit-scrollbar {
    width: 10px;
}
#contact_box textarea::-webkit-scrollbar-track,
#contact_box .privacypolicy::-webkit-scrollbar-track {
	background: #fff;
}
#contact_box textarea::-webkit-scrollbar-thumb,
#contact_box .privacypolicy::-webkit-scrollbar-thumb {
  border-radius: 5px;
	background: #ccc;
  box-shadow: inset 0 0 0 2px #fff;
}
#contact_box input[type="text"],
#contact_box input[type="email"],
#contact_box textarea {
	border-radius: 0;
	width: 100%;
	border: #C0C0C0 1px solid;
	font-size: 14px;
	padding: 20px;
  color: #707070;
  line-height: 1.6;
}
#contact_box textarea {
  height: 250px;
}
#contact_box input::placeholder,
#contact_box textarea::placeholder {
  color: #707070;
  letter-spacing: 0.1em;
  font-size: 14px;
}
#contact_box .fm_button {
  text-align: center;
}
#contact_box input[type="submit"],
#contact_box input[type="button"] {
	border-radius: 0;
	width:160px;
	background:#ccc;
	color:#fff;
	padding:15px 0;
	font-size:16px;
	letter-spacing:0.2em;
	line-height:1;
	border:none;
	cursor:pointer;
  margin: 0 auto;
  transition-property: all;
	transition: 0.3s linear;
}
#contact_box input[type="submit"]:hover,
#contact_box input[type="button"]:hover {
	background: #4F4F4F;
}
#contact_box .back_send {
  text-align: center;
  display: flex;
  width: 340px;
  margin: 0 auto;
  justify-content: space-between;
  padding-top: 30px;
}
#contact_box .back_send span {
  display: block;
  position: relative;
}
#contact_box .back_send span:last-child input {
  text-align: left;
  padding-left: 30px;
}
#contact_box .back_send span:last-child::after {
  content: '';
  position: absolute;
  background: url("../images/contact/icon_airplane.svg") 0 0 no-repeat;
  background-size: 24px;
  width: 24px;
  height: 20px;
  top: 50%;
  right: 50%;
  margin-top: -11px;
  margin-right: -57px;
}

#contact_box .hide {
	 display:none;
}
#contact_box .formError,
#contact_box .formErrorContent {
  box-shadow: none;
  border: none;
  left: inherit !important;
  /*right: 0 !important;*/
  margin-top: -12px !important;
}
#contact_box .formErrorContent {
  background: rgba(62,163,162,0.8);
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
}
#contact_box .formErrorArrow {
  display: none;
}
#contact_box ul li.form_check {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
}
#contact_box ul li.form_check span {
  display: block;
  word-break: break-all;
  flex: 1;
}
#contact_box  ul li.form_check span.form_title {
  width: 100px;
  flex: none;
}
@media screen and (max-width:760px) {
  #contact_box.cont_box {
    width: 90%;
  }
}
@media screen and (max-width:570px) {
  #contact_box p.txt,
  #contact_box p.thanks {
    text-align: left;
  }
}
@media screen and (max-width:414px) {
  #contact_box p.txt,
  #contact_box p.thanks {
    margin-bottom: 40px;
    line-height: 1.6;
  }
  #contact_box .privacypolicy {
    padding: 15px;
  }
  #contact_box ul li {
    margin-bottom: 30px;
  }
  #contact_box ul li.form_check {
    display: block;
  }
  #contact_box .back_send {
    width: 100%;
    display: block;
  }
  #contact_box .back_send span {
    margin-bottom: 30px;
  }
  #contact_box select,
  #contact_box input[type="text"],
  #contact_box input[type="email"],
  #contact_box textarea {
    font-size: 16px;
    padding:10px;
  }
  #contact_box input::placeholder,
  #contact_box textarea::placeholder {
    font-size: 16px !important;
  }
  #contact_box input[type="submit"],
  #contact_box input[type="button"] {
    width:80%;
    padding: 20px 0;
  }
  #contact_box .back_send span:last-child input {
    padding-right: 33%;
    padding-left: inherit;
    text-align: right;
  }
  #contact_box input::placeholder,
  #contact_box textarea::placeholder {
    letter-spacing: 0.1em;
    font-size: 13px;
  }
  #contact_box .formError,
  #contact_box .formErrorContent {
    margin-top: -5px !important;
  }
}