body {
  color: #fff;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/toppage/top_bg@3x.jpg") center / cover no-repeat;
  z-index: -1;
}

/* =========================
   Common
========================= */
a.btn_more {
  width: 100%;
  max-width: 300px;
  display: inline-block;
  position: relative;
  padding: 6px 16px;
  color: #000;
  background-color: #fff;
  margin: 0 auto 8px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing:0.05em;
  text-align: left;
  border-radius: 30px;
}
a.btn_more::after {
  content: '';
  position: absolute;
  width: 21px;
  height: 7px;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background-image:url("../images/arrow_next.svg");
  background-size:contain;
  background-repeat: no-repeat;
}
.ttl_sub{
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 24px;
}

.sp_center{
  text-align: left;
}
@media screen and (max-width: 768px) {
  .ttl_sub{
    font-size: 28px;
    margin-bottom: 16px;
  }
  a.btn_more {
    font-size: 16px;
  }
  .sp_center{
    text-align: center;
  }
}



/* =========================
   FV
========================= */
.fv{
  text-align: center;
  padding-top: 160px;
  padding-bottom: 120px;
}

.fv img{
  width: 100%;
  max-width: 759px;
}
@media screen and (max-width: 768px) {
  .fv{
    padding-top: 208px;
  }
  .fv img{
    max-width: 311px;
  }
}

/* =========================
   Share No.1
========================= */
.area_share{
  position: relative;
  padding-top: 136px;
  padding-bottom: 160px;
  text-align: center;
}
.ttl_share{
  text-align: center;
  margin-bottom: 40px;
}
.lyric_share{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 2.5;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .area_share{
    padding-top: 320px;
    padding-bottom: 280px;
  }
  .ttl_share{
    text-align: center;
  }
  .ttl_share img{
    margin: 0 auto;
  }
  .lyric_share{
    font-size: 16px;
    text-align: left;
    margin-bottom: 32px;
  }
}

/* =========================
   Product & Technology
========================= */
.area_producttech{
  padding-bottom: 56px; 
}
.lyric_producttech{
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  line-height: 2.0;
}
.area_button{
  text-align: right;
  padding-bottom: 80px;
}
@media screen and (max-width: 768px) {
  .area_producttech{
    padding-bottom: 40px; 
  }
  .lyric_producttech{
    line-height: 1.75;
  }
  .area_button{
    text-align: center;
  }
}



/* =========================
   テロップ
========================= */
.telop{
  overflow: hidden;
  width: 100%;
  margin-bottom: 160px;
}
.telop__inner{
  display: flex;
  width: max-content;
  animation: telop-scroll 20s linear infinite;
}
.telop__inner img{
  height: 100px; /* 任意 */
  width: auto;
}
/* アニメーション */
@keyframes telop-scroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 768px) {
  .telop{
    margin-bottom: 120px;
  }
  .telop__inner img{
    height: 70px; /* 任意 */
    width: auto;
  }
}
/* =========================
   Our　Business
========================= */
.area_ourbusiness{
  padding-bottom: 82px;
}
.flex_ourbusiness{
  display: flex;
  gap: 56px;
}
.flex_ourbusiness >div{
  flex: 1;
}
.lyric_ourbusiness{
  line-height: 2.0;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .flex_ourbusiness{
    flex-direction: column;
    gap: 40px;
  }
  .flex_ourbusiness >div{
    /*width: 100%;*/
    flex: 1;
    /*flex:1だと、縦方向の均等割りになってしまうため*/
  }
.lyric_ourbusiness{
    line-height: 1.75;
  }
}

/* =========================
   Information
========================= */
.area_information{
  padding-bottom: 80px;
}

.slide-info-child{
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 40px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Safari対策 */
  background-color: rgba(0,0,0,0.3); /* 半透明必須 */  
  
  
}
.slide-info-child .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.slide-info-child .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flex_date_category{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 17px auto 12px;
  justify-content: space-between;
  align-items: center;
}
.flex_date_category .info_date{
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: bold;
  line-height: 1.75;
  font-size: 14px;
  letter-spacing:0.05em;
}
.flex_date_category .info_category{
  display: inline-block;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  background-color: #fff;
  padding: 1px 11px;
  font-weight: 600;
  color: #000;
}
.slide-info-child .info_title{
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 2.0;
  margin-bottom: 37px;
}

@media screen and (max-width: 768px) {
  .area_information{
    padding-bottom: 0;
  }
  .flex_date_category{
    flex-direction: column;
    align-items: flex-start;
  }
  .flex_date_category .info_category{
    font-size: 12px;
  }
}

h5.ttl_info{
  margin-bottom: 38px;
}

.btn_more_info{
  display: block;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #fff;
  padding-right: 38px;
  position: relative;
  text-align: right;
}
.btn_more_info::before{
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-image:url("../images/arrow_circle.svg");
  background-size: contain;
  background-repeat: no-repeat;
}


