/* ==============================
   お知らせシングル レイアウト
============================== */

/* メイン＋サイドバーのレイアウト */
#main_contents {
  max-width: 1100px;
  margin: 40px auto 80px;
  display: flex;
  gap: 40px;
}

/* 記事エリア */
#main_col {
  flex: 1 1 auto;
}

/* サイドバー */
#main_contents .sidebar {
  flex: 0 0 280px;
}

/* ==============================
   記事本体（.news-single）
============================== */

.news-single {
  background: #ffffff;
  padding: 32px 32px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
}

/* 見出し（タイトル）は .under_head 側に出ている想定なので
   .entry-header では日付・カテゴリのみ表示 */
.news-single .entry-header {
  margin-bottom: 24px;
}

.news-single .entry-meta {
  font-size: 14px;
  color: #777;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-single .entry-meta time {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.news-single .entry-meta .entry-terms {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 999px;
  background-color: #f0f6fb;
  color: #5b9fbf;
}

/* 本文 */
.news-single .entry-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.news-single .entry-content p {
  margin-bottom: 1.4em;
}

.news-single .entry-content h2,
.news-single .entry-content h3,
.news-single .entry-content h4 {
  margin: 2.2em 0 1.0em;
  line-height: 1.5;
  color: #333;
}

.news-single .entry-content h2 {
  font-size: 22px;
  border-left: 4px solid #5b9fbf;
  padding-left: 12px;
}

.news-single .entry-content h3 {
  font-size: 18px;
  border-bottom: 1px solid #e3edf5;
  padding-bottom: 6px;
}

.news-single .entry-content a {
  color: #5b9fbf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-single .entry-content a:hover {
  color: #417c9c;
}

.news-single .entry-content ul,
.news-single .entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

/* ページネーション（複数ページに分かれる場合） */
.news-single .page-links {
  margin-top: 24px;
  font-size: 14px;
}

.news-single .page-links a {
  display: inline-block;
  margin: 0 4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f0f6fb;
  color: #5b9fbf;
}

/* ==============================
   関連（ほかのお知らせ）
============================== */

.related-posts.related-news {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e3edf5;
}

/* 「ほかのお知らせ」タイトル */
.related-posts .term-title.case_heading.case_span {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-left: 14px;
}

.related-posts .term-title.case_heading.case_span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: #5b9fbf;
}

/* カード一覧 */
.related-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* カード本体 */
.related-case-item {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* サムネイル */
.related-case-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.related-case-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タイトル＋日付＋ボタン部分 */
.related-case-title {
  font-size: 15px;
  font-weight: 600;
  margin: 16px 16px 8px;
  line-height: 1.6;
}

.related-case-title .related-case-a {
  color: #333;
  text-decoration: none;
}

.related-case-title .related-case-a:hover {
  color: #5b9fbf;
}

.related-case-meta {
  margin: 0 16px;
  font-size: 13px;
  color: #777;
}

.related_hr {
  margin: 16px 16px 0;
  border: none;
  border-top: 1px solid #e3edf5;
}

/* 詳細ボタン */
.related-case-link {
  margin: 12px 16px 16px;
  text-align: right;
}

.btn.case_btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #5b9fbf;
  color: #5b9fbf;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.case_btn:hover {
  background: #5b9fbf;
  color: #ffffff;
}

/* ==============================
   「お知らせ一覧へ」ボタン
============================== */

.btn-center {
  margin-top: 40px;
  text-align: center;
}

.btn-blue {
  display: inline-block;
  min-width: 220px;
  padding: 12px 32px;
  border-radius: 999px;
  background: #5b9fbf;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-blue:hover {
  background: #417c9c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ==============================
   サイドバー（最近のお知らせ）
============================== */

#main_contents .sidebar {
  background-color: #ffffff;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  height: fit-content;
}

.sidebar-section {
  margin-bottom: 32px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #5b9fbf;
  color: #333;
}

.sidebar-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.sidebar-list a {
  color: #5b9fbf;
  text-decoration: none;
  position: relative;
  padding-left: 12px;
}

.sidebar-list a::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
}

.sidebar-list a:hover {
  color: #417c9c;
}

/* ==============================
   レスポンシブ
============================== */

