
/* v1.7.0: public-release finishing, keep approved 85% body shell unchanged. */
/* Contact: pink 100 / white shell 85 / content panel ~75 / form ~65 of viewport. */
body.page-template-page-contact .entrance-main,body.page:has(.entrance-contact) .entrance-main{padding-inline:0}
body .entrance-main:has(.entrance-contact) > .entrance-contact{box-sizing:border-box;width:min(88.235%,1100px);max-width:88.235%;margin:0 auto 64px;padding:clamp(20px,3vw,44px);background:#fffdfa;border:1px solid #f1e5e8;border-radius:24px;box-shadow:0 9px 30px rgba(117,83,93,.05)}
body .entrance-main:has(.entrance-contact) .entrance-contact>label,body .entrance-main:has(.entrance-contact) .entrance-contact>p,body .entrance-main:has(.entrance-contact) .entrance-contact>.en-actions{display:block;width:min(100%,850px);margin-left:auto;margin-right:auto}
body .entrance-main:has(.entrance-contact) .entrance-contact input:not([type=hidden]):not([type=checkbox]),body .entrance-main:has(.entrance-contact) .entrance-contact select,body .entrance-main:has(.entrance-contact) .entrance-contact textarea{box-sizing:border-box;max-width:100%;width:100%}
/* Header: same vertical rhythm on TOP and subpages. */
body .site-header>.container,body.home .site-header>.container{box-sizing:border-box;min-height:132px;padding-top:20px;padding-bottom:0;display:flex;flex-direction:column;justify-content:space-between}
body .site-branding{align-self:flex-start;padding-top:3px}
body .site-title,body .site-header .site-title a{font-family:'Yu Mincho','Hiragino Mincho ProN',Georgia,serif;font-weight:600;letter-spacing:.055em;line-height:1.35}
body .site-title{font-size:clamp(21px,2.15vw,32px)}
body .site-header .site-title a{color:#c77e93;text-shadow:0 1px 0 #fff,0 2px 10px rgba(211,155,174,.14);text-decoration:none}
body .site-header .site-description{letter-spacing:.13em;margin-top:4px}
body .main-navigation a{border-radius:10px 10px 0 0;transition:background-color .24s,color .24s}
body .main-navigation a:hover,body .main-navigation a:focus-visible{background:rgba(225,160,177,.12)}
/* The original TOP and subpages share the same header geometry. */
body.home .site-header>.container{height:auto}
@media(max-width:900px){body .site-header>.container,body.home .site-header>.container{min-height:88px;padding:13px 65px 13px 20px;display:block}body .site-title{font-size:clamp(18px,4vw,25px)}body .main-navigation a{border-radius:6px}}
@media(max-width:640px){body .entrance-main:has(.entrance-contact)>.entrance-contact{width:calc(100% - 28px);max-width:none;padding:18px 16px}body .site-header>.container,body.home .site-header>.container{min-height:78px;padding:13px 58px 12px 15px}}
/* Plugin owns the width when installed; do not let legacy 500px widget constrain it. */
#colophon .footer-t .en-hida:has(.ensm-root){width:100%!important;max-width:100%!important}
#colophon .footer-t .en-hida .ensm-root{width:min(var(--ensm-width,500px),100%)!important;max-width:100%!important;margin:0 auto!important}

/* v1.7.1: shared site-branding, plum mizuhiki symbol. */
body .site-header .site-branding{display:flex;align-items:center;gap:15px;min-width:0;}
body .site-header .en-ume-knot{flex:0 0 58px;display:flex;align-items:center;justify-content:center;}
body .site-header .en-ume-knot img{display:block;width:58px;height:58px;object-fit:contain;}
body .site-header .en-brand-text{min-width:0;}
body .site-header .en-brand-text .site-title{margin:0;line-height:1.3;}
body .site-header .en-brand-text .site-description{margin-top:5px;letter-spacing:.13em;}
@media(max-width:900px){body .site-header .en-ume-knot{flex-basis:43px}body .site-header .en-ume-knot img{width:43px;height:43px}body .site-header .site-branding{gap:10px}}
@media(max-width:480px){body .site-header .en-ume-knot{flex-basis:34px}body .site-header .en-ume-knot img{width:34px;height:34px}body .site-header .site-branding{gap:7px}body .site-header .en-brand-text .site-title{font-size:clamp(15px,4vw,19px)}}

/* v1.7.6: do not clip the logo or the title at narrow widths. */
body .site-header .site-branding,body .site-header .en-ume-knot,body .site-header .en-brand-text{overflow:visible}
body .site-header .en-brand-text{max-width:100%;overflow-wrap:anywhere}
body .site-header .en-ume-knot img{max-width:100%;object-fit:contain}
