/* ============================================
   single.css - 記事・会社詳細ページ
   サイドバー付き2カラムレイアウト
   サイトカラーに合わせた見出し・強調スタイル
============================================ */

/* ========================================
   2カラムレイアウト
======================================== */
.single-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  align-items: start;
}

@media (max-width: 1023px) {
  .single-wrap {
    grid-template-columns: 1fr;
  }
}

.single-main {
  min-width: 0;
}

/* ========================================
   記事ヘッダー
======================================== */
.article-header {
  margin-bottom: 32px;
}

.article-header__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--color-text-lt);
}

.article-header__meta .cat-item a {
  background: var(--color-main);
  color: #fff;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.article-header__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-header__author {
  font-size: 0.82rem;
  color: var(--color-text-lt);
}

.article-header__author-label {
  background: var(--color-warm);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  font-size: 0.75rem;
}

.article-eyecatch {
  margin-bottom: 32px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.article-eyecatch img {
  width: 100%;
  height: auto;
}

/* ========================================
   記事本文スタイル（見出し・強調など）
======================================== */
.article-body {
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--color-text);
}

/* h2見出し（サイトカラーに合わせた強調） */
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 12px 16px 12px 20px;
  background: var(--color-warm);
  border-left: 4px solid var(--color-main);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 48px 0 24px;
  line-height: 1.5;
}

/* h3見出し */
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-main);
  margin: 36px 0 18px;
  line-height: 1.5;
}

/* h4見出し */
.article-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main);
  padding-left: 12px;
  border-left: 3px solid var(--color-point2);
  margin: 28px 0 14px;
  line-height: 1.5;
}

/* h5・h6 */
.article-body h5,
.article-body h6 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 24px 0 12px;
}

/* 段落 */
.article-body p {
  margin-bottom: 20px;
}

/* 太字（修正：アンダーラインを引く） */
.article-body strong,
.article-body b {
  font-weight: 700;
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* イタリック */
.article-body em {
  font-style: italic;
  color: var(--color-text-mid);
}

/* リンク */
.article-body a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  opacity: 0.75;
}

/* リスト */
.article-body ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.article-body ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-main);
}

.article-body ol {
  padding-left: 0;
  margin: 0 0 20px;
  counter-reset: ol-counter;
}

.article-body ol li {
  counter-increment: ol-counter;
  padding-left: 32px;
  position: relative;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.article-body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--color-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* テーブル */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.article-body th {
  background: var(--color-main);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}

.article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.article-body tr:nth-child(even) td {
  background: var(--color-warm);
}

/* 引用 */
.article-body blockquote {
  background: var(--color-warm);
  border-left: 4px solid var(--color-point2);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.92rem;
  color: var(--color-text-mid);
}

/* コード */
.article-body code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-family: monospace;
}

.article-body pre {
  background: #f0f0f0;
  padding: 16px;
  border-radius: var(--r-sm);
  overflow-x: auto;
  margin: 20px 0;
}

/* 画像 */
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 16px 0;
}

/* マーカー（蛍光ペン風） */
.article-body mark {
  background: linear-gradient(transparent 50%, rgba(183,139,62,0.3) 50%);
  padding: 0 2px;
}

/* ポイントボックス（記事内で使えるクラス） */
.article-body .point-box {
  background: var(--color-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.article-body .point-box__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 10px;
}

/* 警告ボックス */
.article-body .warn-box {
  background: #fff8f0;
  border: 1px solid var(--color-point2);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
}

/* ========================================
   記事フッター
======================================== */
.article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.article-footer__tags {
  font-size: 0.82rem;
  color: var(--color-text-lt);
}

.article-footer__tags .tag-links a {
  background: var(--color-warm);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: 4px;
  margin: 0 4px 4px 0;
  font-size: 0.78rem;
  color: var(--color-text-mid);
  display: inline-block;
}

/* ========================================
   前後の記事ナビ
======================================== */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.post-nav__prev,
.post-nav__next {
  background: var(--color-warm);
  border-radius: var(--r-md);
  padding: 16px 20px;
}

.post-nav__next {
  text-align: right;
}

.post-nav__prev a,
.post-nav__next a {
  color: var(--color-text);
  display: block;
}

.post-nav__label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-lt);
  margin-bottom: 4px;
}

.post-nav__title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ========================================
   会社詳細ページ
