@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（まるっと。Creative 日本館専用版）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.4
*/

/* ====================================
   1. 基本設定・各種ラベル
   ==================================== */
.setting, .setting_g, .reference {
    color: #FFFFFF;
    font-size: 80%;
    padding: 2px 4px 1px;
    border-radius: 2px;
    text-align: center;
    margin-right: 8px;
    vertical-align: 1px;
}
.setting_g { background-color: green; }
.setting { background-color: #1e73be; }
.reference { background-color: #ea5506; }

.cat-label { display: none !important; }

/* PRラベル */
.widget .custom-pr-label,
.entry-content .custom-pr-label {
    display: block;
    text-align: right;
    margin-bottom: 5px;
    line-height: 1;
}
.widget .custom-pr-label span,
.entry-content .custom-pr-label span {
    display: inline-block;
    font-size: 11px;
    color: #773c30;
    background-color: #fcf8f7;
    border: 1px solid #d7a69c;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: normal;
}

/* ====================================
   2. サイト全体・レイアウト・タイポグラフィ
   ==================================== */
/* メインコンテンツとサイドバーの全体背景色 */
#content #main,
#content #main .article,
#content #sidebar,
#content #sidebar .widget,
#content #sidebar .sidebar-menu-content {
    background-color: #f8f8f3;
}

/* 個別投稿ページの器（シルキーホワイト化） */
body.single-post #container #content #main article.article {
    background-color: #fcfcf9;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(168, 177, 184, 0.06);
    border: none;
}
@media screen and (max-width: 834px) {
    body.single-post #container #content #main article.article {
        padding: 30px 20px;
    }
}

/* 記事本文の段落余白調整 */
.entry-content p {
    margin-bottom: 1em;
}

/* ヘッダーのサイトタイトル（テキスト）非表示 */
#header .logo-header {
    display: none;
}

/* モバイル用サイトタイトルフォント */
body .site-name-text,
body .site-logo-text,
body .logo-menu-button,
body .logo-menu-button a,
body .logo-menu-button .logo-text,
body .mobile-menu-buttons .logo-menu-button,
body .mobile-menu-buttons .logo-menu-button a {
    font-family: "Montserrat", "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0;
    line-height: 1.3;
    color: #349f87;
}

/* アイキャッチ画像：枠線・影・余白 */
.eye-catch img {
    box-shadow: 0 0 0 1px #ccc, 0 2px 5px rgba(0, 0, 0, 0.1);
}
.page .eye-catch-wrap {
    margin-top: 20px;
}

/* ====================================
   3. 見出し（H2・H3）デザイン
   ==================================== */
/* H2：巨大数字自動ナンバリング（統合決定版） */
#container #content #main .article {
    counter-reset: stmn-h2-counter;
}
#container #content #main .article h2 {
    position: relative;
    font-size: 20px;
    color: #333333;
    font-weight: 600;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 45px 0 15px 10px;
    margin: 60px 0 30px 0;
    letter-spacing: 0.05em;
}
#container #content #main .article h2::before {
    counter-increment: stmn-h2-counter;
    content: counter(stmn-h2-counter, decimal-leading-zero);
    font-family: 'Montserrat', sans-serif;
    font-size: 76px;
    font-weight: 600;
    font-style: italic;
    color: #d7dfc9;
    position: absolute;
    left: 0;
    top: 10px;
    z-index: 1;
    line-height: 1;
    display: block;
}
#container #content #main .article h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #d7dfc9;
    bottom: 2px;
    z-index: 2;
    display: block;
}
#container #content #main .article h2 span,
#container #content #main .article h2 a {
    position: relative;
    z-index: 3;
}

/* H3：角丸縦線デザイン */
#container #content #main .article h3 {
    font-size: 18px;
    color: #333333;
    font-weight: 600;
    position: relative;
    padding: 2px 0 2px 20px;
    margin: 40px 0 20px 0;
    background: transparent;
    border: none;
}
#container #content #main .article h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #91a769;
    border-radius: 3px;
    display: block;
}

