/* Custom overrides for LP mobile layout */
.l-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
}
.l-footer-nav__item-in {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  font-weight: 700;
  color: var(--mh--color--grayscale-900);
  text-decoration: none;
}
.l-footer-nav__item-in span {
  display: inline-block;
}
@media (min-width: 768px) {
  .l-footer-nav {
    justify-content: flex-end;
    gap: 30px;
  }
}
/* Ensure images scale on small screens */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive layout tweaks */
.l-container,
.l-container.is-col2 {
  max-width: 100%;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.l-container.is-col2 {
  display: block;
}

.l-container.is-col2 .l-sidebar {
  order: 1;
}

.l-footer-nav__item-in:hover {
  color: var(--mh--color--tertiary-500);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ===== Inline-style refactors for water template ===== */
/* Announcement box at top of page */
.home-announcement {
  max-width: 880px;
  margin: 0 auto 1em;
  padding: 32px 24px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Noto Sans JP','Helvetica Neue',Arial,sans-serif;
}
.home-announcement__title {
  margin: 0 0 8px;
  font-size: 1em;
  line-height: 1.3;
  text-align: center;
}
.home-announcement__catch {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  color: #0066CC;
  text-align: center;
}
.home-announcement__lead {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
  color: #333;
}
.home-announcement__p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.home-announcement__note {
  margin: 24px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}
.home-announcement__note sup { font-size: 80%; }

/* Utilities */
.u-nowrap { white-space: nowrap; }
.u-sup-70 { font-size: 70% !important; }
.u-sup-80 { font-size: 80% !important; }

/* General small note text (used under slider) */
.u-note {
  margin: 24px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}
.u-note sup { font-size: 80%; }

/* Area note text before area links */
.u-area-note {
  font-size: .8em;
  color: #535353;
  margin: 2em 0;
}
