/* -------------------------------------------*/ /* -------------------------------------------*/ /* -------------------------------------------*/
/* -------------------------------------------*/
@media screen and (max-width: 767px) {
  body.contact {
    padding-top: 9.6rem;
  }
}
body.contact .c-pageTtl__flex::after {
  background-image: url(../images/contact/page-fv.jpg);
}

.p-contact {
  padding-block: 10rem;
}
@media screen and (max-width: 767px) {
  .p-contact {
    padding-block: 8rem;
    background-color: #fff;
  }
}
.p-contact__inner.u-con--md {
  background-color: #fff;
  padding-block: 8.8rem;
}
@media screen and (max-width: 767px) {
  .p-contact__inner.u-con--md {
    padding: 0;
  }
}
.p-contact__text {
  width: 90%;
  max-width: 1016px;
  margin-inline: auto;
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  .p-contact__text {
    width: 100%;
  }
}
.p-contact__box {
  width: 90%;
  max-width: 1016px;
  margin-inline: auto;
  display: flex;
  gap: 18rem;
}
@media screen and (max-width: 1023px) {
  .p-contact__box {
    gap: 10rem;
  }
}
@media screen and (max-width: 767px) {
  .p-contact__box {
    width: 100%;
    flex-direction: column;
    gap: 3.2rem;
    position: relative;
  }
}
.p-contact__text + .p-contact__box {
  margin-top: 5.6rem;
}
@media screen and (max-width: 767px) {
  .p-contact__text + .p-contact__box {
    margin-top: 4.2rem;
    padding-top: 3.2rem;
  }
}
@media screen and (max-width: 767px) {
  .p-contact__text + .p-contact__box::before {
    content: "";
    display: block;
    width: 20rem;
    height: 1px;
    background-color: #F5F5F5;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.p-contact__li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
@media screen and (max-width: 767px) {
  .p-contact__li {
    flex-direction: row;
  }
}
.p-contact__li::before, .p-contact__li::after {
  content: "";
  display: block;
  width: 1px;
  aspect-ratio: 1/34;
  background-color: #231815;
}
@media screen and (max-width: 767px) {
  .p-contact__li::before, .p-contact__li::after {
    aspect-ratio: 24/1;
    width: 2.4rem;
  }
}
.p-contact__li::before {
  order: 2;
}
.p-contact__li::after {
  order: 4;
}
.p-contact__li-item {
  color: #706D65;
}
.p-contact__li-item.current {
  color: #231815;
  font-weight: 700;
}
.p-contact__li-item:first-child {
  order: 1;
}
.p-contact__li-item:nth-child(2) {
  order: 3;
}
.p-contact__li-item:last-child {
  order: 5;
}
.p-contact__content {
  flex: 1;
  position: relative;
}
.p-contact__content::before {
  content: "";
  display: block;
  width: 1px;
  background-color: #F5F5F5;
  position: absolute;
  left: -9rem;
  top: 0;
  bottom: 0;
  transform: translateX(-100%);
}
@media screen and (max-width: 1023px) {
  .p-contact__content::before {
    left: -5rem;
  }
}
.p-contact__content .p-contact__text {
  width: 100%;
  margin-top: 4.8rem;
}
@media screen and (max-width: 767px) {
  .p-contact__content .p-contact__text {
    margin-top: 2.4rem;
  }
}
.p-contact__h2 {
  font-size: 3.2rem;
  font-weight: 700;
  font-feature-settings: normal;
  letter-spacing: 0.07em;
  padding-left: 1.8rem;
  position: relative;
}
@media screen and (max-width: 767px) {
  .p-contact__h2 {
    font-size: 2.4rem;
  }
}
.p-contact__h2::before {
  content: "";
  display: block;
  width: 0.8rem;
  background-color: #FFF100;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.p-contact__h2.thanks {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
  padding-left: 0;
}
.p-contact__h2.thanks::before {
  display: none;
}

/* -------------------------------------------*/