:root {
  --blue: #2778fa;
  --blue-dark: #1459bd;
  --lime: #c7ff5c;
  --ink: #20242a;
  --muted: #65707c;
  --line: #dfe4e8;
  --soft: #f5f6f7;
  --footer: #74808d;
  --white: #fff;
  --content: 1190px;
  --header-height: 90px;
  --shadow: 0 14px 38px rgba(25, 37, 50, .09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--blue-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.35;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(32, 36, 42, .08);
  backdrop-filter: blur(12px);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hero-header .site-header {
  position: fixed;
  right: 0;
  left: 0;
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-header.is-scrolled .site-header,
.hero-header.menu-open .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  border-color: rgba(32, 36, 42, .08);
  box-shadow: 0 3px 14px rgba(25, 37, 50, .08);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 40px), 1250px);
  height: 100%;
  margin: 0 auto;
  padding-inline: 30px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 55px;
  height: 55px;
}

.site-nav {
  margin-left: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 32px 0 31px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.header-meta {
  margin-left: auto;
  display: grid;
  gap: 2px;
  color: #4c555e;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.header-meta a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.hero-header--inverse:not(.is-scrolled):not(.menu-open) .site-nav a,
.hero-header--inverse:not(.is-scrolled):not(.menu-open) .header-meta,
.hero-header--inverse:not(.is-scrolled):not(.menu-open) .header-meta a,
.hero-header--inverse:not(.is-scrolled):not(.menu-open) .menu-toggle {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  content: "";
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.content-shell {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.narrow-shell {
  width: min(calc(100% - 48px), 880px);
  margin-inline: auto;
}

.section {
  padding: clamp(70px, 8vw, 110px) 0;
}

.section--soft {
  background: var(--soft);
}

.section--lime {
  background: var(--lime);
}

.section-title {
  margin-bottom: clamp(42px, 6vw, 70px);
  text-align: center;
}

.section-title h1,
.section-title h2 {
  margin-bottom: 2px;
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
}

.section-title p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section-title::after {
  display: block;
  width: 110px;
  height: 3px;
  margin: 0 auto;
  content: "";
  background: var(--blue);
}

.page-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: url("../images/cta.webp") center / cover no-repeat;
}

.fixed-page-section {
  padding-top: 72px;
}

.fixed-page-section > .content-shell > .section-title,
.fixed-page-section > .narrow-shell > .section-title {
  margin-bottom: 80px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.button:hover {
  color: var(--blue);
  background: transparent;
  transform: translateY(-2px);
}

.button--outline {
  color: var(--blue);
  background: rgba(255, 255, 255, .75);
}

.button--outline:hover {
  color: var(--white);
  background: var(--blue);
}

.text-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.text-list li {
  position: relative;
  padding: 11px 4px 11px 27px;
  border-bottom: 1px solid rgba(38, 48, 58, .12);
}

.text-list li::before {
  position: absolute;
  top: 19px;
  left: 3px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .65);
}

.lede {
  color: #4f5963;
  font-size: 17px;
  line-height: 2;
}

.site-footer {
  padding: 66px 0 24px;
  color: var(--white);
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.4fr);
  gap: 70px;
}

.footer-title {
  margin-bottom: 22px;
  font-size: 16px;
}

.footer-address {
  font-style: normal;
  font-size: 14px;
}

.footer-address p {
  margin-bottom: 12px;
}

.footer-address a,
.footer-nav a,
.footer-bottom a {
  color: var(--white);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: bottom .25s ease, opacity .2s ease, transform .2s ease;
}

body.recaptcha-active .back-to-top {
  bottom: calc(94px + env(safe-area-inset-bottom, 0px));
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1120px) {
  .header-meta {
    display: none;
  }

  .site-nav a {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    width: min(calc(100% - 28px), 1360px);
    padding-inline: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    display: block;
    width: min(calc(100% - 40px), 700px);
    margin: 0 auto;
    padding: 20px 0 28px;
  }

  .site-nav a {
    display: block;
    padding: 15px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .content-shell,
  .narrow-shell {
    width: min(calc(100% - 36px), var(--content));
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    min-height: 245px;
  }

  .fixed-page-section {
    padding-top: 56px;
  }

  .fixed-page-section > .content-shell > .section-title,
  .fixed-page-section > .narrow-shell > .section-title {
    margin-bottom: 52px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
