@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
*//* ==============================================
   辞書型サイト用：Cocoonスタイルを維持しつつ見出し等をシンプルに
   ============================================== */

/* メタ情報セクション（Cocoonのボックススタイルを継承） */
.dictionary-metadata,
.dictionary-taxonomies,
.dictionary-facets {
    padding: 1em;
    margin-bottom: 2em;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fafafa;
    font-size: 1em;
}

/* 見出し（シンプルに） */
.dictionary-metadata h3 {
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: none;
    margin: 0 0 0.5em;
    color: #333;
}

/* 分類リンク（控えめな青） */
.dictionary-taxonomies a,
.dictionary-facets a {
    color: #0073aa;
    text-decoration: none;
    font-size: 0.95em;
    margin-right: 0.5em;
}

.dictionary-taxonomies a:hover,
.dictionary-facets a:hover {
    text-decoration: underline;
    color: #005177;
}

/* 補足情報（小さめ・グレー） */
.source-citation,
.last-reviewed {
    font-size: 0.85em;
    color: #666;
    margin-top: 1em;
}

/* 関連用語リスト（シンプルなリスト） */
.related-terms-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.related-terms-list li {
    margin-bottom: 0.5em;
}
/* Cocoonのレイアウトを強制的に横並びにする */
#main {
  display: flex;
  flex-wrap: nowrap;
}

#main .main {
  flex: 1;
  min-width: 0;
}

#main .sidebar {
  width: 300px;
  flex-shrink: 0;
}
/* ==============================================
   サイドバーの位置調整（Cocoonレイアウト補正）
   ============================================== */
#main {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start; /* 上揃えにする */
  gap: 2em; /* コンテンツとサイドバーの間に余白 */
}

#main .main {
  flex: 1;
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
}

#main .sidebar {
  width: 280px;
  flex-shrink: 0;
  margin-top: 0 !important;
}
``