/* ===============================================
一覧
=============================================== */

p {
  font-size: clamp(14px, 3vw, 17px);
}

.sub_mv {
  background-image: url(../../image/sub_mv/blog.jpg);
  background-position: 90% 75%;
}

@media screen and (max-width: 1200px) {
  .sub_mv {
    background-position: 60% 75%;
  }
}

@media screen and (max-width:860px) {
  .sub_mv {
    background-position: 37% 75%;
  }
}

.blog .post::after {
  content: none;
}

.blog h3 {
  margin-bottom: 35px;
}


/* カードのレイアウト */
.post {
  display: initial;
  padding: 0;
  border-bottom: none;
  position: relative;
}

.post h4 {
  font-size: clamp(15px, 1.8vw, 17px);
}

.post::before {
  content: "";
  display: inline-block;
  background-image: url(../../image/icon/nikukyu.svg);
  width: 50px;
  height: 50px;
  position: absolute;
  top: -25px;
  right: 17px;
  z-index: 3;
  opacity: 0;
  transition: all .2s;
}

.post:hover::before {
  opacity: 1;
}

/* 日付、カテゴリのラップ */
.detail_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 7px;
}

.content ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px 20px;
}

.thum_img {
  aspect-ratio: 3/2;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.thum_img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: all .4s;
}

/* ホバーアニメーション */
.post:hover .thum_img img {
  transform: scale(1.2);
}

@media screen and (max-width: 1100px) {
  .subpage.blog #contents article {
    flex-direction: column;
  }

  .content {
    width: 100%;
  }

  .blog #content-sidebar {
    width: 100%;
    padding-left: 0;
  }
}

@media screen and (max-width: 750px) {

  .content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px 20px;
  }
}

@media screen and (max-width: 550px) {

  .content ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px 20px;
  }

  .thum_img {
    max-width: initial;
  }

  .detail_wrap {
    margin-bottom: 0;
  }
}


/* ===============================================
詳細
=============================================== */

.detail_post {
  padding: 0 0 50px 0;
  display: initial;
}

.detail_post:hover {
  background: initial;
}

.blog .detail_post h4::after {
  content: none;
}

.detail_ttl {
  font-size: clamp(19px, 2vw, 23px);
  margin-bottom: 10px;
}

.detail_wrap.detail {
  display: flex;
  align-items: center;
  justify-content: initial;
  flex-direction: initial;
  gap: 20px;
  margin-bottom: 20px;
}

.detail_wrap .day {
  color: #3b2f1450;
}

.detail_wrap .category {
  padding: 0px 10px;
  margin: 0;
}

.blog .content .pmove {
  margin-top: 65px;
}

/* 矢印無効 */
.blog .detail_post::after {
  content: none;
}

.blog .detail_post::before {
  content: none;
}

.blog_detail_wrap {
  display: flex;
  gap: 20px;
}

.blogthum_img {
  width: 75%;
  min-width: 280px;
  overflow: hidden;
  margin-bottom: 20px;
}

.blogthum_img img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.blog .detail_post img {
  margin-bottom: 0;
}

@media screen and (max-width: 1100px) {

  .blogthum_img {
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .blog_detail_wrap {
    flex-direction: column;
  }
}

/* 一覧へ戻る */


.blog .content .pmove {
  margin-top: 65px;
  text-align: center;
  position: relative;
}

.blog .content .pmove a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}