@charset "utf-8";

/* ====================================================
blog共通
==================================================== */
.blog .contents-wrapper {
  width: 90%;
  max-width: 1164px;
  margin: 0 auto;
  padding: 80px 0 0;
  border-radius: 36px;
  background: #fff;
}

.blog .contents-wrap {
  margin: 0 auto;
}

.blog .article_text .jobArea p {
  padding: 1px 10px 0;
  background: #8fab8c;
  font-weight: bold;
  color: #fff;
}

.blog .article_text .jobArea p,
.blog .article_text .jobArea span {
  display: inline-block;
  font-size: var(--fs-14);
}

.blog .article_text .jobArea span {
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .blog .contents-wrapper {
    padding: 0 5% 60px;
  }
}

.article_img .cate {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  padding: 6px 20px 6px;
  border-radius: 0 16px 0 8px;
  background: var(--c-blue);
  font-size: var(--fs-13);
  font-weight: bold;
  color: #fff;
  z-index: 99;
}

.article_img .cate.interview {
  background: #759771;
}
.article_img .cate.architectural-diary {
  background: #e2cd61;
  color: #000;
}

/* ====================================================
blog一覧 blog-list
==================================================== */
.blog-list .blog_box {
  display: grid;
  justify-content: start;
  max-width: 1164px;
  margin: 0 auto;

  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.blog-list .blog_box a {
  width: 100%;
  margin-bottom: 30px;
}

.blog-list .blog_box article .article_img {
  position: relative;
  overflow: hidden;
  margin-bottom: 3%;
  border-radius: 16px;
}

.blog-list .blog_box article .article_img figure img {
  width: 100%;
  height: auto;

  aspect-ratio: 360 / 200;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.blog-list .blog_box a:hover article .article_img figure img {
  transform: scale(1.1);
}

.blog-list .blog_box article .article_text .jobArea {
  margin-bottom: 8px;
}

.blog-list .blog_box article .article_text .tag {
  margin-top: 12px;
  font-size: var(--fs-14);
  color: var(--c-blue);
}

.blog-list .contents__head {
  position: relative;
}

.blog-list .contents__head:before {
  position: absolute;
  top: 56px;
  left: 8vw;
  width: 29vw;
  height: auto;
  background: url(../img/blog/blog_illust001.svg) no-repeat center / contain;
  content: "";

  aspect-ratio: 430 / 146;
}

.blog-list .contents__head:after {
  position: absolute;
  top: 80px;
  right: 15vw;
  width: 21vw;
  height: auto;
  background: url(../img/blog/blog_illust002.svg) no-repeat center / contain;
  content: "";

  aspect-ratio: 309 / 118;
}

@media screen and (max-width: 767px) {
  .blog-list .blog_box {
    justify-content: center;
  }
  .blog-list .blog_box a {
    margin: 0 auto;
  }
  .blog-list .contents__head:before {
    position: absolute;
    top: -20px;
    left: 10vw;
    width: 8vw;
    height: auto;
    background: url(../img/blog/blog_illust003.svg) no-repeat center / contain;
    content: "";

    aspect-ratio: 31 / 109;
  }

  .blog-list .contents__head:after {
    position: absolute;
    top: 0;
    right: 6vw;
    width: 16vw;
    height: auto;
    background: url(../img/blog/blog_illust004.svg) no-repeat center / contain;
    content: "";

    aspect-ratio: 61 / 76;
  }
}

/* ====================================================
blog詳細　.blog-detail
==================================================== */

.blog.blog-detail .breadcrumb ul li:nth-child(2) a:after {
  display: none;
}

.blog.blog-detail .contents-wrapper {
  max-width: 800px;
  padding-top: 0;
}

.blog.blog-detail .contents-wrap article {
  margin-bottom: 40px;
  border-bottom: 1px dashed #b8b8b8;
}

.blog_ttl {
  margin-bottom: 60px;
}

.blog_ttl h1 {
  margin-bottom: 30px;
  color: var(--c-blue);
}

.blog_ttl .ttl {
  font-size: var(--fs-15);
}

.blog_ttl .cate {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 10px;
  padding: 0 18px;
  border-radius: 99px;
  background: #35609d;
  font-size: var(--fs-15);
  font-weight: bold;
  color: #fff;
}

.blog_ttl time {
  font-size: var(--fs-15);
}

.blog_ttl figure {
  margin-bottom: 20px;
}

.blog-detail .post {
  margin-bottom: 40px;
}

.blog.blog-detail .jobArea p,
.blog.blog-detail .jobArea span {
  display: inline-block;
}

.blog.blog-detail .jobArea p {
  margin-right: 10px;
  padding: 2px 16px 0;
  background: #8fab8c;
  font-weight: bold;
  color: #fff;
  font-size: var(--fs-18);
  line-height: 1.4;
}

.blog.blog-detail .jobArea span {
  font-weight: bold;
  font-size: var(--fs-20);
}

@media screen and (max-width: 767px) {
  .blog_ttl {
    margin-bottom: 20px;
  }
  .blog_ttl h1 {
    margin-bottom: 20px;
  }
  .blog-detail .post {
    margin-bottom: 40px;
  }
  .blog.blog-detail .jobArea p,
  .blog.blog-detail .jobArea span {
    font-size: var(--fs-13);
  }
}

/* 関連記事 */

.related-posts {
  margin-top: 82px;
}

.related-posts h2 {
  margin-bottom: 40px;
  font-size: var(--fs-32);
  text-align: center;
}

.related-list {
  display: grid;
  justify-content: space-between;
  margin: 0 auto;

  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.related-list li {
  width: 100%;
}

.related-list .article_img {
  position: relative;
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
}

.related-list figure img {
  width: 100%;
  height: auto;

  aspect-ratio: 260 / 150;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.8s ease;
}

.related-list a:hover figure img {
  transform: scale(1.1);
}

.related-list .article_text .jobArea {
  margin-bottom: 8px;
}

.related-list .article_text h3 {
  font-size: var(--fs-15);
}

.blog.blog-detail .related-list .jobArea p {
  margin-right: 0;
  padding: 1px 8px;
  font-size: var(--fs-13);
  line-height: 1.4;
}

.blog.blog-detail .related-list .jobArea span {
  font-size: var(--fs-15);
}

@media screen and (max-width: 767px) {
  .related-list {
    grid-template-columns: 1fr;
  }
  .related-list li {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
  .related-list .article_text h3 {
    font-size: var(--fs-18);
  }
}
