@charset "utf-8";


/* ----------------------------------------------------------------------
	
	 Topics css
	
---------------------------------------------------------------------- */


.topics_list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  margin-top: 60px;
}

.topics_list li {
  width: calc(33.33% - 100px / 3);
  margin-right: 50px;
}

.topics_list li:nth-child(3n) {
  margin-right: 0;
}


.topics_list li:nth-child(n+4) {
  margin-top: 50px;
}

.topics_list > li a {
  display: block;
  position: relative;
  -webkit-transition: .3s ease;
	transition: .3s ease;
}

.topics_list > li a {
  display: block;
  position: relative;
  -webkit-transition: .3s ease;
	transition: .3s ease;
}

.topics_list > li a .img img {
    object-fit: cover;
    font-family: 'object-fit: cover;'; /*IE対策*/
}

.topics_list > li a .caption .caption-top{
  display: flex;
  margin-bottom: 5px;
}

.topics_list > li a .caption .caption-top .category-name_Aroma\'s.Story{
  background-color: #fcfcbb;
  padding:0 8px;
  line-height: 1.6;
  font-size: 1.4rem;
}
.topics_list > li a .caption .caption-top .category-name_Topics{
  background-color: #DAFDBA;
  padding:0 8px;
  line-height: 1.6;
  font-size: 1.4rem;
  height: 25px;
}
/* ラベル部分 左上に表示 */

.topics_list > li.-new a::before {
  content: "";
  top: 0;
  left: 0;
  border-bottom: 4em solid transparent;
  border-left: 4em solid #eee;
  position: absolute;
  z-index: 100;

}

.topics_list > li.-new a::after {
  display: block;
  top: 11px;
  transform: rotate(-45deg);
  color: #fff;
  left: 5px;
  position: absolute;
  z-index: 101;
  font-family: 'Nunito', serif;
  letter-spacing: 0.01em;
  line-height: 1;
  font-size: 1.2rem;
  font-weight: bold;

}

.topics_list > li.-new a::before {
  border-left: 4em solid #53bba4;
}

.topics_list > li.-new a::after {
  content: "New";
}

.topics_list > li a .caption {
  text-align: left;
  margin-top: 10px;
}

.topics_list > li a .caption .cat {
  margin-bottom: 10px;
}

.topics_list > li a .caption .cat span {
  background-color: #eaeaea;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 5px 8px;
  line-height: 1.2;
  color: #333;
}

.topics_list > li a .caption .date {
  margin-top: 2px;
  margin-left: 19px;
  font-size: 1.3rem;
  font-family: 'Nunito', serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.topics_list > li a .caption h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.pagenav_block {
  max-width: 880px;
  margin: 0 auto;
  margin-top: 30px;
  text-align: center;
}

.wp-pagenavi {
  display: flex;
}

.wp-pagenavi a:hover {
  border-color: #ddd;
  background-color: #eee;
}

.wp-pagenavi span.current {
  background-color: #666;
  border-color: #666;
  color: #FFF;
}

.wp-pagenavi a, .wp-pagenavi span {
  border: 1px solid #DDD;
  display: flex;
  width: 26px;
  height: 26px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  margin-right: 3px;
  font-family: 'Nunito', serif;
  transition: all .2s linear;
  font-size: 1.4rem;
}

.pagination .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
}

 /* 数字のリンク */
.pagination .nav-links .page-numbers {
  text-decoration: none;
  color: #333;
  display: inline-block;
  border-radius: 6px;
  padding: 0.5em 0.8em;
  -webkit-transition: .3s;
  transition: .3s;
}

/* 現在のページ */
.pagination .nav-links .current {
  background-color: #333;
  color: #fff;
}

/* 現在のページとドット以外にホバーした時 */
.pagination .nav-links a:hover {
  background-color: #333;
  color: #fff;
}

/* - 詳細ページ
---------------------------- */
.detail .caption-top {
  margin-top: 40px;
  display: flex;
}

.detail .caption-top .category-name_Topics{
  background-color: #DAFDBA;
  padding: 4px 8px;
}

.detail .caption-top .category-name_Aroma\'s.Story{
  background-color: #fcfcbb;
  padding: 4px 8px;
}

.detail .caption-top .date {
  margin-top: 5px;
  margin-left: 19px;
  font-family: 'Nunito', serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.detail .article_title {
  font-size: 2.6rem;
}

.detail .txt_block {
  margin-top: 30px;
}

.detail .txt_block img {
  width: auto;
}

/* -「前の記事」「次の記事」、img
---------------------------- */
.navigation {
  max-width: 900px;
  margin: 100px auto 0;
  position: relative;
}

.navigation img {
  width: 40px;
  margin: 12px 0;
  position: absolute;
  left: 48%;
}

.nav-previous {
  float: left;
  border: 1px solid #ababab;
  margin: 10px auto;
  padding: 10px 5px;
  display: block;
  text-align: center;
  color: #666;
  outline: none;
  transition: all .2s linear;
  line-height: 1.2;
  font-size: 1.8rem;
  width: 300px;
  max-width: 36%;
  border-radius: 6px;
}
.nav-next {
  float: right;
  border: 1px solid #ababab;
  margin: 10px auto;
  padding: 10px 5px;
  display: block;
  text-align: center;
  color: #666;
  outline: none;
  transition: all .2s linear;
  line-height: 1.2;
  font-size: 1.8rem;
  width: 300px;
  max-width: 36%;
  border-radius: 6px;
}

.nav-previous::before{
  content: '';
  position: absolute;
  top: 27px;
  left: 25px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #555;
  border-right: 1px solid #555;
  transform: rotate(-135deg);
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

.nav-next::after{
  content: '';
  position: absolute;
  top: 27px;
  right: 25px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #555;
  border-right: 1px solid #555;
  transform: rotate(45deg);
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}


@media screen and (min-width: 1200px) {




}


@media screen and (max-width: 767px) {
  
  .topics_list {
    margin-top: 40px;
  }
  
  
}

@media screen and (max-width: 639px) {
  .topics_list li {
    width: calc(50% - 20px / 2);
    margin-right: 20px;
  }
  
  .topics_list li:nth-child(3n) {
    margin-right: 20px;
  }
  
  .topics_list li:nth-child(2n) {
    margin-right: 0;
  }


  .topics_list li:nth-child(n+3) {
    margin-top: 20px;
  }
  
  .topics_list li:nth-child(n+4) {
    margin-top: 20px;
  }

}

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

  .topics_list > li a .caption .cat span {
    font-size: 1.1rem;
    padding: 5px;
  }
  

  .detail .article_title {
    font-size: 2.2rem;
    margin-top: 30px;
  }
  .nav-previous::before{
    left: 17px;
  }
  .nav-next::after{
    right: 17px;
  }
  .navigation img {
    left: 45%;
  }
}

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




}