@media screen and (max-width: 1024px) {
  #main_contents {
    flex-direction: column;
    gap: 24px;
    margin: 24px auto 60px;
    padding: 0 16px;
  }

  #main_contents .sidebar {
    width: 100%;
  }

  .related-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .news-single {
    padding: 24px 20px 32px;
  }

  .related-cases-grid {
    grid-template-columns: 1fr;
  }

  .btn-blue {
    width: 100%;
  }
}
/* ==============================
   投稿ページ 見出しデザイン
   （post-single 専用）
============================== */
.related-posts.related-blog {
    margin: 50px 0;
}
/* ベースを整える */
.wp-block-list{
	list-style: none;
	padding: 0;
	margin: 1.2em 0;
	background: #f8fafc;
}

/* 各項目のデザイン */
.wp-block-list li{
	position: relative;
	padding: 10px 12px 10px 32px;
	margin-bottom: 8px;
	border-radius: 8px;
}

/* チェックマーク風の装飾 */
.wp-block-list li::before{
	content: "●";
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #6d8bbd;
	font-weight: 700;
}

table.has-fixed-layout {
    margin: 20px 0;
}
/* ===== Entry header area ===== */
.entry-header{
  margin: 0 0 18px;
}

/* メタ情報（日時 / カテゴリ） */
.entry-header .entry-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280; /* グレー */
}

/* 日付 */
.entry-header time{
  font-weight: 600;
  letter-spacing: .02em;
}

/* スラッシュの見え方調整（元の “ / ” が強い場合） */
.entry-header .entry-meta{
  position: relative;
}
.entry-header .entry-meta::after{
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  margin-top: 10px;
}

/* カテゴリ */
.entry-terms{
  font-weight: 600;
}

/* ===== ラベルをCSSで追加（カテゴリの手前に出す） ===== */
.entry-header .entry-meta::before{
	content: "TOPICS";
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  margin-right: 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #0f172a;
  background: #eef2ff; /* 薄い色 */
  border: 1px solid #c7d2fe;
}

/* ===== タイトル（今はpで入ってる前提） ===== */
.entry-content > p:first-child{
  margin: 14px 0 0;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.5;
  color: #111827;
  letter-spacing: .02em;
}

/* タイトル内の “｜博多のむらつ歯科クリニック” を控えめにしたい場合（完全一致が難しいので最後だけ軽く） */
.entry-content > p:first-child{
  /* タイトルが長いときの見やすさ */
  word-break: break-word;
}

/* SP微調整 */
@media (max-width: 768px){
  .entry-header .entry-meta{
    font-size: 12px;
  }
  .entry-header .entry-meta::after{
    margin-top: 8px;
  }
}


/* ---- h2 ---- */
.post-single .entry-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 2.4em 0 1.2em;
  padding: 0.4em 0.8em;
  border-left: 6px solid #5b9fbf;
  background: #f0f6fb;
  border-radius: 4px;
  line-height: 1.5;
}

/* ---- h3 ---- */
.post-single .entry-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: #333;
  margin: 2.2em 0 1.0em;
  padding-bottom: 6px;
  border-bottom: 2px solid #d8e6ef;
  line-height: 1.5;
}

/* ---- h4 ---- */
.post-single .entry-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: #5b9fbf;
  margin: 1.8em 0 0.8em;
  padding-left: 1.0em;
  position: relative;
  line-height: 1.5;
}

.post-single .entry-content h4::before {
  content: "■";
  color: #5b9fbf;
  font-size: 0.9em;
  position: absolute;
  left: 0;
  top: 0;
}
/* SP微調整 */
@media (max-width: 768px){
	.post-single .entry-content h2 {
		font-size: 18px;
	}
	.post-single .entry-content h3 {
		font-size: 16px;
	}
}
/* ------------------- アーカイブページ用 ------------------- */
main.column_main.page {
    width: 95%;
    margin: auto;
}
.content-sidebar-wrapper {
	display: flex;
    gap: 20px;
}
.content-sidebar-wrapper .contentout {
	width:70%;
}

/* ===== カード全体（念のため） ===== */
.blog-list__list-item {
  margin-bottom: 24px;
}

.blog-item {
  display: flex;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  overflow: hidden;
  transition: .2s ease;
}

.blog-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* ===== 画像側 ===== */
.blog-item__thumbnail {
  width: 40%;
  min-width: 240px;
}

/* .blog-item__thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */

/* ============================= */
/* ★ ここが本題：content部分 ★ */
/* ============================= */

.blog-item__content {
	width: 100%;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* タイトル */
.blog-item__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #111827;
}

/* ボタンエリア */
.blog-item__button {
  margin-top: auto;
}

