:root {
  --wm-color-primary: #027b34;
  --wm-color-primary-dark: #01642a;
  --wm-color-surface: #ffffff;
  --wm-color-border: rgba(2, 123, 52, 0.16);
  --wm-content-width: 1200px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.wm-page-header {
  min-height: 210px;
  border-bottom: 1px solid rgba(2, 123, 52, 0.16);
  background: linear-gradient(135deg, #f4f8f5 0%, #e8f2eb 100%);
}

.wm-page-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--wm-content-width));
  min-height: 210px;
  margin: 0 auto;
  padding: 32px 0;
  flex-direction: column;
  justify-content: center;
}

.wm-page-header__breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
  color: #5d665f;
  font-size: 12px;
}

.wm-page-header__breadcrumb a {
  color: var(--wm-color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wm-page-header__eyebrow {
  margin: 0 0 6px;
  color: var(--wm-color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wm-page-header__title {
  margin: 0;
  color: #1f2a23;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.35;
}

.wm-header,
.wm-header * {
  box-sizing: border-box;
}

.wm-header {
  position: relative;
  z-index: 30;
  background: var(--wm-color-surface);
  border-bottom: 1px solid rgba(2, 123, 52, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wm-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(calc(100% - 40px), var(--wm-content-width));
  min-height: 82px;
  margin: 0 auto;
}

.wm-header__logo {
  flex: 0 0 260px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

.wm-header__logo-link {
  display: block;
}

.wm-header__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.wm-header__desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.wm-header__nav-list,
.wm-header__nav-list .sub-menu,
.wm-header__drawer-nav-list,
.wm-header__drawer-nav-list .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wm-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.wm-header__nav-list > .menu-item {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wm-header__nav-list a {
  display: block;
  padding: 30px 0;
  color: var(--wm-color-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.wm-header__nav-list > .menu-item-has-children > a::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0 3px 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.wm-header__nav-list > .menu-item > a:hover,
.wm-header__nav-list > .menu-item > a:focus-visible {
  color: var(--wm-color-primary-dark);
}

.wm-header__nav-list .sub-menu {
  position: absolute;
  top: calc(100% - 12px);
  left: -16px;
  min-width: 210px;
  background: var(--wm-color-surface);
  border: 1px solid var(--wm-color-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.wm-header__nav-list > .menu-item:hover > .sub-menu,
.wm-header__nav-list > .menu-item:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wm-header__nav-list .sub-menu a {
  padding: 10px 16px;
  font-size: 14px;
  white-space: normal;
}

.wm-header__nav-list .sub-menu a:hover,
.wm-header__nav-list .sub-menu a:focus-visible {
  background: rgba(2, 123, 52, 0.08);
}

.wm-header__line-cta {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--wm-color-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.wm-header__line-cta:hover,
.wm-header__line-cta:focus-visible {
  color: #ffffff;
  opacity: 0.8;
}

.wm-header__menu-toggle {
  display: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--wm-color-primary);
  border-radius: 4px;
  background: #ffffff;
  color: var(--wm-color-primary);
  cursor: pointer;
}

.wm-header__menu-toggle-icon,
.wm-header__menu-toggle-icon::before,
.wm-header__menu-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.wm-header__menu-toggle-icon {
  position: relative;
}

.wm-header__menu-toggle-icon::before,
.wm-header__menu-toggle-icon::after {
  position: absolute;
  left: 0;
}

.wm-header__menu-toggle-icon::before {
  top: -7px;
}

.wm-header__menu-toggle-icon::after {
  top: 7px;
}

.wm-header__drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  pointer-events: none;
}

.wm-header__drawer[hidden] {
  display: none;
}

.wm-header__drawer[data-menu-open="true"],
.wm-header__drawer[data-menu-closing="true"] {
  visibility: visible;
  pointer-events: auto;
}

.wm-header__drawer[data-menu-closing="true"] {
  pointer-events: none;
}

.wm-header__drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.wm-header__drawer-panel {
  position: relative;
  width: min(100% - 32px, 440px);
  height: 100%;
  margin: 0 0 0 auto;
  overflow-y: auto;
  background: var(--wm-color-surface);
  box-shadow: -12px 0 28px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wm-header__drawer[data-menu-open="true"] .wm-header__drawer-backdrop {
  opacity: 1;
}

.wm-header__drawer[data-menu-open="true"] .wm-header__drawer-panel {
  transform: translateX(0);
}

.wm-header__drawer-heading {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 1;
}

.wm-header__drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wm-color-primary);
  cursor: pointer;
}

.wm-header__drawer-close-icon,
.wm-header__drawer-close-icon::before {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.wm-header__drawer-close-icon {
  position: relative;
  transform: rotate(45deg);
}

.wm-header__drawer-close-icon::before {
  position: absolute;
  left: 0;
  top: 0;
}

.wm-header__drawer-close-icon::before {
  transform: rotate(90deg);
}

.wm-header__drawer-nav-list > .menu-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--wm-color-border);
  list-style: none;
}

.wm-header__drawer-nav-list > .menu-item:first-child > a {
  padding-right: 68px;
}

.wm-header__drawer-nav-list a {
  display: block;
  padding: 16px 20px;
  color: var(--wm-color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
}

.wm-header__drawer-nav-list .sub-menu {
  margin: 0 20px 14px;
  border-top: 1px solid var(--wm-color-border);
}

.wm-header__drawer-nav-list .sub-menu a {
  padding: 10px 0 10px 16px;
  font-size: 14px;
  font-weight: 500;
}

.wm-header__drawer-nav-list a:hover,
.wm-header__drawer-nav-list a:focus-visible {
  background: rgba(2, 123, 52, 0.08);
}

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

body[data-wm-menu-open="true"] {
  overflow: hidden;
}

.wm-footer,
.wm-footer * {
  box-sizing: border-box;
}

.wm-closing-cta,
.wm-closing-cta * {
  box-sizing: border-box;
}

.wm-closing-cta {
  margin: 0;
  padding: 64px 20px;
  background: rgba(2, 123, 52, 0.1);
}

.wm-closing-cta__inner {
  width: min(100%, 800px);
  margin: 0 auto;
  text-align: center;
}

.wm-closing-cta__heading,
.wm-closing-cta__lead,
.wm-closing-cta__sub {
  margin: 0;
}

#content-w .wm-closing-cta__heading {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #385822;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.wm-closing-cta__heading > span {
  display: inline-block;
  white-space: nowrap;
}

.wm-closing-cta__heading::before,
.wm-closing-cta__heading::after {
  content: none;
}

.wm-closing-cta__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.9;
}

.wm-closing-cta__actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.wm-button {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  min-height: 60px;
  padding: 8px 0;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(29, 43, 34, 0.12);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.wm-button::after {
  position: absolute;
  top: 50%;
  right: 23px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}

.wm-button:hover::after {
  transform: translate(4px, -50%) rotate(45deg);
}

.wm-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .wm-button::after {
    transition: none;
  }
}

.wm-icon {
  display: block;
}

.wm-icon > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wm-button__icon {
  grid-column: 1;
  margin-left: 20px;
}

.wm-button__label {
  grid-column: 2;
  min-width: 0;
  text-align: center;
}

.wm-button__icon--car {
  width: 28px;
  height: 28px;
}

.wm-button__icon--line {
  width: 44px;
  height: 44px;
  margin-left: 12px;
  margin-right: 24px;
  object-fit: contain;
}

.wm-button--stock {
  border-color: #027b34;
  background: #ffffff;
  color: #027b34;
}

#content-w .wm-button.wm-button--stock:hover,
#content-w .wm-button.wm-button--stock:focus-visible {
  color: #027b34;
}

.wm-button--line {
  background: #06c755;
  color: #ffffff;
}

#content-w .wm-button.wm-button--line:hover,
#content-w .wm-button.wm-button--line:focus-visible {
  color: #ffffff;
}

#content-w .wm-button.wm-button--line:hover .wm-button__icon--line,
#content-w .wm-button.wm-button--line:focus-visible .wm-button__icon--line {
  opacity: 1;
  filter: none;
}

.wm-closing-cta__actions > .wm-button {
  flex: 1 1 0;
  max-width: 320px;
}

.wm-closing-cta__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.wm-phone-link,
.wm-phone-link:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--wm-color-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.wm-phone-link:hover {
  color: var(--wm-color-primary-dark);
}

.wm-phone-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.wm-closing-cta__phone-hours,
.wm-closing-cta__trademark {
  color: #526158;
  font-size: 12px;
  line-height: 1.55;
}

.wm-closing-cta__trademark {
  display: block;
  margin-top: 16px;
  font-size: 10px;
}

.wm-footer#footer {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(2, 123, 52, 0.5);
  background: rgba(2, 123, 52, 0.1);
  color: #1d2b22;
  text-align: left;
}

/* AFFINGERの本文用の余白がフッター内のsectionに適用されるのを防ぐ。 */
.wm-footer section {
  margin-bottom: 0;
}

.wm-footer__inner {
  width: min(calc(100% - 40px), var(--wm-content-width));
  margin: 0 auto;
}

.wm-footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.55fr) minmax(210px, 0.75fr);
  gap: clamp(32px, 4vw, 56px);
  padding: 48px 0 40px;
}

.wm-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.wm-footer__logo-link {
  display: block;
  width: min(100%, 220px);
}

.wm-footer__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.wm-footer__company {
  margin: 16px 0 0;
  color: #324339;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.wm-footer#footer .wm-footer__stock-heading,
.wm-footer#footer .wm-footer__subheading,
.wm-footer#footer .wm-footer__store-name {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d2b22;
  text-align: left;
}

.wm-footer#footer .wm-footer__stock-heading::before,
.wm-footer#footer .wm-footer__stock-heading::after,
.wm-footer#footer .wm-footer__subheading::before,
.wm-footer#footer .wm-footer__subheading::after,
.wm-footer#footer .wm-footer__store-name::before,
.wm-footer#footer .wm-footer__store-name::after {
  content: none;
}

