@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  color: #333;
  font-size: 1rem;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}

a {
  color: #333;

  /* aタグで記述した文字の装飾を指定するプロパティ
  装飾の種類には下線、上線、取り消し線、点滅がある。noneはテキストの装飾を行わない。線無し */
  text-decoration: none;
}

img {
  max-width: 100%;
}

li {
  /* 箇条書きの先頭点を消す */
  list-style: none;
}

/* liの並びを横並びにし、上下左右の余白の指定もできる
  padding、marginともに指定可能 */
#header .site-title a {
  display: inline-block;
}

/* navの背景色 */
#navi {
  background-color: #333;
}

/* nav aの文字色 */
#navi a {
  color: #fff;
}

#navi ul {

  /* liを横並びにする */
  display: flex;

  /* flexアイテムの配置を指定（flexアイテムを左寄せにする） */
  justify-content: flex-start;

  /* ulを中央揃え */
  /*align-items: center;*/
}

#navi li {
  font-size: 0.875rem;
  padding: 10px 60px 10px 0;
}

#header {
  width: 100%;
  background-color: #fff;

  /* headerの位置を固定 */
  position: fixed;

  /* position: fixedにより要素が重なっているときに使うことが多いですね。
  「要素が重なるときに使うもの」と理解しておけば良。
  z-indexの値が大きい要素ほど上に配置。下に隠れてしまうことを防ぐ */
  z-index: 10;
}

#header .site-title {
  padding: 20px 16px;

  /* 文字の行間を調節 */
  line-height: 1px;
}

/* コンテンツ幅を設定するための共通クラス */
.wrapper {
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

main img {
  width: 759px;
  height: 427px;
}

/*#pickup {
  display: flex;
  justify-content: center;
}

#pickup img{
  max-width: 100%;
  width: 374px;
  height: 210px;
  padding: 0;
}

#pickup a {
  font-size: 0.875rem;
}*/


#pickup {
  /* 横並びにする */
  display: flex;

  /* 横並びの要素を両端揃えで均等に配置 */
  justify-content: space-between;
  padding-top: 150px;
  margin-bottom: 60px;
}
#pickup article {
  width: 32%;
}
#pickup .article-title {
  font-size: 1rem;
  margin: 10px 0 15px 0;
}
#pickup img {
  width: 373.75px;
  height: 210px;
}

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

/* 疑似要素で下線を設定するために、「position: relative;」を設定 */
.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: transition-propertyの値（何を適用するか（colorなど））、 
  transition-durationの値（アニメーション開始から終了までの時間）、
  transition-delayの値（アニメーションが開始するまでの遅延時間）、
  transition-timing-functionの値（アニメーションが開始され終了するまでにおける変化の進行度合い）
  easeは開始時と終了時にはゆっくり変化 */
  transition: all 200ms ease;
}

/* ホバー時の下線の設定「opacity: 0;」下線を非表示
  「transform: translateY(3px);」下に3px移動→下に3px移動しながら下線を非表示にする */
.readmore a:hover::after {
  opacity: 0;

  /* Y軸（上下）下方向に3px移動する */
  transform: translateY(3px);
}

#container {
  /* 横並びにする */
  display: flex;

  /* 横並びの要素を両端揃えで均等に配置 */
  justify-content: space-between;
  margin-bottom: 60px;
}

main {
  width: 65%;
}
main article {
  margin-bottom: 80px;
}
main .article-title {
  font-size: 1.5rem;
  margin: 10px 0 15px 0;
}
main ul {
  /* 横並びにして左寄せ */
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}
main li {
  font-size: 0.875rem;
  margin-right: 20px;
}
main .text {
  padding: 10px 40px 30px 40px;
}

#article-img img {
  width: 600px;
  height: 200px;
}

#sidebar {
  width: 33%;
  padding: 20px;
}

#sidebar .side-title {
  font-size: 1.125rem;

  /* フォントの太さを指定（boldはフォントを太字） */
  font-weight: bold;
  margin-bottom: 30px;
}

.author {
  text-align: center;
  margin-bottom: 60px;
}

.author img {
  width: 130px;
  height: 130px;

  /* 画像を円形にする */
  border-radius: 50%;
  margin-bottom: 30px;
}

.author .profile {
  font-size: 0.875rem;
  text-align: left;
}

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

.ranking article {
  margin-bottom: 30px;
}

.ranking .article-title {
  font-size: 0.875rem;

  /* フォントの太さを指定（normalは標準の太さ） */
  font-weight: normal;
  text-align: left;
}

.archive {
  text-align: center;
  margin-bottom: 60px;
}

.archive ul {
  border-bottom: solid 1px black;
}

.archive li{
  font-size: 0.875rem;
  padding: 20px;
  text-align: left;
  border-top: solid 1px black;
}

#footer {
  font-size: 0.875rem;
  background-color: #F7F7F7;
}

#footer .content {
  /* 横並び */
  display: flex;

  /* 横並びの要素を両端揃えで均等に配置 */
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 50px;
}

#footer .item {
  /* itemの幅を指定 */
  width: 30%;
}

#footer .footer-title {
  font-size: 1.125rem;

  /* フォントの太さを指定（boldはフォントを太字） */
  font-weight: bold;
  margin-bottom: 30px;
}

#footer ul.about-list {
  margin: 20px 0;
}

#footer ul.about-list li {
  margin-bottom: 5px;
}

#footer ul.about-list .arrow {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  color: #333;
}

/* 疑似要素で三角矢印を表示border～プロパティで三角を作り、positionで位置調整 */
#footer ul.about-list .arrow::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;

  /* 上下左右のボーダーラインの色を、まとめて指定するプロパティ
     transparentはボーダーラインを透明にする
     border-color : 上線色 右線色 下線色 左線色;　*/
  border-color: transparent transparent transparent #333;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -6px;
}

#footer .menu-list {
  border-bottom: solid  1px #777;
}

#footer .menu-list > li {
  border-top: solid  1px #777;
  padding: 15px;
  text-align: left;
}

#footer .copyright {
  font-size: 0.750rem;
  text-align: center;
  padding: 10px 0;
}