/* ==========================================================================
 * Page Name : お役立ち情報・社内の様子CSS
 * File Name : /assets/css/post.css
 * Created   : 2026-08-24
 * Updated   : 2026-09-15
 * ========================================================================== */

/* ==========================
  共通
========================== */
.postWrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 70px auto 120px;
}
.postCommon-title {
  font-size: 36px;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  width: fit-content;
}
.postCommon-title::after {
  content: "";
  background: url(../images/common/deco.png) center center / contain no-repeat;
  width: 18px;
  height: 23px;
  position: absolute;
  top: -5px;
  right: -15px;
  left: auto;
}
.postContainer {
  flex: 1;
  width: 100%;
}
@media (max-width: 767px) {
  .postWrapper {
    flex-direction: column;
    gap: 60px;
    align-items: center;
    margin: 40px auto 60px;
  }
  .postCommon-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .postCommon-title::after {
    width: 10px;
    height: 13px;
    top: -5px;
    right: -10px;
  }
}

/* ==========================
  サイドバー
========================== */
.postSide {
  background: var(--color-white);
  width: 240px;
  padding: 25px 15px;
  border-radius: 10px;
  box-shadow: 0px 0px 3px #e8d9da;
  position: sticky;
  top: 150px;
  margin-bottom: 80px;
}
.postSide h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}
@media (max-width: 767px) {
  .postSide {
    width: 100%;
    padding: 30px 15px;
    margin: 0;
    position: relative;
    top: 0;
  }
  .postSide h4 {
    font-size: 20px;
    margin-bottom: 25px;
  }
}

/* サイドバー > カテゴリ一覧 */
.blogCat-list {
  margin-bottom: 30px;
}
.blogCat-list li {
  margin-bottom: 10px;
}
.blogCat-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 35px;
  border-radius: 5px;
  background: var(--color-back-pink);
  font-size: 14px;
  letter-spacing: 0.15em;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.blogCat-list li a:hover {
  background: var(--color-button-sub);
  color: var(--color-white);
}
@media (max-width: 767px) {
  .blogCat-list {
    margin-bottom: 40px;
  }
  .blogCat-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .blogCat-list li {
    width: calc(50% - 5px);
    margin: 0;
  }
  .blogCat-list li a {
    height: 40px;
  }
}

