:root {
  --navy: #173b70;
  --blue: #245a9a;
  --text: #40516b;
  --pale: #f0f5fc;
  --orange: #ef6028;
  --gold: #edc01e;
  --light-gold: #ffe59a;
  --heading: "Zen Kaku Gothic New", sans-serif;
  --body: "Noto Sans JP", sans-serif;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #e9eff7;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
em {
  font-style: normal;
  color: var(--orange);
}
strong {
  font-weight: 900;
}
html {
  scroll-behavior: smooth;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #57a2d3;
  outline-offset: 5px;
}
a[aria-disabled="true"] {
  cursor: default;
}
.page {
  max-width: 450px;
  margin: auto;
  background: white;
  box-shadow: 0 0 50px #173b7012;
  overflow: clip;
}
.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: white;
}
.hero > img {
  width: 100%;
  height: auto;
}
.intent {
  min-height: 270px;
  padding: 35px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(var(--blue), var(--navy));
  color: white;
  font-family: var(--heading);
  font-weight: 700;
}
.intent-label {
  padding: 2px 30px;
  background: var(--navy);
  line-height: 20px;
}
.intent h2 {
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
  padding-bottom: 10px;
  letter-spacing: -0.2px;
}
.cta {
  min-height: 64px;
  width: 100%;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  border: 1.5px solid white;
  border-radius: 5px;
  background: linear-gradient(67deg, var(--orange) 36.585%, #ff8c00 102.11%);
  box-shadow: 0 4px 3px #0004;
  color: white;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.cta[href]:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.cta span {
  text-align: center;
  min-width: 0;
}
.cta > :first-child {
  justify-self: start;
}
.cta > :last-child {
  justify-self: end;
}
.cta img {
  flex-shrink: 0;
}
.cta-light {
  min-height: 52px;
  background: var(--pale);
  color: var(--navy);
}
.brand {
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.brand img {
  position: absolute;
}
.brand-about {
  width: 209px;
  height: 25px;
}
.brand-mark {
  left: 0;
  top: 0;
}
.brand-about .brand-word {
  left: 37.45px;
  top: 5.07px;
}
.brand-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--navy);
  font: 700 20px/1.2 var(--heading);
}
.about {
  padding-top: 50px;
  text-align: center;
  color: var(--navy);
}
.about-transition {
  margin: 30px auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font: 700 30px/1 var(--heading);
  letter-spacing: -1px;
}
.about-transition p {
  padding: 10px 15px;
  background: var(--blue);
  color: white;
}
.about-transition small {
  font-size: 20px;
}
.about-transition p:last-child {
  padding: 12px 10px 10px;
  color: var(--navy);
  background: linear-gradient(90deg, #e7d573, #f7f1bf 49.5%, #e7d573);
}
.about-subtitle {
  font: 700 18px/26px var(--heading);
}
.about-description {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  margin: 30px 10px 26px;
}
.support-link {
  margin: 0 20px 44px;
  background: var(--navy);
  border-radius: 5px;
  color: white;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  gap: 10px;
}
.support-link span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.support-link small {
  font: 500 10px/1.2 var(--heading);
  white-space: nowrap;
}
.support-link strong {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 375/160;
  overflow: hidden;
}
.about-photo img {
  position: absolute;
  width: 124.19%;
  height: 146.16%;
  left: -24.15%;
  top: -12.15%;
}
@media (max-width: 374px) {
  .intent h2 {
    font-size: clamp(16px, 5.1vw, 20px);
  }
  .intent {
    padding-inline: 15px;
  }
  .about-transition {
    font-size: 26px;
  }
  .about-description {
    font-size: 12px;
  }
  .support-link {
    margin-inline: 15px;
    padding-inline: 10px;
    gap: 6px;
  }
  .support-link strong {
    font-size: 12px;
  }
  .support-link small {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Match Figma cap-height trimming without fixed-height text boxes. */
@supports (text-box-trim: trim-both) {
  p,
  h3,
  h4,
  .intent h2,
  .point-card h3 small,
  .points-heading,
  .merit-heading > span,
  .section-title > span,
  .jobs h2,
  .salary-increase > strong,
  .flow-number,
  .footer > small {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }
}
