@charset "UTF-8";

/* =====================================================
   blog.css — 伐採センター東海 ブログ用スタイル
   ===================================================== */


/* =====================================================
   ページヘッダー（ブログタイトル）
   ===================================================== */

.blog_section_head {
  width: 100%;
  background-color: #93e271;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .blog_section_head {
    padding: 40px 0;
  }
}

.blog_section_head .section__in {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.blog_section_head .title {
  font-size: 40px;
  font-weight: 700;
  color: #572200;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 800px) {
  .blog_section_head .title {
    font-size: 7.5vw;
  }
}


/* =====================================================
   パンくず（既存 #pankz を上書き補完）
   ===================================================== */

#pankz {
  width: 100%;
  padding: 0.6em 0;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
}

#pankz .section__in {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

#pankz .section__in ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #572200;
  font-weight: 500;
}

#pankz .section__in ul li {
  display: inline-block;
  padding-right: 2em;
  position: relative;
  font-size: 13px;
}

#pankz .section__in ul li::after {
  content: ">";
  position: absolute;
  right: 0.75em;
  top: 0;
}

#pankz .section__in ul li:last-child::after {
  content: none;
}

#pankz .section__in ul li a {
  color: #572200;
}


/* =====================================================
   ブログ一覧セクション
   ===================================================== */

#blog_list_section {
  padding: 60px 0 80px;
}

@media screen and (max-width: 800px) {
  #blog_list_section {
    padding: 40px 0 60px;
  }
}

.blog_list_wrap {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}


/* =====================================================
   ブログカードグリッド
   ===================================================== */

.blog_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 1000px) {
  .blog_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

@media screen and (max-width: 800px) {
  .blog_list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* =====================================================
   ブログカード
   ===================================================== */

.blog_list_item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  -webkit-transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
}

.blog_list_item:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.blog_card_link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* サムネイル */
.blog_card_img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f0f0f0;
}

.blog_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  display: block;
}

.blog_list_item:hover .blog_card_img img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.blog_card_img .no_image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #93e271 0%, #008033 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* カードボディ */
.blog_card_body {
  padding: 18px 20px 22px;
}

.blog_card_meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.blog_card_date {
  font-size: 12px;
  color: #999;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.blog_card_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.blog_card_tag {
  font-size: 11px;
  color: #008033;
  border: 1px solid #008033;
  border-radius: 20px;
  padding: 1px 9px;
  line-height: 1.8;
}

.blog_card_title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.65;
}


/* =====================================================
   ページネーション
   ===================================================== */

.blog_pagenation {
  margin-top: 56px;
  text-align: center;
}

.blog_pagenation_list {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
}

.blog_pagenation_item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 600;
  color: #572200;
  text-decoration: none;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  border: 2px solid #572200;
}

.blog_pagenation_item:hover,
.blog_pagenation_item.current {
  background-color: #572200;
  color: #fff;
}


/* =====================================================
   単記事ページ
   ===================================================== */

.blog_single_wrap {
  width: 90%;
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 0 80px;
}

@media screen and (max-width: 800px) {
  .blog_single_wrap {
    padding: 36px 0 60px;
  }
}

/* メタ情報 */
.blog_single_header {
  margin-bottom: 28px;
}

.blog_single_meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.blog_single_date {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.blog_single_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog_single_tag {
  font-size: 12px;
  color: #008033;
  border: 1px solid #008033;
  border-radius: 20px;
  padding: 2px 12px;
  line-height: 1.8;
}

/* 記事タイトル */
.blog_single_title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  line-height: 1.55;
  border-left: 5px solid #93e271;
  padding-left: 16px;
  margin: 0;
}

@media screen and (max-width: 800px) {
  .blog_single_title {
    font-size: 5.5vw;
    border-left-width: 4px;
    padding-left: 12px;
  }
}

/* サムネイル */
.blog_single_thumb {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.blog_single_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* 本文 */
.blog_single_cont {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

@media screen and (max-width: 800px) {
  .blog_single_cont {
    font-size: 15px;
  }
}

.blog_single_cont h2 {
  font-size: 22px;
  font-weight: 700;
  color: #572200;
  border-bottom: 3px solid #93e271;
  padding-bottom: 8px;
  margin: 2.5em 0 1em;
}

@media screen and (max-width: 800px) {
  .blog_single_cont h2 {
    font-size: 5vw;
  }
}

.blog_single_cont h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid #008033;
}

.blog_single_cont p {
  margin-bottom: 1.6em;
}

.blog_single_cont img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1em 0;
  display: block;
}

