/* Hongakuji v1.3 — information architecture first. Dense, legible, colorful, text-led. */
.hg-page{--ink:#171a18;--muted:#525955;--line:#c7cfca;--soft:#f3f5f3;--green:#087653;--green2:#07583f;--prayer:#a63a2d;--amulet:#a92f63;--terakoya:#7b1832;--memorial:#5f4b88;--graves:#087653;--funeral:#274b68;--focus:#075fad;color:var(--ink);font-family:"BIZ UDPGothic","BIZ UDPゴシック","Yu Gothic UI","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:16.5px;line-height:1.68;letter-spacing:.006em;background:#fff;-webkit-text-size-adjust:100%}.hg-page *{box-sizing:border-box}
body.page-id-6 .entry-title,body.page-id-9 .entry-title,body.page-id-11 .entry-title,body.page-id-13 .entry-title,body.page-id-15 .entry-title,body.page-id-17 .entry-title,body.page-id-19 .entry-title,body.page-id-21 .entry-title,body.page-id-23 .entry-title,.hg-page .toc,.hg-page .sns-share,.hg-page .sns-follow,.hg-page .author-info,.hg-page .date-tags{display:none!important}
.hg-inner{width:min(1180px,calc(100% - 56px));margin:auto}.hg-pagehero,.hg-section{margin:0 calc(50% - 50vw);padding-inline:28px}.hg-page h1,.hg-page h2,.hg-page h3{font-family:inherit;color:var(--ink);font-weight:700}.hg-page p{margin-top:0}.hg-page a{color:var(--green2);text-underline-offset:.2em;text-decoration-thickness:.07em}.hg-page a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
/* Text is the hero. No image is required for the page to hold. */
.hg-pagehero{padding-top:27px;padding-bottom:25px;border-top:9px solid var(--green);border-bottom:2px solid var(--ink);background:#fff}.hg-pagehero .hg-inner{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);column-gap:32px;align-items:end}.hg-kicker,.hg-place,.hg-sect,.hg-small{font-size:13px;color:var(--muted)}.hg-kicker{grid-column:1;margin:0 0 4px}.hg-pagehero h1{grid-column:1;font-size:clamp(34px,4vw,50px);line-height:1.12;margin:0 0 7px;letter-spacing:.01em}.hg-pagehero .hg-lead{grid-column:2;grid-row:1/4;align-self:end;margin:0;padding-left:16px;border-left:1px solid var(--line);font-size:15.5px;line-height:1.65;color:#343a36}.hg-homehero .hg-inner{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)}.hg-homehero .hg-place{grid-column:1;margin:0 0 3px}.hg-homehero .hg-sect{grid-column:1;margin:0;color:var(--green2);font-weight:700}.hg-homehero h1{grid-column:1;font-size:clamp(50px,7vw,78px);letter-spacing:.08em;margin:2px 0 0;color:var(--green2)}.hg-yomi{grid-column:1;font-size:13px;letter-spacing:.17em;color:#4e6158;margin:1px 0 10px}.hg-home-tagline{grid-column:2;grid-row:1;font-size:22px;font-weight:700;line-height:1.4;margin:0;padding-left:16px;border-left:6px solid var(--green)}.hg-homehero .hg-lead{grid-column:2;grid-row:2/6;border-left:0;padding-left:16px;margin-top:8px}.hg-yomi-inline{margin-bottom:7px}
/* Section rhythm: compact. Space separates information, never creates atmosphere. */
.hg-section{padding-top:24px;padding-bottom:26px;border-bottom:1px solid var(--line);background:#fff}.hg-intro{padding-top:18px;padding-bottom:20px}.hg-minor{padding-top:20px;padding-bottom:21px}.hg-section h2{font-size:clamp(21px,2.3vw,28px);line-height:1.3;margin:0 0 13px;padding-left:12px;border-left:6px solid var(--green);max-width:none}.hg-minor h2{font-size:20px;border-left-width:4px}.hg-section p{max-width:58em;margin-bottom:.65em}.hg-opening{font-size:17.5px;font-weight:700;line-height:1.65}.hg-important{font-size:17.5px!important;font-weight:700}.hg-last{margin-top:1em!important}.hg-warm,.hg-cta,.hg-current,.hg-parishioner{background:#fff!important}
body.page-id-9 .hg-pagehero,body.page-id-9 .hg-section h2{border-color:var(--prayer)}body.page-id-11 .hg-pagehero,body.page-id-11 .hg-section h2{border-color:var(--amulet)}body.page-id-19 .hg-pagehero,body.page-id-19 .hg-section h2{border-color:var(--terakoya)}body.page-id-13 .hg-pagehero,body.page-id-13 .hg-section h2{border-color:var(--memorial)}body.page-id-15 .hg-pagehero,body.page-id-15 .hg-section h2{border-color:var(--graves)}body.page-id-17 .hg-pagehero,body.page-id-17 .hg-section h2{border-color:var(--funeral)}
/* Six-color index: not decoration; a repeatable locator. */
.hg-service-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid var(--ink);border-left:1px solid var(--line);margin-top:8px}.hg-service{position:relative;min-height:102px;padding:14px 34px 13px 15px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-left:7px solid var(--green);background:#fff;text-decoration:none!important;color:var(--ink)!important}.hg-service span{display:block;font-size:19px;font-weight:700;line-height:1.35}.hg-service small{display:block;margin-top:6px;font-size:13.5px;line-height:1.5;color:var(--muted)}.hg-service:after{content:"↗";position:absolute;right:13px;top:14px;font-size:18px}.hg-service:nth-child(1){border-left-color:var(--prayer)}.hg-service:nth-child(2){border-left-color:var(--amulet)}.hg-service:nth-child(3){border-left-color:var(--terakoya)}.hg-service:nth-child(4){border-left-color:var(--memorial)}.hg-service:nth-child(5){border-left-color:var(--graves)}.hg-service:nth-child(6){border-left-color:var(--funeral)}.hg-service:hover,.hg-service:focus-visible{background:var(--soft)}
/* Lists read like editorial indexes, not floating cards. */
.hg-cards{display:grid;grid-template-columns:repeat(2,1fr);border-top:2px solid var(--ink);margin-top:10px}.hg-cardtext{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);gap:16px;padding:12px 16px 12px 0;border-bottom:1px solid var(--line)}.hg-cardtext:nth-child(even){padding-left:16px;border-left:1px solid var(--line)}.hg-cardtext h3{font-size:15.5px;line-height:1.45;margin:0}.hg-cardtext p{font-size:14.5px;line-height:1.62;margin:0;color:#3f4541}.hg-season .hg-cardtext h3{font-variant-numeric:tabular-nums}.hg-fact{display:grid;grid-template-columns:minmax(190px,.35fr) minmax(0,1fr);gap:22px;padding:14px 0;border-top:1px solid var(--line);margin:0}.hg-fact:last-child{border-bottom:1px solid var(--line)}.hg-fact h3{font-size:17px;margin:0}.hg-fact>div,.hg-fact>p{margin-top:0}.hg-note,.hg-note-inline{padding:12px 14px;border-left:4px solid var(--green);background:var(--soft);margin:14px 0}.hg-note h3{font-size:16px;margin:0 0 4px}
/* Contents index: scan before reading. */
.hg-topicindex,.hg-depthnav{margin:0 0 17px;padding:0;border-top:2px solid var(--ink);border-bottom:1px solid var(--line)}.hg-topicindex p,.hg-depthnav p{font-size:12.5px;font-weight:700;letter-spacing:.04em;margin:0;padding:7px 0;border-bottom:1px solid var(--line)}.hg-topicindex div,.hg-depthnav div{display:flex;flex-wrap:wrap;gap:0}.hg-topicindex a,.hg-depthnav a{display:block;padding:8px 16px 8px 0;margin-right:16px;font-size:14px;font-weight:700;text-decoration:none}.hg-topicindex a:after,.hg-depthnav a:after{content:" ↓";font-weight:400}
/* Contact is a useful information block. */
.hg-contact{display:grid;grid-template-columns:minmax(190px,.45fr) minmax(0,1fr);column-gap:22px;margin:12px 0 4px;padding:13px 0;border-top:3px solid var(--green);border-bottom:1px solid var(--line)}.hg-contact-title{grid-column:1;grid-row:1/4;font-size:17px;font-weight:700;margin:0!important}.hg-contact-text{grid-column:2;font-size:14.5px;margin:0 0 9px!important}.hg-contact-actions{grid-column:2;display:flex;gap:8px;flex-wrap:wrap}.hg-contact-note{grid-column:2;font-size:12.5px;color:var(--muted);margin:6px 0 0!important}.hg-button{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:8px 15px;border:2px solid var(--green2);border-radius:0;background:var(--green2);color:#fff!important;text-decoration:none!important;font-weight:700;font-size:14px}.hg-button-secondary{background:#fff!important;color:var(--green2)!important}body.page-id-19 .hg-page a:not(.hg-button){color:#65142b}body.page-id-19 .hg-button{background:var(--terakoya)!important;border-color:var(--terakoya)!important}body.page-id-19 .hg-button-secondary{background:#fff!important;color:var(--terakoya)!important}
/* Procedures and tables */
.hg-flow{list-style:none;counter-reset:hgstep;padding:0;margin:8px 0 0;border-top:2px solid var(--ink)}.hg-flow li{counter-increment:hgstep;display:grid;grid-template-columns:38px minmax(160px,.45fr) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.hg-flow li:before{content:counter(hgstep);font-size:13px;font-weight:700;padding-top:2px}.hg-flow strong{grid-column:2;font-size:15px}.hg-flow span{grid-column:3;font-size:14px;line-height:1.6;color:var(--muted)}.hg-table{overflow-x:auto;margin:14px 0}.hg-table table{width:100%;border-collapse:collapse;font-size:14px}.hg-table caption{text-align:left;font-size:16px;font-weight:700;margin-bottom:5px}.hg-table th,.hg-table td{padding:7px 9px;border:1px solid var(--line);text-align:left;vertical-align:top}.hg-table th{background:var(--soft)}
/* Real-photo slots only. Small in production draft so missing images never dominate. */
.hg-photo{margin:13px 0 16px;border:1px dashed #8b958f;background:#fafafa;min-height:110px;display:flex;align-items:center;justify-content:center;padding:12px}.hg-photo-hero{min-height:145px}.hg-photo-small{min-height:90px;max-width:620px}.hg-photo-label{max-width:650px;text-align:left}.hg-photo-label span{font-size:11px;font-weight:700;color:#52615a}.hg-photo-label strong{display:block;font-size:14px;line-height:1.4;margin-top:2px}.hg-photo-label small{display:block;font-size:12.5px;line-height:1.5;color:var(--muted);margin-top:3px}.hg-faq h3{font-size:16px;margin:1em 0 .3em}.hg-address{font-size:16px}.hg-mobile-contact{display:none}
@media(max-width:760px){.hg-inner{width:min(100%,calc(100% - 30px))}.hg-pagehero,.hg-section{padding-inline:15px}.hg-pagehero{padding-top:22px;padding-bottom:20px}.hg-pagehero .hg-inner,.hg-homehero .hg-inner{display:block}.hg-pagehero .hg-lead,.hg-homehero .hg-lead{border-left:0;padding-left:0;margin-top:8px}.hg-home-tagline{border-left:5px solid var(--green);padding-left:10px;margin-top:10px;font-size:19px}.hg-homehero h1{font-size:52px}.hg-section{padding-top:20px;padding-bottom:21px}.hg-section h2{font-size:21px;margin-bottom:10px}.hg-service-grid{grid-template-columns:1fr 1fr}.hg-service{min-height:92px}.hg-cards{grid-template-columns:1fr}.hg-cardtext,.hg-cardtext:nth-child(even){grid-template-columns:minmax(120px,.55fr) minmax(0,1fr);padding:10px 0;border-left:0}.hg-fact{grid-template-columns:1fr;gap:4px}.hg-contact{grid-template-columns:1fr;gap:6px}.hg-contact-title,.hg-contact-text,.hg-contact-actions,.hg-contact-note{grid-column:1;grid-row:auto}.hg-flow li{grid-template-columns:28px 1fr}.hg-flow strong{grid-column:2}.hg-flow span{grid-column:2}.hg-photo-hero{min-height:125px}.hg-mobile-contact{position:fixed;z-index:9999;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-top:1px solid #aeb8b2}.hg-mobile-contact a{min-height:52px;display:grid;place-items:center;text-decoration:none!important;font-weight:700;color:var(--green2)!important}.hg-mobile-contact a+a{background:var(--green2);color:#fff!important}.hg-page{padding-bottom:53px}}
@media(max-width:480px){.hg-page{font-size:16px}.hg-service-grid{grid-template-columns:1fr}.hg-service{min-height:74px}.hg-cardtext,.hg-cardtext:nth-child(even){grid-template-columns:1fr;gap:3px}.hg-homehero h1{font-size:46px}.hg-pagehero h1{font-size:32px}.hg-contact-actions{display:grid;grid-template-columns:1fr}.hg-topicindex a,.hg-depthnav a{padding:7px 12px 7px 0;margin-right:10px}}
@media(prefers-reduced-motion:reduce){.hg-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(prefers-contrast:more){.hg-page{--muted:#303632;--line:#6e7772;--green:#006246;--green2:#003e2d;--prayer:#7d281f;--amulet:#842249;--terakoya:#641126;--memorial:#49386e;--funeral:#1f3b51}}

/* v1.5 — 探すときは迷わせず、読むときは急かさず、相談するときはためらわせない。 */
/* Cocoon chrome: fixed pages are temple pages, not social-media articles. */
body.page-id-6 .sns-share,body.page-id-9 .sns-share,body.page-id-11 .sns-share,body.page-id-13 .sns-share,body.page-id-15 .sns-share,body.page-id-17 .sns-share,body.page-id-19 .sns-share,body.page-id-21 .sns-share,body.page-id-23 .sns-share,
body.page-id-6 .sns-follow,body.page-id-9 .sns-follow,body.page-id-11 .sns-follow,body.page-id-13 .sns-follow,body.page-id-15 .sns-follow,body.page-id-17 .sns-follow,body.page-id-19 .sns-follow,body.page-id-21 .sns-follow,body.page-id-23 .sns-follow,
body.page-id-6 .sns-share-message,body.page-id-9 .sns-share-message,body.page-id-11 .sns-share-message,body.page-id-13 .sns-share-message,body.page-id-15 .sns-share-message,body.page-id-17 .sns-share-message,body.page-id-19 .sns-share-message,body.page-id-21 .sns-share-message,body.page-id-23 .sns-share-message,
body.page-id-6 .footer-mobile-buttons,body.page-id-9 .footer-mobile-buttons,body.page-id-11 .footer-mobile-buttons,body.page-id-13 .footer-mobile-buttons,body.page-id-15 .footer-mobile-buttons,body.page-id-17 .footer-mobile-buttons,body.page-id-19 .footer-mobile-buttons,body.page-id-21 .footer-mobile-buttons,body.page-id-23 .footer-mobile-buttons,
body.page-id-6 #footer-mobile-buttons,body.page-id-9 #footer-mobile-buttons,body.page-id-11 #footer-mobile-buttons,body.page-id-13 #footer-mobile-buttons,body.page-id-15 #footer-mobile-buttons,body.page-id-17 #footer-mobile-buttons,body.page-id-19 #footer-mobile-buttons,body.page-id-21 #footer-mobile-buttons,body.page-id-23 #footer-mobile-buttons,
body.page-id-6 .mobile-footer-menu-buttons,body.page-id-9 .mobile-footer-menu-buttons,body.page-id-11 .mobile-footer-menu-buttons,body.page-id-13 .mobile-footer-menu-buttons,body.page-id-15 .mobile-footer-menu-buttons,body.page-id-17 .mobile-footer-menu-buttons,body.page-id-19 .mobile-footer-menu-buttons,body.page-id-21 .mobile-footer-menu-buttons,body.page-id-23 .mobile-footer-menu-buttons{display:none!important}

/* Reading areas breathe. Borders and color are reserved for navigation and real boundaries. */
.hg-section{padding-top:52px;padding-bottom:58px;border-bottom:0}.hg-intro{padding-top:42px;padding-bottom:48px}.hg-minor{padding-top:44px;padding-bottom:48px}.hg-section+.hg-section{border-top:0}.hg-section h2{margin-bottom:22px}.hg-section p{margin-bottom:.9em}.hg-minor h2{margin-bottom:16px}.hg-opening{max-width:46em;line-height:1.82}
.hg-pagehero{padding-top:38px;padding-bottom:46px;border-bottom:0}.hg-pagehero:not(.hg-homehero){border-bottom:1px solid var(--line)}
.hg-homehero{padding-top:40px;padding-bottom:58px}.hg-homehero .hg-inner{display:block}.hg-homehero .hg-place{margin-bottom:4px}.hg-homehero h1{font-size:clamp(54px,7vw,78px);margin-top:7px}.hg-yomi{margin-top:5px;margin-bottom:0}.hg-home-identity{margin-top:42px;max-width:48em}.hg-home-tagline{border-left:0;padding-left:0;font-size:24px;margin:0 0 22px}.hg-homehero .hg-lead{padding-left:0;margin:0;line-height:1.9;font-size:16px;color:#39413c}
.hg-home-welcome{padding-top:38px;padding-bottom:40px}.hg-home-welcome .hg-opening{font-weight:400;font-size:17px}

/* Search zones stay dense. */
.hg-services-section{padding-top:40px;padding-bottom:54px}.hg-services-section h2{margin-bottom:16px}.hg-service-grid{margin-top:0}.hg-home-help{max-width:48em;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.hg-home-help p{margin-bottom:.55em}.hg-home-help strong{font-size:17px}.hg-inline-sep{color:#a0aaa4}

/* Editorial indexes: compact internally, with generous air around the whole unit. */
.hg-season,.hg-current{padding-top:54px;padding-bottom:62px}.hg-cards{margin-top:16px}.hg-cardtext{padding-top:15px;padding-bottom:15px}.hg-news-index .hg-cards{grid-template-columns:1fr}.hg-news-index .hg-cardtext,.hg-news-index .hg-cardtext:nth-child(even){grid-template-columns:170px 1fr;padding-left:0;border-left:0}

/* Prose should look like prose. */
.hg-fact{padding:22px 0;gap:28px}.hg-note,.hg-note-inline{margin:24px 0;padding:16px 18px}.hg-topicindex,.hg-depthnav{margin-bottom:34px}.hg-contact{margin:32px 0 10px;padding:24px 0}.hg-photo{margin-top:28px;margin-bottom:32px}.hg-photo-hero{min-height:220px}.hg-cta{padding-top:52px;padding-bottom:58px}.hg-parishioner{padding-top:48px;padding-bottom:52px}

@media(max-width:760px){
 .hg-pagehero{padding-top:30px;padding-bottom:40px}.hg-homehero{padding-top:31px;padding-bottom:48px}.hg-homehero h1{font-size:52px}.hg-home-identity{margin-top:34px}.hg-home-tagline{font-size:21px;margin-bottom:18px}.hg-homehero .hg-lead{font-size:15.5px;line-height:1.9}
 .hg-section{padding-top:40px;padding-bottom:46px}.hg-intro{padding-top:32px;padding-bottom:36px}.hg-minor{padding-top:36px;padding-bottom:40px}.hg-section h2{margin-bottom:18px}.hg-home-welcome{padding-top:30px;padding-bottom:32px}.hg-services-section{padding-top:34px;padding-bottom:46px}
 .hg-service-grid{grid-template-columns:1fr 1fr}.hg-service{min-height:92px}.hg-home-help{margin-top:25px;padding-top:21px}.hg-season,.hg-current{padding-top:44px;padding-bottom:50px}.hg-parishioner{padding-top:42px;padding-bottom:46px}
 .hg-photo-hero{min-height:190px}.hg-contact{margin-top:28px;padding-top:21px;padding-bottom:21px}
}
@media(max-width:480px){
 .hg-service-grid{grid-template-columns:1fr}.hg-service{min-height:74px}.hg-news-index .hg-cardtext,.hg-news-index .hg-cardtext:nth-child(even){grid-template-columns:1fr;gap:4px}.hg-section{padding-top:38px;padding-bottom:44px}.hg-homehero{padding-bottom:45px}.hg-home-identity{margin-top:32px}.hg-photo-hero{min-height:175px}
}

/* v1.6 — 実写真を情報の証拠として配置。写真がない項目は無理に演出しない。 */
.hg-photo-real{margin:28px 0 34px;max-width:100%}.hg-photo-real img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}.hg-photo-real.hg-photo-small{max-width:620px}.hg-photo-real.hg-photo-small img{max-height:440px}.hg-photo-real figcaption{margin-top:7px;font-size:12.5px;line-height:1.5;color:var(--muted)}
@media(max-width:760px){.hg-photo-real{margin:22px 0 28px}.hg-photo-real img{max-height:none}}

/* v1.7 — seasonal photographic home hero + clear vivid six-purpose navigation */
.hg-homehero{position:relative;min-height:510px;background-image:var(--hg-hero-image);background-size:cover;background-position:center;display:flex;align-items:center;overflow:hidden;color:#fff}.hg-homehero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,18,14,.72) 0%,rgba(10,18,14,.48) 43%,rgba(10,18,14,.08) 78%)}.hg-homehero .hg-inner{position:relative;z-index:1;width:min(1180px,calc(100% - 48px))}.hg-homehero .hg-place,.hg-homehero .hg-sect,.hg-homehero .hg-yomi,.hg-homehero .hg-lead{color:#fff}.hg-homehero h1{color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.18)}.hg-homehero .hg-home-tagline{color:#fff}.hg-hero-season{position:absolute;right:0;bottom:-84px;font-size:12px;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.45)}
.hg-service-grid{border:0;gap:8px;grid-template-columns:repeat(6,1fr)}.hg-service{border:0!important;border-radius:3px;min-height:136px;padding:24px 14px 18px;text-align:center;display:flex;flex-direction:column;justify-content:center;color:#fff!important}.hg-service span{font-size:18px}.hg-service small{color:rgba(255,255,255,.96);font-size:13px}.hg-service:after{content:"›";right:12px;top:50%;transform:translateY(-50%);color:#fff}.hg-service-prayer{background:#ef684e}.hg-service-amulet{background:#e9aa31}.hg-service-memorial{background:#8eb95c}.hg-service-graves{background:#3ba5d3}.hg-service-funeral{background:#8b68a6}.hg-service-terakoya{background:#db5e86}.hg-service:hover,.hg-service:focus-visible{filter:brightness(.94);background-color:inherit}.hg-services-section h2{text-align:center;border-left:0;padding-left:0}.hg-services-section h2:after{content:"";display:block;width:46px;border-bottom:2px solid var(--green);margin:10px auto 0}
@media(max-width:900px){.hg-service-grid{grid-template-columns:repeat(3,1fr)}.hg-homehero{min-height:470px}}
@media(max-width:760px){.hg-homehero{min-height:440px;background-position:center}.hg-homehero-shade{background:rgba(9,17,13,.5)}.hg-homehero .hg-inner{width:min(100%,calc(100% - 30px))}.hg-service-grid{grid-template-columns:1fr 1fr}.hg-service{min-height:112px}.hg-hero-season{display:none}}
@media(max-width:480px){.hg-homehero{min-height:410px}.hg-service-grid{grid-template-columns:1fr 1fr}.hg-service{min-height:100px;padding:18px 10px}.hg-service span{font-size:16px}.hg-service small{font-size:12px}}

/* v1.8 — 四季＋本堂・観音堂を一度に見せる。写真は切らず、下層もトップと同じ明るい情報設計へ。 */
.hg-page{--prayer:#f26b57;--amulet:#f4b43d;--memorial:#93c766;--graves:#49b7df;--funeral:#9675bd;--terakoya:#e76f9a}

/* Home: text first, then six real views. No single oversized/cropped hero image. */
.hg-homehero{min-height:0!important;background:none!important;color:var(--ink)!important;display:block!important;padding-top:42px!important;padding-bottom:46px!important;overflow:visible!important}
.hg-homehero .hg-inner{display:grid!important;grid-template-columns:minmax(330px,.82fr) minmax(0,1.35fr);gap:42px;align-items:center;width:min(1180px,calc(100% - 56px))!important}
.hg-homehero-copy{min-width:0}.hg-homehero .hg-place,.hg-homehero .hg-sect,.hg-homehero .hg-yomi,.hg-homehero .hg-lead,.hg-homehero .hg-home-tagline{color:inherit!important;text-shadow:none!important}.hg-homehero h1{color:var(--green2)!important;text-shadow:none!important;font-size:clamp(56px,6vw,76px)!important;letter-spacing:.06em!important}.hg-homehero .hg-sect{color:var(--green)!important}.hg-homehero .hg-home-identity{margin-top:34px!important;max-width:34em}.hg-homehero .hg-home-tagline{font-size:24px!important;margin-bottom:18px!important}.hg-homehero .hg-lead{font-size:16px!important;line-height:1.88!important;margin:0!important;padding:0!important}
.hg-home-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:start}.hg-home-gallery figure{position:relative;margin:0;background:#f5f7f5;overflow:hidden}.hg-home-gallery img{display:block;width:100%;height:auto}.hg-home-gallery figcaption{position:absolute;left:8px;bottom:8px;margin:0;padding:4px 7px;background:rgba(255,255,255,.92);color:#1d2621;font-size:12px;font-weight:700;line-height:1}

/* Six purposes: clearer and lighter, matching the accepted visual direction. */
.hg-service-prayer{background:#f26b57!important}.hg-service-amulet{background:#f4b43d!important}.hg-service-memorial{background:#93c766!important}.hg-service-graves{background:#49b7df!important}.hg-service-funeral{background:#9675bd!important}.hg-service-terakoya{background:#e76f9a!important}.hg-service{box-shadow:none!important}.hg-service:hover,.hg-service:focus-visible{filter:brightness(.97)!important}

/* Subpages use the same clean white + real photo + vivid locator language as the home page. */
.hg-subhero{padding-top:34px!important;padding-bottom:36px!important;border-top:0!important;border-bottom:1px solid var(--line)!important;background:#fff!important}
.hg-subhero .hg-inner{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);gap:42px;align-items:center}.hg-subhero-copy{min-width:0}.hg-subhero .hg-kicker{margin:0 0 9px;font-weight:700}.hg-subhero h1{font-size:clamp(38px,4.8vw,58px)!important;margin:0 0 14px!important;letter-spacing:.01em}.hg-subhero .hg-lead{border:0!important;padding:0!important;margin:0!important;max-width:31em;font-size:16px!important;line-height:1.78!important;color:#3b433e!important}.hg-subhero-photo{margin:0}.hg-subhero-photo img{display:block;width:100%;height:auto;border-radius:2px}
.hg-theme-prayer .hg-kicker,.hg-theme-prayer .hg-section h2{border-color:var(--prayer)!important;color:inherit}.hg-theme-amulet .hg-kicker,.hg-theme-amulet .hg-section h2{border-color:var(--amulet)!important}.hg-theme-memorial .hg-kicker,.hg-theme-memorial .hg-section h2{border-color:var(--memorial)!important}.hg-theme-graves .hg-kicker,.hg-theme-graves .hg-section h2{border-color:var(--graves)!important}.hg-theme-funeral .hg-kicker,.hg-theme-funeral .hg-section h2{border-color:var(--funeral)!important}.hg-theme-terakoya .hg-kicker,.hg-theme-terakoya .hg-section h2{border-color:var(--terakoya)!important}.hg-theme-about .hg-kicker,.hg-theme-about .hg-section h2,.hg-theme-access .hg-kicker,.hg-theme-access .hg-section h2{border-color:var(--green)!important}
.hg-subhero .hg-kicker{display:inline-block;padding-bottom:4px;border-bottom:4px solid var(--green)}

/* Reading photos are evidence, not banners. Preserve the whole image and keep them comfortably sized. */
.hg-photo-real{width:min(100%,880px);margin:30px auto 38px!important}.hg-photo-real.hg-photo-hero{width:min(100%,980px)}.hg-photo-real.hg-photo-small{width:min(100%,600px);margin-left:0!important}.hg-photo-real img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}.hg-photo-real figcaption{max-width:64em}

/* Cleaner subpage indexes and callouts. */
.hg-topicindex,.hg-depthnav{border-top:0!important;padding-top:0}.hg-topicindex p,.hg-depthnav p{border-bottom:0!important;color:var(--muted)}.hg-topicindex div,.hg-depthnav div{gap:8px}.hg-topicindex a,.hg-depthnav a{padding:8px 12px!important;margin:0!important;border:1px solid var(--line);background:#fff;text-decoration:none!important}.hg-topicindex a:after,.hg-depthnav a:after{content:" ↓"}.hg-contact{border-top-width:2px!important}

@media(max-width:900px){
 .hg-homehero .hg-inner{grid-template-columns:1fr;gap:30px}.hg-home-gallery{grid-template-columns:repeat(3,1fr)}
 .hg-subhero .hg-inner{grid-template-columns:1fr;gap:24px}.hg-subhero-photo{max-width:760px}
}
@media(max-width:760px){
 .hg-homehero{padding-top:30px!important;padding-bottom:34px!important}.hg-homehero .hg-inner{width:min(100%,calc(100% - 30px))!important;gap:26px}.hg-homehero h1{font-size:52px!important}.hg-homehero .hg-home-identity{margin-top:28px!important}.hg-home-gallery{grid-template-columns:1fr 1fr;gap:6px}.hg-home-gallery figcaption{left:6px;bottom:6px;font-size:11px}.hg-subhero{padding-top:26px!important;padding-bottom:30px!important}.hg-subhero .hg-inner{display:block!important}.hg-subhero-photo{margin-top:22px}.hg-subhero h1{font-size:36px!important}.hg-photo-real{width:100%;margin:24px auto 30px!important}
}
@media(max-width:480px){
 .hg-home-gallery{grid-template-columns:1fr 1fr}.hg-homehero .hg-home-tagline{font-size:21px!important}.hg-homehero .hg-lead{font-size:15.5px!important}.hg-subhero h1{font-size:33px!important}
}

/* v1.9 — visitor-first hierarchy + grave brochure continuity without reviving old product lineup */
.hg-grave-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0 10px}.hg-grave-action{display:flex;flex-direction:column;gap:5px;min-height:108px;padding:18px;border:2px solid var(--green);background:#fff;color:var(--ink)!important;text-decoration:none!important}.hg-grave-action strong{font-size:18px;color:var(--green2)}.hg-grave-action span{font-size:13.5px;line-height:1.55;color:var(--muted)}.hg-grave-action:hover,.hg-grave-action:focus-visible{background:#f4f8f5}.hg-direct-note{margin:0 0 28px;font-size:13.5px;color:var(--muted)}
.hg-theme-graves .hg-cardtext{border-left-color:var(--graves)!important}.hg-theme-graves .hg-fact{border-top-color:#b9d9c5}.hg-theme-graves .hg-fact h3{color:var(--green2)}
/* Keep columns stable: text must wrap inside its own column instead of pushing the neighbour away. */
.hg-cardtext,.hg-fact,.hg-contact,.hg-subhero-copy,.hg-subhero-photo,.hg-service{min-width:0}.hg-cardtext p,.hg-fact p,.hg-contact p{overflow-wrap:anywhere}.hg-fact>*{min-width:0}.hg-subhero-photo img{max-width:100%;height:auto!important;object-fit:contain!important}
@media(max-width:760px){.hg-grave-actions{grid-template-columns:1fr}.hg-grave-action{min-height:0;padding:15px 16px}}

/* v2.0 — 探すときは密に、読むときは流す。トップと下層の設計言語を統一。 */
:root{--mori:#4f9b52;--sakura:#e9829f;--michi:#4f8ec8;--sato:#e1a33b}

/* Reading architecture: do not force prose into desktop columns. */
.hg-cards{display:block!important;border-top:0!important;margin-top:18px!important}
.hg-cardtext,.hg-cardtext:nth-child(even){display:block!important;padding:18px 0!important;border-left:0!important;border-bottom:1px solid var(--line)!important}
.hg-cardtext:first-child{border-top:1px solid var(--line)!important}
.hg-cardtext h3{font-size:17px!important;line-height:1.45!important;margin:0 0 6px!important}
.hg-cardtext p{font-size:15.5px!important;line-height:1.78!important;max-width:52em!important}
.hg-fact{display:block!important;padding:28px 0!important;border-top:1px solid var(--line)!important}
.hg-fact:last-child{border-bottom:1px solid var(--line)!important}
.hg-fact h3{font-size:20px!important;line-height:1.45!important;margin:0 0 12px!important}
.hg-fact p{max-width:52em!important;line-height:1.82!important;margin:.55em 0!important}
.hg-flow{border-top:0!important;margin-top:20px!important}
.hg-flow li{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:4px 14px!important;padding:19px 0!important;border-top:1px solid var(--line)!important}
.hg-flow li:last-child{border-bottom:1px solid var(--line)!important}
.hg-flow li:before{grid-column:1;grid-row:1/3;font-size:13px!important}
.hg-flow strong{grid-column:2!important;font-size:17px!important}
.hg-flow span{grid-column:2!important;font-size:15.5px!important;line-height:1.75!important}

/* Choice blocks are the exception: compact and scannable because the visitor is choosing a route. */
.hg-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:20px 0 30px;border-top:2px solid var(--ink)}
.hg-choice{padding:15px 18px 16px 0;border-bottom:1px solid var(--line);min-width:0}
.hg-choice:nth-child(even){padding-left:18px;border-left:1px solid var(--line)}
.hg-choice h3{font-size:16px;line-height:1.45;margin:0 0 5px}.hg-choice p{font-size:14.5px;line-height:1.62;margin:0;color:#46504a}

/* Top: dates are information, not boxes. One event = one readable row. */
.hg-event-list{border-top:2px solid var(--ink);margin-top:16px}
.hg-event-row{display:grid;grid-template-columns:minmax(135px,.25fr) minmax(0,1fr);gap:26px;padding:19px 0;border-bottom:1px solid var(--line);align-items:start}
.hg-event-date{font-weight:800;font-size:17px;line-height:1.45;font-variant-numeric:tabular-nums;color:var(--green2)}
.hg-event-main h3{font-size:17px;margin:0 0 5px;line-height:1.45}.hg-event-main p{font-size:15px;line-height:1.7;margin:0!important;color:#46504a;max-width:55em}
.hg-news-list{border-top:2px solid var(--ink);margin-top:16px}.hg-news-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;padding:16px 0;border-bottom:1px solid var(--line);align-items:baseline}.hg-news-row time{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;color:#58625c}.hg-news-row p{margin:0!important;line-height:1.65}.hg-news-more{margin-top:18px!important}

/* Photos: evidence inside the reading flow, never oversized banners. */
.hg-photo-real{width:min(100%,760px)!important;margin:30px 0 42px!important}.hg-photo-real.hg-photo-hero{width:min(100%,860px)!important;margin-left:auto!important;margin-right:auto!important}.hg-photo-real.hg-photo-small{width:min(100%,540px)!important}.hg-photo-real img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.hg-subhero-photo{max-width:620px!important;justify-self:end}.hg-subhero-photo img{width:100%!important;height:auto!important;object-fit:contain!important}

/* Graves: the page owns blue as a top-level locator; actual grave types keep the brochure's information colors. */
.hg-grave-mori h2{border-left-color:var(--mori)!important}.hg-grave-sakura h2{border-left-color:var(--sakura)!important}
.hg-grave-mori h2,.hg-grave-mori .hg-fact h3{color:#2d6531!important}.hg-grave-sakura h2{color:#9d3f5d!important}
.hg-mori-option{border-top:3px solid var(--mori)!important;padding-top:22px!important}.hg-mori-option h3:before{content:"";display:inline-block;width:12px;height:12px;background:var(--mori);margin-right:9px;border-radius:50%}
.hg-grave-key{display:inline-block;padding:2px 8px;border:1px solid currentColor;font-weight:700;font-size:.9em;white-space:nowrap}.hg-michi-key{color:#326da7}.hg-sato-key{color:#9a6412}

/* Grave actions are a true action zone — impossible to confuse with body copy. */
.hg-grave-actions{padding:18px;background:#f3f7f4;border-top:1px solid #d4ddd7;border-bottom:1px solid #d4ddd7;gap:10px!important;margin:30px 0 10px!important}
.hg-grave-action{background:var(--green2)!important;border:2px solid var(--green2)!important;color:#fff!important;min-height:104px!important;justify-content:center}
.hg-grave-action strong,.hg-grave-action span{color:#fff!important}.hg-grave-action strong{font-size:19px!important}.hg-grave-action span{opacity:.92}.hg-grave-action:hover,.hg-grave-action:focus-visible{background:#174d36!important;filter:none!important}.hg-direct-note{font-weight:600;color:#435048!important}

@media(max-width:900px){.hg-subhero-photo{justify-self:start;max-width:560px!important}}
@media(max-width:760px){
 .hg-choice-grid{grid-template-columns:1fr}.hg-choice,.hg-choice:nth-child(even){padding:13px 0;border-left:0}.hg-choice h3{font-size:16px}
 .hg-event-row{grid-template-columns:1fr;gap:5px;padding:16px 0}.hg-event-date{font-size:15px}.hg-event-main h3{font-size:16.5px}
 .hg-news-row{grid-template-columns:1fr;gap:3px;padding:14px 0}.hg-news-row time{font-size:13px}
 .hg-fact{padding:23px 0!important}.hg-fact h3{font-size:19px!important}.hg-flow li{grid-template-columns:34px 1fr!important}
 .hg-photo-real,.hg-photo-real.hg-photo-hero,.hg-photo-real.hg-photo-small{width:100%!important;margin:24px 0 32px!important}
 .hg-subhero-photo{max-width:100%!important}
 .hg-grave-actions{padding:12px}.hg-grave-action{min-height:0!important;padding:16px!important}
}
/* v2.1: home seasonal mosaic uses one consistent visual frame. */
.hg-home-gallery figure{aspect-ratio:4/3}
.hg-home-gallery img{width:100%;height:100%;object-fit:cover;object-position:center}

/* v2.2 — UD is the design method: hierarchy, legibility, action clarity. */
.hg-page{--prayer:#b74432;--amulet:#9b6500;--memorial:#4e7628;--graves:#166d91;--funeral:#684b8c;--terakoya:#a23b63}
/* Six routes stay vivid, but every white label now clears WCAG AA for normal text. */
.hg-service-prayer{background:#b74432!important}.hg-service-amulet{background:#9b6500!important}.hg-service-memorial{background:#4e7628!important}.hg-service-graves{background:#166d91!important}.hg-service-funeral{background:#684b8c!important}.hg-service-terakoya{background:#a23b63!important}
.hg-service{min-height:136px!important;color:#fff!important}.hg-service span{font-size:19px!important;font-weight:700!important}.hg-service small{font-size:14px!important;line-height:1.55!important;color:#fff!important}.hg-service:after{color:#fff!important}
/* Actions must be easy to see and easy to hit, not merely compliant. */
.hg-button{min-height:50px!important;padding:10px 18px!important;font-size:16px!important;font-weight:700!important;line-height:1.35!important}
.hg-grave-action{min-height:112px!important}.hg-grave-action strong{font-size:19px!important;font-weight:700!important}.hg-grave-action span{font-size:14px!important;line-height:1.6!important}
/* Theme colors locate information. Body and heading text remain the common reading color. */
.hg-grave-mori h2,.hg-grave-mori .hg-fact h3,.hg-grave-sakura h2{color:var(--ink)!important}
body.page-id-19 .hg-page a:not(.hg-button){color:var(--green2)!important}
/* Major chapter and subsection must never look like the same level. */
body.page-id-21 .hg-section:not(.hg-minor)> .hg-inner>h2{font-size:clamp(23px,2.5vw,30px)!important;border-left-width:7px!important;padding:11px 14px!important;background:#f1f4f2!important;margin-bottom:18px!important}
body.page-id-21 .hg-minor> .hg-inner>h2{font-size:20px!important;border-left-width:4px!important;padding:0 0 0 11px!important;background:transparent!important;margin-bottom:14px!important}
/* Topic indexes are navigation, not decorative theme text. */
.hg-topicindex a,.hg-depthnav a{color:var(--green2)!important;font-size:15px!important;line-height:1.5!important;min-height:44px;display:flex!important;align-items:center}
/* Focus remains conspicuous on colored routes and controls. */
.hg-service:focus-visible,.hg-button:focus-visible,.hg-grave-action:focus-visible,.hg-topicindex a:focus-visible,.hg-depthnav a:focus-visible{outline:3px solid #075fad!important;outline-offset:3px!important}
@media(max-width:760px){.hg-service{min-height:112px!important}.hg-button{min-height:50px!important;font-size:16px!important}.hg-topicindex a,.hg-depthnav a{min-height:46px}}

/* v2.3 — actions where people need them; about page spacing follows reading rhythm. */
.hg-action-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin:22px 0 30px;padding:20px 22px;border:1px solid #cfd8d2;border-left:6px solid var(--green);background:#f7f9f7}
.hg-action-panel-copy{min-width:0}.hg-action-panel-copy>strong{display:block;font-size:18px;line-height:1.45;margin-bottom:4px}.hg-action-panel-copy p{margin:0!important;max-width:48em!important;font-size:14.5px;line-height:1.65;color:#46504a}
.hg-action-panel-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.hg-action-panel .hg-button{margin:0!important;white-space:nowrap}
.hg-action-prayer{border-left-color:var(--prayer)}.hg-action-amulet{border-left-color:var(--amulet)}.hg-action-terakoya{border-left-color:var(--terakoya)}
.hg-action-section{padding-top:34px!important;padding-bottom:38px!important;background:#f7f9f7!important;border-top:1px solid #dce3de!important}.hg-action-section> .hg-inner>h2{font-size:22px!important;margin-bottom:14px!important}
/* About: enough separation to show hierarchy, but no decorative empty space. */
body.page-id-21 .hg-section{padding-top:38px!important;padding-bottom:40px!important}
body.page-id-21 .hg-intro{padding-top:30px!important;padding-bottom:32px!important}
body.page-id-21 .hg-minor{padding-top:27px!important;padding-bottom:30px!important}
body.page-id-21 .hg-section p{line-height:1.78!important;margin-bottom:.78em!important}
body.page-id-21 .hg-section:not(.hg-minor)> .hg-inner>h2{margin-bottom:16px!important}
body.page-id-21 .hg-minor> .hg-inner>h2{margin-bottom:11px!important}
@media(max-width:760px){.hg-action-panel{grid-template-columns:1fr;gap:14px;padding:17px 16px;margin:18px 0 24px}.hg-action-panel-actions{display:grid;grid-template-columns:1fr;justify-content:stretch}.hg-action-panel .hg-button{width:100%;justify-content:center}.hg-action-section{padding-top:28px!important;padding-bottom:31px!important}body.page-id-21 .hg-section{padding-top:30px!important;padding-bottom:32px!important}body.page-id-21 .hg-minor{padding-top:23px!important;padding-bottom:25px!important}}

/* v2.4 — use first: clearer routes, explicit home, readable identity, no decorative copy. */
.hg-homehero .hg-place,.hg-homehero .hg-sect{font-size:16px!important;line-height:1.5!important;font-weight:700!important}
.hg-homehero .hg-yomi{font-size:16px!important;line-height:1.5!important;letter-spacing:.12em!important;margin-top:7px!important;color:#354a40!important}
.hg-homehero-copy{align-self:center}.hg-home-identity{display:none!important}
.hg-service{padding:22px 16px!important;min-height:132px!important}.hg-service:after{content:none!important}
.hg-service span{font-size:21px!important;line-height:1.35!important}.hg-service small{font-size:15px!important;line-height:1.5!important;margin-top:7px!important}
.hg-home-return{display:inline-block;margin:0 0 14px;font-size:15px;font-weight:700;color:var(--green2)!important;text-decoration:underline!important;text-underline-offset:.2em}
.hg-event-link{margin-top:8px!important;font-weight:700}.hg-event-link a{display:inline-block;min-height:44px;padding:9px 0}
.hg-schedule-list{border-top:2px solid var(--ink);margin:14px 0 18px}.hg-schedule-row{display:grid;grid-template-columns:minmax(150px,.35fr) 1fr;gap:22px;padding:14px 0;border-bottom:1px solid var(--line);align-items:start}.hg-schedule-row strong{font-size:17px}.hg-schedule-row span{line-height:1.65}
.hg-action-memorial{border-left-color:var(--memorial)}
.hg-action-memorial .hg-action-panel-actions{max-width:650px}
.hg-contact .hg-button{font-size:17px!important}
@media(max-width:760px){.hg-homehero .hg-place,.hg-homehero .hg-sect,.hg-homehero .hg-yomi{font-size:16px!important}.hg-service{min-height:108px!important;padding:18px 14px!important}.hg-service span{font-size:20px!important}.hg-service small{font-size:14.5px!important}.hg-schedule-row{grid-template-columns:1fr;gap:3px}.hg-home-return{min-height:44px;display:inline-flex;align-items:center;margin-bottom:6px}}

/* v2.5 — use resolves the form: readable identity, stable six routes, clear consultation, grave facts at a glance. */
.hg-homehero .hg-place,.hg-homehero .hg-sect,.hg-homehero .hg-yomi{font-size:18px!important;line-height:1.55!important}
.hg-homehero .hg-place,.hg-homehero .hg-sect{font-weight:700!important}.hg-homehero .hg-yomi{font-weight:600!important;letter-spacing:.11em!important}
/* Six equal routes: titles never wrap; descriptions are deliberately short and may wrap naturally. */
.hg-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.hg-service{min-width:0!important;min-height:116px!important;padding:20px 18px!important;text-align:left!important;align-items:flex-start!important}
.hg-service span{font-size:21px!important;line-height:1.35!important;white-space:nowrap!important}
.hg-service small{font-size:15.5px!important;line-height:1.55!important;text-align:left!important}
/* Consultation is an actual destination, not an orphaned invitation. */
.hg-consult-panel{border-top:5px solid var(--green);padding:24px 0 8px}.hg-consult-panel>h2{font-size:clamp(24px,2.5vw,30px);margin:0 0 12px;padding-left:12px;border-left:6px solid var(--green)}
.hg-consult-panel>p{max-width:52em}.hg-consult-web{margin-top:24px;padding:18px 20px;background:#f3f7f4;border-left:4px solid var(--green)}.hg-consult-web h3{font-size:19px;margin:0 0 8px}.hg-consult-web p:last-child{margin-bottom:0}
/* Grave facts: visual labels speed comparison, but the words carry the meaning. */
.hg-feature-list{display:flex;flex-wrap:wrap;gap:8px 10px;margin:4px 0 18px}.hg-feature-list span{display:inline-flex;align-items:center;min-height:38px;padding:6px 11px;border:1px solid #aebbb3;border-radius:2px;background:#fff;font-size:14.5px;font-weight:700;line-height:1.35}.hg-feature-list span:before{content:"";width:10px;height:10px;border:2px solid currentColor;border-radius:50%;margin-right:8px;flex:none}
.hg-grave-mori .hg-feature-list span:before{color:var(--mori)}.hg-grave-sakura .hg-feature-list span:before{color:var(--sakura)}
/* The former body-level home-return link was removed. Navigation belongs to the site header/menu. */
.hg-home-return{display:none!important}
@media(max-width:760px){
 .hg-homehero .hg-place,.hg-homehero .hg-sect,.hg-homehero .hg-yomi{font-size:18px!important}
 .hg-service-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.hg-service{min-height:112px!important;padding:17px 13px!important}.hg-service span{font-size:19px!important}.hg-service small{font-size:14.5px!important;line-height:1.48!important}
 .hg-consult-panel{padding-top:20px}.hg-feature-list{gap:7px}.hg-feature-list span{font-size:14px;min-height:36px}
}
@media(max-width:390px){.hg-service span{font-size:18px!important}.hg-service small{font-size:14px!important}}

/* v2.6 news archive / historical record */
.hg-past-notice{max-width:760px;margin:0 auto 28px;padding:18px 20px;border:2px solid #555;background:#f7f7f7}
.hg-past-notice strong{display:block;font-size:1.15rem;margin-bottom:6px}.hg-past-notice p{margin:.35em 0}

/* v2.7 — official channels and quiet news presentation */
.hg-social-section{background:#f7f9f7!important;border-top:1px solid var(--line)!important}
.hg-social-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.hg-social-link{display:flex!important;flex-direction:column;justify-content:center;min-height:72px;padding:13px 16px;border:1px solid #aebbb3;background:#fff;color:var(--ink)!important;text-decoration:none!important}
.hg-social-link strong{font-size:16px;line-height:1.4}.hg-social-link span{font-size:14px;line-height:1.45;margin-top:3px;overflow-wrap:anywhere}.hg-social-link[href]:hover{text-decoration:underline!important;text-underline-offset:.2em}.hg-social-id{border-style:dashed}
.hg-history-news{background:#f7f9f7!important;border-top:1px solid var(--line)!important}
/* Cocoon's generic blog furniture is not part of Hongakuji's news UI. */
body.single-post .sns-share,body.single-post .sns-follow,body.single-post .author-box,body.single-post .post-author,body.single-post .footer-meta,body.single-post .related-entry-heading,body.single-post .related-list,body.single-post .pager-post-navi{display:none!important}
body.single-post .entry-content{font-size:16px;line-height:1.8}body.single-post .entry-title{font-size:clamp(26px,4vw,38px);line-height:1.4}body.single-post .entry-content a{overflow-wrap:anywhere}
.hg-news-article{max-width:820px;margin:0 auto}.hg-news-back{margin:32px 0 0;padding-top:18px;border-top:1px solid var(--line)}
.hg-news-article .hg-social-section{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);margin-top:36px}.hg-news-article .hg-social-section>.hg-inner{max-width:820px}
@media(max-width:760px){.hg-social-links{grid-template-columns:1fr}.hg-social-link{min-height:62px;padding:11px 14px}body.single-post .entry-content{font-size:16px!important}}

/* v2.8 — remove Cocoon blog chrome from the Hongakuji news archive as well as articles */
body.hg-news-screen .sns-share,
body.hg-news-screen .sns-share-message,
body.hg-news-screen .sns-follow,
body.hg-news-screen .sns-follow-message,
body.hg-news-screen .author-box,
body.hg-news-screen .post-author,
body.hg-news-screen .footer-meta,
body.hg-news-screen .date-tags,
body.hg-news-screen .entry-categories,
body.hg-news-screen .entry-tags,
body.hg-news-screen .related-entry-heading,
body.hg-news-screen .related-list,
body.hg-news-screen .pager-post-navi,
body.hg-news-screen .post-date,
body.hg-news-screen .post-update,
body.hg-news-screen .article-footer-entry,
body.hg-news-screen .footer-post-meta,
body.hg-news-screen .entry-footer {display:none!important}
body.hg-news-screen.page .entry-title{display:none!important}
body.hg-news-screen .hg-page{margin-top:0}

/* v2.9 — basic-design completion: quiet one-column news, visible record date, stable seasonal links */
body.hg-news-screen #sidebar,
body.hg-news-screen .sidebar,
body.hg-news-screen .sidebar-scroll,
body.hg-news-screen .widget-area,
body.hg-news-screen .comment-area,
body.hg-news-screen #comment-area,
body.hg-news-screen .comments-area,
body.hg-news-screen .entry-categories-tags,
body.hg-news-screen .breadcrumb {display:none!important}
body.hg-news-screen #main,
body.hg-news-screen main.main,
body.hg-news-screen .main {width:100%!important;max-width:none!important;float:none!important;margin-left:auto!important;margin-right:auto!important}
body.hg-news-screen .content-in {display:block!important}
body.hg-news-screen.single-post .article {max-width:960px!important;margin-left:auto!important;margin-right:auto!important}
body.hg-news-screen.single-post .entry-header {max-width:820px!important;margin-left:auto!important;margin-right:auto!important}
.hg-news-date{max-width:820px;margin:0 auto 18px!important;font-size:16px;font-weight:700;line-height:1.5;color:#4b554f}
.hg-news-date time{display:inline-block}
.hg-news-article-footer{max-width:820px;margin:40px auto 0;border-top:1px solid var(--line);padding-top:8px}
.hg-news-article-footer .hg-social-section{margin:0!important;background:transparent!important;border-top:0!important;padding-top:24px!important;padding-bottom:24px!important}
.hg-news-article-footer .hg-social-section>.hg-inner{max-width:820px!important;padding-left:0!important;padding-right:0!important}
.hg-news-back{margin:4px 0 0!important;padding:18px 0 0!important;border-top:1px solid var(--line)!important}
.hg-news-back a{display:inline-flex;align-items:center;min-height:48px;font-weight:700;text-underline-offset:.2em}
@media(max-width:1023px){body.hg-news-screen.single-post .article,body.hg-news-screen.single-post .entry-header,.hg-news-article,.hg-news-date,.hg-news-article-footer{max-width:100%!important}}
/* v3.0 受付品質 */
.hg-booking-note{margin:14px 0 0;padding:12px 14px;border-left:4px solid currentColor;background:rgba(0,0,0,.035);font-size:.95rem;line-height:1.7}
.hg-booking-note strong{font-size:1rem}
.hg-event-status{display:inline-block;margin-left:.45em;padding:.2em .55em;border:1px solid currentColor;border-radius:999px;font-size:.72em;font-weight:700;line-height:1.35;vertical-align:.12em;white-space:nowrap}
@media(max-width:600px){.hg-event-status{margin:.35em 0 0;display:table}.hg-booking-note{font-size:.92rem}}

/* v3.1 非常時の公式情報・最低限の英語同定 */
.hg-emergency{background:#fff4d6;border-top:4px solid #8a2f22;border-bottom:2px solid #8a2f22;color:#231f1c}
.hg-emergency .hg-inner{max-width:1080px;margin:0 auto;padding:18px 24px}
.hg-emergency-label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 8px;font-size:16px}
.hg-emergency-label strong{font-size:18px}.hg-emergency-label span{font-weight:700}
.hg-emergency h2{margin:0 0 8px!important;padding:0!important;border:0!important;font-size:clamp(22px,4vw,30px)!important;line-height:1.45!important;color:#231f1c!important}
.hg-emergency-summary{font-size:17px;line-height:1.75;margin:6px 0}.hg-emergency-time{font-weight:700;margin:8px 0}
.hg-emergency-link{display:inline-block;min-height:48px;padding:11px 16px;border:2px solid #231f1c;border-radius:6px;color:#231f1c!important;font-weight:700;text-decoration:none!important;background:#fff}
.hg-emergency-link:focus-visible{outline:3px solid #166d91;outline-offset:3px}
.hg-official-identity{margin-top:26px;padding-top:20px;border-top:1px solid var(--line);font-size:15px;line-height:1.7}
.hg-official-identity p{margin:5px 0}.hg-official-identity [lang="en"]{font-size:15px}
@media(max-width:600px){.hg-emergency .hg-inner{padding:16px 18px}.hg-emergency-label{gap:6px 10px}.hg-emergency-summary{font-size:16px}}

/* v3.4: home information architecture */
.hg-home-now>h3,.hg-home-now-sub>h3{font-size:1.12rem;margin:0 0 12px}.hg-home-now-sub{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
.hg-parishioner-quick,.hg-know-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 28px}.hg-parishioner-quick a{display:flex;flex-direction:column;justify-content:center;min-height:78px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;text-decoration:none}.hg-parishioner-quick span{display:block;margin-top:3px;font-size:.9rem;color:#555}.hg-know-grid{grid-template-columns:1fr 1fr}.hg-know-grid>div{padding:18px 20px;border:1px solid var(--line);border-radius:8px}.hg-know-grid h3{margin-top:0;font-size:1.08rem}.hg-home-access{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
/* English page has its own official closing; suppress the Cocoon/WordPress theme footer there. */
body.hg-english-screen #footer,body.hg-english-screen .footer,body.hg-english-screen .footer-bottom,body.hg-english-screen .footer-bottom-logo,body.hg-english-screen .footer-bottom-content,body.hg-english-screen .footer-mobile-buttons,body.hg-english-screen #footer-mobile-buttons{display:none!important}
/* Reception status is supporting information, never the visual headline. */
.hg-event-status{font-size:.68em!important;font-weight:600!important;padding:.12em .45em!important;opacity:.82}
@media(max-width:700px){.hg-parishioner-quick,.hg-know-grid{grid-template-columns:1fr}.hg-parishioner-quick a{min-height:68px}}
/* v3.6-rc1: top page lightweight shortcuts and current-info grouping */
.hg-home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 22px}.hg-home-shortcuts a{display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;text-decoration:none;font-weight:700;background:#fff}.hg-home-social{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.hg-page-inquiry{text-align:center;margin:0}.hg-home-access-section .hg-inner{max-width:none}.hg-home-official-identity{padding-top:20px!important;padding-bottom:24px!important}.hg-home-official-identity .hg-official-identity{margin-top:0;padding-top:0;border-top:0}
@media(max-width:760px){.hg-home-shortcuts{grid-template-columns:1fr 1fr;gap:8px}.hg-home-shortcuts a{min-height:48px;padding:9px 8px}.hg-page-inquiry{text-align:left}}

/* v3.6.3 — English page: remove Cocoon article chrome above the custom English hero. */
body.hg-english-screen .entry-header,
body.hg-english-screen .sns-share,
body.hg-english-screen .sns-share-message,
body.hg-english-screen .date-tags,
body.hg-english-screen .post-date,
body.hg-english-screen .post-update {display:none!important;}
body.hg-english-screen .entry-content{margin-top:0!important;}

/* v3.6.5: 実物のお守り写真 */
.hg-amulet-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:12px 0 34px}.hg-amulet-gallery .hg-photo-real{width:100%!important;margin:0!important}.hg-amulet-gallery .hg-photo-real img{width:100%!important;height:auto!important;aspect-ratio:3/4;object-fit:contain!important;background:#f5f5f3}.hg-amulet-gallery .hg-photo-real figcaption{margin-top:6px}
@media(max-width:760px){.hg-amulet-gallery{grid-template-columns:1fr;gap:22px}.hg-amulet-gallery .hg-photo-real img{aspect-ratio:auto}}

/* v3.7 editable WordPress content */
.hg-editable-body > .wp-block-group.hg-section,
.hg-editable-body > .hg-section { margin: 0; }
.hg-editable-body > p,
.hg-editable-body > h2,
.hg-editable-body > h3,
.hg-editable-body > figure,
.hg-editable-body > ul,
.hg-editable-body > ol,
.hg-editable-body > .wp-block-image,
.hg-editable-body > .wp-block-table,
.hg-editable-body > .wp-block-columns {
  width: min(100% - 32px, 1120px);
  margin-left: auto;
  margin-right: auto;
}
.hg-editable-body > h2 { margin-top: 48px; }
.hg-editable-body > p { margin-top: 18px; margin-bottom: 18px; }
.hg-editable-body .wp-block-image img { height: auto; }
