/* Each rule belongs to the front-page template. */
body.ngh {
    --ink: #182f36;
    --muted: #50636a;
    --green: #155d51;
    --line: #d7e2df;
    --pale: #eaf4ee;
    background: #fff;
    color: var(--ink);
    margin: 0;
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    -webkit-text-size-adjust: 100%;
}
.ngh .ngh-header *, .ngh .ngh-main *, .ngh .ngh-footer *, .ngh .ngh-skip {box-sizing:border-box}
.ngh .ngh-width {width:min(calc(100% - 72px),1136px);max-width:none;margin-inline:auto}
.ngh .ngh-main {display:block;width:100%;margin:0;padding:0;border:0}
.ngh .ngh-header, .ngh .ngh-footer {width:100%;margin:0;padding:0}
.ngh .ngh-header {position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:15;background:#fff;border-bottom:1px solid var(--line)}
.ngh .ngh-bar {display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:66px}
.ngh .ngh-brand, .ngh .ngh-footer-brand {display:inline-flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:19px;font-weight:800;letter-spacing:.025em;white-space:nowrap;line-height:1.25}
.ngh .ngh-brand {min-height:44px}
.ngh .ngh-mark {display:inline-flex;width:31px;height:33px;align-items:flex-end;gap:3px;padding:5px 3px;border-bottom:2px solid var(--green)}
.ngh .ngh-mark i {display:block;width:5px;height:20px;flex:none;border:2px solid var(--green);border-radius:1px;background:transparent}
.ngh .ngh-mark i:nth-child(2) {height:23px;background:var(--green)}
.ngh .ngh-mark i:nth-child(3) {height:17px;transform:rotate(-13deg);transform-origin:50% 95%}
.ngh .ngh-menu {display:flex;gap:25px;align-items:center}
.ngh .ngh-menu a, .ngh .ngh-footer nav a {display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-size:14px;font-weight:650;text-decoration:none}
.ngh .ngh-menu a:hover, .ngh .ngh-shortcuts a:hover, .ngh .ngh-footer a:hover {color:var(--green);text-decoration:underline;text-underline-offset:4px}
.ngh .ngh-hero {position:relative;background:#edf4ee;border-bottom:1px solid #d7e5db}
.ngh .ngh-hero-inner {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr);gap:clamp(40px,6vw,82px);align-items:center;padding:38px 0 36px}
.ngh .ngh-hero-copy {min-width:0}
.ngh .ngh-hero h1 {margin:0;padding:0;border:0;background:none;color:#173a33;font-size:clamp(37px,4vw,55px);letter-spacing:.01em;font-weight:800;line-height:1.22}
.ngh .ngh-intro {margin:11px 0 20px;font-size:15px;color:#3d5550;line-height:1.75}
.ngh .ngh-small-break {display:none}
.ngh .ngh-hero-photo {height:100%;min-height:218px;max-height:278px;border-radius:6px;background-color:#d7dfd4}
@media(min-width:821px) {
    .ngh .ngh-hero-photo {background-image:url('https://nogusan.com/wp-content/uploads/2026/01/ae46a6bb41e1d83b349a24021bb80700.jpg');background-size:307% auto;background-position:left 49%;background-repeat:no-repeat}
}
.ngh .ngh-finder {position:relative;z-index:3}
.ngh .ngh-form {display:flex;align-items:center;gap:9px;border:1.5px solid #78918a;border-radius:7px;background:#fff;padding:4px 4px 4px 15px;margin:0;box-shadow:0 2px 6px #153e2909}
.ngh .ngh-form:focus-within {border-color:var(--green);box-shadow:0 0 0 2px #80b3a3}
.ngh .ngh-glass {position:relative;display:inline-block;flex:0 0 16px;width:16px;height:16px;border:2px solid #56746b;border-radius:50%;margin:0 4px 3px 0}
.ngh .ngh-glass::after {content:"";position:absolute;width:7px;height:2px;background:#56746b;transform:rotate(46deg);right:-5px;bottom:-2px}
.ngh .ngh-form input[type="search"] {width:100%;min-width:0;height:44px;flex:1;padding:0 4px;border:none;background:transparent;box-shadow:none;outline:0;color:var(--ink);font:inherit;font-size:16px;border-radius:0}
.ngh .ngh-form input[type="search"]::placeholder {color:#566861;opacity:1}
.ngh .ngh-form button {min-height:44px;min-width:84px;flex:none;margin:0;padding:8px 19px;border:1px solid var(--green);border-radius:4px;color:#fff;background:var(--green);font:inherit;font-weight:700;line-height:1.25;cursor:pointer;white-space:nowrap}
.ngh .ngh-form button:hover {background:#0c443b}
.ngh .ngh-shortcuts {display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;margin-top:4px}
.ngh .ngh-shortcuts a {display:inline-flex;align-items:center;min-height:44px;color:#245e51;font-size:13px;font-weight:650;text-decoration:underline;text-decoration-color:#95b5a9;text-underline-offset:4px}
.ngh .ngh-shortcuts a::after {content:"";width:5px;height:5px;margin-left:6px;border-right:1.5px solid;border-top:1.5px solid;transform:rotate(45deg)}
.ngh .ngh-suggestions {position:absolute;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid #a2b8b0;border-radius:6px;box-shadow:0 8px 18px #192e3620;overflow:auto;max-height:min(355px,52vh)}
.ngh .ngh-suggestions ul {margin:0;padding:4px;list-style:none}
.ngh .ngh-suggestions li {margin:0;padding:0;list-style:none}
.ngh .ngh-suggestions a {display:flex;min-height:44px;padding:8px 12px;align-items:center;gap:12px;justify-content:space-between;line-height:1.45;text-decoration:none;color:var(--ink);font-size:15px;border-radius:3px}
.ngh .ngh-suggestions small {font-size:12px;color:var(--muted);flex:none}
.ngh .ngh-suggestions a[aria-selected=true], .ngh .ngh-suggestions a:hover {background:#e4f1ea;color:#164a3c}
.ngh .ngh-suggestions li:last-child a {border-top:1px solid var(--line);color:var(--green);font-weight:650}
.ngh .ngh-document, .ngh .ngh-content {background:#fff;border:0;padding:0;box-shadow:none}
.ngh .ngh-document {margin-top:0;margin-bottom:46px}
.ngh .ngh-content {margin:0;color:var(--ink);font-size:16px;line-height:1.65}
.ngh .ngh-content h2,.ngh .ngh-content h3,.ngh .ngh-content h4 {background:none;border:none;border-radius:0;box-shadow:none;padding:0;color:var(--ink);font-weight:750;letter-spacing:0;line-height:1.45}
.ngh .ngh-content h2::before,.ngh .ngh-content h2::after,.ngh .ngh-content h3::before,.ngh .ngh-content h3::after,.ngh .ngh-content h4::before,.ngh .ngh-content h4::after {content:none}
.ngh .ngh-directory-start {margin:0;padding-top:33px}
.ngh .ngh-section-title, .ngh .ngh-panel-heading {display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px}
.ngh .ngh-section-title {margin:0 0 16px}
.ngh .ngh-section-title h2, .ngh h2.ngh-recent-title {margin:0;font-size:clamp(22px,2.25vw,29px)}
.ngh .ngh-count, .ngh .ngh-panel-heading>span {color:var(--muted);font-size:13px;font-weight:500}
.ngh .nogu-quick-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
.ngh .ngh-tab {display:flex;position:relative;flex-direction:column;justify-content:center;min-height:75px;padding:11px 28px 11px 15px;border:1px solid #becfc9;border-radius:5px;background:#fff;color:var(--ink);text-decoration:none}
.ngh .ngh-tab strong {font-size:16px;line-height:1.5}
.ngh .ngh-tab span {color:var(--muted);font-size:12px;line-height:1.55;margin-top:3px}
.ngh .ngh-tab::after,.ngh .ngh-group>summary::after {content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:translateY(-70%) rotate(45deg)}
.ngh .ngh-tab:hover,.ngh .ngh-group>summary:hover {background:#f0f7f2}
.ngh .ngh-tab[aria-current="true"] {background:#164f45;border-color:#164f45;color:#fff}
.ngh .ngh-tab[aria-current="true"] span {color:#e3f1eb}
.ngh .ngh-panel {margin:19px 0 0;padding:22px 25px 25px;background:#f5f8f6;border:1px solid #dae4de;border-radius:6px;scroll-margin-top:12px}
.ngh .ngh-panel-heading {margin:0 0 14px;gap:10px}
.ngh .ngh-panel-heading h3 {margin:0;font-size:21px}
.ngh .ngh-groups {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}
.ngh .ngh-group,.ngh .ngh-single {margin:0;border-radius:4px;border:1px solid var(--line);background:#fff;min-width:0}
.ngh .ngh-group[open] {grid-column:1 / -1}
.ngh .ngh-group>summary {position:relative;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:51px;padding:9px 33px 9px 13px;color:var(--ink);line-height:1.45;cursor:pointer;border-radius:4px;font-weight:650;font-size:15px}
.ngh .ngh-group>summary::-webkit-details-marker {display:none}
.ngh .ngh-group>summary small {white-space:nowrap;font-size:12px;color:var(--muted);font-weight:450}
.ngh .ngh-group[open]>summary {color:var(--green);border-bottom:1px solid var(--line);background:#edf4ee}
.ngh .ngh-group[open]>summary::after {transform:translateY(-25%) rotate(225deg)}
.ngh .ngh-content .medical-guide-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;margin:0}
.ngh .ngh-content .ngh-groups>.medical-guide-grid {grid-column:1/-1;padding:0}
.ngh .ngh-content .medical-guide-grid>a,.ngh .ngh-purposes a {position:relative;display:flex;align-items:center;min-width:0;min-height:48px;padding:5px 25px 5px 6px;gap:12px;background:#fff;border:1px solid var(--line);border-radius:4px;text-decoration:none;color:var(--ink);line-height:1.5}
.ngh .medical-guide-grid>a::after,.ngh .ngh-purposes a::after {content:"";position:absolute;right:13px;top:50%;width:6px;height:6px;border:solid #57776b;border-width:1.7px 1.7px 0 0;transform:translateY(-50%) rotate(45deg)}
.ngh .ngh-content .medical-guide-grid>a:hover,.ngh .ngh-purposes a:hover {background:#edf5ef;border-color:#82a595;color:#164c40}
.ngh .ngh-content .medical-guide-grid picture {display:block;flex:none}
.ngh .ngh-content .medical-guide-grid img {display:block;width:88px;height:auto;aspect-ratio:300/164;max-width:none;object-fit:contain;flex:none;border:0;border-radius:2px;margin:0;vertical-align:middle}
.ngh .ngh-content .medical-guide-grid a>span {padding:0;font-size:14px;font-weight:650;overflow-wrap:anywhere}
.ngh .ngh-single .medical-guide-grid {display:block;padding:0}
.ngh .ngh-single .medical-guide-grid>a {border:0;min-height:51px}
.ngh .ngh-single .medical-guide-grid img {width:65px}
.ngh .ngh-subnav {display:flex;flex-wrap:wrap;gap:4px 14px;border-bottom:1px solid var(--line);margin:0 0 14px;padding:0 0 8px}
.ngh .ngh-subnav a {min-height:44px;display:inline-flex;align-items:center;color:var(--green);font-size:14px;text-underline-offset:3px}
.ngh h4.ngh-domain {font-size:17px;margin:23px 0 9px;scroll-margin-top:12px}
.ngh .ngh-purpose {margin:34px 0 31px}
.ngh .ngh-purposes {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ngh .ngh-purposes a {min-height:66px;align-items:flex-start;justify-content:center;flex-direction:column;gap:2px;padding:9px 25px 9px 15px}
.ngh .ngh-purposes strong {font-size:15px}
.ngh .ngh-purposes span {font-size:12px;color:var(--muted)}
.ngh .ngh-content ul.ngh-latest {padding:0;margin:13px 0 0;list-style:none;border-top:1px solid var(--line)}
.ngh .ngh-content .ngh-latest li {display:flex;align-items:baseline;justify-content:space-between;gap:8px 24px;margin:0;padding:0;border-bottom:1px solid var(--line);line-height:1.5}
.ngh .ngh-latest .wp-block-latest-posts__post-title {padding:12px 0;display:block;min-height:44px;color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;flex:1}
.ngh .ngh-latest .wp-block-latest-posts__post-title:hover {color:var(--green);text-decoration:underline}
.ngh .ngh-latest .wp-block-latest-posts__post-date {color:var(--muted);font-size:12px;white-space:nowrap}
.ngh .ngh-footer {border-top:1px solid var(--line);background:#f4f7f5}
.ngh .ngh-footer-inner {display:flex;align-items:center;justify-content:space-between;gap:16px 24px;padding:23px 0}
.ngh .ngh-footer-brand {font-size:15px}
.ngh .ngh-footer-inner p {max-width:480px;color:var(--muted);font-size:12px;margin:6px 0 0}
.ngh .ngh-footer nav {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 15px}
.ngh .ngh-footer nav a {font-size:12px}
.ngh .ngh-sr, .ngh .ngh-skip:not(:focus) {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.ngh .ngh-skip:focus {position:absolute;left:10px;top:6px;z-index:100000;background:white;color:var(--green);padding:8px 12px}
.ngh :is(.ngh-main,.ngh-header,.ngh-footer) :is(a,button,summary):focus-visible,.ngh .ngh-skip:focus-visible {outline:3px solid #126d9b;outline-offset:3px;z-index:1}
.ngh .ngh-main [hidden] {display:none!important}
.ngh :is(#book-search,#directory,#purpose,#recent,.ngh-domain,.ngh-panel,.ngh-group,.ngh-single) {scroll-margin-top:calc(80px + var(--wp-admin--admin-bar--height,0px))}
.ngh .ngh-main a:focus-visible,.ngh .ngh-main summary:focus-visible {scroll-margin-top:calc(80px + var(--wp-admin--admin-bar--height,0px))}
@media (max-width:1000px) {
    .ngh .ngh-groups,.ngh .ngh-content .medical-guide-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
    .ngh .ngh-single .medical-guide-grid {display:block}
    .ngh .ngh-footer-inner {align-items:flex-start;flex-direction:column}
    .ngh .ngh-footer nav {justify-content:flex-start}
}
@media (max-width:820px) {
    .ngh .ngh-width {width:calc(100% - 48px)}
    .ngh .ngh-hero-inner {display:block;padding:27px 0 19px}
    .ngh .ngh-hero-photo {display:none}
    .ngh .nogu-quick-nav,.ngh .ngh-purposes {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px) {
    .ngh .ngh-width {width:calc(100% - 32px)}
    .ngh .ngh-bar {min-height:55px;gap:6px}
    .ngh .ngh-menu {gap:12px}
    .ngh .ngh-menu a {font-size:12px}
    .ngh .ngh-brand {font-size:16px;gap:6px}
    .ngh .ngh-mark {transform:scale(.88);transform-origin:left center;width:27px}
    .ngh .ngh-hero h1 {font-size:35px}
    .ngh .ngh-intro {font-size:14px;line-height:1.65;margin:7px 0 14px}
    .ngh .ngh-small-break {display:inline}
    .ngh .ngh-form {gap:4px;padding-left:12px}
    .ngh .ngh-form button {min-width:63px;padding:6px 11px}
    .ngh .ngh-shortcuts {gap:0 17px;margin-top:0}
    .ngh .ngh-directory-start {padding-top:23px}
    .ngh .ngh-section-title {margin-bottom:11px}
    .ngh .nogu-quick-nav {gap:7px}
    .ngh .ngh-tab {min-height:66px;padding:8px 19px 8px 10px}
    .ngh .ngh-tab::after {right:9px;width:5px;height:5px}
    .ngh .ngh-tab strong {font-size:14px}
    .ngh .ngh-tab span {font-size:11px;margin-top:2px}
    .ngh .ngh-panel {padding:14px 12px;margin-top:12px}
    .ngh .ngh-panel-heading {margin-bottom:10px}
    .ngh .ngh-panel-heading h3 {font-size:18px}
    .ngh .ngh-groups,.ngh .ngh-content .medical-guide-grid {grid-template-columns:1fr}
    .ngh .ngh-groups,.ngh .ngh-content .medical-guide-grid,.ngh .ngh-purposes {gap:6px}
    .ngh .ngh-content .medical-guide-grid {padding:7px}
    .ngh .ngh-single .medical-guide-grid {padding:0}
    .ngh .ngh-group>summary {min-height:48px}
    .ngh .ngh-purpose {margin:25px 0}
    .ngh .ngh-purposes a {min-height:71px;padding:8px 20px 8px 10px}
    .ngh .ngh-purposes a::after {right:8px}
    .ngh .ngh-purposes strong {font-size:14px}
    .ngh .ngh-purposes span {font-size:11px}
    .ngh .ngh-latest .wp-block-latest-posts__post-date {display:block;white-space:normal}
    .ngh .ngh-content .ngh-latest li {display:block;padding:5px 0 8px}
    .ngh .ngh-latest .wp-block-latest-posts__post-title {padding:8px 0 4px}
    .ngh .ngh-footer-inner {gap:8px;padding:20px 0}
    .ngh .ngh-footer nav {gap:0 14px}
}
@media (max-width:440px) {
    .ngh .ngh-content .medical-guide-grid img {width:72px}
    .ngh .ngh-single .medical-guide-grid img {width:65px}
}
@media (max-width:359px) {
    .ngh .ngh-menu {gap:7px}
    .ngh .ngh-brand {font-size:15px}
    .ngh .ngh-tab span {letter-spacing:-.02em}
    .ngh .ngh-purposes {grid-template-columns:1fr}
}
@media print {
    .ngh .ngh-panel[hidden] {display:block!important}
    .ngh .ngh-hero-photo,.ngh .ngh-suggestions,.ngh .ngh-shortcuts {display:none}
}
