/* ------------
  パンくず
------------- */
.breadcrumb {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
}

.breadcrumb a {
  transition: .5s ease;
}

.breadcrumb a:hover {
  opacity: 0.5;
}

@media screen and (max-width: 750px) {
  .breadcrumb {
    display: none;
  }
}

/* ------------
  検索マップ
------------- */
canvas {
  cursor: pointer;
}

.mapCanvas {
  width: 100%;
  height: 100%;
}

.map {
  margin: 60px 0;
  position: relative;
}

.map__item {
  position: absolute;
  transition: .5s ease;
  z-index: 10;
}

.map__item:hover {
  opacity: 0.5;
}

.map__item:before {
  content: '';
  position: absolute;
  height: 1px;
  background: var(--color-main);
}

.map__item a {
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-main);
}

.map__item--01 {
  top: 30%;
  right: 2%;
  width: 120px;
  text-align: right;
}

.map__item--01:before {
  width: 40px;
  left: -37px;
  bottom: -10px;
  transform: rotate(-30deg);
}

.map__item--02 {
  top: 58%;
  right: 15%;
  width: 70px;
  text-align: right;
}

.map__item--02:before {
  width: 52px;
  left: -48px;
  bottom: -13px;
  transform: rotate(-30deg);
}

.map__item--03 {
  top: 52%;
  right: 51%;
  width: 70px;
}

.map__item--03:before {
  width: 45px;
  right: -42px;
  bottom: -11px;
  transform: rotate(30deg);
}

.map__item--04 {
  top: 82%;
  right: 46%;
  width: 70px;
  text-align: right;
}

.map__item--04:before {
  width: 52px;
  left: -46px;
  bottom: 17px;
  transform: rotate(40deg);
}

.map__item--05 {
  top: 59%;
  right: 76%;
  width: 100px;
}

.map__item--05:before {
  width: 49px;
  right: -45px;
  bottom: -12px;
  transform: rotate(30deg);
}

.map__item--06 {
  top: 82%;
  right: 96%;
  width: 95px;
}

.map__item--06:before {
  width: 52px;
  right: -49px;
  bottom: 11px;
  transform: rotate(-25deg);

}

@media screen and (max-width: 1024px) {
  .contentWrap--search {
    padding: 0 0 0 60px;
  }

  .map__item--04 {
    top: 82%;
    right: 42%;
    width: 70px;
    text-align: right;
  }
}

@media screen and (max-width:750px) {
  .map {
    display: none;
  }
}

/* --------------
  エリア
---------------- */
.area {
  padding: 90px 40px 60px;
}

.area__title {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-light-blue);
}

.area__list {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.area__item {
  width: 100%;
  height: fit-content;
}

.area__item-title {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--color-light-blue);
  background: #F2F8FD;
  padding: 20px 30px;
}

.area__item-title span {
  flex: 1;
  padding-right: 50px;
}

.area__item-title::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-top: 1px solid var(--color-main);
  border-left: 1px solid var(--color-main);
  position: absolute;
  top: 45%;
  right: 30px;
  transform: translateY(-50%) rotate(-135deg);
}

.area__item-title.is-active::after {
  transform: translateY(-50%) rotate(45deg);
  top: 60%;
}

.area__item-contents {
  padding: 40px 70px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 50px;
}

.area__category {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(74, 166, 231, 0.5);
  display: flex;
  justify-content: space-between;
  transition: .5s ease;
}

.area__category:hover {
  opacity: 0.7;
}

.area__category span {
  flex: 1;
}

