@charset "utf-8";
#contact {
  padding-bottom: 200px;
}
#contact .page-section-title {
  margin-top: 90px;
  margin-bottom: 75px;
}

.contact-message {
  /* margin-top: 75px; */
  text-align: center;
}
.contact-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-notes {
  text-align: right !important;
  font-size: 1.2rem;
  color: #004690;
  width: 100%;
  max-width: 600px;
  margin: 68px auto 0;
}

.contact-table th {
  font-weight: 500;
  font-size: 1.6rem;
  text-align: left;
  color: #004690;
  width: 180px;
  vertical-align: top;
}
.contact-table td {
  width: calc(100% - 180px);
}
.contact-table tr:not(:first-of-type) th,
.contact-table tr:not(:first-of-type) td {
  padding-top: 36px;
}
input[type="text"],
input[type="email"],
textarea {
  -webkit-padding:10px 14px;
  padding: 10px 14px;
  width: 100%;
}
.privacy {
  margin-top: 30px;
  text-align: center;
}
.contact-buttom {
  display: flex;
  justify-content: center;
}
input.next {
  -webkit-padding: 18px 90px;
  padding: 18px 90px;
  background-color: #004690;
  border: none;
  border-radius: 0;
  display: block;
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  color: #fff;
  cursor: pointer;
}
input.next:hover,
input.backbuttom:hover{
  opacity: 0.8;
}
input.backbuttom {
  -webkit-appearance: none;
  /* -webkit-padding: 18px 50px; */
  padding: 18px 50px;
  background-color: #d4d4d4;
  border: none;
  display: block;
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  color: #333;
  cursor: pointer;
}
.contact-buttom {
  margin: 88px auto;

}
.btn-wrap-next,
.btn-wrap-back {
  position: relative;
  margin: 0 20px;
}
.btn-wrap-next .arrow-img,
.btn-wrap-back .arrow-img {
  content: "";
  width: 7px;
  height: 11px;
  display: block;
  background: url(../images/icon_footer_contact.png);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.btn-wrap-next .arrow-img {
  right: 16px;
}

.btn-wrap-back .arrow-img {
  left: 16px;
  transform: translateY(-50%) rotate(180deg);
}
.contact-form p {
  text-align: center;
}
.contact-tel {
  width: 100%;
  max-width: 700px;
  padding: 50px 12px;
  text-align: center;
  background-color: #f0faff;
  margin: 0 auto;
}
.contact-tel h3 {
  font-weight: bold;
  font-size: 3rem;
  text-align: center;
  color: #004690;
}
.contact-tel-number {
  margin-top: 21px;
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 6rem;
  text-align: center;
  color: #004690;
}
.contact-tel-number a{
  color: #004690;
}

.contact-tel-number span {
  font-size: 3rem;
}
.contact-tel-notes {
  font-weight: 500;
  font-size: 1.6rem;
  text-align: center;
  color: #004690;
}
.contact-btn-to-top {
  padding: 18px 90px;
  background-color: #004690;
  color: #fff;
  border: none;
  display: block;
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 16px;
  display: block;
  margin: 40px auto;
  position: relative;
  width:300px;
}

.contact-btn-to-top::after {
  content: "";
  width: 7px;
  height: 11px;
  display: block;
  background: url(../images/icon_footer_contact.png);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
}
.privacy a {
  color: #004690;
  text-decoration: underline;
}
@media screen and (max-width: 700px) {
  .contact-table th,
  .contact-table td {
    width: 100%;
  }
  .contact-table tr {
    display: flex;
    flex-direction: column;
  }
  .contact-table tr:not(:first-of-type) th,
  .contact-table tr:not(:first-of-type) td {
    padding-top: 10px;
  }
  .contact-table tr th,
  .contact-table tr td {
    padding-top: 10px;
  }
  .contact-table tr td {
    padding-bottom: 24px;
  }
}
@media screen and (max-width: 599px) {
  #contact {
    padding-bottom: 100px;
  }
  #contact .page-section-title {
    margin-top: 60px;
    margin-bottom: 45px;
  }
  .contact-form-notes {
    margin: 40px auto 0;
  }
  .contact-tel {
    padding: 32px 12px;
  }
  .contact-tel h3 {
    font-size: 2.4rem;
  }
  .contact-tel-number {
    font-size: 3rem;
  }
  input.next {
    -webkit-appearance: none;
    border-radius: 0;
    padding: 18px 88px;
  }
  .contact-buttom {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin: 45px auto 100px;
  }
  input.backbuttom {
    margin-top: 20px;
    -webkit-appearance: none;
    border-radius: 0;
  }
  td.selectbox{
    display: flex;
    flex-direction: column;
  }
  td.selectbox span{
    margin-left:0!important;
  }
}
