@charset "utf-8";

/* ========================================
  Base
======================================== */

html {
  font-size: 62.5%;
}

body {
  font-family:
    'YuGothic',
    'Yu Gothic',
    '游ゴシック',
    'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic Pro',
    'メイリオ',
    'Meiryo',
    sans-serif;
  font-weight: bold;
  color: #606060;
}

main{
  overflow: hidden;
}

section {
  background: #fff;
}

img {
  max-width: 100%;
}


/* ========================================
  Background
======================================== */
section > * {
  position: relative;
  z-index: 2;
}

.side-bg {
  position: relative;
  overflow: hidden;
}

.side-bg::before,
.side-bg::after {
  position: absolute;
  bottom: 0;
  width: clamp(60.00px, calc(30.53vw + -54.50px), 180.00px);
  background-repeat: repeat-y;
  background-size: contain;
  content: "";
  z-index: 1;
}

.side-bg::before {
  top: 50px;
  left: 0;
  background-image: url(../img/bg_left.png);
  background-position: top left;
}

.side-bg::after {
  top: 50px;
  right: 0;
  background-image: url(../img/bg_right.png);
  background-position: top right;
}


/* ========================================
  Common
======================================== */

.section-title {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
  padding: 5px 0;

  font-size: clamp(2.30rem, calc(4.33vw + 0.68rem), 4.00rem);
  text-align: center;

  border-top: 1px solid #606060;
  border-bottom: 1px solid #606060;
}

.section-title::before {
  position: absolute;
  top: -5px;
  left: 0;

  width: 100%;
  height: calc(100% + 10px);

  content: "";

  border-top: 1px solid #606060;
  border-bottom: 1px solid #606060;
}


/* ========================================
  MV Area
======================================== */

#mv-area {
  position: relative;
  height: 800px;
}

#mv-area .container{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
}

#mv-area .logo {
  margin: 0 auto 30px;
}

#mv-area .site-title {
  font-size: clamp(2.70rem, calc(4.58vw + 0.98rem), 4.50rem);
  font-weight: bold;
  text-align: center;
}


/* ========================================
  Message Area
======================================== */

#message-area {
  position: relative;
  z-index: 2;

  padding: 200px clamp(2.60rem, calc(13.74vw + -2.55rem), 8.00rem) 300px;

  background-image: url(../img/message-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#message-area::before {
  content: none;
}

#message-area::after{
  content: "";
  display: block;
  background-image: url(../img/vision-head.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: -1px;
  left: 0;
}

#message-area .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px clamp(3.80rem, calc(5.60vw + 1.70rem), 6.00rem) 50px;

  background: #fff;
  border-radius: 23px;
}

#message-area .logo-img-gif {
  text-align: center;
}


#message-area .text {
  font-size: clamp(1.30rem, calc(0.76vw + 1.01rem), 1.60rem);
  line-height: 2.4;
}


/* ========================================
  Vision Area
======================================== */

#vision-area {
  position: relative;
  padding: 80px 0 270px;
}

#vision-area .container {
  max-width: 1280px;
  margin: 0 auto;
}

#vision-area .vision {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;

  margin-bottom: 20px;

  line-height: 1.7;
}

#vision-area .vision img {
  grid-column: 1 / 8;
  grid-row: 1;
  width: 100%;
}

#vision-area .vision p {
  grid-column: 7 / 13;
  grid-row: 1;

  margin: 0;
  z-index: 1;
}

#vision-area .vision:first-child {
  font-size: clamp(2.00rem, calc(1.55vw + 1.42rem), 3.40rem);
}

#vision-area .vision:nth-child(2) {
  font-size: clamp(1.50rem, calc(1.10vw + 1.09rem), 2.50rem);
}

#vision-area .vision:nth-child(3) {
  font-size: clamp(2.00rem, calc(2.10vw + 1.21rem), 3.90rem);
}

#vision-area .vision:first-child img,
#vision-area .vision:nth-child(3) img {
  grid-column: 7 / 13;
}

#vision-area .vision:first-child p,
#vision-area .vision:nth-child(3) p {
  grid-column: 1 / 8;
  justify-self: end;
}


/* ========================================
  Future Area
======================================== */

#future-area {
  position: relative;
  z-index: 2;

  display: flex;
  height: 59.375vw;
  align-items: center;

  background-image: url(../img/future-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#future-area p {
  margin: 0 auto;

  font-size: clamp(2.30rem, calc(2.80vw + 1.25rem), 3.40rem);
  line-height: 1.5;
}


/* ========================================
  Movie Area
======================================== */

#movie-area {
  padding: 130px 0;
}

#movie-area .section-title{
  margin-bottom: 30px;
}

#movie-area .youtube {
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}


/* ========================================
  New Employee Area
======================================== */

#new-employee-area {
  padding: clamp(45.00px, calc(9.39vw + 9.78px), 130.00px) 0;
}

#new-employee-area .section-title{
  margin-bottom: 30px;
}

#new-employee-area .section-title span{
  font-size: 0.75em;
}

#new-employee-area .group-photo-img {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

#new-employee-area img {
  width: 100%;
}


/* ========================================
  Slogan Area
======================================== */

#slogan-area {
  text-align: center;
  padding: clamp(45.00px, calc(9.39vw + 9.78px), 130.00px) 0;
}

#slogan-area p {
  font-size: clamp(1.50rem, calc(1.66vw + 0.88rem), 3.00rem);
  margin-bottom: 50px;
}

