@charset "utf-8";

#loader-bg > div {
  align-items: center;
}

#loader-bg .logomark {
  margin-top: -21px;
  margin-right: 7px;
}

/*==================================================

---openingAnimation

====================================================*/

#loader-bg {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 99999;
  animation: roading 2s 3s forwards;
  opacity: 1;
  top: 0;
  bottom: 0;
  background: #f2f2f2;
  flex-direction: column;
}

.loBInner {
  margin-top: 4%;
}

#loader-bg > div {
  text-align: center;
}

@keyframes roading {
  0% {
    opacity: 1;
    background: #f2f2f2;
    z-index: 999;
  }

  100% {
    opacity: 0;
    z-index: -2;
  }
}

#loader-bg img {
  width: 240px;
  opacity: 0;
  animation: soimg 1.6s 0.2s forwards;
  transition: 0.6s cubic-bezier(0.36, 0.14, 0, 1) 0s;
}

#loader-bg > div,
#loader-bg p {
  animation: loimgNoe 0.5s 2.2s forwards;
  transition: 0.5s linear, -webkit-transform 1s cubic-bezier(0.36, 0.14, 0, 1);
  transition: transform 1s cubic-bezier(0.36, 0.14, 0, 1), 2.2s linear;
  transition: transform 1s cubic-bezier(0.36, 0.14, 0, 1), 2.2s linear,
    -webkit-transform 1s cubic-bezier(0.36, 0.14, 0, 1);
}

#loader-bg.scrollin img {
  opacity: 1;
  transform: translateY(0);
}

#loader-bg img {
  opacity: 0;
  transform: translateY(1.5em);
  transition: transform 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6),
    opacity 1.4s ease;
}

#loader-bg .title {
  font-size: 15px;
  margin-bottom: 20px;
}

#loader-bg .entitle {
  font-size: 60px;
}

#loader-bg .textBox {
  opacity: 0;
  transform: translate(0, 0.3em);
  margin-top: 16px;
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1) 0.4s;
}

#loader-bg.scrollin .textBox {
  opacity: 1;
  transform: translateY(0);
}

/*


@keyframes soimg {
    0% {
        opacity: 0;
        filter: blur(20px);
    }


    100% {
        opacity: 1;
        filter: blur(0);
    }
}
*/

@keyframes loimgNoe {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

*/
/*==================================================

---全体ふわっと

====================================================*/

@keyframes opacity {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*==================================================

---TOPスライドZOOM

====================================================*/
@keyframes zoomUp {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

.hero .swiper-slide-active img,
.hero .swiper-slide-duplicate-active img,
.hero .swiper-slide-prev img {
     animation: zoomUp 10s  linear 0s 1 normal both; /* 10秒で拡大 */
  will-change: transform; /* GPU最適化 */
}

.slide-img img {
  display: block;
}

/*==================================================

---scrollバーアニメーション

====================================================*/
.scrollBox::after {
  animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/*==================================================

---スクロール右やら左やら

====================================================*/
.hero .heroOpTextBox h1 {
  overflow: hidden;
  line-height: 43px;
}

.hero .heroOpTextBox h1 span {
  display: inline-block;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1) 0.3s;
}

.hero.scrollin .heroOpTextBox h1 span {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.heroOpTextBox .enTitle {
  overflow: hidden;
  line-height: 30px;
}

.hero .heroOpTextBox p span {
  display: inline-block;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1) 0.1s;
  opacity: 0;
}

.hero.scrollin .heroOpTextBox p span {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1;
  line-height: 100%;
}

.hero .heroOpTextBox .des {
  opacity: 0;
  -webkit-transform: translate(0, 20px);
  transform: translate(0, 20px);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1) 5.5s;
}

.hero.scrollin .heroOpTextBox .des {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

#treatmentPolicy .enTitle {
  overflow: hidden;
}

#treatmentPolicy .enTitle span {
  display: inline-block;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1);
}

#treatmentPolicy.scrollin .enTitle span {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.notGIveFlexBox .en {
  overflow: hidden;
  line-height: 55px;
}

.notGIveFlexBox .en span {
  display: inline-block;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1);
}

.notGIveFlexBox.scrollin .en span {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.notGIveFlexBox h3 {
  overflow: hidden;
}

.notGIveFlexBox h3 span {
  display: inline-block;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1) 0.4s;
}

.notGIveFlexBox.scrollin h3 span {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.technologyBox .en {
  overflow: hidden;
  line-height: 38px;
}

.technologyBox .en span {
  display: inline-block;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1);
}