.wm-footer#footer .wm-footer__stock-heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.wm-footer__stock-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(2, 123, 52, 0.35);
  color: #1d2b22;
  font: inherit;
  text-decoration: none;
}

.wm-footer__stock-link > span:last-child {
  color: var(--wm-color-primary);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.wm-footer__search-groups {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.wm-footer#footer .wm-footer__subheading {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.wm-footer__search-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.wm-footer__search-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wm-footer#footer .wm-footer__search-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid rgba(2, 123, 52, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #274331;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.wm-footer__nav-list,
.wm-footer__legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wm-footer__nav-list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.wm-footer__nav-list .menu-item,
.wm-footer__legal-list .menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wm-footer__nav-list .menu-item {
  border-bottom: 1px solid rgba(56, 88, 34, 0.16);
}

.wm-footer#footer .wm-footer__nav-list a {
  color: #1d2b22;
  font-weight: 500;
  text-decoration: none;
}

.wm-footer#footer .wm-footer__legal-list a {
  color: #1d2b22;
  font-weight: 400;
  text-decoration: none;
}

.wm-footer__nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.5;
}

.wm-footer__nav-list a::after {
  content: "\2192";
  color: rgba(2, 123, 52, 0.7);
  transition: transform 0.2s ease;
}

.wm-footer__stores {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--wm-color-border);
}

