@charset "utf-8";
/* MV
----------------------------------------------------------------------------------------------------*/
.mv-top {
  position: relative;
  overflow: hidden;
  height: 100rem;
}
.mv-title {
  position: absolute;
  bottom: 16rem;
  /*right: 16.9rem;*/
  right: clamp(24px, -3.929rem + 8.48vw, 100px);
  z-index: 10;
  /*width: min(50%, 65.8rem);*/
  width: fit-content;
  color: #FFF;
  text-align: center;
}
.mv-title__en {
  font-size: clamp(10.4rem, 12vw, 20rem);
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  line-height: 1;
  /* 下に線を引く */
  border-bottom: 2px solid #FFF; /* 線の太さは適宜調整 */
  margin-bottom: 1.5rem; /* 線と下のテキストとの余白 */
  padding-bottom: 1rem; /* テキストと線との余白 */
  display: inline-block; /* 幅をテキストに合わせる */
}
.mv-title__en span {
  display: block;
  font-size: clamp(5.3rem, 6vw, 10.1rem);
}
.mv-title__jp {
  font-size: clamp(1.8rem, 1.3vw, 2.27rem);
  font-weight: 700;
  white-space: nowrap; /* テキストが線より長くならないように調整 */
  hanging-punctuation: last allow-end;
}
.punc {
  display: inline-block;
  width: 0;
  text-indent: -0.3rem; /* 位置を微調整 */
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .mv-top {
    height: 80rem;
    padding-top: 10rem;
  }
  .mv-title {
    /*bottom: 5rem;*/
    bottom: 30rem;
    right: 0;
    left: 0;
    /*width: fit-content;*/ /* 固定幅ではなくフィットさせる */
    width: 33.4rem;
    margin: 0 auto;
  }
}
/* MV Movie
----------------------------------------------------------------------------------------------------*/
video, .poster {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}
.poster-a, .poster-a__sp {
  opacity: 1;
  transition: none; /* CSSのtransitionが干渉しないようにする */
}
.poster-b, .poster-b__sp {
  opacity: 0;
}
/* Section - Common
----------------------------------------------------------------------------------------------------*/
.top-title {
  position: relative;
  width: min(85%, 151.2rem);
  margin: 0 auto;
}
.top-title:before, .top-title:after {
  content: '';
  width: 10rem;
  height: 10rem;
  position: absolute;
  display: inline-block;
}
.top-title:before {
  border-left: solid 3rem #ff6d00;
  border-top: solid 3rem #ff6d00;
  top: 0;
  left: 0;
}
.top-title:after {
  border-right: solid 3rem #ff6d00;
  border-top: solid 3rem #ff6d00;
  top: 0;
  right: 0;
}
.top-title a {
  text-decoration: none;
}
.top-title__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(85%, 89rem);
  padding-top: 8.5rem;
  padding-bottom: 3.5rem;
  margin: 0 auto;
}
.top-title__head h2 {
  font-size: clamp(3.2rem, 4vw, 6.4rem);
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.top-title__head h2 span {
  padding-left: 2.5rem;
  margin-left: 2.5rem;
  margin-bottom: 3rem;
  border-left: 1px solid #000;
  color: #0074ba;
  font-size: clamp(4rem, 4vw, 8rem);
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.top-title__text {
  width: min(85%, 89rem);
  padding-bottom: 8.5rem;
  margin: 0 auto;
}
.top-title__text p {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  line-height: 1.75;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .top-title:before, .top-title:after {
    content: '';
    width: 5rem;
    height: 5rem;
    position: absolute;
    display: inline-block;
  }
  .top-title:before {
    border-left: solid 1.5rem #ff6d00;
    border-top: solid 1.5rem #ff6d00;
    top: 0;
    left: 0;
  }
  .top-title:after {
    border-right: solid 1.5rem #ff6d00;
    border-top: solid 1.5rem #ff6d00;
    top: 0;
    right: 0;
  }
  .top-title a {
    text-decoration: none;
  }
  .top-title__head {
    width: 90%;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    margin: 0 auto;
  }
  .top-title__text {
    width: 90%;
    padding-bottom: 3rem;
    margin: 0 auto;
  }
  .top-title__text p {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: justify;
    line-height: 1.75;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .top-title {
    position: relative;
    width: max(33rem, 75%);
    margin: 0 auto;
  }
  .top-title__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 18rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    margin: 0 auto;
  }
  .top-title__head h2 {
    font-size: 3.2rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
  }
  .top-title__head h2 span {
    display: block;
    padding-left: 0;
    padding-top: 1rem;
    margin-left: 0;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
    border-left: none;
    border-top: 1px solid #000;
    color: #0074ba;
    font-size: 4rem;
    font-family: "Lexend", sans-serif;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
  }
  .top-title__text {
    width: 100%;
    padding-bottom: 3rem;
    margin: 0 auto;
  }
  .top-title__text p {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: justify;
    line-height: 1.75;
  }
}
/* Section - Business
----------------------------------------------------------------------------------------------------*/
.sec-business {
  position: relative;
  padding: min(10%, 20rem) 0;
}
.sec-business__bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
}
.sec-business__bg img {
  width: 100%;
}
.sec-business .top-title {
  z-index: 150;
}
.top-biz {
  display: flex;
  width: min(85%, 151.2rem);
  margin: 0 auto;
}
.top-biz__item {
  position: relative;
  width: calc(100% / 3);
  padding-bottom: calc(405 / 1920 * 100%);
}
.top-biz__item a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  text-decoration: none;
}
.top-biz__item h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9rem;
  width: 100%;
  background: linear-gradient(0deg, rgba(9, 9, 9, 1) 0%, rgba(0, 0, 0, 0) 100%);
  color: #FFF;
  font-size: 2rem;
  font-weight: 700;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .sec-business {
    padding: 3.5rem 0;
  }
  .sec-business__bg {
    z-index: 10;
  }
  .sec-business .top-title {
    z-index: 20;
  }
  .top-biz__item {
    width: 100%;
    padding-bottom: 26.5rem;
  }
  .top-biz__item h3 {
    height: 6rem;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .top-biz {
    flex-direction: column;
    width: 33rem;
  }
}
/* Section - company
----------------------------------------------------------------------------------------------------*/
.sec-company {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 18rem 0 20rem;
}
.sec-company__left, .sec-company__right {
  width: min(45%, 73.5rem);
}
.sec-company .top-title {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.sec-company .top-title__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 53.5rem;
  padding-top: 8.5rem;
  padding-bottom: 3.5rem;
  margin: 0 auto;
}
.sec-company .top-title__head h2 {
  font-size: clamp(3.2rem, 4vw, 5rem);
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.sec-company .top-title__head h2 span {
  padding-left: 2rem;
  margin-left: 2rem;
  margin-bottom: 3rem;
  border-left: 1px solid #000;
  color: #0074ba;
  font-size: clamp(4rem, 4vw, 6.2rem);
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.sec-company .top-title__text {
  width: 53.5rem;
  padding-bottom: 5rem;
  margin: 0 auto;
}
.sec-company .top-title__text p {
  font-size: 2rem;
  font-weight: 500;
  text-align: justify;
  line-height: 1.75;
}
.sec-company .top-title__btn {
  margin-bottom: 6.5rem;
}
@media screen and (max-width: 1367px) {
  .sec-company {
    flex-direction: column;
    gap: 8rem;
    padding: 0 0 10rem;
  }
  .sec-company__left, .sec-company__right {
    width: min(85%, 151.2rem);
    margin: 0 auto;
  }
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .sec-company .top-title {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
  .sec-company .top-title__head {
    width: 90%;
    padding-top: 3.5rem;
  }
  .sec-company .top-title__text {
    width: 90%;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .sec-company__left, .sec-company__right {
    width: max(33rem, 75%);
  }
  .sec-company .top-title__head {
    width: 100%;
  }
  .sec-company .top-title__head h2 {
    text-align: center;
  }
  .sec-company .top-title__head h2 span {
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    border-top: 1px solid #000;
  }
  .sec-company .top-title__text {
    width: 100%;
  }
  .sec-company .top-title__text p {
    font-size: 1.8rem;
  }
  .sec-company .top-title__btn {
    margin-bottom: 0;
  }
}
/* Section - company 会社案内メニュー
----------------------------------------------------------------------------------------------------*/
.top-company {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; /* 左を少し大きく */
  grid-template-rows: 1fr 1fr;
  gap: 0;
}
.top-company__item {
  position: relative;
  overflow: hidden;
}
/* 画像をフィット */
.top-company__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* タイトル */
.top-company__item h3 {
  position: absolute;
  left: 0;
  bottom: 2rem;
  width: 100%;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  z-index: 2;
}
/* 黒グラデ（読みやすさ用）任意 */
.top-company__item a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent);
  z-index: 1;
}
/* ごあいさつ（左の大きい画像） */
.top-company__item:nth-child(1) {
  grid-row: 1 / 3; /* 2段分使う */
  grid-column: 1 / 2;
}
/* 沿革 */
.top-company__item:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
/* 会社概要 */
.top-company__item:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
/* アクセス */
.top-company__item:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
/* 電子公告 */
.top-company__item:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
.fullspace {
  letter-spacing: 1em;
}
/* 画像基本（ズーム準備） */
.top-company__item img {
  transform: scale(1.01); /* 白線防止 */
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, filter;
}
/* ホバーしていないものを暗く */
.top-company:hover .top-company__item:not(:hover) img {
  filter: brightness(55%);
}
/* ホバー画像 */
.top-company__item:hover img {
  transform: scale(1.14);
  filter: brightness(100%);
}
/* 文字浮き */
.top-company__item h3 {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.top-company__item:hover h3 {
  transform: translateY(-4px);
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .top-company {
    grid-template-columns: 1fr 1fr; /* 2列 */
    grid-template-rows: auto;
  }
  /* ごあいさつ */
  .top-company__item:nth-child(1) {
    grid-column: 1 / 3; /* 2列分使う */
    grid-row: auto;
    aspect-ratio: 4 / 4; /* ←縦長にしたい場合（調整可） */
  }
  /* 以下は自動で2列配置 */
  .top-company__item:nth-child(2), .top-company__item:nth-child(3), .top-company__item:nth-child(4), .top-company__item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1; /* 正方形 */
  }
}
/* Section - Recruit
----------------------------------------------------------------------------------------------------*/
.sec-recruit {
  margin-bottom: 22rem;
}
/* 背景レイヤー */
.sec-recruit__bg {
  padding: 4rem 0 0;
  background-image: url("../img/top-recruit__pc.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sec-recruit .top-title__head h2 {
  color: #FFF;
}
.sec-recruit .top-title__head h2 span {
  border-left: 1px solid #FFF;
  color: #4dcee5;
}
.sec-recruit .top-title__text {
  padding-bottom: 3rem;
}
.sec-recruit .top-title__text p {
  color: #FFF;
}
.top-recruit {
  display: flex;
  flex-wrap: wrap;
}
.top-recruit__item {
  position: relative;
  width: calc(100% / 3);
  padding-bottom: calc(360 / 1920 * 100%);
  overflow: hidden;
  background: #000; /* 隙間が出ても目立たない */
}
/* リンク全体 */
.top-recruit__item a {
  position: absolute;
  inset: 0;
  display: block;
}
/* 画像基本設定 */
.top-recruit__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* GPU最適化 */
  transform: scale(1.01);
  will-change: transform, filter;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* ホバーしてないものを暗く */
.top-recruit:hover .top-recruit__item:not(:hover) img {
  filter: brightness(55%);
}
/* ホバー画像 */
.top-recruit__item:hover img {
  transform: scale(1.14);
  filter: brightness(100%);
}
.top-recruit__item h3 {
  position: absolute;
  top: 43%;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.8rem;
  width: 25.1rem;
  background: rgba(0, 54, 131, 0.7);
  color: #FFF;
  font-size: 2rem;
  font-weight: 700;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.top-recruit__item:hover h3 {
  transform: translateY(-4px);
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .sec-recruit {
    margin-bottom: 11rem;
  }
  .top-recruit__item h3 {
    top: 35%;
    height: 4rem;
    width: 20rem;
    font-size: 1.6rem;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .sec-recruit__bg {
    padding: 3.5rem 0 0;
    background-image: url("../img/top-recruit__sp.jpg");
  }
  .sec-recruit .top-title__head h2 span {
    border-left: none;
    border-top: 1px solid #FFF;
    color: #4dcee5;
  }
  .sec-recruit .top-title__text {
    padding-bottom: 2.5rem;
  }
  .top-recruit__item {
    width: calc(100% / 2);
    padding-bottom: 11rem;
  }
  .top-recruit__item a {
    top: 0;
    left: 0;
    text-decoration: none;
  }
  .top-recruit__item h3 {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    height: 3.2rem;
    width: 100%;
    font-size: 1.2rem;
  }
}
/* Section - News
----------------------------------------------------------------------------------------------------*/
.sec-news {
  margin-bottom: 23rem;
}
.sec-news .top-title {
  position: inherit;
  width: min(90%, 151.2rem);
  margin: 0 auto;
}
.sec-news .top-title:before, .sec-news .top-title:after {
  position: inherit;
  height: inherit;
  width: inherit;
}
.sec-news .top-title:before {
  border-left: none;
  border-top: none;
  top: 0;
  left: 0;
}
.sec-news .top-title:after {
  border-right: none;
  border-top: none;
  top: 0;
  right: 0;
}
.sec-news .top-title__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding-top: 0;
  padding-bottom: 3.5rem;
  margin: 0 auto;
}
.sec-news .top-title__head h2 {
  color: #000;
  font-size: clamp(3.2rem, 4vw, 5rem);
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.sec-news .top-title__head h2 span {
  padding-left: 2.5rem;
  margin-left: 2.5rem;
  margin-bottom: 3rem;
  border-left: 1px solid #000;
  color: #0074ba;
  font-size: clamp(4rem, 4vw, 6.2rem);
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.sec-news .top-title__head a {
  margin-left: 7rem;
}
.top-news {
  width: min(90%, 151.2rem);
  margin: 0 auto;
}
.top-news__body {
  padding: 3rem 0;
}
.top-news__body a {
  display: flex;
  flex-wrap: wrap;
  gap: 8rem;
  padding: 1rem 3rem;
  margin-bottom: 3rem;
  border-radius: 10rem;
  text-align: left;
  text-decoration: none;
  transition: 1s;
}
.top-news__body a:last-child {
  margin-bottom: 0;
}
.top-news__body a:hover {
  background-color: #e5f4ff;
}
.top-news__body a span:first-child {
  width: 7.6rem;
  font-size: clamp(1.2rem, 3vw, 2.0rem);
  font-weight: 700;
  position: relative;
  padding-left: 3rem; /* 矢印分の余白 */
}
/* 矢印（非表示） */
.top-news__body a span:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-1rem);
  width: 2rem;
  height: 2rem;
  background: url("../img/icon-newslist.svg") no-repeat center / contain;
  opacity: 0;
  transition: 0.3s;
}
/* hover時表示 */
.top-news__body a:hover span:first-child::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.top-news__body a span:last-child {
  font-size: clamp(1.4rem, 3vw, 2.0rem);
  font-weight: 500;
}
.wave-line {
  height: 1.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6 Q 15 0 30 6 T 60 6 T 90 6 T 120 6' fill='none' stroke='%230074ba' stroke-width='2'/%3E%3C/svg%3E") repeat-x;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .sec-news {
    margin-bottom: 11rem;
  }
  .sec-news .top-title__head a {
    margin-left: 3rem;
  }
  .top-news__body a {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  .top-news__body a span:first-child {
    width: 7.6rem;
    font-size: clamp(1.2rem, 3vw, 2.4rem);
    font-weight: 700;
    position: relative;
    padding-left: 0; /* 矢印分の余白 */
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .sec-news .top-title {
    width: max(33rem, 75%);
  }
  .sec-news .top-title__head h2 {
    text-align: center;
  }
  .sec-news .top-title__head h2 span {
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    border-top: 1px solid #000;
  }
  .sec-news .top-title__head a {
    margin-left: 0;
  }
  .top-news {
    width: max(33rem, 75%);
  }
  .top-news__body {
    padding: 1.5rem 0;
  }
  .top-news__body a {
    margin-bottom: 1rem;
  }
  .top-news__body a:last-child {
    margin-bottom: 0;
  }
  .top-news__body a span:first-child {
    width: 100%;
    padding-left: 0; /* 矢印分の余白 */
  }
  /* hover時非表示 */
  .top-news__body a:hover span:first-child::before {
    opacity: 0;
    transform: none;
  }
}
/* 関係会社 */
.affilietedBox {
  text-align: center;
  width: min(90%, 151.2rem);
  margin: 0 auto 15rem;
}
.p-outline__sub-title {
  font-size: 4.2rem;
  color: #164186;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 7rem;
  position: relative;
}
.p-outline__sub-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 100%;
  height: 1.2rem;
  background-color: #164186;
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .p-outline .contents {
    padding-bottom: 13.7rem;
  }
  .p-outline__sub-title {
    font-size: 2.8rem;
    margin-bottom: 6rem;
  }
}
.p-outline__affiliates-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.p-outline__affiliates-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #c8c8c8;
  padding: 2rem;
  color: #000;
  font-weight: 500;
  transition: opacity 0.3s, background-color 0.3s;
  width: calc(33% - 2rem);
  height: 15rem;
}
.p-outline__affiliates-item:hover {
  opacity: 0.7;
  background-color: #f9f9f9;
}
/* 画像と文字のセット */
.p-outline__affiliates-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.p-outline__affiliates-logo {
  height: auto;
  width: 13.6rem;
}
.p-outline__affiliates-name {
  font-size: 2.0rem;
  font-weight: 500;
  text-align: center;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .p-outline__affiliates-list {
    gap: 2rem;
  }
  .p-outline__affiliates-item {
    width: calc(50% - 1rem);
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .p-outline__affiliates-item {
    width: 100%;
    padding: 1.5rem 2rem;
  }
}