/* サイドバー > タグ一覧 */
.postTag-wrapper {
  text-align: center;
  margin-bottom: 30px;
}
.postTag-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-button-sub);
  flex-wrap: wrap;
  margin-bottom: 20px;
  /* 追加：折りたたみアニメーション用 */
  position: relative;
  overflow: hidden;
  max-height: 130px;
  transition: max-height 0.4s ease;
}
.postTag-list.is-open {
  max-height: 9999px;
}
/* 閉じている時、下部をグラデーションでぼかす */
.postTag-list:not(.is-open)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none;
}
.postTag-list a {
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* 表示する行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  border: #e8d9da solid 1px;
  padding: 2px 5px;
  border-radius: 5px;
  transition: opacity 0.3s ease;
}
.postTag-list a:hover {
  opacity: 0.6;
}
.postTag-toggleBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-button-sub);
  color: var(--color-button-sub);
  border-radius: 999px;
  width: 100px;
  height: 25px;
  font-size: 10px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  margin: 0 auto;
}
.postTag-toggleBtn:hover {
  background: var(--color-button-sub);
  color: var(--color-white);
}
/* コンテンツが少なくボタン不要な場合に付与するクラス（JS側で制御） */
.postTag-toggleBtn.is-hidden {
  display: none;
}
@media (max-width: 767px) {
  .postTag-list {
    gap: 15px;
  }
  .postTag-list a {
    font-size: 14px;
    padding: 2px 10px;
  }
  .postTag-toggleBtn {
    height: 30px;
    font-size: 12px;
  }
}
/* サイドバー > 検索 */
.blogSearch-form {
  display: flex;
  align-items: center;
  background-color: var(--color-back-dark); /* 薄いベージュの背景 */
  border-radius: 999px;
  width: 100%;
  margin: 0 auto;
}
.blogSearch-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 15px;
  font-size: 12px;
  outline: none;
  height: 40px;
}
.blogSearch-input::placeholder {
  color: rgba(153, 121, 124, 0.5);
}
.blogSearch-btn {
  background-color: var(--color-main); /* 赤色のボタン */
  color: var(--color-white);
  border-radius: 999px;
  width: 60px;
  height: 40px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.blogSearch-btn:hover {
  background-color: var(--text-main-color);
}
@media (max-width: 767px) {
  .blogSearch-btn,
  .blogSearch-input {
    height: 50px;
    font-size: 16px;
  }
  .blogSearch-input {
    padding: 0 25px;
  }
  .blogSearch-btn {
    width: 80px;
  }
}

/* ==========================
  記事一覧
========================== */
.blogList {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.blogList-item {
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 0px 3px #e8d9da;
}
/* サムネイル */
.blogList-thumb {
  flex: 0 0 320px;
  aspect-ratio: 350 / 240;
  min-height: 208px;
  display: block;
}
.blogList-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 記事情報エリア */
.blogList-body {
  flex: 1;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  min-height: 208px;
  justify-content: center;
}
/* カテゴリ */
.blogList-cat {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-back-pink);
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.blogList-cat:hover {
  background: var(--color-button-sub);
  color: var(--color-white);
}
/* タイトル（2行を超えたら省略） */
.blogList-title {
  margin: 15px 0 10px;
  font-size: 18px;
  line-height: 1.5;
}
.blogList-title a {
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: 0.3s;
}
.blogList-title a:hover {
  color: var(--color-main);
}
/* 日付 */
.blogList-date {
  margin: 0;
  font-size: 14px;
  color: var(--color-gray-light);
}
/* タグ一覧 */
.blogList-tagList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 0;
  padding: 0;
}
.blogList-tagList a {
  display: inline-block;
  font-size: 12px;
  color: var(--color-button-sub);
  border: #e8d9da solid 1px;
  padding: 2px 5px;
  border-radius: 5px;
  transition: opacity 0.3s ease;
}
.blogList-tagLis a:hover {
  opacity: 0.6;
}
@media (max-width: 767px) {
  .blogList {
    gap: 20px;
  }
  .blogList-item {
    border-radius: 10px;
    box-shadow: 0px 0px 3px #e8d9da;
  }
  .blogList-thumb {
    flex: 0 0 150px;
    min-height: 98px;
  }
  .blogList-body {
    padding: 10px 15px;
    min-height: 98px;
  }
  .blogList-cat {
    font-size: 10px;
  }
  .blogList-title {
    margin: 5px 0;
    font-size: 12px;
    line-height: 1.5;
  }
  .blogList-date {
    font-size: 10px;
  }
  .blogList-tagList {
    display: none;
  }
}

/* ==========================
   ページネーション
========================== */
.postPagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.postPagination li {
  display: flex;
  align-items: center;
}
.postPagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-back-pink);
  color: var(--color-button-sub);
  font-size: 14px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}
.postPagination .page-numbers:hover {
  background-color: var(--color-button-sub);
  color: var(--color-white);
}
.postPagination .page-numbers.current {
  background-color: var(--color-main);
  color: var(--color-white);
}
.postPagination .page-numbers.dots {
  background: none;
  color: var(--color-button-sub);
  width: auto;
}
.postPagination .prev,
.postPagination .next {
  background: none;
  width: auto;
  height: auto;
}
.postPagination-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-button-sub);
  border-right: 2px solid var(--color-button-sub);
}
.postPagination-arrow--prev {
  transform: rotate(-135deg);
}
.postPagination-arrow--next {
  transform: rotate(45deg);
}
.postPagination .prev:hover,
.postPagination .next:hover {
  background-color: transparent;
  color: inherit;
  opacity: 0.6;
}