/* 「記事を読む」ボタン風 */
.blog-item__button-more {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
	background: #6d8bbd;   /* むらつ寄せオレンジ */
  color: #fff;
  transition: .2s ease;
}

/* hover時 */
.blog-item:hover .blog-item__button-more {
	background: #6d8bbd;
}

/* ============================= */
/* スマホ調整 */
/* ============================= */
@media (max-width: 768px) {

  .blog-item {
    flex-direction: column;
  }

  .blog-item__thumbnail,
  .blog-item__content {
    width: 100%;
    min-width: auto;
  }

  .blog-item__content {
    padding: 14px 14px 16px;
  }

  .blog-item__title {
	  font-size: 12px;
  }
	.content-sidebar-wrapper {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
  .contentout{
    width: 100%;
    display: flex;
    flex-wrap: wrap;   /* 2列にするには必須 */
    gap: 10px;
	  flex-direction: column;
  }
	
.content-sidebar-wrapper .contentout {
    width: 100%;
}

  .contentout > .blog-list__list-item{
/*     width: calc((100% - 10px) / 2);  */
  }

  /* 念のため：中のaを高さ100%にしてカード崩れ防止 */
  .contentout > .blog-list__list-item > a{
	  display: flex;
	  flex-direction: row;
	  color: inherit;
	  text-decoration: none;
	  height: 100%;
  }

  /* 画像がはみ出す/潰れる対策 */
  .blog-item__thumbnail-image{
    width: 100%;
    height: auto;
    display: block;
  }
}


/* =====================================
   症例シングル（single-case）レイアウト
===================================== */

/* 全体幅＆センタリング */
#main_col {
  max-width: 1100px;
  margin: 40px auto 80px;
}

/* 症例記事ボックス */
.case-single {
  background: #ffffff;
  padding: 32px 32px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 本文エリア */
.case-single .entry-content p {
  margin-bottom: 1.4em;
}

/* =====================================
   症例 画像エリア
===================================== */

.case-study-images {
  margin-bottom: 32px;
}

.case-study-images .two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-image {
  position: relative;
  background: #f5f7fa;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}

.case-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px auto 0;
}

/* 「治療前 / 治療後」ラベル */
.syourei_span {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: #5b9fbf;
  color: #fff;
}

/* 画像が1枚のみのとき */
.case-image.single-image {
  max-width: 640px;
  margin: 0 auto;
}

/* =====================================
   症例コメント（自由テキスト）
===================================== */

.free-text {
  margin-bottom: 32px;
  padding: 16px 20px;
  border-radius: 6px;
  background: #f7fafd;
  border-left: 4px solid #5b9fbf;
}

.free-text p {
  margin: 0;
  font-size: 15px;
}

/* =====================================
   症例詳細テーブル
===================================== */

.case-study-details {
  margin-top: 24px;
}

.case-study-details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.case-study-details th,
.case-study-details td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3edf5;
  vertical-align: top;
}

.case-study-details th {
  width: 25%;
  background: #f5f7fa;
  font-weight: 600;
  color: #333;
}

.case-study-details td {
  width: 75%;
}

/* =====================================
   関連する症例
===================================== */

.related-cases {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e3edf5;
}

/* 見出し（「関連する症例」） */
.related-cases .term-title.case_heading.case_span {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-left: 14px;
}

.related-cases .term-title.case_heading.case_span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: #5b9fbf;
}

