main {
  background: none;
}

main::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../img/hp-kv.png') #f8f8f8 center center / cover no-repeat;
  z-index: -1;
}



.contact-pc {
  display: block;
}

.contact-sp {
  display: none;
}

.contact-pc2 {
  display: block;
}

.contact-sp2 {
  display: none;
}

.hp-kv-top {
  padding: 200px 0 30px;
  border-bottom: #0065bc4f solid 2px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hp-kv-title {
  font-weight: bold;
  font-size: 2rem;
	color:#0065bc;
}

.hp-kv-title span {
  display: block;
  font-size: 0.8rem;
}

.hp-sitemap {
  font-size: 0.8rem;
  color: #000000;
}


.contactimg {
  max-width: 450px;
  margin: 80px auto 30px;
  width: 100%;
}

.hp-contact-list-container {
  padding: 50px 0;
}

.hp-contact-list-container .Wrapper {
  background-color: #0264bc1c;
  padding: 5%;
}

.contactTxt1 {
  text-align: center;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 3.334%;
}

.contactTable {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-family: "Segoe UI", sans-serif;
}

.contactTable th,
.contactTable td {
  padding: 16px 12px;
  vertical-align: top;
  font-size: 14px;
  display: block;
}

.contactTable th {
  font-weight: bold;
  padding: 16px 12px 0;
}

.contactTable .required {
  background: #e60033;
  color: white;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 5px;
  display: inline-block;
}

.contactTable input[type="text"],
.contactTable input[type="email"],
.contactTable input[type="tel"],
.contactTable textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.contactTable input:focus,
.contactTable textarea:focus {
  border-color: #e60033;
  outline: none;
}

.contactTable .error {
  border-color: #e60033 !important;
}

.contactBtn {
  text-align: center;
}

.contactBtn input[type="submit"] {
  background: #0065bc;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  width: 150px;
}

.contactBtn input[type="submit"]:hover {
  opacity:0.7;
	transition: all 0.4s ease;
}

.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 1em;
  display: block;
  font-weight: bold;
  margin-top: 5px;
}

.wpcf7-spinner {
  display: none !important;
}

.contacta {
  margin: 10px auto;
  text-align: center;
  display: block;
  font-size: 9pt;
  line-height: 1.5;
}

.contacta a {
  text-decoration: underline;
}

.tel-link {
  pointer-events: none;
  cursor: default;
}

.hp-contact-thanks {
  padding: 5% 2.865%;
  max-width: 976px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.hp-contact-thanks .title {
  font-size: 24px;
  margin: 0 0 60px;
  line-height: 1.6;
}

.hp-contact-thanks .text {
  line-height: 2;
}

.hp-contact-thanks .text p {
  font-size: 14px;
}

.hp-contact-thanks .text a {
  display: block;
}

.hp-contact-thanks .text a.tel-link {
  font-size: 24px;
  color: #0166bc;
  margin: 30px 0 5px;
  line-height: 1;
  letter-spacing: 1px;
}

.hp-contact-thanks .text a.tel-link span {
  font-size: 18px;
  margin-right: 2px;
}

.hp-contact-thanks .text a.top-link {
  display: inline-block;
  color:#0166bc;
  margin: 40px 0 0;
  text-decoration: underline;
}

.hp-contact-thanks .text a.top-link:hover {
  text-decoration: none;
}

.hp-sec5-bottom {
  background-color: #ffffff;
  position: relative;
  z-index: 0;
  margin-top: -3px;
}

.hp-sec5-bottom2 {
  background: url('../../img/hp-kv.png') #f8f8f8 center center / cover no-repeat;
  clip-path: polygon(0% -3px, 100% -3px, 100% 100%, 0% 0);
  height: 90px;
  position: relative;
  z-index: 1;
  margin-top: -3px;
}

.hp-sec5-bottom3 {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: #0264bc;
  height: 100%;
  margin-top: -3px;
}

.hp-sec6 {
  background: #fff;
  padding: 60px 0;
}

.hp-sec6-flex {
  display: flex;
  gap: 5%;
  align-items: center;
  justify-content: center;
}

.hp-sec6-left {
  width: 40%;
  max-width: 250px;
}

.hp-sec6-right {
  width: 60%;
  max-width: 500px;
}

.hp-sec6-right p {
  font-size: 1.8rem;
  line-height: 1.5;
  text-decoration: underline #75a9d8;
  font-weight: bold;
}


@media screen and (max-width:1024px) {

  .hp-kv-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-sitemap {
    margin: 20px 0 0 auto;
  }


}

@media screen and (max-width:768px) {

  .hp-kv-top {
    padding: 150px 0 20px;
  }

  .hp-sec5-bottom2 {
    height: 50px;
  }

    .tel-link {
      pointer-events: auto;
      cursor: pointer;
    }

}

@media screen and (max-width:660px) {

    .contactTxt1 {
        text-align: left;
      }

      .hp-contact-thanks {
        padding: 5% 2.865% 15%;
      }

      .hp-contact-thanks .title {
        font-size: 20px;
        margin: 0 0 40px;
      }

      .hp-contact-thanks .text a.tel-link {
        font-size: 20px;
      }

      .hp-contact-thanks .text a.tel-link span {
        font-size: 16px;
      }

      .hp-contact-thanks .text a.top-link {
        margin: 30px 0 0;
        text-decoration: underline;
      }

  .hp-sec6-flex {
    flex-direction: column;
    gap: 30px;
  }

  .hp-kv-left,
  .hp-kv-right {
    width: 100%;
  }

  .hp-kv-title {
    line-height: 1.5;
  }

  .hp-sec6-right {
    width: 100%;
    text-align: center;
  }

  .hp-sec6-left {
    width: 170px;
  }

  .hp-sec6-right p {
    font-size: 1.2rem;
  }

}