.blog_single_cont ul,
.blog_single_cont ol {
  margin: 0.8em 0 1.6em 2em;
}

.blog_single_cont ul li {
  list-style: disc;
  margin-bottom: 0.5em;
}

.blog_single_cont ol li {
  list-style: decimal;
  margin-bottom: 0.5em;
}

.blog_single_cont a {
  color: #008033;
  text-decoration: underline;
}

.blog_single_cont a:hover {
  opacity: 0.7;
}

.blog_single_cont blockquote {
  background: #f8f8f8;
  border-left: 4px solid #93e271;
  padding: 16px 20px;
  margin: 1.5em 0;
  color: #555;
}

/* 一覧に戻るボタン */
.blog_back_link {
  margin-top: 60px;
  text-align: center;
}

.blog_back_link a {
  display: inline-block;
  padding: 13px 44px;
  border: 2px solid #572200;
  color: #572200;
  font-weight: 700;
  border-radius: 30px;
  font-size: 15px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  letter-spacing: 0.1em;
}

.blog_back_link a:hover {
  background-color: #572200;
  color: #fff;
  opacity: 1;
}


/* =====================================================
   CTAセクション（top.css の section_cv_type01 を移植）
   ===================================================== */

.section_cv_type01 {
  width: 100%;
  background-color: #ffe900;
  position: relative;
  overflow: hidden;
}

.section_cv_type01 .section__in {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-end;
  position: relative;
  color: #572200;
  padding: 30px 0;
  min-height: 120px;
}

.section_cv_type01 .section__in .backimg {
  position: absolute;
  width: 120%;
  bottom: 0;
  right: -15%;
}

@media screen and (max-width: 800px) {
  .section_cv_type01 .section__in .backimg {
    width: 300%;
    right: auto;
    left: 20%;
  }
}

.section_cv_type01 .section__in .hito {
  width: 14%;
  position: relative;
  z-index: 5;
  align-self: flex-end;
  overflow: visible;
}

@media screen and (max-width: 800px) {
  .section_cv_type01 .section__in .hito {
    width: 20%;
  }
}

.section_cv_type01 .section__in .text {
  width: 53.7%;
  position: relative;
  z-index: 5;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 800px) {
  .section_cv_type01 .section__in .text {
    width: 75%;
    font-weight: 600;
    line-height: 160%;
  }
}

.section_cv_type01 .section__in .botans {
  width: 22.6%;
  position: relative;
  z-index: 5;
}

@media screen and (max-width: 800px) {
  .section_cv_type01 .section__in .botans {
    width: 100%;
    margin-top: 4vw;
  }
}

.section_cv_type01 .section__in .botans ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section_cv_type01 .section__in .botans ul li {
  width: 100%;
  margin: 6px 0;
}

@media screen and (max-width: 800px) {
  .section_cv_type01 .section__in .botans ul li {
    width: 48%;
    margin-bottom: 0;
  }
}

.section_cv_type01 .section__in .botans ul li a.contactlinks {
  width: 100%;
  padding: 0.5em 0 0.65em 0;
  background-color: #ff88c1;
  border-radius: 30px;
  text-align: center;
  display: block;
  font-weight: 700;
  color: #572200;
  position: relative;
}

.section_cv_type01 .section__in .botans ul li a.contactlinks::after {
  content: "";
  width: 1em;
  height: 0.75em;
  background: url(/images/icon_yaji.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 0.75em;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.section_cv_type01 .section__in .botans ul li a.contacttels {
  width: 100%;
  padding: 0.5em 0 0.65em 0;
  background-color: #fff;
  border-radius: 30px;
  text-align: center;
  display: block;
  font-weight: 700;
  color: #572200;
}


/* =====================================================
   この記事を書いた人
   ===================================================== */

.blog_author {
  margin-top: 56px;
  background: #f5f0eb;
  border-radius: 10px;
  padding: 28px 32px 32px;
}

@media screen and (max-width: 800px) {
  .blog_author {
    padding: 22px 20px 26px;
  }
}

.blog_author_label {
  font-size: 15px;
  font-weight: 700;
  color: #572200;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d4c8bc;
}

.blog_author_inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

@media screen and (max-width: 600px) {
  .blog_author_inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.blog_author_img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.blog_author_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.blog_author_body {
  flex: 1;
}

.blog_author_org {
  font-size: 13px;
  color: #888;
  margin: 0 0 2px;
}

.blog_author_name {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
}

.blog_author_bio {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin: 0;
}


/* サムネイルキャプション */
.blog_single_thumb {
  position: relative;
}

.blog_thumb_caption {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.6;
  pointer-events: none;
}
