/* index
---------------------------------------------------------------------------- */
.m-page-mv-img {
  background: url(../../images/guide/bg_mv_pc.png) no-repeat center/contain;
}

.p-guide {
  padding-bottom: 12rem;
}

.p-guide-card-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 33.3333333333%));
  gap: 5rem 2rem;
}

.p-guide-card {
  display: flex;
  flex-direction: column;
  border-radius: 2rem;
  padding: 4rem 2rem 3rem;
  margin-top: 2rem;
  background: #DFF3F4;
  position: relative;
}
.p-guide-card .m-btn01 {
  margin-top: 0;
}

.p-guide-label {
  position: absolute;
  top: 0;
  left: 3rem;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 700;
  font-family: "Gilroy", "Noto Sans JP";
  width: 10.5rem;
  height: auto;
  aspect-ratio: 105/36;
  padding-right: 1rem;
  background: url(../../images/guide/bg_label_pc.svg) no-repeat center/contain;
}
.p-guide-label span {
  font-size: 2.4rem;
}

.p-guide-icon-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.p-guide-icon {
  width: 8.3rem;
  height: 8.3rem;
}

.p-guide-title {
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.p-guide-count {
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.p-guide-desc {
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 400;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.p-guide-list {
  margin-top: auto;
  margin-bottom: 2.5rem;
}

.p-guide-list-item:not(:last-child) {
  margin-bottom: 1rem;
}
.p-guide-list-item a {
  display: block;
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 700;
  width: 100%;
  padding: 1.4rem 1.5rem 1rem;
  padding-right: 5rem;
  border-radius: 9999px;
  background: #fff;
  position: relative;
  transition: all 0.3s;
}
.p-guide-list-item a h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p-guide-list-item a span {
  color: #01837B;
  font-size: 1.4rem;
  margin-right: 0.5em;
}
.p-guide-list-item a::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 1.2rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: url(../../images/common/icn_arw-circlre_gr.png) no-repeat center/contain;
}
@media (hover: hover) {
  .p-guide-list-item a:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 767px) {
  .m-page-mv-img {
    background: url(../../images/guide/bg_mv_sp.png) no-repeat center/contain;
  }
  .p-guide-card-wrap {
    grid-template-columns: minmax(0, 100%);
    gap: 9.3333333333vw;
    margin-top: 2rem;
  }
  .p-guide-card-wrap .m-btn01 {
    height: 12.2666666667vw;
  }
  .p-guide-card {
    border-radius: 2.6666666667vw;
    padding: 9.3333333333vw 5.3333333333vw 8vw;
    margin-top: 4vw;
  }
  .p-guide-label {
    left: 5.3333333333vw;
    gap: 1.3333333333vw;
    font-size: 3.4666666667vw;
    width: 22.1333333333vw;
    aspect-ratio: 105/36;
    padding-right: 2.6666666667vw;
    background: url(../../images/guide/bg_label_pc.svg) no-repeat center right/cover;
  }
  .p-guide-label span {
    font-size: 5.3333333333vw;
  }
  .p-guide-icon-wrap {
    gap: 5.3333333333vw;
    padding: 0;
    margin-bottom: 2.6666666667vw;
  }
  .p-guide-icon {
    width: 18.6666666667vw;
    height: 18.6666666667vw;
  }
  .p-guide-title {
    font-size: 4.8vw;
    margin-bottom: 0;
  }
  .p-guide-count {
    font-size: 3.4666666667vw;
  }
  .p-guide-desc {
    font-size: 3.7333333333vw;
    padding: 0;
    margin-bottom: 5.3333333333vw;
  }
  .p-guide-list {
    margin-bottom: 5.3333333333vw;
  }
  .p-guide-list-item:not(:last-child) {
    margin-bottom: 2.6666666667vw;
  }
  .p-guide-list-item a {
    font-size: 4vw;
    padding: 3.4666666667vw 5.3333333333vw;
    padding-right: 10.6666666667vw;
  }
  .p-guide-list-item a span {
    font-size: 3.4666666667vw;
  }
  .p-guide-list-item a::before {
    right: 3.2vw;
    width: 5.3333333333vw;
    height: 5.3333333333vw;
  }
}
/* taxonomy
---------------------------------------------------------------------------- */
.p-guide-tax-mv {
  text-align: center;
  padding: 3rem 0 4rem;
  margin-bottom: 6rem;
  border-radius: 2rem;
  background-color: #DFF3F4;
}

.p-guide-tax-mv-txt01 {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  width: fit-content;
  padding: 1rem 2rem 0.6rem;
  margin: 0 auto 2rem;
  border-radius: 0.8rem;
  background-color: #01837B;
  position: relative;
}
.p-guide-tax-mv-txt01::before {
  position: absolute;
  content: "";
  bottom: 0.4rem;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 2.7rem;
  height: auto;
  aspect-ratio: 27/13;
  background-color: #01837B;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.p-guide-tax-mv-inner {
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  width: fit-content;
  gap: 2rem 0;
  margin: auto;
}

.p-guide-tax-mv-label {
  grid-column: 2/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
  font-family: "Gilroy", "Noto Sans JP";
  width: 7.8rem;
  height: auto;
  aspect-ratio: 78/64;
  padding-right: 1rem;
  margin-right: 2rem;
  background: url(../../images/guide/bg_tax-label_pc.svg) no-repeat center/contain;
}
.p-guide-tax-mv-label span {
  font-size: 2.4rem;
}

.p-guide-tax-mv-ttl {
  font-size: 4rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-top: 0.5rem;
}

.p-guide-tax-mv-icon {
  width: 8.3rem;
  height: 8.3rem;
  margin-left: 3rem;
}

.p-guide-tax-mv-txt02 {
  grid-column: span 5;
}

.p-guide-tax-item-list {
  margin-bottom: 8rem;
}

.p-guide-tax-item:not(:last-child) {
  margin-bottom: 3rem;
  position: relative;
}
.p-guide-tax-item:not(:last-child)::before {
  position: absolute;
  content: "";
  bottom: -0.5rem;
  left: 5rem;
  transform: translateY(100%);
  width: 2.1rem;
  height: 2.1rem;
  background: url(../../images/guide/img_line_pc.svg) no-repeat center/contain;
}

.p-guide-tax-link {
  display: block;
  padding: 3rem 4rem;
  padding-right: 7.5rem;
  border: 0.2rem solid #0FAFAA;
  border-radius: 2rem;
  background: #fff;
  position: relative;
  transition: all 0.3s;
}
.p-guide-tax-link::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 3rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: url(../../images/common/icn_arw-circlre_gr.png) no-repeat center/contain;
}
@media (hover: hover) {
  .p-guide-tax-link:hover {
    opacity: 0.7;
  }
}

.p-guide-tax-title {
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 2rem;
}
.p-guide-tax-title span {
  color: #01837B;
  font-size: 2.2rem;
  font-family: "Gilroy", "Tazugane Gothic", "Noto Sans JP";
  margin-right: 2rem;
}

.p-guide-tax-desc {
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.p-guide-related {
  padding: 8rem 0 12rem;
  background-color: #F7F8FA;
}

@media screen and (max-width: 767px) {
  .p-guide-tax-mv {
    text-align: left;
    padding: 5.3333333333vw;
    margin-bottom: 10.6666666667vw;
    border-radius: 2.6666666667vw;
  }
  .p-guide-tax-mv-txt01 {
    font-size: 4.2666666667vw;
    padding: 2.1333333333vw 5.3333333333vw;
    margin: 0 auto 5.3333333333vw;
    border-radius: 2.1333333333vw;
  }
  .p-guide-tax-mv-txt01::before {
    bottom: 1.0666666667vw;
    width: 7.2vw;
  }
  .p-guide-tax-mv-inner {
    grid-template-columns: 13.8666666667vw 1fr 18.6666666667vw;
    gap: 4vw 0;
  }
  .p-guide-tax-mv-label {
    grid-column: 1/2;
    font-size: 3.2vw;
    width: 13.8666666667vw;
    aspect-ratio: 52/43;
    padding-right: 2.6666666667vw;
    margin-right: 0;
    background: url(../../images/guide/bg_tax-label_pc.svg) no-repeat center right/cover;
  }
  .p-guide-tax-mv-label span {
    font-size: 5.0666666667vw;
  }
  .p-guide-tax-mv-ttl {
    grid-column: 2/4;
    font-size: 6.9333333333vw;
    margin-top: 0;
    margin-left: 2.6666666667vw;
  }
  .p-guide-tax-mv-icon {
    grid-row: 2/3;
    grid-column: 3/4;
    width: 100%;
    height: auto;
    margin-left: 0;
  }
  .p-guide-tax-mv-txt02 {
    grid-column: span 2;
    font-size: 3.7333333333vw;
    margin-right: 5.3333333333vw;
  }
  .p-guide-tax-item-list {
    margin-bottom: 10.6666666667vw;
  }
  .p-guide-tax-item:not(:last-child) {
    margin-bottom: 8vw;
  }
  .p-guide-tax-item:not(:last-child)::before {
    bottom: -1.3333333333vw;
    left: 5.3333333333vw;
    transform: translateY(100%);
    width: 10.6666666667vw;
    height: 5.6vw;
    background: url(../../images/guide/img_line_sp.svg) no-repeat center top/contain;
  }
  .p-guide-tax-link {
    padding: 5.3333333333vw;
    padding-bottom: 10.6666666667vw;
    border: 0.5333333333vw solid #0FAFAA;
    border-radius: 2.6666666667vw;
  }
  .p-guide-tax-link::before {
    top: auto;
    bottom: 4vw;
    right: 4vw;
    transform: none;
    width: 5.3333333333vw;
    height: 5.3333333333vw;
  }
  .p-guide-tax-title {
    font-size: 4.2666666667vw;
    margin-bottom: 2.6666666667vw;
  }
  .p-guide-tax-title span {
    display: inline-block;
    font-size: 4.2666666667vw;
    margin-right: 0;
    margin-bottom: 1.3333333333vw;
  }
  .p-guide-tax-desc {
    font-size: 3.7333333333vw;
  }
  .p-guide-related {
    padding: 10.6666666667vw 0;
  }
}
/* single
---------------------------------------------------------------------------- */
.m-single-category {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.m-single-category-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5em;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 700;
  font-family: "Gilroy", "Noto Sans JP";
  width: 10.5rem;
  height: auto;
  aspect-ratio: 105/36;
  padding-right: 1rem;
  background: url(../../images/guide/bg_label_pc.svg) no-repeat center/contain;
}
.m-single-category-num span {
  font-size: 2.4rem;
}

.m-single-category-name {
  font-size: 2.2rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.m-single-post-num {
  color: #01837B;
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-family: "Gilroy", "Tazugane Gothic", "Noto Sans JP";
  margin: 2rem 0 1rem;
}

.m-single-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 10rem;
}

.m-single-pagination-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem 3rem;
  border: 0.2rem solid #28a2a8;
  border-radius: 2rem;
  position: relative;
  transition: all 0.3s;
}
.m-single-pagination-link::before {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: url(../../images/common/icn_arw-circlre_gr.png) no-repeat center/contain;
}
.m-single-pagination-link._prev {
  grid-column: 1/2;
  padding-left: 6.5rem;
}
.m-single-pagination-link._prev::before {
  left: 2rem;
  scale: -1 1;
}
.m-single-pagination-link._next {
  grid-column: 2/3;
  padding-right: 6.5rem;
}
.m-single-pagination-link._next::before {
  right: 2rem;
}
@media (hover: hover) {
  .m-single-pagination-link:hover {
    opacity: 0.7;
  }
}

.m-single-pagination-label {
  color: #9BA1AD;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.m-single-pagination-text {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.m-single-pagination-text span {
  color: #01837B;
  font-family: "Gilroy", "Tazugane Gothic", "Noto Sans JP";
  margin-right: 1em;
}

@media screen and (max-width: 767px) {
  .m-single-category {
    gap: 2.6666666667vw;
  }
  .m-single-category-num {
    font-size: 2.9333333333vw;
    width: 17.8666666667vw;
    aspect-ratio: 67/26;
    padding-right: 1.3333333333vw;
    background: url(../../images/guide/bg_label_pc.svg) no-repeat center right/cover;
  }
  .m-single-category-num span {
    font-size: 4.2666666667vw;
  }
  .m-single-category-name {
    font-size: 4.8vw;
  }
  .m-single-post-num {
    font-size: 4.8vw;
    margin: 4vw 0 2.6666666667vw;
  }
  .m-single-pagination {
    grid-template-columns: 1fr;
    gap: 2.6666666667vw;
    margin-bottom: 10.6666666667vw;
  }
  .m-single-pagination-link {
    padding: 4vw 5.3333333333vw;
    border: vq(3) solid #28a2a8;
    border-radius: 2.6666666667vw;
  }
  .m-single-pagination-link::before {
    width: 5.3333333333vw;
    height: 5.3333333333vw;
  }
  .m-single-pagination-link._prev {
    padding-left: 13.3333333333vw;
  }
  .m-single-pagination-link._prev::before {
    left: 4vw;
  }
  .m-single-pagination-link._next {
    grid-column: 1/2;
    padding-right: 13.3333333333vw;
  }
  .m-single-pagination-link._next::before {
    right: 4vw;
  }
  .m-single-pagination-label {
    font-size: 3.7333333333vw;
    margin-bottom: 1.3333333333vw;
  }
  .m-single-pagination-text {
    font-size: 3.7333333333vw;
  }
}
