/* 記事ページを新トップ(雑誌風)に合わせます。AFFINGER7の記事ページ(body.single-post)だけに当てます */
body.single-post{--paper:#faf8f5;--ink:#161212;--sub:#5f5653;--wine:#7d1f31;--rule:#d9d2cc;
--en:"Bodoni Moda",Didot,serif;--ja:"Shippori Mincho",serif;--text:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic Medium","Yu Gothic",Meiryo,sans-serif;
background:var(--paper)!important;color:var(--ink);font-family:var(--text)!important}
body.single-post #st-ami,body.single-post #wrapper,body.single-post #wrapper-in,body.single-post #content-w,body.single-post main,body.single-post .st-post{background:transparent!important;border:0!important;box-shadow:none!important}

/* ヘッダー */
body.single-post #header-full,body.single-post #headbox-bg,body.single-post #headbox-bg-fixed,body.single-post header{background:var(--paper)!important;border:0!important}
body.single-post #headbox{display:block!important;position:relative;max-width:1240px;margin:0 auto;padding:0 20px 16px!important}
body.single-post #header-l,body.single-post #st-text-logo,body.single-post #st-text-logo .sitename,body.single-post #st-text-logo .descr{display:block!important;float:none!important;width:auto!important;max-width:none!important;text-align:center}
body.single-post #st-text-logo .descr{font:600 14px/1.8 var(--ja)!important;letter-spacing:.14em;color:var(--wine)!important;text-align:center!important;padding:10px 0!important;margin:0 -20px 22px!important;border-bottom:1px solid var(--rule)}
body.single-post #st-text-logo .descr::before{content:"プレシャイン｜"}
body.single-post #st-text-logo .sitename{text-align:center!important;margin:0!important}
body.single-post #st-text-logo .sitename img{position:absolute!important;opacity:0;width:1px!important;height:1px!important}
body.single-post #st-text-logo .sitename a{display:block;text-decoration:none}
body.single-post #st-text-logo .sitename a::after{content:"PRESHINE";display:block;font:500 clamp(44px,6.4vw,84px)/1.1 var(--en);letter-spacing:.06em;margin-right:-.06em;color:var(--ink)}
body.single-post #st-text-logo .sitename::after{content:"AIに聞く前に、まず自分の言葉に。";display:block;margin-top:8px;font:13px/1.8 var(--ja);letter-spacing:.24em;color:var(--ink)}
body.single-post #header-r{position:absolute!important;right:20px;top:56px;width:auto!important;float:none!important}
body.single-post #header-r .st-menu-side-primary{font-family:var(--en)!important;color:var(--ink)!important;letter-spacing:.16em}

/* 4つの入口を、トップのメニューと同じ文字の並びに */
body.single-post #st-header-cardlink{display:flex!important;flex-wrap:wrap;justify-content:center;max-width:1200px;margin:0 auto 8px!important;padding:0!important;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
body.single-post #st-header-cardlink .st-cardlink-card{background:none!important;box-shadow:none!important;flex:0 0 auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
body.single-post #st-header-cardlink .st-cardlink-card::before,body.single-post #st-header-cardlink .st-cardlink-card::after{display:none!important}
body.single-post #st-header-cardlink .st-cardlink-card-link{position:static!important;display:block!important;height:auto!important;padding:10px 30px!important;background:none!important;text-align:center}
body.single-post #st-header-cardlink .st-cardlink-card-text{position:static!important;transform:none!important;color:var(--sub)!important;text-shadow:none!important;font:400 12px/1.7 var(--text)!important;padding:0!important}
body.single-post #st-header-cardlink .st-cardlink-card-text br,body.single-post #st-header-cardlink .st-cardlink-subtext{display:none!important}
body.single-post #st-header-cardlink .st-cardlink-card-text::before{display:block;font:500 15px/1.6 var(--en);letter-spacing:.16em;color:var(--ink)}
body.single-post #st-header-cardlink li:nth-child(1) .st-cardlink-card-text::before{content:"MIND"}
body.single-post #st-header-cardlink li:nth-child(2) .st-cardlink-card-text::before{content:"SERVICE"}
body.single-post #st-header-cardlink li:nth-child(3) .st-cardlink-card-text::before{content:"MARKETING"}
body.single-post #st-header-cardlink li:nth-child(4) .st-cardlink-card-text::before{content:"AI"}
body.single-post #st-header-cardlink li:nth-child(5) .st-cardlink-card-text::before{content:"WEB DESIGN"}
body.single-post #st-header-cardlink li:nth-child(6) .st-cardlink-card-text::before{content:"COLUMN"}
/* CONTACTはフッターに一本化 */
body.single-post #header-r{display:none!important}

