/**
 * File: main.css
 * Usage: トップページのスタイルを定義します。
*/


/* ================================================
 FV セクション (ly_fv)
================================================ */
.ly_fv {
  position: relative;
  width: 100%;
  height: calc(100dvh - 40px);
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 14px 50px;
  overflow: hidden;
  color: var(--color-white);
  /* Brand-colored base so any brief moment before the FV images paint
     reads as intentional, not as blank / shadow flash. */
  background: var(--color-main);
}

/* Background */
.bl_fv_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Slideshow slide */
.bl_fv_slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.bl_fv_slide.is_active {
  opacity: 1;
  pointer-events: auto;
}

.bl_fv_bg__left,
.bl_fv_bg__right {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bl_fv_bg__right {
  top: 60%;
  height: 40%;
  z-index: 1;
}

.bl_fv_bg__left {
  height: 67%;
  z-index: 2;
  /* Downward-pointing arrow along the bottom edge (SP). Rotated 90°
     counterpart of the PC right-edge chevron. Slightly taller than the
     50/40 split so the chevron's side edges overlap the right image and
     don't expose the page background. */
  clip-path: polygon(0 0, 100% 0, 100% 90.57%, 50% 100%, 0 90.57%);
}

.bl_fv_bg__left img,
.bl_fv_bg__right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_fv_bg__left img {
  top: 0;
  left: -10%;
  transform: scale(1.2);
  transform-origin: top left;
  object-position: top left;
}

.bl_fv_bg__right img {
  object-position: 40% center;
}

/* Slide 2 (HVAC) overrides */
.bl_fv_slide:nth-child(2) .bl_fv_bg__left img {
  top: 0;
  left: 0%;
  transform: none;
  object-position: center center;
}

.bl_fv_slide:nth-child(2) .bl_fv_bg__right img {
  object-position: right 50%;
  transform-origin: 50% 70%;
  transform: scaleX(2) scaleY(2);
}

/* Slide 3 (Reform) SP overrides */
.bl_fv_slide:nth-child(3) .bl_fv_bg__left img {
  top: 0;
  transform: scale(1.3);
  object-position: 60% center;
}

.bl_fv_slide:nth-child(3) .bl_fv_bg__right img {
  object-position: left center;
}

@media screen and (min-width: 1024px) {
  .bl_fv_slide:nth-child(2) .bl_fv_bg__right img {
    object-position: 100% center;
    transform: scaleX(1);
  }

  /* Slide 3 (Reform) PC overrides */
  .bl_fv_slide:nth-child(3) .bl_fv_bg__left img {
    top: 0;
    left: -10%;
    transform: scale(1.55);
    transform-origin: center center;
    object-position: 40%;
  }

  .bl_fv_slide:nth-child(3) .bl_fv_bg__right img {
    transform: scale(1.3);
    object-position: 10% center;
  }
}

.bl_fv_bg_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Main content */
.bl_fv_main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 23vh;
  width: 100%;
}

/* Heading */
.bl_fv_heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.3));
}

.bl_fv_heading_img {
  position: relative;
  width: 100%;
  max-width: 348px;
  aspect-ratio: 348 / 86;
}

.bl_fv_heading_line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.bl_fv_heading_line__top {
  top: 0;
}

.bl_fv_heading_line__bottom {
  bottom: 0;
}

.bl_fv_heading_line img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 348 / 86;
}

.bl_fv_heading_line__top img {
  top: 0;
}

.bl_fv_heading_line__bottom img {
  bottom: 0;
}

@keyframes fvHeadingReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Clip-path wipe-in from left, matching .bl_aboutUs_item_img */
@keyframes fvHeadingWipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.bl_fv_heading_line__top,
.bl_fv_heading_line__bottom {
  clip-path: inset(0 100% 0 0);
  animation: fvHeadingWipe 0.6s cubic-bezier(0.77, 0, 0.175, 1) both;
}

.bl_fv_heading_line__top {
  animation-delay: 0.2s;
}

.bl_fv_heading_line__bottom {
  animation-delay: 0.6s;
}

.bl_fv_heading_sub {
  animation: fvHeadingReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2s both;
}

.bl_fv_heading_sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-white);
}