.technologyBox.scrollin .en span {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.technologyBox h3 {
  overflow: hidden;
}

.technologyBox h3 span {
  display: inline-block;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  transition: 1s cubic-bezier(0.36, 0.14, 0, 1) 0.4s;
}

.technologyBox.scrollin h3 span {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

@keyframes fadeleft {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes faderight {
  0% {
    transform: translateX(30px);
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.testBox.scrollin > div:nth-child(1n) {
  animation: fadeleft 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.testBox.scrollin > div:nth-child(2n) {
  animation: faderight 1s cubic-bezier(0.33, 1, 0.68, 1) 0.6s forwards;
}

.testBox.scrollin > div:nth-child(3n) {
  animation: fadeleft 1s cubic-bezier(0.33, 1, 0.68, 1) 1.2s forwards;
}

/*================================================================

        hamburgerメニュー

==================================================================*/
.humFlow,
.humFlow span {
  display: block;
  transition: all 0.3s;
  box-sizing: border-box;
}

.humFlow span:nth-of-type(1) {
  -webkit-animation: humFlow 4s cubic-bezier(0.075, 0.82, 0.165, 1) infinite
    forwards;
  animation: humFlow 4s infinite forwards;
}

.humFlow span:nth-of-type(2) {
  -webkit-animation: humFlow 4s cubic-bezier(0.075, 0.82, 0.165, 1) infinite
    forwards 0.1s;
  animation: humFlow 4s infinite forwards 0.1s;
}

.humFlow span:nth-of-type(3) {
  -webkit-animation: humFlow 4s cubic-bezier(0.075, 0.82, 0.165, 1) infinite
    forwards 0.2s;
  animation: humFlow 4s infinite forwards 0.2s;
}

@-webkit-keyframes humFlow {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }

  10% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }

  85% {
    -webkit-transform-origin: top right;
    transform-origin: top right;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }

  95% {
    -webkit-transform-origin: top right;
    transform-origin: top right;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }

  100% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
}

body.open .gnav__menu__item a {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  transition: 0.6s;
  transition-timing-function: cubic-bezier(0.36, 0.14, 0, 1);
  transition-delay: 0.35s;
}

.gnav__menu__item a {
  /*
    -webkit-transform: translate(0, 90%);
    transform: translate(0, 90%);
*/
  color: #fff;
}

.gnav__menu__item {
  overflow-y: hidden;
}

body.open .humFlow span:nth-of-type(1) {
  animation: none;
}

body.open .humFlow span:nth-of-type(3) {
  animation: none;
}

body.open .humFlow span:nth-of-type(2) {
  animation: none;
}

.menu {
  height: 20px;
  position: absolute;
  right: 25px;
  top: 34px;
  cursor: pointer;
  width: 35px;
  z-index: 99;
}

.menu__line {
  background: #fff;
  display: block;
  height: 3px;
  position: absolute;
  transition: transform 0.3s;
  width: 100%;
}

.menu__line--center {
  top: 8px;
}

.menu__line--bottom {
  bottom: 2px;
}

body.open .menu__line--top {
  top: -2px !important;
  animation: r45 0.3s forwards !important;
}

body.open .menu__line--center {
  transform: scaleX(0);
}

body.open .menu__line--bottom {
  bottom: 10px !important;
  animation: r135 0.3s forwards !important;
}

@keyframes r135 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-30deg);
  }
}

@keyframes r45 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(30deg);
  }
}

.gnav {
  background: #fff;
  background-size: cover;
  display: none;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 9;
}

.gnav__wrap {
  align-items: center;
  display: flex;
  height: 100%;
  position: absolute;
  width: 100%;
}

.fmbCopyW {
  position: absolute;
  text-align: center;
  font-size: 8px;
  bottom: 21px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-weight: 600;
}

.gnav__wrapIn {
  width: 100%;
  margin-left: auto;
  height: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
}

.gnav__menu__item a {
  font-weight: normal;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: block;
  padding: 18px 0;
  padding-bottom: 3px;
  transition: 0.5s;
}

.gnav__menu__item .gnav_ja {
  display: block;
  font-size: 13px;
  font-weight: 100;
}

.gnav__menu {
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0 125px;
}

.gnav__menu li {
  width: auto;
}

.menu_box {
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 99;
  width: 80px;
}

.gnav__menu li {
  position: relative;
}
