@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/

/* ============================================================
   おかえり！デザインシステム
   カラーパレット
   --cream:    #faf8f3  ページ背景
   --warm:     #fffdf9  カード・ボックス背景
   --sage:     #eef3ea  薄いグリーン背景
   --herb:     #9dba8e  グリーン（明）
   --herb-dark:#5f8a52  グリーン（暗）見出しアクセントなど
   --earth:    #9a6e4e  茶色・ヘッダー
   --deep:     #3a2a1e  テキスト濃色
   --blush:    #d4826a  アクセント（サーモンピンク）
   --sun:      #f0c060  イエロー・ラベル
   --border:   #e2d6c8  ボーダー
   --text-l:   #8a7060  テキスト薄色
   ============================================================ */

/* ------------------------------------------------------------
   Google Fonts
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500&display=swap');


/* ------------------------------------------------------------
   ベース
   ------------------------------------------------------------ */
body {
  background-color: #faf8f3;
  color: #3a2a1e;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.9;
}

a {
  color: #5f8a52;
  transition: color 0.2s;
}

a:hover {
  color: #d4826a;
  text-decoration: underline;
}


/* ------------------------------------------------------------
   ヘッダー
   ------------------------------------------------------------ */
#header,
.header-inner,
#site-header {
  background-color: #fff8ee !important;
  border-bottom: 2px solid #f0c060 !important;
}

#logo a,
.site-name-text,
#site-name {
  font-family: 'Noto Serif JP', serif !important;
  color: #9a6e4e !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.tagline,
#site-description,
.site-description {
  color: #8a7060 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em;
}

