@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  color: #333;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
a {
  color: #333;
  text-decoration: none;
}

a:hover{
  opacity: 0.7;
  transition: 0.5s;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.readmore{
  font-size: 0.875rem;
  text-align: center;
}

.readmore a {
  padding-bottom: 1px;
  color: #333;
  position: relative;
}

/*
「position: absolute;」を設定し、left、bottomで下線の位置を調整
widthとheightで線の長さと高さを設定
疑似要素で線を表示させるためには、「content: '';」を設定すること
「transition: all 200ms ease;」でホバー時の速度などを設定
*/
.readmore a::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  left: 0;
  bottom: 0;
  background: #333;
  transition: all 200ms ease;
}
/*
ホバー時の下線の設定
「opacity: 0;」下線を非表示
「transform: translateY(3px);」下に3px移動
→下に3px移動しながら下線を非表示にする
*/
.readmore a:hover::after {
  opacity: 0;
  transform: translateY(3px);
}

/*-------------------------------------------
header
-------------------------------------------*/
/*
「position: fixed;」でヘッダーを固定し、「z-index: 10;」で前面に表示
※他のコンテンツでpositionをrelative、absolute、fixedのいずれかに
設定している場合は、z-indexの数値が大きい方が前面に表示される
*/


/*header*/

.header-nav{
  background-color: #333;
  padding: 10px 0;
}

.header__list{
  display: flex;
  padding:0 ;
  margin: 0;
}
.list__item{
  margin-right: 50px;
}

.list__link{
  color: #fff;
  font-weight: bold;
}

/*sp*/
@media(max-width:768px){
  .header-nav{
    overflow-x: scroll;
  }
  .wrapper{
    padding: 0;
  }

  .header-nav .wrapper{
    padding: 0 16px;
  }
}

/*pickup*/

#pickup{
  display: flex;
  justify-content: space-between;
  padding-top: 39px;
}

.pickup-article{
  width: 32%;
}

.article-title{
  font-size: 16px;
  font-weight: bold;
}

.readmore{
  font-weight: bold;
}

/*sp*/

@media(max-width:768px){
  #pickup{
    flex-direction: column;
    padding-top: 29px;
  }
  
  .pickup-article:nth-child(n+2){
    margin-top: 30px;
  }
  
  .pickup-article{
    width: 100%;
  }
}

/*container*/
#container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
main {
  width: 62%;
}
.main-article {
  margin-bottom: 80px;
}

.main-article:first-child{
  padding-top: 60px;
}

.main-title {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0 15px 0;
}

.meta{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
  padding-left: 0;
}

.meta__link {
  font-size: 14px;
  margin-right: 20px;
  font-weight: bold;
}

.main-text {
  padding: 10px 40px 30px 40px;
}

/*sp*/
@media(max-width:768px){
  main {
    width: 100%;
  }
  .main-title{
    font-size: 21px;
  }
}

/*sideber*/

#sideber{
  width: 33%;
  padding: 20px;
  padding-top: 70px;
}

.auther{
  text-align: center;
}
.auther-title{
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
}

.profile{
  text-align: left;
  font-size: 14px;
}

.auther__image{
  width: 130px;
  height: 130px;
  border-radius: 50%;
}

/*sp*/
@media(max-width:768px){
  #container{
    flex-direction: column;
  }
  
  #sideber{
    width: 100%;
    padding: 30px 0 0 0;
  }
  
  .auther-title{
    font-size: 24px;
  }
  
  .profile{
    font-size: 15px;
  }
}

/*category*/

.category{
  text-align: center;
}

.category-title{
  margin-top: 60px;
  font-size: 30px;
  font-weight: bold;
}

.category__list{
  padding: 10px;
}

.category__link{
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  border-bottom: #333 solid 1px;
}

/*sp*/
@media(max-width:768px){
  .category__list{
    padding: 10px;
  }

  .category-title{
    margin-top: 70px;
  }
}

/*ranking*/

.ranking{
  text-align: center;
  margin-bottom: 30px;
}

.side-title{
  margin: 40px 0  20px 0;
  font-weight: bold;
  font-size: 30px;
}
.ranking-title{
  font-size: 16px;
  margin:0 0 20px 0;
  text-align: left;
}

/*Archive*/

.archive{
  text-align: center;
}

.archive__list{
  text-align: left;
  
}

.archive-title{
  font-size: 30px;
}

.archive__list{
  padding: 10px;
}

.archive__link{
  padding: 20px;
  border-bottom: #333 solid 1px;
}

.archive__link:first-child{
  border-top: #333 solid 1px;
}
.month{
  font-size: 18px;
  font-weight: bold;
}

/*sp*/
@media(max-width:768px){
  .archive__list{
    padding: 10px;
  }
}

/*footer*/
.footer{
  font-size: 20px;
  background-color: #f7f7f7;
  padding: 50px 0;
}

.footer .container{
  display: flex;
  justify-content:space-between;
}

.item{
  width: 30%;
}

.footer-title{
  font-weight: bold;
}

.about-list{
  padding: 0;
}

.copyright{
  text-align: center;
}

/*sp*/
@media(max-width:768px){
  
  .container {
    flex-direction: column;
  }
  .item p{
    font-size: 18px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .item{
    width: 100%;
  }
  .menu-list{
    padding-left: 10px;
  }
  .twitter-timeline{
    width: 90%;
    padding-left: 20px;
  }
}