/* 株式会社アコルダ 共通表示 */
body { --ac-ink:#172f45; --ac-text:#253649; --ac-link:#075a70; --ac-line:#dbe5ec; --ac-font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; }
body #skel-panels-pageWrapper, body #skel-panels-pageWrapper *:not(i):not([class*="icon"]):not([class~="fa"]), body #navPanel, body #navPanel a { font-family:var(--ac-font) !important; }
body #main { color:var(--ac-text); background-color:#f5f8fb; }
body #content { color:var(--ac-text); line-height:1.75; overflow-wrap:anywhere; }
body #content :is(p,li,td,div,span,font)[style*="font-size"], body #content font[size] { font-size:1rem !important; }
body #content :is(p,li,td,div,span,font)[style*="line-height"] { line-height:1.75 !important; }
body #content :is(p,li,span,font)[style*="color"]:not([style*="background"]), body #content font[color] { color:inherit !important; }
body #content h1, body #content h2, body #content h3 { color:var(--ac-ink); line-height:1.4; font-weight:700; }
body #content h1 { font-size:clamp(1.65rem,4vw,2.2rem); }
body #content h2 { font-size:clamp(1.3rem,3vw,1.65rem); margin:1.5em 0 .65em; }
body #content h3 { font-size:1.15rem; margin:1.25em 0 .5em; }
body #content a:not([class]), body #sidebar td a { color:var(--ac-link); text-underline-offset:.18em; }
body #content img { max-width:100%; height:auto; vertical-align:middle; }
body #sidebar { overflow-wrap:anywhere; }
body #sidebar td { line-height:1.65; }
body #menu a { line-height:1.45; }
body #content :is(a,button,input,select,textarea):focus-visible, body #menu a:focus-visible, body #sidebar a:focus-visible { outline:3px solid #e19522; outline-offset:3px; }
body #content .ac-intro { background:#fff; padding:clamp(1.25rem,4vw,2.5rem); border:1px solid var(--ac-line); border-top:4px solid var(--ac-link); border-radius:12px; margin:0 0 1.5rem; }
body #content .ac-intro h1 { margin:.3em 0; }
body #content .ac-intro p { margin:0 0 .6rem; }
body #content .ac-services { display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0 0; }
body #content .ac-services a { display:inline-block; border:1px solid var(--ac-line); border-radius:6px; padding:.45rem .75rem; background:#f5f8fb; font-weight:700; }
body #content .ac-news { margin:1rem 0 1.5rem; padding:clamp(1rem,3vw,1.6rem); background:#fff; border:1px solid var(--ac-line); border-radius:10px; }
body #content .ac-news time { color:#52697a; font-size:.875rem; }
body #content .ac-news h3 { margin:.25rem 0 .65rem; }
body #content .ac-news p { margin:.55rem 0; }
body #content .ac-news img { display:block; margin:.75rem auto; border-radius:5px; }


/* ハイビガー院内共有資料をお問い合わせフォームの下に表示 */
body:has(#content form textarea[name="body"]):has(#content form input[name="hncaptcha"]) #hivigor-handout { display: block !important; scroll-margin-top: 2rem; }

/* お問い合わせフォームの上に院内共有用PDFを配置 */
#skel-panels-pageWrapper:has(#content form textarea[name="body"]):has(#content form input[name="hncaptcha"]):has(#hivigor-handout){display:flex;flex-direction:column}
#skel-panels-pageWrapper:has(#content form textarea[name="body"]):has(#content form input[name="hncaptcha"]):has(#hivigor-handout) > #footer,
#skel-panels-pageWrapper:has(#content form textarea[name="body"]):has(#content form input[name="hncaptcha"]):has(#hivigor-handout) > #footer > .container{display:contents}
#skel-panels-pageWrapper:has(#content form textarea[name="body"]):has(#content form input[name="hncaptcha"]):has(#hivigor-handout) #hivigor-handout{order:1;box-sizing:border-box;width:min(860px,calc(100% - 32px));margin:12px auto 16px !important}
#skel-panels-pageWrapper:has(#content form textarea[name="body"]):has(#content form input[name="hncaptcha"]):has(#hivigor-handout) > #main{order:2}
#skel-panels-pageWrapper:has(#content form textarea[name="body"]):has(#content form input[name="hncaptcha"]):has(#hivigor-handout) #acorda-footer-details{order:3;background:#161616}