======================================== */
.co-single {
  background: var(--color-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.co-single__header {
  background: var(--color-main);
  padding: 28px 32px;
}

.co-single__name {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

/* 修正：コピーを大きく・太く */
.co-single__copy {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}

.co-single__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

/* 修正：HP画像は枠なし・大きく */
.co-single__hp-img {
  padding: 0;
}

.co-single__hp-img img {
  width: 100%;
  border-radius: 0;
  border: none;
}

.co-single__ext-btns {
  padding: 16px 32px;
  background: var(--color-warm);
  display: flex;
  gap: 12px;
}

.co-single__section {
  padding: 28px 32px;
  border-bottom: 1px solid var(--color-border);
}

.co-single__section:last-child {
  border-bottom: none;
}

.co-single__section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-main);
  margin-bottom: 20px;
}

.co-single__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.co-single__points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.co-single__desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text);
}

.co-single__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.co-single__btns {
  display: flex;
  gap: 12px;
  padding: 24px 32px;
  background: var(--color-warm);
}

/* ========================================
   サイドバー
======================================== */
.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-cta {
  background: var(--color-main);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}

.sidebar-cta__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.sidebar-cta__text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  line-height: 1.6;
}

.sidebar-cta__btn {
  display: block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  text-align: center;
  transition: background 0.2s;
}

.sidebar-cta__btn:hover {
  background: #9a7232;
  opacity: 1;
}

.sidebar-section {
  background: var(--color-white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.sidebar-section__title {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 16px;
  background: var(--color-warm);
  border-bottom: 2px solid var(--color-main);
}

.sidebar-section__title a {
  color: var(--color-text);
}

.sidebar-posts {
  padding: 8px 0;
}

.sidebar-post {
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.sidebar-post:last-child {
  border-bottom: none;
}

.sidebar-post__img {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--r-sm);
  display: block;
  background: var(--color-warm);
}

.sidebar-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post__body {
  flex: 1;
  min-width: 0;
}

.sidebar-post__title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sidebar-post__title:hover {
  color: var(--color-main);
}

.sidebar-post__date {
  font-size: 0.72rem;
  color: var(--color-text-lt);
}

.sidebar-post__sub {
  font-size: 0.75rem;
  color: var(--color-text-lt);
  margin-top: 2px;
}

.sidebar-section__more {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-main);
  padding: 10px;
  background: var(--color-warm);
  border-top: 1px solid var(--color-border);
}

.sidebar-section__more:hover {
  background: var(--color-border);
  opacity: 1;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
  .single-wrap {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .single-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .co-single__section {
    padding: 20px;
  }

  .co-single__header {
    padding: 20px;
  }

  .co-single__btns {
    flex-direction: column;
    padding: 16px 20px;
  }

  .co-single__info-grid {
    grid-template-columns: 1fr;
  }

  .co-single__ext-btns {
    padding: 12px 20px;
  }
}

/* ==========================================
   アイキャッチ引用元
   ========================================== */
.article-eyecatch {
  position: relative;
  margin-bottom: 32px;
}
.article-eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.article-eyecatch__cite {
  font-size: 0.75rem;
  color: #999;
  margin-top: 6px;
  text-align: right;
}
.article-eyecatch__cite a {
  color: #999;
  text-decoration: underline;
}
.article-eyecatch__cite a:hover { color: #c8102e; }

/* ==========================================
   自動目次
   ========================================== */
.toc-box {
  background: #fafaf8;
  border: 1px solid #e5ddd0;
  border-radius: 10px;
  padding: 16px 24px 20px;
  margin-bottom: 36px;
}
.toc-box__list[hidden] { display: none; }
.toc-box__header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #e5ddd0;
  padding: 0 0 12px;
  margin-bottom: 0;
  cursor: pointer;
  text-align: left;
}
.toc-box__header[aria-expanded="true"] + .toc-box__list {
  margin-top: 14px;
}
.toc-box__toggle {
  margin-left: auto;
  font-size: 0.75rem;
  color: #0f1b3d;
}
.toc-box__icon {
  font-size: 1.1rem;
  color: #0f1b3d;
}
.toc-box__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: #0f1b3d;
}
.toc-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: toc-counter;
}
.toc-box__item {
  counter-increment: toc-counter;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed #e5ddd0;
}
.toc-box__item:last-child { border-bottom: none; }
.toc-box__item::before {
  content: counter(toc-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: #0f1b3d;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  flex-shrink: 0;
}
.toc-box__item a {
  font-size: 0.88rem;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.5;
}
.toc-box__item a:hover { color: #c8102e; text-decoration: underline; }

@media (max-width: 600px) {
  .toc-box { padding: 16px; }
}

/* ==========================================
   サイドバー（single・archive共通）
   ========================================== */
.archive-sidebar,
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.archive-sidebar .sidebar-widget,
.sidebar .sidebar-section,
.sidebar-widget {
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(15,27,61,0.08) !important;
  padding: 22px !important;
  border: 1px solid #e5ddd0 !important;
}

.archive-sidebar .sidebar-section__title,
.sidebar .sidebar-section__title,
.sidebar-widget-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f1b3d;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0f1b3d;
}

.archive-sidebar .sidebar-section__title a,
.sidebar .sidebar-section__title a {
  color: #0f1b3d;
  text-decoration: none;
}
.archive-sidebar .sidebar-section__title a:hover,
.sidebar .sidebar-section__title a:hover { color: #c8102e; }

.archive-sidebar .sidebar-posts,
.sidebar .sidebar-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.archive-sidebar .sidebar-post,
.sidebar .sidebar-post {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0ece6;
}
.archive-sidebar .sidebar-post:first-child,
.sidebar .sidebar-post:first-child { padding-top: 0; }
.archive-sidebar .sidebar-post:last-child,
.sidebar .sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }

.archive-sidebar .sidebar-post__img,
.sidebar .sidebar-post__img {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
  background: #f0ece6;
}
.archive-sidebar .sidebar-post__img img,
.sidebar .sidebar-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-sidebar .sidebar-post__body,
.sidebar .sidebar-post__body { flex: 1; min-width: 0; }

.archive-sidebar .sidebar-post__title,
.sidebar .sidebar-post__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 4px;
}
.archive-sidebar .sidebar-post__title:hover,
.sidebar .sidebar-post__title:hover { color: #c8102e; }

.archive-sidebar .sidebar-post__date,
.sidebar .sidebar-post__date { font-size: 0.72rem; color: #aaa; }

.archive-sidebar .sidebar-section__more,
.sidebar .sidebar-section__more {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f1b3d;
  text-decoration: none;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5ddd0;
}
.archive-sidebar .sidebar-section__more:hover,
.sidebar .sidebar-section__more:hover { color: #c8102e; }

/* ========================================
   記事本文：見出し装飾を強化
======================================== */

/* h2：背景つきで大見出しとして判別しやすく */
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  background: #0f1b3d;
  padding: 14px 18px;
  border-left: 6px solid #c8102e;
  border-radius: 6px;
  margin: 52px 0 24px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(15, 27, 61, 0.12);
}

/* h3：薄い背景＋左線で中見出しとして区別 */
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f1b3d;
  background: #eee6d8;
  padding: 12px 16px;
  border-left: 5px solid #0f1b3d;
  border-bottom: none;
  border-radius: 5px;
  margin: 38px 0 18px;
  line-height: 1.5;
}

/* h4：小見出しも少し装飾 */
.article-body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f1b3d;
  background: #fafaf8;
  padding: 9px 12px 9px 14px;
  border-left: 4px solid #c8102e;
  border-radius: 4px;
  margin: 30px 0 14px;
  line-height: 1.5;
}