/* News ticker */
.bl_fv_news {
  animation: fvHeadingReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2.4s both;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.bl_fv_news_label {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.8px;
  color: var(--color-white);
}

.bl_fv_news_card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border-radius: 8px;
  padding: 8px;
  min-height: 44px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bl_fv_news:hover .bl_fv_news_card {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.bl_fv_news:hover .bl_fv_news_ttl {
  color: var(--color-main);
}

.bl_fv_news_ttl {
  transition: color 0.3s ease;
}

.bl_fv_news_arrow {
  transition: transform 0.3s ease;
}

.bl_fv_news:hover .bl_fv_news_arrow {
  transform: translateX(4px);
}

.bl_fv_news_date {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.7px;
  color: var(--color-black);
  padding-right: 8px;
  border-right: 1px solid #c8c8c8;
  flex-shrink: 0;
}

.bl_fv_news_ttl {
  flex: 1;
  min-width: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.65px;
  color: var(--color-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl_fv_news_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ================================================
 FV PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .ly_fv {
    height: 100dvh;
    min-height: 840px;
    padding: 0 80px 56px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .bl_fv_bg__right {
    top: 0;
    left: auto;
    right: 0;
    width: 40%;
    height: 100%;
  }

  .bl_fv_bg__left {
    width: 68%;
    height: 100%;
    clip-path: polygon(0 0, 90.57% 0, 100% 50%, 90.57% 100%, 0 100%);
  }

  .bl_fv_main {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
  }

  .bl_fv_heading {
    gap: 24px;
  }

  .bl_fv_heading_img {
    width: 40vw;
    max-width: unset;
  }

  .bl_fv_heading_sub {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.9px;
  }

  .bl_fv_news {
    gap: 8px;
  }

  .bl_fv_news_card {
    padding: 0px 16px;
    min-height: 28px;
    line-height: 1;
  }

  .bl_fv_news_date {
    font-size: 14px;
    padding-right: 24px;
  }

  .bl_fv_news_ttl {
    font-size: 14px;
    letter-spacing: 0.7px;
    max-width: 400px;
  }
}

@media screen and (min-width: 1560px) {
  .bl_fv_news_label {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .bl_fv_news_card {
    padding: 8px 24px;
    min-height: 48px;
    gap: 16px;
  }

  .bl_fv_news_date {
    font-size: 16px;
    padding-right: 32px;
  }

  .bl_fv_news_ttl {
    font-size: 16px;
    letter-spacing: 0.8px;
    max-width: 500px;
  }

  .bl_fv_news_arrow {
    width: 32px;
    height: 32px;
  }

  .bl_fv_news_arrow svg {
    width: 22px;
    height: 22px;
  }
}

/* ================================================
 INTRO セクション (ly_intro)
================================================ */
.ly_intro {
  background: linear-gradient(180deg, #FFF 75.48%, #F0F2F0 100%);
}

.bl_intro_container {
  padding: 128px 0 160px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bl_intro_body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-inline: 24px;
}

/* Heading */
.bl_intro_head_ttl {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(52px, 22vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4.2px;
  margin: 0;
}

.bl_intro_head_ttl .js_charAnim_char {
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
  background-size: var(--char-bg-size, 100%) 100%;
  background-position: var(--char-bg-pos, 0) center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Images grid (SP) */
.bl_intro_images {
  display: grid;
  grid-template-columns: 5fr 3fr;
  grid-template-rows: 1fr auto;
  gap: 8px;
  align-items: end;
}

.bl_intro_img {
  border-radius: 8px;
  overflow: hidden;
}

.bl_intro_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_intro_img__workers {
  grid-row: 1 / 3;
  aspect-ratio: 200 / 264;
}

.bl_intro_img__aircon {
  aspect-ratio: 120 / 143;
}

.bl_intro_img__water {
  aspect-ratio: 120 / 91;
}

/* Text */
.bl_intro_txt {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.8px;
  color: var(--color-black);
}

/* Button */
.bl_intro_body .el_btnArrow__green {
  width: min(300px, 100%);
}

/* ================================================
 INTRO セクション PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .bl_intro_container {
    max-width: 1080px;
    margin-inline: auto;
    padding: 128px 0 280px;
    gap: 16px;
  }

  .bl_intro_head {
    display: flex;
    justify-content: flex-end;
  }

  .bl_intro_head_ttl {
    font-size: 144px;
    letter-spacing: 0;
    text-align: right;
  }

  .bl_intro_body {
    display: grid;
    grid-template-columns: 1fr 37% 28%;
    grid-template-rows: 1fr auto;
    gap: 16px;
    align-items: end;
    padding-inline: 20px;
  }

  .bl_intro_images {
    display: contents;
  }

  .bl_intro_txt {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .bl_intro_img__water {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 303 / 231;
  }

  .bl_intro_img__workers {
    grid-column: 2;
    grid-row: 1 / 3;
    aspect-ratio: 400 / 528;
  }

  .bl_intro_img__aircon {
    grid-column: 3;
    grid-row: 1 / 3;
    aspect-ratio: 302 / 360;
    align-self: end;
    margin-bottom: 80px;
  }

  .bl_intro_body .el_btnArrow__green {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: end;
    justify-self: end;
  }
}

/* ================================================
 SERVICE セクション (ly_aboutUs)
================================================ */
.ly_aboutUs {
  padding-bottom: 120px;
  background-color: var(--color-bg-light);
}

/* Service Items Container */
.bl_aboutUs_items {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* Single Service Item */
.bl_aboutUs_item {
  display: flex;
  flex-direction: column-reverse;
  gap: 48px;
}

/* ------- Scroll reveal: inspired by nine-co pServiceCard -------
   Image wipes in from left via clip-path, text elements stagger in.
   Delays compound off item's reveal trigger. */

/* Image wipe-in */
.bl_aboutUs_item .bl_aboutUs_item_img img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.bl_aboutUs_item.is_revealed .bl_aboutUs_item_img img {
  clip-path: inset(0 0 0 0);
}

/* Secondary image (small/large pair) trails behind */
.bl_aboutUs_item .bl_aboutUs_item_img__large img {
  transition-delay: 0.08s;
}

/* Text elements start hidden, fade + rise when parent reveals */
.bl_aboutUs_item .bl_aboutUs_item_label,
.bl_aboutUs_item .bl_aboutUs_item_divider,
.bl_aboutUs_item .bl_aboutUs_item_ttl,
.bl_aboutUs_item .bl_aboutUs_item_desc {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bl_aboutUs_item .bl_aboutUs_item_divider {
  transform-origin: left center;
}

.bl_aboutUs_item.is_revealed .bl_aboutUs_item_label         { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.bl_aboutUs_item.is_revealed .bl_aboutUs_item_divider       { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.bl_aboutUs_item.is_revealed .bl_aboutUs_item_ttl           { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.bl_aboutUs_item.is_revealed .bl_aboutUs_item_desc          { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* Disable default js_reveal transform so our per-element timings win */
.bl_aboutUs_item.js_reveal {
  transform: none;
  opacity: 1;
  transition: none;
}

/* Text Block */
.bl_aboutUs_item_txt {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-inline: 24px;
}

/* Label */
.bl_aboutUs_item_label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bl_aboutUs_item_label_ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  color: var(--color-black);
}

.bl_aboutUs_item_label_en {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: var(--color-gray);
}

/* Divider */
.bl_aboutUs_item_divider {
  display: block;
  width: 96px;
  height: 2px;
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
}

/* Title */
.bl_aboutUs_item_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.5;
  color: var(--color-black);
}

/* Description */
.bl_aboutUs_item_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.8px;
  color: var(--color-black);
}

/* Images */
.bl_aboutUs_item_imgs {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bl_aboutUs_item_img {
  overflow: hidden;
  width: 100%;
}

.bl_aboutUs_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_aboutUs_item_img__small {
  height: 120px;
}

.bl_aboutUs_item_img__large {
  height: 256px;
}

/* ================================================
 SERVICE セクション PC (min-width: 1024px)
================================================ */
.ly_aboutUs .bl_secHead {
  padding-inline: 24px;
}

@media screen and (min-width: 1024px) {
  .ly_aboutUs .bl_secHead {
    max-width: 87.5%;
    margin-left: auto;
    padding-inline: 0;
  }

  .bl_aboutUs_item {
    flex-direction: row;
    gap: 40px;
    width: 100%;
    height: 100vh;
    max-height: 840px;
    align-items: center;
    padding-left: 40px;
  }

  .bl_aboutUs_item_txt {
    width: 360px;
    flex-shrink: 0;
    gap: 48px;
    padding-inline: 0;
  }

  .bl_aboutUs_item_ttl {
    font-size: 28px;
    letter-spacing: 1.4px;
  }

  .bl_aboutUs_item_imgs {
    flex: 1;
    height: 100%;
  }

  .bl_aboutUs_item_img__small {
    height: 264px;
  }

  .bl_aboutUs_item_img__large {
    flex: 1;
    height: auto;
  }
}

@media screen and (min-width: 1280px) {
  .bl_aboutUs_item {
    padding-left: calc(100% - 87.5%);
  }
}

@media screen and (min-width: 1440px) {
  .bl_aboutUs_item {
    gap: 80px;
  }

  .bl_aboutUs_item_txt {
    width: 360px;
    gap: 64px;
  }

  .bl_aboutUs_item_ttl {
    font-size: 34px;
    letter-spacing: 1.7px;
  }
}

/* ================================================
 CASE セクション (ly_case)
================================================ */
.ly_case {
  padding-block: 160px;
  overflow-x: clip;
}

.bl_case_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding-inline: 24px;
}

.bl_case_inner .bl_secHead {
  margin-bottom: 0;
  width: 100%;
}

/* Description */
.bl_case_desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.bl_case_desc_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  color: var(--color-black);
}

.bl_case_desc_txt {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.8px;
  color: var(--color-black);
  text-align: left;
}

/* Swiper */
.bl_case_swiper {
  margin-top: 64px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bl_case_swiper.is_visible {
  visibility: visible;
  opacity: 1;
}

.bl_case_swiper .swiper-slide {
  transform: scale(0.8);
  transition: transform 0.5s ease;
}

.bl_case_swiper .swiper-slide-active {
  transform: scale(1);
  z-index: 1;
}

/* Card */
.bl_case_card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-white);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.bl_case_card_img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}

.swiper-slide-active .bl_case_card_img {
  border: 4px solid var(--color-main);
}

.bl_case_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Body */
.bl_case_card_body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bl_case_card_meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bl_case_card_date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--color-gray);
}

.bl_case_card_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  color: var(--color-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl_case_card_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background: var(--color-main);
  border-radius: 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--color-white);
  width: fit-content;
}

/* Navigation */
.bl_case_foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  padding-inline: 24px;
}

.bl_case_nav {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-top: 32px;
}

.bl_case_nav_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 32px;
  background: var(--color-main);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.bl_case_nav_arrow:hover {
  opacity: 0.7;
}

.bl_case_nav_bar {
  flex: 1;
  height: 2px;
  background: #c8c8c8;
  border-radius: 1px;
}

.bl_case_nav_bar .swiper-scrollbar-drag {
  height: 4px;
  margin-top: -1px;
  background: var(--color-main);
  border-radius: 2px;
}

/* ================================================
 CASE セクション PC (min-width: 768px)
================================================ */
@media screen and (min-width: 768px) {
  .ly_case {
    padding-top: 160px;
    padding-bottom: 200px;
  }

  .bl_case_desc_txt {
    text-align: center;
  }

  .bl_case_inner {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 0;
  }

  .bl_case_inner .bl_secHead {
    padding-inline: 24px;
  }

  .bl_case_nav {
    width: auto;
    padding-top: 32px;
  }

  .bl_case_nav_bar {
    width: 284px;
    flex: none;
  }

  .bl_case_foot {
    padding-inline: 0;
  }
}

/* ================================================
 RECRUIT セクション (ly_recruit)
================================================ */
.ly_recruit {
  position: relative;
  background: var(--color-main) url(../img/recruit/pattern.svg) top left repeat;
  overflow: hidden;
  padding-block: 240px;
}

/* Content */
.bl_recruit_content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-inline: 24px;
}

.bl_recruit_desc_txt {
  text-align: left;
}

.bl_recruit_desc_txt br {
  display: none;
}

.bl_recruit_ttl {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.bl_recruit_ttl {
  position: relative;
}

.bl_recruit_ttl .js_charAnim_char {
  background: linear-gradient(to right, var(--color-white), var(--color-sub-green));
  background-size: var(--char-bg-size, 100%) 100%;
  background-position: var(--char-bg-pos, 0) center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bl_recruit_desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bl_recruit_desc_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  color: var(--color-white);
}

.bl_recruit_desc_txt {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.8px;
  color: var(--color-white);
}

/* Image columns */
.bl_recruit_images {
  position: absolute;
  overflow: hidden;
}

.bl_recruit_images_item {
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.bl_recruit_images_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SP: horizontal rows at top and bottom */
.bl_recruit_images__left {
  top: 32px;
  left: 0;
  right: 0;
  height: 168px;
}

.bl_recruit_images__right {
  bottom: 32px;
  left: 0;
  right: 0;
  height: 168px;
}

.bl_recruit_images_track {
  display: flex;
  gap: 16px;
  height: 100%;
}

.bl_recruit_images_item {
  width: 220px;
  height: 168px;
}

.bl_recruit_images_item:nth-child(3n+3) {
  width: 130px;
  height: 130px;
  align-self: flex-end;
}

/* SP animations: horizontal */
.bl_recruit_images__left .bl_recruit_images_track {
  animation: scrollLeft 20s linear infinite;
}

.bl_recruit_images__right .bl_recruit_images_track {
  animation: scrollRight 20s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ================================================
 RECRUIT セクション PC (min-width: 768px)
================================================ */
@media screen and (min-width: 768px) {
  .ly_recruit {
    padding-block: 200px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 800px;
  }

  .bl_recruit_ttl {
    font-size: 96px;
    letter-spacing: 4.8px;
  }

  .bl_recruit_content {
    gap: 64px;
    padding-inline: 0;
  }

  .bl_recruit_desc_txt {
    text-align: center;
  }

  .bl_recruit_desc_txt br {
    display: inline;
  }

  /* PC: vertical columns on left and right */
  .bl_recruit_images__left {
    top: 0;
    bottom: 0;
    left: 2vw;
    right: auto;
    width: 25vw;
    height: 100%;
  }

  .bl_recruit_images__right {
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 25vw;
    height: 100%;
  }

  .bl_recruit_images_track {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .bl_recruit_images_item {
    width: 100%;
    height: 20vw;
  }

  .bl_recruit_images_item:nth-child(3n+3) {
    width: 60%;
    height: 15vw;
    align-self: flex-start;
  }

  .bl_recruit_images__right .bl_recruit_images_item:nth-child(3n+3) {
    align-self: flex-end;
  }

  /* PC animations: vertical */
  .bl_recruit_images__left .bl_recruit_images_track {
    animation: scrollDown 25s linear infinite;
  }

  .bl_recruit_images__right .bl_recruit_images_track {
    animation: scrollUp 25s linear infinite;
  }

  @keyframes scrollDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }

  @keyframes scrollUp {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
  }
}

/* ================================================
 CONTACT セクション (ly_contact)
================================================ */
.ly_contact {
  padding-top: 40px;
}

.bl_contact_container {
  position: relative;
  border-radius: 48px 48px 0 0;
  overflow: hidden;
  padding: 56px 24px 240px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: none;
}

.bl_contact_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: 10% center;
  pointer-events: none;
}

.bl_contact_content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.bl_contact_ttl .js_charAnim_char {
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
  background-size: var(--char-bg-size, 100%) 100%;
  background-position: var(--char-bg-pos, 0) center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bl_contact_ttl {
  font-family: 'Oswald', sans-serif;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2.28px;
  margin: 0;
}

.bl_contact_desc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bl_contact_content .el_btnArrow {
  align-self: center;
}

.bl_contact_desc_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-black);
}

.bl_contact_desc_txt {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.75px;
  color: var(--color-black);
}

/* ================================================
 CONTACT セクション PC (min-width: 768px)
================================================ */
@media screen and (min-width: 768px) {
  .bl_contact_container {
    border-radius: 80px 80px 0 0;
    padding: 0;
  }

  .bl_contact_inner {
    padding: 136px 72px 128px;
    display: flex;
    justify-content: flex-end;
  }

  .bl_contact_content {
    align-items: center;
    text-align: center;
    gap: 56px;
  }

  .bl_contact_bg {
    height: 100%;
    object-position: left bottom;
  }

  .bl_contact_ttl {
    font-size: 144px;
    letter-spacing: 2px;
  }

  .bl_contact_desc_ttl {
    font-size: 28px;
    letter-spacing: 1.4px;
  }
}

@media screen and (min-width: 1280px) {
  .bl_contact_container {
    background: url(../img/contact/contact.webp) left bottom / cover no-repeat;
    min-height: 50vh;
  }

  .bl_contact_inner {
    width: 50%;
    margin-left: auto;
    justify-content: center;
  }

  .bl_contact_bg {
    display: none;
  }
}

@media screen and (min-width: 1560px) {
  .bl_contact_container {
    min-height: 60vh;
    background-position: center 85%;
  }
}