/**
 * File: subp.css
 * Usage: トップページ以外の共通スタイルを定義します。
 * Example: サブページ共通のヘッダーなど
*/

.ly_header {
  position: fixed;
}

.bl_secBgBlue > * {
  position: relative;
  z-index: 1;
}

.bl_subpTop {
  position: relative;
  text-align: center;
}

.bl_subpTop_img {
  aspect-ratio: 375 / 160;
  width: 100%;
  max-width: 768px;
}

.bl_subpTop_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_subpTop span {
  font-weight: 400;
  font-size: clamp(1.5rem, 0.5rem + 5vw, 5rem);
  line-height: 1;
}

.bl_subpTop h1 {
  font-weight: 400;
  font-size: clamp(0.875rem, 0.7857rem + 0.4464vw, 1rem);
}

.bl_subpTop_text {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(50%);
  width: 64%;
  padding-block: 5px;
}

.ly_ctaRecruit {
  background:
    url(../img/cta.webp) no-repeat center/cover,
    rgba(51, 51, 51, 0.75);
  background-blend-mode: multiply;
  padding: 54px 24px;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bl_ctaRecruit {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(56, 147, 235, 1) 0%,
    rgba(6, 94, 178, 1) 100%
  );
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: 0px 10px 10px 0px #00000029;
}

.bl_ctaRecruit p {
  padding: 2px 8px;
  border: 1px solid #fff;
}

.bl_ctaRecruit strong {
  font-size: clamp(1.125rem, 0.9107rem + 1.0714vw, 2rem);
}

.bl_jobCategories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding-inline: 15px;
  color: #fff;
  padding-bottom: 40px;
}

.bl_jobCategories a {
  aspect-ratio: 172 / 230;
  display: block;
  position: relative;
  transition: transform 0.3s ease;
}

.bl_jobCategories a span svg path {
  stroke: #fff;
}

.bl_jobCategories a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333333;
  opacity: 80%;
  z-index: 1;
}

.bl_jobCategories a:hover::after {
  cursor: pointer;
  background: #086dcd;
}

.bl_jobCategories a span {
  max-width: 200px;
  height: 30px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 20px;
  z-index: 2;
  background: transparent;
  color: #fff;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

.bl_jobCategories a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bl_jobCategories a > p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.3;
  width: 98%;
  font-size: clamp(0.875rem, 0.5893rem + 1.4286vw, 1.875rem);
  z-index: 2;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
  .ly_header {
    position: sticky;
  }

  .bl_subpTop_text {
    width: fit-content;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
    padding: 15px 100px 15px 5vw;
  }

  .bl_subpTop_img {
    width: 95vw;
    max-width: 1368px;
    max-width: none;
    margin-inline: auto 0;
    aspect-ratio: 1368 / 250;
  }

  .ly_ctaRecruit {
    padding-block: 80px;
    display: grid;
    justify-content: center;
    grid-template-columns: minmax(0, 490px) minmax(0, 490px);
  }

  .bl_ctaRecruit {
    max-width: 490px;
    width: 100%;
    height: 100%;
    padding: 40px;
  }

  .bl_jobCategories {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1000px;
    margin-inline: auto;
    padding-block: 0 80px;
  }

  .bl_jobCategories a span {
    height: 40px;
    bottom: 40px;
    font-size: 18px;
  }
}

@media screen and (min-width: 1280px) {
  .bl_jobCategories a:hover .el_jobOnHover p {
    display: block;
  }
}


.breadcrumb {
  display: flex;
  justify-content: flex-start;
  padding: 20px;
}

.breadcrumb.adjustment {
  margin: 5.5vw 0 -3.75vw;
  padding: 20px 20px 0;
}

.breadcrumb.single_news {
  padding: 0 0 20px 0;
}

.breadcrumb_list {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  overflow-x: auto;
}

.breadcrumb_item {
  font-size: 12px;
  white-space: nowrap;
}

.breadcrumb_item a {
  color: #085195;
  font-size: 12px;
  white-space: nowrap;
}

.breadcrumb_item::after {
  content: url(../img/breadcrumb-icon.svg);
  margin: 0 10px;
}

.breadcrumb_item:last-child::after {
  content: "";
  margin: 0;
}

@media screen and (min-width: 768px) {
  .breadcrumb_item {
    font-size: 14px;
  }

  .breadcrumb_item a {
    font-size: 14px;
  }
}
@media screen and (min-width: 1280px) {
  .breadcrumb {
    padding: 20px;
  }

  .breadcrumb.adjustment {
    margin: 72px 0 -72px;
  }
}