/* ========================================
   記事本文：表の罫線を黒で統一
======================================== */

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  border: 1px solid #1a1a1a;
}

.article-body th,
.article-body td {
  padding: 12px 14px;
  border: 1px solid #1a1a1a;
  vertical-align: top;
}

.article-body th {
  background: #ffffff;
  color: #1a1a1a;
  text-align: left;
  font-weight: 700;
}

.article-body td {
  background: #ffffff;
  color: #1a1a1a;
}

/* 偶数行の背景色を消して白で統一 */
.article-body tr:nth-child(even) td {
  background: #ffffff;
}

/* 最終行の下線も黒で固定 */
.article-body table tr:last-child th,
.article-body table tr:last-child td {
  border-bottom: 1px solid #1a1a1a;
}

/* ==========================================================
   下層ページ共通スタイル
   対象: page-about.php / page-privacy.php / page-sitemap.php
   ========================================================== */

/* ── ヒーローセクション ── */
.lower-hero {
  padding: 64px 0 40px;
  text-align: center;
  background: #f8f1f1;
}

.lower-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #1a1830;
  line-height: 1.4;
  margin: 16px 0 0;
  letter-spacing: -0.02em;
}

/* ── コンテンツエリア ── */
.lower-content-section {
  padding: 64px 0 96px;
}

.lower-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* ── 運営者情報テーブル ── */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 48px;
}

.profile-table th,
.profile-table td {
  padding: 20px 24px;
  border-bottom: 1px solid #d6cccc;
  vertical-align: top;
  text-align: left;
}

.profile-table th {
  width: 160px;
  font-weight: 700;
  color: #555555;
  white-space: nowrap;
  background: #f8f1f1;
}

.profile-table td {
  color: #1a1830;
}

.profile-table td a {
  color: #0a065d;
  word-break: break-all;
}

.profile-table td p {
  margin: 0 0 12px;
}
.profile-table td p:last-child {
  margin-bottom: 0;
}

/* ── 下層ページ内の見出し ── */
.lower-content h2 {
  font-size: 22px;
  font-weight: 900;
  color: #0a065d;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #a3816a;
}