.wm-footer#footer .wm-footer__store-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.wm-footer__store-details {
  display: grid;
  gap: 4px;
  margin: 9px 0 0;
  color: #324339;
  font-size: 13px;
  line-height: 1.6;
}

.wm-footer__store-details > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
}

.wm-footer__store-details dt,
.wm-footer__store-details dd {
  margin: 0;
}

.wm-footer__store-details dt {
  font-weight: 700;
}

.wm-footer__reservation-note {
  margin: 14px 0 0;
  color: #324339;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.wm-footer#footer .wm-footer__stock-link:hover,
.wm-footer#footer .wm-footer__stock-link:focus-visible,
.wm-footer#footer .wm-footer__nav-list a:hover,
.wm-footer#footer .wm-footer__nav-list a:focus-visible,
.wm-footer#footer .wm-footer__legal-list a:hover,
.wm-footer#footer .wm-footer__legal-list a:focus-visible {
  color: var(--wm-color-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.wm-footer#footer .wm-footer__stock-link:hover > span:last-child,
.wm-footer#footer .wm-footer__stock-link:focus-visible > span:last-child,
.wm-footer#footer .wm-footer__nav-list a:hover::after,
.wm-footer#footer .wm-footer__nav-list a:focus-visible::after {
  transform: translateX(4px);
}

.wm-footer#footer .wm-footer__search-list a:hover,
.wm-footer#footer .wm-footer__search-list a:focus-visible {
  border-color: var(--wm-color-primary);
  background: var(--wm-color-primary);
  color: #fff;
  text-decoration: none;
}

