/* Navigation and colophon used throughout the OneLife site. */
:root {
  --ol-ink: #35383b;
  --ol-paper: #fff;
  --ol-blue: #246fb6;
  --ol-copper: var(--ol-blue);
  --ol-hairline: #e5e8eb;
  --ol-gutter: max(5vw, calc((100vw - 1440px) / 2));
  --ol-ui: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, Arial, sans-serif;
  --ol-serif: var(--ol-ui);
  --ol-roman: Arial, Helvetica, sans-serif;
}
:root { --header: 64px; }
.corporate-v3 .site-header,
.corporate-v3 .site-header.scrolled {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  padding: 0 clamp(16px, 1.7vw, 32px);
  border: 0;
  background: #fff;
  color: var(--ol-ink);
  box-shadow: none;
}
.corporate-v3 .site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg,
    #303851 0%, #3976b4 13%, #55a4af 25%, #97bca4 32%,
    #f0cb70 38%, #ec985c 45%, #cd6066 50%,
    #ec985c 55%, #f0cb70 62%, #97bca4 68%, #55a4af 75%,
    #3976b4 87%, #303851 100%);
}
.corporate-v3.home-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
}
.corporate-v3 .brand { display: inline-flex; min-height: 44px; align-items: center; flex-shrink: 0; }
.corporate-v3 .brand .brand-art { display: block; width: auto; height: 39px; flex: none; object-fit: contain; }
.corporate-v3 .desktop-nav {
  gap: clamp(.8rem, 1.9vw, 2.25rem);
  color: #34383c;
  font: 700 .875rem/1.55 var(--ol-ui);
  letter-spacing: .015em;
}
.corporate-v3 .desktop-nav > a:not(.contact-nav) { padding-block: 1.1rem; }
.corporate-v3 .desktop-nav > a:not(.contact-nav)::after { content: none; }
.corporate-v3 .desktop-nav > a:hover,
.corporate-v3 .desktop-nav > a[aria-current="page"] { color: #165c95; }
.corporate-v3 .desktop-nav .contact-nav,
.corporate-v3 .next-step .site-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.55rem;
  min-height: 44px;
  padding: .55rem .65rem .55rem 1.25rem;
  border-radius: 8px;
  border: 0;
  color: #fff;
  background: #2475c5;
  font: 700 .9rem/1.4 var(--ol-ui);
  transition: background .18s;
}
.corporate-v3 .desktop-nav .contact-nav::after,
.corporate-v3 .next-step .site-button::after {
  content: "";
  position: static;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  transform: none;
  border-radius: 50%;
  background:
    linear-gradient(#18568a,#18568a) center / 7px 1.5px no-repeat,
    linear-gradient(#18568a,#18568a) center / 1.5px 7px no-repeat,
    white;
}
.corporate-v3 .desktop-nav .contact-nav:hover,
.corporate-v3 .desktop-nav .contact-nav[aria-current="page"],
.corporate-v3 .next-step .site-button:hover { background-color: #155b9b; color: white; }
.corporate-v3 .mobile-menu {
  --menu-edge: max(.625rem, env(safe-area-inset-right), env(safe-area-inset-left));
  --menu-top: max(.625rem, env(safe-area-inset-top));
  position: fixed;
  inset: var(--menu-top) var(--menu-edge) auto auto;
  margin: 0;
  width: min(28rem, calc(100% - 2 * var(--menu-edge)));
  height: auto;
  max-height: calc(100dvh - var(--menu-top) - max(.625rem, env(safe-area-inset-bottom)));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1.1rem clamp(1rem, 5vw, 1.5rem) 1.25rem;
  border: 1px solid #dae5e5;
  border-radius: 1.4rem;
  background: linear-gradient(150deg, #edf7f4, white 48%);
  box-shadow: 0 1.25rem 3.5rem #17384533, 0 .2rem .8rem #23384512;
  color: var(--ol-ink);
  opacity: 0;
  transform: translateY(.85rem) scale(.975);
  transform-origin: 85% 10%;
  transition: opacity .18s ease, transform .22s cubic-bezier(.3,0,.35,1);
}
.corporate-v3 .mobile-menu.menu-visible {
  opacity: 1;
  transform: none;
  transition: opacity .24s ease-out, transform .32s cubic-bezier(.2,.8,.2,1);
}
.corporate-v3 .mobile-menu::backdrop {
  background: rgb(16 35 42 / 30%);
  opacity: 0;
  transition: opacity .2s ease;
}
.corporate-v3 .mobile-menu.menu-visible::backdrop { opacity: 1; }
.reduce-motion .mobile-menu::backdrop { transition: none; }
@media (prefers-reduced-motion: reduce) { .corporate-v3 .mobile-menu::backdrop { transition: none; } }
.mobile-menu .menu-top { gap: 1rem; margin-bottom: .65rem; }
.mobile-menu .menu-home { display: inline-flex; align-items: center; min-height: 44px; }
.mobile-menu .menu-home img { display: block; width: 7rem; height: auto; }
.corporate-v3 .mobile-menu .menu-close {
  position: relative; flex: 0 0 44px; width: 44px; height: 44px; padding: 0;
  border: 1px solid #dce6e6; border-radius: 50%; color: #2c4c53; background: #fff;
}
.mobile-menu .menu-close::before, .mobile-menu .menu-close::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 16px; height: 2px; border-radius: 2px; background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.mobile-menu .menu-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.corporate-v3 .mobile-menu.menu-pointer-open .menu-close:focus { outline: none; }
.corporate-v3 .mobile-menu nav { display: grid; margin: 0; }
.corporate-v3 .mobile-menu nav a {
  min-height: 3.25rem; gap: .75rem; padding: .7rem .4rem;
  border-bottom: 1px solid #dce6e5; color: #29414a;
  font: 650 1rem/1.55 var(--ol-ui); letter-spacing: .025em;
}
.mobile-menu nav a::after {
  content: ""; width: .48rem; height: .48rem; flex: none; margin-right: .25rem;
  border-inline-end: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg);
}
.corporate-v3 .mobile-menu nav :is(a:hover,[aria-current="page"]) { color: #136386; }
.corporate-v3 .mobile-menu nav .contact-nav {
  margin-top: .75rem; padding-inline: 1rem; border: 0; border-radius: .8rem;
  background: #234f5a; color: #fff;
}
.corporate-v3 .mobile-menu nav .contact-nav:is(:hover,[aria-current="page"]) { background: #173e49; color: #fff; }
.corporate-v3 .next-step {
  isolation: isolate;
  background: #f7f8f9;
  color: var(--ol-ink);
  border: 0;
  border-radius: 42px 42px 0 0;
  padding-block: clamp(44px,5.7vw,88px);
}
.corporate-v3 .next-step::after { content: none; }
.corporate-v3 .next-step .shell,
.corporate-v3 .v3-footer .shell { width: min(84%, 1200px); }
.corporate-v3 .next-step .eyebrow {
  font: 700 .78rem/1.5 Arial,sans-serif;
  letter-spacing: .06em;
  color: #2067a4;
}
.corporate-v3 .next-step h2 {
  margin: .55rem 0;
  font: 700 clamp(1.6rem,2.8vw,2.6rem)/1.5 var(--ol-ui);
  letter-spacing: .01em;
  color: var(--ol-ink);
}
.corporate-v3 .next-step p:not(.eyebrow) { color: #454b4f; font-size: 1rem; }
.corporate-v3 .next-step .site-button { min-width: 13rem; padding: 1rem; }
.corporate-v3 .next-step .site-button .action-plus { display: none; }
.corporate-v3 .v3-footer {
  background: #f7f8f9;
  color: var(--ol-ink);
  border: 0;
  border-radius: 42px 42px 0 0;
  padding-block: clamp(24px,3vw,44px) 1rem;
}
.corporate-v3:has(.next-step) .v3-footer {
  border-radius: 0;
  padding-top: 0;
}
.corporate-v3 .v3-footer .footer-grid {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center;
  gap: 1.35rem clamp(2rem,5vw,5rem); padding-block: 1.1rem 1.3rem; border-top: 1px solid #d5e0df;
}
.v3-footer .footer-identity {
  display: grid; grid-column: auto; grid-template-columns: auto minmax(0,1fr);
  align-items: center; column-gap: 1.1rem;
}
.v3-footer .footer-identity .brand { grid-row: span 2; }
.corporate-v3 .footer-identity > p { margin: 0; font-size: .68rem; line-height: 1.45; color: #4b5459; }
.corporate-v3 .footer-identity > span { color: #4b5459; font-size: .8rem; line-height: 1.5; }
.v3-footer .footer-colophon a {
  display: inline-block; padding: .35rem 0; border: 0; background: transparent;
  font: 500 .785rem/1.5 var(--ol-ui); letter-spacing: 0; color: #455961;
  text-decoration: underline; text-decoration-color: #b2c3c8; text-underline-offset: .22em;
  cursor: pointer;
}
.v3-footer .footer-colophon {
  display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .25rem 1rem;
  border-top: 1px solid #d5e0df; padding-top: .45rem; color: #455961;
}
.footer-colophon small { font: 500 .72rem/1.5 var(--ol-ui); }
.v3-footer .footer-nav {
  display: flex; flex-flow: row wrap; align-items: center; justify-self: end;
  width: max-content; max-width: 100%; gap: 0 clamp(.9rem,2.1vw,2rem);
}
.corporate-v3 .footer-nav > p {
  flex: 0 0 100%; margin: 0;
  color: #246398;
  font: 700 .75rem/1.5 Arial, sans-serif;
  letter-spacing: .06em;
}
.corporate-v3 .footer-nav > a {
  display: block; position: relative;
  max-width: 100%; min-height: 2.75rem; padding: .65rem 0 .65rem .75rem;
  word-break: keep-all; overflow-wrap: break-word;
  color: #3b4348;
  font: 600 .875rem/1.6 var(--ol-ui);
}
.corporate-v3 .footer-nav > a::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px;
  background: #3382ba;
  border-radius: 50%;
}
.corporate-v3 .footer-nav a:hover,
.v3-footer .footer-colophon a:hover { color: #175b91; }
.corporate-v3 :focus-visible { outline: 3px solid #095fa9; outline-offset: 4px; }
@media (max-width: 980px) {
  :root { --header: 56px; }
  .corporate-v3 .site-header { padding-inline: 16px; }
  .corporate-v3 .brand .brand-art { height: 32px; }
  .corporate-v3 .menu-toggle {
    display: grid;
    place-items: center;
    position: relative;
    padding: 0;
    width: 44px;
    min-height: 44px;
    background: #f5f8fa;
    border: 0;
    border-radius: 50%;
    color: #155679;
  }
  .corporate-v3 .menu-toggle > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .corporate-v3 .menu-toggle i {
    display: block; height: 4px; width: 4px; border: 0; border-radius: 50%; background: currentColor;
    box-shadow: -7px 0 currentColor, 7px 0 currentColor;
  }
}
@media (max-width: 620px) {
  .corporate-v3 .next-step,
  .corporate-v3 .v3-footer { border-top-left-radius: 25px; border-top-right-radius: 25px; }
  .corporate-v3 .next-step .shell,
  .corporate-v3 .v3-footer .shell { width: calc(100% - 2.5rem); }
  .corporate-v3 .next-step > .shell { display: grid; gap: 1.4rem; }
  .corporate-v3 .next-step .site-button { width: fit-content; }
}

/* The final decision on each company page is between two actual enquiry desks. */
.corporate-v3 main .next-step.route-contact {
  border: 0; border-radius: clamp(28px,4.3vw,64px) clamp(28px,4.3vw,64px) 0 0;
  background: #edf5f8; padding-block: clamp(44px,5vw,85px);
}
.corporate-v3 main .route-contact>.shell { display: grid; grid-template-columns: .55fr 1.7fr; gap: clamp(16px,3.5vw,62px); align-items: center; }
.corporate-v3 main .route-contact .eyebrow { color: #2a353b; font: 750 clamp(29px,3.05vw,48px)/1.12 Arial,sans-serif; text-transform: uppercase; letter-spacing: -.05em; }
.corporate-v3 main .route-contact h2 { margin: 6px 0 0; font: 700 1rem/1.65 var(--ol-ui); color: #37434a; }
.route-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.corporate-v3 main .route-card {
  position: relative; display: grid; grid-template-columns: 30% 1fr; align-items: center; gap: 12px;
  min-height: 108px; padding: 9px 29px 9px 9px; background: #fff188; border-radius: 12px;
  color: #273840; text-decoration: none; box-shadow: 0 2px 5px #29485a0e;
}
.corporate-v3 main .route-card:last-child { background: #89e5e9; }
.route-card img { width: 100%; height: 100%; max-height: 100px; min-height: 72px; object-fit: cover; border-radius: 6px; }
.route-card strong,.route-card small { display: block; }
.route-card strong { font: 700 clamp(.95rem,1.09vw,1.2rem)/1.55 var(--ol-ui); }
.route-card small { margin-top: 5px; font: 600 .76rem/1.5 var(--ol-ui); color: #3d5357; }
.route-card i { position: absolute; right: 6px; bottom: 6px; width: 23px; height: 23px; display: grid; place-items: center; background: #263542; color: white; border-radius: 50%; font: 600 14px/1 Arial,sans-serif; }
.route-card:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.corporate-v3:has(.route-contact) .v3-footer { background: #f9fbfb; padding-top: clamp(24px,3vw,40px); }

/* Utility pages give readers the same clear routes as the company pages. */
body[data-interior="privacy"] main .policy-layout {
  display: grid; grid-template-columns: minmax(175px,.57fr) minmax(0,1.43fr); gap: clamp(26px,5.5vw,90px);
  align-items: start; padding-bottom: clamp(42px,6vw,95px); max-width: 1160px;
}
body[data-interior="privacy"] .policy-layout .policy-body { width: 100% !important; max-width: none; margin: 0; padding: 0; }
.reading-index { position: sticky; top: calc(var(--header) + 16px); display: grid; padding: 18px 22px; border-radius: 14px; background: #edf5f8; }
.reading-index p { margin: 0 0 6px; color: #255d83; font: 700 .87rem/1.7 var(--ol-ui); }
.reading-index a { display: block; padding: 10px 0; color: #30424a; border-top: 1px solid #cfdde3; font: 600 .9rem/1.6 var(--ol-ui); text-decoration: none; }
.reading-index a:hover,.credits-index a:hover { text-decoration: underline; text-underline-offset: 3px; }
body[data-interior="privacy"] .policy-body section:first-of-type { padding-top: 0; }
body[data-interior="credits"] .credits-index { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 clamp(30px,4vw,63px); }
.credits-index a { min-height: 42px; display: inline-flex; align-items: center; padding: 6px 16px; background: #edf5f8; color: #1b5782; border-radius: 7px; font: 650 .92rem/1.5 var(--ol-ui); }
body[data-interior="credits"] .credit-row dt { display: flex; align-items: flex-start; gap: 13px; }
body[data-interior="credits"] .credit-row dt span { align-self: center; }
.credit-row dt img { width: clamp(60px,6.8vw,96px); height: clamp(48px,5.2vw,74px); flex: 0 0 auto; border-radius: 6px; object-fit: cover; }
@media (max-width:1000px) {
  .corporate-v3 main .route-contact>.shell { grid-template-columns: 1fr; gap: 16px; }
  .reading-index { padding: 15px; }
}
@media (max-width:700px) {
  .route-options { grid-template-columns: 1fr; gap: 10px; }
  .corporate-v3 main .route-card { grid-template-columns: clamp(52px,19vw,90px) minmax(0,1fr); gap: 10px; min-height: 79px; padding: 6px 29px 6px 6px; }
  .route-card img { min-height: 65px; max-height: 75px; }
  .route-card small { margin-top: 2px; }
  body[data-interior="privacy"] main .policy-layout { grid-template-columns: 1fr; }
  .reading-index { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 11px; }
  .reading-index p { grid-column: 1/-1; }
  .reading-index a { font-size: .82rem; }
  .corporate-v3 { line-break: strict; }
  .corporate-v3 .v3-footer .footer-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; padding-block: 1rem .6rem; }
  .corporate-v3 .v3-footer .footer-identity > p { margin: 0; font-size: .66rem; line-height: 1.4; }
  .v3-footer .footer-identity > span { font-size: .75rem; line-height: 1.5; }
  .v3-footer .footer-nav {
    width: 100%; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,7.7rem),1fr));
    gap: 0 .65rem;
  }
  .v3-footer .footer-nav > p { grid-column: 1/-1; }
  .corporate-v3 .v3-footer .footer-nav > a {
    font-size: .84375rem; line-height: 1.5; letter-spacing: 0;
  }
  body:is(.privacy-page,.credits-page,.contact-page) main .wrap-phrases { word-break: keep-all; overflow-wrap: break-word; }
  body[data-interior="contact"] .contact-desk .contact-address { font-size: clamp(1.1rem,5vw,1.55rem); }
  body[data-interior="contact"] .ol-wholesale-inquiry a { display: inline-block; }
}
@media (max-width: 374px) {
  body[data-interior="contact"] main .service-contact-grid article { display: flex; flex-direction: column; }
  body[data-interior="contact"] main .service-contact-grid article figure { aspect-ratio: 2.3; }
  body[data-interior="contact"] main .service-contact-grid article > div { padding: .5rem; }
}