/* 題名まわり */
/* カテゴリー: ボルドー塗りつぶしの角丸 */
body.single-post p.st-catgroup:not(.itiran-category){display:block!important;width:100%!important;text-align:center!important;float:none!important}
body.single-post p.st-catgroup .catname,body.single-post .st-catgroup .catname{display:inline-block!important;background:var(--wine)!important;color:#fff!important;border:0!important;border-radius:999px!important;font:700 12px/1.4 var(--text)!important;letter-spacing:.1em;padding:6px 16px!important;margin:0 4px 6px 0!important}
body.single-post p.st-catgroup .catname a{color:#fff!important}
body.single-post p.st-catgroup.itiran-category .catname{font-size:11px!important;padding:4px 12px!important}
body.single-post h1.entry-title{font:600 clamp(25px,3vw,34px)/1.6 var(--ja)!important;color:var(--ink)!important;text-align:center;word-break:auto-phrase;text-wrap:balance;background:none!important;border:0!important;padding:0!important;margin:8px 0 12px!important}
body.single-post .blogbox{text-align:center;border:0!important}
body.single-post .blogbox .kdate,body.single-post .blogbox .kdate time{color:var(--sub)!important;font-size:13px!important;letter-spacing:.1em}

/* 本文 */
body.single-post .mainbox .entry-content p:not(.st-mybox-title),body.single-post .mainbox .entry-content li{font-size:16px;line-height:2.05;color:var(--ink)}
body.single-post .entry-content h2.wp-block-heading,body.single-post .entry-content h2{font:600 24px/1.65 var(--ja)!important;color:var(--ink)!important;text-align:center;word-break:auto-phrase;text-wrap:balance;background:none!important;border:0!important;border-top:1px solid var(--ink)!important;box-shadow:none!important;border-radius:0!important;padding:34px 8px 0!important;margin:20px 0 26px!important}
body.single-post .entry-content h2::before{content:""!important;display:block!important;position:static!important;width:36px!important;height:2px!important;background:var(--wine)!important;border:0!important;margin:0 auto 16px!important}
body.single-post .entry-content h2::after{display:none!important}
body.single-post .entry-content h3{font:600 19px/1.7 var(--ja)!important;color:var(--wine)!important;background:none!important;border:0!important;border-bottom:1px solid var(--rule)!important;border-radius:0!important;padding:0 0 10px!important}
body.single-post .entry-content h3::before,body.single-post .entry-content h3::after{display:none!important}

/* 結論・ワークの囲み */
body.single-post .st-mybox{background:#fff!important;border:0!important;border-top:1px solid var(--ink)!important;border-bottom:1px solid var(--ink)!important;border-radius:0!important;padding:0!important;margin-top:34px}
body.single-post .st-mybox .st-mybox-title,body.single-post .entry-content div.st-mybox p.st-mybox-title{position:static!important;display:block!important;background:none!important;color:var(--wine)!important;font:600 15px/1.8 var(--ja)!important;letter-spacing:.14em;text-align:center;padding:20px 20px 0!important;margin:0!important;transform:none!important}
body.single-post .st-mybox .st-mybox-title i{display:none}
body.single-post .st-mybox .st-in-mybox{background:none!important;border:0!important;padding:8px 26px 16px!important}
body.single-post .entry-content .st-list-underline li{border-bottom:1px solid var(--rule)!important}
body.single-post .entry-content ul li::before{color:var(--wine)!important;border-color:var(--wine)!important}
body.single-post .entry-content p.is-style-st-paragraph-memo{background:#fff!important;border:0!important;border-left:2px solid var(--wine)!important;border-radius:0!important}

/* テーマが上の線を白で隠すので消します */
body.single-post .st-mybox::before{display:none!important}

/* よくある質問 */
body.single-post .st-faq{--st--st-blocks--faq--question-color:#7d1f31!important;--st--st-blocks--faq--answer-color:#161212!important}
body.single-post .st-faq .st-faq__item{border-bottom:1px solid var(--rule)}
body.single-post .st-faq .st-faq__question::before,body.single-post .st-faq .st-faq__answer::before{background:none!important;border:0!important;font-family:var(--en)!important;font-weight:500!important;font-size:22px!important}
body.single-post .st-faq .st-faq__question::before{color:var(--wine)!important}
body.single-post .st-faq .st-faq__answer::before{color:var(--sub)!important}
body.single-post .st-faq .st-faq__question-content{font-weight:700!important}

body.single-post .entry-content a:not([class]){color:var(--wine);text-decoration:underline;text-underline-offset:4px}

/* この記事を書いた人・関連記事・前後の記事 */
body.single-post .st-author-box{background:#fff!important;border:0!important;border-top:1px solid var(--ink)!important;border-radius:0!important}
body.single-post #st-tab-menu{border:0!important}
body.single-post #st-tab-menu li{background:none!important;color:var(--wine)!important;font-family:var(--ja)!important}
body.single-post #st-tab-box{border:0!important}
body.single-post h4.point{border:0!important;border-top:1px solid var(--ink)!important;background:none!important;padding:18px 0 0!important}
body.single-post h4.point .point-in{background:none!important;color:var(--ink)!important;font:600 19px var(--ja)!important;padding:0!important}
body.single-post h4.point .point-in::before{content:"Related";font:500 28px var(--en);margin-right:14px}
body.single-post .kanren .kanren-t a{font-family:var(--ja)!important;font-weight:600;color:var(--ink)!important;line-height:1.7}
body.single-post .kanren dl{border-color:var(--rule)!important}

/* サイドバー */
body.single-post #side .st-author-box{border-top:1px solid var(--ink)!important}
body.single-post #side .st-widgets-title,body.single-post #side .st-widgets-title span,body.single-post #side h4.menu_underh2,body.single-post #side h4.menu_underh2 span{background:none!important;border-left:0!important;border-bottom:0!important;color:var(--ink)!important;font-family:var(--ja)!important;font-weight:600}
body.single-post #side .st-widgets-title{border-top:1px solid var(--ink)!important;padding:14px 0 6px!important;text-align:center}
body.single-post #side li a{border-color:var(--rule)!important}

body.single-post #side .st-widgets-title,body.single-post #side .st-widgets-title span{border-radius:0!important;box-shadow:none!important;border-right:0!important}
body.single-post #side .st-widgets-title::before,body.single-post #side .st-widgets-title::after,body.single-post #side .st-widgets-title span::before,body.single-post #side .st-widgets-title span::after{display:none!important}
body.single-post #side .st-author-box{border-left:0!important;border-right:0!important;border-bottom:1px solid var(--rule)!important}
body.single-post .entry-content h3.wp-block-heading{padding:0 0 10px!important}

body.single-post .st-faq .st-faq__question::before{content:"Q"!important}
body.single-post .st-faq .st-faq__answer::before{content:"A"!important}
body.single-post h4.point::before,body.single-post h4.point::after,body.single-post h4.point .point-in::after{display:none!important}
body.single-post .st-author-box,body.single-post .st-author-box .st-author-profile,body.single-post #side .st-author-box{border-left:0!important;border-right:0!important;border-bottom:1px solid var(--rule)!important}
body.single-post .st-author-box .st-author-profile{border-top:0!important}
body.single-post p.is-style-st-paragraph-memo::before,body.single-post p.is-style-st-paragraph-memo::after{display:none!important}

body.single-post h4.point .point-in{position:static!important;display:block!important;transform:none!important;margin:0!important;line-height:1.6!important}

/* 書体は2種類にそろえる: 見出し=明朝(--ja) / それ以外=ゴシック(--text)。英字の飾り(ロゴ・メニュー・数字)だけ Bodoni */
body.single-post :where(*:not(i):not([class*="fa-"]):not([class*="st-fa"]):not(#wpadminbar):not(#wpadminbar *):not([class*="dashicons"])){font-family:var(--text)!important}
body.single-post :where(h1,h2,h3,h4,.st-widgets-title,.st-mybox-title,.kanren-t,.st-menu-side-primary) :where(*:not(i):not([class*="fa-"]):not([class*="st-fa"]):not(#wpadminbar):not(#wpadminbar *):not([class*="dashicons"])){font-family:inherit!important}
body.single-post :where(h1,h2,h3){font-family:var(--ja)!important}

/* 順番の図(文字で作る図解) */
body.single-post .entry-content ol.pf-flow{list-style:none!important;margin:0 0 30px!important;padding:0!important;background:#fff!important;border:0!important;border-top:1px solid var(--ink)!important;border-bottom:1px solid var(--ink)!important;counter-reset:none!important}
body.single-post .entry-content ol.pf-flow li{display:grid!important;grid-template-columns:76px 1fr;align-items:center;margin:0!important;padding:18px 20px 18px 8px!important;border:0!important;list-style:none!important}
body.single-post .entry-content ol.pf-flow li+li{border-top:1px solid var(--rule)!important}
body.single-post .entry-content ol.pf-flow li::before,body.single-post .entry-content ol.pf-flow li::after{display:none!important}
body.single-post .pf-flow .n{grid-row:span 2;text-align:center;font:italic 400 30px/1 "Bodoni Moda",serif!important;color:var(--wine)}
body.single-post .pf-flow b{font:600 19px/1.6 "Shippori Mincho",serif!important;color:var(--ink)}
body.single-post .pf-flow .d{font-size:14px;line-height:1.7;color:var(--sub)}

/* フッター: 淡い生成り。ロゴはヘッダーと同じ文字 */
body.single-post footer,body.single-post #footer{background:#f1ece6!important;margin-top:50px}
body.single-post footer{border-top:1px solid var(--ink)}
body.single-post footer,body.single-post footer *{background-image:none!important}
body.single-post #footer,body.single-post #footer *{color:var(--ink)!important;border-color:var(--rule)!important}
body.single-post #footer #footer-wrapper,body.single-post #footer #footer-in,body.single-post #footer .footer-wbox,body.single-post #footer .footermenubox{background:transparent!important}
body.single-post #footer #footer-wrapper::before{display:none!important}
body.single-post #footer,body.single-post #footer #footer-wrapper,body.single-post #footer .footer-wbox,body.single-post #footer .footer-l,body.single-post #footer #st-text-logo{margin-top:0!important;padding-top:0!important;min-height:0!important}
body.single-post #footer .footermenubox ul{display:flex!important;flex-wrap:wrap;justify-content:center;row-gap:8px}
body.single-post #footer .footermenubox li{white-space:nowrap}
body.single-post #footer #footer-in{display:flex!important;flex-direction:column;align-items:center;padding-top:44px!important}
body.single-post #footer .footer-wbox{order:1;display:flex!important;flex-direction:column;align-items:center;width:100%}
body.single-post #footer .footer-l,body.single-post #footer .footer-r{float:none!important;width:100%!important;max-width:420px;margin:0 auto!important;padding:0 12px!important;text-align:center}
body.single-post #footer .footer-l{order:1}body.single-post #footer .footer-r{order:2}
body.single-post #footer #st-text-logo{display:flex!important;flex-direction:column;align-items:center;margin:0!important}
body.single-post #footer .footerlogo{order:1;margin:0!important;text-align:center}
body.single-post #footer .footerlogo img{position:absolute!important;opacity:0;width:1px!important;height:1px!important}
body.single-post #footer .footerlogo a{display:block;text-decoration:none}
body.single-post #footer .footerlogo a::after{content:"PRESHINE";display:block;font:500 44px/1.2 var(--en);letter-spacing:.08em;margin-right:-.08em}
body.single-post #footer .footer-description{order:2;margin:4px 0 22px!important;padding:0!important;font:600 13px/1.8 var(--ja)!important;letter-spacing:.1em;text-align:center}
body.single-post #footer .footer-description a{font-family:var(--ja)!important}
body.single-post #footer .footer-contact{text-align:center}
body.single-post #footer .footer-contact-label{display:none!important}
body.single-post #footer .footer-contact-text{font-size:14px!important}
body.single-post #footer a.footer-contact-btn{display:inline-flex!important;width:auto!important;gap:28px;padding:12px 34px!important;background:var(--wine)!important;border:1px solid var(--wine)!important}
body.single-post #footer a.footer-contact-btn,body.single-post #footer a.footer-contact-btn span{color:#fff!important}
body.single-post #footer .footermenubox{order:2;margin:32px 0 0!important}
body.single-post #footer .copyr{order:3;color:var(--sub)!important}
body.single-post #page-top a{background:var(--wine)!important}
body.single-post #st-header-cardlink a,body.single-post #st-header-cardlink a *{text-decoration:none!important}

@media(max-width:959px){
body.single-post #headbox{padding-top:0!important}
body.single-post #st-text-logo .descr{font-size:14px!important;letter-spacing:.02em;margin:0 -20px 16px!important;padding:0 4px 8px!important}
body.single-post #st-text-logo .descr::before{content:"プレシャイン";display:block}
body.single-post #st-text-logo .sitename::after{font-size:12px;letter-spacing:.14em}
body.single-post #s-navi,body.single-post #s-navi dl,body.single-post #s-navi dt.trigger{background:transparent!important}
body.single-post #s-navi .acordion_button .op,body.single-post #s-navi .acordion_button i{color:var(--ink)!important}
body.single-post #st-header-cardlink{margin:0 12px 8px!important}
body.single-post #st-header-cardlink .st-cardlink-card{width:33.333%!important;flex:0 0 33.333%!important}
body.single-post #st-header-cardlink .st-cardlink-card-text{font-size:12px!important}
body.single-post #st-header-cardlink .st-cardlink-card-text::before{font-size:13px;letter-spacing:.08em}
body.single-post #st-header-cardlink .st-cardlink-card-link{padding:9px 4px!important}
body.single-post h1.entry-title{font-size:23px!important}
body.single-post .entry-content h2.wp-block-heading,body.single-post .entry-content h2{font-size:21px!important}
body.single-post .st-mybox .st-in-mybox{padding:6px 18px 12px!important}
}

/* バナー設定がオフのときに差し込むメニューと、スマホのフッターのはみ出し */
body.single-post #st-header-cardlink li{list-style:none!important}
body.single-post #footer .footer-l,body.single-post #footer .footer-r{box-sizing:border-box}

/* 記事の下のELLY LAB案内バナー(白) (2026-11-27) */
body.single-post .entry-content a.ebn{display:grid;grid-template-columns:44% 1fr;align-items:center;margin:8px 0 10px;text-decoration:none;overflow:hidden;line-height:1.7;text-align:left;border:1px solid #7d1f31;background:#fff;color:#2e2825}
.ebn span{display:block}.ebn .eb-shots{position:relative;height:300px;background:#f0ece7}.ebn .eb-ph{position:absolute;width:136px;height:292px;border:6px solid #221a19;border-radius:26px;overflow:hidden;background:#fbf8f6;box-shadow:0 14px 28px rgba(30,10,10,.3)}
body.single-post .entry-content .ebn .eb-ph img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:top;margin:0!important;display:block}
.ebn .eb-front{left:50%;margin-left:-108px;top:34px;rotate:-5deg;z-index:2}.ebn .eb-back{left:50%;margin-left:-10px;top:62px;rotate:8deg}
.ebn .eb-free{position:absolute;right:2px;top:16px;z-index:3;width:68px;height:68px;border-radius:50%;background:#f9f7f4;border:1px solid #7d1f31;color:#7d1f31;font:700 15px/1.2 sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center}.ebn .eb-free i{font:italic 14px "Bodoni Moda",serif}
.ebn .eb-tx{padding:24px 28px 24px 20px}.ebn .eb-s{font-size:14px;color:#7d1f31}.ebn .eb-n{font-size:36px;line-height:1.3;letter-spacing:.05em;margin:4px 0}.ebn .eb-m{font-size:18px}.ebn .eb-d{font-size:14px;margin-top:4px}
body.single-post .entry-content .ebn .eb-btn3{display:inline-block;margin-top:16px;padding:12px 22px;font-size:15px;letter-spacing:.08em;background:#7d1f31;color:#fff}
@media(max-width:599px){.ebn .eb-ph{width:122px;height:250px}.ebn .eb-front{margin-left:-96px;top:26px}.ebn .eb-back{margin-left:-8px;top:48px}body.single-post .entry-content a.ebn{grid-template-columns:1fr;text-align:center}.ebn .eb-shots{height:320px;overflow:hidden}.ebn .eb-tx{padding:22px 16px 24px}.ebn .eb-n{font-size:32px}}
body.single-post .entry-content a.ebn .eb-n{font-family:"Bodoni Moda",Didot,serif!important;font-weight:500!important}
body.single-post .entry-content a.ebn .eb-s,body.single-post .entry-content a.ebn .eb-m{font-family:"Shippori Mincho",serif!important;font-weight:600!important}

/* check-white 2026-11-30: レ点の丸リストは印を白に */
body.single-post .entry-content ul.is-style-st-maruck li::before,body.single-post .entry-content ul.maruck li::before{color:#fff!important}