/* カード一覧 */
.related-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* カード本体 */
.related-case-item {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* サムネイル */
.related-case-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.related-case-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タイトル */
.related-case-title {
  font-size: 15px;
  font-weight: 600;
  margin: 16px 16px 8px;
  line-height: 1.6;
}

.related-case-title .related-case-a {
  color: #333;
  text-decoration: none;
}

.related-case-title .related-case-a:hover {
  color: #5b9fbf;
}

/* 用語（治療法 / お悩み） */
.related-case-meta {
  margin: 0 16px;
  font-size: 13px;
  color: #777;
}

/* HR */
.related_hr {
  margin: 16px 16px 0;
  border: none;
  border-top: 1px solid #e3edf5;
}

/* 年齢・性別 */
.case-person {
  margin: 8px 16px 12px;
  font-size: 13px;
  color: #555;
}

/* ボタン */
.related-case-link {
  margin: 0 16px 16px;
  text-align: right;
}


/* =====================================
   「もっと見る」ボタン
===================================== */

.btn-center {
  margin-top: 40px;
  text-align: center;
}

.btn-blue {
  display: inline-block;
  min-width: 220px;
  padding: 12px 32px;
  border-radius: 999px;
  background: #5b9fbf;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-blue:hover {
  background: #417c9c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* =====================================
   レスポンシブ
===================================== */

/* タブレット 〜1024px */
@media screen and (max-width: 1024px) {
  #main_col {
	  margin: 32px auto 64px;
	  padding: 0 20px;
  }

  .case-single {
    padding: 28px 24px 36px;
  }

  .case-study-images .two-column {
    gap: 12px;
  }

  .related-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* スマホ 〜767px */
@media screen and (max-width: 767px) {
  #main_col {
	  margin: 24px auto 56px;
	  padding: 0;
  }

  .case-single {
    padding: 20px 16px 28px;
    font-size: 14px;
  }

  .case-study-images .two-column {
    grid-template-columns: 1fr;
  }

  .case-image {
    padding: 12px;
  }

  .free-text {
    padding: 12px 14px;
    font-size: 14px;
  }

  .case-study-details table {
    font-size: 14px;
  }

  .case-study-details th,
  .case-study-details td {
    display: block;
    width: 100%;
    padding: 8px 10px;
  }

  .case-study-details th {
    border-bottom: none;
    border-radius: 4px 4px 0 0;
  }

  .case-study-details td {
    border-top: none;
    margin-bottom: 8px;
    background: #fff;
  }

  .related-cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .related-case-title {
    margin: 12px 12px 6px;
    font-size: 14px;
  }

  .related-case-meta,
  .case-person {
    margin: 0 12px 8px;
    font-size: 12px;
  }

  .related-case-link {
    margin: 0 12px 12px;
  }

  .btn-blue {
    width: 100%;
    min-width: auto;
    padding: 12px 0;
  }
}

/* ========== 症例アーカイブ（treatment別 3件表示） ========== */

/* 全体幅・余白（Astraと共存） */
#primary.content-area.primary {
	width: 90%;
	margin: auto;
}
#primary .site-main {
  padding: 24px 0 40px;
}

/* セクション（診療科目単位） */
#primary .term-section {
  margin: 0 0 48px;
}
#primary .term-title.case_heading.case_span {
	font-size: 20px;
  margin: 0 0 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  letter-spacing: 0.02em;
}

/* カード一覧：3列（PC） */
#primary .term-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

/* 見出しと「もっと見る」ボタンは全幅 */
#primary .term-section > .term-title,
#primary .term-section > .btn-center {
  grid-column: 1 / -1;
}

/* 症例カード */
#primary .related-case-item.casekanren {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
#primary .related-case-item.casekanren:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

/* サムネ */
#primary .related-case-thumbnail a {
  display: block;
}
#primary .related-case-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* タイトル */
#primary .related-case-title {
  margin: 14px 14px 10px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}
#primary .related-case-title .related-case-a {
  color: inherit;
  text-decoration: none;
}
#primary .related-case-title .related-case-a:hover {
  text-decoration: underline;
}



/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  #primary .term-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #primary .site-main {
    padding: 18px 0 34px;
  }
  #primary .term-section {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 38px;
  }
  #primary .term-title.case_heading.case_span {
    margin-bottom: 10px;
  }
  #primary .related-case-title {
    font-size: 15px;
  }
}

/*==================================================================================================================================

  *監修者情報(TCDテーマ専用)

==================================================================================================================================*/
.sprvs-info {
  width: 100%;
  margin: auto;
  padding: 20px;
  border: 1px solid #e6e6e6; /* ▶色変え：外枠色 */
  border-radius: 12px; /* ▶デザイン：角丸 */
  background: #fff;
  font-family: 'Noto Serif', serif; /* ▶全体見出しフォント */
}

.sprvs-info__dl {
  margin: 0;
}

.sprvs-info__title {
  font-weight: 400;
  font-size: 150%;
  padding-bottom: 12px;
  margin-bottom: 14px;
  color: #000; /* ▶色変え：監修医情報文字色 */
  border-bottom: 1px solid #eaeaea; /* ▶色変え：監修医情報アンダーライン色 */
}

.sprvs-info__body {
  margin: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px 20px;
  grid-template-areas:
    "photo   heading"
    "meta    meta";
  align-items: start;
}

.sprvs-info__heading {
  grid-area: heading;
  margin: 0;
  align-self: center;
}

