/* Shared layout and supplied content. */
@media (min-width: 761px) {
  .museum-header .museum-menu .mmt-language-select { background-color: transparent; color: inherit; }
}
@media (max-width: 760px) {
  html:root .collection-revised nav.collection-local-nav { position: sticky; height: auto; min-height: 0; }
}
.news-detail-layout .content-detail-image { object-fit: contain; }
.guide-rental-contact .button svg { flex: none; vertical-align: middle; }
.mobile-visit-links img { mix-blend-mode: screen; }
.translation-notice { max-width: 900px; margin: 24px 0 0; color: inherit; opacity: .85; font-size: 12px; line-height: 1.8; }
@media (min-width: 761px) {
  .museum-menu__primary > a, .museum-menu__primary > .museum-menu-group > summary { border-left: 1px solid #ffffff50; padding-left: 14px; }
  .home-destination--blog { grid-column: 1; grid-row: 2; }
  .home-destination--cafe { grid-column: 2; grid-row: 2; }
}
html:root :is(.about-section-nav,.facility-section-nav,.guide-local-nav,.collection-local-nav,.local-nav) {
  position: sticky; top: var(--museum-sticky-top,var(--museum-header-height)); z-index: 900;
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  height: auto; min-height: 64px; overflow: visible; white-space: normal;
  gap: 0; padding: 0 var(--museum-gutter); background: #fff;
}
html:root :is(.about-section-nav,.facility-section-nav,.guide-local-nav,.collection-local-nav,.local-nav) > a {
  display: flex; align-items: center; justify-content: center; flex: 1 1 130px;
  height: auto; min-width: 0; padding: 16px 12px; white-space: normal;
  text-align: center; overflow-wrap: anywhere; line-height: 1.5;
}
html:root { scroll-padding-top: calc(var(--museum-sticky-top,var(--museum-header-height)) + var(--museum-local-nav-height,0px) + 16px); }
body.redesign-home, body.redesign-inner { padding-top: var(--museum-sticky-top,var(--museum-header-height)); }
.access-bus-stops { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.access-bus-stops figure { margin: 0; }
.access-bus-stops img { display: block; width: 100%; height: auto; }
.access-bus-stops figcaption { margin-top: 10px; font-size: 14px; line-height: 1.7; }
.rental-fees { margin-top: 10px; }
.rental-fee-mobile { display: none; }
.rental-fee-table-wrap { max-width: 100%; overflow-x: auto; margin: 20px 0; }
.rental-fee-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.rental-fee-table caption { text-align: left; font-weight: 700; margin-bottom: 10px; }
.rental-fee-table :is(th,td) { border: 1px solid #d6d2ca; padding: 10px; text-align: left; vertical-align: middle; }
.rental-fee-table thead { background: #f0ede4; }
.rental-fee-table td { white-space: nowrap; }
.rental-fee-table small { font-size: .85em; white-space: nowrap; }
.faq-list > .faq-category { padding: 0; border: 0; border-bottom: 1px solid #cfc9c1; margin: 0 0 12px; }
.faq-list > .faq-category > summary { padding: 20px 18px; }
.faq-category__questions { padding: 0 18px 18px; }
.faq-category__questions > details { padding: 14px; margin: 8px 0; background: #f7f6f2; }
.faq-category__questions > details > summary { display: list-item; font-size: 15px; padding: 0; }
.faq-category__questions > details > summary::after { content: none; }
.press-links { border-top: 1px solid #ccc; margin-top: 28px; padding-top: 24px; }
.press-links a { text-decoration: underline; text-underline-offset: .2em; }
.press-links h4 { margin: 14px 0; font: inherit; font-weight: 700; }
.event-detail-layout h2 { font-family: "Noto Sans JP","Yu Gothic",Meiryo,sans-serif; }
.staff-blog-section:has(.staff-note-grid) { max-width: 1150px; }
.staff-note-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 24px 0; }
.staff-note-card { min-width: 0; background: #fff; border: 1px solid #d6d2ca; }
.staff-note-card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.staff-note-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.91; object-fit: cover; }
.staff-note-card a > div { padding: 18px; }
.staff-note-card__source { display: inline-block; margin-right: 12px; font-weight: 700; }
.staff-note-card time { font-size: 12px; color: #666; }
.staff-note-card h3 { font: 700 17px/1.7 "Noto Sans JP","Yu Gothic",Meiryo,sans-serif; margin: 10px 0; overflow-wrap: anywhere; }
.staff-note-card p { font-size: 14px; line-height: 1.8; margin: 0; color: #555; }
.staff-note-card a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.dali-group-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 30px 0; }
.dali-group-links a { text-decoration: underline; text-underline-offset: .25em; padding-block: 8px; }
.dali-work-group { margin-top: 50px; }
.dali-work-group > h3 { font-size: 24px; padding-bottom: 16px; border-bottom: 1px solid #ccc; }
.collection-contact-card__image > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.exhibition-highlight-images { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 24px; margin: 30px 0 48px; }
.exhibition-highlight-images figure { margin: 0; }
.exhibition-highlight-images img { display: block; max-width: 100%; width: auto; height: 220px; object-fit: contain; margin: auto; }
.exhibition-highlight-images figcaption, .exhibition-highlight-image figcaption { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.exhibition-highlight-image { max-width: 760px; margin: 30px auto 48px; }
.exhibition-highlight-image img { display: block; max-width: 100%; max-height: 500px; width: auto; height: auto; margin: auto; }
@media (max-width: 900px) {
  .staff-note-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .museum-header__tools .mmt-language-select-wrap svg { display: block; width: 16px; height: 16px; flex: none; }
  .museum-header__tools .mmt-language-select-wrap { flex-direction: row; gap: 6px; }
  html:root :is(.about-section-nav,.facility-section-nav,.guide-local-nav,.collection-local-nav,.local-nav) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; min-height: 0; }
  html:root :is(.about-section-nav,.facility-section-nav,.guide-local-nav,.collection-local-nav,.local-nav) > a { padding: 9px 7px; min-height: 44px; border-bottom: 1px solid #d6d2ca; border-right: 1px solid #d6d2ca; font-size: 12px; }
  .access-bus-stops { grid-template-columns: 1fr; gap: 28px; }
  .access-bus-stops figure { max-width: 420px; margin-inline: auto; }
  .rental-fee-table-wrap { display: none; }
  .rental-fee-mobile { display: block; margin-block: 1.5rem; }
  .rental-fee-card { margin-block: .75rem; border: 1px solid #d6d2ca; }
  .rental-fee-card h5 { background: #f0ede4; padding: .65rem .75rem; margin: 0; font-size: 1rem; }
  .rental-fee-card dl { padding: 0 .75rem; margin: 0; }
  .rental-fee-card dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding-block: .5rem; }
  .rental-fee-card dl > div + div { border-top: 1px solid #e5e2dc; }
  .rental-fee-card small { display: inline-block; font-size: .85em; }
  .rental-fee-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
  .exhibition-highlight-images { grid-template-columns: 1fr; gap: 30px; }
  .exhibition-highlight-images img { height: auto; max-height: 280px; }
  .faq-category__questions { padding-inline: 10px; }
}
@media (max-width: 540px) { .staff-note-grid { grid-template-columns: 1fr; } }

/* Museum-logo archive visuals do not use the exhibition poster's offset shadow. */
.detail-hero__visual img[src*="/morohashi-museum-logo"] {
  box-shadow: none;
}