/* ==========================
  人気の記事
========================== */
.popularSlider {
  position: relative;
}
/* スクロールするエリア（ブラウザ標準のスクロールを使う） */
.popularSlider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 50px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.popularSlider-viewport::-webkit-scrollbar {
  display: none;
}
/* 左右の余白用スペーサー */
.popularSlider-spacer {
  flex: 0 0 auto;
  width: 25px;
}
.popularSlider-track {
  display: flex;
}
.popularSlider-track {
  display: flex;
  padding: 0 50px;
}
.popularSlider-item {
  flex: 0 0 auto;
  width: 350px;
  margin-right: 50px;
  scroll-snap-align: start;
}
.popularSlider-item:last-child {
  margin-right: 0;
}
.popularSlider-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.popularSlider-thumbWrap {
  overflow: hidden;
  border-radius: 8px; /* 画像側のborder-radiusをここに移動 */
}
.popularSlider-thumbWrap img:not(.popularSlider-rank) {
  width: 100%;
  aspect-ratio: 350 / 240;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.popularSlider-rank {
  display: block;
  width: 50px;
  height: auto;
  margin: 0 auto 5px;
}
.popularSlider-date {
  margin: 12px 0 4px;
  font-size: 14px;
  color: var(--color-gray-light);
}
.popularSlider-title {
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}
.popularSlider-link:hover
  .popularSlider-thumbWrap
  img:not(.popularSlider-rank) {
  transform: scale(1.15); /* 画像を1.1倍に拡大 */
}
.popularSlider-link:hover .popularSlider-title {
  color: var(--color-main);
}
/* ナビゲーション */
.popularSlider-nav {
  display: flex;
  max-width: calc(100% - 405px);
  width: 100%;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  padding: 0 50px;
}
.popularSlider-progress {
  flex: 1;
  height: 2px;
  background-color: var(--color-border-beige);
  position: relative;
  border-radius: 999px;
}
.popularSlider-progressBar {
  position: absolute;
  top: -1.5px;
  left: 0;
  height: 5px;
  width: 0%;
  background-color: var(--color-main);
  transition: width 0.2s ease;
}
.popularSlider-arrows {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}
.popularSlider-arrow {
  width: 45px;
  height: 45px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.popularSlider-arrow:first-of-type {
  transform: scaleX(-1);
}
.popularSlider-arrow img {
  width: 100%;
  height: 100%;
  display: block;
}
.popularSlider-arrow.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}
@media (max-width: 767px) {
  .popularSlider-viewport {
    scroll-padding-inline: 20px; /* ← これを追加 */
  }
  .popularSlider-spacer {
    width: 10px;
  }
  .popularSlider-item {
    width: 230px;
    margin-right: 30px;
  }
  .popularSlider-item:last-child {
    margin-right: 0;
  }
  /* ナビゲーション */
  .popularSlider-nav {
    padding: 0 20px;
    max-width: 100%;
    margin-top: 25px;
  }
  .popularSlider-rank {
    width: 40px;
  }
}
/* ==========================
  ブログCTA
========================== */
.blogCta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 120px 0;
  padding: 0 50px;
}
.blogCta .blogCta-button {
  max-width: 520px;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px 0 60px;
  color: var(--color-white);
  border-radius: 999px;
  transition: 0.3s ease;
}
.blogCta-contact {
  background: var(--color-green);
}
.blogCta-works {
  background: var(--color-button-sub);
}
.blogCta .blogCta-button:hover {
  transform: scale(1.1);
}
.blogCta .blogCta-text {
  flex: 1;
}
.blogCta .blogCta-text__sub {
  font-size: 16px;
}
.blogCta .blogCta-text__main {
  font-size: 28px;
  margin-top: 5px;
}
.blogCta-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blogCta-contact .blogCta-icon {
  background: var(--color-green-back);
}
.blogCta-works .blogCta-icon {
  background: var(--color-back-light);
}
@media (max-width: 767px) {
  .blogCta {
    gap: 20px;
    margin: 60px 0;
    padding: 0 20px;
  }
  .blogCta .blogCta-button {
    max-width: 400px;
    height: 95px;
    padding: 0 20px 0 40px;
  }
  .blogCta .blogCta-text__sub {
    font-size: 12px;
  }
  .blogCta .blogCta-text__main {
    font-size: 18px;
  }
  .blogCta-icon {
    width: 60px;
    height: 60px;
  }
  .blogCta-icon img {
    width: 36px;
  }
}

