/* Only enqueued for the new branded review pages and content types. */
.post_content .wp-block-image img,.yh-service-hero img,.yh-meta,.yh-empty,.yh-review-contact,.post_content h2{border-radius:16px}.yh-review-nav a:last-child,.yh-review-contact>a,.post_content .wp-block-button__link{border-radius:10px;box-shadow:0 4px 0 #0f274718;transition:transform .3s,box-shadow .3s}.yh-review-contact>a{display:inline-block}.yh-review-contact>a:hover,.post_content .wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 7px 0 #0f274712}.yh-editorial-grid article{background:#F7F5EF;border:1px solid #e7dfd2;border-radius:16px;overflow:hidden}.yh-editorial-grid article img{border-radius:0}.yh-editorial-grid article h2{background:none;border:0;padding:18px;font-size:18px}.yh-editorial-grid article p{padding:0 18px 18px}.yh-review-contact{padding:40px;border:1px solid #e7dfd2}.yh-empty{border:1px dashed #d9cbb7}.post_content input,.post_content textarea,.post_content select,.post_content button{border-radius:9px}.yh-review-pagehead{padding:25px 0 15px}.post_content .yh-service-hero img{display:block}@media(max-width:767px){.yh-review-contact{padding:28px 18px}.yh-review-nav a:last-child{font-size:10px}.post_content .wp-block-image img,.yh-service-hero img{border-radius:12px}}@media(prefers-reduced-motion:reduce){.yh-review-contact>a,.post_content .wp-block-button__link{transition:none;transform:none!important}}
#fix_header{display:none!important}.yh-review-nav a:not(:last-child){color:#0F2747}.yh-review-pagehead h1{margin:0}.yh-review-contact h2:before,.yh-review-contact h2:after{display:none}
/* 2026-10-23: readable sans-serif and reusable draft-page cards. */
.post_content,.yh-review-nav,.yh-review-pagehead h1,.c-pageTitle{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif!important}.post_content{font-size:17px!important}.yh-review-pagehead h1{font-weight:750}.yh-review-nav{font-size:15px}.yh-review-contact>a,.post_content .wp-block-button__link{font-size:17px!important}.post_content small,.post_content figcaption,.yh-empty{font-size:14px!important}.yh-new-page .wp-block-group__inner-container{display:contents}.yh-new-page .yh-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0}.yh-new-page .yh-plan-card{display:flex;flex-direction:column;border-radius:18px;background:#F7F5EF;padding:24px;overflow:hidden}.yh-new-page .yh-plan-photo{margin:-24px -24px 20px}.yh-new-page .yh-plan-photo img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:0}.yh-new-page .yh-plan-card h3{font-size:22px;line-height:1.6}.yh-new-page .yh-plan-price{font-size:24px;font-weight:750;color:#b9472c}.yh-new-page .yh-plan-price strong{font-size:48px}.yh-new-page .yh-plan-tag{background:#f9dda6;border-radius:8px;padding:5px 10px;font-size:14px;font-weight:750}.yh-new-page .yh-small,.yh-new-page .yh-price-notice{font-size:14px;line-height:1.9}.yh-new-page .yh-plan-icon{width:75px;height:75px;color:#9a681e;background:#fff0d3;display:grid;place-items:center;border-radius:18px}.yh-new-page .yh-promise-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.yh-new-page .yh-promise-card{padding:25px;border-radius:18px;background:#f7f5ef}.yh-new-page .yh-promise-icon{color:#8b6226}.yh-new-page .yh-promise-card h3{font-size:22px;line-height:1.6}.yh-editorial-meta{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 18px}.yh-editorial-meta span{font-size:14px;overflow-wrap:anywhere;background:#fff7e5;border-radius:6px;padding:5px 8px}@media(max-width:767px){.post_content{font-size:16px!important}.yh-review-nav{gap:10px;font-size:14px}.yh-review-nav img{width:75px}.yh-review-nav a:last-child{font-size:14px;padding:11px 10px}.yh-new-page .yh-plan-grid,.yh-new-page .yh-promise-grid{grid-template-columns:1fr}.yh-new-page .yh-plan-card .wp-block-button__link{font-size:17px!important}}

.yh-new-page h2{background:none!important;border:0!important;padding:0!important;margin:28px 0!important;font-size:32px!important;font-weight:750;line-height:1.6}.yh-new-page h2:before,.yh-new-page h2:after,.yh-new-page h3:before,.yh-new-page h3:after{display:none!important}.yh-new-page h3{border:0!important;padding:0!important;margin:16px 0!important;font-weight:750}.yh-new-page .yh-promise-icon{display:block;margin-bottom:18px}.yh-new-page .yh-plan-card .wp-block-buttons{margin-top:auto}@media(max-width:767px){.yh-new-page h2{font-size:28px!important}}
/* Shared final alignment: only loaded on the branded draft pages. */
.yh-new-page :is(.yh-plan-card,.yh-promise-card){margin:0!important;min-width:0;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start}
.yh-new-page :is(.yh-plan-grid,.yh-promise-grid){align-items:stretch}
.yh-new-page .yh-promise-card h3{min-height:3.3em;line-height:1.65}.yh-new-page .yh-plan-card h3{min-height:3.3em}.yh-new-page .yh-plan-card .wp-block-buttons{width:100%;margin-top:auto!important}.yh-new-page .yh-plan-card .wp-block-button{width:100%}.yh-new-page .yh-plan-card .wp-block-button__link{width:100%;min-height:64px;display:flex;align-items:center;justify-content:center;line-height:1.6}
.yh-editorial-grid{align-items:stretch}.yh-editorial-grid article{display:flex;flex-direction:column;margin:0!important;min-width:0}.yh-editorial-grid article img{aspect-ratio:4/3;object-fit:cover;width:100%}.yh-editorial-grid article h2{min-height:3.3em;line-height:1.65}
@media(max-width:767px){.yh-new-page .yh-promise-card h3,.yh-new-page .yh-plan-card h3{min-height:0}}

/* YOHAKUDO_CLEAR_PRICE_CALLOUT_20261124: only the eight explicitly marked cost-summary blocks. */
#body_wrap .yk-page #yk-price .yk-cost-total--clear{
  background:#0F2747;color:#FFFFFF;border-radius:22px;
  padding:clamp(26px,4vw,40px) clamp(16px,3vw,30px);
  text-align:center;box-sizing:border-box;max-width:100%;
  font-size:clamp(14px,1.6vw,18px);font-weight:700;line-height:1.8;
}
#body_wrap .yk-page #yk-price .yk-cost-total--clear .yk-cost-formula{
  display:block;color:#FFFFFF;line-height:1.9;margin-bottom:12px;
}
#body_wrap .yk-page #yk-price .yk-cost-total--clear .yk-cost-formula>span{
  display:inline-block;white-space:nowrap;
}
#body_wrap .yk-page #yk-price .yk-cost-total--clear>strong{
  display:block;font-size:clamp(27px,3.5vw,46px);font-weight:900;
  color:#FFFFFF;line-height:1.45;letter-spacing:0;
}
#body_wrap .yk-page #yk-price .yk-cost-total--clear .yk-cost-lead,
#body_wrap .yk-page #yk-price .yk-cost-total--clear .yk-cost-highlight{
  display:inline-block;white-space:nowrap;
}
#body_wrap .yk-page #yk-price .yk-cost-total--clear .yk-cost-highlight{
  color:#E6C795;
}
@media(max-width:599px){
  #body_wrap .yk-page #yk-price .yk-cost-total--clear .yk-cost-lead,
  #body_wrap .yk-page #yk-price .yk-cost-total--clear .yk-cost-highlight{display:block}
}