.lower-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1830;
  margin: 32px 0 12px;
}

.lower-content p {
  font-size: 15px;
  line-height: 2;
  color: #555555;
  margin-bottom: 20px;
}

.lower-content ul,
.lower-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.lower-content li {
  font-size: 15px;
  line-height: 2;
  color: #555555;
  margin-bottom: 6px;
}

/* ── サイトマップ ── */
.sitemap-section {
  margin-bottom: 48px;
}

.sitemap-section h2 {
  font-size: 20px;
  font-weight: 900;
  color: #1a1830;
  margin: 0 0 16px;
  padding: 14px 20px;
  background: #f8f1f1;
  border-left: 4px solid #0a065d;
  border-radius: 0 6px 6px 0;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sitemap-list li a {
  display: block;
  padding: 12px 16px;
  color: #0a065d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #d6cccc;
  transition: background .15s;
}

.sitemap-list li a:hover {
  background: #f8f1f1;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .lower-hero { padding: 48px 0 28px; }
  .lower-content-section { padding: 48px 0 72px; }

  .profile-table th {
    width: 120px;
    font-size: 13px;
    padding: 16px 14px;
    white-space: normal;
  }

  .profile-table td {
    font-size: 14px;
    padding: 16px 14px;
  }

  .lower-content h2 { font-size: 19px; }
}

@media (max-width: 390px) {
  .profile-table {
    display: block;
  }
  .profile-table tbody,
  .profile-table tr {
    display: block;
  }
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }
  .profile-table th {
    background: #f8f1f1;
    border-bottom: none;
    font-size: 12px;
    padding-bottom: 6px;
  }
  .profile-table td {
    padding-top: 6px;
  }
}
/* =========================
   single.php 子ページ調整
========================= */

/* ヘッダー下の余白調整 */
.single-post .site-header,
.single .site-header {
  margin-bottom: 0;
}

/* PRより上の余白を消す候補 */
.single-post .site-pr,
.single-post .header-pr,
.single-post .site-description,
.single-post .site-description-bar,
.single .site-pr,
.single .header-pr,
.single .site-description,
.single .site-description-bar {
  margin-top: 0 !important;
}

/* パンくず：1行・小さめ */
.single-breadcrumb {
  max-width: 1040px;
  margin: 18px auto 34px;
  padding: 0 20px;
  color: rgba(18, 61, 77, 0.68);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-breadcrumb a {
  color: rgba(18, 61, 77, 0.78);
  text-decoration: none;
}

.single-breadcrumb a:hover {
  text-decoration: underline;
}

.single-breadcrumb span {
  margin: 0 5px;
}

.single-breadcrumb__current {
  color: rgba(18, 61, 77, 0.62);
}

/* 記事全体：記事を主役に */
.single-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 80px;
  align-items: start;
}

.single-main {
  min-width: 0;
}

.article-single {
  color: #123d4d;
}

.article-header__meta {
  margin-bottom: 16px;
  color: #2b6473;
  font-size: 13px;
  font-weight: 700;
}

.article-header__meta a {
  color: inherit;
  text-decoration: none;
}

.article-header__title {
  margin: 0 0 18px;
  color: #123d4d;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.article-header__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  color: rgba(18, 61, 77, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.article-header__date-label {
  margin-right: 4px;
  font-weight: 700;
}

/* アイキャッチ */
.article-eyecatch {
  margin: 0 0 36px;
}

