@charset "UTF-8";

/* Shared LINKAGEWORKS header, navigation and footer refinements. */
:root {
  --lw-site-primary: #006837;
  --lw-site-primary-dark: #004e29;
  --lw-site-primary-pale: #f4f9f6;
  --lw-site-text: #17201b;
  --lw-site-text-sub: #5e6862;
  --lw-site-border: #dce4df;
  --lw-site-container: 1240px;
}

.l-header,
.l-fixHeader {
  border-bottom: 1px solid rgba(0,104,55,.1);
  background: #fff;
  box-shadow: none;
}

/* Keep the primary navigation labels in English only. */
.c-gnav > li > a .desc,
.c-gnav > li > a > small,
.p-spMenu__nav .menu-item > a .desc,
.c-spnav > .menu-item > a .desc { display: none !important; }

@media (min-width: 960px) {
  .c-gnav > li:last-child {
    width: auto !important;
    min-width: 0;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
  }

  .c-gnav > li:last-child > a {
    width: auto !important;
    min-width: 118px;
    height: 42px !important;
    min-height: 42px;
    max-height: 42px;
    aspect-ratio: auto !important;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-left: 10px;
    border-radius: 100px !important;
    padding: 0 20px !important;
    color: #fff !important;
    background: var(--lw-site-primary) !important;
    font-size: 13px;
    font-weight: 700 !important;
    line-height: 1;
    transition: background .2s ease, transform .2s ease;
  }

  .c-gnav > li:last-child > a:hover,
  .c-gnav > li:last-child > a:focus-visible {
    color: #fff !important;
    background: var(--lw-site-primary-dark) !important;
    transform: translateY(-1px);
  }

  .c-gnav > li:last-child > a::after { display: none; }
}

.p-spMenu__nav .menu-item:last-child > a {
  width: fit-content;
  min-width: 220px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  border-radius: 100px;
  padding: 14px 20px;
  color: #fff;
  background: var(--lw-site-primary);
  font-weight: 700;
  text-align: center;
}

.p-spMenu__nav .menu-item:last-child > a:hover,
.p-spMenu__nav .menu-item:last-child > a:focus-visible { color: #fff; background: var(--lw-site-primary-dark); }

.c-gnav > li:last-child > a:focus-visible,
.p-spMenu__nav .menu-item:last-child > a:focus-visible { outline: 3px solid #f0c14b; outline-offset: 3px; }

/* The parent footer remains untouched; only its visual surface is replaced. */
#footer.l-footer { display: none; }

.lw-site-footer {
  color: var(--lw-site-text);
  background: var(--lw-site-primary-pale);
  font-family: var(--swl-font_family, "Helvetica Neue", Arial, "Hiragino Sans", Meiryo, sans-serif);
}

.lw-site-footer *,
.lw-site-footer *::before,
.lw-site-footer *::after { box-sizing: border-box; }
.lw-site-footer h2,
.lw-site-footer p,
.lw-site-footer ul { margin: 0; padding: 0; }
.lw-site-footer ul { list-style: none; }
.lw-site-footer a { color: inherit; text-decoration: none; }
.lw-site-footer__container { width: min(calc(100% - 64px), var(--lw-site-container)); margin-inline: auto; }
.lw-site-footer__top { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(64px, 9vw, 130px); padding: clamp(64px, 7vw, 92px) 0; }
.lw-site-footer__brand > a { color: var(--lw-site-primary); font: 700 clamp(24px, 2.8vw, 34px)/1 Arial, sans-serif; letter-spacing: -.04em; }
.lw-site-footer__brand p { margin-top: 18px; color: var(--lw-site-text-sub); font-size: 14px; }
.lw-site-footer__columns { display: grid; grid-template-columns: 1.2fr 1fr .8fr 1.25fr; gap: clamp(24px, 4vw, 58px); }
.lw-site-footer__columns h2 { color: var(--lw-site-primary); font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .15em; }
.lw-site-footer__columns ul { margin-top: 22px; }
.lw-site-footer__columns li + li { margin-top: 11px; }
.lw-site-footer__columns nav a { color: #46534b; font-size: 13px; line-height: 1.6; }
.lw-site-footer__columns nav a:hover { color: var(--lw-site-primary); }
.lw-site-footer__contact > a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; border: 1px solid var(--lw-site-primary); border-radius: 100px; padding: 10px 17px; color: #fff; background: var(--lw-site-primary); font-size: 12px; font-weight: 700; line-height: 1.5; }
.lw-site-footer__contact > a:hover { border-color: var(--lw-site-primary-dark); color: #fff; background: var(--lw-site-primary-dark); }
.lw-site-footer__contact span { font-size: 16px; font-weight: 400; }
.lw-site-footer a:focus-visible { outline: 3px solid #f0c14b; outline-offset: 3px; }
.lw-site-footer__bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--lw-site-border); color: #6a746e; }
.lw-site-footer__bottom nav { display: flex; gap: 24px; }
.lw-site-footer__bottom a,
.lw-site-footer__bottom p { font: 500 11px/1.5 Arial, sans-serif; }

@media (max-width: 959px) {
  .lw-site-footer__container { width: min(calc(100% - 44px), var(--lw-site-container)); }
  .lw-site-footer__top { grid-template-columns: 1fr; gap: 48px; }
  .lw-site-footer__columns { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .lw-site-footer__container { width: min(calc(100% - 40px), var(--lw-site-container)); }
  .lw-site-footer__top { padding: 58px 0; }
  .lw-site-footer__brand > a { font-size: 28px; }
  .lw-site-footer__brand p { font-size: 16px; }
  .lw-site-footer__columns { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .lw-site-footer__columns nav a { display: inline-block; padding: 3px 0; font-size: 15px; }
  .lw-site-footer__contact { grid-column: 1 / -1; }
  .lw-site-footer__contact > a { min-height: 54px; justify-content: center; margin-top: 18px; font-size: 14px; }
  .lw-site-footer__bottom { min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px 0 34px; }
  .lw-site-footer__bottom a,
  .lw-site-footer__bottom p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .lw-site-footer *,
  .c-gnav > li:last-child > a { transition-duration: .01ms !important; }
}
