@charset "utf-8";
/*--****************************************
site : idolish7
@PC - news.css
Copyright (c) ULM Co.,Ltd. - http://www.ulm-design.com
*****************************************--*/
#news{
  
}

#main{
  position: relative;
}

#contents{
  padding: 140px 0 120px 0;
  min-height: 50vh;
  position: relative;
  z-index: 1;
}

#news-contents-ttl{
  text-align: center;
  margin: 0 0 50px 0;
}

#news-nav-container{
  width: 100%;
  height: 55px;
  background: url(../img/news/nav_bg.png) repeat;
  margin: 0 0 50px 0;
}

#news-nav{
  color: #fff;
  font-size: 16px;
}

.news-nav-box{
  padding: 18px 0;
}

.news-nav-btn{
  color: #fff;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.news-nav-btn:after{
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  bottom: -5px;
  left: 50%;
  width: 0%;
  height: 1px;
  background: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.news-nav-btn:hover:after{
  width: 100%; left: 0;
}

.error-txt{
  text-align: center;
  padding: 100px 0;
  font-size: 20px;
  margin: 0 auto;
}


/*--****************************************

list

*****************************************--*/
#news-container-inner{
  width: 1200px;
  margin: 0 auto;
}

.news-box{
  width: 280px;
  margin: 0 10px 40px;
  position: relative;
  background: rgba(255,255,255,.9);
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
}

.news-link{
  color: #000;
  display: block;
}

.new-post-icon{
  width: 30px;
  height: 35px;
  background: #ff4683;
  color: #fff;
  font-size: 10px;
  font-family: Arial, Helvetica, "sans-serif";
  text-align: center;
  position: absolute;
  z-index: 1;
  top: -2px;
  left: 7px;
  box-sizing: border-box;
  padding: 15px 0 0 0;
}

.new-post-icon:before{
  content: "";
  display: block;
  border-top: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 15px solid #ff4683;
  position: absolute;
  z-index: -1;
  bottom: -8px;
  left: 0px;
}

.new-post-icon:after{
  content: "";
  display: block;
  border-top: 15px solid transparent;
  border-right: 15px solid #ff4683;
  border-bottom: 8px solid transparent;
  border-left: 15px solid transparent;
  position: absolute;
  z-index: -1;
  bottom: -8px;
  right: 0px;
}

.new-post-icon.pickup{
  background: #FCF087;
	color: #000;
	padding: 10px 0 0 0;
}

.new-post-icon.pickup:before{
  border-top: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 15px solid #FCF087;
}

.new-post-icon.pickup:after{
  border-top: 15px solid transparent;
  border-right: 15px solid #FCF087;
  border-bottom: 8px solid transparent;
  border-left: 15px solid transparent;
}

.news-thumb-box {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #000;
}

.news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.news-link:hover .news-thumb{
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.news-data{
  font-family: Arial, Helvetica, "sans-serif";
  height: 18px;
  margin: 5px 0;
  padding: 10px 0 0 10px;
  -webkit-justify-content: space-between; 
  justify-content: space-between;
}

.news-date {
  font-size: 11px;
  line-height: 18px;
}

.news-category {
  color: #fff;
  font-size: 10px;
  text-align: center;
  width: 80px;
  padding: 4px 0 4px 2px;
  border-radius: 10px 3px 0 10px;
  position: relative;
  right: -4px;
}

.news-category::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 3px 0 0;
  border-color: #b1b1b1 transparent transparent transparent;
  position: absolute;
  bottom: -3px;
  right: 0;
}

.news-ttl {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4em;
  padding: 10px 10px 20px;
}

.news-bg-information{ background-color: #0d326f; }
.news-bg-media{ background-color: #67af28; }
.news-bg-game{ background-color: #f08300; }
.news-bg-music{ background-color: #5bc2d9; }
.news-bg-goods{ background-color: #856daf; }
.news-bg-books{ background-color: #d8bf3f; }
.news-bg-event{ background-color: #e60039; }


/*--****************************************

single

*****************************************--*/
#news-detail-container{
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
  width: 780px;
  margin: 0 auto;
  padding: 35px 50px;
  background: rgba(255,255,255,0.7);
  box-sizing: border-box;
  border: 1px solid #f0e8e7;
}

#news-detail-container a {
	color: #000;
	text-decoration: underline;
}


#news-detail-header{
  margin: 0 0 40px 0;
  padding: 0 0 25px 0;
  border-bottom: 1px solid #a8a8a8;
}


#news-detail-data{
  margin: 0 0 10px 0;
}

.news-detail-date{
  margin: 0 10px 0 0;
}

.news-detail-category {
  color: #fff;
  font-size: 10px;
  width: 70px;
  padding: 4px 0 4px 2px;
  text-align: center;
}

#news-detail-ttl{
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4em;
}


#news-detail-content{
  font-size: 14px;
  line-height: 1.8em;
  letter-spacing: 2px;
}

#news-detail-content p {
  margin: 0 0 1em;
}


