@charset "UTF-8";

:root {
  --color-black: #58585F;
  --color-white: #fff;
  --color-primary: #71B400;

  --color-grad: linear-gradient(45deg, rgba(244, 255, 85, 1) 0%, rgba(113, 180, 0, 1) 100%);
  --color-grad02: linear-gradient(45deg, rgba(113, 180, 0, 1) 0%, rgba(0, 156, 212, 1) 100%);

  --noto-sans: "Noto Sans JP", serif;
  --josefin: "Josefin Sans", sans-serif;
}



/*================================================
 *  postList
 ================================================*/
#postList .wrap {
  width: 92.1rem;
}

.cat_list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cat_list a,
.cat_list span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 1rem 2rem;
  border-radius: 1000px;
  background: #999999;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.3rem;
}

.current-cat a,
.cat_list .current {
  background: var(--color-grad);
}

/* post_list */
.post_list {
  margin: 6rem 0;
}

.post_list li {
  border-top: 1px solid #A0A0A6;
}

.post_list li:last-child {
  border-bottom: 1px solid #A0A0A6;
}

.post_list li a,
.post_list li .custom {
  display: flex;
  align-items: center;
  justify-content: start;
  /* flex-wrap: wrap; */
  padding: 2.5rem 2rem;
}

.post_date {
  color: #B2B2B2;
  font-weight: 500;
  margin-right: 1.5rem;
  min-width: 8rem;
}

.post_cat {
  font-size: 1.1rem;
  background: #E5E5E5;
  font-weight: 500;
  margin-right: 2.5rem;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.2rem 0.5rem;
  min-width: 11.5rem;
  text-align: center;
}

/* pnav */
.pnav {
  padding: 0 5.1rem;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.pnav .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  /* left: 50%; */
  margin: 0 auto;
}

.pnav span,
.pnav a {
  display: grid;
  place-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 1000px;
  background: var(--color-grad);
  color: var(--color-white);
  font-weight: 700;
}

.pnav span {
  background: var(--color-grad02);
}

.pnav span.dots {
  background: transparent;
  color: var(--color-primary);
}

.pnav a.prev,
.pnav a.next {
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../images/post/pnav_next.png);
  /* position: absolute;
  top: 0;
  right: -5.1rem; */
}

.pnav a.prev {
  background-image: url(../../images/post/pnav_prev.png);
  /* right: auto;
  left: -5.1rem; */
}

@media screen and (max-width:767px) {
  #postList .wrap {
    width: 56rem;
  }

  .cat_list {
    max-width: 50rem;
    margin: 0 auto;
  }

  .cat_list a,
  .cat_list span {
    padding: 1rem 3.5rem;
    font-size: 1.7rem;
  }

  .post_list li a,
  .post_list li .custom {
    flex-wrap: wrap;
    gap: 1rem 0;
  }

  .post_ttl {
    width: 100%;
  }

  .post_cat {
    /* font-size: 1.2rem; */
    font-size: 1.8rem;
  }

  .pnav {
    padding: 0 6.6rem;
  }

  .pnav span,
  .pnav a {
    font-size: 2rem;
    width: 4.8rem;
    height: 4.8rem;
  }

  .pnav a.next {
    right: -6.6rem;
  }

  .pnav a.prev {
    left: -6.6rem;
  }
}

/*================================================
 *  detail
 ================================================*/
#detail .wrap {
  width: 74rem;
}

#detail .post_date {
  text-align: center;
  margin: 0;
}

#detail .post_cat {
  margin: 1.4rem auto 4rem;
}

#detail .post_ttl {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
}

.detail_cnt {
  margin-top: 6rem;
}

.detail_cnt p,
.detail_cnt ul,
.detail_cnt ol {
  font-size: 1.4rem;
  margin-top: 1.2em;
  line-height: 2;
}

.detail_cnt img {
  width: 59rem;
  height: auto;
  display: block;
  margin: 3rem auto;
}

#detail .wrap .btnArea {
  margin-top: 6rem;
}

@media screen and (max-width:767px) {
  #detail .wrap {
    width: 52rem;
  }

  #detail .post_ttl {
    font-size: 2.2rem;
  }

  .detail_cnt p,
  .detail_cnt ul,
  .detail_cnt ol {
    font-size: 2rem;
  }
}

/*================================================
 *  custom
 ================================================*/
.custom_btnArea {
  margin: 8rem 0;
}

.custom_btnArea ul {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  font-size: 1.4rem;
}

.custom_btnArea a {
  display: grid;
  place-content: center;
  border-radius: 10000px;
  background: var(--color-grad);
  color: var(--color-white);
  text-align: center;
  height: 9rem;
}

.custom_ttl {
  font-size: 1.7rem;
  color: var(--color-primary);
  padding: 1rem 3rem;
  border: 0.15rem solid var(--color-primary);
  border-radius: 1000px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 3rem;
}

.custom_cnt p {
  margin-bottom: 1em;
  line-height: 2;
}

.custom_cnt {
  margin-bottom: 10rem;
}

.custom_cnt a {
  color: #0000FF;
  text-decoration: underline;
}

/* .custom_cnt table {
  border: 1px solid var(--color-primary) !important;
} */
.custom_cnt table {
  max-width: 100% !important;
  table-layout: fixed;
}

.custom_cnt th,
.custom_cnt td {
  border: 1px solid var(--color-primary);
  padding: 1rem 1rem;
  min-height: 24px;
  word-break: break-word;
}

.custom_cnt th {
  border-color: var(--color-white);
  background: var(--color-primary);
  text-align: center;
  color: var(--color-white);
}

.custom_cnt th:first-of-type {
  border-left: 1px solid var(--color-primary) !important;
}

.custom_cnt th:last-of-type {
  border-right: 1px solid var(--color-primary) !important;
}

.custom_cnt h3,
.custom_cnt h4,
.custom_cnt h5 {
  margin-top: 2em;
  margin-bottom: 0.5em;
}

@media screen and (max-width:767px) {
  .custom_btnArea ul {
    grid-template-columns: repeat(2, 1fr);
    font-size: 1.6rem;
  }

  .custom_cntArea h2 {
    font-size: 2.8rem;
  }

  .custom_cnt th,
  .custom_cnt td {
    font-size: 1.6rem;
  }
}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}