.sprvs-info__clinic {
  margin: 0 0 6px;
  font-size: 100%;
  color: #555; /* ▶色変え：○○医院 院長の文字色 */
}

.sprvs-info__name {
  margin: 0;
  font-size: 140%;
  font-weight: 400;
  color: #111; /* ▶色変え：医師の名前の文字色 */
}

.sprvs-info__grid {
  display: contents;
}

.sprvs-info__photo {
  grid-area: photo;
  width: 160px;
  margin: 0;
}

.sprvs-info__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* ▶デザイン：角丸 */
}

.sprvs-info__meta {
  grid-area: meta;
  min-width: 0;
}

.sprvs-info__block {
  margin-bottom: 14px;
}

.sprvs-info__block-title {
  font-weight: 600;
  font-size: 110%;
  margin-bottom: 8px;
  padding-left: 10px;
  color: #444; /* ▶色変え：経歴/資格/所属学会-見出し文字色 */
  border-left: 4px solid #111; /* ▶色変え：経歴/資格/所属学会-見出しの前のライン色 */
}

.sprvs-info__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #eee; /* ▶色変え：表の外枠色 */
  border-radius: 10px;
  overflow: hidden;
}

.sprvs-info__table td {
  padding: 10px 12px;
  border-top: 1px solid #eee; /* ▶色変え：表の間のライン色 */
  vertical-align: top;
  font-size: 90%;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", 游ゴシック, "Yu Gothic", Meiryo, sans-serif; /* ▶見出しとフォントを変えたい場合設置 */
  line-height: 1.6;
}

.sprvs-info__table tr:first-child td {
  border-top: none;
}

.sprvs-info__year {
  width: 92px;
  white-space: nowrap;
  color: #666;
  background: #fafafa; /* ▶色変え：経歴表の西暦背景色 */
}

.sprvs-info__desc {
  color: #333;
}

.sprvs-info__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sprvs-info__two-col .sprvs-info__block {
  margin-bottom: 0;
}

.sprvs-info__list {
  margin: 0;
  padding-left: 18px;
  font-size: 90%;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", 游ゴシック, "Yu Gothic", Meiryo, sans-serif; /* ▶見出しとフォントを変えたい場合設置 */
  line-height: 1.7;
  color: #333; /* ▶色変え：資格/所属学会リスト文字色 */
}

/* ==============================
  ▼タブレット・スマホ
================================ */
@media screen and (max-width: 768px) {
  .sprvs-info {
    padding: 16px;
		width: auto;
  }

  .sprvs-info__body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "photo"
      "meta";
  }

  .sprvs-info__photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .sprvs-info__photo {
    width: 160px;
  }

  .sprvs-info__two-col {
    grid-template-columns: 1fr;
  }
}

/* =====================================
   症例アーカイブ 上部タクソノミーナビ
===================================== */

.case-tax-nav {
  width: 100%;
  margin: 24px auto 40px;
  padding: 24px 28px;
  background: #f7fafd;
  border: 1px solid #e3edf5;
  border-radius: 16px;
}

.case-tax-nav__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-align: center;
  letter-spacing: 0.04em;
}

.case-tax-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-tax-nav__item {
  margin: 0;
  padding: 0;
}

.case-tax-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #5b9fbf;
  color: #5b9fbf;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.25s ease;
}

.case-tax-nav__link:hover {
  background: #5b9fbf;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(91, 159, 191, 0.25);
}

/* アンカー移動時に見出しがヘッダーに隠れないようにする */
#primary .term-section {
  scroll-margin-top: 120px;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* =====================================
   SP調整
===================================== */

@media screen and (max-width: 768px) {
  .case-tax-nav {
    margin: 20px auto 32px;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .case-tax-nav__title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .case-tax-nav__list {
    justify-content: flex-start;
    gap: 8px;
  }

  .case-tax-nav__link {
    min-width: auto;
    width: auto;
    padding: 8px 14px;
    font-size: 13px;
  }

  #primary .term-section {
    scroll-margin-top: 90px;
  }
}

/* ==============================
  コラム下部CTA
============================== */
.column-bottom-cta {
  margin: 80px auto 70px;
  padding: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.column-bottom-cta * {
  box-sizing: border-box;
}

.column-bottom-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  max-width: 1120px;
  min-height: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(54, 43, 26, 0.14);
}

