:root {
  --orange: #da7c2b;
  --orange-light: #f49c50;
  --orange-pale: #fff4eb;
  --orange-border: #fde2be;
  --red: #f25f44;
  --green: #63c973;
  --green-dark: #4aad5a;
  --aqua: #42ccd8;
  --aqua-dark: #2ba1ac;
  --ink: #3c3c3c;
  --muted: #777;
  --line: #dedede;
  --white: #fff;
  --shadow: 0 8px 24px rgb(118 75 36 / 10%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18px 18px, rgb(244 156 80 / 7%) 1.2px, transparent 1.5px) 0 0 / 36px 36px,
    #fff;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol,
dl,
dd,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.mobile-topbar {
  display: none;
}

.site-header {
  width: min(100% - 48px, 980px);
  min-height: 136px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--orange);
}

.brand__copy {
  display: flex;
  flex-direction: column;
}

.brand__copy strong {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.brand__copy small {
  margin-top: 8px;
  font-family: Roboto, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
}

.brand__mark {
  position: relative;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50% 48% 44% 55%;
  background: #ffe762;
  transform: rotate(-5deg);
  box-shadow: inset -5px -6px 0 rgb(218 124 43 / 15%);
}

.brand__face {
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 17px;
}

.brand__mark::after {
  position: absolute;
  top: 37px;
  left: 29px;
  width: 17px;
  height: 9px;
  border-bottom: 3px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.brand__book {
  position: absolute;
  right: -8px;
  bottom: -3px;
  width: 31px;
  height: 25px;
  border: 3px solid var(--orange);
  border-radius: 3px 9px 3px 3px;
  background: var(--white);
  transform: rotate(10deg);
}

.header-info {
  text-align: right;
}

.header-info > p {
  color: var(--orange);
  font-size: 0.92rem;
}

.header-info__links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
}

.header-info__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-info__links span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

.header-info__links svg {
  width: 9px;
  height: 12px;
  fill: currentColor;
}

.global-nav {
  padding: 22px 0;
  background: var(--orange-pale);
}

.global-nav ul {
  width: min(100% - 48px, 980px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
  border: 2px solid var(--orange-light);
  border-radius: 100px;
  background: var(--white);
}

.global-nav li {
  position: relative;
  flex: none;
  text-align: center;
  line-height: 1.4;
}

.global-nav li + li::before {
  position: absolute;
  top: 50%;
  left: 0;
  height: 22px;
  border-left: 2px dotted var(--orange-light);
  transform: translateY(-50%);
  content: "";
}

.note-retire {
  color: var(--muted);
  font-size: 0.84em;
  font-weight: 500;
}

.quick-menu .note-retire {
  display: block;
}

.global-nav a {
  display: block;
  padding: 2px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--orange);
}

.hero {
  position: relative;
  width: min(100% - 48px, 1128px);
  margin: 24px auto 0;
}

.hero__track {
  position: relative;
  aspect-ratio: 1024 / 290;
  overflow: hidden;
  border-radius: 999px;
  background: var(--orange-pale);
  box-shadow: var(--shadow);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__dots {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d4d4d4;
  cursor: pointer;
}

.hero__dots button.is-active {
  background: var(--orange-light);
}

.page-layout {
  width: min(100% - 48px, 980px);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.page-layout main {
  min-width: 0;
  grid-column: 2;
}

.page-layout2 {
  width: min(100% - 0px, 980px);
  margin: 0px auto 0;
  display: grid;
  grid-template-columns: 0px minmax(0, 1fr);
  gap: 0px;
  align-items: start;
}

.page-layout2 main {
  min-width: 0;
  grid-column: 2;
}

.sidebar {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.important {
  display: grid;
  grid-template-columns: 112px 1fr;
  margin-bottom: 32px;
  overflow: hidden;
  border: 2px solid var(--red);
  border-radius: 11px;
  background: var(--white);
}

.important h2 {
  display: grid;
  min-height: 84px;
  place-items: center;
  padding: 13px 8px;
  color: var(--white);
  background: var(--red);
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: center;
}

.important__content {
  padding: 8px 24px 16px;
}

.important a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4px;
  transition: background 180ms ease;
}

.important a + a {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dotted var(--red);
}

.important a:hover,
.important a:focus-visible {
  background: #fff9f7;
}

.important__meta,
.topic-list__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.important time,
.topic-list time {
  color: var(--muted);
  font-family: Roboto, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.important strong {
  margin-top: 4px;
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  min-width: 120px;
  padding: 2px 8px;
  border-radius: 100px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.tag--news {
  background: var(--orange-light);
}

.tag--letter {
  background: #be4d4d;
}

.tag--event {
  background: var(--green);
}

.tag--new {
  background: #4d9bbe;
}

.quick-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 34px;
}

.quick-menu a {
  display: flex;
  min-height: 150px;
  flex-wrap: wrap;
  align-items: flex-end;
  padding: 32px 8px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--orange-light);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.quick-menu a:nth-child(3n) {
  border-right: 0;
}

.quick-menu a:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.quick-menu a:hover,
.quick-menu a:focus-visible {
  color: var(--orange);
  background: var(--orange-pale);
}

.quick-menu a > span {
  display: flex;
  flex-basis: 100%;
  min-height: 2em;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quick-menu__icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.quick-menu__icon--guide {
  width: 28px;
  height: 48px;
  background-image: url("../img/home/icon_guide.svg");
}

.quick-menu__icon--hohoemigo {
  width: 68px;
  height: 46px;
  background-image: url("../img/home/icon_hohoemigo.svg");
}

.quick-menu__icon--login {
  width: 40px;
  height: 34px;
  background-image: url("../img/home/icon_login.svg");
}

.quick-menu__icon--events {
  width: 54px;
  height: 42px;
  background-image: url("../img/home/icon_events.svg");
}

.quick-menu__icon--child {
  width: 60px;
  height: 44px;
  background-image: url("../img/home/icon_child.svg");
}

.quick-menu__icon--newlib {
  width: 44px;
  height: 48px;
  background-image: url("../img/home/icon_newlib.svg");
}

.quick-menu__icon--faq {
  width: 62px;
  height: 30px;
  background-image: url("../img/home/icon_faq.svg");
}

.quick-menu__icon--ranking {
  width: 92px;
  height: 36px;
  background-image: url("../img/home/icon_ranking.svg");
}

.quick-menu__icon--access {
  width: 40px;
  height: 40px;
  background-image: url("../img/home/icon_access.svg");
}

br.is-spbr {
  display: none;
}

.tablet-tools {
  display: none;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 7px;
  border-bottom: 2px solid var(--orange-light);
}

.section-heading h2 {
  color: var(--orange);
  font-size: 1.35rem;
  line-height: 1.5;
}

.section-heading a,
.mobile-all-link {
  position: relative;
  padding-left: 15px;
  color: var(--orange);
  font-size: 0.8rem;
}

.section-heading a::before,
.mobile-all-link::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--orange-light);
  border-right: 2px solid var(--orange-light);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.topic-tabs {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.topic-tabs::-webkit-scrollbar {
  display: none;
}

.topic-tabs button {
  position: relative;
  flex: none;
  padding: 4px 0 5px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.85rem;
  cursor: pointer;
}

.topic-tabs button.is-active {
  padding: 4px 16px 5px;
  border-radius: 50px;
  color: var(--white);
  background: var(--orange-light);
  font-weight: 700;
}

.topic-tabs button[data-filter="letter"].is-active {
  background: #be4d4d;
}

.topic-tabs button[data-filter="event"].is-active {
  background: var(--green);
}

.topic-tabs button[data-filter="new"].is-active {
  background: #4d9bbe;
}

.topic-list li {
  border-top: 1px dotted var(--orange-light);
}

.topic-list li:last-child {
  border-bottom: 1px dotted var(--orange-light);
}

.topic-list li[hidden] {
  display: none;
}

.topic-list a {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  font-size: 1rem;
  transition: color 180ms ease;
}

.topic-list a:hover,
.topic-list a:focus-visible {
  color: var(--orange);
}

.topic-list time,
.topic-list .tag {
  font-size: 1rem;
}

.mobile-all-link {
  display: none;
}

.sidebar > * + * {
  margin-top: 18px;
}

.login-card,
.search-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--orange-pale);
}

.login-card h2 {
  margin-bottom: 9px;
  color: var(--orange);
  font-size: 1.05rem;
  text-align: center;
}

.login-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px;
  border-radius: 9px;
  color: var(--white);
  background: var(--orange-light);
  box-shadow: 0 5px 0 var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
}

.search-card h2 {
  margin-bottom: 9px;
  color: var(--orange);
  font-size: 0.96rem;
  text-align: center;
}

.book-search input {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 9px 10px;
  border: 2px solid var(--orange-border);
  border-radius: 8px;
  outline: none;
  background: var(--white);
  font-size: 0.84rem;
}

.book-search input:focus {
  border-color: var(--orange-light);
  box-shadow: 0 0 0 3px rgb(244 156 80 / 15%);
}

.book-search button,
.detail-link,
.digital-library {
  display: flex;
  width: 55%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  color: var(--white);
  font-weight: 300;
  cursor: pointer;
}

.book-search button {
  gap: 6px;
  padding: 9px 10px;
  background: var(--green);
  box-shadow: 0 5px 0 var(--green-dark);
  font-size: 1rem;
}

.book-search button span {
  font-size: 1.3rem;
}

.detail-link {
  margin-top: 14px;
  padding: 7px;
  background: var(--orange-light);
  box-shadow: 0 4px 0 var(--orange);
  font-size: 0.82rem;
}

.text-link {
  display: block;
  margin-top: 14px;
  color: var(--orange);
  font-size: 0.77rem;
  line-height: 1.55;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book-search button:active,
.detail-link:active,
.login-card a:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--green-dark);
}

.digital-library {
  gap: 8px;
  min-height: 10px;
  padding: 5px;
  background: var(--aqua);
  font-size: 1.08rem;
}

.digital-library span {
  font-size: 1.6rem;
  transform: rotate(180deg);
}

.calendar-card {
  padding-top: 4px;
}

.calendar-card h2 {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--orange-light);
  color: var(--orange);
  font-size: 1rem;
}

