@charset "UTF-8";

/*---------------------------------------------------
 共通アニメーション
----------------------------------------------------*/
.text-wrap {
  overflow: hidden;
  display: block;
}

.text-line {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1), opacity 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.text-line.inview {
  transform: translateY(0);
  opacity: 1;
}

/* 遅延をずらす */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.7s;
}

/*---------------------------------------------------
 viewmore
----------------------------------------------------*/

.viewmore-blue span:last-child::before {
  content: "";
  width: 26px;
  height: 30px;
  background-image: url(../image/general/link-icon-circle-blue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
}

.viewmore-white span:last-child::before {
  content: "";
  width: 26px;
  height: 30px;
  background-image: url(../image/general/link-icon-circle-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
}

.viewmore-center {
  width: 150px;
}

/*---------------------------------------------------
 TOPページ
----------------------------------------------------*/

.top-hero {
  height: 100vh;
  background-image: url(../image/top/top-hero-img-sp.jpg);
  background-size: cover;
  background-position: center center;
}

.top-hero-text-position {
  bottom: 110px;
  left: 0;
}

.top-news {
  width: 85vw;
  bottom: 0;
  right: 0;
  transform: translateY(50%);
}

.top-values-circle {
  aspect-ratio: 1 / 1;
  min-width: 277px;
}

.top-values-title::before {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background-color: var(--color-blue);
  transform: rotate(45deg);
  transform-origin: left center;
  position: absolute;
  top: 25%;
  left: -20px;
}

.top-values-title::after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background-color: var(--color-blue);
  transform: rotate(-45deg);
  transform-origin: right center;
  position: absolute;
  top: 25%;
  right: -20px;
}

.top-data-bg {
  background-image: url(../image/top/top-data-bg.png);
  background-size: cover;
  background-position: center center;
}

.top-welfare-bg {
  background-image: url(../image/top/top-welfare-bg.png);
  background-size: cover;
  background-position: 40% center;
}

.top-business-thumbnail {
  aspect-ratio: 16 / 9;
}

.top-news-title {
  width: calc(100% - 50px);
}

.top-news-arrow::after {
  content: "";
  width: 14px;
  height: 6px;
  background-image: url(../image/general/news-arrow-blue.svg);
  background-size: cover;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

@media screen and (min-width: 992px) {
  .top-hero {
    background-image: url(../image/top/top-hero-img-pc.jpg);
  }

  .top-hero-text-position {
    bottom: 70px;
  }

  .top-news {
    width: 42vw;
  }

  .top-business-width {
    width: calc(50% - 36px);
  }
}

/*---------------------------------------------------
 ABOUTページ
----------------------------------------------------*/

.about-page-link {
  padding-left: 92px;
}

.about-page-link span:first-child::before {
  content: "";
  width: 76px;
  height: 1px;
  background-color: var(--color-blue);
  position: absolute;
  top: 12px;
  left: 0;
}

.about-history .about-point{
  top: 190px;
}

.about-point {
  left: 5px;
}

.about-point-line{
  width: 23px;
  height: 1px;
  background-color: var(--color-blue);
}

.about-history-year img {
  max-width: 138px;
}

.about-history-line::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--color-blue);
  border-radius: 50%;
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
}

.about-history-line::after {
  content: "";
  width: 1px;
  height: 100%;
  background-color: var(--color-blue);
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
}

.about-histori-dot-line::after{
  content: "";
  width: 1px;
  height: 100%;
  background-color: var(--color-black);
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
}

.about-history-last-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--color-blue);
  border-radius: 50%;
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
}

.about-history-last-line::before {
  content: "";
  width: 1px;
  height: 90px;
  background-color: var(--color-blue);
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
}

.about-history-last-line::after {
  content: "";
  position: absolute;
  top: 90px;
  left: 50%;
  width: 0;
  height: calc(100% - 90px);
  border-left: 1px dashed var(--color-blue);
  transform: translateX(-0.5px);
}

.about-structure .about-point{
  top: 260px;
}


@media screen and (min-width: 768px) {
  .about-history-line::before, .about-history-last-dot{
    top: 75px;
  }

  .about-history-line::after, .about-history-last-line::before {
    top: 19px;
  }
}

/*---------------------------------------------------
 フェードインアニメーション用CSS
----------------------------------------------------*/

.fade-in {
  opacity: 0;                 /* 初期状態は透明 */
  transform: translateY(30px);/* 少し下から浮かせておく */
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: opacity, transform; /* パフォーマンス向上 */
}

.fade-in.is-show {            /* 画面内に入ったら適用 */
  opacity: 1;
  transform: translateY(0);
}



/*---------------------------------------------------
 募集要項ページ
----------------------------------------------------*/

.requirements-select-width {
  max-width: calc(100% - 20px);
}

.requirements-job-link {
  gap: 6px;
  text-decoration: none;
}

/* ▼ 14×8 px・塗り #004EA2 の下向き三角  */
.down-arrow-blue {
  flex: 0 0 14px;
  width: 14px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='%23004EA2' d='M0 0l7 8 7-8z'/%3E%3C/svg%3E") no-repeat center / contain;
  /* pointer-events を無効にしておくと、クリック判定を a に通せる */
  pointer-events: none;
}

.requirements-process-number {
  width: 48px;
  height: 48px;
  top: 0;
  left: 0;
  /* transform: translateX(-50%); */
}

.requirements-procss-ps {
  padding-left: calc(48px + 32px);
}

.apply-btn {
  max-width: 310px;
}

.process-box:not(:last-of-type) .requirements-procss-ps::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  background-color: var(--color-blue);
  top: 0;
  left: 23px;
  z-index: -1;
}