@charset "UTF-8";
/* 携帯版折りたたみ比較候補のみ。PC版は承認済みCSSを継承する。 */
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .js .nav-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 16px;
    color: #fff;
    background: #004b3e;
    border: 0;
    border-top: 1px solid rgba(229, 207, 142, .5);
    border-bottom: 1px solid rgba(229, 207, 142, .5);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .nav-toggle:focus-visible {
    outline: 3px solid #e5cf8e;
    outline-offset: -4px;
  }

  .nav-toggle-icon {
    position: relative;
    width: 24px;
    height: 18px;
    flex: 0 0 24px;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .nav-toggle-icon span {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .nav-toggle-icon::before { top: 0; }
  .nav-toggle-icon span { top: 8px; }
  .nav-toggle-icon::after { top: 16px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 8px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 8px;
    transform: rotate(-45deg);
  }

  .js .global-nav[hidden] { display: none; }

  .global-nav .nav-inner {
    gap: 0;
    padding: 0 16px 16px;
  }

  .global-nav .nav-home,
  .global-nav .nav-home > a { width: 100%; }

  .global-nav .nav-home > a,
  .global-nav .nav-inner a {
    min-height: 48px;
    padding: 12px 10px;
    justify-content: flex-start;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .global-nav .nav-group {
    margin-top: 10px;
    padding-top: 12px;
  }

  .global-nav .nav-group-title {
    margin-bottom: 4px;
    padding-inline: 10px;
  }

  .global-nav .nav-group-links,
  .global-nav .nav-group:last-child .nav-group-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .global-nav .nav-group:not(:last-child) .nav-group-links > a:first-child {
    grid-column: auto;
  }

  .global-nav .nav-inner a[aria-current="page"] {
    background: rgba(255, 255, 255, .1);
  }

  .global-nav .nav-inner a[aria-current="page"]::after {
    display: none;
    content: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .nav-toggle-icon span {
    transition: transform .16s ease, top .16s ease, opacity .16s ease;
  }
}

/* Five-category template only; existing page navigation keeps its layout. */
.site-header:has(> .global-nav.nav-five) {
  line-height: 1.75;
}
.global-nav.nav-five .nav-inner {
  grid-template-columns: auto auto auto auto auto;
  gap: 0;
  padding: 0 16px;
  align-items: stretch;
  justify-content: center;
}
.global-nav.nav-five .nav-home,
.global-nav.nav-five .nav-group {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.global-nav.nav-five .nav-group-heading {
  display: flex;
  align-items: stretch;
}
.global-nav.nav-five .nav-group-heading:hover,
.global-nav.nav-five .nav-group-heading:focus-within {
  background: rgba(255, 255, 255, .16);
}
.global-nav.nav-five .nav-group-heading:hover .nav-category,
.global-nav.nav-five .nav-group-heading:focus-within .nav-category {
  background: transparent;
}
.global-nav.nav-five .nav-inner a,
.global-nav.nav-five .nav-category {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow-wrap: normal;
  text-align: left;
  color: #fff;
}
.global-nav.nav-five .nav-inner a::after {
  display: none;
}
.global-nav.nav-five [data-current-category="true"] > .nav-group-heading,
.global-nav.nav-five .nav-home[data-current-category="true"] {
  box-shadow: inset 0 -3px #d7bd68;
  background: rgba(255, 255, 255, .09);
}
.nav-five .nav-subtoggle {
  display: none;
  min-width: 44px;
  min-height: 48px;
  padding: 8px;
  border: 0;
  border-radius: 7px;
  color: #FFFFFF;
  background: #4D927F;
  font: inherit;
  cursor: pointer;
}
.js .nav-five .nav-subtoggle {
  display: block;
}
.nav-five .nav-subtoggle span {
  display: inline-block;
}
.nav-five .nav-subtoggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}
.nav-five .nav-subtoggle:hover {
  background: #4D927F;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}
.nav-five .nav-subtoggle:focus-visible {
  box-shadow: inset 0 0 0 2px #063D2F;
}
.nav-five .nav-subtoggle:focus-visible,
.global-nav.nav-five a:focus-visible {
  outline: 3px solid #e5cf8e;
  outline-offset: -4px;
}
.global-nav.nav-five .nav-group .nav-group-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  background: #FFFFFF;
}
.global-nav.nav-five .nav-group .nav-group-links > a {
  grid-column: auto;
  min-height: 48px;
  padding: 12px 16px;
  font-weight: 400;
  color: #063D2F;
}
.global-nav.nav-five .nav-group .nav-group-links > a + a {
  border-top: 1px solid rgba(6, 61, 47, .18);
}
.global-nav.nav-five .nav-group .nav-group-links > a:hover,
.global-nav.nav-five .nav-group .nav-group-links > a:focus-visible {
  color: #063D2F;
  background: #E8F3ED;
}
.js .global-nav.nav-five .nav-group-links[hidden] {
  display: none;
}
.global-nav.nav-five .nav-group:has(> .nav-group-heading .nav-subtoggle[aria-expanded="false"]) > .nav-group-links {
  display: none;
}
/* Without JavaScript, focus or hover provides access to every child link. */
.no-js .nav-five .nav-subtoggle {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
}
.no-js .global-nav.nav-five .nav-group:is(:hover, :focus-within):has(> .nav-group-heading .nav-subtoggle[aria-expanded="false"]) > .nav-group-links {
  display: grid;
}
@media (min-width: 1201px) {
  .no-js .nav-five .nav-subtoggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 6px;
  }
}
@media (min-width: 1201px) {
  .global-nav.nav-five .nav-inner {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .global-nav.nav-five .nav-inner > div {
    border-left: 1px solid rgba(255, 255, 255, .45);
  }
  .global-nav.nav-five .nav-inner > div:last-child {
    border-right: 1px solid rgba(255, 255, 255, .45);
  }
  .global-nav.nav-five .nav-group-heading {
    display: grid;
    grid-template-columns: max-content 30px;
    column-gap: 4px;
    justify-content: center;
    min-height: 64px;
  }
  .global-nav.nav-five .nav-home > a,
  .global-nav.nav-five .nav-category {
    justify-content: center;
    min-height: 64px;
    padding: 12px 8px;
    text-align: center;
  }
  .js .global-nav.nav-five .nav-subtoggle {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    padding: 0;
    border-left: 0;
    border-radius: 6px;
    text-align: center;
  }
  .global-nav.nav-five .nav-category {
    padding-inline: 6px;
  }
  .global-nav.nav-five .nav-home > a:hover,
  .global-nav.nav-five .nav-home > a:focus-visible {
    background: rgba(255, 255, 255, .16);
  }
  .global-nav.nav-five .nav-group-heading:focus-within {
    outline: 2px solid #e5cf8e;
    outline-offset: -2px;
  }
  /* Desktop categories stay visible even after a mobile menu was closed. */
  .nav-toggle.nav-five-toggle {
    display: none;
  }
  .global-nav.nav-five,
  .global-nav.nav-five[hidden] {
    display: block;
  }
  .js .global-nav.nav-five .nav-group-links {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    min-width: 100%;
    width: max-content;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
  }
  .js .global-nav.nav-five .nav-group:last-child .nav-group-links {
    right: 0;
    left: auto;
  }
}
@media (max-width: 1200px) {
  .js .nav-toggle.nav-five-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    border-top: 1px solid rgba(229, 207, 142, .5);
    color: #fff;
    background: #004b3e;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-five-toggle .nav-toggle-icon {
    position: relative;
    width: 24px;
    height: 18px;
    flex: 0 0 24px;
  }
  .nav-five-toggle .nav-toggle-icon::before,
  .nav-five-toggle .nav-toggle-icon::after,
  .nav-five-toggle .nav-toggle-icon span {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
  }
  .nav-five-toggle .nav-toggle-icon::before { top: 0; }
  .nav-five-toggle .nav-toggle-icon span { top: 8px; }
  .nav-five-toggle .nav-toggle-icon::after { top: 16px; }
  .nav-five-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 8px;
    transform: rotate(45deg);
  }
  .nav-five-toggle[aria-expanded="true"] .nav-toggle-icon span { opacity: 0; }
  .nav-five-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 8px;
    transform: rotate(-45deg);
  }
  .js .global-nav.nav-five[hidden] { display: none; }
  .global-nav.nav-five .nav-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 16px 16px;
  }
  .global-nav.nav-five .nav-home > a { width: 100%; }
  .global-nav.nav-five .nav-home::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    content: "";
  }
  .global-nav.nav-five .nav-group-heading {
    justify-content: flex-start;
  }
  .global-nav.nav-five .nav-home::after,
  .global-nav.nav-five .nav-group-heading {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .global-nav.nav-five .nav-category {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 48px;
    white-space: normal;
    padding-right: 6px;
  }
  .js .global-nav.nav-five .nav-subtoggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: 0 0 44px;
    width: 44px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0;
    border-left: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }
  .global-nav.nav-five .nav-subtoggle::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #4D927F;
    transform: translate(-50%, -50%);
    pointer-events: none;
    content: "";
  }
  .global-nav.nav-five .nav-subtoggle span {
    position: relative;
    line-height: 1;
  }
  .global-nav.nav-five .nav-subtoggle:hover::before {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
  }
  .global-nav.nav-five .nav-subtoggle:focus-visible::before {
    box-shadow: inset 0 0 0 2px #063D2F;
  }
  .global-nav.nav-five .nav-inner a {
    justify-content: flex-start;
    border: 0;
  }
  .global-nav.nav-five .nav-group .nav-group-links > a {
    padding-left: 28px;
    white-space: normal;
  }
}
