@charset "utf-8";

/*
Theme Name : blog
*/

/*----------------------------------
common
-----------------------------------*/

body {
  font-family: "lato", "Noto Sans", "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

img {
  width: 100%;
}

h1 {
  font-size: 32px;
  color: #333333;
}

h2 {
  color: #333333;
}

li {
  list-style: none;
  color: #333333;
}

a {
  text-decoration: none;
  color: inherit;
}

.button-33 {
  position: relative;
  width: 250px;
  margin: 0 auto;
  padding: .9em 2em;
  color: #b8b8b8;
  font-size: 1em;
}

.button-33::before,
.button-33::after {
  position: absolute;
  z-index: -1;
  width: 0;
  height: 1px;
  content: '';
}

.button-33::before {
  top: -1px;
  left: 0;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
}

.button-33::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
}

.button-33:hover::before,
.button-33:hover::after {
  width: 100%;
  height: 100%;
  border-color: #b8b8b8;
  transition: width .3s ease, height .3s .3s ease;
}

/*--------------------------------------
Header
---------------------------------------*/

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

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

.logo img {
  width: 145px;
  height: 30px;
}

.nav {
  background-color: #676767;
}

.menu {
  display: flex;
  max-width: 1200px;
  padding: 10px 16px;
  margin: 0 auto;
}

.menu li {
  margin-right: 60px;
}

.menu a {
  color: #fff;
  text-decoration: none;
}

.menu a:hover {
  opacity: 0.5;
}

/*--------------------------------------
Pick Up
---------------------------------------*/

#pickup {
  max-width: 1200px;
  padding: 155px 16px 0 16px;
  margin: 0 auto 70px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  height: auto;
}

.pickup-img {
  margin-bottom: 10px;
}

.pickup-text {
  margin-bottom: 15px;
  font-size: 16px;
}

.read-more {
  color: #333333;
  font-size: 14px;
  display: block;
  text-align: center;
}

.wp-block-heading {
  margin: 24px 0;
}

/*--------------------------------------
Main
---------------------------------------*/

#container {
  display: flex;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto 140px auto;
  justify-content: space-between;
}

.main {
  width: 65%;
}

article {
  margin-bottom: 80px;
}

.main-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.date {
  display: flex;
  font-size: 14px;
}

.date li {
  margin-right: 20px;
  margin-bottom: 10px;
}

.main-img {
  width: 100%;
  margin-bottom: 10px;
}

.main-text {
  font-size: 16px;
  color: #333333;
  padding: 0 40px;
  margin-top: 16px;
  margin-bottom: 30px;
}

.post-link {
  width: 300px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

main .page-title {
  border-bottom: solid 1px #777;
  font-size: 1.75rem;
  padding-bottom: 10px;
  margin-bottom: 60px;
}

/*--------------------------------------
Aside
---------------------------------------*/

aside {
  width: 30%;
}

/* profile */

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

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

.name {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
}

.profile-text {
  font-size: 14px;
  color: #333333;
  text-align: left;
}

/* ranking */

.ranking-title {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
  text-align: center;
}

.ranking-img {
  width: 100%;
}

.ranking-text {
  font-size: 14px;
  color: #333333;
  margin-bottom: 30px;
}

/* Archive */

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

.archive-title {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 30px;
}

.archive li {
  font-size: 14px;
  color: #333333;
  padding: 20px;
  border-top: 1px solid #777777;
}

.archive-list li:first-child {
  border-top: 1px solid #777777;
}

/*--------------------------------------
Contact Form
---------------------------------------*/

input,
textarea {
  width: 100%;
  border: solid 1px #c8c8c8;
  padding: 8px;
  margin-bottom: 10px;
}

input[type="submit"] {
  background-color: #333;
  color: #fff;
  padding: 15px 0;
}

input[type="submit"]:hover {
  opacity: 0.7;
}

/*--------------------------------------
Search Form
---------------------------------------*/

#searchform {
  position: relative;
  margin-bottom: 60px;
}

#searchform button {
  position: absolute;
  top: 8px;
  right: 12px;
}

/*--------------------------------------
Footer
---------------------------------------*/
#footer {
  width: 100%;
  padding: 50px 16px 10px;
  background: #f7f7f7;
}

.content {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 60px auto;
}

.content-title {
  font-size: 18px;
  margin-bottom: 30px;
}

.about {
  width: 30%;
}

.about-text {
  font-size: 14px;
  color: #333333;
  margin-bottom: 20px;
}

.about-content a {
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  position: relative;
  padding-left: 12px;
}

.about-content a::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;
}

.footer-menu {
  width: 30%;
}

.footer-menu li {
  padding: 15px;
  border-bottom: 1px solid #777777;
}

.footer-menu li:first-child {
  border-top: 1px solid #777777;
}

.footer-menu a {
  font-size: 14px;
  color: #333333;
  text-decoration: none;
}

.twitter {
  width: 30%;
}

.twitter-container {
  height: 340px;
  overflow: scroll;
}

.copy {
  text-align: center;
}

/*--------------------------------------
Pagination
---------------------------------------*/

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.pagination li {
  padding: 0 10px;
}

.pagination ul a:hover {
  opacity: 0.7;
}

/*--------------------------------------
Error
---------------------------------------*/

.error {
  text-align: center;
  padding: 24px 0;
}

/*--------------------------------------
SP
---------------------------------------*/
@media (max-width: 768px) {

  .menu {
    justify-content: center;
  }

  #pickup {
    flex-direction: column;
  }

  article {
    margin-bottom: 30px;
  }

  #container {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .main {
    width: 100%;
  }

  .post-link {
    width: 100%;
  }

  aside {
    width: 100%;
  }

  .content {
    flex-direction: column;
  }

  .about {
    width: 100%;
    margin-bottom: 50px;
  }

  .footer-menu {
    width: 100%;
    margin-bottom: 50px;
  }

  .twitter {
    width: 100%;
  }

}
