@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* ==============================
   リセット・共通
============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; background: #faf9f6; color: #333; }

/* ==============================
   ヘッダー
============================== */
.od-header { background: #fff; border-bottom: 2px solid #b89a5a; padding: 14px 24px; position: sticky; top: 0; z-index: 100; }
.od-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.od-logo-main { font-size: 20px; font-weight: 700; color: #2c2416; }
.od-logo-sub { font-size: 10px; color: #c8ae78; letter-spacing: 0.08em; }

/* ナビ */
.od-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.od-nav ul li { position: relative; }
.od-nav ul li a { font-size: 15px; color: #444; text-decoration: none; }
.od-nav ul li a:hover { color: #b89a5a; }

/* ドロップダウン */
.od-nav ul li ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #e8d8b0; border-radius: 8px; padding: 8px 0; min-width: 180px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 200; }
.od-nav ul li:hover ul { display: block; }
.od-nav ul li ul li a { display: block; padding: 8px 16px; font-size: 13px; color: #444; white-space: nowrap; }
.od-nav ul li ul li a:hover { background: #faf5eb; color: #b89a5a; }

/* ハンバーガー */
.od-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.od-hamburger span { display: block; width: 24px; height: 2px; background: #b89a5a; border-radius: 2px; transition: all 0.3s; }
.od-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.od-hamburger.is-open span:nth-child(2) { opacity: 0; }
.od-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
   パンくず
============================== */
.od-breadcrumb { background: #fff; border-bottom: 1px solid #e8d8b0; padding: 10px 24px; font-size: 11px; color: #888; }
.od-breadcrumb-inner { max-width: 1200px; margin: 0 auto; }
.od-breadcrumb a { color: #b89a5a; text-decoration: none; }
.od-breadcrumb a:hover { text-decoration: underline; }
.od-breadcrumb span { margin: 0 6px; }

/* ==============================
   ヒーロースライダー
============================== */
.od-hero-wrapper { position: relative; width: 100%; }
.od-hero-swiper { width: 100%; }
.od-hero-slide { height: 600px !important; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.od-hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,36,22,0.88) 0%, rgba(44,36,22,0.2) 100%); }
.od-hero-text-fixed { position: absolute; bottom: 48px; left: 48px; z-index: 10; color: #fff; max-width: 600px; pointer-events: none; }
.od-hero-tag { font-size: 13px; letter-spacing: 0.2em; color: #c8ae78; margin-bottom: 12px; }
.od-hero-title { font-size: 48px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.od-hero-desc { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.8; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.swiper-pagination-bullet-active { background: #c8ae78; }
.swiper-slide.od-hero-slide { display: block !important; padding: 0 !important; }

/* ==============================
   セクション共通
============================== */
.od-section { padding: 32px 0 0; }
.od-section-bg { background: #f5f0e8; padding: 24px 0; }
.od-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.od-divider { height: 1px; background: #e8d8b0; max-width: 1200px; margin: 0 auto; }

/* セクションタイトル */
.od-sec-head { padding: 0 24px 14px; max-width: 1200px; margin: 0 auto; }
.od-sec-en { font-size: 13px; color: #b89a5a; letter-spacing: 0.2em; font-weight: 500; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.od-sec-en::after { content: ''; flex: 1; height: 1px; background: #e8d8b0; }
.od-sec-ja { font-size: 22px; font-weight: 700; color: #2c2416; }

/* ==============================
   横スクロールカード
============================== */
.od-hscroll { display: flex; gap: 14px; padding: 0 24px 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 1200px; margin: 0 auto; }
.od-hscroll::-webkit-scrollbar { display: none; }
.od-hcard { width: 300px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e8d8b0; text-decoration: none; display: block; transition: border-color 0.2s; }
.od-hcard:hover { border-color: #b89a5a; }
.od-hcard-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f5f0e8; }
.od-hcard-img img { width: 100%; height: 100%; object-fit: cover; }
.od-hcard-body { padding: 10px 12px; }
.od-hcard-cat { font-size: 11px; color: #b89a5a; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 5px; }
.od-hcard-title { font-size: 14px; font-weight: 700; color: #333; line-height: 1.5; }
.od-hcard-date { font-size: 11px; color: #aaa; margin-top: 4px; }

/* ==============================
   特集カード
============================== */
.od-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 24px 24px; max-width: 1200px; margin: 0 auto; }
.od-feature-card { border-radius: 12px; overflow: hidden; text-decoration: none; display: block; position: relative; height: 220px; background-size: cover; background-position: center; }
.od-feature-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,36,22,0.88) 0%, rgba(44,36,22,0.1) 100%); }
.od-feature-card-text { position: absolute; bottom: 20px; left: 20px; color: #fff; z-index: 1; }
.od-feature-card-tag { font-size: 10px; color: #c8ae78; letter-spacing: 0.15em; margin-bottom: 6px; }
.od-feature-card-title { font-size: 20px; font-weight: 700; }
.od-feature-card-count { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ==============================
   カテゴリータブ
============================== */
.od-cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 24px 16px; max-width: 1200px; margin: 0 auto; }
.od-cat-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 1px solid #e8d8b0; border-radius: 10px; padding: 12px 16px; cursor: pointer; transition: all 0.2s; min-width: 88px; }
.od-cat-tab:hover { border-color: #b89a5a; }
.od-cat-tab.active { background: #2c2416; border-color: #2c2416; }
.od-cat-tab-icon { font-size: 22px; }
.od-cat-tab-name { font-size: 11px; font-weight: 700; color: #2c2416; }
.od-cat-tab.active .od-cat-tab-name { color: #c8ae78; }
.od-cat-articles { display: none; flex-direction: column; gap: 12px; padding: 0 24px 24px; max-width: 1200px; margin: 0 auto; }
.od-cat-articles.active { display: flex; }
.od-cat-article { display: flex; gap: 12px; background: #fff; border-radius: 10px; border: 1px solid #e8d8b0; padding: 12px; text-decoration: none; transition: border-color 0.2s; }
.od-cat-article:hover { border-color: #b89a5a; }
.od-cat-article-img { width: 120px; aspect-ratio: 16/9; height: auto; border-radius: 6px; flex-shrink: 0; overflow: hidden; background: #f5f0e8; }
.od-cat-article-img img { width: 100%; height: 100%; object-fit: cover; }
.od-cat-article-body { flex: 1; }
.od-cat-article-cat { font-size: 10px; color: #b89a5a; font-weight: 500; margin-bottom: 4px; }
.od-cat-article-title { font-size: 13px; font-weight: 700; color: #333; line-height: 1.5; }
.od-cat-article-date { font-size: 11px; color: #aaa; margin-top: 4px; }
.od-cat-more { display: block; text-align: center; margin: 0 24px; padding: 10px; border: 1px solid #b89a5a; border-radius: 20px; font-size: 13px; font-weight: 700; color: #b89a5a; text-decoration: none; max-width: 1200px; }
.od-cat-more:hover { background: #b89a5a; color: #fff; }

/* ==============================
   番組一覧スライダー
============================== */
.od-program-swiper { padding: 0 24px 24px; max-width: 1200px; margin: 0 auto; }
.od-program-slide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: #fff; border-radius: 12px; border: 1px solid #e8d8b0; padding: 24px; }
.od-program-badge { display: inline-block; font-size: 10px; color: #b89a5a; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 6px; }
.od-program-title { font-size: 18px; font-weight: 700; color: #2c2416; margin-bottom: 8px; }
.od-program-desc { font-size: 12px; color: #888; line-height: 1.7; margin-bottom: 14px; }
.od-program-articles { display: flex; flex-direction: column; gap: 10px; }
.od-program-article { display: flex; gap: 10px; text-decoration: none; }
.od-program-article-img { width: 90px; aspect-ratio: 16/9; height: auto; border-radius: 6px; flex-shrink: 0; overflow: hidden; background: #f5f0e8; }
.od-program-article-img img { width: 100%; height: 100%; object-fit: cover; }
.od-program-article-cat { font-size: 9px; color: #b89a5a; margin-bottom: 3px; }
.od-program-article-title { font-size: 11px; font-weight: 700; color: #333; line-height: 1.4; }

/* ==============================
   バナー
============================== */
.od-banner-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 24px 24px; max-width: 1200px; margin: 0 auto; }
.od-banner-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1200px; margin: 0 auto; margin-bottom: 12px; }
.od-banner-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 1200px; margin: 0 auto; }
.od-banner-item img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* ==============================
   姉妹サイトカード
============================== */
.od-sister-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 24px 24px; max-width: 1200px; margin: 0 auto; }
.od-sister-card { border-radius: 12px; padding: 24px; text-decoration: none; display: block; }
.od-sister-card.sai { background: #1a3d28; border: 1px solid #2E7D4F; }
.od-sister-card.min { background: #2a4a00; border: 1px solid #639922; }
.od-sister-eyebrow { font-size: 10px; letter-spacing: 0.1em; margin-bottom: 6px; }
.od-sister-card.sai .od-sister-eyebrow { color: #9FE1CB; }
.od-sister-card.min .od-sister-eyebrow { color: #C0DD97; }
.od-sister-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.od-sister-card.sai .od-sister-sub { font-size: 12px; color: rgba(159,225,203,0.8); line-height: 1.6; }
.od-sister-card.min .od-sister-sub { font-size: 12px; color: rgba(192,221,151,0.8); line-height: 1.6; }
.od-sister-btn { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; padding: 8px 18px; border-radius: 20px; }
.od-sister-card.sai .od-sister-btn { background: #2E7D4F; color: #fff; }
.od-sister-card.min .od-sister-btn { background: #639922; color: #fff; }

/* ==============================
   メインレイアウト（single/archive）
============================== */
.od-container { max-width: 1200px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }

/* ==============================
   記事エリア（single）
============================== */
.od-article { background: #fff; border-radius: 10px; overflow: hidden; }
.od-article-thumb-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.od-article-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-article-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: #f5f0e8; }
.od-article-body { padding: 24px; }
.od-article-cat { font-size: 10px; color: #b89a5a; font-weight: 500; letter-spacing: 0.1em; margin-bottom: 8px; }
.od-article-title { font-size: 22px; font-weight: 700; color: #2c2416; line-height: 1.5; margin-bottom: 12px; }
.od-article-meta { font-size: 11px; color: #aaa; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.od-article-tag { background: #faf5eb; color: #b89a5a; border-radius: 20px; padding: 3px 10px; font-size: 10px; text-decoration: none; }
.od-article-tag:hover { background: #b89a5a; color: #fff; }
.od-article-divider { height: 1px; background: #e8d8b0; margin: 20px 0; }

/* 記事本文 */
.od-entry-content { font-size: 14px; line-height: 1.9; color: #444; }
.od-entry-content h2 {
  position: relative;
  font-size: 19px;
  font-weight: 700;
  color: #2c2416;
  margin: 36px 0 18px;
  padding: 16px 22px;
  background: #faf5eb;
  border-radius: 2px;
}
.od-entry-content h2::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #d8c190;
  pointer-events: none;
}
.od-entry-content h2::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  border-width: 0 18px 18px 0;
  border-style: solid;
  border-color: #fff #fff #c8ae78;
  box-shadow: -1px 1px 2px rgba(0,0,0,0.1);
}

.od-entry-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 28px 0 14px;
  padding: 10px 16px;
  background: #b89a5a;
  border-radius: 4px;
}

.od-entry-content h4 {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #2c2416;
  margin: 22px 0 10px;
  padding-bottom: 8px;
  border-bottom: 3px solid #e8d8b0;
}
.od-entry-content h4::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #b89a5a;
}

.od-entry-content p { margin-bottom: 16px; }
.od-entry-content img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.od-entry-content a { color: #b89a5a; }
.od-entry-content ul, .od-entry-content ol { margin: 12px 0 16px 20px; }
.od-entry-content li { margin-bottom: 6px; }
.od-entry-content blockquote { border-left: 3px solid #e8d8b0; padding: 12px 16px; background: #faf5eb; margin: 16px 0; font-size: 13px; color: #666; }
.od-entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.od-entry-content th { background: #faf5eb; color: #2c2416; font-weight: 700; padding: 10px 14px; border: 1px solid #e8d8b0; text-align: left; }
.od-entry-content td { padding: 10px 14px; border: 1px solid #e8d8b0; }

/* 前後ナビ */
.od-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.od-post-nav-item { background: #fff; border: 1px solid #e8d8b0; border-radius: 8px; padding: 14px; text-decoration: none; display: block; }
.od-post-nav-item:hover { border-color: #b89a5a; }
.od-post-nav-label { font-size: 10px; color: #b89a5a; letter-spacing: 0.1em; margin-bottom: 6px; }
.od-post-nav-title { font-size: 12px; font-weight: 700; color: #333; line-height: 1.5; }

/* 関連記事 */
.od-related { margin-top: 8px; }
.od-related-title { font-size: 15px; font-weight: 700; color: #2c2416; margin-bottom: 14px; border-left: 3px solid #b89a5a; padding-left: 10px; }
.od-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.od-related-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e8d8b0; text-decoration: none; display: block; }
.od-related-card:hover { border-color: #b89a5a; }
.od-related-img { aspect-ratio: 16/9; height: auto; background: #f5f0e8; overflow: hidden; }
.od-related-img img { width: 100%; height: 100%; object-fit: cover; }
.od-related-body { padding: 10px; }
.od-related-cat { font-size: 9px; color: #b89a5a; font-weight: 500; margin-bottom: 4px; }
.od-related-name { font-size: 11px; font-weight: 700; color: #333; line-height: 1.4; }

/* ==============================
   アーカイブ
============================== */
.od-archive-header { background: #faf5eb; padding: 32px 24px; }
.od-archive-header-inner { max-width: 1200px; margin: 0 auto; }
.od-archive-label { font-size: 10px; color: #b89a5a; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 6px; }
.od-archive-title { font-size: 26px; font-weight: 700; color: #2c2416; margin-bottom: 6px; }
.od-archive-count { font-size: 12px; color: #c8ae78; }
.od-archive-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.od-archive-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e8d8b0; text-decoration: none; display: block; transition: border-color 0.2s; }
.od-archive-card:hover { border-color: #b89a5a; }
.od-archive-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f5f0e8; }
.od-archive-card-img img { width: 100%; height: 100%; object-fit: cover; }
.od-archive-card-body { padding: 12px; }
.od-archive-card-cat { font-size: 9px; color: #b89a5a; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 6px; }
.od-archive-card-title { font-size: 13px; font-weight: 700; color: #333; line-height: 1.5; margin-bottom: 6px; }
.od-archive-card-date { font-size: 10px; color: #aaa; }

/* ページネーション */
.od-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.od-pagination a, .od-pagination span { display: inline-block; padding: 8px 14px; border-radius: 6px; font-size: 13px; text-decoration: none; border: 1px solid #e8d8b0; color: #444; background: #fff; }
.od-pagination a:hover { border-color: #b89a5a; color: #b89a5a; }
.od-pagination .current { background: #b89a5a; color: #fff; border-color: #b89a5a; }
.od-no-posts { background: #fff; border-radius: 10px; padding: 40px; text-align: center; color: #888; font-size: 14px; }

/* ==============================
   サイドバー
============================== */
.od-sidebar { display: flex; flex-direction: column; gap: 20px; }
.od-sidebar-widget { background: #fff; border-radius: 10px; padding: 18px; }
.od-sidebar-title { font-size: 13px; font-weight: 700; color: #2c2416; margin-bottom: 14px; border-left: 3px solid #b89a5a; padding-left: 8px; }
.od-sidebar-post { display: flex; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #e8d8b0; text-decoration: none; }
.od-sidebar-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.od-sidebar-post-img { width: 90px; aspect-ratio: 16/9; height: auto; border-radius: 6px; flex-shrink: 0; overflow: hidden; }
.od-sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.od-sidebar-post-title { font-size: 11px; font-weight: 700; color: #333; line-height: 1.5; }
.od-sidebar-post-cat { font-size: 9px; color: #b89a5a; margin-bottom: 4px; }
.od-sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.od-sidebar-tag { background: #faf5eb; border: 1px solid #b89a5a; border-radius: 20px; padding: 4px 12px; font-size: 11px; color: #b89a5a; text-decoration: none; }
.od-sidebar-tag:hover { background: #b89a5a; color: #fff; }
.od-sidebar-banner { display: block; border-radius: 8px; overflow: hidden; }
.od-sidebar-banner img { width: 100%; height: auto; display: block; }

/* ==============================
   目次（TOC）
============================== */
.toc {
  background: #fff;
  border: 1px solid #e8d8b0;
  border-radius: 10px;
  margin-bottom: 32px;
  overflow: hidden;
}
.toc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #2c2416;
  padding: 14px 18px;
  background: #faf5eb;
  border-bottom: 1px solid #e8d8b0;
  cursor: pointer;
}
.toc-title::before {
  content: '目次';
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: #b89a5a;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}
.toc-content {
  padding: 14px 18px;
}
.toc-content ol,
.toc-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-content li {
  font-size: 13px;
  margin-bottom: 4px;
}
.toc-content li a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #444;
  text-decoration: none;
  padding: 7px 4px;
  border-radius: 4px;
  transition: background 0.15s;
}
.toc-content li a:hover {
  background: #faf5eb;
  color: #b89a5a;
}
.toc-content li a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8ae78;
  flex-shrink: 0;
}
.toc-content li li {
  padding-left: 20px;
  margin-top: 4px;
}
.toc-content li li a::before {
  width: 4px;
  height: 4px;
  background: #d8c190;
}
.toc-content li li li {
  padding-left: 16px;
}
.toc-content li li li a {
  font-size: 12px;
  color: #888;
}
.toc-content li li li a::before {
  content: '–';
  width: auto;
  height: auto;
  background: none;
  color: #c8ae78;
  font-weight: 700;
}

/* Cocoon目次の上書き */
.toc-list > li > a {
  border-top: none !important;
  border-bottom: none !important;
  background: #fff !important;
  border-radius: 4px !important;
}
.toc-list > li > a:hover {
  background: #faf5eb !important;
  color: #b89a5a !important;
}
.toc-list li li > a {
  border: none !important;
}
.toc-content li a::before,
.toc-list li a::before {
  background: #c8ae78 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 5px !important;
  height: 5px !important;
}
.toc-list li li a::before {
  background: #d8c190 !important;
  width: 4px !important;
  height: 4px !important;
}

.toc-list > li > a {
  margin-bottom: 0.3em !important;
}

/* ==============================
   固定ページ
============================== */
.od-page-container { max-width: 800px; margin: 40px auto; padding: 0 24px 60px; }
.od-page-article { background: #fff; border-radius: 10px; overflow: hidden; padding: 40px; }
.od-page-title { font-size: 26px; font-weight: 700; color: #2c2416; line-height: 1.5; margin-bottom: 8px; }
.od-page-meta { font-size: 11px; color: #aaa; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e8d8b0; }

/* ==============================
   404ページ
============================== */
.od-404 { max-width: 600px; margin: 80px auto; padding: 24px; text-align: center; }
.od-404-num { font-size: 120px; font-weight: 700; color: #faf5eb; line-height: 1; margin-bottom: 8px; }
.od-404-title { font-size: 22px; font-weight: 700; color: #2c2416; margin-bottom: 12px; }
.od-404-desc { font-size: 14px; color: #c8ae78; line-height: 1.8; margin-bottom: 32px; }
.od-404-btn { display: inline-block; background: #b89a5a; color: #fff; font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 20px; text-decoration: none; margin: 6px; }
.od-404-btn:hover { background: #2c2416; }

/* ==============================
   フッター
============================== */
.od-footer { background: #2c2416; padding: 24px; color: #c8ae78; font-size: 14px; margin-top: 48px; width: 100%; }
.od-footer-inner { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* ==============================
   モバイル用フッターウィジェット
============================== */
.od-mobile-footer-widget { display: none; }

/* ==============================
   レスポンシブ
============================== */
@media (max-width: 900px) {
  .od-archive-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .od-hamburger { display: flex; }
  .od-nav { display: none; position: absolute; top: 90px; left: 0; right: 0; background: #fff; border-bottom: 2px solid #b89a5a; z-index: 200; padding: 16px 24px; }
  .od-nav.is-open { display: block; }
  .od-nav ul { flex-direction: column; gap: 0; }
  .od-nav ul li a { display: block; padding: 12px 0; border-bottom: 1px solid #e8d8b0; font-size: 14px; }
  .od-nav ul li ul { display: block; position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .od-nav ul li ul li a { padding: 8px 0; font-size: 13px; }

  .od-hero-slide { height: 320px !important; }
  .od-hero-text-fixed { bottom: 24px; left: 20px; right: 20px; }
  .od-hero-title { font-size: 28px !important; }

  .od-container { grid-template-columns: 1fr; padding: 16px; }
  .od-sidebar { display: none; }
  .od-post-nav { grid-template-columns: 1fr; }
  .od-related-grid { grid-template-columns: 1fr; }
  .od-archive-grid { grid-template-columns: 1fr 1fr; }
  .od-article-title { font-size: 18px; }
  .od-page-article { padding: 24px 20px; }
  .od-footer-inner { flex-direction: column; align-items: flex-start; }
  .od-footer-inner > div { text-align: left !important; }

  .od-feature { grid-template-columns: 1fr; }
  .od-cat-tabs { gap: 6px; }
  .od-cat-tab { min-width: 70px; padding: 10px 12px; }
  .od-sister-grid { grid-template-columns: 1fr; }

  .od-banner-grid-3 { grid-template-columns: 1fr; }
  .od-banner-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .od-banner-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .od-banner-grid-5 a:first-child { grid-column: 1 / -1; }

  .od-program-slide { grid-template-columns: 1fr; }

  .od-mobile-footer-widget {
    display: block;
    background: #fff;
    border-top: 1px solid #e8d8b0;
    padding: 24px 16px;
  }
  .od-mobile-footer-inner { display: flex; flex-direction: column; gap: 24px; }
  .od-mobile-section { display: flex; flex-direction: column; gap: 12px; }
}