.column-bottom-cta__inner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 190px;
  height: 190px;
  background: linear-gradient(135deg, transparent 50%, #1C347D 50%);
  pointer-events: none;
}

.column-bottom-cta__body {
  position: relative;
  z-index: 4;
  padding: 50px 0 50px 26px;
  color: #243149;
}

.column-bottom-cta__en {
  position: relative;
  margin: 0 0 26px;
  padding-top: 28px;
  color: #b9933e;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.column-bottom-cta__en::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 118px;
  height: 3px;
  background: #b9933e;
}

.column-bottom-cta__title {
  margin: 0;
  color: #1f2c43;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.column-bottom-cta__text {
  margin: 24px 0 30px;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.column-bottom-cta__info {
  display: block;
  align-items: flex-end;
  gap: 28px;
  width: 100%;
  max-width: 650px;
  padding-top: 26px;
  border-top: 2px dotted #d8d3cc;
}

.column-bottom-cta__tel-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.column-bottom-cta__icon {
  display: inline-grid;
  place-items: center;
  color: #b9933e;
  font-size: 22px;
  line-height: 1;
}

.column-bottom-cta__tel-number {
  display: inline-block;
  color: #333;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.column-bottom-cta__access {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  min-width: 245px;
  margin: 10px 0 8px;
  padding: 12px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 14px rgba(40, 50, 60, 0.08);
  color: #333;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.column-bottom-cta__pin {
  color: #4f96c8;
  font-size: 24px;
  line-height: 1;
}

.column-bottom-cta__access em {
  color: #4f96c8;
  font-style: normal;
  font-size: 1.15em;
}

.column-bottom-cta__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 620px;
  margin-top: 30px;
}

.column-bottom-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-radius: 999px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.column-bottom-cta__button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  box-shadow: 0 10px 20px rgba(43, 111, 164, 0.18);
}

.column-bottom-cta__button--primary {
  background: #1C347D;
}

.column-bottom-cta__button--line {
  background: #D4B15F;
}

.column-bottom-cta__photo {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.column-bottom-cta__photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 48%;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.88) 35%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.column-bottom-cta__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

/* ==============================
  tablet
============================== */
@media screen and (max-width: 1024px) {
  .column-bottom-cta__inner {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .column-bottom-cta__body {
    order: 2;
    padding: 46px 54px 56px;
  }

  .column-bottom-cta__photo {
    order: 1;
    min-height: 390px;
  }

  .column-bottom-cta__photo::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
  }

  .column-bottom-cta__photo img {
    min-height: 390px;
  }

  .column-bottom-cta__info {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .column-bottom-cta__access {
    margin-bottom: 0;
  }
}

/* ==============================
  mobile
============================== */
@media screen and (max-width: 767px) {
  .column-bottom-cta {
    margin: 56px auto;
    padding: 0 16px;
  }

  .column-bottom-cta__inner {
    border-radius: 24px;
  }

  .column-bottom-cta__inner::after {
    width: 128px;
    height: 128px;
  }

  .column-bottom-cta__photo {
    min-height: 220px;
    height: 220px;
  }

  .column-bottom-cta__photo img {
    min-height: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center top;
  }

  .column-bottom-cta__body {
    padding: 36px 24px 34px;
  }

  .column-bottom-cta__en {
    margin-bottom: 24px;
    padding-top: 22px;
    font-size: 15px;
    letter-spacing: 0.14em;
  }

  .column-bottom-cta__en::before {
    width: 86px;
    height: 2px;
  }

  .column-bottom-cta__title {
    font-size: 20px;
    line-height: 1.55;
    letter-spacing: 0.03em;
	text-align: center;
  }

  .column-bottom-cta__text {
    margin: 20px 0 24px;
    font-size: 16px;
    line-height: 1.9;
  }

  .column-bottom-cta__text br {
    display: none;
  }

  .column-bottom-cta__info {
    max-width: none;
    padding-top: 24px;
  }

  .column-bottom-cta__tel-label {
    justify-content: center;
    font-size: 15px;
  }

  .column-bottom-cta__tel {
    width: 100%;
    text-align: center;
  }

  .column-bottom-cta__tel-number {
    font-size: 28px;
    letter-spacing: 0.03em;
  }

  .column-bottom-cta__access {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    font-size: 18px;
  }

  .column-bottom-cta__buttons {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
    margin-top: 28px;
  }

  .column-bottom-cta__button {
    min-height: 66px;
    font-size: 23px;
  }
}