.JsAcBtn {
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.JsAcBtn:hover {
  opacity: 0.7;
}

@media screen and (max-width: 750px) {
  .area {
    padding: 0;
  }

  .area__list {
    margin-top: 6rem;
  }

  .area__item-title {
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    padding-right: 5rem;
  }

  .area__item-title::after {
    width: 1.2rem;
    height: 1.2rem;
    right: 3rem;
  }

  .area__item-contents {
    padding: 3rem 0.4rem 5rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .area__category {
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
    padding-bottom: 1rem;
  }

  .area__category svg {
    width: 0.8rem;
    height: 1.3rem;
  }
}

/* ----------------------------
  検索結果(タクソノミーページ)
---------------------------- */
.result__head {
  padding: 90px 40px;
  background: #F2F8FD;
}

.result__head-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.result__category-list {
  max-width: 865px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.result__category-link {
  display: block;
  width: 100%;
  height: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(74, 166, 231, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: .5s ease;
}

.result__category-link:hover {
  opacity: 0.5;
}

.result__category-link span {
  flex: 1;
}

.result__content {
  padding: 90px 40px;
}

.clinic__list {
  display: flex;
  flex-direction: column;
}

.clinic__item {
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-light-blue);
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
}

.clinic__name {
  width: fit-content;
  width: 23%;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.clinic__name a {
  text-decoration-line: underline;
  transition: .5s ease;
}

.clinic__name a:hover {
  opacity: 0.5;
}

.clinic__name a {
  flex: 1;
}

.clinic__name::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--color-light-blue);
}

.clinic__tel {
  margin-left: 8%;
  width: 135px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: .5s ease;
}

.clinic__tel:hover {
  opacity: 0.5;
}

.clinic__address {
  margin-left: 8%;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.postal__code {
  width: fit-content;
}

.address__text {
  flex: 1;
}

.no-clinic {
  text-align: center;
  padding: 50px 0;
}

@media screen and (max-width: 1024px) {
  .result__category-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .clinic__tel {
    margin-left: 8%;
  }

  .clinic__address {
    margin-left: 8%;
  }
}

@media screen and (max-width: 750px) {
  .result__head {
    padding: 6rem 3.1rem;
  }

  .result__category-list {
    margin: 3rem 1rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }

  .result__category-link {
    padding-bottom: 1rem;
    gap: 0.5rem;
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
  }

  .result__category-link svg {
    width: 0.8rem;
    height: 1.3rem;
  }

  .result__content {
    padding: 6rem 3.3rem;
  }

  .clinic__list {
    gap: 0;
  }

  .clinic__item {
    width: 100%;
    padding: 3rem 0;
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }

  .clinic__item:last-child {
    border-bottom: none;
  }

  .clinic__name {
    width: 100%;
    font-size: 1.6rem;
    line-height: 1.4;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .clinic__name::before {
    width: 1.2rem;
    height: 1.2rem;
  }

  .clinic__tel {
    width: 100%;
    margin-left: 0;
    gap: 0.5rem;
  }

  .clinic__tel svg {
    width: 2.1rem;
    height: 2.1rem;

  }

  .clinic__address {
    margin-left: 0;
    gap: 1rem;
    flex-direction: column;
  }

  .postal__code,
  .address__text {
    width: 100%;
  }

  .no-clinic {
    text-align: center;
    padding: 2rem 0;
  }
}

/* pagenation */
.page-navigation {
  margin-top: 90px;
}

.page-navigation .wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.page-navigation .wp-pagenavi a,
.page-navigation .wp-pagenavi span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  margin: 0 !important;
  padding: 5px 0 0 !important;
  border: 1px solid #4AA6E7;
  transition: .3s ease;
}

.page-navigation .wp-pagenavi a:hover {
  background: #F2F8FD;
  border-color: transparent;
}

.wp-pagenavi span.current {
  background: #F2F8FD;
  border: none;
}

@media screen and (max-width: 750px) {

  /* pagenation */
  .page-navigation {
    margin-top: 6rem;
  }

  .page-navigation .wp-pagenavi {
    gap: 0.8rem;
  }

  .page-navigation .wp-pagenavi a,
  .page-navigation .wp-pagenavi span {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.2rem;
    letter-spacing: 0.06rem;
  }
}