/* お気に入り年賀状：TOPページと同じ見た目を、全ページの標準にする */

/* ---- 背景：金の市松（全ページ） ---- */
body,body.custom-background{background-color:#fbf3e2!important;background-image:repeating-conic-gradient(rgba(201,162,39,.10) 0 25%,transparent 0 50%)!important;background-size:28px 28px!important;background-attachment:scroll!important;background-repeat:repeat!important}

/* ---- 上の赤い帯を細く（全ページ） ---- */
#header .tagline{display:none}
#header-in{min-height:0!important;padding:0!important}
#header .logo{padding:9px 16px!important;margin:0!important;line-height:1.3}
#header .site-name-text{font-size:17px!important;letter-spacing:.04em}
#header .logo a{padding:0!important}
@media (max-width:600px){#header .logo{padding:7px 10px!important}#header .site-name-text{font-size:14px!important}}

/* ---- 本文の白い面：上に金の線 ---- */
body:not(.page-id-11) #main{border-top:6px solid #c9a227;border-radius:4px;box-shadow:0 0 0 1px #f1e2b3,0 4px 18px rgba(120,60,0,.12)}
body:not(.page-id-11) #sidebar .widget,body:not(.page-id-11) .sidebar .widget{background:#fff;border:1px solid #e2c27a;border-radius:10px;padding:14px 16px}

/* ---- H2：明朝の見出し＋左右の飾り（TOPと同じ） ---- */
body:not(.page-id-11) .entry-content h2,
body:not(.page-id-11) .entry-content h2.has-background,
body:not(.page-id-11) .entry-content h2[class*="is-style-"]{background:none!important;background-color:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;color:#7a1414!important;text-align:center;padding:1.1em 150px .9em!important;font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;font-size:1.45em;line-height:1.45;letter-spacing:.06em;position:relative;margin-top:2.6em;text-wrap:balance;word-break:auto-phrase}
body:not(.page-id-11) .entry-content h2::before,
body:not(.page-id-11) .entry-content h2::after{content:"";position:absolute;top:50%;transform:translateY(-50%);width:150px;height:52px;margin:0;border:0!important;border-radius:0;box-shadow:none;background-color:transparent!important}
body:not(.page-id-11) .entry-content h2::before{left:0;right:auto;background:url(https://nenga.okiniiri.com/wp-content/uploads/2026/10/nenga-heading-ornament-left.webp) left center/contain no-repeat}
body:not(.page-id-11) .entry-content h2::after{right:0;left:auto;background:url(https://nenga.okiniiri.com/wp-content/uploads/2026/10/nenga-heading-ornament-right.webp) right center/contain no-repeat}
body:not(.page-id-11) .entry-content h2 + *{margin-top:.4em}
body:not(.page-id-11) .entry-content h2 .nenga-motif{display:none}
@media (max-width:600px){
  body:not(.page-id-11) .entry-content h2,
  body:not(.page-id-11) .entry-content h2.has-background,
  body:not(.page-id-11) .entry-content h2[class*="is-style-"]{padding:1em 56px .8em!important;font-size:1.15em}
  body:not(.page-id-11) .entry-content h2::before,body:not(.page-id-11) .entry-content h2::after{width:56px;height:30px}
}

/* ---- H3：赤い縦線＋薄い金のグラデーション（TOPと同じ） ---- */
body:not(.page-id-11) .entry-content h3,
body:not(.page-id-11) .entry-content h3.has-background{background:linear-gradient(90deg,#fff8ec,#fff 80%)!important;color:#111!important;border:1px solid #e53935!important;border-left:7px solid #d32f2f!important;border-bottom-color:#ecd9a8!important;border-radius:0!important;box-shadow:none!important;padding:12px 20px;text-wrap:balance;word-break:auto-phrase}
body:not(.page-id-11) .entry-content h3::before,body:not(.page-id-11) .entry-content h3::after{display:none}

/* ---- H4：金の点線の下線 ---- */
body:not(.page-id-11) .entry-content h4{background:none!important;border:0!important;border-bottom:1px dashed #d9b562!important;color:#7a1414;padding:0 0 .3em!important}

/* ---- 表：見出しはクリーム、1行おきに薄い色 ---- */
body:not(.page-id-11) .entry-content th{background:#fdf1dc!important;color:#3a2412!important}
body:not(.page-id-11) .entry-content td{background-color:#fff}
body:not(.page-id-11) .entry-content tr:nth-child(even) td{background:#fffaf2!important}
body:not(.page-id-11) .entry-content .is-style-stripes tbody tr:nth-child(odd) td{background:#fff!important}

/* ---- 箇条書き：梅の丸 ---- */
body:not(.page-id-11) .entry-content > ul.wp-block-list:not([class*="is-style-"]),
body:not(.page-id-11) .entry-content > .wp-block-group > .wp-block-group__inner-container > ul.wp-block-list:not([class*="is-style-"]){list-style:none;padding-left:.2em}
body:not(.page-id-11) .entry-content > ul.wp-block-list:not([class*="is-style-"]) > li,
body:not(.page-id-11) .entry-content > .wp-block-group > .wp-block-group__inner-container > ul.wp-block-list:not([class*="is-style-"]) > li{position:relative;padding-left:1.75em;list-style:none}
body:not(.page-id-11) .entry-content > ul.wp-block-list:not([class*="is-style-"]) > li::before,
body:not(.page-id-11) .entry-content > .wp-block-group > .wp-block-group__inner-container > ul.wp-block-list:not([class*="is-style-"]) > li::before{content:"";position:absolute;left:0;top:.28em;width:1.25em;height:1.25em;background:#fff url(https://nenga.okiniiri.com/wp-content/uploads/2026/10/nenga-motif-ume-150x150.webp) center/115% no-repeat;border-radius:50%;box-shadow:0 0 0 1px #ecd29a}

/* ---- 水平線：金の線＋ひし形 ---- */
body:not(.page-id-11) .entry-content hr,
body:not(.page-id-11) .entry-content hr.wp-block-separator{border:0!important;height:1px!important;background:linear-gradient(90deg,transparent,#c9a227 18%,#c9a227 82%,transparent)!important;opacity:1!important;position:relative;overflow:visible;margin:2.6em auto!important;max-width:none;width:100%}
body:not(.page-id-11) .entry-content hr::after{content:"";position:absolute;left:50%;top:-5px;width:11px;height:11px;margin-left:-5.5px;background:#c9a227;transform:rotate(45deg);box-shadow:0 0 0 3px #fff}

/* ---- 囲み：白い地＋金の細い線（TOPの文章の箱と同じ） ---- */
body:not(.page-id-11) .entry-content .has-box-style,
body:not(.page-id-11) .entry-content [class*="is-style-information-box"],
body:not(.page-id-11) .entry-content [class*="is-style-border-radius-s-"],
body:not(.page-id-11) .entry-content .is-style-border-left-box,
body:not(.page-id-11) .entry-content .is-style-stitch-box,
body:not(.page-id-11) .entry-content .blank-box,
body:not(.page-id-11) .entry-content .information-box,
body:not(.page-id-11) .entry-content .information,
body:not(.page-id-11) .entry-content .memo-box,
body:not(.page-id-11) .entry-content .nenga-textbox,
body:not(.page-id-11) .entry-content .ny-related,
body:not(.page-id-11) .entry-content .ny-favorite-box{background:#fff!important;border:1px solid #e2c27a!important;border-radius:10px!important;padding:18px 24px!important;box-shadow:0 1px 4px rgba(150,90,0,.06)!important;color:#333;margin-bottom:1.6em}
body:not(.page-id-11) .entry-content [class*="is-style-information-box"]::before,
body:not(.page-id-11) .entry-content .information-box::before{color:#c9a227!important}
body:not(.page-id-11) .entry-content [class*="is-style-sticky-"],
body:not(.page-id-11) .entry-content .is-style-border-left-box{background:#fffaf1!important;border:1px solid #ecd29a!important;border-left:5px solid #c9a227!important;border-radius:8px!important}
body:not(.page-id-11) .entry-content .nenga-textbox p:last-child,body:not(.page-id-11) .entry-content .has-box-style > :last-child{margin-bottom:0}
@media (max-width:600px){
  body:not(.page-id-11) .entry-content .has-box-style,
  body:not(.page-id-11) .entry-content [class*="is-style-information-box"],
  body:not(.page-id-11) .entry-content [class*="is-style-border-radius-s-"],
  body:not(.page-id-11) .entry-content .nenga-textbox,
  body:not(.page-id-11) .entry-content .ny-related,
  body:not(.page-id-11) .entry-content .ny-favorite-box{padding:14px 14px!important}
}

/* ---- 引用 ---- */
body:not(.page-id-11) .entry-content blockquote{background:#fffaf1!important;border:1px solid #ecd29a!important;border-left:5px solid #c9a227!important;border-radius:8px;padding:18px 24px!important}
body:not(.page-id-11) .entry-content blockquote::before,body:not(.page-id-11) .entry-content blockquote::after{color:#c9a227!important}

/* ---- 目次：金の枠 ---- */
body:not(.page-id-11) .toc{background:#fffdf8!important;border:1px solid #e2c27a!important;border-radius:12px;box-shadow:inset 0 0 0 1px #fff,0 2px 8px rgba(150,90,0,.08)}
body:not(.page-id-11) .toc-title{font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;font-weight:700;color:#7a1414;letter-spacing:.08em}
body:not(.page-id-11) .toc a{color:#3a2412}
body:not(.page-id-11) .toc a:hover{color:#b71c1c}

/* ---- ボタン：TOPと同じ赤い立体ボタン ---- */
body:not(.page-id-11) .entry-content .btn-wrap > a,
body:not(.page-id-11) .entry-content .btn-wrap.btn-wrap-block > a{background:linear-gradient(180deg,#f0544f 0%,#d32f2f 55%,#b71c1c 100%)!important;color:#fff!important;border:1px solid #9a1515!important;border-bottom-width:4px!important;border-radius:999px!important;box-shadow:0 3px 6px rgba(120,20,20,.3),inset 0 1px 0 rgba(255,255,255,.45)!important;text-shadow:0 1px 0 rgba(0,0,0,.25);font-weight:700;font-size:17px!important;line-height:1.5;padding:.85em 1.6em .8em!important;text-decoration:none!important;transition:transform .08s,border-bottom-width .08s}
body:not(.page-id-11) .entry-content .btn-wrap > a::after{content:" \203A"}
body:not(.page-id-11) .entry-content .btn-wrap > a:hover{filter:brightness(1.07);opacity:1}
body:not(.page-id-11) .entry-content .btn-wrap > a:active{transform:translateY(3px);border-bottom-width:1px!important}
body:not(.page-id-11) .entry-content .btn-wrap.has-background{background:none!important}
@media (max-width:600px){body:not(.page-id-11) .entry-content .btn-wrap > a{font-size:15px!important;padding:.8em 1.1em .75em!important}}

/* ---- アイキャッチと画像 ---- */
body:not(.page-id-11) .eye-catch img{border-radius:8px}

/* ---- 記事の下：関連記事などの見出し ---- */
body:not(.page-id-11) .related-entry-heading,
body:not(.page-id-11) .comment-title,
body:not(.page-id-11) .sns-share-message{font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;color:#7a1414;text-align:center}
body:not(.page-id-11) .related-entry-heading{position:relative;padding-bottom:.4em}
body:not(.page-id-11) .related-entry-heading::after{content:"";display:block;width:120px;height:1px;margin:.4em auto 0;background:linear-gradient(90deg,transparent,#c9a227,transparent)}

/* ---- リンクの色 ---- */
body:not(.page-id-11) .entry-content a:not(.btn):not([class*="nenga-"]):not([class*="ndc-"]){color:#9a1c1c}

/* 情報ボックスなど、左にアイコンがある囲みは左の余白を広く */
body:not(.page-id-11) .entry-content [class*="is-style-information-box"],
body:not(.page-id-11) .entry-content [class*="is-style-question-box"],
body:not(.page-id-11) .entry-content [class*="is-style-alert-box"],
body:not(.page-id-11) .entry-content .information-box,
body:not(.page-id-11) .entry-content .question-box,
body:not(.page-id-11) .entry-content .alert-box{padding-left:3.6em!important;position:relative}

/* ---- 文章のまとまり：金の細い線の箱（TOPと同じ。表示のときに自動で囲む） ---- */
body:not(.page-id-11) .entry-content .nenga-textbox{padding:18px 24px 6px!important;margin:0 0 1.6em}
body:not(.page-id-11) .entry-content .nenga-textbox p,
body:not(.page-id-11) .entry-content .nenga-textbox li{font-size:16px;line-height:1.85}
body:not(.page-id-11) .entry-content .nenga-textbox p{margin:0 0 1em}
body:not(.page-id-11) .entry-content .nenga-textbox ul,
body:not(.page-id-11) .entry-content .nenga-textbox ol{margin:0 0 1em}
body:not(.page-id-11) .entry-content .nenga-textbox li{margin:0 0 .35em}
body:not(.page-id-11) .entry-content .nenga-textbox > ul.wp-block-list:not([class*="is-style-"]){list-style:none;padding-left:.2em}
body:not(.page-id-11) .entry-content .nenga-textbox > ul.wp-block-list:not([class*="is-style-"]) > li{position:relative;padding-left:1.75em;list-style:none}
body:not(.page-id-11) .entry-content .nenga-textbox > ul.wp-block-list:not([class*="is-style-"]) > li::before{content:"";position:absolute;left:0;top:.28em;width:1.25em;height:1.25em;background:#fff url(https://nenga.okiniiri.com/wp-content/uploads/2026/10/nenga-motif-ume-150x150.webp) center/115% no-repeat;border-radius:50%;box-shadow:0 0 0 1px #ecd29a}
body:not(.page-id-11) .entry-content h2 + .nenga-textbox{margin-top:.6em}
@media (max-width:600px){
  body:not(.page-id-11) .entry-content .nenga-textbox{padding:14px 14px 4px!important}
  body:not(.page-id-11) .entry-content .nenga-textbox p,
  body:not(.page-id-11) .entry-content .nenga-textbox li{font-size:15px}
}
