/* ---------- 全体 ---------- */
.main.page {
  padding: 60px 20px;
  background-color: #f7fafd;
  font-family: 'Noto Sans JP', sans-serif;
}

.wysiwyg-editor {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- メイン・サイドバー構成 ---------- */
.content-sidebar-wrapper {
	display: flex;
	flex-direction: row;
	gap: 40px;
}

.contentout {
  width: 70%;
}

.sidebar {
  width: 30%;
}

/* ---------- ブログ記事カード ---------- */
.blog-list__list-item {
  margin-bottom: 40px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.blog-list__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.blog-item {
	display: flex;
	flex-direction: row;
	color: inherit;
	text-decoration: none;
}

/* アイキャッチ画像 */
.blog-item__thumbnail {
	width: 30%;
	overflow: hidden;
}

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

/* コンテンツ */
.blog-item__content {
	width: 70%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-item__title {
  font-size: 20px;
  font-weight: 600;
 color: #444;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.blog-item__button {
  margin-top: auto;
	text-align: right;
}

.blog-item__button-more {
  display: inline-block;
  color: #5b9fbf;
  font-weight: 600;
  border-bottom: 2px solid #5b9fbf;
  transition: all 0.3s ease;
}

.blog-item__button-more:hover {
  color: #417c9c;
  border-color: #417c9c;
}

/* ---------- サイドバー ---------- */
.sidebar {
  background-color: #ffffff;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

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

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

.sidebar-list li {
  margin-bottom: 12px;
  font-size: 15px;
}

.sidebar-list a {
  color: #5b9fbf;
  text-decoration: none;
  transition: color 0.3s;
}

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

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 1024px) {
  .content-sidebar-wrapper {
    flex-direction: column;
  }

  .contentout,
  .sidebar {
    width: 100%;
  }

  .sidebar {
    margin-top: 40px;
  }
}

/* ==========================================
   1. 共通・下層ページ基本設定（他ページと統一）
   ========================================== */
.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 40px;
    box-sizing: border-box;
}

/* フォント指定 */
.sub-mv__title, .interview-heading { 
    font-family: "Noto Serif JP", serif; 
}

/* ★ Sans から Serif へ書き換え：本文や英語表記も明朝体へ */
.sub-mv__en, .interview-text, .breadcrumb { 
    font-family: "Noto Serif JP", serif; 
}

/* --- メインビジュアル（歯科医師紹介等と共通の構造） --- */
.sub-mv {
    width: 100%;
    height: 300px;
    background: url('https://hata-shika.com/wp-content/uploads/2026/05/bg.png') no-repeat center 70% / cover;
    background-color: #556b2f;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sub-mv::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.sub-mv__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 110px; /* 文字の上下位置を他ページと統一 */
}

.sub-mv__title {
    color: #fff;
    font-size: 2.4rem;
    margin: 0;
}


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

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

/* メイン＋サイドバーのレイアウト */
#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;
}


.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;
}

.news-single .entry-content h2 {
  font-size: 24px;
	border-left: 5px solid #C0A146;
  padding-left: 12px;
	background-color:#faf8f1;
		font-weight:600;
	line-height: 1.4;
	padding: 0.4em 0.6em;
	letter-spacing:0.08em;
	color:#C49B22;
}

.news-single .entry-content h3 {
  font-size: 20px;
  border-bottom: 1px solid #e1c773;
  padding-bottom: 6px;
	color:#C49B22;
	font-weight:500;
}

.news-single .entry-content h4 {
  font-size: 19px;
	border-left: 3px solid #C59300;
  padding-left: 12px;
		font-weight:500;
	line-height: 1.4;
	letter-spacing:0.08em;
	color:#C49B22;
}

.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: 600;
  margin-bottom: 24px;
  position: relative;
  padding-left: 14px;
	letter-spacing: 0.1em;
	color: #444;
}

.related-posts .term-title.case_heading.case_span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 26px;
  background:  #556b2f;
}

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

/* カード本体 */
.related-case-item {
  background: #ffffff;
  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: #D7A400;
  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: #556b2f;
  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 {
  opacity:0.7;
  color: #ffffff;
  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: 600;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #556b2f;
 color: #444;
    letter-spacing: 0.1em;
}

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

.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: 4px;
  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;
}

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

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

/* ---- h2 ---- */
.post-single .entry-content h2 {
  font-size: 24px;
	border-left: 5px solid #556b2f;
  padding-left: 12px;
	background-color:#faf8f1;
		font-weight:600;
	line-height: 1.4;
	padding: 0.4em 0.6em;
	letter-spacing:0.08em;
	color:#556b2f;
}

/* ---- h3 ---- */
.post-single .entry-content h3 {
  font-size: 20px;
  border-bottom: 1px solid #8A7433;
  padding-bottom: 6px;
	color:#8A7433;
font-weight: 600;
    letter-spacing: 0.1em;
}

/* ---- h4 ---- */
.post-single .entry-content h4 {
  font-size: 19px;
	border-left: 3px solid #C59300;
  padding-left: 12px;
		font-weight:500;
	line-height: 1.4;
	letter-spacing:0.08em;
	color:#C49B22;
}
.wp-block-paragraph{
color: #666;
    letter-spacing: 0.16em;
    font-size: 15px;
}

.wp-block-image{
margin-bottom:10px;	
}

/* SP微調整 */
@media (max-width: 768px){
	.post-single .entry-content h2 {
		font-size: 18px;
	}
	.post-single .entry-content h3 {
		font-size: 16px;
	}
}