@charset "utf-8";

html {
  display: block;
  font-size: 100%;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  word-break: normal;
  -moz-tab-size: 4;
  tab-size: 4;
  margin: 0;
  padding: 0;
}

* {
  font-family: 'Noto Sans','Noto Sans JP',Meiryo,'Lato','ヒラギノ角ゴ ProN','Hiragino Kaku Gothic ProN','メイリオ','ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

body {
  display: block;
  width: 100%;
  color: #333;
  font-size: 1rem;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
}

::before, ::after {
  background-repeat: no-repeat;
  box-sizing: inherit;
  text-decoration: inherit;
  vertical-align: inherit;
}

article {
  display: block;
}

h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

h4 {
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

/* p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
} */

a {
  color: #333;
  text-decoration: none;
  background-color: transparent;
}

img {
  max-width: 100%;
  border-style: none;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/* READ MORE ボタン */
.readmore {
  text-align: center;
  font-size: 0.875rem;
}

/*
疑似要素で下線を設定するために、「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: all 200ms ease;
}

/*
ホバー時の下線の設定
「opacity: 0;」下線を非表示
「transform: translateY(3px);」下に3px移動
→下に3px移動しながら下線を非表示にする
*/

.readmore a:hover::after {
  opacity: 0;
  transform: translateY(3px);
}


/* 全体に適用 */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  display: block;
}

/* --------
ヘッダー
-------- */

header {
  width: 100%;
  display: block;
  position: fixed;
  z-index: 10;
  background-color: #fff;
}

.site-title {
  padding: 20px 16px;
  line-height: 1;
}

.site-title a {
  display: inline-block;
}

.site-title img {
  width: 218px
}

.nav-menu {
  display: block;
  background-color: #333;
}

.nav-menu ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nav-menu ul li {
  padding: 10px 60px 10px 0;
  font-size: 0.875rem;
}

.nav-menu ul a {
  color: #fff;
}

/* ↓↓↓ ハンバーガーメニュー ↓↓↓ */
.burger {
  display: none;
  width: 100%;
  height: 37px;
  background-color: #333;
}

.burger_btn {
  display: none;
  width: 86px;
  height: 37px;
  background-color: #333;
  padding-inline-start: 16px;
  position: fixed;
  cursor: pointer;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.burger_btn:hover {
  opacity: 0.8;
}

/* ハンバーガーメニューの線の設定（メニューが閉じている時） */
.burger_btn span {
  width: 50px;
  height: 3px;
  background: #fff;
  position: absolute;
  top: 8px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

/* 1本目の線の位置を設定 */
.burger_btn span:nth-child(1) {
  top: 17px;
}
/* 2本目の線の位置を設定 */
.burger_btn span:nth-child(2) {
  top: 8px;
}
/* 3本目の線の位置を設定 */
.burger_btn span:nth-child(3) {
  top: 26px;
}

/*
ハンバーガーメニューの線の設定（メニューが開いている時）
1本目の線を-45度回転
*/
.burger_btn.active span:nth-child(1) {
  top: 17px;
  left: 16px;
  background :#fff;
  transform: rotate(-30deg);
}
/* 2本目と3本目は重ねて45度回転 */
.burger_btn.active span:nth-child(2),
.burger_btn.active span:nth-child(3) {
  top: 17px;
  background: #fff;
  transform: rotate(30deg);
}

  /*
メニューの設定
最初は閉じている状態なので、「opacity: 0;」「visibility: hidden;」
で要素を非表示にしておく
*/
#navi {
  margin-top: 82px;
  width: 100%;
  height: 100vh;
  background-color: #333;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  text-align: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  visibility: hidden;
}
/*
ハンバーガーメニューがクリックされた際に、jQueryで#naviにactiveクラスを追加して、
メニューを表示させる。
*/
#navi.active {
  opacity: 0.9;
  visibility: visible;
}

#navi .menu {
  margin: 80px 0 40px 0;
}
#navi .menu li {
  margin-bottom: 20px;
}
#navi .menu a {
  color: #fff;
  font-weight: bold;
}

