@charset "UTF-8";

/* ========================================
  @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px), print {

  /* blog-cards：PC
  -------------------------------------*/
  #blog .blog-cards {
    width: min(95%, 1200px);
    margin-top: -80px;
    margin-inline: auto;
    background-color: #fff;
  }
  @media screen and (min-width: 768px) and (max-width: 1919px) {
    #blog .blog-cards {
      margin-top: -4.1666vw;
    }
  }

  #blog .blog-cards__inner {
    padding-top: clamp(40px, 13.333px + 3.472vw, 80px); /* 768 ~ 1920px */
    padding-bottom: clamp(80px, -65.882px + 11.765vw, 160px); /* 768 ~ 1920px */
    padding-inline: clamp(32px, -6.667px + 5.035vw, 90px); /* 768 ~ 1920px */
  }

  #blog .blog-cards__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(16px, -13.333px + 3.819vw, 60px); /* 768 ~ 1920px */
    row-gap: clamp(30px, 10.000px + 2.604vw, 60px); /* 768 ~ 1920px */
    margin: 0;
    margin-bottom: 80px;
    padding: 0;
    list-style: none;
  }

  #blog .blog-cards__item {
    min-width: 0;
  }

  #blog .blog-cards__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(260px, 180px + 10.417vw, 380px);
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.05em;
    color: #222;
  }

  #blog .blog-cards__pic {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
    aspect-ratio: 300 / 202;
  }

  #blog .blog-cards__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #blog .blog-cards__title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    letter-spacing: 0.05em;
    line-height: 1.5714;
    margin: 0 0 8px;
  }

  #blog .blog-cards__date {
    color: #9c9c9c;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin: 0;
  }

  #blog .blog-cards__pagenavi .page-list {
    margin-top: 56px;
    margin-bottom: 0;
    text-align: center;
  }

  /* archive-blog.php：PC
  -------------------------------------*/
  #blog .archive-header {
    background: url(../images/blog/archive-header-bg.jpg) no-repeat center
      center / cover;
  }

  /* single-blog.php：PC
  -------------------------------------*/
  #blog #blog-single .blog-single-layout {
    max-width: 1920px;
    margin-inline: auto;
    background-color: #F3F1EF;
  }
  #blog #blog-single .blog-single-layout .system-contents {
    padding-top: 100px;
  }
  #blog #blog-single .blog-single-layout .pagen {
    width: 100%;
    margin: 0 0 40px;
  }
  #blog #blog-single .blog-single-layout article {
    background-color: #fff;
  }
  #blog #blog-single .blog-single-layout .article-inner {
    margin-bottom: 24px;
    padding-block: clamp(60px, 46.667px + 1.736vw, 80px);
    padding-inline: clamp(24px, -33.333px + 7.465vw, 110px);
  }
  #blog #blog-single .blog-single-layout .system-date {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0 0 16px;
  }
  #blog #blog-single .blog-single-layout .system-ttl02 {
    margin: 0 0 40px;
    padding: 0;
    font-size: clamp(26px, 22.000px + 0.521vw, 32px);
    font-weight: 500;
    line-height: 1.42857;
    letter-spacing: 0.05em;
    text-align: left;
  }
  #blog #blog-single .blog-single-layout .system-ttl02::after {
    content: none;
  }

  /* アイキャッチ：列幅より小さい元画像は拡大しない（解像度ボケ防止） */
  #blog #blog-single .blog-single-layout .system-i-pic {
    margin: 0 0 40px;
    text-align: center;
  }
  #blog #blog-single .blog-single-layout .system-i-pic img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
  }

  /* blog author（投稿者ブロック） */
  #blog #blog-single .blog-author {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 80px;
    padding: 40px;
    border-top: 3px solid #D4D7D0;
    border-bottom: 3px solid #D4D7D0;
    background-color: #fff;
  }

  #blog #blog-single .blog-author::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 125px;
    height: 3px;
    background-color: #7cb342;
  }

  #blog #blog-single .blog-author__ttl {
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: #222;
  }

  #blog #blog-single .blog-author__row {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 24px);
    width: 100%;
    min-width: 0;
  }

  #blog #blog-single .blog-author__media {
    flex-shrink: 0;
    width: 180px;
    height: auto;
    aspect-ratio: 180 / 150;
  }

  #blog #blog-single .blog-author__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #blog #blog-single .blog-author__body {
    flex: 1;
    min-width: 0;
  }

  #blog #blog-single .blog-author__name {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: #222;
  }

  #blog #blog-single .blog-author__profile {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4444;
    letter-spacing: 0;
    color: #222;
  }

}

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

  /* blog-cards：SP
  -------------------------------------*/
  #blog .blog-cards {
    width: 94.2vw;
    margin-top: -9.7vw;
    margin-inline: auto;
    background-color: #fff;
  }

  #blog .blog-cards__inner {
    padding: 4.8vw 3.6vw;
    box-sizing: border-box;
  }

  #blog .blog-cards__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4.8vw;
    row-gap: 7.2vw;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #blog .blog-cards__item {
    min-width: 0;
  }

  #blog .blog-cards__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54vw;
    margin: 0;
    text-align: center;
    font-size: 3.9vw;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.05em;
    color: #222;
  }

  #blog .blog-cards__pic {
    width: 100%;
    margin: 0 0 2.9vw;
    aspect-ratio: 170 / 114;
  }

  #blog .blog-cards__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #blog .blog-cards__title {
    margin-bottom: 1.9vw;
    font-size: 3.4vw;
    font-weight: 500;
    color: #222;
    line-height: 1.5714;
    letter-spacing: 0.05em;
  }

  #blog .blog-cards__date {
    font-size: 2.9vw;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.41666;
    color: #9c9c9c;
  }

  #blog .blog-cards__pagenavi {
    margin-top: 14.5vw;
    text-align: center;
  }

  /* archive-blog.php：SP
  -------------------------------------*/
  #blog .archive-header {
    background: url(../images/blog/archive-header-bg_sp.jpg) no-repeat center center / cover;
  }

  /* single-blog.php：SP
  -------------------------------------*/
  #blog #blog-single .blog-single-layout {
    padding-top: 9.7vw;
    background-color: #F3F1EF;
  }

  #blog .system-contents {
    width: 94.2vw;
    margin-inline: auto;
    padding: 0 0 5vw;
  }

  #blog #blog-single .pagen {
    width: 100%;
  }
  #blog #blog-single .pagen .list a {
   color: #fff;
   background-color: #222;
  }
  #blog #blog-single .page-navi {
    margin: 0 0 5.8vw;
  }
  #blog #blog-single .pagen:nth-of-type(1) {
    margin-bottom: 0;
  }

  #blog #blog-single article {
    background-color: #fff;
  }
  #blog #blog-single .article-inner {
    margin-bottom: 5.8vw;
    padding-block: 9.7vw;
    padding-inline: 4.8vw;
  }
  #blog #blog-single .system-date {
    margin-bottom: 1.9vw;
    font-size: 3.9vw;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0;
    color: #9c9c9c;
  }
  #blog #blog-single .system-ttl02 {
    margin-bottom: 3.9vw;
    padding-bottom: 0;
    font-size: 4.8vw;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: left;
    color: #222;
  }
  #blog #blog-single .system-ttl02::after {
    content: none;
  }

  #blog #blog-single .system-i-pic {
    margin-bottom: 3.9vw;
    text-align: center;
  }
  #blog #blog-single .system-i-pic img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
  }


  /* blog author（投稿者ブロック） */
  #blog #blog-single .blog-author {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 15.5vw;
    padding: 5.1vw 8.5vw 9.7vw;
    border-top: 3px solid #D4D7D0;
    border-bottom: 3px solid #D4D7D0;
  }

  #blog #blog-single .blog-author::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 12vw;
    max-width: 48px;
    height: 0.8vw;
    max-height: 3px;
    background-color: #7cb342;
  }

  #blog #blog-single .blog-author__ttl {
    margin: 0 0 3.9vw;
    font-size: 3.9vw;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    color: #222;
  }

  #blog #blog-single .blog-author__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  #blog #blog-single .blog-author__media {
    width: 100%;
    max-width: 46.9vw;
    margin: 0 0 3.9vw;
    aspect-ratio: 194 / 160;
  }

  #blog #blog-single .blog-author__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #blog #blog-single .blog-author__name {
    margin: 0 0 2.9vw;
    font-size: 3.9vw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: #222;
  }

  #blog #blog-single .blog-author__profile {
    margin: 0;
    font-size: 3.4vw;
    font-weight: 400;
    line-height: 1.85714;
    letter-spacing: 0;
    color: #222;
  }

}
