.sp-only {
  display: none;
}

#body_wrap.post-type-archive-post-therapist .l-content {
  padding-top: 0;
  margin-bottom: 0;
}

#body_wrap.post-type-archive-post-therapist #content > main > .p-therapist {
  background-color: #fff;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.p-therapist {
  position: relative;
  overflow: hidden;
}
.p-therapist__garland {
  width: 100%;
  height: 87px;
  background-image: url("../img/Group 18.png");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 87px;
}
.p-therapist::before {
  content: "";
  position: absolute;
  top: 203px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  height: 100%;
  max-width: 1430px;
  background-image: url("../img/kirakira.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 0;
}
.p-therapist__deco {
  position: absolute;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}
.p-therapist__deco--left {
  left: 0;
  width: 42%;
  aspect-ratio: 585/234;
  background-image: url("../img/leaf_bg01.png");
  z-index: 2;
}
.p-therapist__deco--right {
  right: 0;
  width: 21%;
  aspect-ratio: 298/216;
  background-image: url("../img/leaf_bg02.png");
  z-index: 2;
}

.p-therapist__inner {
  padding: 65px 0 150px;
  text-align: center;
  max-width: 915px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.p-therapist__head {
  margin-bottom: 80px;
}

.p-therapist__lead {
  font-size: 17px;
  font-weight: 600;
  color: #718066;
}

.p-therapist__title {
  width: 39%;
  margin: 15px auto 40px;
  position: relative;
}
.p-therapist__title img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-therapist__title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 11px;
  background-image: url("../img/gold_line01.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.p-therapist__text {
  font-size: 15px;
  font-weight: 600;
}

.p-therapist__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 200px 40px;
  align-items: start;
  margin-bottom: 120px;
}

.p-therapist-card {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
}
.p-therapist-card:nth-child(3n+2) {
  transform: translateY(90px);
}

.p-therapist-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 279/253;
}

.p-therapist-card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 2;
  pointer-events: none;
}

.frame-1::after {
  background-image: url("../img/image_1.png");
}

.frame-2::after {
  background-image: url("../img/image_2.png");
}

.frame-3::after {
  background-image: url("../img/image_3.png");
}

.frame-4::after {
  background-image: url("../img/image_12.png");
}

.frame-5::after {
  background-image: url("../img/image_10.png");
}

.frame-6::after {
  background-image: url("../img/image_13.png");
}

.p-therapist-card__photo {
  position: absolute;
  left: 55%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 125px;
  height: 170px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  z-index: 1;
}

.frame-2 .p-therapist-card__photo,
.frame-4 .p-therapist-card__photo,
.frame-6 .p-therapist-card__photo {
  left: 48%;
}

.p-therapist-card__name {
  color: #825400;
  font-size: 17px;
  font-weight: 600;
  margin-top: 10px;
}

.p-therapist__btn-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 73%;
  margin: 0 auto;
}

.p-therapist__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48%;
  padding: 26px 0;
  border: 1px solid #A79A06;
  text-decoration: none;
  transition: opacity 0.3s;
  background-color: #fff;
}
.p-therapist__btn:hover {
  opacity: 0.7;
}
.p-therapist__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 26px;
  height: 5px;
  transform: translateY(-50%);
  background: url("../img/arrow.png") no-repeat center/cover;
}

.p-therapist__btn-text {
  font-size: 16px;
  font-weight: 600;
  color: #A79A06;
}

.p-therapist-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s ease, visibility 1s ease;
  pointer-events: none;
}
.p-therapist-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.p-therapist-modal.is-open .p-therapist-modal__content {
  opacity: 1;
  transform: translateY(0);
}

.p-therapist-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: #787878;
  opacity: 0.8;
  z-index: 1;
}

.p-therapist-modal__content {
  position: relative;
  z-index: 2;
  width: 53.7%;
  max-width: 812px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 50px;
  background-color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.p-therapist-modal__content-inner {
  position: relative;
}

.p-therapist-modal__close-pc {
  display: block;
}

.p-therapist-modal__close-sp {
  display: none;
}

.p-therapist-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: transparent;
  font-size: 37px;
  color: #825400;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.p-therapist-modal__head {
  display: grid;
  grid-template-columns: 303px 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.p-therapist-modal__img {
  width: 100%;
}
.p-therapist-modal__img img {
  width: 100%;
  height: auto;
  display: block;
}

.p-therapist-modal__name {
  color: #825400;
  font-size: 22px;
  font-weight: 600;
}

.p-therapist-modal__role {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #825400;
  font-size: 16px;
}

.p-therapist-modal__body {
  margin-bottom: 30px;
}

.p-therapist-modal__text,
.p-therapist-modal__note {
  font-size: 16px;
  line-height: 1.75;
}

.p-therapist-modal__title,
.p-therapist-modal__subTitle {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #825400;
  color: #825400;
  font-size: 18px;
  font-weight: 600;
}

.p-therapist-modal__link {
  display: inline-block;
  width: 38%;
  border-radius: 10px;
  padding: 15px 0;
  border: 1px solid #825400;
  text-decoration: none;
  transition: opacity 0.3s;
  background-color: #fff;
  color: #825400;
  font-size: 19px;
  margin-bottom: 14px;
  text-align: center;
}
.p-therapist-modal__link:hover {
  opacity: 0.7;
}

@media screen and (max-width: 960px) {
  .p-therapist-modal__content {
    width: 84.7%;
  }
}
@media screen and (max-width: 600px) {
  .sp-only {
    display: block;
  }
  .p-therapist__inner {
    padding: 65px 20px 150px;
    width: 100%;
  }
  .p-therapist__title {
    width: 80%;
  }
  .p-therapist__list {
    grid-template-columns: 1fr;
    gap: 70px;
    margin-bottom: 80px;
  }
  .p-therapist-card {
    width: 78%;
  }
  .p-therapist-card:nth-child(3n+2) {
    transform: translateY(0);
  }
  .p-therapist-card:nth-child(odd) {
    justify-self: start;
  }
  .p-therapist-card:nth-child(even) {
    justify-self: end;
  }
  .p-therapist-card__frame {
    width: 100%;
    margin: 0;
  }
  .p-therapist__btn-wrap {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .p-therapist__btn {
    width: 100%;
    padding: 22px 0;
  }
  .p-therapist-modal__content {
    width: 90%;
	height: 75vh;
    padding: 10px 20px;
  }
  .p-therapist-modal__content-inner {
    padding: 60px 0;
  }
  .p-therapist-modal__head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .p-therapist-modal__profile > .p-therapist-modal__text {
    margin-top: 10px;
  }
  .p-therapist-modal__link {
    width: 86%;
    display: block;
    margin: 0 auto 18px;
	font-size: 16px;
  }
  .p-therapist-modal__text,
  .p-therapist-modal__note {
    font-size: 16px;
    line-height: 1.8571428571;
  }
  .p-therapist-modal__img {
    width: 70%;
    margin: 0 auto;
  }
  .p-therapist-modal__img img {
    width: 100%;
    height: auto;
    display: block;
  }
  .p-therapist-modal__close-pc {
    display: none;
  }
  .p-therapist-modal__close-sp {
    display: block;
  }
}/*# sourceMappingURL=therapist-market.css.map */