/* ====================================
   4. 本文内リスト装飾（ul / ol）
   ==================================== */
/* 箇条書きリスト（ul）：ポッチのカラー化 */
#container #content #main .article ul:not(.toc-list):not(.circle_b):not(.circle_g):not(.circle_r) {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}
#container #content #main .article ul:not(.toc-list):not(.circle_b):not(.circle_g):not(.circle_r) li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #333333;
}
#container #content #main .article ul:not(.toc-list):not(.circle_b):not(.circle_g):not(.circle_r) li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background-color: #91a769;
    border-radius: 50%;
    display: block;
}

/* 通常連番リスト（ol）：斜体ドット数字（目次・STEP・丸数字は除外） */
.entry-content > ol:not(.custom-step-list):not(.circle_b):not(.circle_g):not(.circle_r),
.entry-content div:not([class*="toc"]):not(.toc) > ol:not(.custom-step-list):not(.circle_b):not(.circle_g):not(.circle_r) {
    counter-reset: li;
    list-style: none;
    padding-left: 0;
}
.entry-content > ol:not(.custom-step-list):not(.circle_b):not(.circle_g):not(.circle_r) > li,
.entry-content div:not([class*="toc"]):not(.toc) > ol:not(.custom-step-list):not(.circle_b):not(.circle_g):not(.circle_r) > li {
    position: relative;
    padding-left: 1.8em;
    line-height: 1.6;
    margin-bottom: 0.5em;
}
.entry-content > ol:not(.custom-step-list):not(.circle_b):not(.circle_g):not(.circle_r) > li::before,
.entry-content div:not([class*="toc"]):not(.toc) > ol:not(.custom-step-list):not(.circle_b):not(.circle_g):not(.circle_r) > li::before {
    counter-increment: li;
    content: counter(li) ".";
    color: #333333;
    position: absolute;
    left: 0;
    top: 0;
    font-style: italic;
    font-size: 1.1em;
    text-align: right;
    width: 1.2em;
}

/* 目次（.toc）の中のol/liはCocoonデフォルトを維持 */
.entry-content .toc ol,
.entry-content [class*="toc"] ol {
    list-style: decimal;
    padding-left: 20px;
}
.entry-content .toc ol li,
.entry-content [class*="toc"] ol li {
    position: static;
    padding-left: 0;
}

/* 旧Luxe資産：丸数字リスト（青・緑・赤） */
#main .entry-content ol.circle_b, 
#main .entry-content ol.circle_g, 
#main .entry-content ol.circle_r {
    counter-reset: li;
    padding-left: 0;
    margin: 0;
}
#main .entry-content ol.circle_b li, 
#main .entry-content ol.circle_g li, 
#main .entry-content ol.circle_r li {
    list-style: none;
    position: relative;
    padding-left: 2.3rem; 
    line-height: 2.2rem;
    margin-bottom: 8px;
}
#main .entry-content ol.circle_b li:last-child, 
#main .entry-content ol.circle_g li:last-child, 
#main .entry-content ol.circle_r li:last-child {
    margin-bottom: 0;
}
#main .entry-content div:not(.toc) > ol.circle_b > li::before,
#main .entry-content div:not(.toc) > ol.circle_g > li::before,
#main .entry-content div:not(.toc) > ol.circle_r > li::before {
    counter-increment: li;
    content: counter(li);
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    width: 1.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Arial', sans-serif;
    font-size: 0.75em;
    font-weight: normal;
    font-style: normal;
}
#main .entry-content ol.circle_b li::before { background: #1e73be; }
#main .entry-content ol.circle_g li::before { background: green; }
#main .entry-content ol.circle_r li::before { background: #e42527; }