.wm-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--wm-color-border);
}

.wm-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.wm-footer__legal-list a {
  font-size: 12px;
  line-height: 1.5;
}

.wm-footer__copyright {
  font-size: 13px;
  line-height: 1.5;
}

.wm-footer__copyright {
  margin: 0;
  color: #526057;
  white-space: nowrap;
}

.wm-footer__credit#footer-in {
  margin: 0;
  padding: 0 0 20px;
  color: #526057;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.wm-footer__credit#footer-in .copyr {
  margin: 0;
}

.wm-footer__credit#footer-in a {
  color: inherit;
}

@media screen and (max-width: 1239px) {
  .wm-header__inner {
    gap: 8px;
    width: min(calc(100% - 32px), var(--wm-content-width));
    min-height: 72px;
  }

  .wm-header__logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 220px;
  }

  .wm-header__desktop-nav {
    display: none;
  }

  .wm-header__line-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-left: auto;
    padding: 0 12px;
    font-size: 13px;
  }

  .wm-header__menu-toggle {
    display: block;
  }

  .wm-footer__main {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
    gap: 40px;
  }

  .wm-footer__site-links {
    grid-column: 1 / -1;
    padding-top: 32px;
    border-top: 1px solid var(--wm-color-border);
  }

  .wm-footer__nav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(20px, 3vw, 32px);
    row-gap: 4px;
  }
}

@media screen and (max-width: 767px) {
  .wm-page-header,
  .wm-page-header__inner {
    min-height: 170px;
  }

  .wm-page-header__inner {
    width: min(calc(100% - 32px), var(--wm-content-width));
    padding: 24px 0;
  }

  .wm-page-header__breadcrumb {
    margin-bottom: 16px;
  }

  .wm-page-header__title {
    font-size: 30px;
  }

  .wm-closing-cta {
    padding: 48px 16px;
  }

  #content-w .wm-closing-cta__heading {
    font-size: clamp(20px, 6.4vw, 24px);
  }

  .wm-closing-cta__lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .wm-closing-cta__actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .wm-closing-cta__actions > .wm-button {
    width: 100%;
    max-width: none;
  }

  .wm-header {
    position: sticky;
    top: 0;
  }

  .wm-footer__inner {
    width: min(calc(100% - 32px), var(--wm-content-width));
  }

  .wm-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 28px;
  }

  .wm-footer__logo-link {
    width: 200px;
  }

  .wm-footer__company {
    margin-top: 12px;
  }

  .wm-footer__search,
  .wm-footer__site-links {
    padding-top: 28px;
    border-top: 1px solid var(--wm-color-border);
  }

  .wm-footer__search-groups {
    gap: 24px;
    margin-top: 24px;
  }

  .wm-footer__nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 4px;
  }

  .wm-footer__nav-list a {
    padding: 7px 0;
    font-size: 14px;
  }

  .wm-footer#footer .wm-footer__search-list a {
    min-height: 32px;
    padding: 5px 12px;
  }

  .wm-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0 20px;
  }

  .wm-footer__legal-list {
    gap: 8px 20px;
  }

  .wm-footer__copyright {
    font-size: 12px;
    white-space: normal;
  }

  .wm-footer__credit#footer-in {
    padding-bottom: 16px;
    text-align: left;
  }
}

@media screen and (min-width: 1240px) {
  .wm-header__drawer {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .wm-closing-cta__lead {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wm-header__drawer-backdrop,
  .wm-header__drawer-panel {
    transition: none;
  }
}

@media screen and (max-width: 374px) {
  .wm-header__inner {
    width: min(calc(100% - 24px), var(--wm-content-width));
  }

  .wm-header__line-cta {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }
}