.article-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.article-eyecatch__cite {
  margin: 10px 0 0;
  color: rgba(18, 61, 77, 0.62);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.article-eyecatch__cite a {
  color: inherit;
}

/* 本文 */
.article-body {
  color: #123d4d;
  font-size: 16px;
  line-height: 2.05;
}

.article-body p {
  margin: 0 0 1.8em;
}

.article-body h2 {
  margin: 56px 0 24px;
  padding: 16px 20px;
  border-left: 5px solid #e98d70;
  background: #fff;
  color: #123d4d;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.55;
}

.article-body h3 {
  margin: 42px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(18, 61, 77, 0.14);
  color: #123d4d;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.6;
}

.article-body a {
  color: #2b6473;
  font-weight: 700;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 横並びカラム */
.article-body .wp-block-columns {
  gap: 24px;
  margin: 36px 0;
  align-items: stretch;
}

.article-body .wp-block-column {
  padding: 24px;
  border: 1px solid rgba(18, 61, 77, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18, 61, 77, 0.05);
}

.article-body .wp-block-column > :last-child {
  margin-bottom: 0;
}

/* 口コミのような画像＋文章ブロック調整 */
.article-body .wp-block-media-text {
  gap: 28px;
  margin: 36px 0;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(18, 61, 77, 0.12);
}

.article-body .wp-block-media-text__media img {
  border-radius: 8px;
}

/* 目次 */
.toc-box {
  margin: 34px 0;
  border: 1px solid rgba(18, 61, 77, 0.14);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.toc-box__header {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border: 0;
  background: #f7f1e9;
  color: #123d4d;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.toc-box__list {
  margin: 0;
  padding: 18px 24px 22px 44px;
}

.toc-box__item {
  margin: 0 0 10px;
}

.toc-box__item a {
  color: #123d4d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* 前後記事 */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 56px 0 0;
}

.post-nav a {
  display: block;
  padding: 18px;
  border: 1px solid rgba(18, 61, 77, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #123d4d;
  text-decoration: none;
}

.post-nav__label {
  display: block;
  margin-bottom: 8px;
  color: #e98d70;
  font-size: 12px;
  font-weight: 800;
}

.post-nav__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* =========================
   sidebar.php 調整
========================= */

/* サイドバー固定解除 */
.article-sidebar,
.archive-sidebar,
.sidebar {
  position: static !important;
  top: auto !important;
  align-self: start;
}

/* サイドバーを控えめに */
.article-sidebar {
  display: grid;
  gap: 24px;
}

.sidebar-widget {
  padding: 20px;
  border: 1px solid rgba(18, 61, 77, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18, 61, 77, 0.05);
}

.sidebar-widget-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #123d4d;
  color: #123d4d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.sidebar-widget-title a {
  color: inherit;
  text-decoration: none;
}

/* よく読まれる記事 */
.sidebar-widget--popular {
  padding: 0;
  overflow: hidden;
}

.sidebar-widget--popular .sidebar-widget-title {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(18, 61, 77, 0.12);
  background: #123d4d;
  color: #fff;
}

.popular-posts {
  display: grid;
  gap: 0;
}

.popular-post {
  border-bottom: 1px solid rgba(18, 61, 77, 0.1);
}

.popular-post:last-child {
  border-bottom: 0;
}

.popular-post__link {
  display: block;
  padding: 16px;
  color: #123d4d;
  text-decoration: none;
}

.popular-post__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f1e9;
}

.popular-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post__thumb span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(18, 61, 77, 0.45);
  font-size: 12px;
  font-weight: 800;
}

.popular-post__title {
  margin: 0 0 8px;
  color: #123d4d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.popular-post__excerpt {
  margin: 0;
  color: rgba(18, 61, 77, 0.7);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}

/* カテゴリ別記事 */
.sidebar-posts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-post {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: start;
}

.sidebar-post__img {
  display: block;
  width: 76px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: #f7f1e9;
}

.sidebar-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post__title {
  display: -webkit-box;
  overflow: hidden;
  color: #123d4d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.sidebar-post__date {
  display: block;
  margin-top: 6px;
  color: rgba(18, 61, 77, 0.45);
  font-size: 11px;
  font-weight: 600;
}

.sidebar-section__more {
  display: inline-block;
  margin-top: 16px;
  color: #e98d70;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .single-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .article-sidebar {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  .single-breadcrumb {
    margin: 14px auto 26px;
    font-size: 11px;
  }

  .article-header__title {
    font-size: 27px;
  }

  .article-body {
    font-size: 15px;
  }

  .article-body h2 {
    font-size: 21px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .article-body .wp-block-columns {
    display: block;
  }

  .article-body .wp-block-column {
    margin-bottom: 18px;
  }
}

@media (max-width: 390px) {
  .single-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .popular-posts {
    grid-template-columns: 1fr;
  }

  .sidebar-post {
    grid-template-columns: 68px 1fr;
  }

  .sidebar-post__img {
    width: 68px;
  }
}
/* 目次：H2 / H3 階層表示 */
.toc-box__item--h2 {
  font-weight: 800;
}

.toc-box__item--h3 {
  padding-left: 28px;
}

.toc-box__item--h3::before {
  min-width: 18px;
  height: 18px;
  font-size: 0.62rem;
  background: #2b6473;
  opacity: 0.85;
}

.toc-box__item--h3 a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(18, 61, 77, 0.86);
}
/* よく読まれる記事：公開日・更新日を小さく控えめに */
.popular-post__dates {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  color: rgba(18, 61, 77, 0.45);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.popular-post__date {
  display: block;
  white-space: nowrap;
}

.popular-post__date-label {
  margin-right: 4px;
  color: rgba(18, 61, 77, 0.42);
  font-weight: 600;
}

.popular-post__date time {
  color: rgba(18, 61, 77, 0.48);
  font-weight: 600;
}

/* ==========================================================
   子ページ：PRバー上部の余白を削除
   ※PR文言はACF管理のまま。表示内容には触らない。
   ========================================================== */

/* body / page / main の上余白をリセット */
html,
body,
#page,
#main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* PRバー自体の上余白を削除 */
.site-pr-bar {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  background: #f8f3ea;
}

/* PRバー内のpタグの余白を削除 */
.site-pr-bar p,
.site-pr-bar__text {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 4px 8px !important;
  line-height: 1.45 !important;
}

/* ヘッダー本体の余白も詰める */
.site-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 記事ページだけ念押し */
body.single .site-pr-bar,
body.single-post .site-pr-bar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single .site-header,
body.single-post .site-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* パンくず上の余白を調整 */
body.single .single-breadcrumb,
body.single-post .single-breadcrumb {
  margin-top: 18px !important;
}

/* WordPress管理バー表示時もPRバー上に余白を作らない */
body.admin-bar .site-pr-bar {
  margin-top: 0 !important;
}

/* スマホ時 */
@media (max-width: 768px) {
  .site-pr-bar {
    min-height: 26px !important;
  }

  .site-pr-bar p,
  .site-pr-bar__text {
    padding: 4px 10px !important;
    font-size: 11px;
    line-height: 1.4 !important;
  }

  body.single .single-breadcrumb,
  body.single-post .single-breadcrumb {
    margin-top: 14px !important;
  }
}
/* ==========================================================
   PRバー：表示は残したまま、文字サイズ・背景だけ調整
   ========================================================== */

.site-pr-bar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(18, 61, 77, 0.08);
}

