h1 {
  text-align: center;
}

h1 span {
  display: inline-block;
}

h1 .en {
  font-weight: normal;
}

.tel_area {
  background: #f5f5f5;
}

.tel_area .data h2 {
  color: #0085cd;
  text-align: center;
}

.tel_area .data a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

h2.web {
  text-align: center;
  color: #002f82;
}

table {
  border-bottom: 1px solid #d2d2d2;
}

table th {
  border-top: 1px solid #d2d2d2;
  background: #f5f5f5;
  vertical-align: middle;
}

table .detail {
  vertical-align: top;
}

table td {
  border-top: 1px solid #d2d2d2;
}

table input[type=text],
table input[type=email],
table textarea {
  box-sizing: border-box;
}

.button_area {
  text-align: center;
}

button#form_submit {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  background: #002f82;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  font-weight: bold;
}

button#form_submit::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  right: 0;
}

@media screen and (min-width: 768px) {
  h1 {
    margin-top: 50px;
  }
  h1 .ja {
    margin-top: 8px;
    font-size: 32px;
  }
  .description {
    width: 770px;
    margin: 25px auto 0;
    line-height: 1.88;
  }
  .tel_area {
    width: 770px;
    margin: 40px auto 0;
    padding: 50px 0;
    text-align: center;
  }
  .tel_area .data {
    display: inline-block;
    text-align: center;
  }
  .tel_area .data h2 {
    font-size: 26px;
  }
  .tel_area .data .tel {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-top: 3px solid #0085cd;
    margin-top: 20px;
    padding-top: 20px;
  }
  .tel_area .data .icon {
    margin-right: 25px;
  }
  .tel_area .data .txt {
    font-weight: bold;
    font-size: 40px;
    color: #0085cd;
  }
  h2.web {
    margin-top: 80px;
    font-size: 26px;
  }
  table {
    width: 1000px;
    margin: 30px auto 0;
  }
  table th {
    padding: 20px 45px 20px 0;
    width: 190px;
    text-align: right;
  }
  table td {
    padding: 25px 0 25px 50px;
  }
  table input[type=text] {
    padding: 5px;
    width: 660px;
    height: 40px;
    border: 1px #CCCCCC solid;
  }
  table input[type=email] {
    padding: 5px;
    height: 40px;
    border: 1px #CCCCCC solid;
    width: 100%;
  }
  table textarea {
    padding: 5px;
    width: 100%;
    height: 120px;
    border: 1px #CCCCCC solid;
  }
  table .check_wrapper {
    display: flex;
  }
  table label {
    margin-right: 35px;
    display: inline-block;
  }
  table label input[type=checkbox] {
    margin-right: 5px;
  }
  button#form_submit {
    margin: 30px auto 0;
    width: 260px;
    padding: 12px 0 10px;
    font-size: 20px;
  }
  footer {
    margin-top: 70px;
  }
  .thanks {
    margin-top: 90px;
  }
}

@media screen and (max-width: 767.999px) {
  h1 {
    margin-top: 65px;
  }
  h1 .en {
    font-size: 10px;
  }
  h1 .ja {
    font-size: 20px;
    margin-top: 4px;
  }
  .description {
    margin-top: 20px;
    line-height: 1.69;
  }
  .tel_area {
    margin-top: 20px;
  }
  .tel_area .data {
    padding: 18px 0;
  }
  .tel_area .data h2 {
    font-size: 16px;
  }
  .tel_area .data a {
    display: flex;
    width: 255px;
    margin: 10px auto 0;
    color: #FFFFFF;
    font-size: 16px;
    background: #0085cd;
    padding: 10px 0;
    position: relative;
  }
  .tel_area .data a::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    width: 15px;
    height: 2px;
    background: #FFFFFF;
    right: 0;
  }
  .tel_area .data .icon {
    margin-right: 10px;
  }
  h2.web {
    margin-top: 50px;
    font-size: 16px;
  }
  table {
    margin-top: 13px;
    width: 100%;
  }
  table th {
    padding: 10px 10px 10px 15px;
    text-align: left;
    width: 115px;
  }
  table .detail,
  table .kind {
    padding-top: 13px;
    vertical-align: top;
  }
  table td {
    padding: 10px 0 10px 15px;
  }
  table input[type=text],
  table input[type=email],
  table textarea {
    font-size: 16px;
    width: 100%;
    -webkit-appearance: none;
    border: 1px solid #CCCCCC;
    border-radius: 0;
    padding: 5px;
  }
  table textarea {
    height: 70px;
  }
  table label {
    display: block;
    margin-bottom: 12px;
  }
  table label input[type=checkbox] {
    margin-right: 7px;
  }
  button#form_submit {
    width: 180px;
    padding: 15px 0;
    margin: 20px auto 0;
    font-size: 13px;
  }
  button#form_submit::after {
    width: 15px;
  }
  footer {
    margin-top: 40px;
  }
  .thanks {
    margin-top: 70px;
  }
}