#news-detail-content img,#news-detail-content iframe{
  max-width: 100%;
  height: auto;
}


#control{
  width: 282px;
  margin: 30px auto 0 auto;
  position: relative;
}


.btn{
  width: 42px;
  height: 42px;
  display: inline-block;
  background: #fff;
  border: 2px solid #a0a0a0;
  border-radius: 21px;
  box-sizing: border-box;
  text-align: center;
  line-height: 28px;
  font-size: 17px;
  color: #000;
  padding: 0 0 0 2px;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}


.prev-btn{
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
}


.next-btn{
  position: absolute;
  z-index: 1;
  top: 0px;
  right: 0px;
}


.prev-btn a,
.next-btn a{
  color: #000;
  display: block;
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1px solid #a0a0a0;
  border-radius: 20px;
  box-sizing: border-box;
  top: 1px;
  left: 1px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}


.list-back-btn{
  width: 180px;
  font-size: 17px;
  /*margin: 0 auto;*/
}


.list-back-btn-inner{
  color: #000;
  display: block;
  position: absolute;
  width: 174px;
  height: 36px;
  border: 1px solid #a0a0a0;
  border-radius: 20px;
  box-sizing: border-box;
  top: 1px;
  left: 1px;
}


.btn:hover{
  background: #2bd0fe;
  border: 2px solid #fff;
}

.btn:hover a,
.btn:hover .list-back-btn-inner{
  border: 1px solid #fff;
  color: #fff
}

