/*---common---*/
body,h1,h2,h3,h4,h5,ul,li,dl,dt,dd,a,p,img{
  margin: 0;
  padding: 0;
  list-style: none;
  color: inherit;
  box-sizing: border-box;
}
:root {
    --color-brand: #FF6969;
    --bg-pink: #F3A7A3;
    --bg-red: #D32D2D;
}
img{vertical-align: bottom;}
a{
  display: block;
  text-decoration: none;
  transition: .3s ease-in-out;
}
.text-center{
  text-align: center;
}
.d-flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.ttl-article{
  font-family:"Hiragino Mincho ProN", "YuMincho",  "Yu Mincho", "MS PMincho", serif;
  margin-bottom: 30px;
  font-size: 22px;
}
.ttl-article span{
  font-size: 13px;
  display: block;
  margin-top: -5px;
}
.article-body{
  max-width:1000px;
  margin: auto;
}
.article-list-wrap{
  flex-wrap: nowrap;
}
.article-body main{
  flex: 0 0 62%;
}
.article-cont{
  border: 1px solid #CBCBCB;
  flex: 0 0 48%;
  margin-bottom: 20px;
}
.article-img{
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  transition: .3s ease-in-out;
}
.article-img img{
  width: 100%;
  height: 173px;
  object-fit: cover;
}

.article-cont .article-img::before,.article-cont .article-img::after{
  opacity: 0;
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: rgba(0,0,0,0.6);
  transition: .3s ease-in-out;
}
.article-cont .article-img::after{
  opacity: 0;
  content: 'Read More';
  color: #FFF;
  border: 1px solid #FFF;
  width: 70%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 11px;
  background-color: transparent;
}
.article-cont a:hover .article-img::before,.article-cont a:hover .article-img::after{
  opacity: 1;
}
.article-text{
  padding: 15px;
}
.article-cate{
  font-size: 12px;
  margin-bottom: 8px;
}
.ar-category{
  background: #1A1A1A;
  color: #FFF;
  padding: 0px 10px;
}
.article-text h3{
  font-size: 13px;
}
.btn-article{
  flex: 0 0 100%;
}
.btn-article span{
  position: relative;
  width: 194px;
  display: block;
  border: 1px solid #000;
  padding: 10px 0;
  width: 194px;
  margin: 15px auto;
  display: block;
  font-size: 12px;
  cursor: pointer;
  transition: .3s ease-in-out;
}
.btn-article span::before,.btn-prev-next a:before{
  position: absolute;
  content: '';
  width: 6px;
  height: 6px;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 10px;
  border-right: 1px solid #000;
  border-top: 1px solid #000;
}
.btn-more span::before{
  transform: rotate(135deg);
}
.btn-top span::before{
  transform: rotate(315deg);
}
.btn-article span:hover {
    background: #eee;
}
.article-cont.hidden{
  display: none;
}
/*side*/
.side-item{
  flex: 0 0 33%;
  padding-top: 10vh;
}
.side-item section{
  margin-bottom: 40px;
}
.category-wrap {
    justify-content: space-around;
}
.category-wrap li a{
    position: relative;
    justify-content: center;
    align-items: center;
    width: 104px;
    height: 104px;
    overflow: hidden;
    margin-bottom: 10px;
}
.category-wrap li a:hover{
  border-radius: 50%;
}
.category-wrap li h3{
  position: absolute;
  color: #FFF;
  font-size: 14px;
}
.recommend-list .article-img img{
    height: 105px;
}
.archive-list li a{
  font-size: 12px;
  border-bottom: 1px solid #808080;
  padding: 8px 0 8px 20px;
}
.archive-list li a:hover{
  transform: scale(1.01);
}
/*article*/
.img-content{
  margin: 20px 0;
}
.img-content img{
  width: 100%;
}
.article-main h1{
  font-weight: normal;
  border-bottom: 2px dotted #4D4D4D;
}
.article-main p{
  margin: 20px 0;
  font-size: 15px;
}
.article-main .article-cate{
  justify-content: flex-start;
}
.article-main .ar-category{
  margin-right: 15px;
}
.article-other{
  margin-top: 50px;
}
.btn-prev-next{
  font-size: 12px;
  position: relative;
  margin-bottom: 8px;
}
.btn-prev{
  padding-left: 25px;
}
.btn-next{
  padding-right: 25px;
}
a.btn-prev:before{
  transform: rotate(225deg);
  left: 10px;
  right: auto;
}
a.btn-next:before{
  transform: rotate(45deg);
}
.btn-prev-next a:hover {
    transform: scale(1.1);
}
@media screen and (max-width: 1024px) {
  .pc-only,.sp-only{
    display: none;
  }
  .tb-only{
    display: block;
  }
  .article-list-wrap{
    flex-direction: column;
  }
  .side-item{
    margin-top: 40px;
  }
  .category-wrap li {
    flex: 0 0 33.333%;
  }
}
@media screen and (max-width: 1024px) and (min-width: 600px) {
  .article-body{
    max-width:70%;
  }
  .article-list-wrap{
    justify-content: space-between;
  }
  .aside-wrap{
    display: flex;
    justify-content: space-between;
  }
  .recommend-list{
    flex: 0 0 60%;
  }
  .archive-list {
    flex: 0 0 30%;
  }
  .archive-list li{
    text-align: center;
  }
  .category-wrap li {
    max-width: 170px;
  }
  .category-wrap li a{
    width: 100%;
    height: 170px;
  }
  .category-wrap li img{
    width: 100%;
  }
}
@media screen and (max-width: 599px) {
  .pc-only,.tb-only{
    display: none;
  }
  .sp-only{
    display: block;
  }
  .article-body{
    max-width:90%;
  }
  .latest-article-list{
    flex-direction: column;
  }
  .img-content{
    margin-bottom: 20px;
  }
  .article-other{
    display: none;
  }
  .category-wrap li {
    max-width: 104px;
  }
}
@media screen and (max-width: 350px) {
  .category-wrap li,.category-wrap img {
    max-width: 80px;
  }
}