/* ========================================
   News single layout
======================================== */
.news-single-layout {
  display: block;
}

.news-shell {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.news-single-main {
  float: none !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 60px 0 0;
}

#main_contents.news-single-layout #main_col {
  float: none;
}

#main_contents.news-single-layout #side_col,
#main_contents.news-single-layout #sidebar,
#main_contents.news-single-layout aside {
  display: none !important;
}

@media screen and (max-width: 750px) {
    .news-single-main {
        padding: 30px 0 0;
    }
}

/* ========================================
   Article area
======================================== */
.news-single-article {
  margin-bottom: 64px;
}

.news-single-article #post_title_area,
.news-single-article #post_image,
.news-single-article .single_share,
.news-single-article #single_banner_top,
.news-single-article #single_banner_bottom {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.news-single-article .post_content {
  width: 100%;
  /* max-width: 860px; */
  margin: 0 auto;
}

/* ========================================
   Wide sections under article
======================================== */
.news-wide-section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.menu-taxonomy-recommend.news-wide-section,
.cta-section.news-wide-section,
#next_prev_post.news-wide-section,
#recent_news.news-wide-section {
  margin-top: 0;
  margin-bottom: 56px;
}

#recent_news .link {
    font-size: 14px;
    position: relative;
    right: auto;
    top: auto;
    float: right;
    margin: 20px 20px 0 0;
}
/* ========================================
   Share buttons
======================================== */
@media only screen and (min-width: 480px) {
  .share-type4 ul.type4 li {
    width: 24%;
    margin: 0 1% 1% 0;
  }
}

/* ========================================
   Responsive
======================================== */
@media screen and (max-width: 767px) {
  .news-shell {
    width: calc(100% - 32px);
  }

  .news-single-article {
    margin-bottom: 40px;
  }

  .news-single-article .post_content {
    max-width: 100%;
  }

  .menu-taxonomy-recommend.news-wide-section,
  .cta-section.news-wide-section,
  #next_prev_post.news-wide-section,
  #recent_news.news-wide-section {
    /* margin-bottom: 40px; */
  }
}




/* ========================================
   画像にエリアカテゴリーのラベル
======================================== */
/* 画像ラップ */
#news_archive .image_wrap {
  position: relative;
  overflow: hidden;
}

/* ラベル */
#news_archive .news_label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;

  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;

  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;

  backdrop-filter: blur(2px);
}

/* 高級感寄せ */
#news_archive .news_label {
  background: rgba(30, 30, 30, 0.55);
}

/* ホバー時少し強調 */
#news_archive .item:hover .news_label {
  background: rgba(0, 0, 0, 0.75);
}

/* スマホ調整 */
@media screen and (max-width: 767px) {
  #news_archive .news_label {
    padding: 4px 8px;
    font-size: 8px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    border-radius: 1px;
  }
}


/* ========================================
   調整
======================================== */
body.single-news #single_share_bottom {
    margin: 80px 0 55px 0;
}

.case-section {
    margin: 0px 0;
}

.news-hero {
  padding: 32px 0 24px;
  background: #fbf8f0;
  background: linear-gradient(180deg, #f7f5f1 0%, #fbfaf8 100%);
}

.news-hero__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.news-hero__content {
  position: relative;
  /* padding-left: 24px; */
}

.news-hero__eyebrow {
  margin: 0; /* ←ここ重要（縦ズレ防止） */
  font-size: 11px;
  letter-spacing: 0.24em;
  color: #a89f98;
}

.news-hero__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  color: #4a4541; /* ←少しだけ濃く */
  line-height: 1.5; /* ←少し余裕 */
  margin-bottom: 10px;
}

.news-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.news-hero__date {
  font-size: 12px;
  color: #9a918b;
  letter-spacing: 0.08em;
}

.news-hero__category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
}

.news-hero__image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.news-hero__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s ease;
}

.news-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04),
    rgba(0,0,0,0.12)
  );
}

@media screen and (min-width: 768px) {
  .news-hero {
    padding: 30px 0 30px;
  }

  .news-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 360px);
    gap: 40px;
    align-items: start;
  }

  .news-hero__content {
    margin-bottom: 0;
  }

  .news-hero__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}








/* =========================================
   Table of Contents Plus
   上品・清潔感のある目次デザイン
========================================= */
/* =========================================
   Table of Contents Plus
   上品・清潔感のあるシンプル目次デザイン
========================================= */

#toc_container,
.toc_container,
div#toc_container,
div.toc_container {
  width: 100% !important;
  box-sizing: border-box;
  margin: 40px 0;
  padding: 24px 28px 26px;
  background: #fcfcfc;
  border: 1px solid #e8e4df;
}

/* タイトル */
#toc_container .toc_title,
.toc_container .toc_title {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #4a4541;
  text-align: left;
}

/* 開閉リンク */
#toc_container .toc_toggle,
.toc_container .toc_toggle {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 400;
}

#toc_container .toc_toggle a,
.toc_container .toc_toggle a {
  color: #8b8177;
  text-decoration: none;
}

#toc_container .toc_toggle a:hover,
.toc_container .toc_toggle a:hover {
  color: #5f5246;
}

/* リスト全体 */
#toc_container ul,
.toc_container ul {
  margin: 0;
  padding-left: 1.2em;
  list-style: disc;
}

#toc_container ul ul,
.toc_container ul ul {
  margin-top: 8px;
  padding-left: 1.4em;
}

/* 各項目 */
#toc_container li,
.toc_container li {
  margin: 0 0 12px;
  color: #5f5a55;
  line-height: 1.8;
}

/* 親階層リンク */
#toc_container > ul > li > a,
.toc_container > ul > li > a,
#toc_container > ul > li > span,
.toc_container > ul > li > span {
  font-size: 1.02rem;
  font-weight: 700;
}

/* 通常リンク */
#toc_container a,
.toc_container a {
  color: #5f5a55;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.2s ease;
}

/* 子階層 */
#toc_container ul ul li,
.toc_container ul ul li {
  margin-bottom: 8px;
}

#toc_container ul ul a,
.toc_container ul ul a {
  font-size: 0.96rem;
  font-weight: 500;
  color: #746d66;
}

/* ホバー */
#toc_container a:hover,
.toc_container a:hover {
  color: #b08a6b;
  text-decoration: none;
}

/* マーカー色 */
#toc_container li::marker,
.toc_container li::marker {
  color: #9c9288;
}

/* スマホ */
@media screen and (max-width: 767px) {
  #toc_container,
  .toc_container,
  div#toc_container,
  div.toc_container {
    margin: 28px 0;
    padding: 18px 16px 20px;
  }

  #toc_container .toc_title,
  .toc_container .toc_title {
    margin-bottom: 16px;
    font-size: 1.08rem;
    line-height: 1.5;
  }

  #toc_container li,
  .toc_container li {
    margin-bottom: 10px;
    line-height: 1.7;
  }

  #toc_container > ul > li > a,
  .toc_container > ul > li > a,
  #toc_container > ul > li > span,
  .toc_container > ul > li > span {
    font-size: 0.97rem;
  }

  #toc_container ul ul a,
  .toc_container ul ul a {
    font-size: 0.9rem;
  }
}