@media (max-width: 768px) {
  #news{
  
  }
  
  
  #main{
    position: relative;
  }
  
  
  #contents{
    padding: 80px 0;
    position: relative;
    z-index: 1;
  }
  
  
  #news-contents-ttl{
    text-align: center;
    margin: 0 0 8% 0;
  }

  #news-contents-ttl img{
    width: 100%;
    height: auto;
  }
  
  
  #news-nav-container{
    width: 100%;
    height: 50px;
    background: url(../img/news/nav_bg.png) repeat;
    background-size: 25px 1px;
    overflow-y: hidden;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 30px 0;
  }
  
  
  #news-nav{
    color: #fff;
    font-size: 16px;
    display: block;
    white-space: nowrap;
    padding: 0 20px;
  }
  
  
  .news-nav-box{
    padding: 15px 0;
    display: inline-block;
  }
  
  
  .news-nav-box:nth-last-child(1){
    padding: 15px 20px 15px 0;
  }
  
  
  .news-nav-btn{
    color: #fff;
    letter-spacing: 2px;
  }
  
  
  .news-nav-btn:hover{
    color: #ff9900;
  }
  
  
  .error-txt{
    text-align: center;
    margin: 0 auto;
    padding: 20% 0;
  }
  
  /*--****************************************
  
  list
  
  *****************************************--*/
  #news-container-inner{
    width: 98%;
    margin: 0 auto;
  }
  
  
  .news-box{
    width: 46%;
    margin: 0 2% 4% 2%;
    position: relative;
    background: rgba(255,255,255,.9);
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
  }
  
  .news-link{
    color: #000;
    display: block;
  }
  
  
  .new-post-icon{
    width: 30px;
    height: 35px;
    background: #ff4683;
    color: #fff;
    font-size: 10px;
    font-family: Arial, Helvetica, "sans-serif";
    text-align: center;
    position: absolute;
    z-index: 2;
    top: -2px;
    left: 7px;
    box-sizing: border-box;
    padding: 15px 0 0 0;
  }
  
  
  .new-post-icon:before{
    content: "";
    display: block;
    border-top: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 15px solid #ff4683;
    position: absolute;
    z-index: -1;
    bottom: -8px;
    left: 0px;
  }
  
  
  .new-post-icon:after{
    content: "";
    display: block;
    border-top: 15px solid transparent;
    border-right: 15px solid #ff4683;
    border-bottom: 8px solid transparent;
    border-left: 15px solid transparent;
    position: absolute;
    z-index: -1;
    bottom: -8px;
    right: 0px;
  }
  
  .new-post-icon.pickup{
    background: #FCF087;
    color: #000;
    padding: 10px 0 0 0;
  }
  
  
  .new-post-icon.pickup:before{
    border-top: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 15px solid #FCF087;
  }
  
  
  .new-post-icon.pickup:after{
    border-top: 15px solid transparent;
    border-right: 15px solid #FCF087;
    border-bottom: 8px solid transparent;
    border-left: 15px solid transparent;
  }
  
  
  
  .news-thumb-box{
    width: 100%;
    height: 0;
    padding-top: -webkit-calc((170/240)*100%);
    padding-top: calc((170/240)*100%);
    overflow: hidden;
    background: #000;
    position: relative;
  }
  
  
  .news-thumb{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    object-fit: cover;
  }
  
  
  .news-data{
    font-family: Arial, Helvetica, "sans-serif";
    height: 18px;
    margin: 5px 0;
    -webkit-justify-content: space-between; 
    justify-content: space-between;
    padding: 0 0 0 5%;
  }
  
  
  .news-date{
    font-size: 10px;
    line-height: 18px;
  }
  
  
  .news-category{
    color: #fff;
    font-size: 10px;
    text-align: center;
    width: 70px;
    padding: 4px 0 4px 2px;
    border-radius: 10px 3px 0 10px;
    position: relative;
    right: -4px;
  }
  
  .news-category::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 3px 0 0;
    border-color: #b1b1b1 transparent transparent transparent;
    position: absolute;
    bottom: -3px;
    right: 0;
  }
  
  
  .news-ttl{
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4em;
    padding: 0 5% 5%;
  }
  
  .news-bg-information{ background-color: #0d326f; }
  .news-bg-media{ background-color: #67af28; }
  .news-bg-game{ background-color: #f08300; }
  .news-bg-music{ background-color: #5bc2d9; }
  .news-bg-goods{ background-color: #856daf; }
  .news-bg-books{ background-color: #d8bf3f; }
  .news-bg-event{ background-color: #e60039; }
  
  
  
  
  /*--****************************************
  
  single
  
  *****************************************--*/
  #news-detail-container{
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
    width: 90%;
    margin: 0 auto;
    padding: 5%;
    background: rgba(255,255,255,0.7);
    box-sizing: border-box;
    border: 1px solid #f0e8e7;
  }
  
  #news-detail-container a{
    color: #000;
    text-decoration: underline;
  }
  
  
  #news-detail-header{
    margin: 0 0 5% 0;
    padding: 0 0 5% 0;
    border-bottom: 1px solid #a8a8a8;
  }
  
  
  #news-detail-data{
    margin: 0 0 10px 0;
  }
  
  #news-detail-data .news-category{
    color: #fff;
    font-size: 10px;
    text-align: center;
    width: 70px;
    padding: 4px 0 4px 2px;
    border-radius: 0px;
  }
  
  #news-detail-data .news-category::after {
    content: none;
  }
  
  .news-detail-date{
    margin: 0 10px 0 0;
  }
  
  #news-detail-ttl{
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4em;
  }
  
  
  #news-detail-content{
    font-size: 13px;
    line-height: 1.8em;
    letter-spacing: 2px;
  }
  
  #news-detail-content p {
    margin: 0 0 1em;
  }
  
  #news-detail-content img,#news-detail-content iframe{
    max-width: 100%;
    height: auto;
  }
  
  
  #control{
    width: 282px;
    margin: 6% auto 0 auto;
    position: relative;
  }
  
  
  .btn{
    width: 42px;
    height: 42px;
    display: inline-block;
    background: #fff;
    border: 2px solid #a0a0a0;
    border-radius: 21px;
    box-sizing: border-box;
    text-align: center;
    line-height: 28px;
    font-size: 17px;
    color: #000;
    padding: 0 0 0 2px;
    position: relative;
  }
  
  
  .prev-btn{
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
  }
  
  
  .next-btn{
    position: absolute;
    z-index: 1;
    top: 0px;
    right: 0px;
  }
  
  
  .prev-btn a,
  .next-btn a{
    color: #000;
    display: block;
    position: absolute;
    width: 36px;
    height: 36px;
    border: 1px solid #a0a0a0;
    border-radius: 20px;
    box-sizing: border-box;
    top: 1px;
    left: 1px;
  }
  
  
  .list-back-btn{
    width: 180px;
    font-size: 17px;
    margin: 0 auto;
  }
  
  
  .list-back-btn-inner{
    color: #000;
    display: block;
    position: absolute;
    width: 174px;
    height: 36px;
    border: 1px solid #a0a0a0;
    border-radius: 20px;
    box-sizing: border-box;
    top: 1px;
    left: 1px;
  }
  
    
}
