
/*///////////////////////////////////////////////////
//
//            ▼ contact02 ▼
//
///////////////////////////////////////////////////*/
.contact02 {
  padding: 0 0 35rem;
}

@media screen and (min-width: 768px) and (max-width: 1025.999px) {
  .contact02 {
    padding: 0 0 30rem;
  }
}

.contact02 .contact_ttl_box p {
  margin: 3.75rem 0 0;
}

.contact02 .contact_ttl_box p span {
  color: #085d99;
}

.contact02 .att_box {
  margin: 3.75rem 0 0;
}

.contact02 .att_box p {
  margin: .5rem 0;
}

.contact02 .att_box p a {
  display: inline-block;
  font-weight: bold;
  border-bottom: 1px solid #085d99;
  line-height: 1.2;
  transition: .3s;
}

.contact02 .att_box p a:hover {
  border-bottom: 1px solid transparent;
}

.contact02 .box {
  max-width: 67.5rem;
  margin: 3.125rem auto;
}

.contact02 .box .item .inner:first-of-type {
  font-weight: bold;
  margin: 2rem 0 1.375rem;
}

.contact02 .box .item .inner:first-of-type span {
  color: #085d99;
}

.contact02 .box .item .inner:last-of-type input,
.contact02 .box .item .inner:last-of-type textarea {
  width: 100%;
  background: #ededed;
  border: none;
  padding: 1rem 1.875rem;
  line-height: 2;
  font-size: 1rem;
}

.contact02 .box .item .inner:last-of-type input::placeholder,
.contact02 .box .item .inner:last-of-type textarea::placeholder {
  color: #888;
}

.contact02 .box .acceptance {
  margin: 3.125rem 0 2.25rem;
}

.contact02 .box .acceptance .inner {
  margin: 0 auto;
  text-align: center;
}

.contact02 .box .acceptance .inner input {
  opacity: 0;
}

.contact02 .box .acceptance .inner input:checked+label::after {
  opacity: 1;
  transition: 0.3s;
}

.contact02 .box .acceptance .inner label {
  position: relative;
  cursor: pointer;
  padding: 0 0 0 1.5rem;
}

.contact02 .box .acceptance .inner label::before {
  position: absolute;
  top: 55%;
  right: 100%;
  transform: translate(8%, -45%);
  width: 1.625rem;
  height: 1.625rem;
  border: 2px solid #000;
  content: "";
}

.contact02 .box .acceptance .inner label::after {
  position: absolute;
  top: 25%;
  right: 98%;
  transform: translate(8%, -45%) rotate(-45deg);
  width: 1.25rem;
  height: 0.75rem;
  border-left: 3px solid #085d99;
  border-bottom: 3px solid #085d99;
  content: "";
  opacity: 0;
}

.contact02 .box .acceptance .inner label a {
  display: inline;
  font-weight: bold;
  border-bottom: 1px solid #085d99;
  transition: 0.3s;
}

.contact02 .box .acceptance .inner label a:hover {
  border-bottom: 1px solid transparent;
}

.contact02 .box .submit {
  width: 18.75rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.contact02 .box .submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  background: #085D99;
  width: 120%;
  height: 100%;
  transform: skewX(-25deg);
  transition: 0.3s;
  z-index: -1;
}

.contact02 .box .submit:hover::before {
  left: -10%;
}

.contact02 .box .submit button {
  width: 100%;
  text-align: center;
  border: 2px solid #085D99;
  background: transparent;
  color: #085D99;
  padding: 1.5625rem;
  font-size: 1.25rem;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.contact02 .box .submit button:hover {
  color: #fff;
}

.contact02::before {
  position: absolute;
  content: "";
  bottom: -18rem;
  left: 0;
  width: 100%;
  height: 53.5rem;
  background: linear-gradient(-94deg, #085d99 50.77%, rgba(8, 93, 153, 0.8) 88.05%);
  clip-path: polygon(0 35%, 100% 0%, 100% 65%, 0 100%);
}

@media screen and (min-width: 1026px) and (max-width: 1279.999px) {
  .contact02::before {
    bottom: -12rem;
    clip-path: polygon(0 25%, 100% 0%, 100% 53%, 0 78%);
  }
}

@media screen and (min-width: 768px) and (max-width: 1025.999px) {
  .contact02::before {
    clip-path: polygon(0 25%, 100% 0%, 100% 45%, 0 70%);
  }
}

/*///////////////////////////////////////////////////
//
//            ▼ CTA（contact） ▼
//
///////////////////////////////////////////////////*/
@media screen and (min-width: 1026px) and (max-width: 1279.999px) {
  #contact .contact_cta {
    margin-top: -20rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1025.999px) {
  #contact .contact_cta {
    margin-top: -13.75rem;
  }
}