/* STEPリスト（極細破線＆大丸数字） */
ol.custom-step-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    counter-reset: step-counter;
}
ol.custom-step-list > li {
    position: relative;
    padding-left: 70px;
    padding-bottom: 40px;
    margin-bottom: 0;
}
ol.custom-step-list > li::before {
    counter-increment: step-counter;
    content: "STEP\A " counter(step-counter);
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    font-size: 11px;
    line-height: 1.2;
    background-color: #91a769;
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: pre-line;
}
ol.custom-step-list > li::after {
    content: "";
    position: absolute;
    left: 22px; 
    top: 50px;
    bottom: -10px;
    width: 1px;
    background-image: linear-gradient(to bottom, #cccccc 50%, rgba(255,255,255,0) 50%);
    background-size: 1px 4px;
    background-repeat: repeat-y;
    z-index: 1;
}
ol.custom-step-list > li:last-child::after { display: none; }
ol.custom-step-list > li:last-child { padding-bottom: 0; }

.step-num-red, .step-num-green, .step-num-blue {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    color: #ffffff;
    font-size: 14px;
    border-radius: 50%;
    margin: 0 4px;
    vertical-align: middle;
}
.step-num-red { background-color: #e53935; }
.step-num-green { background-color: #1db333; }
.step-num-blue { background-color: #0d6cbf; }

/* ====================================
   5. ボックス・囲み枠・装飾コンポーネント
   ==================================== */
/* インフォボックス（Cocoon標準アイコンiマーク完全消去ハック） */
#container #content #main .article .info-box.information::before {
    content: none;
    display: none;
}
#container #content #main .article .info-box.information {
    padding-left: 20px;
}
.info-box.information {
    background-color: rgba(108, 166, 205, 0.08);
    border: 1px solid #6ca6cd;
    border-radius: 4px;
    margin: 15px 0 25px;
    padding: 10px 20px;
    font-size: 0.97em;
    line-height: 1.8;
}
.info-box.notice {
    background-color: rgba(251, 240, 208, 0.15);
    border: 1px solid #daa496;
    border-radius: 4px;
    margin: 15px 0 25px;
    padding: 15px 20px;
    font-size: 0.97em;
    line-height: 1.8;
}

/* タイトル付き枠（ECS / Red / Orange） */
.ecs-box, .red-box, .orange-box {
    position: relative;
    margin: 25px auto 20px;
    padding: 20px;
    border-radius: 5px;
    background-color: #ffffff;
}
.ecs-box-title, .red-box-title, .orange-box-title {
    position: absolute;
    padding: 0 10px;
    left: 15px;
    top: -12px;
    font-weight: bold;
    background-color: #ffffff;
    font-size: 110%;
}
.ecs-box { border: 2px solid #1e73be; }
.ecs-box-title { color: #1e73be; }
.red-box { border: 2px solid #e42527; }
.red-box-title { color: #e42527; }
.orange-box { border: 2px solid #ea5506; }
.orange-box-title { color: #ea5506; }

/* 汎用ブランクボックス・カラー調整 */
.blank-box { border-width: 2px; }
.blank-box.bb-red { border-color: #f25125; }
.blank-box img.alignnone {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
    display: inline-block;
    vertical-align: top;
}
.primary-box {
    background-color: #666464;
    color: #fff;
}

/* 引用枠（blockquote） */
#container #content #main .article blockquote {
    position: relative;
    padding: 25px 30px 25px 55px;
    border: 1px solid #bfbab2;
    background-color: #f9f8f8;
    border-radius: 6px;
    margin: 30px 0;
}
#container #content #main .article blockquote::before {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 18px;
    color: #d1dadf;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 26px;
    line-height: 1;
    content: "\f10d";
}
#container #content #main .article blockquote::after { content: none; }
#container #content #main .article blockquote ul {
    margin-top: 10px;
    margin-bottom: 0;
}
#container #content #main .article blockquote ul li:last-child {
    margin-bottom: 0;
}

/* 完全自作型・丸アイコン付き手順ボックス（stmn-step-box） */
#container #content #main .article .stmn-step-box {
    position: relative;
    border: 1px solid #349f87;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 45px 25px 20px 25px;
    margin: 50px 0;
}
#container #content #main .article .stmn-step-box .stmn-step-badge {
    position: absolute;
    top: -16px;
    left: 16px;
    width: 32px;
    height: 32px;
    background-color: #349f87;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(168, 177, 184, 0.15); 
}
#container #content #main .article .stmn-step-box .stmn-step-badge::before {
    content: "\f406";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    font-size: 13px;
}
#container #content #main .article .stmn-step-box .stmn-step-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}
#container #content #main .article .stmn-step-box .stmn-step-content ol > li {
    font-style: normal;
    font-size: 15px;
    color: #333333;
    border-bottom: 1px dashed #349f87;
    padding: 0 0 15px 5px;
    margin: 0 0 20px 0;
}
#container #content #main .article .stmn-step-box .stmn-step-content ol > li::before {
    content: none;
    display: none;
}
#container #content #main .article .stmn-step-box .stmn-step-content ol > li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
#container #content #main .article .stmn-step-box .stmn-step-content ol > li p {
    font-size: 13px;
    color: #666666;
    line-height: 1.7;
    margin: 10px 0 0 0;
    padding-left: 0;
}

