/* WordPress integration styles. Loaded only for /recruit/ and its child pages. */
body.recruit-site-page main#main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 150px 0 0;
}

.recruit-site {
  isolation: isolate;
  overflow: clip;
  background: #fff;
  color: #102b3e;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* Remove heading decoration inherited from the corporate theme. */
.recruit-site h1,
.recruit-site h2,
.recruit-site h3,
.recruit-site h4 {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-indent: 0;
  box-shadow: none;
}

.recruit-site h1::before,
.recruit-site h1::after,
.recruit-site h2::before,
.recruit-site h2::after,
.recruit-site h3::before,
.recruit-site h3::after,
.recruit-site h4::before,
.recruit-site h4::after {
  content: none;
  display: none;
}

.recruit-site .recruit-local-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  padding: 14px 5%;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #d7dfe2;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.recruit-site .recruit-local-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.recruit-site .number-icon {
  display: block;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recruit-site .age-chart-static {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 51.4%;
  max-width: 185px;
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(#102b3e 0 20.5%, #fff 20.5% 21%, #eaff57 21% 34.5%, #fff 34.5% 35%, #b3d86b 35% 48.5%, #fff 48.5% 49%, #569e8c 49% 85.5%, #fff 85.5% 86%, #176a72 86% 99.5%, #fff 99.5% 100%);
}

.recruit-site .age-chart-visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  aspect-ratio: 360 / 230;
}

.recruit-site .age-callouts {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.recruit-site .age-callout path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recruit-site .age-callout text {
  fill: #102b3e;
  font: 700 13px/1.2 Arial, sans-serif;
  letter-spacing: .02em;
}

.recruit-site .age-callout-0 { color: #102b3e; }
.recruit-site .age-callout-1 { color: #176a72; }
.recruit-site .age-callout-2 { color: #569e8c; }
.recruit-site .age-callout-3 { color: #8eaf4c; }
.recruit-site .age-callout-4 { color: #b9ce24; }

.recruit-site .age-chart-static::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: #fff;
}

.recruit-site .age-chart-static .age-total {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  line-height: 1.15;
}

.recruit-site .age-chart-static .age-total > span { font-size: 13px; }
.recruit-site .age-chart-static .age-total strong { font: 800 30px/1 Arial, sans-serif; }
.recruit-site .age-chart-static .age-total small { margin-left: 2px; font-size: 12px; }

.recruit-site .age-swatch-0 { background: #102b3e; }
.recruit-site .age-swatch-1 { background: #176a72; }
.recruit-site .age-swatch-2 { background: #569e8c; }
.recruit-site .age-swatch-3 { background: #b3d86b; }
.recruit-site .age-swatch-4 { background: #eaff57; }

.recruit-site .sales-chart-static {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.recruit-site .sales-chart-wrap { position: relative; width: 100%; }
.recruit-site .sales-data-point { cursor: pointer; outline: none; }
.recruit-site .sales-data-point circle { transition: r .15s, stroke-width .15s; }
.recruit-site .sales-data-point:hover circle,
.recruit-site .sales-data-point:focus circle { r: 9px; stroke-width: 4; }
.recruit-site .sales-hover-tooltip {
  position: absolute;
  z-index: 3;
  min-width: 138px;
  padding: 11px 14px;
  border: 1px solid #cad5db;
  border-radius: 8px;
  background: #fff;
  color: #102b3e;
  box-shadow: 0 8px 24px rgba(16, 43, 62, .18);
  line-height: 1.55;
  text-align: left;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
}
.recruit-site .sales-hover-tooltip span,
.recruit-site .sales-hover-tooltip small { display: block; font-size: 12px; color: #607480; }
.recruit-site .sales-hover-tooltip strong { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; }

.recruit-site .sales-chart-static .sales-grid-line { stroke: #dce4e8; stroke-width: 1; }
.recruit-site .sales-chart-static .sales-area { fill: #eaff57; fill-opacity: .35; }
.recruit-site .sales-chart-static .sales-line { fill: none; stroke: #176a72; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.recruit-site .sales-chart-static circle { fill: #176a72; stroke: #fff; stroke-width: 2; }
.recruit-site .sales-chart-static text { fill: #102b3e; font: 700 12px Arial, sans-serif; }
.recruit-site .sales-chart-static .sales-value-label { font-size: 20px; font-weight: 800; }
.recruit-site .sales-chart-static .sales-axis-label,
.recruit-site .sales-chart-static .sales-year-label { fill: #536976; font-weight: 400; }

.recruit-site .work-card {
  color: #102b3e;
  font: inherit;
}

.recruit-site dialog.work-dialog-native {
  width: min(1040px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #102b3e;
}

.recruit-site dialog.work-dialog-native::backdrop { background: rgba(4, 18, 28, .76); }
.recruit-site dialog.work-dialog-native .work-dialog {
  position: relative;
  inset: auto;
  transform: none;
  display: block;
  width: 100%;
  max-height: none;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 90px rgba(0, 0, 0, .33);
}

.recruit-site .training-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #dce6e9;
}

.recruit-site .training-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.recruit-site .training-photo-3 img {
  transform: scale(1.13);
  transform-origin: 50% 50%;
}

.recruit-site .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  body.recruit-site-page main#main { padding: 100px 0 0; }

  .recruit-site .recruit-local-nav {
    justify-content: center;
    gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 13px;
    -webkit-overflow-scrolling: touch;
  }

  .recruit-site .age-chart-static { width: 51.4%; }
  .recruit-site .age-callout text { font-size: 14px; }
}