/* =========================
   About
========================= */
.area_about{
  padding-bottom: 160px;
}

.flex_about {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  padding: 0 20px;
  box-sizing: border-box;
}

.flex_about .left {
  width: calc(50% - 40px); /* 右との間80pxの半分を引く */
  flex-shrink: 0;
}

.flex_about .right {
  width: calc(50vw - 40px); /* 画面中央から右端まで - 40px */
  margin-left: 80px;        /* 左右の間80px */
  flex-shrink: 0;           /* ← これが重要。縮ませない */
}

.flex_about .right img {
  display: block;
  width: 100%;
  height: auto;
}
.lyric_about{
  letter-spacing: 0.05em;
  line-height: 2.0;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .area_about{
    padding-bottom: 80px;
  }
  .flex_about {
    display: block;
    padding: 0 32px;
    box-sizing: border-box;
  }
  .flex_about .left {
    width: 100%;
    margin-bottom: 32px;
  }
  .flex_about .right {
    width: calc(100% + 40px); /* 右へ20pxぶん広げる */
    margin-left: 0;
    margin-right: -20px;      /* 右paddingを打ち消す */
  }
  .flex_about .right img {
    display: block;
    width: 100%;
    height: auto;
  }
  .lyric_about{
    line-height: 1.75;
    margin-bottom: 40px;
  }
}


/* =========================
   Youtube
========================= */
.area_youtube{
  position: relative;
  padding-bottom: 160px;
}
.wrap_youtube{
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  padding: 80px 0 70px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.5) 0,
    rgba(0,0,0,0.5) 50%,
    transparent 50%,
    transparent 100%
  );
}
.flex_youtube{
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.flex_youtube .left,.flex_youtube .right{
  flex: 1;
}
.flex_youtube .left{
  padding: 0 20px;
}

.lyric_youtube{
  letter-spacing: 0.05em;
  line-height: 2.0;
  margin-bottom: 40px;
}

a.btn_youtube {
  width: 100%;
  max-width: 300px;
  display: inline-block;
  position: relative;
  padding: 6px 16px 6px 66px;
  color: #000;
  background-color: #fff;
  margin: 0 auto;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing:0.05em;
  text-align: left;
  border-radius: 30px;
}
a.btn_youtube::before {
  content: '';
  position: absolute;
  width: 43px;
  height: 30px;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  background-image:url("../images/icon_youtube-red.svg");
  background-size:contain;
  background-repeat: no-repeat;
}
a.btn_youtube::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 12px;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background-image:url("../images/icon_link.svg");
  background-size:contain;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .wrap_youtube{
    position: relative;
    background: rgba(0,0,0,0);
    top: 0;
    padding: 0;
  }
  .area_youtube{
    padding-bottom: 80px;
  }
  .flex_youtube{
    flex-direction: column;
  }
  .flex_youtube .left{
    padding: 0 32px;
  }
  .lyric_youtube{
    line-height: 1.75;
  }
  a.btn_youtube {
    margin: 0 auto 40px;
  }
}



/* =========================
   CTA
========================= */
.area_cta{
  padding-bottom: 160px;
}
.flex_cta{
  display: flex;
  gap:40px;
}
.flex_cta > div{
  flex: 1;
}
.inner-cta{
  padding: 0 20px;
}
.area_recruit{
  position: relative;
  background-image: url("../images/toppage/bg_recruit@2x.jpg");
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 1fr 50% 30%;
  padding: 40px 0 60px;
  aspect-ratio: 14 / 10;
}

.lyric_recruit{
  letter-spacing: 0.05em;
  line-height: 2.0;
  margin-bottom: 58px;
}

a.btn_recruit {
  width: 100%;
  max-width: 300px;
  display: inline-block;
  position: relative;
  padding: 6px 16px;
  color: #000;
  background-color: #fff;
  margin: 0 auto 8px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing:0.05em;
  text-align: left;
  border-radius: 30px;
}
a.btn_recruit::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 12px;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background-image:url("../images/icon_link_top.svg");
  background-size:cover;
  background-repeat: no-repeat;
}