.site-pr-bar__text,
.site-pr-bar p {
  margin: 0 !important;
  padding: 6px 8px !important;
  color: #123d4d;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.5 !important;
  letter-spacing: 0.01em;
}

/* PCで少しだけ横位置を整える */
.site-pr-bar__text {
  max-width: none;
}

/* スマホ */
@media (max-width: 768px) {
  .site-pr-bar__text,
  .site-pr-bar p {
    padding: 5px 8px !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
  }
}

/* =========================================================
   2026-06-18 子ページ共通調整
   - TOPページと同系統のネイビー / ゴールド / クリームへ統一
   - パンくずを「ホーム ＞ カテゴリ ＞ 記事タイトル」で1行表示
   - TOP以外の投稿・カテゴリ・固定ページ・アーカイブ全体に適用
   ========================================================= */

:root {
  --osaka-navy: #0a065d;
  --osaka-deep: #050836;
  --osaka-gold: #a3816a;
  --osaka-gold-light: #c2a78f;
  --osaka-cream: #f8f1f1;
  --osaka-cream-2: #fbf7f5;
  --osaka-border: #d6cccc;
  --osaka-text: #1a1830;
  --osaka-muted: rgba(26, 24, 48, 0.68);
  --osaka-wrap: 1120px;
}

/* body背景はmain.cssで#050836に設定 - ここでは上書きしない */
body:not(.home):not(.front-page) #main,
body:not(.home):not(.front-page) .site-main,
body:not(.home):not(.front-page) .archive-page,
body:not(.home):not(.front-page) .single-wrap,
body:not(.home):not(.front-page) .single-page-wrap,
body:not(.home):not(.front-page) .lower-page,
body:not(.home):not(.front-page) .page-content {
  background: var(--osaka-cream) !important;
}

/* ----- パンくず：テンプレートパーツ版 ----- */
body:not(.home):not(.front-page) .breadcrumb {
  width: 100%;
  background: var(--osaka-cream);
  border-bottom: 1px solid rgba(214, 204, 204, 0.55);
  margin: 0;
  padding: 10px 0;
  overflow: hidden;
}

