@charset "UTF-8";
.main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/main_backimg.png);
  opacity: 0.5; /* 背景画像のみ透過 */
  z-index: -1; /* 背景を後ろに配置 */
}

.contactTopImage {
  position: relative;
  width: 100%;
  height: auto;
  z-index: -1;
}
.contactTopImage img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contactTopTitle {
  position: absolute;
  display: flex;
  max-width: 1150px;
  margin: 0 auto;
  top: 63%;
  left: 15%;
  line-height: 1;
}

.contactTopTitle::before {
  content: "";
  width: 10px;
  height: auto;
  display: inline-block;
  background-color: #4F6A8E;
  border: solid 1px #707070;
}

.centerBox {
  position: relative;
}

.contactPrivacyLink {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 60px;
  background-color: #FFFFFF;
  color: #038FD9;
  border: solid 1px #038FD9;
  border-radius: 20px;
  text-decoration: none;
  margin: 0 auto;
}

.contactPrivacyLink:hover {
  background-color: #038FD9;
  color: #FFFFFF;
}

.contactFormTitle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contactFormText {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contactFormTable {
  width: 100%;
}
.contactFormTable tr {
  height: 70px;
  border-bottom: solid 1px #CECECE;
}
.contactFormTable .noneborder {
  border-bottom: none;
}
.contactFormTable .formtext {
  max-width: 560px;
  height: 36px;
  border: none;
  background-color: #EFEFEF;
}
.contactFormTable .formtextbox {
  max-width: 560px;
  height: 220px;
  margin: 17px 0;
  border: none;
  background-color: #EFEFEF;
}
.contactFormTable .contactFormGender {
  display: flex;
  justify-content: space-between;
  max-width: 90px;
}

.contactFormcontact {
  vertical-align: top;
  padding-top: 20px;
}

.contactFormRequired {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 21px;
  font-size: 15px;
  background-color: #E55858;
  color: #FFFFFF;
  border-radius: 30px;
  margin-right: 20px;
  margin-top: 23px;
}

.contactFormOptional {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 21px;
  font-size: 15px;
  background-color: #B1B1B1;
  color: #FFFFFF;
  border-radius: 30px;
  margin-top: 23px;
}

.contactFormSend {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 206px;
  height: 37px;
  color: #ffffff;
  background-color: #516C8E;
  border: solid 1px #707070;
  border-radius: 20px;
  text-decoration: none;
  margin: 40px auto;
}

.contactFormSend:hover {
  cursor: pointer;
}

@media (min-width: 960px){
  .contactTopImage img {
    height: auto;
  }
  .contactTopImage {
    height: auto;
  }
  .contactPrivacyLink {
    width: 400px;
    height: 80px;
  }
  .contactFormTable .formtext {
    width: 560px;
  }
  .contactFormTable .formtextbox {
    width: 560px;
  }
  .contactFormTable .contactFormGender {
    max-width: 230px;
  }
}

/*# sourceMappingURL=contact.css.map*/