@charset "UTF-8";

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

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

.logo {
  padding: 20px 0;
}
  
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;/* position: fixed;効かないので入れてみた */
  background-color: #fff;
}

header nav {
  height: 39px;
  background-color: #333;
}

header nav ul {
  height: 100%;/* align-items効かないので入れてみた */
  display: flex;
  align-items: center;
  padding-left: 16px;
}

header nav ul li {
  padding-right: 60px;
}

header nav ul li a {
  display: block;
  color: #fff;
  font-size: 14px;
}

.pickup {
  display: flex;
  justify-content: space-between;
  padding: 150px 16px 60px;
}

.pickup article {
  max-width: 32%;
}

.pickup img {
  width: 100%;
}

.pickup h2 {
  width: 100%;
  margin: 10px 0 15px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}

.readmore {
  font-size: 14px;
  text-align: center;
}

.readmore a {
  display: inline-block;
}

.readmore a::after {
  content: '';
  margin-top: 2px;
  width: 100%;
  height: 1px;
  background-color: #333;
  display: block;
  transition: 0.3s;
}

.readmore a:hover::after {
  opacity: 0;
  translate: 0 3px;
}

.container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

main {
  width: 65%;
}

main article {
  margin-bottom: 80px;
}

main article a img {
  max-width: 100%;
}

.meta {
  display: flex;
  font-size: 14px;
  margin: 0 0 10px;
}

.meta li {
  margin-right: 20px;
}

main article h2 {
  margin: 10px 0 15px;
}

main article h2 a {
  font-size: 24px;
  font-weight: bold;
}

main article p {
  padding: 10px 40px 30px;
  font-size: 16px;
  line-height: 1.5;
}

aside {
  width: 33%;
  padding: 20px;
}

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

.author img {
  border-radius: 50%;
  width: 130px;
  height: 130px;
  margin-bottom: 30px;
}

.side-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;

}

.author p {
  font-size: 14px;
  text-align: left;
  line-height: 1.5;
}

.ranking {
  padding-bottom: 30px;
}

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

.ranking article img {
  max-width: 100%;
}

.ranking article h4 {
  font-size: 14px;
  margin-top: 8px;
}

.archive ul {
  border-bottom: solid 1px #777;
  margin-bottom: 60px;
}

.archive li {
  border-top: solid 1px #777;
  padding: 20px;
  font-size: 14px;
  text-align: left;
}

footer {
  background-color: #f7f7f7;
}

footer .content {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 50px;
}

.footer-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}

.item {
  width: 30%;
}

.item p {
  font-size: 14px;
  line-height: 1.5;
}

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

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

.arrow {
  font-size: 14px;
  position: relative;
  display: inline-block;
  padding-left: 12px;
}

.arrow::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #333;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -6px;
}

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

.menu-list li {
  border-top: solid 1px #777;
  padding: 15px;
}

.menu-list li a {
  font-size: 14px;
}

.twitter-timeline {
  font-size: 14px;
}

.copyright {
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .wrapper {
    max-width: 1200px;
  }

  header {
    z-index: 1000;
  }

  header nav ul {
    display: flex;
    justify-content: flex-start;
  }

  header nav ul li {
    min-width: max-content;
  }

  header nav ul a {
    display: inline-block;
    /* width: max-content; */
  }

  nav {
    overflow-x: scroll;
  }

  .pickup {
    display: inline-block;
    padding-top: 140px;
  }

  .pickup article {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .container {
    display: block;
  }

  main {
    width: 100%;
  }

  main h2 a {
    line-height: 1.5;
  }

  aside {
    width: 100%;
    padding: 0;
  }

  .ranking {
    margin-bottom: 60px;
    padding-bottom: 0;
  }

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

  footer .content {
    display: block;
  }

  .archive ul li {
    height: 61px;
  }

  .archive ul {
    margin-bottom: 120px;
  }

  .item {
    width: 100%;
    height: 265px;
    margin-bottom: 30px;
  }

  .menu-list {
    margin-bottom: 30px;
  }

  .item {
    height: auto;
  }

  .about-list {
    padding-bottom: 20px;
  }
} 





























