:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f6f7fb}body{margin:0}.site-header{padding:32px 24px;background:#111827;color:white}.site-header h1{margin:0 0 8px}.header-link{color:#bfdbfe}.container{max-width:960px;margin:32px auto;padding:0 20px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.top-tabs{display:flex;gap:8px;margin:0 0 24px;border-bottom:1px solid #dbe3ef;align-items:flex-end}.tab-spacer{flex:1}.top-tab{display:inline-block;padding:12px 18px;border:1px solid #dbe3ef;border-bottom:0;border-radius:12px 12px 0 0;background:#eef2f7;color:#334155;text-decoration:none;font-weight:700}.logout-tab{background:#fff;color:#64748b}.top-tab.active{background:#fff;color:#172033;box-shadow:0 -2px 12px rgba(15,23,42,.04)}.menu-section{margin:0 0 28px}.menu-section>h2{font-size:18px;margin:0 0 12px;color:#334155}.section-grid{margin-bottom:8px}.card{display:block;background:white;border:1px solid #e5e7eb;border-radius:14px;padding:20px;margin-bottom:16px;color:inherit;text-decoration:none;box-shadow:0 8px 24px rgba(15,23,42,.06)}.card h2,.card h3{margin:0 0 8px;color:#172033}.card p{margin:0;color:#475569;line-height:1.6}.list-item{border-top:1px solid #e5e7eb;padding:12px 0}.badge{font-size:12px;background:#dbeafe;color:#1e40af;border-radius:999px;padding:3px 8px}label{display:block;font-weight:700;margin:14px 0 6px}.inline{display:flex;gap:8px;align-items:center}.inline input{width:auto}input,textarea,select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:10px;font:inherit}button,.button{display:inline-block;border:0;border-radius:999px;background:#2563eb;color:white;padding:10px 18px;text-decoration:none;font-weight:700;cursor:pointer}.notice{background:#dcfce7;color:#14532d;border:1px solid #86efac;border-radius:10px;padding:12px}.error{background:#fee2e2;color:#7f1d1d;border:1px solid #fca5a5;border-radius:10px;padding:12px}pre{white-space:pre-wrap;background:#0f172a;color:#e2e8f0;border-radius:10px;padding:16px;overflow:auto}.editor-panel{margin:18px 0}.editor-header h2{margin:0 0 6px}.editor-header p{margin:0 0 14px}.editor-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;align-items:center}.editor-toolbar button{border-radius:10px;background:#e2e8f0;color:#172033;padding:8px 12px}.toolbar-select{width:auto;min-width:180px;border-radius:10px;padding:8px 10px}.toolbar-check{display:inline-flex;align-items:center;gap:6px;margin:0;font-weight:700;color:#334155}.toolbar-check input{width:auto}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.visual-editor,.live-preview{min-height:360px;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:16px;line-height:1.8;overflow:auto}.visual-editor:focus{outline:3px solid #bfdbfe;border-color:#2563eb}.visual-editor h2,.live-preview h2{font-size:1.45rem;margin:1.1em 0 .45em}.visual-editor h3,.live-preview h3{font-size:1.25rem;margin:1em 0 .4em}.visual-editor h4,.live-preview h4{font-size:1.08rem;margin:.9em 0 .35em}.visual-editor p,.live-preview p{margin:.7em 0}.html-editor{margin:16px 0}.html-editor summary{cursor:pointer;font-weight:700;color:#2563eb}.link-modal[hidden]{display:none}.seo-score-card{border-left:5px solid #2563eb}.field-help{font-size:13px;margin:6px 0 12px;color:#64748b}.field-help.ok,.seo-live-check .ok{color:#166534}.field-help.warn{color:#a16207}.field-help.ng,.seo-live-check .ng{color:#991b1b}.seo-live-check{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px;margin:8px 0 12px}.seo-live-check ul{margin:0;padding-left:1.2em}.seo-score-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.seo-score-head h2{margin:0}.seo-score-head strong{font-size:28px;color:#2563eb}.seo-category{border-top:1px solid #e5e7eb;padding:10px 0}.seo-category summary{cursor:pointer;font-weight:700}.seo-category ul{margin:10px 0 0;padding-left:1.2em}.seo-category li{margin:6px 0}.seo-category .ok{color:#166534}.seo-category .ng{color:#991b1b}.link-modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:rgba(15,23,42,.55);padding:20px}.link-modal__panel{width:min(460px,100%);background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 80px rgba(15,23,42,.28)}.link-modal__panel h2{margin:0 0 14px}.link-modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.button-secondary{background:#475569;color:#fff}@media(max-width:760px){.editor-grid{grid-template-columns:1fr}.top-tabs{flex-wrap:wrap}.tab-spacer{display:none}.logout-tab{margin-left:auto}}.category-checks{border:1px solid #d9e2ef;border-radius:14px;padding:14px;margin:12px 0;background:#fbfdff}.category-checks legend{font-weight:700;color:#0f172a;padding:0 6px}.check-option{display:inline-flex;align-items:center;gap:6px;margin:6px 12px 6px 0;font-weight:600}

/* Public blog and admin UI styles */
:root{--osy-brand:#dc8218;--osy-brand-soft:#fff5e6;--osy-bg-warm:#fef3e2;--osy-text:#231815;--osy-muted:#9f9fa0;--osy-white:#fff}
.osy-lp-header{position:sticky;top:0;z-index:80;border-bottom:1px solid rgba(255,255,255,.7);background:rgba(255,245,230,.9);box-shadow:0 1px 8px rgba(35,24,21,.06);backdrop-filter:blur(18px)}
.osy-lp-header-inner{position:relative;display:flex;align-items:center;max-width:1280px;margin:0 auto;padding:12px 20px;gap:18px}
.osy-lp-brand{display:inline-flex;align-items:center;min-width:0;text-decoration:none}
.osy-lp-logo{display:block;width:auto;height:44px}
.osy-lp-nav{display:flex;align-items:center;gap:4px;margin:0 auto;border:1px solid #fff;border-radius:999px;background:rgba(255,255,255,.8);padding:4px;box-shadow:0 1px 8px rgba(35,24,21,.05)}
.osy-lp-nav a{display:inline-flex;align-items:center;border-radius:999px;color:var(--osy-text);padding:10px 16px;text-decoration:none;font-size:14px;font-weight:900;line-height:1;transition:background .18s ease,color .18s ease}
.osy-lp-nav a:hover,.osy-lp-nav a[aria-current=page]{background:var(--osy-bg-warm);color:var(--osy-brand)}
.osy-lp-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.osy-lp-cta{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--osy-brand);color:#fff!important;padding:12px 20px;text-decoration:none;font-size:14px;font-weight:900;box-shadow:0 10px 24px rgba(220,130,24,.22);transition:transform .18s ease}
.osy-lp-cta:hover{transform:translateY(-1px)}
.osy-lp-menu-toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center;flex-direction:column;gap:6px;border:0;border-radius:10px;background:#fff;padding:0;box-shadow:0 4px 14px rgba(35,24,21,.08)}
.osy-lp-menu-toggle span{display:block;width:20px;height:2px;border-radius:999px;background:var(--osy-text);transition:transform .18s ease,opacity .18s ease}
.osy-lp-menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.osy-lp-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.osy-lp-menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.osy-lp-mobile-nav{display:none;position:absolute;left:0;right:0;top:100%;background:rgba(255,245,230,.96);box-shadow:0 14px 26px rgba(35,24,21,.1);backdrop-filter:blur(18px);padding:16px 20px}
.osy-lp-mobile-nav a{display:block;border-radius:12px;color:var(--osy-text);padding:12px 16px;text-decoration:none;font-weight:900}
.osy-lp-mobile-nav a:hover,.osy-lp-mobile-nav a[aria-current=page]{background:rgba(255,255,255,.68);color:var(--osy-brand)}
.osy-lp-footer{background:#fff;color:var(--osy-muted);padding:32px 20px;text-align:center;font-size:14px;font-weight:900}
@media(max-width:900px){.osy-lp-header-inner{padding-inline:20px}.osy-lp-nav{display:none}.osy-lp-cta{display:none}.osy-lp-menu-toggle{display:flex}.osy-lp-mobile-nav.is-open{display:block}.osy-lp-logo{height:42px}}
@media(max-width:520px){.osy-lp-header-inner{gap:10px;padding:10px 14px}.osy-lp-brand{max-width:calc(100% - 54px);overflow:hidden}.osy-lp-logo{max-width:100%;height:34px;object-fit:contain;object-position:left center}.osy-lp-actions{flex:0 0 auto;margin-left:auto}.osy-lp-menu-toggle{width:40px;height:40px;min-width:40px}}

/* 管理画面: カテゴリ複数選択をカード状に整える */
.category-checks{border:1px solid #dbeafe!important;border-radius:18px!important;background:#f8fbff!important;padding:18px!important;margin:18px 0 20px!important}.category-checks legend{padding:0 8px;font-size:15px;font-weight:800;color:#172033}.category-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.category-checks legend,.category-checks .field-help{grid-column:1/-1}.check-option{display:flex!important;align-items:flex-start;gap:10px;min-height:48px;margin:0!important;padding:12px 14px;border:1px solid #dbe3ef;border-radius:14px;background:#fff;color:#172033;font-weight:800;line-height:1.45;box-shadow:0 6px 18px rgba(15,23,42,.04);cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}.check-option:hover{border-color:#93c5fd;background:#f8fbff;box-shadow:0 10px 24px rgba(15,23,42,.07);transform:translateY(-1px)}.check-option input[type=checkbox]{width:18px;height:18px;min-width:18px;margin:2px 0 0;accent-color:#1f7a8c}.check-option:has(input:checked){border-color:#1f7a8c;background:#edf7f8;box-shadow:0 10px 24px rgba(31,122,140,.12)}.field-help{margin:4px 0 0!important;font-size:14px}.field-help a{display:inline-flex;align-items:center;gap:6px;color:#2563eb;font-weight:800;text-decoration:none}.field-help a:hover{text-decoration:underline}.category-admin-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start}.category-admin-main h3{margin-top:0}.category-admin-item .inline-delete-form{align-self:start}@media(max-width:720px){.category-admin-item{grid-template-columns:1fr}.category-admin-item .inline-delete-form{justify-content:flex-start}}@media(max-width:640px){.category-checks{grid-template-columns:1fr;padding:14px!important}.check-option{min-height:44px;padding:11px 12px}}


/* 管理画面: 記事公開ステータス操作 */
.admin-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.post-admin-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:22px;align-items:start}.post-admin-main h3{margin-top:0}.post-admin-actions{display:grid;grid-template-columns:1fr;gap:10px;justify-items:stretch;align-self:stretch}.post-action-group{display:flex;flex-wrap:wrap;gap:8px;margin:0;justify-content:flex-end}.post-action-primary{padding-bottom:10px;border-bottom:1px solid #e5e7eb}.inline-status-form{padding-bottom:10px;border-bottom:1px solid #e5e7eb}.post-admin-actions .button-secondary,.post-admin-actions .status-action{min-width:84px}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;margin-left:8px;font-size:12px;font-weight:900;line-height:1}.status-draft{background:#eef2ff;color:#3730a3}.status-published{background:#dcfce7;color:#166534}.status-stopped{background:#fee2e2;color:#991b1b}.status-failed{background:#f3f4f6;color:#4b5563}.status-action,.button-secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe3ef;border-radius:999px;background:#fff;color:#172033;padding:9px 14px;font-weight:900;text-decoration:none;cursor:pointer;line-height:1.2}.status-action.publish{border-color:#86efac;color:#166534}.status-action.draft{border-color:#c7d2fe;color:#3730a3}.status-action.stop{border-color:#fecaca;color:#991b1b}.status-action:disabled{opacity:.45;cursor:not-allowed;background:#f8fafc}.status-action:not(:disabled):hover,.button-secondary:hover{box-shadow:0 8px 20px rgba(15,23,42,.08);transform:translateY(-1px)}.inline-delete-form{justify-content:flex-end}.status-action.delete{border-color:#fca5a5;background:#fff1f2;color:#b91c1c}.status-action.delete:not(:disabled):hover{background:#fee2e2;box-shadow:0 8px 20px rgba(185,28,28,.12);transform:translateY(-1px)}@media(max-width:900px){.post-admin-item{grid-template-columns:1fr}.post-action-group{justify-content:flex-start}.post-admin-actions .button-secondary,.post-admin-actions .status-action{min-width:92px}}


/* 管理画面: 省スペース横並びフォーム */
.compact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;align-items:start}.compact-form h2,.compact-form .compact-check-row,.compact-form .compact-form-actions,.compact-form .form-fieldset{grid-column:1/-1}.compact-form label:not(.compact-check){display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:12px;margin:0}.compact-form label>span{font-weight:900;color:#172033}.compact-form input,.compact-form select,.compact-form textarea{width:100%;box-sizing:border-box}.compact-check-row{display:flex;flex-wrap:wrap;gap:12px 20px;padding:4px 0}.compact-check{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;font-weight:900}.compact-check input{width:18px!important;height:18px!important;min-width:18px;accent-color:#1f7a8c}.form-fieldset{border:1px solid #dbe3ef;border-radius:14px;padding:14px 16px;margin:0;background:#f8fbff}.form-fieldset legend{padding:0 8px;font-weight:900;color:#172033}.schedule-hours{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:10px 12px}.schedule-days{gap:10px 16px}.compact-form-actions{display:flex;justify-content:flex-start;padding-top:4px}.schedule-form{max-width:none}@media(max-width:820px){.compact-form{grid-template-columns:1fr}.compact-form label:not(.compact-check){grid-template-columns:1fr;gap:6px}}

.form-check-option{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:10px;width:auto;margin:8px 0 4px!important;font-weight:900;line-height:1.5}.form-check-option input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px;margin:0!important;accent-color:#1f7a8c}.form-check-option span{display:inline-block}

.ai-generate-panel{display:grid;gap:12px;margin:18px 0 22px;padding:16px;border:1px solid #bfdbfe;border-radius:16px;background:#f0f7ff}.ai-generate-panel label{margin:0}.ai-primary-action{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:48px;border:0;border-radius:999px;background:linear-gradient(135deg,#1f7a8c,#2563eb);color:#fff;padding:12px 24px;font-size:16px;font-weight:900;box-shadow:0 14px 30px rgba(37,99,235,.22);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.ai-primary-action:hover{transform:translateY(-1px);box-shadow:0 18px 38px rgba(37,99,235,.28);filter:saturate(1.08)}.ai-primary-action:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none}

.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.gallery-item{overflow:hidden;border:1px solid #dbe3ef;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.05)}.gallery-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1f5f9}.gallery-item-body{display:grid;gap:8px;padding:14px}.gallery-item-body p{margin:0}.gallery-item code{display:block;overflow-wrap:anywhere;font-size:12px;color:#475569}.gallery-item .status-action.delete{width:100%;justify-content:center}
.image-modal[hidden]{display:none}.image-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(15,23,42,.45);padding:20px}.image-modal__panel{width:min(920px,100%);max-height:88vh;overflow:auto;border-radius:20px;background:#fff;padding:22px;box-shadow:0 24px 80px rgba(15,23,42,.28)}.image-modal-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.image-modal-tabs button{border:1px solid #dbe3ef;background:#fff;color:#172033}.image-modal-tabs button.active{background:#2563eb;color:#fff}.image-tab-panel{margin-top:12px}.editor-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.editor-gallery-item{display:grid;gap:8px;align-content:start;border:1px solid #dbe3ef;border-radius:14px;background:#fff;color:#172033;padding:8px;text-align:left}.editor-gallery-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#f1f5f9}.editor-gallery-item span{font-size:12px;font-weight:800;overflow-wrap:anywhere}.image-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}


/* 公開ブログ記事: DESIGN.md準拠（生成り・墨紺・藍色・山吹色、シニア層向け可読性） */
body:has(.post-body),body:has(.post-card){background:#fbfaf6;color:#162238;font-family:Outfit,"Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;font-size:20px;font-weight:700;letter-spacing:.035em;line-height:1.85}.container{width:min(1120px,100%);max-width:1120px;margin:48px auto;padding:0 28px;box-sizing:border-box}.card{border-color:#e7e1d2;border-radius:28px;background:#fff;box-shadow:0 18px 45px rgba(22,34,56,.10);padding:clamp(28px,4vw,48px)}.card h2,.card h3{color:#162238}.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px;color:#5c6575;font-size:18px;font-weight:900}.breadcrumbs a{color:#1f7a8c;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}.post-date,.post-categories{margin:0 0 28px;color:#5c6575;font-size:18px;line-height:1.85}.post-categories{display:flex;flex-wrap:wrap;gap:10px}.post-categories span{display:inline-flex;align-items:center;border:1px solid #d9e0e6;border-radius:999px;background:#edf7f8;color:#1f7a8c;padding:7px 14px;font-size:18px;font-weight:900}.card>h1,.post-title{max-width:16em;margin:0 0 28px;color:#162238;font-size:clamp(36px,5vw,56px);font-weight:900;letter-spacing:.04em;line-height:1.35}.post-body{max-width:40em;color:#5c6575;font-size:clamp(18px,2.1vw,21px);font-weight:700;line-height:1.95;letter-spacing:.04em}.post-body>*:first-child{margin-top:0}.post-body p{margin:0 0 2em;color:#5c6575;line-height:1.95}.post-body h2,.post-body h3,.post-body h4{max-width:18em;color:#162238;font-weight:900;letter-spacing:.04em}.post-body h2{margin:2.4em 0 .9em;font-size:clamp(30px,3.6vw,38px);line-height:1.45}.post-body h3{margin:2.25em 0 .85em;font-size:clamp(26px,3vw,34px);line-height:1.5}.post-body h4{margin:2em 0 .8em;font-size:clamp(22px,2.4vw,26px);line-height:1.6}.post-body ul,.post-body ol{margin:0 0 2em;padding-left:1.4em}.post-body li{margin:.7em 0;line-height:1.9}.post-body a{color:#1f7a8c;font-weight:900;text-decoration-thickness:2px;text-underline-offset:4px}.post-body blockquote{margin:2.2em 0;padding:28px 32px;border-left:6px solid #d49a2a;border-radius:0 24px 24px 0;background:#fff6df;color:#162238}.post-body figure,.featured-image,.post-images figure{margin:42px 0;padding:0}.post-body img,.featured-image img,.post-images img{display:block;width:100%;height:auto;border:1px solid #e7e1d2;border-radius:28px;background:#fff;box-shadow:0 16px 40px rgba(22,34,56,.10)}.post-body figcaption,.post-images figcaption{margin-top:14px;color:#5c6575;font-size:18px;line-height:1.8;text-align:center}.author-box,.post-references{margin-top:56px;border:1px solid #e7e1d2;border-radius:28px;background:#edf7f8;padding:clamp(28px,4vw,40px)}.author-box-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.author-box h2,.post-references h2{margin:0;color:#162238;font-size:clamp(24px,3vw,32px);line-height:1.45}.post-references h2{margin-bottom:18px}.author-box p,.post-references li{color:#5c6575;font-size:18px;line-height:1.85}.author-box-name{margin:0;color:#162238}.author-box-profile{margin:18px 0 0}.author-box img{width:64px;height:64px;object-fit:cover;border-radius:999px;border:3px solid #fff;box-shadow:0 10px 24px rgba(22,34,56,.10)}.post-references ul{margin:0;padding-left:1.25em}.post-card{padding:28px 0;border-top:1px solid #e7e1d2}.post-card h3{max-width:24em;margin:0 0 16px;font-size:clamp(24px,3vw,32px);line-height:1.55}.post-card h3 a{color:#162238;text-decoration:none}.post-card h3 a:hover{color:#1f7a8c;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.post-card p{max-width:42em;margin:0 0 14px;color:#5c6575;font-size:20px;line-height:1.9}.post-card small{color:#5c6575;font-size:18px}.button,.lp-nav-cta{letter-spacing:.04em}@media(max-width:720px){body:has(.post-body),body:has(.post-card){font-size:18px}.container{margin:28px auto;padding:0 18px}.card{border-radius:22px;padding:24px 20px}.card>h1,.post-title{font-size:34px;line-height:1.4}.post-body{font-size:18px;line-height:1.95}.post-body h2{font-size:30px}.post-body h3{font-size:26px}.post-body h4{font-size:22px}.post-body blockquote{padding:22px 20px}.author-box,.post-references{margin-top:42px;padding:24px 20px}.post-card p{font-size:18px}}


/* 公開ブログ記事: 見出し・本文サイズ調整 */
body:has(.post-body){font-size:18px}.card>h1,.post-title{font-size:clamp(28px,3.8vw,40px);line-height:1.4}.post-body{font-size:clamp(16px,1.75vw,19px);line-height:1.9}.post-body p{line-height:1.9}.post-body h2{font-size:clamp(23px,2.55vw,29px);line-height:1.45}.post-body h3{font-size:clamp(20px,2.15vw,25px);line-height:1.5}.post-body h4{font-size:clamp(18px,1.8vw,20px);line-height:1.6}
/* 公開ブログ記事: h3見出し背景 */
.post-body h3{display:block;box-sizing:border-box;max-width:100%;margin:2.15em 0 .85em;padding:14px 20px;border-left:6px solid #1f7a8c;border-radius:14px;background:linear-gradient(90deg,#edf7f8 0%,#fff6df 100%);box-shadow:0 10px 26px rgba(22,34,56,.06)}
@media(max-width:720px){body:has(.post-body){font-size:16px}.card>h1,.post-title{font-size:clamp(25px,7.2vw,31px)}.post-body{font-size:16px}.post-body h2{font-size:23px}.post-body h3{font-size:20px;padding:12px 15px;border-left-width:5px;border-radius:13px}.post-body h4{font-size:18px}}


/* 公開ブログ記事: 表・箇条書きデザイン */
.post-body ul,.post-body ol{display:grid;gap:14px;margin:0 0 2.2em;padding:24px 28px 24px 34px;border:1px solid #e7e1d2;border-radius:24px;background:#fff;box-shadow:0 12px 32px rgba(22,34,56,.06);list-style-position:outside}.post-body ul li,.post-body ol li{margin:0;padding-left:8px;color:#5c6575;line-height:1.9}.post-body ul li::marker{color:#1f7a8c;font-size:1.15em}.post-body ol li::marker{color:#d49a2a;font-weight:900}.post-body table{width:100%;margin:2.4em 0;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #e7e1d2;border-radius:24px;background:#fff;box-shadow:0 16px 38px rgba(22,34,56,.08);font-size:19px;line-height:1.75}.post-body th,.post-body td{padding:18px 20px;border-right:1px solid #e7e1d2;border-bottom:1px solid #e7e1d2;text-align:left;vertical-align:top}.post-body th:last-child,.post-body td:last-child{border-right:0}.post-body tr:last-child th,.post-body tr:last-child td{border-bottom:0}.post-body thead th{background:#edf7f8;color:#162238;font-weight:900}.post-body tbody tr:nth-child(even) td{background:#fbfaf6}.post-body tbody th{background:#fff6df;color:#162238;font-weight:900}.post-body table strong{color:#162238}@media(max-width:720px){.post-body ul,.post-body ol{padding:20px 20px 20px 28px;border-radius:18px}.post-body table{display:block;overflow-x:auto;border-radius:18px;font-size:18px}.post-body th,.post-body td{min-width:160px;padding:15px 16px}}


/* 管理画面: アイキャッチ画像選択 */
.featured-image-picker{display:flex;flex-wrap:wrap;gap:10px;margin:-4px 0 18px}.featured-image-picker .button-secondary{background:#fff}


/* 管理画面: AI記事作成中オーバーレイ */
.generation-overlay[hidden]{display:none}.generation-overlay{position:fixed;inset:0;z-index:999;display:grid;place-items:center;background:rgba(22,34,56,.58);backdrop-filter:blur(8px);padding:24px}.generation-overlay__panel{width:min(560px,100%);border:1px solid #e7e1d2;border-radius:28px;background:#fbfaf6;padding:34px 32px;text-align:center;box-shadow:0 24px 80px rgba(15,23,42,.32)}.generation-overlay__panel h2{margin:18px 0 10px;color:#162238;font-size:clamp(26px,4vw,34px);font-weight:900;letter-spacing:.04em}.generation-overlay__panel p{margin:0 auto 18px;max-width:34em;color:#5c6575;font-size:18px;font-weight:800;line-height:1.8}.generation-progress{overflow:hidden;height:12px;margin:18px 0 10px;border-radius:999px;background:#edf7f8}.generation-progress__bar{width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1f7a8c,#d49a2a);transition:width .5s ease}.generation-image-count{margin-bottom:12px!important;color:#162238!important;font-weight:900!important}.generation-overlay__panel ol{display:grid;gap:8px;margin:18px 0 0;padding:18px 22px 18px 42px;border:1px solid #e7e1d2;border-radius:18px;background:#fff;text-align:left;color:#5c6575;font-size:17px;font-weight:800;line-height:1.7}.generation-overlay__panel li::marker{color:#d49a2a;font-weight:900}.generation-steps li.is-active{color:#162238;font-weight:900}.generation-steps li.is-done{color:#1f7a8c}.generation-spinner{width:76px;height:76px;margin:0 auto;border-radius:999px;border:8px solid #edf7f8;border-top-color:#1f7a8c;border-right-color:#d49a2a;animation:generation-spin .9s linear infinite}.is-generating-article{cursor:wait}.is-generating-article #ai-generate-form{opacity:.72;pointer-events:none}@keyframes generation-spin{to{transform:rotate(360deg)}}@media(max-width:720px){.generation-overlay__panel{padding:28px 22px;border-radius:22px}.generation-spinner{width:64px;height:64px}}


/* 記事編集: ギャラリーを升目表示 + クリック拡大 */
.editor-gallery-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:14px!important;align-items:start}.editor-gallery-item{display:grid!important;gap:8px!important;width:100%!important;min-height:0!important;padding:8px!important;border:1px solid #e7e1d2!important;border-radius:16px!important;background:#fff!important;color:#162238!important;text-align:left!important;box-shadow:0 8px 22px rgba(22,34,56,.06)!important;cursor:zoom-in!important}.editor-gallery-item img{display:block!important;width:100%!important;aspect-ratio:1/1!important;max-height:none!important;object-fit:cover!important;border-radius:12px!important;background:#edf7f8!important}.editor-gallery-item span{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;min-height:2.8em;color:#5c6575!important;font-size:14px!important;font-weight:800!important;line-height:1.4!important}.gallery-preview-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;background:rgba(22,34,56,.72);padding:24px}.gallery-preview-panel{width:min(920px,100%);max-height:92vh;overflow:auto;border-radius:24px;background:#fff;padding:18px;box-shadow:0 28px 90px rgba(0,0,0,.35)}.gallery-preview-panel img{display:block;width:100%;max-height:68vh;object-fit:contain;border-radius:18px;background:#fbfaf6}.gallery-preview-panel p{margin:14px 4px 0;color:#162238;font-size:17px;font-weight:900;line-height:1.6}.gallery-preview-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px}.gallery-preview-actions button{cursor:pointer}@media(max-width:720px){.editor-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gallery-preview-overlay{padding:14px}.gallery-preview-panel{padding:12px;border-radius:18px}.gallery-preview-panel img{max-height:62vh}}

.featured-image-picker #featured-image-generate-status{flex-basis:100%;margin:2px 0 0!important}


/* 公開ブログ: カテゴリ一覧/カテゴリページ */
.category-nav{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 30px}.category-nav a,.post-categories a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border:1px solid #d9eadf;border-radius:999px;background:#fff;color:#1f7a8c!important;font-weight:900;text-decoration:none}.category-nav a:hover,.post-categories a:hover{border-color:#1f7a8c;background:#edf7f8}.category-label{display:inline-flex;margin:0 0 10px;padding:8px 14px;border-radius:999px;background:#fff6df;color:#8a5b00;font-weight:900}.category-description{max-width:48em;color:#5c6575;font-size:20px;line-height:1.9}.category-post-list{display:grid;gap:18px;margin-top:24px}


/* 管理画面: 記事操作をアイコン化（All SVG Icons 掲載のOSSアイコン風ラインSVG） */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.post-admin-actions .icon-button{display:inline-grid!important;place-items:center!important;width:46px!important;min-width:46px!important;height:46px!important;padding:0!important;border-radius:999px!important;line-height:1!important}.post-admin-actions .icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.post-admin-actions .post-action-primary{justify-content:flex-end}.post-admin-actions .inline-status-form{display:flex;justify-content:flex-end}.post-admin-actions .inline-delete-form{justify-content:flex-end}.post-admin-actions .status-action.publish.icon-button{color:#168451}.post-admin-actions .status-action.draft.icon-button{color:#2563eb}.post-admin-actions .status-action.stop.icon-button,.post-admin-actions .status-action.delete.icon-button{color:#dc2626}.post-admin-actions .icon-button[disabled]{opacity:.38;cursor:not-allowed}@media(max-width:760px){.post-admin-actions .post-action-group{justify-content:flex-start}.post-admin-actions .icon-button{width:44px!important;min-width:44px!important;height:44px!important}}


/* 管理画面トップ: 1画面で見やすい一覧タイプ */
.admin-compact{max-width:920px;margin-top:22px}.admin-list-panel{border:1px solid #e7e1d2;border-radius:22px;background:#fff;padding:18px 20px;box-shadow:0 12px 30px rgba(22,34,56,.06)}.admin-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:10px}.admin-list-head h1{margin:0;color:#162238;font-size:clamp(26px,4vw,36px);line-height:1.25}.admin-list-head p{margin:0;color:#5c6575;font-weight:800}.admin-menu-list{display:grid;border-top:1px solid #edf0f4}.admin-menu-row{display:grid;grid-template-columns:128px 170px minmax(0,1fr);gap:16px;align-items:center;padding:14px 6px;border-bottom:1px solid #edf0f4;color:#162238;text-decoration:none}.admin-menu-row:hover{background:#fbfaf6}.admin-menu-group{display:inline-flex;justify-content:center;align-items:center;min-height:32px;padding:5px 10px;border-radius:999px;background:#edf7f8;color:#1f7a8c;font-size:13px;font-weight:900}.admin-menu-row strong{font-size:18px;font-weight:900}.admin-menu-row>span:last-child{color:#5c6575;font-size:15px;font-weight:700;line-height:1.6}.admin-menu-row::after{content:'›';justify-self:end;color:#d49a2a;font-size:26px;font-weight:900}@media(max-width:720px){.admin-list-panel{padding:16px}.admin-list-head{display:block}.admin-list-head p{margin-top:6px}.admin-menu-row{grid-template-columns:1fr;gap:5px;padding:14px 4px}.admin-menu-group{justify-self:start}.admin-menu-row::after{display:none}}


/* 管理画面トップ: 分類ラベルと右矢印を非表示 */
.admin-menu-row{grid-template-columns:180px minmax(0,1fr)!important}.admin-menu-row::after{content:none!important;display:none!important}.admin-menu-group{display:none!important}@media(max-width:720px){.admin-menu-row{grid-template-columns:1fr!important}}
/* 管理トップ: 機能をMECEに整理したグループ表示 */
.admin-menu-groups{gap:18px;border-top:0}.admin-menu-groups .admin-menu-group{display:block!important;min-height:0;padding:0;border:1px solid #edf0f4;border-radius:18px;background:#fff;color:inherit}.admin-menu-groups .admin-menu-group h2{margin:0;padding:13px 16px;border-bottom:1px solid #edf0f4;border-radius:18px 18px 0 0;background:#edf7f8;color:#1f7a8c;font-size:15px;font-weight:900}.admin-menu-groups .admin-menu-row{margin:0 12px;border-bottom:1px solid #edf0f4}.admin-menu-groups .admin-menu-row:last-child{border-bottom:0}.admin-menu-groups .admin-menu-row strong{font-size:16px}.admin-menu-groups .admin-menu-row>span:last-child{font-size:14px}


/* 記事一覧: 公開停止中は薄くグレーアウト */
.post-admin-item-stopped{background:#f3f4f6!important;border-color:#e5e7eb!important;box-shadow:none!important;opacity:.62}.post-admin-item-stopped .post-admin-main h3,.post-admin-item-stopped .post-admin-main p,.post-admin-item-stopped code{color:#6b7280!important}.post-admin-item-stopped .status-badge{filter:grayscale(1);opacity:.85}


/* 管理タブ: 管理画面/ログアウトをアイコン化 */
.top-tab.icon-tab{display:inline-grid!important;place-items:center!important;width:44px;min-width:44px;padding:10px!important}.top-tab.icon-tab svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.top-tabs{flex-wrap:wrap}.logout-tab.icon-tab{color:#dc2626!important}


/* 記事一覧: 操作アイコンを一列表示 */
.post-admin-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important}.post-admin-actions .post-action-group{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;padding:0!important;border:0!important}.post-admin-actions form{margin:0!important}.post-admin-actions .inline-delete-form{margin-left:4px!important}@media(max-width:760px){.post-admin-actions{justify-content:flex-start!important}.post-admin-actions .post-action-group{justify-content:flex-start!important}}


/* システム設定: 項目名と入力欄を一列表示 */
.settings-form label{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;margin:12px 0!important;font-weight:900}.settings-form label input,.settings-form label select,.settings-form label textarea{width:100%!important;box-sizing:border-box}.settings-form label textarea{align-self:start}.settings-form h2{margin-top:28px}.settings-form .field-help,.settings-form p{margin-left:236px}@media(max-width:760px){.settings-form label{grid-template-columns:1fr!important;gap:8px!important}.settings-form .field-help,.settings-form p{margin-left:0}}


/* 生成設定: プレビュー条件の項目名と入力欄を一列表示 */
.preview-conditions label{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;margin:12px 0!important;font-weight:900}.preview-conditions label input,.preview-conditions label select,.preview-conditions label textarea{width:100%!important;box-sizing:border-box}.preview-conditions label textarea{align-self:start}@media(max-width:760px){.preview-conditions label{grid-template-columns:1fr!important;gap:8px!important}}


/* カテゴリ追加: カテゴリ名/スラッグのみ一列表示 */
.category-basic-fields label{display:grid!important;grid-template-columns:160px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;margin:12px 0!important;font-weight:900}.category-basic-fields label input{width:100%!important;box-sizing:border-box}@media(max-width:760px){.category-basic-fields label{grid-template-columns:1fr!important;gap:8px!important}}


/* カテゴリ複数選択: チェックボックスとカテゴリ名を一行表示 */
.category-checks{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}.category-checks .check-option{display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;padding:10px 12px!important;white-space:nowrap!important;line-height:1.2!important}.category-checks .check-option input[type=checkbox]{flex:0 0 auto!important;margin:0!important}.category-checks .check-option{overflow:hidden;text-overflow:ellipsis}


/* AI記事生成: 基本項目の項目名と入力欄を一行表示 */
#ai-generate-form>label{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;margin:12px 0!important;font-weight:900}#ai-generate-form>label input,#ai-generate-form>label select,#ai-generate-form>label textarea{width:100%!important;box-sizing:border-box}#ai-generate-form>label textarea{align-self:start}@media(max-width:760px){#ai-generate-form>label{grid-template-columns:1fr!important;gap:8px!important}}


/* 画像ギャラリー: 表示切り替え */
.gallery-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.gallery-view-toggle{display:flex;gap:8px}.gallery-view-toggle .icon-button{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dbe3ef;border-radius:999px;background:#fff;color:#172033}.gallery-view-toggle .icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.gallery-view-toggle .icon-button.active{border-color:#1f7a8c;background:#edf7f8;color:#1f7a8c}#gallery-grid[data-view=image],#gallery-grid[data-view=compact]{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}#gallery-grid[data-view=image] .gallery-item-body,#gallery-grid[data-view=compact] .gallery-item-body{display:none}#gallery-grid[data-view=image] .gallery-item,#gallery-grid[data-view=compact] .gallery-item{box-shadow:none}#gallery-grid[data-view=image] .gallery-item img{aspect-ratio:1/1}#gallery-grid[data-view=compact]{grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px}#gallery-grid[data-view=compact] .gallery-item{border-radius:10px}#gallery-grid[data-view=compact] .gallery-item img{aspect-ratio:1/1;border-radius:10px}


/* LPヘッダー: メニューを閉じる用backdropはPCで絶対に表示しない */
.lp-nav-backdrop{display:none!important;position:fixed;inset:0;width:0!important;height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;pointer-events:none!important;appearance:none!important}


/* 管理画面: PV分析 */
.analytics-total{font-size:clamp(40px,7vw,72px)!important;line-height:1!important;color:#1f7a8c!important;font-weight:900!important;margin-top:12px!important}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.analytics-table{width:100%;border-collapse:collapse;font-size:15px}.analytics-table th,.analytics-table td{border-bottom:1px solid #e5e7eb;padding:10px 8px;text-align:left;vertical-align:top}.analytics-table th:last-child,.analytics-table td:last-child{text-align:right;white-space:nowrap;font-weight:900}.analytics-table a{color:#1f7a8c;font-weight:900;text-decoration:none}.analytics-table a:hover{text-decoration:underline}@media(max-width:720px){.analytics-grid{grid-template-columns:1fr}.analytics-table{font-size:14px}}


/* 記事一覧: 記事ごとのPV数 */
.pv-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;margin-left:8px;background:#edf7f8;color:#1f7a8c;font-size:12px;font-weight:900;line-height:1}.pv-badge strong{font-size:13px}


/* 公開post: 人気/最新/関連記事カード */
.post-dynamic-cards{display:grid;gap:24px;margin:32px 0}.post-card-section{border:1px solid #e7e1d2;border-radius:24px;background:#fff;padding:22px;box-shadow:0 14px 34px rgba(22,34,56,.07)}.post-card-section>h2{margin:0 0 16px;color:#162238;font-size:clamp(24px,3vw,32px);font-weight:900}.post-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.post-link-card{overflow:hidden;border:1px solid #e7e1d2;border-radius:18px;background:#fbfaf6;box-shadow:0 8px 22px rgba(22,34,56,.05)}.post-link-card__image{display:block;background:#edf7f8}.post-link-card__image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.post-link-card__body{display:grid;gap:8px;padding:16px}.post-link-card__body h3{margin:0;font-size:18px;line-height:1.55}.post-link-card__body h3 a{color:#162238;text-decoration:none}.post-link-card__body h3 a:hover{color:#1f7a8c;text-decoration:underline}.post-link-card__body p{margin:0;color:#5c6575;font-size:15px;line-height:1.7}.post-link-card__body small{color:#7b8493;font-weight:800}.post-link-card__pv{display:inline-flex;justify-self:start;border-radius:999px;background:#edf7f8;color:#1f7a8c;padding:3px 9px}@media(max-width:720px){.post-card-section{padding:18px}.post-card-grid{grid-template-columns:1fr}}


/* 公開post: 右側関連記事サイドバー */
.post-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:28px;align-items:start}.post-main-card{min-width:0}.post-layout .post-dynamic-cards{position:sticky;top:96px;display:grid;gap:18px;margin:0}.post-layout .post-card-section{padding:18px;border-radius:20px}.post-layout .post-card-section>h2{font-size:20px;margin-bottom:12px}.post-layout .post-card-grid{display:grid;grid-template-columns:1fr;gap:12px}.post-layout .post-link-card{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:stretch}.post-layout .post-link-card__image img{height:100%;min-height:88px;aspect-ratio:1/1}.post-layout .post-link-card:not(:has(.post-link-card__image)){grid-template-columns:1fr}.post-layout .post-link-card__body{padding:12px;gap:5px}.post-layout .post-link-card__body h3{font-size:15px;line-height:1.55}.post-layout .post-link-card__body p{display:none}.post-layout .post-link-card__body small{font-size:12px}.post-layout .post-link-card__pv{padding:2px 7px}@media(max-width:980px){.post-layout{grid-template-columns:1fr}.post-layout .post-dynamic-cards{position:static;margin-top:24px}.post-layout .post-card-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.post-layout .post-link-card{grid-template-columns:1fr}.post-layout .post-link-card__image img{aspect-ratio:16/9;height:auto}.post-layout .post-link-card__body p{display:block}}


/* post右サイドバー: 関連記事はタイトルのみ1行省略 */
.post-layout .post-link-card-title-only{display:block!important;border-radius:12px;background:#fbfaf6}.post-layout .post-link-card-title-only a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#162238;text-decoration:none;font-size:15px;font-weight:900;line-height:1.5;padding:10px 12px}.post-layout .post-link-card-title-only a:hover{color:#1f7a8c;text-decoration:underline}


/* ブログトップ: 右側サイドバー */
.blog-index-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:28px;align-items:start}.blog-index-main{min-width:0}.blog-sidebar{position:sticky;top:96px;display:grid;gap:18px}.blog-sidebar-section{border:1px solid #e7e1d2;border-radius:20px;background:#fff;padding:18px;box-shadow:0 14px 34px rgba(22,34,56,.07)}.blog-sidebar-section>h2{margin:0 0 12px;color:#162238;font-size:20px;font-weight:900}.blog-sidebar-list{display:grid;gap:8px;list-style:none;margin:0;padding:0}.blog-sidebar-list a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:1px solid #e7e1d2;border-radius:12px;background:#fbfaf6;color:#162238;text-decoration:none;font-size:15px;font-weight:900;line-height:1.5;padding:10px 12px}.blog-sidebar-list a:hover{color:#1f7a8c;text-decoration:underline}.blog-sidebar-categories{display:flex!important;gap:8px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.blog-sidebar-categories a{white-space:nowrap}@media(max-width:980px){.blog-index-layout{grid-template-columns:1fr}.blog-sidebar{position:static}}


/* ブログ一覧: カード型記事グリッド */
.blog-card-list-section{min-width:0}.blog-card-list-head{margin:0 0 18px}.blog-card-list-head h2{font-size:clamp(28px,3vw,38px);margin:0;color:#12253a}.blog-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.article-card{background:#fff;border:1px solid #e7ebef;border-radius:22px;box-shadow:0 14px 34px rgba(18,37,58,.09);overflow:hidden;min-width:0;transition:transform .18s ease,box-shadow .18s ease}.article-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(18,37,58,.13)}.article-card-thumb{display:block;background:#eef6f8;aspect-ratio:16/9;overflow:hidden}.article-card-thumb img{display:block;width:calc(100% + 2px);height:calc(100% + 2px);margin:-1px;object-fit:cover;image-rendering:auto;filter:contrast(.98) saturate(1.02) blur(.12px);transform:translateZ(0) scale(1.002);backface-visibility:hidden}.article-card-body{padding:16px 18px 20px}.article-card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;font-size:13px;font-weight:800;color:#26384d}.article-card-date{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.article-card-date::before{content:"📅";font-size:14px;line-height:1}.article-card-cats{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0}.article-card-cats a{color:#15827f;text-decoration:none;font-size:12px;font-weight:800;line-height:1.2}.article-card h3{font-size:clamp(18px,2.1vw,24px);line-height:1.45;margin:0}.article-card h3 a{color:#111827;text-decoration:none}.article-card h3 a:hover{color:#0b7f83}.article-card-excerpt{margin:10px 0 0;color:#5e6b7a;line-height:1.75;font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:760px){.blog-card-grid{grid-template-columns:1fr}.article-card-body{padding:15px}.article-card-meta{align-items:flex-start;flex-direction:column}.article-card-cats{justify-content:flex-start}}

/* ブログ/記事サイドバー: 本文幅優先・はみ出し防止 */
.blog-index-layout{grid-template-columns:minmax(0,1fr) minmax(210px,250px)!important;gap:22px!important}.blog-sidebar{min-width:0;overflow:hidden}.blog-sidebar-section{min-width:0;padding:16px;overflow:hidden}.blog-sidebar-list{gap:6px!important;min-width:0;overflow:hidden}.blog-sidebar-list li{min-width:0;overflow:hidden}.blog-sidebar-list a,.post-layout .post-link-card-title-only a{border:0!important;background:transparent!important;border-radius:0!important;padding:4px 0!important;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.post-layout .post-link-card-title-only{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}.blog-sidebar-categories{flex-wrap:wrap!important;min-width:0}.blog-sidebar-categories a{max-width:100%;white-space:normal!important;overflow-wrap:anywhere}


/* アクセス分析: Gemini改善案 */
.analytics-proposal pre{white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #d9e0e6;border-radius:14px;padding:18px 20px;color:#162238;font-size:16px;font-weight:800;line-height:1.9;letter-spacing:.02em}.analytics-table td:nth-child(3),.analytics-table td:nth-child(4),.analytics-table td:nth-child(5){word-break:break-all}.analytics-more{margin:14px 0 0;text-align:right}

/* 公開記事: 本文カラム幅を広げる */
body:has(.post-body) .container{width:min(1280px,100%);max-width:1280px}.post-layout{grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:24px}.post-body{max-width:48em}.post-body h2,.post-body h3,.post-body h4{max-width:100%}.post-title{max-width:20em}@media(max-width:980px){.post-layout{grid-template-columns:1fr}.post-layout .post-dynamic-cards{position:static}}

/* 記事編集: 右側ライブプレビュー廃止後の本文エディタ */
.editor-grid-single{grid-template-columns:1fr!important}.visual-editor figure{max-width:760px;margin:24px 0}.visual-editor img{display:block;max-width:100%;height:auto;object-fit:contain;border-radius:18px}.visual-editor figure img{width:100%;aspect-ratio:16/9;object-fit:cover}.visual-editor figcaption{font-size:14px;line-height:1.6;color:#5c6575;text-align:center;margin-top:8px}
/* AI自動投稿: カテゴリ複数選択はフォーム内で全幅表示 */
.schedule-form>.category-checks{grid-column:1/-1!important;margin:0!important}.schedule-form>.category-checks .field-help{margin-top:2px!important}
/* アクセス分析詳細: 長いUAや記事名で表が崩れないようにする */
.analytics-detail-card{overflow:hidden}.analytics-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.analytics-detail-table{min-width:760px;table-layout:fixed}.analytics-detail-table th,.analytics-detail-table td{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere;text-align:left!important;font-weight:800}.analytics-detail-table td:last-child,.analytics-detail-table th:last-child{text-align:left!important;white-space:normal!important}.analytics-detail-table-recent{min-width:1120px}.analytics-detail-table-recent th:nth-child(1),.analytics-detail-table-recent td:nth-child(1){width:130px}.analytics-detail-table-recent th:nth-child(2),.analytics-detail-table-recent td:nth-child(2){width:280px}.analytics-detail-table-recent th:nth-child(3),.analytics-detail-table-recent td:nth-child(3){width:110px}.analytics-detail-table-recent th:nth-child(4),.analytics-detail-table-recent td:nth-child(4){width:80px}.analytics-detail-table-recent th:nth-child(5),.analytics-detail-table-recent td:nth-child(5){width:120px}.analytics-detail-table-recent th:nth-child(6),.analytics-detail-table-recent td:nth-child(6){width:400px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.55}
/* アクセス分析: CSSグラフ */
.analytics-chart{display:grid;gap:12px;margin:16px 0 18px}.analytics-chart-row,.analytics-share-row{display:grid;gap:7px;min-width:0}.analytics-chart-meta,.analytics-share-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;color:#162238;font-size:14px;font-weight:900;line-height:1.45}.analytics-chart-meta strong,.analytics-share-head strong{flex:0 0 auto;color:#1f7a8c;white-space:nowrap}.analytics-chart-label,.analytics-share-head span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-chart-label a{color:#162238;text-decoration:none}.analytics-chart-label a:hover{color:#1f7a8c;text-decoration:underline}.analytics-chart-track,.analytics-share-track{height:14px;overflow:hidden;border-radius:999px;background:#edf0f4}.analytics-chart-track span,.analytics-share-track span{display:block;width:var(--bar,0%);height:100%;border-radius:999px;background:linear-gradient(90deg,#1f7a8c,#4fb3bf);min-width:0}.analytics-share-track span{width:var(--share,0%);background:#1f7a8c}.analytics-share-row[style*="--tone:2"] .analytics-share-track span{background:#c89b3c}.analytics-share-row[style*="--tone:3"] .analytics-share-track span{background:#2563eb}.analytics-share-row[style*="--tone:4"] .analytics-share-track span{background:#16a34a}.analytics-share-row[style*="--tone:5"] .analytics-share-track span{background:#9333ea}@media(max-width:640px){.analytics-chart-meta,.analytics-share-head{display:grid;gap:4px}.analytics-chart-meta strong,.analytics-share-head strong{white-space:normal}.analytics-chart-label,.analytics-share-head span{white-space:normal;overflow-wrap:anywhere}}
/* アップデート確認 */
.update-card .notice,.update-card .error{margin-top:12px}.update-notes{display:grid;gap:8px;margin:12px 0 0;padding-left:1.2em}.update-notes li{line-height:1.7}.update-actions{gap:10px;flex-wrap:wrap;margin-top:16px}

/* ブログトップ: スマホでは記事一覧とサイドバーを縦積みにする */
@media(max-width:980px){.blog-index-layout{grid-template-columns:1fr!important}.blog-sidebar{position:static;width:100%;overflow:visible}.blog-sidebar-section{overflow:visible}.blog-sidebar-list a{white-space:normal;overflow-wrap:anywhere}.blog-card-grid{grid-template-columns:1fr}}

/* 公開ブログ: モバイルの見出し・パンくずを読みやすいサイズへ調整 */
@media(max-width:720px){body:has(.post-body),body:has(.post-card){font-size:16px;letter-spacing:.02em}.breadcrumbs{gap:6px;margin:0 0 18px;font-size:13px;line-height:1.6;letter-spacing:.02em}.post-date,.post-categories{margin-bottom:16px;font-size:14px;line-height:1.7}.post-categories{gap:8px}.post-categories span{padding:5px 10px;font-size:13px;line-height:1.4}.card>h1,.post-title{margin-bottom:18px;font-size:clamp(22px,6vw,26px);line-height:1.45;letter-spacing:.02em}.blog-card-list-head{margin-bottom:14px}.blog-card-list-head h2{font-size:24px;line-height:1.35}.article-card h3{font-size:17px;line-height:1.55;letter-spacing:.02em}.article-card-meta{font-size:12px;line-height:1.5}.article-card-cats a{font-size:11px;line-height:1.35}.blog-sidebar-section>h2{font-size:18px;line-height:1.45}.blog-sidebar-list a{font-size:14px;line-height:1.55}}

/* 公開記事: スマホ上部のカテゴリ一覧をコンパクトにする */
@media(max-width:720px){.post-categories{gap:5px;margin-bottom:10px;line-height:1.25}.post-categories a,.post-categories span{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;padding:4px 9px;font-size:11px;line-height:1.2;letter-spacing:0}.post-categories a{border:1px solid #d9e0e6;background:#fff;color:#1f7a8c;text-decoration:none;font-weight:900}.post-date{margin-bottom:18px;font-size:12px;line-height:1.6}}

/* ブログトップ: スマホのカテゴリ一覧をコンパクトにする */
@media(max-width:720px){.blog-sidebar-section:has(.blog-sidebar-categories){padding:14px}.blog-sidebar-section:has(.blog-sidebar-categories)>h2{margin-bottom:10px;font-size:18px}.blog-sidebar-categories{gap:6px!important}.blog-sidebar-categories a{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:5px 10px!important;font-size:12px!important;line-height:1.2!important;letter-spacing:0!important}}

/* 公開記事: スマホの参考リンクカードを控えめにする */
@media(max-width:720px){.post-references{margin-top:30px!important;border-radius:18px!important;padding:18px 18px!important}.post-references h2{margin-bottom:10px!important;font-size:20px!important;line-height:1.35!important}.post-references ul{padding-left:1.05em!important}.post-references li{margin:5px 0!important;font-size:14px!important;line-height:1.55!important}.post-references a{font-size:14px!important;line-height:1.55!important;overflow-wrap:anywhere}}

/* 公開記事: 本文末尾の関連記事を画像付きカードにする */
.related-posts{margin:42px 0 0}.related-posts>h3{margin-bottom:10px}.related-posts>p{margin:0 0 18px;color:#5c6575;font-size:16px;line-height:1.7}.related-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.related-post-card{overflow:hidden;border:1px solid #e7e1d2;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(22,34,56,.07)}.related-post-card__image{display:block;background:#edf7f8}.post-body .related-post-card__image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0;border:0;border-radius:0;box-shadow:none}.related-post-card__body{padding:14px}.post-body .related-post-card__body h4{margin:0;padding:0;border:0;background:none;font-size:16px;line-height:1.55}.related-post-card__body h4 a{color:#162238;text-decoration:none}.related-post-card__body h4 a:hover{color:#1f7a8c;text-decoration:underline}.related-post-card__body p{margin:8px 0 0;color:#5c6575;font-size:13px;line-height:1.6}.related-posts>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0;padding:0;list-style:none;background:transparent;border:0;box-shadow:none}.related-posts>ul li{margin:0;padding:14px;border:1px solid #e7e1d2;border-radius:16px;background:#fff}
@media(max-width:720px){.related-posts{margin-top:32px}.related-posts>p{margin-bottom:14px;font-size:14px}.related-post-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 4px 10px;-webkit-overflow-scrolling:touch}.related-post-card{flex:0 0 78%;scroll-snap-align:start;border-radius:16px}.related-post-card__body{padding:12px}.post-body .related-post-card__body h4{font-size:14px;line-height:1.55}.related-post-card__body p{font-size:12px;line-height:1.55}.related-posts>ul{display:flex;gap:12px;overflow-x:auto;padding:0 4px 10px}.related-posts>ul li{flex:0 0 78%;font-size:14px;line-height:1.55}}

/* 公開記事: 著者ボックスを控えめにする */
.author-box{margin-top:38px!important;border-radius:20px!important;padding:22px 24px!important}.author-box-row{gap:12px}.author-box h2{font-size:22px!important;line-height:1.35!important}.author-box-name,.author-box p{font-size:15px!important;line-height:1.65!important}.author-box img{width:48px;height:48px}
@media(max-width:720px){.author-box{margin-top:30px!important;border-radius:18px!important;padding:18px!important}.author-box-row{gap:8px}.author-box h2{font-size:18px!important;line-height:1.35!important}.author-box-name,.author-box p{font-size:13px!important;line-height:1.6!important}.author-box img{width:40px;height:40px}}

/* 公開post: 右サイドバーの関連記事カードを見やすくする */
.post-layout .post-dynamic-cards .post-card-section{position:relative;overflow:hidden;border-color:#eadfc8;background:linear-gradient(135deg,#fff 0%,#fbfaf6 100%);box-shadow:0 14px 34px rgba(22,34,56,.09)}.post-layout .post-dynamic-cards .post-card-section::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#1f7a8c,#d49a2a);opacity:.9}.post-layout .post-dynamic-cards .post-card-section>h2{display:flex;align-items:center;gap:8px;margin-top:2px;font-size:21px}.post-layout .post-dynamic-cards .post-card-section>h2::before{content:"";width:9px;height:24px;border-radius:999px;background:#1f7a8c;box-shadow:8px 0 0 rgba(212,154,42,.35)}.post-layout .post-dynamic-cards .post-card-grid{counter-reset:side-post}.post-layout .post-dynamic-cards .post-link-card-title-only{counter-increment:side-post}.post-layout .post-dynamic-cards .post-link-card-title-only a{position:relative;padding:9px 0 9px 34px!important;line-height:1.55!important}.post-layout .post-dynamic-cards .post-link-card-title-only a::before{content:counter(side-post);position:absolute;left:0;top:8px;display:grid;place-items:center;width:23px;height:23px;border-radius:999px;background:#edf7f8;color:#1f7a8c;font-size:12px;font-weight:900}.post-layout .post-dynamic-cards .post-link-card-title-only a:hover::before{background:#1f7a8c;color:#fff}
@media(max-width:720px){.post-layout .post-dynamic-cards .post-card-section{border-radius:18px}.post-layout .post-dynamic-cards .post-card-section>h2{font-size:18px}.post-layout .post-dynamic-cards .post-link-card-title-only a{font-size:14px!important;padding-left:31px!important}.post-layout .post-dynamic-cards .post-link-card-title-only a::before{width:21px;height:21px;font-size:11px}}

/* 公開post: スマホ右サイドバー縦積み時の項目間を詰める */
@media(max-width:720px){.post-layout .post-dynamic-cards{gap:12px!important;margin-top:18px}.post-layout .post-dynamic-cards .post-card-section{padding:14px 16px!important}.post-layout .post-dynamic-cards .post-card-section>h2{margin-bottom:8px!important}.post-layout .post-dynamic-cards .post-card-grid{gap:2px!important}.post-layout .post-dynamic-cards .post-link-card-title-only a{padding-top:5px!important;padding-bottom:5px!important;line-height:1.45!important}.post-layout .post-dynamic-cards .post-link-card-title-only a::before{top:5px}}
.post-layout .post-dynamic-cards .post-link-card{grid-template-columns:96px minmax(0,1fr)!important;background:#fff!important}.post-layout .post-dynamic-cards .post-link-card__image{display:grid!important;place-items:center!important;overflow:hidden!important;background:#f4fafb!important}.post-layout .post-dynamic-cards .post-link-card__image img{width:100%!important;height:100%!important;min-height:96px!important;aspect-ratio:1/1!important;object-fit:contain!important;padding:4px!important;background:#f4fafb!important;image-rendering:auto!important;filter:saturate(.98) contrast(.96) blur(.08px)!important;transform:translateZ(0)!important;backface-visibility:hidden!important}.post-layout .post-dynamic-cards .post-link-card__body{padding:12px 12px 10px!important}@media(max-width:420px){.post-layout .post-dynamic-cards .post-link-card{grid-template-columns:90px minmax(0,1fr)!important}.post-layout .post-dynamic-cards .post-link-card__image img{min-height:90px!important;padding:3px!important}}

/* ブログトップ: サイドバーをpostページのカード調に合わせる */
.blog-sidebar .blog-sidebar-section{position:relative;overflow:hidden;border-color:#eadfc8;background:linear-gradient(135deg,#fff 0%,#fbfaf6 100%);box-shadow:0 14px 34px rgba(22,34,56,.09)}.blog-sidebar .blog-sidebar-section::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#1f7a8c,#d49a2a);opacity:.9}.blog-sidebar .blog-sidebar-section>h2{display:flex;align-items:center;gap:8px;margin-top:2px;font-size:21px;line-height:1.4}.blog-sidebar .blog-sidebar-section>h2::before{content:"";flex:0 0 auto;width:9px;height:24px;border-radius:999px;background:#1f7a8c;box-shadow:8px 0 0 rgba(212,154,42,.35)}.blog-sidebar .blog-sidebar-list{counter-reset:blog-side-post;gap:4px!important}.blog-sidebar .blog-sidebar-list li{counter-increment:blog-side-post}.blog-sidebar .blog-sidebar-list a{position:relative;padding:9px 0 9px 34px!important;line-height:1.55!important}.blog-sidebar .blog-sidebar-list a::before{content:counter(blog-side-post);position:absolute;left:0;top:8px;display:grid;place-items:center;width:23px;height:23px;border-radius:999px;background:#edf7f8;color:#1f7a8c;font-size:12px;font-weight:900}.blog-sidebar .blog-sidebar-list a:hover::before{background:#1f7a8c;color:#fff}.blog-sidebar .blog-sidebar-categories{gap:7px!important}.blog-sidebar .blog-sidebar-categories a{border-color:#d9e0e6!important;background:#fff!important;box-shadow:0 5px 14px rgba(22,34,56,.05);font-size:13px!important;line-height:1.25!important}.blog-sidebar .blog-sidebar-categories a:hover{border-color:#1f7a8c!important;background:#edf7f8!important;text-decoration:none!important}
@media(max-width:720px){.blog-sidebar .blog-sidebar-section{border-radius:18px;padding:16px}.blog-sidebar .blog-sidebar-section>h2{font-size:18px}.blog-sidebar .blog-sidebar-list a{font-size:14px!important;padding-left:31px!important}.blog-sidebar .blog-sidebar-list a::before{width:21px;height:21px;font-size:11px}.blog-sidebar .blog-sidebar-categories a{font-size:12px!important}}

/* ブログトップ: スマホサイドバー縦積み時の項目間を詰める */
@media(max-width:720px){.blog-sidebar{gap:12px!important}.blog-sidebar .blog-sidebar-section{padding:14px 16px!important}.blog-sidebar .blog-sidebar-section>h2{margin-bottom:8px!important}.blog-sidebar .blog-sidebar-list{gap:2px!important}.blog-sidebar .blog-sidebar-list a{padding-top:5px!important;padding-bottom:5px!important;line-height:1.45!important}.blog-sidebar .blog-sidebar-list a::before{top:5px}.blog-sidebar .blog-sidebar-categories{gap:5px!important}.blog-sidebar .blog-sidebar-categories a{min-height:25px!important;padding:4px 9px!important}}

/* 公開記事: h4小見出しは控えめに装飾する */
.post-body h4{display:block;max-width:100%;padding:0 0 8px 14px;border-left:4px solid #d49a2a;border-bottom:1px solid #eadfc8;color:#162238;background:linear-gradient(90deg,rgba(255,246,223,.65),rgba(255,255,255,0));box-sizing:border-box}
@media(max-width:720px){.post-body h4{padding:0 0 7px 11px;border-left-width:3px;border-bottom-color:#eadfc8}}

/* 公開記事: PC表は記事枠内に収め、モバイル表は小さめ文字で横スクロールにする */
.post-body table{width:100%;max-width:100%;table-layout:fixed;font-size:16px;line-height:1.65}.post-body th,.post-body td{box-sizing:border-box;overflow-wrap:anywhere;word-break:normal;padding:14px 16px}.post-body th:first-child,.post-body td:first-child{width:28%}.post-body th:not(:first-child),.post-body td:not(:first-child){width:36%}.post-body th:last-child,.post-body td:last-child{width:36%}
@media(max-width:720px){.post-body table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:13px!important;line-height:1.55!important;border-radius:14px}.post-body th,.post-body td{min-width:auto!important;padding:9px 10px!important;vertical-align:top}.post-body th:first-child,.post-body td:first-child{min-width:7em!important;max-width:9em;white-space:normal}.post-body th:not(:first-child),.post-body td:not(:first-child){min-width:11em!important;max-width:18em}.post-body th:last-child,.post-body td:last-child{min-width:16em!important;max-width:24em}.post-body table strong{font-weight:900}}

/* 生成記事: 関連記事を画像付き2カラムカードとして固定する */
.post-body .related-posts{margin:48px 0 0}.post-body .related-posts>h3{margin:0 0 14px!important;padding:18px 24px!important;border:0!important;border-left:7px solid #1f7a8c!important;border-radius:16px!important;background:linear-gradient(90deg,#edf7f8 0%,#fff6df 100%)!important;color:#162238!important;font-size:clamp(24px,3vw,32px)!important;line-height:1.35!important}.post-body .related-posts>p{margin:0 0 22px!important;color:#5c6575!important;font-size:16px!important;line-height:1.7!important}.post-body .related-post-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;margin:0!important;padding:0!important}.post-body .related-post-card{display:grid!important;grid-template-rows:auto 1fr!important;min-width:0!important;overflow:hidden!important;border:1px solid #eadfc8!important;border-radius:20px!important;background:#fff!important;box-shadow:0 14px 34px rgba(22,34,56,.09)!important;transition:transform .16s ease,box-shadow .16s ease}.post-body .related-post-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(22,34,56,.13)!important}.post-body .related-post-card__image{display:block!important;overflow:hidden!important;background:#edf7f8!important}.post-body .related-post-card__image img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.post-body .related-post-card__body{display:grid!important;align-content:start!important;gap:8px!important;padding:16px 18px 18px!important}.post-body .related-post-card__body h4{margin:0!important;padding:0!important;border:0!important;background:none!important;font-size:17px!important;line-height:1.55!important}.post-body .related-post-card__body h4 a{color:#162238!important;text-decoration:none!important}.post-body .related-post-card__body h4 a:hover{color:#1f7a8c!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important}.post-body .related-post-card__body p{margin:0!important;color:#5c6575!important;font-size:14px!important;line-height:1.65!important}
@media(max-width:720px){.post-body .related-posts{margin-top:34px}.post-body .related-posts>h3{padding:14px 16px!important;border-left-width:5px!important;border-radius:14px!important;font-size:22px!important}.post-body .related-posts>p{margin-bottom:14px!important;font-size:14px!important}.post-body .related-post-grid{grid-template-columns:1fr!important;gap:12px!important;overflow:visible!important;padding:0!important}.post-body .related-post-card{border-radius:16px!important}.post-body .related-post-card__body{padding:13px 14px 15px!important}.post-body .related-post-card__body h4{font-size:15px!important}.post-body .related-post-card__body p{font-size:13px!important}}

/* 記事管理: 検索フォーム */
.admin-search-form{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(180px,.8fr) auto;gap:12px 14px;align-items:end;margin:18px 0 22px;padding:16px;border:1px solid #e7e1d2;border-radius:18px;background:#fbfaf6}.admin-search-form label{display:grid!important;gap:6px!important;margin:0!important;font-weight:900}.admin-search-form label span{color:#162238;font-size:14px}.admin-search-actions{display:flex;gap:8px;align-items:center}.admin-search-actions .button-secondary{min-height:42px}@media(max-width:820px){.admin-search-form{grid-template-columns:1fr}.admin-search-actions{justify-content:flex-start}}


/* 0.2.5-0.2.7 SEO/keyword additions */
.target-keyword-form{display:grid;gap:12px}.target-keyword-form textarea{min-height:180px}
.badge-ok{background:#dcfce7;color:#166534}.badge-warn{background:#fef3c7;color:#92400e}.seo-public-status .badge{display:inline-flex;margin:8px 0}.seo-url-list{display:grid;gap:10px;margin:0}.seo-url-list div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:start}.seo-url-list dt{font-weight:900;color:#162238}.seo-url-list dd{margin:0;color:#475569;word-break:break-all}.seo-link-list{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}@media(max-width:720px){.seo-url-list div{grid-template-columns:1fr;gap:4px}}
.related-posts{margin:42px 0 0}.related-posts>h3{margin-bottom:10px}.related-posts>p{margin:0 0 18px;color:#5c6575;font-size:16px;line-height:1.7}.related-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.related-post-card{overflow:hidden;border:1px solid #e7e1d2;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(22,34,56,.07)}.related-post-card__image{display:block;background:#edf7f8}.post-body .related-post-card__image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0;border:0;border-radius:0;box-shadow:none}.related-post-card__body{padding:14px}.post-body .related-post-card__body h4{margin:0;padding:0;border:0;background:none;font-size:16px;line-height:1.55}.related-post-card__body h4 a{color:#162238;text-decoration:none}.related-post-card__body h4 a:hover{color:#1f7a8c;text-decoration:underline}.related-post-card__body p{margin:8px 0 0;color:#5c6575;font-size:13px;line-height:1.6}.related-posts>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0;padding:0;list-style:none;background:transparent;border:0;box-shadow:none}.related-posts>ul li{margin:0;padding:14px;border:1px solid #e7e1d2;border-radius:16px;background:#fff}
@media(max-width:720px){.related-posts{margin-top:32px}.related-posts>p{margin-bottom:14px;font-size:14px}.related-post-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 4px 10px;-webkit-overflow-scrolling:touch}.related-post-card{flex:0 0 78%;scroll-snap-align:start;border-radius:16px}.related-post-card__body{padding:12px}.post-body .related-post-card__body h4{font-size:14px;line-height:1.55}.related-post-card__body p{font-size:12px;line-height:1.55}.related-posts>ul{display:flex;gap:12px;overflow-x:auto;padding:0 4px 10px}.related-posts>ul li{flex:0 0 78%;font-size:14px;line-height:1.55}}
.post-body .related-posts{margin:48px 0 0}.post-body .related-posts>h3{margin:0 0 14px!important;padding:18px 24px!important;border:0!important;border-left:7px solid #1f7a8c!important;border-radius:16px!important;background:linear-gradient(90deg,#edf7f8 0%,#fff6df 100%)!important;color:#162238!important;font-size:clamp(24px,3vw,32px)!important;line-height:1.35!important}.post-body .related-posts>p{margin:0 0 22px!important;color:#5c6575!important;font-size:16px!important;line-height:1.7!important}.post-body .related-post-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;margin:0!important;padding:0!important}.post-body .related-post-card{display:grid!important;grid-template-rows:auto 1fr!important;min-width:0!important;overflow:hidden!important;border:1px solid #eadfc8!important;border-radius:20px!important;background:#fff!important;box-shadow:0 14px 34px rgba(22,34,56,.09)!important;transition:transform .16s ease,box-shadow .16s ease}.post-body .related-post-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(22,34,56,.13)!important}.post-body .related-post-card__image{display:block!important;overflow:hidden!important;background:#edf7f8!important}.post-body .related-post-card__body{display:grid!important;align-content:start!important;gap:8px!important;padding:16px 18px 18px!important}.post-body .related-post-card__body h4{margin:0!important;padding:0!important;border:0!important;background:none!important;font-size:17px!important;line-height:1.55!important}.post-body .related-post-card__body h4 a{color:#162238!important;text-decoration:none!important}.post-body .related-post-card__body h4 a:hover{color:#1f7a8c!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important}.post-body .related-post-card__body p{margin:0!important;color:#5c6575!important;font-size:14px!important;line-height:1.65!important}
@media(max-width:720px){.post-body .related-posts{margin-top:34px}.post-body .related-posts>h3{padding:14px 16px!important;border-left-width:5px!important;border-radius:14px!important;font-size:22px!important}.post-body .related-posts>p{margin-bottom:14px!important;font-size:14px!important}.post-body .related-post-grid{grid-template-columns:1fr!important;gap:12px!important;overflow:visible!important;padding:0!important}.post-body .related-post-card{border-radius:16px!important}.post-body .related-post-card__body{padding:13px 14px 15px!important}.post-body .related-post-card__body h4{font-size:15px!important}.post-body .related-post-card__body p{font-size:13px!important}}

.pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:30px 0 0}.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border:1px solid #e7e1d2;border-radius:999px;background:#fff;color:#162238;padding:0 14px;text-decoration:none;font-size:15px;font-weight:900;box-shadow:0 8px 20px rgba(22,34,56,.06)}.pagination a:hover{border-color:#1f7a8c;background:#edf7f8;color:#1f7a8c}.pagination span[aria-current=page]{border-color:#1f7a8c;background:#1f7a8c;color:#fff}

/* 公開post: サイドカードはタイトル、画像、日付の順に見せる */
.post-layout .post-dynamic-cards .post-card-grid{gap:12px!important}.post-layout .post-dynamic-cards .post-link-card{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;overflow:hidden!important;border-radius:18px!important;background:#fff!important}.post-layout .post-dynamic-cards .post-link-card__body{order:1!important;padding:14px 14px 8px!important}.post-layout .post-dynamic-cards .post-link-card__body h3{margin:0!important;font-size:15px!important;line-height:1.5!important;letter-spacing:.01em!important}.post-layout .post-dynamic-cards .post-link-card__body h3 a{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;color:#162238!important;text-decoration:none!important}.post-layout .post-dynamic-cards .post-link-card__body p{display:none!important}.post-layout .post-dynamic-cards .post-link-card__image{order:2!important;position:relative!important;display:block!important;overflow:hidden!important;margin:0 12px 12px!important;border-radius:14px!important;background:#edf7f8!important}.post-layout .post-dynamic-cards .post-link-card__image img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;object-fit:cover!important;padding:0!important;background:#edf7f8!important;filter:none!important;transform:none!important}.post-layout .post-dynamic-cards .post-link-card__date{position:absolute!important;left:8px!important;bottom:8px!important;z-index:2!important;display:inline-flex!important;align-items:center!important;min-height:24px!important;border-radius:999px!important;background:rgba(22,34,56,.82)!important;color:#fff!important;padding:3px 9px!important;font-size:12px!important;font-weight:900!important;line-height:1!important;letter-spacing:.02em!important;backdrop-filter:blur(6px)!important}
.post-layout .post-dynamic-cards .post-card-section>h2{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(16px,1.45vw,19px)!important;line-height:1.35!important;letter-spacing:0!important}
