@charset "UTF-8";

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
}
.trend-ch-ranking {
  	background: #eee;
    margin-bottom: 2em;
}
.trend-ch-ranking h2 {
  	font-weight: 800;
   	margin-bottom: .7em;
  	line-height: 1;
}
.trend-ch-ranking h2 i {
    color: #b71c1c;
    vertical-align: sub;
    margin-right: .1em;
}
.trend-ch-ranking h2 span {
  	font-size: .7rem;
   	font-weight: normal;
   	margin-left: 1em;
}
.trend-ch-ranking .swiper-slide {
   	position: relative;
}
.trend-ch-ranking .swiper-slide .rank {
   	position: absolute;
   	top: 0;
   	left: 0;
}
.trend-ch-ranking .thumbnail {
   	margin: 5px 5px 0 5px;
}
.trend-ch-ranking .title {
   	font-size: .7rem;
   	line-height: 1.2;
   	width: 95%;
    text-overflow: ellipsis;
    white-space: nowrap;
   	overflow: hidden;
  	margin: 0 auto 5px auto;
}
@media (min-width: 1144px) {
    .trend-ch-ranking {
        padding: 9px;
    }
    .trend-ch-ranking h2 span {
        display: none;
    }
}
@media (max-width: 1143px) {
    .trend-ch-ranking {
        margin: 2em 0;
    }
}
@media (max-width: 1143px) and (min-width: 768px){
	.trend-ch-ranking {
		padding: 3%;
        margin-bottom: 1em;
    }
    .trend-ch-ranking h2 span {
	  	display: inline-block;
        margin: .5em 0 1em 1em;
	}
}
@media (max-width: 767px){
  	.trend-ch-ranking {
 		 padding: 3% 0;
  	}
  	.trend-ch-ranking h2 {
  		margin-bottom: .7em;
  		padding: 0 .5em;
  	}
}
@media (max-width: 375px) {
    .trend-ch-ranking h2 span {
        display: none;
    }
}


#index #main .ad {
  padding: 1.5em 0;
}

/* top-news */
.top-news {
  position: relative;
}
.top-news h2,
.top-ranking h2 {
  display: inline-block;
    padding: 4px 6px;
    color: #fff;
    background: #1a1a1a;
    line-height: 1;
    font-weight: 800;
    margin-bottom: .7em;
}
.top-news h2 i,
.top-ranking h2 i {
    font-size: 1rem;
    vertical-align: top;
}
.top-news h2 a,
.top-ranking h2 a{
  color: #fff;
}
@media(min-width: 768px){
  #wrapper {
    padding-top: 1em;
  }
}
@media(min-width: 768px) and (max-width: 980px){
  .top-news {
    padding: 0 15px;
  }
}
@media(max-width: 767px){
  #index article .ad.ad-index-top {
    margin-top: 0;
  }
}
.top-news-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.top-news-list li {
  display: table;
    margin-bottom: 1em;
}

