@import url(./global/_variable.css);

/* napsdata - 数字で見るナップス */
/* ============================================ */



/* stats
============================================ */
#stats {
  background: linear-gradient(180deg, #fff 0%, rgba(242, 242, 242, 0) 12%), #f2f2f2;
}

.area_stats {
  position: relative;
  overflow: hidden;
  padding: 80px clamp(16px, 8vw, 128px) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;

  @media (width < 768px) {
    padding: 60px 20px 80px;
    gap: 40px;
  }
}

.area_stats_deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  top: 0px;
}


.txt_stats_lead {
  font-family: var(--font_normal);
  font-size: clamp(0.875rem, 0.5vw + 0.75rem, 1.125rem);
  line-height: 2.4;
  text-align: center;
  position: relative;
  z-index: 1;

  @media (width < 768px) {
    text-align: left;

    br {
      display: none;
    }
  }
}


/* stats boxes
============================================ */
.list_stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 0;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  position: relative;
  z-index: 1;

  @media (width < 768px) {
    gap: 16px;
  }
}

.box_stats {
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.box_stats_half {
  width: calc(50% - 24px);

  @media (width < 768px) {
    width: 100%;
  }
}

.box_stats_full {
  width: 100%;
  gap: 48px;
}

.box_stats_third {
  width: calc(33.333% - 32px);

  @media (width < 1071px) {
    width: calc(50% - 24px);
  }

  @media (width < 768px) {
    width: 100%;
  }
}

.box_stats_label {
  font-family: var(--font_normal);
  font-weight: 700;
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.5rem);
  color: #888;
  text-align: center;
  line-height: 1.4;
}

.box_stats_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  flex-shrink: 0;

  svg {
    display: block;
  }
}

.box_stats_num {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.num_prefix,
.num_unit {
  font-family: var(--font_normal);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2.5rem);
  color: var(--font_c);
  line-height: 1.5;
}

.num_value {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 3vw + 2rem, 5rem);
  color: var(--point_c);
  line-height: 1;
}

.num_value_ratio {
  font-size: clamp(3rem, 3vw + 2rem, 5rem);
}


/* 職種割合（フルワイド）
============================================ */
.box_stats_full_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.box_stats_full_body {
  display: flex;
  width: 100%;
  align-items: center;
}

.col_stats_job {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 16px 0;

  @media (width < 480px) {
    gap: 12px;
    padding: 12px 4px;
  }
}

.col_stats_job_mid {
  border-left: 1px solid #b3b3b3;
  border-right: 1px solid #b3b3b3;
}

.col_stats_job_label {
  font-family: var(--font_normal);
  font-weight: 700;
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.5rem);
  color: #888;
  text-align: center;
  line-height: 1.4;
}


/* interview link
============================================ */
.area_stats_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  width: 100%;

  @media (width < 768px) {
    gap: 24px;
  }
}

.txt_stats_link_lead {
  font-family: var(--font_normal);
  font-weight: 700;
  font-size: clamp(1rem, 0.8vw + 0.6rem, 1.5rem);
  color: var(--font_c);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.btn_stats_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--main_c);
  color: #fff;
  text-decoration: none;
  padding: 32px 40px;
  width: 100%;
  max-width: 588px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    border: #000 solid 1px;
  }
  &::before {
    content: "";
    display: block;
    width: 0%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    transition: width 0.3s ease-out;
  }

  &:hover {
    &::before {
      width: 100%;
    }

    color: #000;

    .btn_stats_link_en,
    .btn_stats_link_jp {
      color: #000;
    }

    .btn_stats_link_arrow path {
      stroke: #000;
    }
  }

  @media (width < 480px) {
    padding: 24px 20px;
  }
}

.btn_stats_link_txt {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.btn_stats_link_en {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;

  strong {
    font-weight: 700;
  }
}

.btn_stats_link_jp {
  font-family: var(--font_normal);
  font-weight: 700;
  font-size: clamp(0.875rem, 0.5vw + 0.75rem, 1.25rem);
  color: #fff;
  line-height: 1;
}

.btn_stats_link_arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}