/* ナビゲーション */
.desktop-nav li a,
#nav li a,
.global-nav li a {
  color: #8a7060 !important;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.desktop-nav li a:hover,
#nav li a:hover,
.global-nav li a:hover {
  color: #d4826a !important;
}





/* ------------------------------------------------------------
   本文・段落
   ------------------------------------------------------------ */
.entry-content p {
  color: #3a2a1e;
  line-height: 1.9;
  margin-bottom: 1.2em;
}

.entry-content strong {
  color: #9a6e4e;
}

.entry-content blockquote {
  border-left: 3px solid #e2d6c8;
  background: #fffdf9;
  padding: 14px 18px;
  color: #8a7060;
  font-style: normal;
}


/* ------------------------------------------------------------
   テーブル
   ------------------------------------------------------------ */
.entry-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.entry-content th {
  background: #9a6e4e;
  color: #fff;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.entry-content td {
  padding: 9px 14px;
  border-bottom: 1px solid #e2d6c8;
  vertical-align: top;
  font-size: 14px;
  word-break: break-all;
  border-right: 1px solid #e2d6c8;
}

.entry-content tr:nth-child(even) td {
  background: #fffdf9;
}


/* ------------------------------------------------------------
   ボックス類（既存クラスを新カラーに上書き）
   ------------------------------------------------------------ */

/* information-box → ポイントボックス */
.information-box,
.information {
  background: #fffdf9;
  border: 1px solid #e2d6c8;
  border-radius: 4px;
}

.information-box::before,
.information::before {
  color: #5f8a52;
  border-right-color: #e2d6c8;
}

/* memo-box → ヒントボックス */
.memo-box {
  background: #f6faf4;
  border: 1px solid #c8dcc2;
}

.memo-box::before {
  color: #5f8a52;
  border-right-color: #c8dcc2;
}

/* alertcocoon → 注意ボックス */
.alertcocoon-box,
.alertcocoon {
  background: #fef7f4;
  border: 1px solid #eacabb;
}

.alertcocoon-box::before,
.alertcocoon::before {
  color: #d4826a;
  border-right-color: #eacabb;
}

/* question-box */
.question-box,
.question {
  background: #fff8ee;
  border: 1px solid #f0c060;
}

.question-box::before,
.question::before {
  color: #f0c060;
  border-right-color: #f0c060;
}

/* ok-box */
.ok-box {
  background: #f6faf4;
  border: 1px solid #9dba8e;
}

.ok-box::before {
  color: #5f8a52;
  border-right-color: #9dba8e;
}

/* ng-box */
.ng-box {
  background: #fef7f4;
  border: 1px solid #d4826a;
}

.ng-box::before {
  color: #d4826a;
  border-right-color: #d4826a;
}


/* ------------------------------------------------------------
   .kkr（あわせて読みたい）
   ------------------------------------------------------------ */
.kkr {
  border: 2px solid #9a6e4e;
  background-color: #fffdf9;
}

.kkr::before {
  background-color: #9a6e4e;
  color: #fff;
}

.kkr::after {
  background-color: #9a6e4e;
  color: #fff;
}

.kkr ul li:before {
  color: #9a6e4e;
}


/* ------------------------------------------------------------
   .ya（矢印アイコン）→ CSSで再現
   ------------------------------------------------------------ */
.ya {
  padding: 12px 20px 12px 52px;
  background: none;
  font-weight: bold;
  margin: 40px 0 !important;
  position: relative;
  border-left: 4px solid #5f8a52;
  background-color: #f6faf4;
}

.ya::before {
  content: '▶';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #5f8a52;
}


/* ------------------------------------------------------------
   .attention（要注意）→ CSSで再現
   ------------------------------------------------------------ */
.attention {
  margin: 40px 0 !important;
  padding: 20px 20px 20px 60px !important;
  border: 2px solid #d4826a;
  background: #fef7f4;
  box-shadow: none;
  color: #3a2a1e;
  line-height: 1.9;
  position: relative;
}

.attention::before {
  content: '！';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 700;
  color: #d4826a;
  line-height: 1;
}

.attention p {
  margin: 0;
  text-shadow: none;
}

.attention-title,
.attention-title-new {
  font-size: 115%;
  font-weight: bold;
  color: #d4826a;
  text-shadow: none;
  margin: 0 0 8px;
}


/* ------------------------------------------------------------
   バッジ・ラベル
   ------------------------------------------------------------ */
.badge,
.ref,
.reffer,
.sankou {
  background-color: #5f8a52;
}

.badge-red    { background-color: #d4826a; }
.badge-green  { background-color: #5f8a52; }
.badge-yellow { background-color: #f0c060; color: #3a2a1e; }
.badge-brown  { background-color: #9a6e4e; }

.cat-label {
  background-color: rgba(95, 138, 82, 0.75);
}


/* ------------------------------------------------------------
   ボタン
   ------------------------------------------------------------ */
.btn,
.ranking-item-link-buttons a,
.btn-wrap > a,
.wp-block-freeform .btn-wrap > a {
  background-color: #5f8a52;
  border-color: #5f8a52;
  color: #fff;
  border-radius: 4px;
}

.btn:hover,
.btn-wrap > a:hover {
  background-color: #9a6e4e;
  border-color: #9a6e4e;
  color: #fff;
}

.btn-red    { background-color: #d4826a !important; border-color: #d4826a !important; }
.btn-green  { background-color: #5f8a52 !important; border-color: #5f8a52 !important; }
.btn-orange { background-color: #f0c060 !important; border-color: #f0c060 !important; color: #3a2a1e !important; }


/* ------------------------------------------------------------
   blank-box（タブ付きボックス）カラー調整
   ------------------------------------------------------------ */
.blank-box {
  border-color: #e2d6c8;
}

.blank-box.bb-yellow { border-color: #f0c060; }
.blank-box.bb-red    { border-color: #d4826a; }
.blank-box.bb-green  { border-color: #5f8a52; }

.blank-box.bb-tab::before        { background-color: #8a7060; }
.blank-box.bb-tab.bb-yellow::before { background-color: #f0c060; color: #3a2a1e; }
.blank-box.bb-tab.bb-red::before    { background-color: #d4826a; }
.blank-box.bb-tab.bb-green::before  { background-color: #5f8a52; }

.blank-box.sticky               { border-color: #8a7060; background-color: #fffdf9; }
.blank-box.sticky.st-yellow     { border-color: #f0c060; background-color: #fff8ee; }
.blank-box.sticky.st-red        { border-color: #d4826a; background-color: #fef7f4; }
.blank-box.sticky.st-green      { border-color: #5f8a52; background-color: #f6faf4; }


/* ------------------------------------------------------------
   .matome（まとめボックス）
   ------------------------------------------------------------ */
.matome {
  background-color: #eef3ea;
  border-left: 4px solid #5f8a52;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: bold;
  margin: 40px 0 20px;
  color: #3a2a1e;
}


/* ------------------------------------------------------------
   サイドバー
   ------------------------------------------------------------ */
.widget-title,
.sidebar .widget-title {
  font-family: 'Noto Serif JP', serif;
  color: #9a6e4e;
  border-bottom: 2px solid #e2d6c8;
  padding-bottom: 6px;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #5f8a52;
}


/* ------------------------------------------------------------
   フッター
   ------------------------------------------------------------ */
#footer,
.footer-inner {
  background-color: #3a2a1e !important;
  color: rgba(255,255,255,0.75) !important;
}

#footer a,
.footer-inner a {
  color: #9dba8e !important;
}

#footer a:hover,
.footer-inner a:hover {
  color: #f0c060 !important;
}

.copyright {
  color: rgba(255,255,255,0.5) !important;
  font-size: 12px;
}


/* ------------------------------------------------------------
   カテゴリーラベル・タグ
   ------------------------------------------------------------ */
.cat-links a,
.tag-links a {
  background: #eef3ea;
  color: #5f8a52;
  border: 1px solid #c8dcc2;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  text-decoration: none;
}

.cat-links a:hover,
.tag-links a:hover {
  background: #5f8a52;
  color: #fff;
}


/* ------------------------------------------------------------
   ページネーション
   ------------------------------------------------------------ */
.pagination .current,
.page-numbers.current {
  background: #5f8a52;
  color: #fff;
  border-color: #5f8a52;
}

.pagination a,
.page-numbers a {
  color: #5f8a52;
  border-color: #e2d6c8;
}

.pagination a:hover,
.page-numbers a:hover {
  background: #eef3ea;
}


/* ------------------------------------------------------------
   その他の既存カスタムクラス（色調整のみ）
   ------------------------------------------------------------ */
.photocap {
  font-size: 95%;
  color: #9a6e4e;
  margin-top: -0.5em;
}

.bq {
  background: #fffdf9;
  border: none;
  border-left: 4px solid #e2d6c8;
  margin: 2em 0 2em 2em;
  overflow: auto;
  padding: 0 0 10px 12px;
}

hr.style-six {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


/* ------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------ */
@media (max-width: 800px) {
  .entry-content h2 {
    font-size: 18px;
  }

  .entry-content h3 {
    font-size: 16px;
  }

  #logo a,
  .site-name-text {
    font-size: 18px !important;
  }
}





#widgets-editor .box8,
.block-editor .box8,
.editor-styles-wrapper .box8 {
  border-left-color: #9a6e4e !important;
  background: #fffdf9 !important;
  color: #3a2a1e !important;
}