.calendar-legend {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  padding: 8px 0 5px;
  font-size: 0.86rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.calendar-legend i {
  width: 16px;
  height: 16px;
  background: #ddfecb;
  box-shadow: inset 0 0 0 1px #ddd;
}

.calendar-legend span:last-child i {
  background: #fec0bd;
  box-shadow: inset 0 0 0 1px #ddd;
}

.calendar {
  overflow: hidden;
  border: 1px solid #e2e2e2;
  background: var(--white);
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  background: #f2f2f2;
}

.calendar__header strong {
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
}

.calendar__header button {
  display: grid;
  width: 23px;
  height: 23px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--white);
  background: #b9bec2;
  cursor: pointer;
}

.calendar__header button:hover {
  background: #969da2;
}

.calendar table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 0.68rem;
  text-align: center;
}

.calendar th {
  height: 42px;
  padding: 3px 0;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
}

.calendar td {
  height: 27px;
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  background: #ddfecb;
  color: var(--ink);
}

.calendar td:first-child {
  border-left: 0;
}

.calendar td.is-closed {
  background: #fec0bd;
  color: var(--ink);
}

.calendar td.is-empty {
  background: #f2f2f2;
}

.calendar td.is-event {
  position: relative;
}

.calendar td.is-event::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 7px solid #f25f44;
  border-left: 7px solid transparent;
  content: "";
}

