/*==============================*/
/* inquiry_form */
/*==============================*/
input,button,textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: none;
  color: #333;
}
input[type="text"], textarea {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.4rem;
  padding: 4px;
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0;
}
select {
  outline: none;
  vertical-align: middle;
  font-size: 1.4rem;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.inquiry_form {
  background: none;
}
.inquiry_form * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.inquiry_form header {
  position: static;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.inquiry_form header h1 {
  font-size: 3.2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: #00429c;
  padding: 16px;
}

.inquiry_form article {
  padding: 48px 0 80px;
}

.inquiry_form section {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 64px;
  padding-right: 64px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.inquiry_form section + section {
  margin-top: 50px;
}

.inquiry_form section .h01 {
  position: relative;
  font-size: 2.4rem;
  text-align: center;
  padding-bottom: 32px;
}
.inquiry_form section .h01:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 4px;
  margin-left: -30px;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0,66,155,1)),to(rgba(0,114,187,1)));
  background: linear-gradient(to right, rgba(0,66,155,1) 0%,rgba(0,114,187,1) 100%);
}
.inquiry_form section .h02 {
  position: relative;
  padding-left: 1em;
}
.inquiry_form section .h02:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1em;
  height: 1em;
  background: #333;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.inquiry_form section * + .txt_need {
  margin-top: 28px;
}
.inquiry_form section .txt_need span:first-of-type {
  color: #e40000;
}

.inquiry_form section table.table01 {
  width: 100%;
  border: 1px solid #ccc;
  margin-top: 28px;
}
.inquiry_form section table.table01 tr + tr {
  border-top: 1px solid #ccc;
}
.inquiry_form section table.table01 th {
  position: relative;
  background: #3e5eb3;
  color: #fff;
  font-weight: bold;
  width: 1px;
  white-space: nowrap;
  vertical-align: top;
  padding: 6px 20px;
}
.inquiry_form section table.table01 th .need {
  color: #e40000;
}
.inquiry_form section table.table01 th .note {
  position: absolute;
  right: 20px;
  top: 6px;
}
.inquiry_form section table.table01 td {
  padding: 6px 10px;
}

.inquiry_form section table.table01 td .form01,
.inquiry_form section table.table01 td .form02 {
  padding-right: 8rem;
}

.inquiry_form section table.table01 td .form02 {
  position: relative;
}
.inquiry_form section table.table01 td .form02 + .form02 {
  margin-top: 12px;
}
.inquiry_form section table.table01 td .form02 dt {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.inquiry_form section table.table01 td .form03 input {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: inline-block;
  width: 6em;
}
.inquiry_form section table.table01 td .form03 span {
  display: inline-block;
  padding: 0 4px;
  font-weight: bold;
}

.inquiry_form section table.table01 td .form04 {
  font-size: 0;
}

.inquiry_form section table.table01 td .form05 {
  font-size: 0;
}
.inquiry_form section table.table01 td .form05 li {
  display: inline-block;
  font-size: 1.4rem;
}
.inquiry_form section table.table01 td .form05 li + li {
  margin-left: 32px;
}
.inquiry_form section table.table01 td .form05 input {
  display: none;
}
.inquiry_form section table.table01 td .form05 input + label {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  cursor: pointer;
}
.inquiry_form section table.table01 td .form05 input + label:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 1px solid #ccc;
  border-radius: 50%;
}
.inquiry_form section table.table01 td .form05 input:checked + label:before {
  background: #00429c;
}

.inquiry_form section .btn_form {
  margin-top: 28px;
}
.inquiry_form section .btn_form ul {
  text-align: center;
  font-size: 0;
}
.inquiry_form section .btn_form ul li {
  display: inline-block;
  font-size: 1.4rem;
}
.inquiry_form section .btn_form ul li + li {
  margin-left: 16px;
}
.inquiry_form section .btn_form ul li input {
  padding: 2px 12px;
  border-radius: 4px;
  background: #fff;
}

.inquiry_form section .block01 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 4px solid #f5f5f5;
  padding: 24px;
  margin-top: 24px;
}
.inquiry_form section .block01 p {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-right: 20px;
  line-height: 2;
}
.inquiry_form section .block01 p a {
  color: #3369b0;
}

footer {
  text-align: center;
  padding-bottom: 28px;
}

@media screen and (max-width:767px) {
  .inquiry_form header h1 {
    font-size: 2rem;
    padding: 16px;
  }
  .inquiry_form article {
    padding: 48px 20px 80px;
  }
  .inquiry_form section {
    padding-left: 0;
    padding-right: 0;
  }
  .inquiry_form section .h01 {
    font-size: 2rem;
  }
  .inquiry_form section table.table01,
  .inquiry_form section table.table01 tbody,
  .inquiry_form section table.table01 tr,
  .inquiry_form section table.table01 th,
  .inquiry_form section table.table01 td {
    display: block;
  }
  .inquiry_form section table.table01 th + td {
    border-top: 1px solid #ccc;
  }
  .inquiry_form section table.table01 th {
    width: auto;
    white-space: normal;
  }
  .inquiry_form section table.table01 th .note {
    right: 8px;
    font-size: 1.2rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .inquiry_form section table.table01 td {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .inquiry_form section table.table01 td .form03 input {
    width: 4.6em;
  }
  .inquiry_form section .block01 {
    display: block;
    border-width: 2px;
    padding: 20px;
  }
  .inquiry_form section .block01 figure {
    text-align: center;
  }
  .inquiry_form section .block01 p {
    margin-right: 0;
    margin-top: 20px;
  }
  footer {
    font-size: 1rem;
  }
}

