.blog {
  display: flex;
  max-width: 1200px;
  flex-direction: rows;
  gap: 32px;
  padding: 0 24px;
  margin: auto;
}
.main {
  width: 70%;
  flex-grow: 1;
  background-color: #fff;
}
.side {
  width: 30%;
  flex-grow: 1;
  background-color: #fff;
  margin-bottom: 50px;
}
@media only screen and (max-width: 680px) {
  .blog {
    display: flex;
    flex-direction: column;
  }
  .main {
    width: 100%;
  }
  .side {
    width: 100%;
  }
}
.blog-title {
  margin: 24px auto 24px auto;
}
.blog-title img {
  width: 100%;
}
.blog-hush {
  margin: 24px auto 24px auto;
  font-size: 20px;
  border: 1px solid #5d6832;
  color: #5d6832;
  border-radius: 100px;
  padding: 8px 24px;
  white-space: nowrap;
  text-align: center;
  display: block;
  width: fit-content;
}
.blog_list {
  padding: 64px 0 32px 0;
}
.blog-detail {
  margin: auto;
  padding: 32px 0 32px 0;
}
@media only screen and (max-width: 680px) {
  body:not(.home) .blog-detail {
    margin: auto;
    padding: 64px 0 32px 0;
  }
}
.blog-detail h2.blog-title {
  text-align: left;
}
.blog-detail .insta-caption {
  line-height: 36px;
  font-size: 18px;
  padding: 24px 0;
}
.blog-list {
  margin: auto;
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

@media only screen and (max-width: 680px) {
  .blog-list {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
.blog a {
  text-decoration: none;
}
.blog a:hover {
  opacity: 0.7;
  text-decoration: underline;
}
.blog-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #222;
  display: block;
  width: 100%;
  margin: auto;
}
.hidden {
  display: none;
}
a.more {
  border: 1px solid #5d6832;
  color: #5d6832;
  border-radius: 60px;
  width: fit-content;
  padding: 16px 32px;
  margin: 24px auto;
  text-align: center;
  font-size: 20px;
  line-height: 20px;
  display: block;
  cursor: pointer;
  letter-spacing: 0;
}
.back {
  border: 1px solid #5d6832;
  color: #5d6832;
  border-radius: 60px;
  width: fit-content;
  padding: 16px 32px;
  margin: 24px auto;
  text-align: center;
  font-size: 20px;
  line-height: 20px;
  display: block;
  cursor: pointer;
}
.notfound {
  padding: 24px;
  text-align: center;
}
.blog-item img {
  width: 100%;
  object-fit: cover;
  margin: auto;
  aspect-ratio: 1 / 1;
}

.blog-list .insta-caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: 600;
  line-height: 24px;
  font-size: 18px;
  padding-top: 8px;
}
@media only screen and (max-width: 680px) {
  .blog-list .insta-caption {
    line-height: 21px;
    font-size: 15px;
  }
}

.blog-list .insta-timestamp {
  font-weight: 300;
  line-height: 20px;
  font-size: 14px;
  display: block;
  color: #999;
}
.blog h2 {
  text-align: center;
  border-bottom: 1px solid #76be40;
  font-size: 24px;
  line-height: 30px;
  font-family: serif;
  margin: 24px auto;
  padding: 6px 12px;
}
.ranking {
  width: 100%;
}
.ranking-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.ranking-item {
  font-size: 16px;
  line-height: 18px;
  color: #222;
  width: 100%;
}

.ranking-item a {
  display: flex;
  flex-direction: rows;
  color: #222;

  gap: 12px;
}

.ranking-item a:hover {
  opacity: 0.7;
}

.ranking-item a:nth-child(1) {
  flex-grow: 0;
}
.ranking-item a:nth-child(2) {
  flex-basis: auto;
  flex-grow: 2;
}
.ranking-item > a > img {
  width: 110px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.ranking-list p.caption {
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}
@media only screen and (max-width: 680px) {
  .ranking-list p.caption {
    font-size: 14px;
    line-height: 20px;
  }
}
.ranking-list .like {
  font-size: 15px;
  line-height: 14px;
  margin: 0;
  display: inline-block;
  color: #fd746c;
  margin-right: 12px;
}
.ranking-list .timestamp {
  font-size: 13px;
  margin: 0;
  display: inline-block;
  color: #999;
}
.breadcrumb {
  padding: 0 0 24px 0;
}
.breadcrumb a {
  display: inline-block;
  padding: 6px;
  font-size: 14px;
  line-height: 24px;
  border: 0;
}

.breadcrumb a:hover {
  opacity: 0.8;
}
.keyword{
  padding-bottom: 48px;
}
.tag-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.tag-list > * {
  flex-basis: 60px;
  flex-grow: 0;
}
.tag-list > * a {
  border: 1px solid #5d6832;
  color: #5d6832;
  border-radius: 100px;
  padding: 6px 16px;
  display: block;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}
.tag-list > * a:hover {
  text-decoration: none;
}
.swiper {
  background-color: #eee;
}
.swiper-slide {
  text-align: center;
}

.swiper-slide img,
.swiper-slide video {
  width: auto;
  height: 540px;
  object-fit: contain;
  margin: auto;
  vertical-align: middle;
  border: 0;
}
@media only screen and (max-width: 768px) {
  .swiper-slide img,
  .swiper-slide video {
    width: auto;
    height: 400px;
    object-fit: contain;
    margin: auto;
    vertical-align: middle;
    border: 0;
  }
}

.swiper-button-prev,
.swiper-button-next {
  --swiper-navigation-color: #5d6832;
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  width: 46px;
  height: 46px;
  border-radius: 46px;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 30px;
  color: #5d6832;
  line-height: 30px;
}
@media only screen and (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

.swiper-pagination-bullet {
  background: #ddd;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #5d6832;
}
.insta-banner {
  text-align: center;
  padding: 64px 0 32px 0;
}
.insta-banner img {
  max-width: 500px;
  margin: auto;
  width: 100%;
}
.autoscroll {
  width: 100%;
  overflow: auto;
}
.embed {
  position: relative;
  display: block;
}
.embed:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url(images/play.svg);
  background-position: center;
  background-size: 60px 60px;
  background-color: rgba(0, 0, 0, 0.4);
  background-repeat: no-repeat;
}
@media (min-width: 681px) {
  .sp {
    display: none;
  }
}
@media (max-width: 680px) {
  .pc {
    display: none;
  }
}

.pagination {
  margin: 24px auto 0;
  width: 100%;
  display: block;
}
@media screen and (min-width: 768px) {
.pagination {
  margin-top: 40px;
}
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.pagination .page-numbers {
  display: flex;
  color: #444;
  border-radius: 50%;
  border: 1px solid #ccc;
  box-shadow: 0 2px 2px #ccc;
  background: #fff;
  width: 36px;
  height: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-size: 13px;
  justify-content: center;
  align-items: center;
  transition: unset;
}
a.page-numbers, .tablenav .current {
  color: #ee873d;
  padding: 2px .4em;
  border: solid 1px #ccc;
  text-decoration: none;
}
.pagination .page-numbers {
  display: flex;
  color: #444;
  border-radius: 50%;
  border: 1px solid #ccc;
  box-shadow: 0 2px 2px #ccc;
  background: #fff;
  width: 36px;
  height: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-size: 13px;
  justify-content: center;
  align-items: center;
  transition: unset;
}
.pagination .dots {
  background: transparent;
  box-shadow: none;
  border: none;
  width: auto;
}
.pagination .prev, .pagination .next {
    display: none;
    background: transparent;
    box-shadow: none;
    color: #5d3b37;
    width: auto;
    font-size: 14px;
    line-height: 1;
    padding: 0 6px;
}
.pagination .current {
  background: #5d3b37;
  color: #fff;
}

.instagram-post-link {
  text-align: center;
  margin: 1em auto 0;
}
.instagram-post-link a {
  background-color: #999;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
.instagram-post-link a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(/instagram-blog/wp-content/themes/blog-renew/images/insta_logo_mark.webp);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 4px;
  filter: brightness(15);
}
.instagram-post-link a:hover {
  opacity: .7;
}

.backhome-wrap {
  margin: 40px auto;
}