.forest-header,
.forest-menu,
.forest-footer {
  --forest-nav-ink: #20364f;
  --forest-nav-surface: #fbfcf8;
  --forest-nav-paper: #f3f5f1;
  --forest-nav-accent: #f2ce41;
  color: var(--forest-nav-ink);
  font-family: SLGothic, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.forest-header *, .forest-menu *, .forest-footer * { box-sizing: border-box; }
.forest-header a, .forest-menu a, .forest-footer a { color: inherit; text-decoration: none; }
.forest-header button, .forest-menu button, .forest-footer button { font: inherit; color: inherit; cursor: pointer; }
.forest-header :is(a, button):focus-visible,
.forest-menu :is(a, button):focus-visible,
.forest-footer :is(a, button):focus-visible {
  outline: 3px solid #316ab0;
  outline-offset: 4px;
}
.forest-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 80;
  width: 100%;
  margin: 0;
  background: var(--forest-nav-surface);
  box-shadow: 0 2px 16px #20364f06;
}
.forest-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1560px);
  min-height: 84px;
  margin: 0 auto;
  padding: 12px 32px;
}
.forest-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  min-height: 44px;
  color: var(--forest-nav-ink);
}
.forest-brand-mark { display: block; width: 35px; height: 35px; object-fit: contain; flex: 0 0 auto; }
.forest-brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 600; letter-spacing: -.035em; white-space: nowrap; line-height: 1.2; }
.forest-desktop-nav { display: flex; align-items: center; justify-content: center; gap: 19px; margin-left: auto; }
.forest-desktop-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.forest-desktop-nav a::after { position: absolute; inset: auto 0 4px; height: 3px; border-radius: 80% 30% 70% 40%; background: var(--forest-nav-accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease-out; }
.forest-desktop-nav a:is(:hover, [aria-current="page"])::after { transform: scaleX(1); }
.forest-header-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 13px; }
.forest-language { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.forest-language:hover { text-decoration: underline; text-underline-offset: 5px; }
.forest-header .forest-header-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 15px;
  overflow: hidden;
  min-height: 48px;
  margin: 0;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 28px 25px 29px 24px;
  background: var(--forest-nav-accent);
  color: var(--forest-nav-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 3px 0 #20364f16;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}
.forest-header .forest-header-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #20364f16; }
.forest-header .forest-header-cta:active { transform: translateY(0); }
.forest-arrow { display: block; flex: 0 0 auto; }
.forest-menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 49px; min-height: 49px; padding: 7px 3px; border: 1px solid #20364f30; border-radius: 17px 19px 16px 18px; background: transparent; }
.forest-menu-toggle:hover { background: #20364f08; }
.forest-menu-icon { display: flex; flex-direction: column; gap: 5px; width: 19px; }
.forest-menu-icon i { display: block; width: 100%; height: 1.5px; border-radius: 60%; background: currentColor; }
.forest-menu-icon i:last-child { width: 14px; }
.forest-menu-label { font-size: 9px; line-height: 1; letter-spacing: .03em; }
.forest-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: min(720px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 30px;
  border: none;
  border-radius: 30px 35px 29px 38px;
  background: var(--forest-nav-surface);
  box-shadow: 0 20px 80px #10213940;
  overflow: auto;
  overscroll-behavior: contain;
}
.forest-menu:not([open]) { display: none; }
.forest-menu[open] { display: block; animation: forest-menu-enter 220ms cubic-bezier(.16, 1, .3, 1) both; }
.forest-menu::backdrop { background: #14273db3; backdrop-filter: blur(4px); }
.forest-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.forest-menu-top h2 { margin: 0; color: inherit; font: 600 24px/1.3 Georgia, SLSerif, serif; }
.forest-menu-close { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid #20364f40; border-radius: 24px; background: transparent; font-size: 13px; }
.forest-menu-close:hover { background: #20364f08; }
.forest-menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; }
.forest-menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 14px 18px; border-radius: 18px 22px 17px 20px; background: var(--forest-nav-paper); font-size: 15px; font-weight: 700; transition: background 180ms ease-out; }
.forest-menu-links a:is(:hover, [aria-current="page"]) { background: #e4ebef; }
.forest-menu-links a .forest-arrow { width: 18px; height: 18px; }
.forest-menu-utility { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 21px; }
.forest-menu-utility :is(a, button), .forest-footer-utility :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: inherit; font-size: 12px; line-height: 1.5; text-decoration: none; }
.forest-menu-utility :is(a, button):hover, .forest-footer-utility :is(a, button):hover { text-decoration: underline; text-underline-offset: 4px; }
body.forest-menu-open { overflow: hidden; }
.forest-footer { position: relative; z-index: 1; margin: 0; padding: 70px 32px 20px; background: var(--forest-nav-surface); }
.forest-footer-inner { width: min(1120px, 100%); margin: 0 auto; }
.forest-footer-main { display: grid; grid-template-columns: minmax(230px, .85fr) 1.65fr; gap: 50px; align-items: start; }
.forest-brand-footer .forest-brand-name { font-size: 32px; }
.forest-brand-footer .forest-brand-mark { width: 40px; height: 40px; }
.forest-footer-tagline { margin: 10px 0 14px 49px; color: inherit; font-size: 13px; line-height: 1.7; }
.forest-social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 17px; margin: 10px 0 0; }
.forest-social-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 12px; }
.forest-social-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.forest-external-arrow { display: block; flex-shrink: 0; }
.forest-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px 24px; margin: 0; }
.forest-footer-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 13px; font-weight: 600; line-height: 1.7; }
.forest-footer-links a:is(:hover, [aria-current="page"]) { text-decoration: underline; text-decoration-color: #547395; text-underline-offset: 5px; }
.forest-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; margin-top: 46px; padding-top: 15px; }
.forest-copyright { color: inherit; font-size: 11px; line-height: 1.6; }
.forest-footer-utility { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; }
.forest-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes forest-menu-enter { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 1400px) {
  .forest-header[data-forest-locale="en"] .forest-desktop-nav { display: none; }
}
@media (max-width: 1279px) {
  .forest-desktop-nav { display: none; }
  .forest-header-inner { gap: 20px; }
}
@media (max-width: 760px) {
  .forest-header-inner { min-height: 74px; padding: 10px 20px; }
  .forest-brand-name { font-size: 24px; }
  .forest-brand-mark { width: 31px; height: 31px; }
  .forest-header-actions { gap: 10px; }
  .forest-header .forest-header-cta { gap: 10px; min-height: 46px; padding: 11px 16px; }
  .forest-footer { padding: 48px 24px 20px; }
  .forest-footer-main { grid-template-columns: 1fr; gap: 28px; }
  .forest-footer-links { gap: 4px 18px; }
  .forest-footer-bottom { margin-top: 28px; flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
}
@media (max-width: 560px) {
  .forest-header-inner { min-height: 68px; gap: 7px; padding: 8px 12px; }
  .forest-brand { gap: 5px; }
  .forest-brand-name { font-size: 21px; }
  .forest-brand-mark { width: 26px; height: 26px; }
  .forest-header-actions { gap: 7px; }
  .forest-header .forest-language { display: none; }
  .forest-header .forest-header-cta { min-height: 44px; gap: 6px; padding: 10px 12px; font-size: 11px; }
  .forest-header-cta .forest-arrow { width: 15px; height: 15px; }
  .forest-menu-toggle { width: 44px; min-height: 44px; gap: 5px; padding: 6px 2px; }
  .forest-menu { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 21px 17px; border-radius: 23px 26px 22px 28px; }
  .forest-menu-top { margin-bottom: 17px; }
  .forest-menu-links { grid-template-columns: 1fr; gap: 6px; }
  .forest-menu-links a { min-height: 49px; padding: 11px 15px; font-size: 14px; }
  .forest-menu-utility { gap: 2px 17px; margin-top: 15px; }
  .forest-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forest-footer-utility { gap: 2px 18px; }
}
@media (max-width: 360px) {
  .forest-header-inner { padding-inline: 10px; gap: 5px; }
  .forest-brand { gap: 4px; }
  .forest-brand-name { font-size: 18px; }
  .forest-brand-mark { width: 23px; height: 23px; }
  .forest-header-actions { gap: 6px; }
  .forest-header .forest-header-cta { padding-inline: 10px; font-size: 10px; }
  .forest-header-cta .forest-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .forest-menu[open] { animation: none; }
  .forest-header .forest-header-cta, .forest-desktop-nav a::after, .forest-menu-links a { transition: none; }
}
