@charset "utf-8";

.video_area {
    width: 100%;
    overflow: hidden;
}

.video_area video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* TOP：中央カラムはFigmaの380pxを基準に組み立てる */
.main-img {
  position: relative;
  height: 593px;
  overflow: hidden;
}
.fv_slides {
  position: absolute;
  inset: 0;
}
.fv_slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background: #fff;
}
.fv_slide.is-current {
  opacity: 1;
}
.fv_slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fv_photo > img {
  opacity: .5;
}
.fv_copy {
  position: absolute;
  top: 92px;
  left: 27.37%;
  right: 9.73%;
  text-align: right;
}
.fv_copy > p {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 1px;
  color: var(--linea-orange);
  margin-bottom: 12px;
  white-space: nowrap;
}
.fv_title {
  font-size: 28.5px;
  line-height: 43px;
  letter-spacing: -.825px;
  font-weight: 500;
}
.fv_controls {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fv_controls > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 28px;
  border: 1px solid #165ba066;
  border-radius: 50%;
  background: #ffffffc9;
  color: var(--linea-blue);
}
.fv_controls p {
  font-family: Montserrat, sans-serif;
  font-size: 10px;
  line-height: 1;
}
.fv_controls .is-current {
  background: var(--linea-blue);
  color: #fff;
}
.fv_controls > .fv_pause {
  width: 44px;
  border-radius: 20px;
}
.home_about {
  background: var(--linea-paper);
}
.about_vertical {
  position: relative;
  width: 120px;
  min-height: 216px;
  margin: 0 auto 30px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.vertical_title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 24px;
  line-height: 42px;
  letter-spacing: 2.28px;
}
.vertical_title > span {
  display: inline;
}
.vertical_english {
  position: absolute;
  left: 100%;
  top: 0;
  writing-mode: vertical-rl;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 1px;
  color: var(--linea-orange);
}
.home_about .more_btn {
  margin-top: 40px;
}
.about_illustration {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.about_illustration img {
  position: absolute;
  width: 100%;
  height: 160%;
  top: -30.13%;
  left: 0;
  object-fit: fill;
}
.home_service {
  background: #f4f4f4;
}
.home_service .content_title {
  margin-bottom: 13px;
  color: var(--linea-ink);
}
.home_service .sub_english {
  margin-top: 0;
  color: var(--linea-orange);
}
.home_strength {
  background: var(--linea-paper);
}
.strength_heading {
  font-size: 23px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}
.strength_list {
  display: grid;
  gap: 20px;
}
.strength_card {
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--linea-blue);
  border-radius: 50%;
}
.strength_number {
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: 2.16px;
  text-align: center;
  color: var(--linea-orange);
  margin-bottom: 10px;
}
.strength_title {
  font-size: 20px;
  line-height: 1.3;
  color: var(--linea-blue);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}
.strength_card .prose {
  line-height: 1.7;
}
.home_business {
  background: var(--linea-green);
}
.home_business .section_english {
  max-width: 100%;
}
.home_recruit {
  background: var(--linea-blue);
  padding-bottom: 90px;
}
.recruit_visual {
  position: relative;
  min-height: 332px;
  padding: 50px 30px 170px;
  overflow: hidden;
}
.recruit_visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
.recruit_visual > .section_heading {
  position: relative;
}
.recruit_visual .section_japanese {
  color: var(--linea-ink);
  text-align: center;
}
.recruit_visual .section_english {
  color: #fff;
  -webkit-text-stroke: 4px #1c1e29;
  paint-order: stroke fill;
  text-align: center;
}
.recruit_intro_panel {
  position: relative;
  background: #fff;
  border-radius: 10px;
  margin: -46px 20px 0;
  padding: 30px;
}
.recruit_intro_title {
  font-size: 24px;
  line-height: 1.3;
  text-align: center;
  color: var(--linea-orange);
  margin-bottom: 20px;
}
.home_news {
  background: var(--linea-paper);
}
.home_news > .section_inner {
  display: grid;
}
.news_heading_row {
  display: contents;
}
.news_heading_row > .section_heading {
  grid-row: 1;
}
.home_news .news_list {
  grid-row: 2;
}
.news_heading_row > .more_btn {
  grid-row: 3;
}
body:not(.on) .main-img {
  height: auto;
  overflow: visible;
}
body:not(.on) .fv_slides {
  position: relative;
  display: grid;
  gap: 10px;
}
body:not(.on) .fv_slide {
  position: relative;
  height: auto;
  opacity: 1 !important;
  transition: none;
}
body:not(.on) .fv_slide > img {
  height: auto;
  aspect-ratio: 380/593;
  opacity: 1;
}
body:not(.on) .fv_copy {
  position: relative;
  inset: auto;
  padding: 30px;
  text-align: center;
}
body:not(.on) .fv_controls {
  position: relative;
  inset: auto;
  padding: 20px;
}
@media(max-width:1080px) {
  .main-img {
    height: auto;
    aspect-ratio: 380/593;
  }
}
@media(max-width:576px) {
  .fv_title {
    font-size: clamp(24px, 7.5vw, 28.5px);
    line-height: 1.51;
  }
  .fv_copy > p {
    font-size: clamp(12px, 4.21vw, 16px);
  }
  .fv_copy {
    top: 15.5%;
  }
  .home_news .news_heading_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    grid-row: 1;
    margin-bottom: 30px;
  }
  .home_news .news_heading_row > .section_heading {
    padding-bottom: 0;
    text-align: left;
  }
  .home_news .news_heading_row .section_japanese {
    text-align: left;
  }
  .home_news .news_heading_row .section_english {
    font-size: 32px;
  }
  .home_news .news_heading_row > .more_btn {
    margin: 0;
  }
  .home_news .news_heading_row > .more_btn > a {
    width: auto;
    min-width: 112px;
    min-height: 48px;
    padding: 12px 16px;
    gap: 12px;
  }
  .home_news .news_heading_row .more_btn p {
    font-size: 14px;
  }
  .home_news .news_list {
    grid-row: 2;
  }
  .strength_card {
    padding: 28px clamp(28px, 10vw, 40px);
  }
}
@media(prefers-reduced-motion:reduce) {
  .fv_slide {
    transition: none;
  }
}
/* 写真の差し替え時も採用見出しの可読性を確保 */
.recruit_visual {
  isolation: isolate;
}
body.on .recruit_visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, #ffffff66 0%, #ffffff55 45%, #ffffff00 80%);
  pointer-events: none;
}
.recruit_visual > .section_heading {
  z-index: 1;
}
.recruit_visual .section_japanese {
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke fill;
  text-shadow: 0 1px 3px #fff;
}
.recruit_visual .section_english {
  text-shadow: 0 2px 5px #0005;
}