/* ==========================
  トップページ
========================== */
.page-blog .pagehero {
  margin-bottom: 70px;
}
.blogTop-Pickup {
  margin-bottom: 120px;
}
.blogTop-New {
  margin-bottom: 120px;
}
.blogTop-List {
  display: flex;
  gap: 40px 30px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.blogTop-List li {
  width: calc((100% - 90px) / 4);
  box-shadow: 0px 0px 3px #f7eada;
  min-width: 200px;
}
.blogTop-List .blogList-thumb {
  min-height: 0;
}
.blogTop-List .blogList-thumb img {
  border-radius: 15px 15px 0 0;
}
.blogTop-List .blogList-body {
  padding: 15px;
  min-height: 0;
  border-radius: 0 0 15px 15px;
  background: var(--color-white);
}
.blogTop-List .blogList-title {
  font-size: 12px;
  margin: 5px 0;
}
.blogTop-List .blogList-cat {
  font-size: 12px;
}
.blogTop-New .common-button {
  margin: 40px auto 0;
  display: flex;
}
.blogTop-search {
  background: var(--color-back-dark);
  padding: 120px 50px;
  margin-bottom: 120px;
}
.blogTop-search_wrapper {
  background: var(--color-white);
  box-shadow: 0px 0px 3px #f7eada;
  width: 100%;
  border-radius: 40px;
  padding: 45px 40px;
}
.blogTop-search h3 {
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  margin: 40px 0 20px;
}
.blogTop-search .blogSearch-form {
  max-width: 600px;
}
.blogTop-search .blogSearch-btn {
  height: 60px;
  width: 100px;
  font-size: 16px;
}
.blogTop-search .blogSearch-input {
  height: 60px;
  font-size: 16px;
  padding: 0 25px;
}
.blogTop-search .postTag-wrapper {
  margin-bottom: 0;
}
.blogTop-search .blogCat-list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blogTop-search .blogCat-list li {
  width: calc((100% - 30px) / 4);
}
.blogTop-search .blogCat-list li a {
  height: 50px;
  font-size: 16px;
}
.blogTop-search .postTag-list {
  gap: 20px 15px;
  margin-bottom: 40px;
}
.blogTop-search .postTag-list a {
  font-size: 14px;
}
.blogTop-search .postTag-toggleBtn {
  font-size: 14px;
  width: 120px;
  height: 30px;
}
@media (max-width: 767px) {
  .page-blog .pagehero {
    margin-bottom: 40px;
  }
  .blogTop-Pickup {
    margin-bottom: 60px;
  }
  .blogTop-New {
    margin-bottom: 60px;
  }
  .blogTop-List {
    gap: 20px;
  }
  .blogTop-List li {
    display: flex;
    width: 100%;
  }
  .blogTop-List .blogList-thumb {
    width: 150px;
    min-height: 98px;
  }
  .blogTop-List .blogList-thumb img {
    border-radius: 10px 0 0 10px;
  }
  .blogTop-List .blogList-body {
    padding: 10px 15px;
    min-height: 98px;
    border-radius: 0 10px 10px 0;
    background: var(--color-white);
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .blogTop-search {
    padding: 60px 20px;
    margin-bottom: 60px;
  }
  .blogTop-search_wrapper {
    border-radius: 15px;
    padding: 30px 15px;
  }
  .blogTop-search h3 {
    font-size: 20px;
    margin: 40px 0 15px;
  }
  .blogTop-search .blogCat-list li {
    width: calc((100% - 10px) / 2);
  }
  .blogTop-search .blogCat-list li a {
    height: 40px;
    font-size: 14px;
  }
  .blogTop-search .postTag-list {
    gap: 15px;
    margin-bottom: 30px;
    max-height: 105px;
  }
  .blogTop-search .postTag-list.is-open {
    max-height: 9999px;
  }
  .blogTop-search .blogSearch-btn {
    height: 50px;
    width: 80px;
  }
  .blogTop-search .blogSearch-input {
    height: 50px;
  }
}
/* ==========================
  シングルページ
========================== */
.postSingle {
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: 0px 0px 3px #f7eada;
  padding: 30px 40px;
}
.postSingle-cat {
  background: var(--color-back-pink);
  width: 130px;
  height: 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.postSingle-title {
  font-size: 30px;
  margin: 10px 0;
}
.postSingle-date {
  color: var(--color-gray-light);
  font-size: 14px;
  margin-bottom: 40px;
}
.postSingle-thumb img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .postSingle {
    padding: 25px 15px;
    overflow: hidden;
  }
  .postSingle-cat {
    width: 100px;
    height: 20px;
    font-size: 10px;
  }
  .postSingle-title {
    font-size: 20px;
    margin: 10px 0 15px;
  }
  .postSingle-date {
    font-size: 12px;
    margin-bottom: 20px;
  }
}
.blogToc {
  background: var(--color-back-dark);
  border-radius: 20px;
  padding: 20px 40px;
  margin-bottom: 50px;
}
.blogToc-title {
  font-size: 18px;
  margin-bottom: 25px;
  text-align: center;
}
.blogToc-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  margin-top: 25px;
  font-weight: 700;
}
.blogToc-list li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-button-sub);
}
.blogToc-list li.blogToc-item--sub {
  color: var(--text-transparent-color);
  margin-top: 15px;
  font-weight: 500;
  padding-left: 15px;
  font-size: 12px;
}
.blogToc-list li.blogToc-item--sub::before {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  border-radius: 0;
  background: var(--text-main-color);
}
/* 折りたたみ用の高さ制限とアニメーション */
.blogToc-list {
  position: relative;
  overflow: hidden;
  max-height: 230px;
  transition: max-height 0.4s ease;
}
.blogToc-list.is-open {
  max-height: 9999px;
}
/* 閉じている時、下部をグラデーションでぼかす */
.blogToc-list:not(.is-open)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    var(--color-back-dark) 80%
  );
  pointer-events: none;
}
/* 「すべて表示」ボタン */
.blogToc-toggleBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-button-sub);
  color: var(--color-button-sub);
  background: var(--color-white);
  border-radius: 999px;
  width: 100px;
  height: 25px;
  font-size: 10px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  margin: 0 auto;
}
.blogToc-toggleBtn:hover {
  background: var(--color-button-sub);
  color: var(--color-white);
}
/* コンテンツが少なくボタン不要な場合に付与するクラス（JS側で制御） */
.blogToc-toggleBtn.is-hidden {
  display: none;
}
@media (max-width: 767px) {
  .blogToc {
    padding: 20px 15px;
  }
  .blogToc-title {
    font-size: 16px;
    margin-bottom: 0;
  }
  .blogToc-list li {
    font-size: 14px;
    margin-top: 35px;
  }
}
.postSingle h2 {
  font-size: 30px;
  border-left: var(--color-main) solid 10px;
  padding-left: 10px;
  margin-top: 50px;
}
.postSingle h3 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: var(--color-button-sub) solid 1px;
  margin-top: 50px;
}
.postSingle h4 {
  font-size: 18px;
  padding-bottom: 10px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.postSingle h4::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-main);
}
@media (max-width: 767px) {
  .postSingle h2 {
    font-size: 20px;
    margin-top: 40px;
  }
  .postSingle h3 {
    font-size: 18px;
    margin-top: 40px;
  }
  .postSingle h4 {
    font-size: 16px;
    margin-top: 40px;
  }
}
.postSingle-content {
  font-weight: 400;
  font-size: 14px;
  word-break: break-all;
}
.postSingle-content p {
  word-break: break-all;
}
.postSingle-content > p {
  margin-top: 25px;
}
.postSingle-content code {
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}
.postSingle-content pre {
  overflow-x: auto; /* 折り返しきれない場合は横スクロールできるようにする */
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 100%;
  padding: 16px;
  background-color: var(--color-back-dark);
  border-radius: 5px;
  margin-top: 25px;
}
.postSingle-content pre code {
  white-space: inherit; /* preの設定を継承させる */
}
.postSingle-content img {
  margin-top: 50px;
}
.postSingle .wp-caption {
  background: var(--color-back-light);
  width: 100% !important;
  border-radius: 15px;
  margin-top: 50px;
}
.postSingle .wp-caption img {
  max-height: 500px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
.postSingle .wp-caption-text {
  background: var(--color-back-dark);
  padding: 20px 20px 25px;
  font-size: 12px;
  border-radius: 0 0 15px 15px;
}
.postSingle-content > ul {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.postSingle-content > ul li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-sub-color);
  padding-left: 15px;
}
.postSingle-content > ul li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-main);
}
.postSingle-content > ol {
  list-style: decimal;
  padding-left: 1rem;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (max-width: 767px) {
  .postSingle .wp-caption {
    border-radius: 10px;
    margin-top: 40px;
  }
  .postSingle .wp-caption-text {
    padding: 15px 15px 20px;
    border-radius: 0 0 10px 10px;
  }
}
.postSingle-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
}
.postSingle-content th,
.postSingle-content td {
  padding: 12px 16px;
  border: 1px solid var(--color-border-beige);
  text-align: left;
  vertical-align: middle;
}
.postSingle-content th {
  background-color: var(--color-back-dark);
  font-weight: 700;
  white-space: nowrap;
}
.postSingle-content tbody tr:nth-child(even) {
  background-color: var(--color-back-light);
}
/* スマホ対応：テーブルがはみ出さないよう横スクロール可能にする */
@media (max-width: 767px) {
  .postSingle-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}
