@charset "utf-8";
.contact{
    margin-bottom: 80px;
    position: relative;
}
.service_contact{
    background-image:url(../img/contact_bg01.png);
    background-repeat: no-repeat;
    height: 500px;
    margin: 0 auto;
    margin: 0 calc(45% - 45vw);
    width: 100vw;
}
.recruit_contact{
    background-image:url(../img/contact_bg02.png);
    background-repeat: no-repeat;
    height: 500px;
    margin: 0 auto;
    margin: 0 calc(45% - 45vw);
    width: 100vw;
}
.contact_area{
    max-width: 1200px;
    margin: 80px auto;
     padding: 120px 0;
}
.contact_title{
    font-size: 4.8rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 12px;
}
.contact_text{
    color: #fff;
    font-size: 2.4rem;
    margin: 0 auto 64px;
}
.contact_btn_area{
    display: flex;
    justify-content: flex-start;
}
.contact_button {
  position: relative;
  max-width: 400px;
  min-width: 400px;
}
.contact_button:first-child{
    margin-right: 24px;
}
.contact_button a{
  display: block;
  background: #ffffff;
  color: #348BCD;
  padding-right: 100px;
  cursor: pointer;
  font-size: 2.0rem;
  font-weight: bold;
  border-radius: 80px;
  padding:20px 28px 24px;
  padding-left: 60px;
  text-align: left;
}
.mail a{
    padding-left: 70px;
}

.contact_button a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  border: 7px solid transparent;
  background: linear-gradient(to right,#003975,#348BCD 100%) border-box border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
}

.contact_button a::after{
  content: "";
  position: absolute;
  background-image: url(../../common/img/arrowBlue.png);
  background-repeat: no-repeat;
  width: 12px;
  height: 20px;
  top: 35%;
  right: 50px;
  background-size: 100%;
  transform: scale(-1, 1);
}
.contact_button a span::before{
    content: "";
  position: absolute;
  background-image: url(../img/icon_tel.png);
  background-repeat: no-repeat;
  width: 17px;
  height: 22px;
  top: 35%;
  left: 30px;
  background-size: 100%;
}
.contact_button a:hover span::before{
  background-image: url(../img/icon_tel_on.png);

}

.mail a span::before{
    content: "";
  position: absolute;
  background-image: url(../img/icon_mail.png);
  background-repeat: no-repeat;
  width: 28px;
  height: 22px;
  top: 35%;
  left: 30px;
  background-size: 100%;
}
.mail a:hover span::before{
  background-image: url(../img/icon_mail_on.png);

}
.contact_button a:hover{
  background: linear-gradient(to right,#003975,#348BCD 100%) ;
  color: #fff;
}
.contact_button a:hover::after{
  content: "";
  position: absolute;
  background-image: url(../../common/img/arrowWhite.png);
  background-repeat: no-repeat;
  width: 12px;
  height: 20px;
  top: 35%;
  right: 50px;
  background-size: 100%;
  transform: inherit;
}

.privacy_contact{
  text-align: center;
}
@media screen and (max-width: 740px) {
    .service_contact{
    background-image:url(../img/contact_bg01_sp.png);
    background-repeat: no-repeat;
    background-size: 100%;
    height: auto;
    margin: 0 auto;
    width: 100%;
    min-height: 250px;
}
.recruit_contact{
    background-image:url(../img/contact_bg02_sp.png);
       background-repeat: no-repeat;
    background-size: 100%;
    height: auto;
    margin: 0 auto;
    width: 100%;
    min-height: 250px;
}
.contact_area{
    max-width: inherit;
    margin: 0 auto;
     padding: 80px 10px;
}
.contact_title{
    font-size: 2.4rem;
    margin-bottom: 6px;
}
.contact_text{
    color: #fff;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}
.contact_btn_area{
    flex-wrap: wrap;
}
.contact_button {
  position: relative;
  max-width: 240px;
  min-width: 240px;
}
.contact_button:first-child{
    margin-right: 0;
    margin-bottom: 10px;
}
.contact_button a{
  padding:15px 20px;
  padding-left: 30px;
  font-weight: normal;
  font-size: 1.3rem;
}
.mail a{
    padding-left: 35px;
}

.contact_button a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  border: 4px solid transparent;
  background: linear-gradient(to right,#003975,#348BCD 100%) border-box border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
}

.contact_button a::after{
  content: "";
  position: absolute;
  background-image: url(../../common/img/arrowBlue.png);
  background-repeat: no-repeat;
  width: 12px;
  height: 20px;
  top: 12px;
  right: 50px;
  background-size: 100%;
  transform: scale(-1, 1);
}
.contact_button a span::before{
    content: "";
  position: absolute;
  background-image: url(../img/icon_tel.png);
  background-repeat: no-repeat;
  width: 12px;
  height: 15px;
  top: 15px;
  left: 15px;
  background-size: 100%;
}
.contact_button a:hover span::before{
  background-image: url(../img/icon_tel_on.png);

}

.mail a span::before{
    content: "";
  position: absolute;
  background-image: url(../img/icon_mail.png);
  background-repeat: no-repeat;
  width: 19px;
  height: 15px;
  top: 15px;
  left: 15px;
  background-size: 100%;
}
.mail a:hover span::before{
  background-image: url(../img/icon_mail_on.png);

}
.contact_button a:hover{
  background: linear-gradient(to right,#003975,#348BCD 100%) ;
  color: #fff;
}
.contact_button a:hover::after{
  content: "";
  position: absolute;
  background-image: url(../../common/img/arrowWhite.png);
  background-repeat: no-repeat;
  width: 12px;
  height: 20px;
  top: 35%;
  right: 50px;
  background-size: 100%;
  transform: inherit;
}

.privacy_contact{
  text-align: center;
}
}