.gk-entry>.gk-photo img,.temple-opening-figure img:not(.plan),body .temple-mast-common figure.temple-hero-model>img{object-fit:cover}.gk-entry>.gk-photo img[data-sculpture-thumbnail]{object-fit:cover;object-position:center top;transform:none}body .temple-mast-common .temple-gallery[data-opening-photo-preview] .temple-gallery-stage img{aspect-ratio:3/2;object-fit:cover;object-position:center;width:100%;height:auto}.temple-opening{max-width:54rem;margin-inline:auto}.temple-opening-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;display:flex}.temple-opening-tools .crumb{margin:0}.temple-opening-tools .temple-reading-switch{width:fit-content;margin:0}.temple-mast-common{--location-block-height:2.95rem;--opening-bottom-space:1.45rem}.temple-opening-title{text-align:center;padding:clamp(1.6rem, 4vw, 3.4rem) 0 var(--opening-bottom-space,1.45rem)}.temple-opening-title p{margin:0}.temple-opening-title h1{margin:.16rem 0 .75rem}.temple-opening-title dl{justify-items:center;gap:.25rem;margin:0;display:grid}.temple-opening-title dl div{justify-content:center;align-items:baseline;gap:.55rem;display:flex}.temple-opening-title dd{min-width:0;margin:0}.temple-opening-title dl div:has(.temple-place-note){flex-wrap:wrap;row-gap:0}.temple-place-note{flex-basis:100%}.temple-opening-figure{width:min(100%,40.5rem);margin:0 auto}.temple-opening-figure img{aspect-ratio:3/2;width:100%;height:auto;display:block}.temple-opening-figure[data-portrait]{width:min(100%,22rem)}.temple-opening-figure[data-portrait] img{aspect-ratio:2/3}.temple-opening-figure img.plan{object-fit:contain;background:#f0f1eb}.temple-opening-figure figcaption{border-bottom:1px solid var(--line);padding:.55rem 0 .7rem;position:relative}.temple-opening-figure figcaption>span{min-height:1.9rem;display:block}.temple-opening-figure figcaption:has(>.temple-image-credit)>span{padding-inline-end:6.5rem}.temple-opening-figure .temple-image-credit summary{position:absolute;inset-block-start:.55rem;inset-inline-end:0}.temple-opening-figure .temple-image-credit small{overflow-wrap:anywhere;margin-top:.2rem}.temple-figure-change{width:100%;display:block}.temple-opening-summary{max-width:42rem;margin:1.7rem auto 1.2rem}body main .temple-opening-summary h2{margin:0 0 .55rem}.temple-opening-summary p{margin:0}.temple-opening-summary .temple-later-address,.temple-opening-summary details{margin-top:.8rem}.temple-opening-summary summary{cursor:pointer;width:fit-content}.temple-opening-summary li{margin:.35rem 0}@media (max-width:42rem){.temple-opening-tools{align-items:flex-start}.temple-opening-title dl div{flex-wrap:wrap;row-gap:0}.temple-opening-summary{margin-top:1.2rem}}.temple-opening-title h1{overflow-wrap:anywhere;margin-inline:auto}.temple-opening-title dl div,.temple-period-head .temple-opening-title h1{max-width:100%}body main .temple-reading-mast .temple-opening-title h1{line-height:1.25}.temple-opening-title dl div:has(.temple-place-note) .reading-place{margin-bottom:0}.temple-opening-title dd.temple-place-note{line-height:1.35}.temple-opening-tools{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.temple-opening-tools .crumb{white-space:nowrap;scrollbar-width:none;flex-wrap:nowrap;min-width:0;overflow-x:auto}.temple-opening-tools .crumb>*{flex-shrink:0}.temple-opening-tools .temple-reading-switch{justify-self:end}.temple-opening-title .kana{min-height:1.8em;margin:0}body main :is(.temple-reading-mast,.temple-period-head,.temple-opening) .temple-opening-title h1{margin-block:0 .3rem;line-height:1.25}body main .temple-opening-title dl{min-height:var(--location-block-height,2.95rem);align-content:start}body main .temple-opening-title dl :is(dt,dd:not(.temple-place-note)){margin:0;font-size:.93rem;line-height:1.65}body main .temple-opening-title dl div{row-gap:0}@media (max-width:42rem){.temple-opening-tools{gap:.45rem}.temple-opening-tools .crumb{gap:.35rem}.temple-mast-common{--opening-bottom-space:20px}.temple-opening-title{padding-bottom:var(--opening-bottom-space,20px)}.temple-period-page .temple-gallery{margin-top:0}.temple-period-page .temple-gallery-stage{min-height:0}}.temple-opening-figure figcaption{font-size:.94rem}.temple-opening-figure figcaption span small{font-size:.84rem}.temple-opening-figure figcaption>small{font-size:.75rem}.yamada-map{max-width:36rem;margin:auto;position:relative}.yamada-map img,#yamada-plan-detail img{width:100%;height:auto;display:block}.yamada-map button{cursor:pointer;background:0 0;border:0;padding:0;position:absolute}.yamada-map button:focus-visible{outline:2px solid var(--verm)}#yamada-plan-detail img[hidden]{display:none}body main .temple-mast-common{width:100%;max-width:54rem;margin-inline:auto;padding:0}body main .temple-mast-common .temple-opening-title h1{font-size:var(--temple-name-size);line-height:1.25}body main .temple-mast-common .temple-gallery{margin-top:0}.temple-mast-common .temple-opening-title:not(:has(dl)):after{content:"";height:2.95rem;display:block}.temple-mast-common :is(.temple-gallery,.temple-hero){width:min(100%,40.5rem);margin-inline:auto}body .temple-mast-common .temple-hero img{aspect-ratio:3/2;object-fit:contain;width:100%;height:auto;max-height:none;display:block}body .temple-mast-common .temple-hero-crop{aspect-ratio:3/2}body .temple-mast-common .temple-hero-crop img{object-fit:cover;height:100%}.temple-mast-common{--temple-name-size:40px}@media (min-width:900px){.temple-mast-common{--temple-name-size:48px}}@media (min-width:1100px){.temple-mast-common{--temple-name-size:58px}}.geo-shell>.temple-mast-common:first-child{padding-top:1.5rem}.temple-mast-common .temple-opening-tools .geo-crumb{padding-block:0}@media (max-width:42rem){.history-overview .lineage-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}body main .temple-mast-common .temple-opening-title h1{letter-spacing:.055em;font-family:inherit;font-weight:500}body main .temple-mast-common .temple-opening-title .kana{color:#606060;letter-spacing:3px;min-height:20px;padding-inline-start:3px;font-size:14px;font-weight:400;line-height:20px}@media (max-width:32rem){.temple-mast-common .temple-opening-tools .crumb{white-space:normal;flex-wrap:wrap}.temple-mast-common .temple-opening-tools .crumb>[aria-current]{overflow-wrap:anywhere;max-width:100%}}@media (max-width:350px){.temple-mast-common .temple-opening-tools{min-height:84px}}