body:not(.home):not(.front-page) .breadcrumb .container {
  max-width: var(--osaka-wrap) !important;
  width: min(var(--osaka-wrap), calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body:not(.home):not(.front-page) .breadcrumb ol {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap !important;
  scrollbar-width: none;
}

body:not(.home):not(.front-page) .breadcrumb ol::-webkit-scrollbar {
  display: none;
}

body:not(.home):not(.front-page) .breadcrumb li {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--osaka-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  white-space: nowrap !important;
}

body:not(.home):not(.front-page) .breadcrumb li + li::before {
  content: "＞";
  display: inline-block;
  margin: 0 9px;
  color: var(--osaka-gold);
  font-size: 11px;
}

body:not(.home):not(.front-page) .breadcrumb a {
  color: rgba(10, 6, 93, 0.78) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body:not(.home):not(.front-page) .breadcrumb a:hover {
  color: var(--osaka-gold) !important;
}

/* ----- パンくず：single.php 直書き版 ----- */
body:not(.home):not(.front-page) .single-breadcrumb {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  max-width: var(--osaka-wrap) !important;
  width: min(var(--osaka-wrap), calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: 10px 0 !important;
  color: var(--osaka-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  text-overflow: clip !important;
  scrollbar-width: none;
  background: var(--osaka-cream);
}

body:not(.home):not(.front-page) .single-breadcrumb::-webkit-scrollbar {
  display: none;
}

body:not(.home):not(.front-page) .single-breadcrumb a,
body:not(.home):not(.front-page) .single-breadcrumb span {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: rgba(10, 6, 93, 0.78) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body:not(.home):not(.front-page) .single-breadcrumb > span:not(.single-breadcrumb__current) {
  color: var(--osaka-gold) !important;
  font-size: 11px !important;
}

body:not(.home):not(.front-page) .single-breadcrumb__current {
  max-width: min(720px, 58vw);
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: rgba(26, 24, 48, 0.7) !important;
}

/* ----- 子ページ共通ヘッダー / タイトル ----- */
body:not(.home):not(.front-page) .archive-header {
  background: var(--osaka-cream) !important;
  border-bottom: 1px solid var(--osaka-border) !important;
  padding: 56px 0 46px !important;
}

body:not(.home):not(.front-page) .archive-header-inner,
body:not(.home):not(.front-page) .archive-layout,
body:not(.home):not(.front-page) .single-wrap,
body:not(.home):not(.front-page) .container {
  max-width: var(--osaka-wrap) !important;
}

body:not(.home):not(.front-page) .archive-label,
body:not(.home):not(.front-page) .article-header__meta,
body:not(.home):not(.front-page) .post-list-category,
body:not(.home):not(.front-page) .toc-title,
body:not(.home):not(.front-page) .sidebar-widget-title {
  color: var(--osaka-gold) !important;
}

body:not(.home):not(.front-page) .archive-label {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase;
}

body:not(.home):not(.front-page) .archive-title,
body:not(.home):not(.front-page) .article-header__title,
body:not(.home):not(.front-page) .post-list-title,
body:not(.home):not(.front-page) .post-list-title a,
body:not(.home):not(.front-page) .article-body h2,
body:not(.home):not(.front-page) .article-body h3,
body:not(.home):not(.front-page) .article-body h4 {
  color: var(--osaka-navy) !important;
}

body:not(.home):not(.front-page) .archive-title,
body:not(.home):not(.front-page) .article-header__title {
  font-family: "Noto Serif JP", "Shippori Mincho", serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}

body:not(.home):not(.front-page) .archive-description,
body:not(.home):not(.front-page) .post-list-excerpt,
body:not(.home):not(.front-page) .article-body,
body:not(.home):not(.front-page) .article-body p {
  color: var(--osaka-text) !important;
}

/* ----- カード / リスト / サイドバー ----- */
body:not(.home):not(.front-page) .post-list-item {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--osaka-border) !important;
}

body:not(.home):not(.front-page) .post-list-thumbnail {
  background: #ece4e4 !important;
  border-radius: 0 !important;
}

body:not(.home):not(.front-page) .post-list-meta {
  color: var(--osaka-muted) !important;
}

body:not(.home):not(.front-page) .post-list-more,
body:not(.home):not(.front-page) .pagination .page-numbers.current,
body:not(.home):not(.front-page) .article-header__meta .cat-item a {
  background: var(--osaka-navy) !important;
  color: #fff !important;
  border-color: var(--osaka-navy) !important;
}

body:not(.home):not(.front-page) .pagination .page-numbers,
body:not(.home):not(.front-page) .toc-box,
body:not(.home):not(.front-page) .sidebar-widget,
body:not(.home):not(.front-page) .article-eyecatch,
body:not(.home):not(.front-page) .related-posts,
body:not(.home):not(.front-page) .company-profile-box {
  border-color: var(--osaka-border) !important;
  background: #fff !important;
  box-shadow: none !important;
}

body:not(.home):not(.front-page) .article-body h2 {
  background: #ece4e4 !important;
  border-left-color: var(--osaka-gold) !important;
}

body:not(.home):not(.front-page) .article-body h3 {
  border-bottom-color: var(--osaka-border) !important;
}

body:not(.home):not(.front-page) .article-body h3::before,
body:not(.home):not(.front-page) .article-body h4::before {
  background: var(--osaka-gold) !important;
}

body:not(.home):not(.front-page) .article-body blockquote {
  background: #fff !important;
  border-left-color: var(--osaka-gold) !important;
}

body:not(.home):not(.front-page) .archive-page {
  padding-top: 48px !important;
}

/* ----- 子ページの横はみ出し防止 ----- */
body:not(.home):not(.front-page) img,
body:not(.home):not(.front-page) iframe,
body:not(.home):not(.front-page) table {
  max-width: 100% !important;
}

body:not(.home):not(.front-page) .article-body,
body:not(.home):not(.front-page) .post-list-body,
body:not(.home):not(.front-page) .archive-main,
body:not(.home):not(.front-page) .single-main {
  min-width: 0 !important;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ----- モバイル ----- */
@media (max-width: 768px) {
  body:not(.home):not(.front-page) .breadcrumb .container,
  body:not(.home):not(.front-page) .single-breadcrumb {
    width: calc(100% - 32px) !important;
  }

  body:not(.home):not(.front-page) .archive-header {
    padding: 42px 0 34px !important;
  }

  body:not(.home):not(.front-page) .archive-page {
    padding: 36px 0 56px !important;
  }

  body:not(.home):not(.front-page) .archive-layout,
  body:not(.home):not(.front-page) .single-wrap {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body:not(.home):not(.front-page) .post-list-item {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 20px 0 !important;
  }

  body:not(.home):not(.front-page) .post-list-thumbnail {
    width: 112px !important;
    height: 84px !important;
    margin-right: 0 !important;
  }

  body:not(.home):not(.front-page) .archive-title,
  body:not(.home):not(.front-page) .article-header__title {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.55 !important;
  }

  body:not(.home):not(.front-page) .single-breadcrumb__current {
    max-width: 58vw;
  }
}

@media (max-width: 480px) {
  body:not(.home):not(.front-page) .breadcrumb .container,
  body:not(.home):not(.front-page) .single-breadcrumb {
    width: calc(100% - 24px) !important;
    font-size: 11px !important;
  }

  body:not(.home):not(.front-page) .post-list-item {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body:not(.home):not(.front-page) .post-list-thumbnail {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  body:not(.home):not(.front-page) .single-breadcrumb__current {
    max-width: 52vw;
  }
}
    aspect-ratio: 16 / 9 !important;
  }

  body:not(.home):not(.front-page) .single-breadcrumb__current {
    max-width: 52vw;
  }
}

/* =========================================================
   2026-06-18 子ページ全体追加調整 v2
   - 固定ページ lower-page 系もTOP配色へ統一
   - サイト情報設定のPRバーは header.php の get_option('hikaku_pr_bar_text') で表示
   ========================================================= */
body:not(.home):not(.front-page) .lower-page {
  background: var(--osaka-cream) !important;
  color: var(--osaka-text) !important;
}
body:not(.home):not(.front-page) .lower-hero {
  background: var(--osaka-cream) !important;
  border-bottom: 1px solid var(--osaka-border) !important;
  padding: 56px 0 44px !important;
}
body:not(.home):not(.front-page) .section-label,
body:not(.home):not(.front-page) .lower-page .section-label {
  color: var(--osaka-gold) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.26em !important;
}
body:not(.home):not(.front-page) .lower-title,
body:not(.home):not(.front-page) .lower-content h1,
body:not(.home):not(.front-page) .lower-content h2,
body:not(.home):not(.front-page) .lower-content h3,
body:not(.home):not(.front-page) .lower-content h4 {
  color: var(--osaka-navy) !important;
}
body:not(.home):not(.front-page) .title-bar,
body:not(.home):not(.front-page) .lower-content h2::before,
body:not(.home):not(.front-page) .lower-content h3::before {
  background: var(--osaka-gold) !important;
}
body:not(.home):not(.front-page) .lower-content-section {
  background: var(--osaka-cream) !important;
  padding: 56px 0 72px !important;
}
body:not(.home):not(.front-page) .lower-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 100% !important;
}
body:not(.home):not(.front-page) .profile-table,
body:not(.home):not(.front-page) .lower-content table {
  border-color: var(--osaka-border) !important;
}
body:not(.home):not(.front-page) .profile-table th,
body:not(.home):not(.front-page) .lower-content table th {
  background: rgba(10,6,93,0.06) !important;
  color: var(--osaka-navy) !important;
  border-color: var(--osaka-border) !important;
}
body:not(.home):not(.front-page) .profile-table td,
body:not(.home):not(.front-page) .lower-content table td {
  color: var(--osaka-text) !important;
  border-color: var(--osaka-border) !important;
}
body:not(.home):not(.front-page) .lower-content a {
  color: var(--osaka-navy) !important;
  text-decoration-color: var(--osaka-gold) !important;
}
@media (max-width: 768px) {
  body:not(.home):not(.front-page) .lower-hero {
    padding: 42px 0 34px !important;
  }
  body:not(.home):not(.front-page) .lower-content-section {
    padding: 36px 0 56px !important;
  }
  body:not(.home):not(.front-page) .lower-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