.calendar-card > p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.65;
}

.sub-links {
  display: grid;
  padding: 16px;
  border-radius: 10px;
  background: #f7f7f7;
}

.sub-links a {
  padding: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
}

.sub-links a + a {
  border-top: 1px solid var(--line);
}

.related-sites {
  width: min(100% - 48px, 980px);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  padding: 20px;
  border-radius: 20px;
  background: var(--orange-pale);
}

.related-sites a {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 8px 14px;
  background: var(--white);
  transition: transform 180ms ease;
}

.related-sites a:first-child {
  border-radius: 10px 0 0 10px;
}

.related-sites a:last-child {
  border-radius: 0 10px 10px 0;
}

.related-sites a:hover {
  transform: translateY(-2px);
}

.related-sites__symbol {
  display: grid;
  width: 39px;
  height: 39px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-family: Roboto, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.related-sites__symbol--town {
  background: #65b978;
}

.related-sites__symbol--miraion {
  background: #4ca7d7;
}

.related-sites__symbol--order {
  background: var(--orange-light);
}

.related-sites strong,
.related-sites small {
  display: block;
  line-height: 1.35;
}

.related-sites strong {
  font-size: 0.85rem;
}

.related-sites small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.56rem;
}

.site-footer {
  width: min(100% - 48px, 980px);
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  padding: 32px 0 56px;
}

