.p-categories {
  padding-top: 6rem;
  position: relative;
}
@media (min-width: 768px) {
  .p-categories {
    padding-top: 7rem;
  }
}
.p-categories:after {
  position: absolute;
  content: "";
  background: url(../images/bg-categories.png) top center;
  background-size: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 35rem;
  z-index: -1;
}
.p-categories__top {
  border-radius: 0.7rem;
  background: #fff;
  margin: auto;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 0.4rem 3rem rgba(0, 0, 0, 0.05);
  margin-bottom: 3.3rem;
}
@media (min-width: 768px) {
  .p-categories__top {
    border-radius: 1.2rem;
    padding: 3.4rem 6.8rem;
    margin-bottom: 5.3rem;
    max-width: 107.2rem;
  }
}
.p-categories__ttl {
  color: #0C794D;
  margin-bottom: 1.6rem;
}
@media (min-width: 768px) {
  .p-categories__ttl {
    margin-bottom: 2.6rem;
  }
}
.p-categories__sub {
  font-size: 1.4rem;
  line-height: 1.4444444444;
  color: #444;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .p-categories__sub {
    font-size: 1.8rem;
    line-height: 1.4444444444;
    margin-bottom: 4rem;
  }
}
.p-categories__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: #444;
  font-size: 1.4rem;
}
@media (max-width: 767px) {
  .p-categories__author {
    overflow-x: scroll;
    justify-content: left;
  }
  .p-categories__author p {
    flex-shrink: 0;
  }
}
@media (min-width: 768px) {
  .p-categories__author {
    font-size: 1.6rem;
  }
}
.p-categories__author .person img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-right: 1rem;
}
.p-categories__author .time {
  background: url(../images/ic_view.svg) no-repeat left center;
  background-size: 2rem 2rem;
  padding-left: 3rem;
}
.p-categories__img {
  max-width: 107.2rem;
  margin: auto;
  margin-bottom: 3.9rem;
}
.p-categories__img img {
  border-radius:2rem;
  width: 100%;
}
.p-categories__txt {
  color: #444;
  line-height: 1.4444444444;
  font-size: 1.4rem;
}
@media (min-width: 768px) {
  .p-categories__txt {
    font-size: 1.8rem;
  }
}
.p-categories__lst {
  margin: 4rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.p-categories__lst.p-categoriesOne_lst {
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .p-categories__lst.p-categoriesOne_lst {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-categories__lst {
    grid-template-columns: repeat(4, 1fr);
  }
  .p-categories_subcat {
    grid-template-columns: repeat(3, 1fr);
  }
  
}
.p-categories__lst .cate {
  border-radius: 1rem;
  background-image: linear-gradient(#F3F2E1, #FFFEF5);
  padding: 0.7rem;
  text-align: center;
  border: 1px solid #F5F4EC;
}
@media (min-width: 768px) {
  .p-categories__lst .cate {
    padding: 1.1rem 1.1rem 2rem;
    border-radius: 1.2rem;
  }
}
.p-categories__lst .cate:hover {
  background: #0C794D;
}
.p-categories__lst .cate:hover .cate__ttl {
  color: #fff;
}
.p-categories__lst .cate__img {
  border: 1px solid #0C794D;
  height: auto;
  background: #fff;
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.p-categories__lst .cate_img_noboder {
  border: none;
}
@media (min-width: 768px) {
  .p-categories__lst .cate__img {
    /* height: 37.5rem; */
    border-radius: 1.2rem;
    margin-bottom: 1.5rem;
  }
}
.p-categories__lst .cate__ttl {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}
@media (min-width: 768px) {
  .p-categories__lst .cate__ttl {
    font-size: 2.2rem;
  }
  .p-categories__lst .cate_ttl_subcat {
    text-align: justify;
    font-size: 1.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.p-categories__detail {
  line-height: 1.75;
  color: #444;
  font-size: 1.4rem;
  margin-top: 2.3rem;
}
@media (min-width: 768px) {
  .p-categories__detail {
    font-size: 1.8rem;
    margin-top: 5.3rem;
  }
}
.p-categories__detail h2 {
  color: #0C794D;
  font-size: 1.8rem;
  line-height: 1.4285714286;
  margin-bottom: 1rem;
  margin-top: 1.7rem;
}
.p-categories__detail h3.subcat {
  color: #0C794D;
  font-size: 1.6rem;
  line-height: 1.4285714286;
  margin: 1rem 0;
}
@media (min-width: 768px) {
  .p-categories__detail h2 {
    margin-top: 5.7rem;
    margin-bottom: 2rem;
    font-size: 3.5rem;
  }
  .p-categories__detail h3.subcat {
    font-size: 2.5rem;
  }
}
.p-categories__detail img{
    display: block;
    margin: 0 auto;
}
.p-categories__detail .img img {
  margin: auto;
}
@media (min-width: 768px) {
  .p-categories__detail .img img {
    max-width: 90rem;
  }
}
.p-categories__detail i {
  text-align: center;
  display: block;
  font-weight: bold;
  font-size: 1.2rem;
  font-style: normal;
  margin-top: 1.2rem;
}
@media (min-width: 768px) {
  .p-categories__detail i {
    font-size: 1.8rem;
    margin-top: 2.2rem;
  }
}
.p-categories__anchor {
  margin-top: 2.6rem;
  border-radius: 1.2rem;
  border: 1px solid #E0DA73;
  background-image: linear-gradient(#F3F2E1, transparent);
  padding: 1.4rem 1.6rem 1.4rem 6rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .p-categories__anchor {
    margin-top: 3.6rem;
    padding: 2.4rem 2.6rem 2.4rem 7rem;
    max-width: 93.8rem;
  }
}
.p-categories__anchor:after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, #FEFCDE, transparent);
}
.p-categories__anchor.is-active:after {
  display: none;
}
.p-categories__anchor .anchor-ttl {
  position: relative;
  z-index: 2;
  color: #0C794D;
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .p-categories__anchor .anchor-ttl {
    font-size: 2rem;
    margin-bottom: 2.3rem;
  }
}
.p-categories__anchor .anchor-ttl:before {
  position: absolute;
  left: -4.6rem;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  width: 2rem;
  height: 1.5rem;
  background: url(../images/ic_list_2.svg) no-repeat top center;
  background-size: contain;
}
@media (min-width: 768px) {
  .p-categories__anchor .anchor-ttl:before {
    width: 2rem;
    height: 1.7rem;
  }
}
.p-categories__anchor .anchor-ttl:after {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  width: 1.5rem;
  height: 1rem;
  background: url(../images/ic_up.svg) no-repeat top center;
  background-size: contain;
  transition: all 0.3s;
}
.p-categories__anchor .anchor-lst {
  max-height: 15rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .p-categories__anchor .anchor-lst {
    max-height: 40rem;
  }
  .p-categories__anchor .anchor-ttl:after {
    width: 1.9rem;
    height: 1.2rem;
  }
}
.p-categories__anchor .anchor-ttl.active:after {
  transform: translateY(-50%) rotate(-180deg);
}

.p-categories__anchor .anchor-lst.show {
  max-height: 100%;
}
.p-categories__anchor .anchor-lst ul {
  list-style: auto;
}
.p-categories__anchor .anchor-lst ol {
  counter-reset: item;
  list-style: none;
}
.p-categories__anchor .anchor-lst ul li, .p-categories__anchor .anchor-lst ol li {
  color: #000;
  font-weight: bold;
}
.p-categories__anchor .anchor-lst ol li::before {
  counter-increment: item;
  content: counters(item, ".") ". ";
  font-weight: bold;
}
.p-categories__anchor .anchor-lst ol ol li::before {
  font-weight: normal;
}
.p-categories__anchor .anchor-lst li > ol {
  counter-reset: item;
  padding-left: 1em;
}
.p-categories__anchor .anchor-lst ul li a, .p-categories__anchor .anchor-lst ol li a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
}
@media (min-width: 768px) {
  .p-categories__anchor .anchor-lst ul li a, .p-categories__anchor .anchor-lst ol li a {
    font-size: 1.8rem;
  }
}
.p-categories__anchor .anchor-lst ul li ul, .p-categories__anchor .anchor-lst ol li ol {
  margin: 1rem 0;
  list-style: none;
}
.p-categories__anchor .anchor-lst ul li ul li, .p-categories__anchor .anchor-lst ol li ol li {
  line-height: 1.7777777778;
  font-weight: normal;
}
.p-categories__anchor .anchor-lst ul li ul li a, .p-categories__anchor .anchor-lst ol li ol li a {
  font-weight: normal;
}
.p-categories__anchor .anchor-lst .load-more {
  text-align: center;
  position: absolute;
  bottom: 3.8rem;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
}

.p-categories__anchor .anchor-lst .load-more .btn-more {
  font-size: 1.4rem;
  font-weight: bold;
  color: #222;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.05);
  cursor: pointer;
}
@media (min-width: 768px) {
  .p-categories__anchor .anchor-lst .load-more .btn-more {
    width: 15.4rem;
    height: 5.5rem;
    font-size: 1.6rem;
  }
}
.p-categories__anchor .anchor-lst .load-more .btn-more:hover {
  background: #0C794D;
  color: #fff;
}
.p-categories__related {
  margin-top: 9.4rem;
}/*# sourceMappingURL=categories.css.map */