@charset "UTF-8";
.sec {
  margin-bottom: 10%;
}

.formBlock {
  width: 100%;
  max-width: 1020px;
  background: #FFF;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 5%;
}

form {
  margin-bottom: 12%;
}

.telBlock p {
  color: #457aab;
  text-align: center;
  font-weight: bold;
  font-size: 4.8vw;
  margin-bottom: 2%;
}

.contactBlock {
  display: none;
}

footer .addressArea {
  border-top: solid 1px #ccc;
  padding-top: 10%;
}

.confirm form {
  margin-bottom: 0;
}

.confirm .txt {
  margin-bottom: 4%;
}

.thanks .txt b {
  color: #457aab;
  font-size: 1.4em;
}

.thanks .btn {
  margin-top: 8%;
}

@media screen and (min-width: 768px) {
  .sec {
    margin-bottom: 9%;
  }

  .formBlock {
    width: 88%;
    margin: 0 auto;
    padding: 7%;
  }

  form {
    margin-bottom: 8%;
  }

  .telBlock p {
    font-size: 2.5vw;
  }
  .telBlock img {
    display: block;
    width: 65%;
    margin: 0 auto;
  }
  .telBlock a {
    pointer-events: none;
  }

  footer .addressArea {
    border-top: solid 1px #ccc;
    padding-top: 3%;
  }

  .confirm .txt {
    margin-bottom: 3%;
  }

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

  .thanks .btn {
    margin-top: 6%;
  }
}
/*==========================
	 フォーム用css
==========================*/
.contactForm {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  border-top: solid 1px #333;
  margin-bottom: 40px;
}

.contactForm th {
  width: 30%;
  color: #457aab;
  box-sizing: border-box;
  background: #f0f4f7;
  border-bottom: solid 1px #333;
  text-align: left;
  padding: 3%;
  position: relative;
  background-clip: padding-box;
  vertical-align: top;
}

.contactForm td {
  width: 70%;
  box-sizing: border-box;
  border-bottom: solid 1px #333;
  text-align: left;
  padding: 3%;
}

.must {
  color: #ed3345;
}

.contactForm table td {
  padding: 0 0 10px;
  border-bottom: 0;
}

.contactForm table tr:last-child td {
  padding: 0;
}

input, button, textarea, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /*フォームスタイル初期化css*/
  outline: none;
  /*フォームスタイル初期化css*/
  border-radius: 5px;
  border: solid 1px #999;
  padding: 10px;
  width: 80%;
}

textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  box-sizing: border-box;
}

input[type="text"].yuubin {
  width: 100px;
  margin: 0 5px;
}

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

.selectBox select {
  width: 100%;
  background: #fff;
}

.selectBox {
  width: 40%;
  display: inline-block;
  position: relative;
}

.selectBox:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 4px 0 4px;
  border-color: #333 transparent transparent transparent;
  margin: 0 auto;
}

/*-------------------------------------
	ラジオ・チェックボックスカスタマイズcss
--------------------------------------*/
input[type="radio"],
input[type="checkbox"] {
  display: none;
}

/*ラジオボタンカスタマイズ*/
.radio-input + label {
  padding-left: 20px;
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}

.radio-input + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 50%;
}

.radio-input:checked + label {
  color: #457aab;
}

.radio-input:checked + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 4px;
  width: 9px;
  height: 9px;
  background: #457aab;
  border-radius: 50%;
}

/*チェックボタンカスタマイズ*/
.checkbox-input + label {
  padding-left: 20px;
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}

.checkbox-input + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 4px;
}

.checkbox-input:checked + label {
  color: #457aab;
}

.checkbox01-input:checked + .checkbox01-parts {
  color: #457aab;
}

.checkbox-input:checked + label::after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  left: 6px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #457aab;
  border-right: 3px solid #457aab;
}

/*==========================
	 送信ボタンcss
==========================*/
.contactBtn {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.contactBtn:after {
  content: "";
  display: block;
  width: 10%;
  height: 7px;
  background: url("data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20version%3D%221.1%22%20id%3D%22_x32_%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2231.5px%22%20height%3D%2211.8px%22%20viewBox%3D%220%200%2031.5%2011.8%22%20style%3D%22enable-background%3Anew%200%200%2031.5%2011.8%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpolygon%20class%3D%22st0%22%20points%3D%2231.5%2C11.8%200%2C11.8%200%2C10.8%2029.3%2C10.8%2020.7%2C0.6%2021.5%2C0%20%22%2F%3E%3C%2Fsvg%3E") no-repeat center center;
  background-size: contain;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  transition: .3s;
}
.contactBtn:hover:after {
  transform: translateX(5px);
}

input[type="submit"] {
  width: 100%;
  font-size: 4.2666666667vw;
  padding: 4% 0;
  border: none;
  color: #FFF;
  font-weight: bold;
  cursor: pointer;
  background: #457aab;
  border-radius: 30px;
  display: block;
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
  transition: .3s;
}
input[type="submit"]:hover {
  opacity: .8;
}

.back {
  margin-top: 5%;
}
.back input[type="submit"] {
  background: #666;
}

@media screen and (min-width: 768px) {
  .contactBtn {
    width: 260px;
  }
  .contactBtn:after {
    right: 5%;
  }

  input[type="submit"] {
    font-size: 1.4285714286vw;
    padding: 5% 3%;
  }

  .back {
    margin-top: 3%;
  }
}
@media (min-width: 1120px) {
  input[type="submit"] {
    font-size: 16px;
  }
}
/*==========================
	 バリデーションチェック用css
==========================*/
.errorCheck {
  margin: 10px 0 0 0;
  line-height: 1.2;
  font-size: 1.4rem;
  color: #ed3345;
  /*display: none;*/
}

@media screen and (max-width: 640px) {
  .contactForm {
    width: 100%;
    margin: 0 auto 40px;
  }

  .contactForm th, .contactForm td {
    width: 100%;
    display: block;
    margin: 0 auto;
  }

  input {
    width: 100%;
    box-sizing: border-box;
  }

  .selectBox {
    width: 60%;
  }
}