.footer-brand-box {
  margin-right: 72px;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.footer-brand-en {
  display: block;
  margin-top: 8px;
  font-family: Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.footer-hours {
  margin-top: 24px;
}

.footer-contact address {
  padding-bottom: 8px;
  font-style: normal;
  line-height: 1.4;
}

.footer-contact p {
  display: flex;
  justify-content: flex-start;
}

.copyright {
  display: block;
  padding: 24px 16px;
  color: var(--white);
  background: var(--orange-light);
  font-family: Roboto, sans-serif;
  font-size: 0.75rem;
  text-align: center;
}

.copyright a {
  color: var(--white);
}

.mobile-menu,
.menu-scrim {
  display: none;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 8px 30px rgb(0 0 0 / 18%);
  font-size: 0.84rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .site-header {
    width: min(100% - 32px, 860px);
    min-height: 110px;
  }

  .global-nav {
    display: none;
  }

  .hero {
    width: calc(100% - 32px);
    margin-top: 0;
  }

  .hero__track {
    border-radius: 20px;
  }

  .page-layout {
    width: min(100% - 32px, 820px);
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .page-layout main {
    grid-column: 1;
  }

  .sidebar {
    display: none;
  }

  .tablet-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin: 18px 0 40px;
  }

  .search-card--wide {
    grid-row: span 2;
  }

  .tablet-tools .digital-library {
    margin-top: 0;
  }

  .tablet-tools .calendar-card {
    grid-column: 2;
  }

  .calendar-card h2 {
    font-size: 1.3rem;
  }

  .calendar table {
    font-size: 0.78rem;
  }

  .calendar td {
    height: 33px;
  }

  .related-sites {
    width: min(100% - 32px, 820px);
    margin-top: 52px;
  }

  .site-footer {
    width: min(100% - 32px, 820px);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .mobile-topbar {
    display: flex;
    min-height: 47px;
    align-items: center;
    padding: 0 88px 0 16px;
    color: #6a6a6a;
    background: var(--orange-pale);
    font-size: 0.73rem;
  }

  .menu-button {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    display: flex;
    width: 76px;
    height: 76px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0 0 0 17px;
    color: var(--white);
    background: var(--orange-light);
    cursor: pointer;
    box-shadow: 0 5px 18px rgb(154 87 28 / 18%);
  }

  .menu-button__lines,
  .menu-button__lines::before,
  .menu-button__lines::after {
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: 220ms ease;
  }

  .menu-button__lines {
    position: relative;
  }

  .menu-button__lines::before,
  .menu-button__lines::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-button__lines::before {
    top: -8px;
  }

  .menu-button__lines::after {
    top: 8px;
  }

  .menu-button__text {
    font-size: 0.65rem;
    font-weight: 600;
  }

  .menu-open .menu-button__lines {
    background: transparent;
  }

  .menu-open .menu-button__lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-open .menu-button__lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-header {
    width: calc(100% - 32px);
    min-height: 112px;
    justify-content: flex-start;
  }

  .brand {
    gap: 9px;
  }

  .brand__copy strong {
    font-size: clamp(1.5rem, 7.7vw, 2rem);
  }

  .brand__copy small {
    margin-top: 6px;
    font-size: 0.58rem;
  }

  .brand__mark {
    width: 58px;
    height: 58px;
  }

  .brand__face {
    top: 13px;
    left: 17px;
  }

  .brand__mark::after {
    top: 29px;
    left: 22px;
  }

  .brand__book {
    width: 26px;
    height: 21px;
  }

  .header-info {
    display: none;
  }

  .hero__track {
    aspect-ratio: 1 / 0.67;
    border-radius: 16px;
  }

  .hero__dots {
    bottom: -19px;
  }

  .page-layout {
    width: calc(100% - 32px);
    margin-top: 46px;
  }

  .important {
    display: block;
    margin-bottom: 24px;
  }

  .important h2 {
    display: block;
    min-height: 0;
    padding: 7px 12px;
    font-size: 0.88rem;
    text-align: left;
  }

  .important h2 br {
    display: none;
  }

  .important a {
    padding: 11px 13px 13px;
  }

  .important strong {
    font-size: 0.86rem;
  }

  .quick-menu {
    margin-right: -5px;
    margin-left: -5px;
  }

  .quick-menu a {
    min-height: 100px;
    padding: 16px 4px;
    font-size: 0.82rem;
  }

  .quick-menu__icon {
    transform: scale(0.9);
  }

  br.is-spbr {
    display: block;
  }

  .tablet-tools {
    display: block;
    margin: 12px 0 34px;
  }

  .tablet-tools > * + * {
    margin-top: 22px;
  }

  .search-card--wide {
    padding: 18px;
  }

  .search-card--wide h2 {
    font-size: 1.12rem;
  }

  .tablet-tools .calendar-card {
    margin-top: 28px;
  }

  .calendar td {
    height: 37px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 1.18rem;
  }

  .section-heading > a {
    display: none;
  }

  .topic-tabs {
    gap: 18px;
    margin-right: -16px;
    padding: 10px 16px 8px 0;
  }

  .topic-tabs button {
    font-size: 0.76rem;
  }

  .topic-list a {
    display: block;
    padding: 13px 0;
    font-size: 0.82rem;
  }

  .topic-list__meta {
    margin-bottom: 5px;
  }

  .mobile-all-link {
    display: block;
    width: max-content;
    margin: 17px 0 0 auto;
  }

  .related-sites {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 42px;
    padding: 22px 16px;
    border-radius: 0;
  }

  .related-sites a {
    justify-content: flex-start;
    padding: 9px 28px;
    border-radius: 10px !important;
  }

  .site-footer {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    padding: 32px 0 56px;
    text-align: center;
  }

  .footer-brand-box,
  .footer-contact {
    flex-basis: 100%;
  }

  .footer-brand-box {
    margin-right: 0;
  }

  .footer-hours {
    margin-bottom: 40px;
    font-size: 0.88rem;
  }

  .footer-contact p {
    justify-content: center;
    font-size: 0.88rem;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: block;
    width: min(85vw, 360px);
    padding: 94px 20px 28px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -12px 0 40px rgb(0 0 0 / 15%);
    transform: translateX(105%);
    transition: transform 280ms cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .menu-open .mobile-menu {
    transform: translateX(0);
  }

  .mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 18px;
  }

  .mobile-menu__actions a {
    padding: 10px 7px;
    border-radius: 8px;
    color: var(--white);
    background: var(--orange-light);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
  }

  .mobile-menu__links {
    display: grid;
  }

  .mobile-menu__links a {
    position: relative;
    padding: 12px 24px 12px 6px;
    border-bottom: 1px dotted #ccc;
    font-size: 0.83rem;
  }

  .mobile-menu__links a::after {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--orange-light);
    border-right: 2px solid var(--orange-light);
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

  .menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: block;
    visibility: hidden;
    background: rgb(45 30 20 / 42%);
    opacity: 0;
    transition: opacity 280ms ease;
  }

  .menu-open .menu-scrim {
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 380px) {
  .brand__mark {
    display: none;
  }

  .quick-menu a {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