#navi .menu a:hover {
  color: #ffb6c1;
}

#navi .menu {
  margin-top: 30px;
}



/* ピックアップ記事 */
#pickup {
  display: flex;
  justify-content: space-between;
  padding-top: 150px;
}

#pickup.wrapper {
  margin-bottom: 60px;
}

#pickup article {
  width: 32%;
}

#pickup article h2 {
  font-size: 1rem;
  line-height: 1.33;
  margin: 10px 0 15px;
  font-family: 'Noto Sans','Noto Sans JP',Meiryo,'Lato','ヒラギノ角ゴ ProN','Hiragino Kaku Gothic ProN','メイリオ','ＭＳ Ｐゴシック','MS PGothic',sans-serif; 
}

/* --------
mainコンテンツ
-------- */

/* 記事 */

#container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

main {
  width: 65%;
}

main ul.meta {
  display: flex;
  justify-content: flex-start;
  margin-bottom : 10px;
}

main li {
  font-size: 0.875rem;
  margin-right: 20px;
}

article.inner {
  margin-bottom: 80px;
}

article.inner > h2 {
  margin: 10px 0 15px;
}

article.inner img {
  width: 118%;
}

ul.meta {
  margin: 0 0 10px;
}

main p.text {
  padding: 10px 40px 30px;
}

/* --------
sidebar
-------- */

aside {
 display: block;
}

aside#sidebar {
  width: 33%;
  padding: 20px;
  margin: 0 auto;
  text-align: center;
}

h3.side_title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 30px;
}

h4.article_title {
  font-size: 0.875rem;
  font-weight: normal;
  text-align: left;
}

/* プロフィール */
section.author {
  text-align: center;
  margin-bottom: 60px;
}

section.author img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 0 30px;
}

section.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;
  font-weight: normal;
  text-align: left;
}

/* アーカイブ */
.archive {
 margin-bottom: 60px; 
}

.archive li {
  padding: 20px;
  border-top: solid 1px #777;
  text-align: left;
}

.archive li:last-child {
  border-bottom: solid 1px #777;
}

.archive a {
  font-size: 0.875rem;
}

/* --------
footer
-------- */
footer {
  background-color: #f7f7f7;
  font-size: 0.875rem;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: middle;
  margin: 0 auto;
  padding: 50px 16px;
}

footer .item {
  width: 30%;
}

footer .item p {
  line-height: 1.55em;
}

.footer_title {
  font-size: 1.125rem;
  margin: 0 0 30px;
  font-weight: bold;
}

footer > ul.about_list {
  list-style: none;
  margin: 20px 0;
}

footer ul.about_list > li {
  margin-bottom: 5px;
  padding: 0;
  border: none;
}

footer ul.about_list > li:last-child  {
  border: none;
}

footer ul.about_list > li > .arrow {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  color: #333;
}

footer ul.about_list .arrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -6px;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #333;

}

 section ul li {
  padding: 15px;
  border-top: solid 1px #777;
  text-align: left;
 }
section ul li:last-child {
  border-bottom: solid 1px #777;
 }

/* section ul li a {
  font-size: 14px;
} */

/* --------
copyright
-------- */
.copyright {
  background-color: #f7f7f7;
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
}

/* -------------------------------
レスポンシブ（SP用）
------------------------------- */

@media (max-width: 767px){

  .nav-menu {
    display: none;
  }
  
  .burger {
  display: block;
}
  
  .burger_btn {
    display: block;
  }
  

  .wrapper {
    margin: 0 auto;
    padding: 0 16px;
  }

  #pickup {
    flex-direction: column;
    }
  
  #pickup article {
  width: 100%;
  }
  
  #container {
    flex-direction: column;
  }

  article.section img, article.inner img {
    width: 118%;
  }

  main, aside#sidebar {
    width: 100%;
  }

  .author p {
    text-align: left;
  }
  
  .content {
    flex-direction: column;
    padding: 50px 16px;
  }

  footer .item {
    width: 100%;
    margin-bottom: 30px;
  }

}