.blogSingle-cta {
  background-color: var(--color-back-dark);
  padding: 40px 20px;
  border-radius: 20px;
  margin: 50px 0;
}
.blogSingle-cta .blogSingle-cta_title {
  text-align: center;
  margin: 0;
  border: 0;
  padding: 0;
  font-weight: 700;
}
.blogSingle-cta .blogSingle-cta_copy {
  margin: 30px 0 35px;
  text-align: center;
}
.blogSingle-cta .blogCta-button {
  max-width: 400px;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 0 40px;
  color: var(--color-white);
  border-radius: 999px;
  transition: 0.3s ease;
  background: var(--color-main);
  margin: 0 auto;
}
.blogSingle-cta .blogCta-button:hover {
  transform: scale(1.1);
}
.blogSingle-cta .blogCta-text {
  flex: 1;
}
.blogSingle-cta .blogCta-text__sub {
  font-size: 14px;
}
.blogSingle-cta .blogCta-text__main {
  font-size: 20px;
  margin-top: 5px;
}
.blogSingle-cta .blogCta-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-back-dark);
}
@media (max-width: 767px) {
  .blogSingle-cta {
    border-radius: 15px;
    margin: 40px 0;
  }
  .blogSingle-cta .blogSingle-cta_title {
    font-size: 18px;
    text-align: left;
  }
  .blogSingle-cta .blogSingle-cta_copy {
    margin: 25px 0 30px;
    text-align: left;
  }
  .blogSingle-cta .blogCta-button {
    height: 80px;
    padding: 0 10px 0 30px;
    max-width: 350px;
  }
  .blogSingle-cta .blogCta-text__sub {
    font-size: 12px;
  }
  .blogSingle-cta .blogCta-text__main {
    font-size: 16px;
    margin-top: 5px;
  }
  .blogSingle-cta .blogCta-icon {
    width: 60px;
    height: 60px;
  }
}
.blogShare {
  padding: 20px 15px;
  border-top: var(--color-border-beige) solid 1px;
  border-bottom: var(--color-border-beige) solid 1px;
}
.blogShare .blogShare-title {
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}
.blogShare .blogShare-list {
  display: flex;
  gap: 10px;
}
.blogShare .blogShare-list li {
  width: calc((100% - 40px) / 5);
}
.blogShare .blogShare-list li a,
.blogShare .blogShare-list li button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 30px;
  font-size: 9px;
  padding-left: 10px;
  color: var(--color-white);
  border-radius: 999px;
  transition: 0.3s;
}
.blogShare .blogShare-list li a:hover,
.blogShare .blogShare-list li button:hover {
  opacity: 0.6;
}
.blogShare-btn--x {
  background: #333333;
}
.blogShare-btn--facebook {
  background: #0866ff;
}
.blogShare-btn--hatena {
  background: #00a4de;
}
.blogShare-btn--line {
  background: #4dc764;
}
.blogShare-btn--copy {
  background: #8394ad;
}
/* コピー完了メッセージ（トースト風） */
.blogShare-copyMsg {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 100;
}
.blogShare-copyMsg.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.blogCatTag {
  margin-top: 30px;
}
.blogCatTag > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.blogCatTag > div > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80px;
  font-size: 12px;
}
.blogCatTag > div > p::after {
  content: "：";
  display: block;
}
.blogCatTag .blogCatTag_tag {
  margin-top: 20px;
}
.blogCatTag .postSingle-cat {
  width: fit-content;
  height: fit-content;
  display: block;
  padding: 2px 10px;
  font-size: 12px;
}
.blogSingle-tagList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  font-size: 12px;
  color: var(--text-sub-color);
}
@media (max-width: 767px) {
  .blogShare .blogShare-list {
    justify-content: center;
    gap: 15px 10px;
    flex-wrap: wrap;
  }
  .blogShare .blogShare-list li {
    width: 136px;
  }
  .blogCatTag {
    margin-top: 40px;
  }
}
.blogShare_side {
  position: fixed;
  bottom: 0;
  margin-left: 15px;
  z-index: 3;
}
.blogShare_side .blogShare-btn {
  background: none;
}
.blogShare_side .blogShare-btn img {
  width: 25px;
  margin-bottom: 15px;
}
.blogShare_side-title {
  writing-mode: vertical-rl;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .blogShare_side {
    display: none;
  }
}
.postSingle-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.postSingle-foot_button {
  background: var(--color-main);
  border-radius: 100px;
  width: 150px;
  height: 30px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  transition: 0.3s;
}
.postSingle-foot_button:hover {
  background: var(--text-main-color);
}
.blogSingle-postNav-link {
  transition: 0.3s;
}
.blogSingle-postNav-link--prev {
  transform: scaleX(-1);
}
.blogSingle-postNav-link:hover {
  opacity: 0.6;
}
/* ==========================
  シングルページ > 関連記事
========================== */
.blogRelated {
  margin-bottom: 120px;
}
.blogRelated-wrapper {
  width: calc(100% - 280px);
}
.blogRelated-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}
.blogRelated-list {
  gap: 40px;
}
.blogRelated-list li {
  width: calc((100% - 80px) / 3);
}
@media (max-width: 767px) {
  .blogRelated {
    margin-bottom: 60px;
  }
  .blogRelated-wrapper {
    width: 100%;
  }
  .blogRelated-list {
    gap: 20px;
  }
  .blogRelated-list li {
    width: 100%;
    min-width: 0;
  }
  .blogRelated-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
}