/* 文字装飾 */
.dotn {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #0068b7;
    font-weight: bold;
}
.marker {
    background-color: #ffff00;
    padding: 0 2px;
    border-radius: 3px;
}
.pink_line { background: linear-gradient(transparent 60%, #ffc0cb 40%); }
.yellow_line { background: linear-gradient(transparent 60%, #febb00 40%); }
.green { color: #008000; }
.red { color: #ff0000; }
.blue { color: #217db9; }

/* 過去記事サイズ適正化 */
span.x2 { font-size: 1.2em !important; display: inline !important; }
span.x3 { font-size: 1.5em !important; display: inline !important; }

/* バージョン表記ラベル */
.ver3 {
    box-sizing: border-box;
    border: 2px solid green;
    border-radius: 5px;
    padding: 3px 10px;
    color: green;
    text-align: center;
    display: inline-block;
    font-weight: bold;
}

/* ====================================
   6. ブログカード・言語切り替え・コードブロック
   ==================================== */
/* 広告ラベル付きブログカード */
.pr-card {
    text-align: left;
    display: flex;
    justify-content: flex-start;
}
.pr-card .blogcard { position: relative; }
.pr-card .blogcard::before {
    content: "広告";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 10px;
    padding: 4px 5px;
    border-radius: 3px;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

/* 言語切り替えリンクボックス */
.global-lang-link-box {
    text-align: right;
    margin: 10px 0;
    background: none;
    border: none;
    padding: 0;
}
.global-lang-link-box p {
    margin: 0;
    font-size: 0.8em;
    color: #666;
    display: inline-block;
    background: #f7f7f7;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}
.global-lang-link-box a {
    font-weight: normal;
    color: #0066cc;
    text-decoration: none;
}
.global-lang-link-box a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* コードブロック（行番号なし・Gemini風最上段ヘッダー固定） */
pre.wp-block-code,
pre[class*="language-"],
.entry-content pre {
    position: relative;
    padding: 0;
    padding-top: 38px;
    margin-top: 25px;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 0.9em;
}
pre.wp-block-code::before,
pre[class*="language-"]::before,
.entry-content pre::before {
    content: "CODE";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    background-color: #000000;
    color: #888888;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    padding-left: 16px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 5;
    border-bottom: none;
}
pre.wp-block-code code,
pre[class*="language-"] code,
.entry-content pre code {
    display: block;
    overflow-x: auto;
    padding: 18px 24px;
    box-sizing: border-box;
    font-size: 0.9em;
}
.custom-copy-btn {
    position: absolute;
    top: 3px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    background-color: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
    z-index: 10;
    padding: 0;
}
.custom-copy-btn:hover { opacity: 1; color: #ffffff; }
.custom-copy-btn.copied { color: #2ecc71; }

/* 漆黒アコーディオン（CODE一体型） */
.custom-accordion { width: 100%; margin: 20px 0; }
.custom-accordion dt {
    padding: 7px 16px;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;
    background-color: #000000;
    border: 1px solid #444444;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}
.custom-accordion dt:hover { background-color: #444444; }
.custom-accordion dt::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0fe";
    margin-right: 10px;
    font-size: 1rem;
    line-height: 1;
    color: #fff;
}
.custom-accordion dt::after { content: "コードを見る"; }
.custom-accordion dt.active { border-bottom: none; background-color: #000000; }
.custom-accordion dt.active::before { content: "\f146"; }
.custom-accordion dt.active::after { content: "コードを閉じる"; }
.custom-accordion dd {
    display: none;
    margin: 0;
    padding: 0;
    background: #2f2f2f;
    border: 1px solid #444444;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}
.custom-accordion dd pre.wp-block-code,
.custom-accordion dd pre {
    position: relative !important;
    margin: 0 !important;
    padding: 24px 12px 12px 12px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ====================================
   7. テーブル（ガジェット比較用）
   ==================================== */
.emichan-table-container,
.device-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.tracker-compare-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
    background-color: #ffffff;
}
.tracker-compare-table th {
    background-color: #333333;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #444444;
}
.tracker-compare-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
}
.tracker-compare-table td:first-child {
    background-color: #f7f9fa;
    font-weight: bold;
    color: #444444;
    text-align: left;
}
.tracker-compare-table tr:nth-child(even) td {
    background-color: #fcfdfe;
}

/* ====================================
   8. 画像配置（2枚横並び / スマホ縦並び）
   ==================================== */
.custom-img-pair {
    justify-content: center;
    align-items: flex-end;
}
.custom-img-pair > div { flex: 0 1 400px; }
.custom-img-pair img {
    width: 100%;
    height: auto;
    display: block;
}
@media screen and (max-width: 768px) {
    .custom-img-pair {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .custom-img-pair > div {
        flex: 0 1 auto;
        width: 100%;
        max-width: 400px;
    }
    .custom-img-pair .img_margin { margin-right: 0; }
}

/* ====================================
   9. ナビゲーション・ヘッダー・フッター・サイドバー
   ==================================== */
/* グローバルメニュー（中央から伸びる下線ハック） */
.navi-in > ul .sub-menu { background-color: rgba(214, 211, 206, 0.9); }
.navi-in > ul .sub-menu a:hover { background-color: rgba(191, 186, 178, 0.9); }
.navi-in a {
    font-size: 14px;
    position: relative;
    text-decoration: none;
}
.navi-in a:hover { background-color: #edecea; }
.navi-in a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 1.4px;
    background-color: #a8b1b8;
    transform: translateX(-50%);
    transition: width 0.35s ease-in-out;
}
.navi-in a:hover::after { width: 80%; }

/* トップへ戻るボタン */
#go-to-top .go-to-top-button {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 32px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
#go-to-top .go-to-top-button:hover { transform: translateY(-4px); }

/* サイドバー：ボックスメニュー（隙間つき角丸カード型・決定版） */
body .box-menus {
    border: none;
    background-color: transparent;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0;
}
body .box-menus .box-menu,
body .nwa .box-menu {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    box-sizing: border-box;
}
body .box-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px 8px;
    box-sizing: border-box;
}
body .box-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 130, 180, 0.2);
    border-color: #349f87;
}
body .box-menu-icon { color: #349f87; }

/* サイドバー：新着コメント */
.recent-comment-author, 
.recent-comment-info {
    font-size: 0.9em;
    color: #333333;
}
.recent-comment-article {
    font-size: 0.8em;
    color: #4682b4;
}
.recent-comment-content,
.recent-comment-date {
    font-size: 0.85em;
    border-radius: 8px;
}

/* サイドバー：新着混在リスト [auto_new_list] */
.mc-recent-posts-widget .entry-card-wrap { 
    text-decoration: none; 
    color: #333; 
    font-weight: normal; 
    display: block;
    padding: 8px 0; 
    border-bottom: 1px dotted #ccc;
}
.mc-recent-posts-widget .entry-card-wrap:last-child { border-bottom: none; }
.mc-recent-posts-widget .widget-entry-card { margin: 0; }
.mc-recent-posts-widget .entry-card-content { padding-bottom: 0; }
.mc-recent-posts-widget .entry-card-title { 
    font-weight: normal; 
    color: #333; 
    font-size: 14px; 
    line-height: 1.5; 
    margin-bottom: 4px; 
}
.mc-recent-posts-widget .entry-card-wrap:hover .entry-card-title { color: #2098d1; }
.mc-recent-posts-widget .entry-card-date { 
    font-size: 11px; 
    color: #777; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    margin-top: 6px; 
    margin-bottom: 0; 
}
.mc-recent-posts-widget .entry-card-date::before { 
    font-family: "Font Awesome 5 Free"; 
    content: "\f017"; 
    font-weight: 400; 
}
.widget-entry-cards .widget-entry-card-thumb img,
.widget-entry-cards .card-thumb img {
    border: 2px solid #fff;
    border-radius: 2px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.10);
}

/* サイドバー：画像ウィジェット中央寄せ */
body .widget_media_image,
body #sidebar .widget_media_image { text-align: center; }
body .widget_media_image img,
body #sidebar .widget_media_image img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* プロフィールボックス */
.author-box {
    margin-top: 3em;
    position: relative;
    border: 1px solid #bfbab2;
    border-radius: 0;
    background-color: #f9f8f8;
}
.author-box p { margin: 0.3em 0 1em; }
.author-box .author-name a { color: #5a544b; text-decoration: none; }
.author-box .author-description { margin: 0.5em 0; font-size: 0.95em; }
.author-box .author-description p { margin-bottom: 0; }
.author-box .author-description div,
.author-box .author-description span { margin-top: 5px; margin-bottom: 0; }
.author-box .author-follows { display: none; }
.author-box .sns-follow-buttons a.follow-button {
    width: 24px !important;
    height: 24px;
    border: none;
    border-radius: 50%;
    background-color: #4c473f;
    color: #fff;
    font-size: 20px !important;
}
.author-box .sns-follow-buttons a.follow-button:hover { background-color: #5a544b; }
.author-thumb { width: 80px; }
.main .author-content,
.footer .author-content { margin-left: 100px; }
.main .author-widget-name,
.footer .author-widget-name {
    display: inline-block;
    position: absolute;
    top: -25px;
    left: -1px;
    height: 25px;
    padding: 0 14px;
    background: #a8a196;
    color: #fff;
    font-size: 14px;
    vertical-align: middle;
    line-height: 25px;
}
.nwa .author-box { max-width: 100%; }
.nwa .author-box .sns-follow-buttons a.follow-button { font-size: 18px !important; }

/* カテゴリー一覧：2列カードのタイトル3行固定 */
.entry-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: 4.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}
@media screen and (max-width: 480px) {
    .entry-card-title {
        -webkit-line-clamp: 3;
        height: 4.8em;
    }
}

/* モバイル用サイドバー＆メニュー設定 */
.sidebar-menu-content {
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
    right: auto;
    left: 0;
}
.mobile-menu-buttons .menu-button-in .caption-none,
.mobile-menu-buttons .menu-button-in .option-menu-a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mobile-menu-buttons .menu-button-in .menu-icon {
    font-size: 26px;
    margin-bottom: 0;
}
.menu-close-button { font-size: 1.5em; }

/* ====================================
   10. セキュリティ・その他
   ==================================== */
/* reCAPTCHAバッジ非表示 */
.grecaptcha-badge { visibility: hidden; }

/* カスタムHTMLウィジェット内でショートコードを有効化 */
.widget_custom_html { content: "enable-shortcode"; }

/* サイトタイトル前のFont Awesomeアイコン */
.logo-header a span::before {
    font-family: "Font Awesome 5 Free";
    content: "";
    font-weight: 900; 
    margin-right: 8px; 
    color: #333333; 
}