/* single
---------------------------------------------------------------------------- */
.p-support-single {
  padding-bottom: 0;
}

.m-post-single-ttl {
  margin-bottom: 6rem;
}

.p-support-single-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.p-support-single-list-item {
  display: flex;
  align-items: start;
  gap: 5rem;
  padding: 3rem 5rem;
  padding-left: 6rem;
  background-color: #EEF2F6;
  position: relative;
}
.p-support-single-list-item::before, .p-support-single-list-item::after {
  position: absolute;
  content: "";
  top: 5rem;
  left: 4rem;
  transform: translateX(-50%);
  background-color: #8BA3BA;
}
.p-support-single-list-item::before {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}
.p-support-single-list-item::after {
  width: 1px;
  height: 100%;
}
.p-support-single-list-item:last-child {
  overflow: hidden;
}

.p-support-single-list-item-ttl {
  color: #8BA3BA;
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 200;
  font-family: "Poppins", "Noto Sans JP";
  margin-bottom: 1.5rem;
}

.p-support-single-list-item-img {
  width: 35.6rem;
  min-width: 35.6rem;
}

.m-footer-bottom-btn-wrap {
  background-color: #EEF2F6;
}

@media screen and (max-width: 767px) {
  .m-post-single-ttl {
    margin-bottom: 8vw;
  }
  .p-support-single-list {
    gap: 8vw;
  }
  .p-support-single-list-item {
    flex-direction: column;
    gap: 4vw;
    padding: 5.3333333333vw;
    padding-left: 10.6666666667vw;
  }
  .p-support-single-list-item::before, .p-support-single-list-item::after {
    top: 9.3333333333vw;
    left: 5.3333333333vw;
  }
  .p-support-single-list-item::before {
    width: 1.8666666667vw;
    height: 1.8666666667vw;
  }
  .p-support-single-list-item::after {
    width: 0.2666666667vw;
    height: 100%;
  }
  .p-support-single-list-item-ttl {
    font-size: 6.6666666667vw;
    margin-bottom: 2.6666666667vw;
  }
  .p-support-single-list-item-img {
    width: 100%;
    min-width: 100%;
  }
}
.p-support-post-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 3rem;
}

.p-support-post-list-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 0;
  padding: 2rem;
  padding-bottom: 4rem;
  background-color: #fff;
}
.p-support-post-list-item::before, .p-support-post-list-item::after {
  top: auto;
  transform: none;
}
.p-support-post-list-item::before {
  bottom: 1.5rem;
  right: 1.5rem;
  width: 4.2rem;
}
.p-support-post-list-item::after {
  bottom: 2.3rem;
  right: 2.6rem;
  width: 1.8rem;
}
.p-support-post-list-item.is-hidden {
  display: none;
}
@media (any-hover: hover) {
  .p-support-post-list-item:hover .p-support-post-list-item-img img {
    transform: scale(1.1);
  }
  .p-support-post-list-item:hover .p-support-post-list-item-ttl {
    color: #8BA3BA;
    text-decoration: underline;
  }
}
.p-support-post-list-item .m-tax-item {
  font-size: 1.4rem;
  line-height: 1.5;
}

.p-support-post-list-item-ttl {
  font-weight: 500;
  margin-top: 1rem;
  transition: all 0.3s ease;
  padding-left: 1rem;
  border-left: 1px solid #8BA3BA;
}

@media screen and (max-width: 767px) {
  .p-support-post-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.6666666667vw;
  }
  .p-support-post-list-item {
    gap: 0;
    padding: 4vw;
    padding-bottom: 8vw;
  }
  .p-support-post-list-item::before {
    right: 2.6666666667vw;
    bottom: 2.6666666667vw;
    width: 8.8vw;
  }
  .p-support-post-list-item::after {
    right: 4.5333333333vw;
    bottom: 4.2666666667vw;
  }
  .p-support-post-list-item .m-tax-list {
    gap: 1.3333333333vw 2.6666666667vw;
  }
  .p-support-post-list-item .m-tax-item {
    font-size: 3.7333333333vw;
  }
  .p-support-post-list-item-img {
    aspect-ratio: 157/98;
    margin-bottom: 4vw;
  }
  .p-support-post-list-item-ttl {
    font-size: 4vw;
    line-height: 1.5;
    margin-top: 2.6666666667vw;
    padding-left: 2.6666666667vw;
  }
}
.p-support-post-sec {
  padding: 12rem 0 8rem;
  margin-top: 12rem;
  background-color: #EEF2F6;
}
.p-support-post-sec .p-support-post-list-item {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .p-support-post-sec {
    margin-top: 16vw;
    padding: 16vw 0 10.6666666667vw;
  }
}
