@charset "utf-8";

/* 共通設定 */
* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  color: #333;
}

.font16 {
  font-size: 1rem;
  font-weight: 400;
}

.font14 {
  font-size: 0.875rem;
  font-weight: 400;
}

.article-title {
  font-weight: 500;
}

.small-title {
  font-size: 18px;
  margin: 25px 0;
}

.wrapper {
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  font-size: 14px;
  user-select: none;
  color: #333;
}

.readmore {
  text-align: center;
}

.link-underbar {
  position: relative;
}

.link-underbar::after {
  content: '';
  background: #333;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  transition: all 0.2s;
  z-index: -1;
}

.link-underbar:hover::after {
  opacity: 0;
  transform: translateY(3px);
}

li {
  list-style: none;
}

img {
  max-width: 100%;
}

/* 共通設定ここまで */

/* header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
}

#header h1 {
  padding: 20px 16px;
  line-height: 1.6rem;
}

#header h1 a {
  line-height: 0;
  font-size: 1.6rem;
}

#header #pc-nav {
  background: #333;
  padding: 12px 0;
}

#header #pc-nav ul {
  display: flex;
}

#header #pc-nav li {
  margin-right: 60px;
  display: flex;
  align-items: center;
}

#header #pc-nav a {
  color: #fff;
  line-height: 100%;
}

/* headerここまで */

#pagetop-margin {
  height: 150px;
}

/* pick up */
#pickup {
  margin-bottom: 70px;
  display: flex;
  justify-content: space-between;
  gap: 23px;
}

.pickup-title {
  margin: 10px 0;
}

/* pick upここまで */

#container {
  display: flex;
  justify-content: space-between;
}

/* main */
#container main {
  width: 65%;
}

main article {
  margin-bottom: 80px;
}

main article ul {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

main article img {
  margin-top: 15px;
}

.article-text {
  width: 90%;
  margin: 25px auto;
}

/* mainここまで */

/* sidebar */
#sidebar {
  width: 30%;
  padding: 10px;
}

#sidebar section {
  margin-bottom: 40px;
}

/* profile */
#profile-img {
  text-align: center;
}

#profile-img img {
  width: 130px;
  border-radius: 50%;
}

#sidebar .small-title {
  text-align: center;
}

/* profileここまで */

/* Ranking */
#ranking article {
  margin-bottom: 30px;
}

/* Rankingここまで */

/* Archive */
#archive li {
  padding: 20px;
  border-bottom: 1px solid #777;
}

#archive li:first-child {
  border-top: 1px solid #777;
}

/* Archiveここまで */
/* sidebarここまで */

/* footer */
#footer {
  background: #f7f7f7;
  padding-bottom: 20px;
}

#footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 30px 30px 40px;
}

#footer-about ul {
  margin-top: 30px;
  line-height: 1.7;
}

#footer-about ul a {
  position: relative;
}

#footer-about ul a::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #333;
  display: inline-block;
  vertical-align: 0;
  margin-right: 0.25rem;
}

#footer-menu ul li {
  padding: 15px;
  border-bottom: 1px solid #777;
}

#footer-menu ul li:first-child {
  border-top: 1px solid #777;
}

#footer-twitter .tweet-area {
  background: #fff;
  width: 100%;
  height: 80%;
  padding: 10px;
}

#footer small {
  display: block;
  text-align: center;
}

/* footerここまで */

/* ===============
       スマホ
   =============== */
@media screen and (max-width: 600px) {

  /* スマホ header */
  #header h1 {
    line-height: 24px;
    padding: 0 8px;
  }


  #header h1 a {
    display: inline-block;
    height: 24px;
    font-size: 1.2rem;
  }

  #header #pc-nav {
    overflow-x: scroll;
  }

  #header #pc-nav ul li {
    margin-right: 2.75rem;
  }

  /* スマホ headerここまで */

  /* スマホ pickup */
  #pickup {
    flex-direction: column;
    margin-bottom: 100px;
  }

  /* スマホ pickupここまで */

  #container {
    flex-direction: column;
  }

  /* スマホ main */
  #container main {
    width: 100%;
  }

  .article-text {
    width: 75%;
    margin: 10px auto 20px;
  }

  /* スマホ mainここまで */

  /* スマホ sidebar */
  #sidebar {
    width: 100%;
    padding: 0 0 60px 0;
  }

  #sidebar section {
    margin-bottom: 60px;
  }

  /* スマホ sidebarここまで */

  /* スマホ footer */
  #footer-container {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 16px 40px;
    gap: 30px;
  }

  #footer-about ul {
    line-height: 1.9;
    margin-top: 20px;
  }

  #footer small {
    margin-top: 30px;
  }

  /* スマホ footerここまで */
}