@charset "UTF-8";

/* break point: 767px */
/* max-width: 1200px */
/* full width: global nav, footer */
/* side padding: 16px */

/* --------common-------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* --------header-------- */
header {
  position: fixed;
  width: 100%;
  z-index: 10;
  background-color: #fff;
}

/* ------logo-------- */
header h1 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* --------navigation-------- */
header nav {
  padding: 0 16px;
  background-color: #333;
}

header nav ul {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 0;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: calc(17 / 14);
  list-style: none;
}

header nav ul.flex-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

header nav a {
  color: #fff;
  text-decoration: none;
}

/* --------pickup-------- */
#pickup {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 16px 0;
  background-color: #fff;
}

#pickup.flex-container {
  display: flex;
  justify-content: space-between;
  gap: 23.5px;
}

#pickup article img {
  max-width: 100%;
  vertical-align: bottom;
}

#pickup h2 {
  margin-top: 13px;
  margin-bottom: 21px;
  font-size: 1rem;
  font-weight: bold;
  line-height: calc(19 / 16);
}

#pickup .readmore {
  text-align: center;
}

#pickup .readmore a {
  position: relative;
  padding-bottom: 3px;
  color: #333;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: calc(17 / 14);
  text-decoration: none;
}

#pickup .readmore a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
  background-color: #333;
  transition: all .2s ease;
}

#pickup .readmore a:hover::after {
  opacity: 0;
  transform: translateY(3px);
}

/* --------main/aside-------- */
#container {
  display: flex;
  width: 100%;
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto 140px;
  background-color: #fff;
}

/* --------main-------- */
.main {
  width: calc(759 / 1200 * 100%);
  margin-top: 87px;
}

.main article+article {
  margin-top: 84.5px;
}

.main article h2 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: calc(29 / 24);
}

.main ul.flex-box {
  display: flex;
  gap: 32px;
}

.main ul {
  margin-top: 27px;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: calc(17 / 14);
  list-style: none;
}

.main a {
  color: #333;
  text-decoration: none;
}

.main img {
  max-width: 100%;
  margin-top: 13px;
}

.main p {
  max-width: 667px;
  margin: 13px auto 0;
  font-size: 1rem;
  font-weight: normal;
  line-height: calc(19 / 16);
}

.main .readmore {
  margin-top: 33px;
  text-align: center;
}

.main .readmore a {
  position: relative;
  padding-bottom: 3px;
  color: #333;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: calc(17 / 14);
  text-decoration: none;
}

.main .readmore a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
  background-color: #333;
  transition: all .2s ease;
}

.main .readmore a:hover::after {
  opacity: 0;
  transform: translateY(3px);
}

/* --------aside-------- */
aside {
  width: calc(332 / 1200 * 100%);
  margin: 93px auto 0;
}

/* --------auther-------- */
aside .auther {
  text-align: center;
}

aside .auther img {
  width: 130px;
  border-radius: 50%;
}

aside .auther h3 {
  margin-top: 35px;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: calc(22 / 18);
}

aside .auther p {
  margin-top: 37px;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: calc(17 / 14);
  text-align: left;
}

/* --------ranking-------- */
aside .ranking {
  margin-top: 57px;
  text-align: center;
}

aside .ranking h3 {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: calc(22 / 18);
}

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

aside .ranking article:first-of-type img {
  margin-top: 34px;
}

aside .ranking article:not(:first-of-type) {
  margin-top: 31px;
}

aside .ranking h4 {
  margin-top: 3px;
  font-size: 0.875em;
  font-weight: normal;
  line-height: calc(17 / 14);
  text-align: left;
}

/* --------archive-------- */
aside .archive {
  margin-top: 66px;
}

aside .archive h3 {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: calc(22 / 18);
  text-align: center;
}

aside .archive ul {
  margin-top: 34px;
  list-style: none;
}

aside .archive ul li {
  padding: 23px 20px;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: calc(17 / 14);
  border-top: 1px solid #333;
}

aside .archive ul li:last-child {
  border-bottom: 1px solid #333;
}

/* --------footer-------- */
footer {
  width: 100%;
  margin: 0 auto;
  padding: 55px 16px 12px;
  background-color: #f7f7f7;
}

footer .content.flex-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

footer .item {
  width: calc(100% / 3 - (50px * 2));
}

footer .item h3 {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: calc(22 / 18);
}

footer .item a {
  color: #333;
  text-decoration: none;
}

/* --------about-------- */
footer .about.item p {
  max-width: 345px;
  margin-top: 37px;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: calc(17 / 14);
}

footer .about.item ul {
  margin-top: 15px;
  list-style: none;
}

footer .about.item li {
  position: relative;
  padding-left: 16px;
}

footer .about.item ul li::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 25%;
  left: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #333;
}

footer .about.item li+li {
  margin-top: 12px;
}

/* --------menu-------- */
footer .menu.item ul {
  margin-top: 34px;
  list-style: none;
}

footer .menu.item li {
  padding: 19px 16px 18px;
  border-top: 1px solid #777;
}

footer .menu.item li:last-child {
  border-bottom: 1px solid #777;
}

/* --------twitter-------- */
footer .twitter.item .twitter-timeline {
  width: 100%;
  padding-top: 34px;
  margin: 0 auto;
}

/* --------copyright-------- */
footer p.copyright {
  margin-top: 64px;
  font-size: 0.75rem;
  text-align: center;
}

/* ////////responsive design//////// */
@media screen and (max-width: 767px) {

  /* --------logo-------- */
  header h1 {
    padding: 20px;
  }

  /* --------navigation-------- */
  header nav ul.flex-container {
    overflow-x: auto;
  }

  /* --------pickup-------- */
  #pickup {
    padding-top: 140px;
  }

  #pickup.flex-container {
    flex-direction: column;
  }

  /* ------main/aside------ */
  #container {
    flex-direction: column;
    margin-bottom: 120px;
  }

  /* --------main-------- */
  .main {
    width: 100%;
    margin-top: 104px;
  }

  .main ul {
    margin-top: 22px;
  }

  /* --------aside-------- */
  aside {
    width: 100%;
    margin-top: 83px;
  }

  /* --------footer-------- */
    footer .content.flex-container {
      flex-direction: column;
    }

    footer .item {
      width: 100%;
    }

    footer .about.item p {
      max-width: 100%;
    }

    footer .menu.item {
      margin-top: 59px;
    }

    footer .twitter.item {
      margin-top: 35px;
    }

    footer p.copyright {
      margin-top: 94px;
    }












}