.area_contact{
  background-image: url("../images/toppage/bg_contact@2x.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 72% 1fr;
  padding: 40px 0 60px;
  aspect-ratio: 14 / 10;
}
.area_contact_contents{

}
.lyric_contact{
  letter-spacing: 0.05em;
  line-height: 2.0;
  margin-bottom: 24px;
}
.tel_white{
  text-align: center;
}
.business_hour{
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 2.5;
  margin-bottom: 34px;
}
a.btn_contact-top {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 12px 16px 12px 45px;
  color: #fff;
  background-color: #ff4500;
  margin: 0 auto 8px;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing:0.05em;
  border-radius: 30px;
  text-align: center;
}
a.btn_contact-top::before {
  content: '';
  position: absolute;
  width: 36px;
  height: 28px;
  top: 50%;
  left: 54px;
  transform: translateY(-50%);
  background-image:url("../images/icon_mail.svg");
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 1000px) {
  a.btn_contact-top {
    font-size: 16px;
    padding: 18px 34px 18px 66px;
  }
  a.btn_contact-top::before {
    left: 24px;
  }
  .business_hour{
    font-size: 12px;
  }
  .width-cta-sp{
    padding: 0 20px;
  }
}

@media (max-width: 1400px) {
  .area_recruit{
    grid-template-columns: 0 60% 40%;
  }  
}
@media (max-width: 1200px) {
  .area_recruit{
    grid-template-columns: 0 40% 60%;
    padding: 40px 0 60px;
    aspect-ratio: 14 / 10;
  }
  .titleBox__en{
    display: none;
  }
}

@media (max-width: 1000px) {
  .area_cta{
    padding-bottom: 40px;
  }
  .flex_cta{
    flex-direction: column;
    gap:0;
  }
  .flex_cta > div{
    width: 100%;
  }
  .inner-cta{
    padding: 0 32px;
  }
  .area_recruit,.area_contact{
    display: flex;
    background-image:none;
    width: 100%;
  }
  img.cta{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    
  }
  .area_recruit{
    grid-template-columns: 0 100% 0;
    padding: 0 0 80px;
  }
  .area_contact{
    grid-template-columns: 100% 0;
    padding: 0;
  }
  a.btn_contact-top {
    font-size: 16px;
  }
  .img_mb32{
    margin-bottom: 32px;
  }
  .lyric_recruit,.lyric_contact{
    letter-spacing: 0.05em;
    line-height: 1.75;
    margin-bottom: 40px;
  }
}

/* fv
***************************************************************/
.fv__position {
  position: relative;
  aspect-ratio: 1600 / 1778;
}
.fv__bg {
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 100vw;
  z-index: -1;
}
.fv__bg img {
  max-width: 100%;
  width: 100vw;
}
.fv__bg-filter {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
}
.fv__img {
  position: absolute;
}
.fv__img img {
  width: 100%;
}
.fv__img01 {
  top: 5%;
  left: 16%;
  width: 27.78vw;
  max-width: 400px;
  opacity: 0;
  transform: scale(1.2);
  z-index: -1;
}
.fv__img02 {
  top: 9%;
  right: -5%;
  width: 34.72vw;
  max-width: 500px;
  opacity: 0;
  transform: scale(1.2);
  z-index: -1;
}
.fv__img03 {
  top: 46%;
  left: 6%;
  width: 24.3vw;
  max-width: 375px;
  opacity: 0;
  transform: scale(1.2);
  z-index: -1;
}
.fv__img04 {
  top: 80%;
  right: 24.8%;
  width: 17.36vw;
  max-width: 250px;
  opacity: 0;
  transform: scale(1.2);
  z-index: -1;
}
.start .fv__img01 {
  opacity: 1;
  transform: scale(1);
  transition: 1.0s ease-in-out 0.1s;
}
.start .fv__img02 {
  opacity: 1;
  transform: scale(1);
  transition: 1.0s ease-in-out 0.3s;
}
.start .fv__img03 {
  opacity: 1;
  transform: scale(1);
  transition: 1.0s ease-in-out 0.5s;
}
.start .fv__img04 {
  opacity: 1;
  transform: scale(1);
  transition: 1.0s ease-in-out 0.7s;
}

@media screen and (max-width: 768px) {
  /* .fv{
    aspect-ratio: 375 / 2600;
    overflow-y: hidden;
  } */
  .fv__position {
    aspect-ratio: 375 / 1400;
  }
  .fv__bg {
    left: -10px;
  }
  .fv__bg img {
    width: 100%;
  }
  .fv__bg-filter {
    display: none;
  }
  .fv__img01 {
    width: 53.3vw;
    max-width: 200px;
    top:0;
    right: 7%;
  }
  .fv__img02 {
    top: 12%;
    right: 0;
    width: 52.5vw;
    max-width: 197px;
  }
  .fv__img03 {
    top: 19%;
    left:0;
    width: 36.8vw;
    max-width: 138px;
  }
  .fv__img04 {
    top: 74%;
    right: 10%;
    width: 53.3vw;
    max-width: 200px;
  }
}

/* =========================
   オープニング
========================= */
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  overflow: hidden;
}

.opening video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.opening__white {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.opening.is-whiteout .opening__white {
  opacity: 1;
}

.opening.is-hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

/* =========================
   本体側のフェード
========================= */
/* opening以外を最初は少し消しておく */
body.is-loading > *:not(#opening) {
  opacity: 0;
  transform: translateY(8px);
}

/* 読み込み後にふわっと出す */
body.is-loaded > *:not(#opening) {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}