.top-news .title {
  font-weight: bold;
  margin-bottom: .4em;
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.top-news .btn a {
  background: #069;
  border-radius: 4px;
  color: #fff;
  line-height: 1;
  display: block;
  text-decoration: none;
  position: relative;
}
.top-news .btn a::after {
  position: absolute;
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    right: 10px;
    top: 11px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
}
.top-news a,
.top-ranking a {
  color: #000;
}
@media(max-width: 767px){
  .top-news {
    padding: 1em;
  }
  .top-news .title {
      font-size: .9rem;
      -webkit-line-clamp: 4;
      line-height: 1.5;
  }
  .top-news-list li .desc {
    display: none;
  }
  .top-news .btn {
    text-align: center;
  }
  .top-news .btn a {
    padding: 10px 25px 10px 15px;
      font-size: .8rem;
      display: inline-block;
  }
  .top-news .toranking {
      position: absolute;
      right: 1em;
      top: 1em;
  }
  .top-news .toranking a {
    position: relative;
      padding-right: 1em;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 2px 20px 2px 10px;
      line-height: 1;
      font-size: .8rem;
  }
  .top-news .toranking a::after {
    position: absolute;
      content: "";
      display: block;
      width: 8px;
      height: 8px;
      right: 8px;
      top: 6px;
      border-top: solid 2px #ccc;
      border-right: solid 2px #ccc;
      transform: rotate(45deg);
  }
}

@media(min-width: 768px){
  .top-news {   
    margin-top: 1em;
    margin-bottom: 2em;
  }
  .top-news h2 {
    position: absolute;
    top: 0;
    left: 0;
  }
  .top-news-list li:first-child {
    flex-basis: 100%;
    margin-bottom: 3em;
  }
  .top-news-list li:first-child .thumbnail {
    width: 360px;
    padding-right: 1.2em;
  }
  .top-news-list li:first-child .thumbnail img {
    width: 100%;
    height: auto;
    max-height: 222px;
  }
  .top-news-list li:first-child .title {
    font-size: 1.5rem;
  }

  .top-news-list li .desc {
    display: none;
  }
  .top-news-list li:first-child .desc {
      line-height: 1.5;
      color: #666;
      margin-bottom: 1em;
      font-size: .75rem;
      word-break: break-all;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
  }
  .top-news-list li:last-child {
    display: none;
  }
  .top-news-list li {
    flex-basis: 48%;
  }
  .top-news .title {
      font-size: 1rem;
      -webkit-line-clamp: 4;
      line-height: 1.4;
  }
  .top-news .btn a {
    padding: 10px 25px 10px 15px;
      position: absolute;
      right: 0;
      font-size: .8rem;
      bottom: -2em;
  }
  .top-news .toranking {
    display: none;
  }
}

@media (min-width: 768px) {
/*@media (min-width: 768px) and (orientation: portrait) {*/
  .top-news-list li:nth-child(n+2) {
    width: 48%;
  }
}

.top-news-list .thumbnail,
.top-news-list li > div {
  display: table-cell;
  vertical-align: top;
}

.top-news-list .thumbnail {
    padding-right: 1em;
    width: 160px;
    line-height: 1;
    max-height: calc(100% / 1.618);
}

.top-news-list .thumbnail img {
    width: 160px;
    height: 99px;
  object-fit: cover;
}
.top-news-list > div {
}

.top-news-list .title a {
}
.top-news-list .date {
    font-size: .7rem;
    color: #666;
    line-height: 1.4;
}

/* top news tag */
.top-news-list .tag {
  margin-bottom: .7em;
}
.top-news-list .tag a {
  background: #f8f8f8;
  display: inline-block;
  margin-right: .3em;
  color: #333;
  border: 1px solid #DDD;
  border-radius: 4px;
  padding: 5px 8px;
  line-height: 1;
  text-decoration: none;
}
.top-news-list .tag a:hover {
  background: #b71c1c;
  color: #fff;
}
@media(min-width: 481px) {
  .top-news-list .tag {
    font-size: .8rem;
  }
}
@media(max-width: 480px) {

  .top-news-list .thumbnail {
    vertical-align: top;
  }
  .top-news-list .tag {
    font-size: .75rem;
  }
}

/* top ranking */
.top-ranking .total-num {
  display: inline-block;
  margin-left: 1em;
}
.top-ranking-list {
  padding: 1em;
  background: #eee;
  margin-bottom: 2em;
  position: relative;
    border-left: 7px solid #069;
}
.top-ranking h3 {
  font-weight: 800;
  margin-bottom: .6em;
  line-height: 1.4;
}
.top-ranking h3 span {
  font-size: .75rem;
  white-space: nowrap;
}
.top-ranking li {
  background: #fff;
  line-height: 1.6;
  font-size: .8rem;
  position: relative;
}
.top-ranking .title {
  word-break: break-all;
  overflow: hidden;
  font-weight: 800;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.top-ranking .btn a {
  padding: 6px 11px;
  background: #069;
  color: #fff;
  line-height: 1;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}
.top-ranking li i {
  font-size: 1rem;
    color: #aaa;
    vertical-align: sub;
    margin-right: .3em;
}
.top-ranking li img {
  height: auto;
}
.top-ranking .btn {
  text-align: center;
  margin-top: 1em;
}
.top-ranking .kiriban {
  position: absolute;
  background: #b71c1c;
  color: #fff;
  line-height: 1;
  padding: 3px 5px;
  font-size: .9rem;
  font-weight: 800;
}
@media(max-width: 767px){
  .top-ranking h2 {
    margin-left: .5em;
  }
  .top-ranking li {
    display: table;
    width: 100%;
    margin-bottom: .5em;
  }
  .top-ranking li:last-child {
    margin-bottom: 0;
  }
  .top-ranking li .thumbnail,
  .top-ranking li > div {
    display: table-cell;
    vertical-align: middle;
  }
  .top-ranking li .thumbnail {
    line-height: 0;
    width: 60px;
  }
  .top-ranking li > div {
    padding: .5em 1em;
  }
  .top-ranking .title {
    font-size: .9rem;
    -webkit-line-clamp: 1;
  }
  .top-ranking .kiriban {
    top: 0;
    right: 0;
  }
  .top-ranking .btn a {
    border-radius: 4px;
  }
}
@media(min-width: 768px){
  .top-ranking ul {
    display: flex;
    justify-content: space-between;
  }
  .top-ranking li {
    flex-basis: 16%;
    padding: 1em;
    text-align: center;
  }
  .top-ranking h3 {
    margin-bottom: .4em;
  }
  .top-ranking .btn {
    position: absolute;
    right: 0;
      bottom: -.7em;
  }
  .top-ranking .btn a {
      font-size: .7rem;
  }
  .top-ranking .kiriban {
    top: 0;
    left: 0;
  }
  .top-ranking .btn a {
    border-radius: 0 0 4px 4px;
  }
}

/*
@media (max-width: 1144px) and (min-width: 768px){
  section.news {
    justify-content: center;
  }
}
*/
.top-ranking-link {
  padding: 0 1em;
  margin-bottom: 2em;
}
.top-ranking-link ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.top-ranking-link li {
  border: 1px solid #ddd;
  flex-basis: 44.5%;
  padding: .3em 2%;
  font-size: .8rem;
  text-align: center;
  margin-bottom: .7em;
}
.top-ranking-link li a {
  display: block;
}
@media(min-width: 1155px) {
  .top-ranking-link {
    padding: 0;
  }
}

/* comments */
#right .comments li {
  border-bottom: 1px solid #e0e0e0;
  padding: 10px;
  font-size: .8rem;
  position: relative;
}
#right .comments li:first-child {
  border-top: 1px solid #e0e0e0;
}
#right .comments p {
  line-height: 1.4;
}
#right .channel-title {
  margin-bottom: .3em;
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
#right .channel-title span {
  font-size: .7rem;
  color: #666; 
}
#right .comment-body {
    color: #333;
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
#right .comment-body a {
  color: #333;
}
#right .comments .link a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -200%;
  overflow: hidden;
  display: block;
}
@media(min-width: 1145px){
  #right .comments ul {
      border: 9px solid #f0f0f0;
  }
}