#slogan-area h3 {
  position: relative;
  display: inline-block;

  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2.50rem, calc(4.64vw + 0.76rem), 6.70rem);
  font-style: normal;
  font-weight: 900;
  text-align: center;
  color: #2c4197;
}

#slogan-area h3::after{
  content: "";
  position: absolute;

  left: 2.5%;
  bottom: -20%;

  width: 95%;
  height: clamp(1.50rem, calc(2.76vw + 0.46rem), 4.00rem);

  transform: skewX(-30deg);
  background: #FFE700;

  z-index: -1;
}



/* ========================================
  CTA Area
======================================== */

#cta-area {
  padding: clamp(45.00px, calc(9.39vw + 9.78px), 130.00px) 0 clamp(80.00px, calc(24.31vw + -11.16px), 300.00px);
}

#cta-area .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 68px;
  padding: 0 1.6rem;
}


/* ========================================
  Button
======================================== */

.btn{
  position: relative;
}

.btn::after{
  content: "";
  position: absolute;

  top: -75%;
  right: -20%;

  display: block;
  width: 100px;
  height: 100px;

  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  z-index: -1;
}

.btn:first-child::after{
  background-image: url(../img/rocket.png);
}

.btn:last-child::after{
  background-image: url(../img/heart.png);
}


.btn a {
  position: relative;
  display: block;

  width: clamp(176.00px, calc(38.17vw + 32.87px), 326.00px);
  padding: 0.8em 0 0.7em;

  font-size: clamp(1.40rem, calc(3.05vw + 0.25rem), 2.60rem);
  color: #fff;
  text-align: center;
  text-decoration: none;

  border: 2px solid #3071b9;
  background-color: #3071b9;
  border-radius: 40px;
}
.btn a:hover{
  color: #3071b9;
  background-color: #fff;
  border: 2px solid #3071b9;
}

.btn a::after {
  position: absolute;
  top: 0;
  right: 15%;
  bottom: 0;

  width: clamp(10.00px, calc(2.54vw + 0.46px), 20.00px);;
  height: clamp(10.00px, calc(2.54vw + 0.46px), 20.00px);;
  margin: auto;

  content: "";

  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  box-sizing: border-box;

  transform: translateX(0) rotate(45deg);
  transition: transform 0.3s;
}

.btn a:hover::after {
  border-top: 3px solid #3071b9;
  border-right: 3px solid #3071b9;
  transform: translateX(8px) rotate(45deg);
}


/* ========================================
  Footer
======================================== */

footer {
  padding: 12px 0 10px;

  font-size: 12px;
  font-weight: normal;
  color: #fff;
  text-align: center;

  background: #3071b9;
}


@media screen and (max-width: 768px) {
  .side-bg::before {
    left: -5%;
  }

  .side-bg::after {
    right: -5%;
  }

  #vision-area .vision{
    display: block;
    margin-bottom: 30px;
  }
  #vision-area .vision img{
    display: block;
    width: 80%;
    margin-bottom: 30px;
  }
  #vision-area .vision:first-child img, 
  #vision-area .vision:nth-child(3) img{
    margin-left: auto;
  }
  #vision-area .vision:first-child p, 
  #vision-area .vision:nth-child(3) p{
    justify-self: auto;
  }
  #vision-area .vision p{
    margin-left: 18%;
  }
  #future-area{
    padding: 80vw 0;
    background-image: url(../img/future-bg_sp.png);
  }
  #movie-area .section-title,
  #new-employee-area .section-title{
    width: 65%;
  }
}

@media screen and (max-width: 425px) {
  #mv-area{
    height: 600px;
  }
  #vision-area{
    padding-bottom: 120px;
  }
  #slogan-area p{
    margin-bottom: 20px;
  }
  #cta-area .container{
    gap: 35px;
  }
  .btn::after{
    top: -75%;
    right: -25%;
    width: 80px;
    height: 80px;
  }
}


.scrollanime {
  /*アニメーション秒数を設定*/
  transition: all ease 1s;
  opacity: 0;
}
/*classに応じて出現前の位置や大きさを設定*/
.toUp {
  transform: translateY(50px);
}
.toDown {
  transform: translateY(-50px);
}
.toLeft {
  transform: translateX(50px);
}
.toRight {
  transform: translateX(-50px);
}
.toBig {
  transform: scale(0.8);
}
/*画面に入った後は元の位置や大きさに戻る*/
.fadeIn.scrollanime {
  opacity: 1;
}
.fadeIn.toUp {
  transform: translateY(0);
}
.fadeIn.toDown {
  transform: translateY(0);
}
.fadeIn.toLeft {
  transform: translateX(0);
}
.fadeIn.toRight {
  transform: translateX(0);
}
.fadeIn.toBig {
  transform: scale(1);
}


.scroll-infinity {
  width: 100%;
  overflow: hidden;
}

.scroll-infinity_wrap {
  display: flex;
  width: max-content;
}

.scroll-infinity_list {
  display: flex;
  flex-shrink: 0;

  margin: 0;
  padding: 0;
  list-style: none;
}

.scroll-infinity_item-text {
  flex-shrink: 0;
  white-space: nowrap;

  padding-inline: 2rem;

  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  color: #D9D9D9;
}

/* ==========================================
  左流れ
========================================== */

.scroll-left {
  position: absolute;
  top: 40px;
  animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==========================================
  右流れ
========================================== */

.scroll-right {
  position: absolute;
  bottom: 40px;
  animation: scroll-right 60s linear infinite;
}

@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}


