@charset "utf-8";

/***********************************************************************
基本設定
************************************************************************/
html {
  -webkit-text-size-adjust: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  font-size: 1.4rem;
  line-height: 1.71;
  color: #000;
  font-weight: 400;
  font-family: 'Noto Sans JP', sans-serif;
}

body.active #all-wrap{
  filter: blur(8px);
}

@media only screen and (min-device-width: 1025px) {
  a,button,.c-btn3{
    opacity: 1;
    transition:opacity 0.2s ease ;
  }

  a:hover,
  button:hover{
    /*opacity: 0.5;*/
  }
}

img{
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
th,
.Bld {
  font-weight: 900;
}

.gf{
    font-family: 'Montserrat', sans-serif;
}

/**********************************
レイアウト
**********************************/
#c-all-wrap{
  height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

#c-all-wrap .c-block{
  height: 100%;
}

.logo{
  position: absolute;
  width: 11.24%;
  left:2%;
  top: 2.68%;
}

.home-block {
  position: relative;
}

.home-block .box {
    width: 70%;
    max-width: 1350px;
    margin: 0 auto;
    padding-top: 6%;
}

.home-block .box .row {
  display: flex;
  align-items: center;
  margin-bottom: 4%;
}

.home-block .box .ttl {
    width: 32.66%;
    color: #ff7129;
    line-height: 1;
    margin-bottom: 0.2em;
}

.home-block .box .msg {
  font-size: clamp(1.4rem, 0.8vw, 1.6rem);
  line-height: 1.75;
  padding-left: 5%;
}

.home-block .box nav {
  width: 100%;
  position: relative;
  z-index: 100;
}

.home-block .box nav ul{
  display: flex;
}

.home-block .box nav ul>li{
  width: 22.37%;
}

.home-block .box nav ul>li:not(:nth-child(4)){
  margin-right: 3.5%;
}

.home-block .box nav ul>li .img{
  width: 40.19%;
  position: absolute;
  left:0;
  bottom:13%;
}

.home-block .box nav ul>li .txt{
  width: 100%;
}

.home-block .box nav ul>li a {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1;
    height: 6.5vw;
    background: #323232;
    border-radius: 0.5em;
    padding-left: 40%;
    padding-right: 5%;
    background: #f8edd5;
    text-align: center;
    transition: all 0.3s ease;
}

.home-block .box nav ul>li:nth-child(2n) a{
  background: #fdd28d;
}

.home-block .box nav ul>li a strong {
    display: block;
    height: 3.2vw;
    font-size: 1.3vw;
    font-size: clamp(1.2rem ,1.5vw, 4rem);
    margin-bottom: 0em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space:nowrap;
}

.home-block .box nav ul>li a small {
  font-size: 1.1vw;
  font-size: clamp(1rem ,1.4vw, 2.3rem);
  line-height: 1;
}

.home-block .box nav ul>li a .arw {
  display: block;
  line-height: 1em;
  font-size: 1.65vw;
  padding-right: 0;
  background-size: 0.9em;
  background-repeat: no-repeat;
  background-position: 100% 62%;
  color: #ff7129;
  width: 4.2vw;
  margin: 0 auto;
}

.home-block {
  height: 48.25vw;
  width: 100vw;
}

.c-block{
  position: relative;
  height: 100vh;
  height: 100dvh;
}

.home-block .box nav ul>li a.active{
  opacity: 1;
  transform: scale(1.05,1.05);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
}

.home-block .box nav ul>li a.active .img{
  transition: all 0.25s ease 0.2s;
  transform: scale(1.2,1.2);
}


@media only screen and (min-device-width: 1025px) {

  .home-block .box nav ul>li a.active,
  .home-block .box nav ul>li a:hover{
    opacity: 1;
    transform: scale(1.05,1.05);
    box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
  }

  .home-block .box nav ul>li .img {
    width: 40.19%;
    position: absolute;
    left: 0;
    bottom: 13%;
  }

  .home-block .box nav ul>li a.active .img,
  .home-block .box nav ul>li a:hover .img{
    transition: all 0.25s ease 0.2s;
    transform: scale(1.2,1.2);
  }

}

.c-block{
  overflow: hidden;
}

.home-block .bg {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  height: 19vw;
}

.home-block .below {
  position: absolute;
  left: 0;
  bottom: 0;
  padding-top: 8.8vw;
  background-color: #ff7129;
  width: 100%;
}

.home-block .below::after{
  content:'';
  position: absolute;
  display: block;
  width: 100%;
  height: 44.77vw;
  bottom:-44vw;
  left:0;
  background: #ff7129;
}

.home-block .chara{
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  left: 0;
  bottom:10%;
  width: 100%;
  z-index: 100;
}

.home-block .chara>li{
  margin: 0 1vw;
  cursor: pointer;
}


.home-block .chara>li:nth-child(1){
  max-width: 165px;
  width: 8.54vw;
}
.home-block .chara>li:nth-child(2){
  max-width: 135px;
  width: 6.99vw;
}
.home-block .chara>li:nth-child(3){
  max-width: 133px;
  width: 6.89vw;

}
.home-block .chara>li:nth-child(4){
  max-width: 290px;
  width: 15vw;
}

.loop {
  position: relative;
  padding-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
  z-index: 1000;
}
.loop__box {
    display: flex;
    width: 200vw;
}
.loop__box img {
  width: 100vw;
  max-width: 1925px;
}

.loop__box.stop img{
  animation-play-state: paused !important;

}

.loop__box img:first-child {
    animation: loop 100s -50s linear infinite;
    animation-play-state: paused;
}
.loop__box img:last-child {
    animation: loop2 100s linear infinite;
    animation-play-state: paused;
}

.home-block.active .loop__box img:first-child {
  animation-play-state: running;
}

.home-block.active .loop__box img:last-child {
  animation-play-state: running;
}

@keyframes loop {
    0% {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}


@keyframes loop2 {
    0% {
        transform: translateX(-200%);
    }
    to {
        transform: translateX(0%);
    }
}


@media only screen and (max-width: 1350px) {

  .home-block .box {
    width: 70%;
    max-width: 1350px;
    margin: 0 auto;
    padding-top: 6%;
  }

/*   .loop__box img{
    height: 148px;
    width: auto;
  } */

/*   .home-block .chara>li:nth-child(1){
    width: 115px;
  }
  .home-block .chara>li:nth-child(2){
    width: 94px;
  }
  .home-block .chara>li:nth-child(3){
    width: 93px;
  }
  .home-block .chara>li:nth-child(4){
    width: 205px;
  }
 */
}

@media only screen and (max-width: 1024px) {

  .home-block {
    height: 103.25vw;
    width: 100vw;
  }

  .home-block .chara {
    left: 0;
    bottom: -2%;
  }

  .home-block .box {
    width: 80%;
    margin: 0 auto;
    padding-top: 18%;
  }

  .loop__box img {
    width: 200vw;
    max-width: 1925px;
  }

  .home-block .box .ttl {
    line-height: 1;
    margin-bottom: 2.2em;
    width: 62%;
  }

  .home-block .box .row {
    display: block;
    margin-bottom: 12%;
  }

  .home-block .box .msg {
    font-size: 2.6vw;
    line-height: 1.75;
    padding-left: 0;
    white-space: nowrap;
  }

  .home-block .box nav ul>li {
    width: 46%;
  }

  .home-block .box nav ul {
    flex-wrap: wrap;
    max-width: 819px;
    margin: 0 auto;
  }

  .home-block .box nav ul>li a .arw {
    width: 13.2vw;
  }

  .home-block .box nav ul>li {
      width: 46%;
      margin-bottom: 6%;
  }

  .home-block .chara>li:nth-child(1){
    width: 17.6%;
  }
  .home-block .chara>li:nth-child(2){
    width: 14.5%;
  }
  .home-block .chara>li:nth-child(3){
    width: 14.3%;
  }
  .home-block .chara>li:nth-child(4){
    width: 29.7%;
  }

  .home-block .box nav ul>li:not(:nth-child(4)){
    margin-right: auto;
  }

  .home-block .box nav ul>li:nth-child(2n){
    margin-right: 0;
  }

  .home-block .box nav ul>li .img {
      width: 39%;
      position: absolute;
      left: 0;
      bottom: 13%;
  }

  .home-block .box nav ul>li a,
  .home-block .box nav ul>li:nth-child(3) a {
    padding-left: 43%;
    padding-bottom: 1%;
  }

  .home-block .box nav ul>li a {
    text-align: left;
    height: 17vw;
  }

  .home-block .box nav ul>li a strong {
    display: block;
    line-height: 1.2em;
    font-size: 3.3vw;
    margin-bottom: 0em;
    text-align: center;
  }

  .home-block .box nav ul>li a .arw {
    display: inline-block;
    /* line-height: 1em; */
    font-size: 3.8vw;
    padding-right: 0;
    color: #ff7129;
  }

  .home-block .box nav ul>li a strong {
    display: block;
    height: 8vw;
    font-size: 1.3vw;
    font-size: 3.7vw;
    margin-bottom: 0em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: start;
  }

  .home-block .box nav ul>li a small {
    font-size: 3.2vw;
    line-height: 1;
    display: block;
  }

  .logo {
    max-width: 219px;
    width: 29.5%;
    left: 4%;
    top: 2.68%;
    z-index: 100;
  }

  .home-block {
    height: 126.25vw;
    width: 100vw;
  }

  .home-block .below {
    padding-top: 5.8vw;
  }

  .home-block .bg {
    height: 25vw;
  }

}

@media only screen and (max-width: 450px) {

  .home-block {
    height: 153.25vw;
    width: 100vw;
  }

  .home-block .box {
    width: 100%;
    margin: 0 auto;
    padding: 25% 5.3% 0;
  }

  .home-block .box .msg {
    font-size: 3.1vw;
    white-space: nowrap;
    line-height: 1.75;
    margin-bottom: 3.5em;
    padding-left: 0;
  }

  .home-block .box nav ul>li {
    margin-bottom: 10%;
  }

  .home-block .chara>li:nth-child(1){
    width: 17.6%;
  }
  .home-block .chara>li:nth-child(2){
    width: 14.5%;
  }
  .home-block .chara>li:nth-child(3){
    width: 14.3%;
  }
  .home-block .chara>li:nth-child(4){
    width: 29.7%;
  }
/*
  .loop__box img {
    height: 21vw;
    width: auto;
  }

  .home-block .below::after {
      content: '';
      position: absolute;
      display: block;
      width: 100%;
      height: 100vw;
      bottom: -91vw;
      left: 0;
      background: #ff7129;
  }
 */
/*   .home-block .bg {
    left: 0;
    bottom: 28.4vw;
    z-index: 10;
  } */
}

.init.anime1 {
  opacity: 0;
  transition-timing-function: cubic-bezier(0.600, 0.005, 0.400, 0.970);
  transform: translate(0px, 10vw) scale(1.1 ,1.1);
}

.animated .init.anime1 {
  transition-duration: 3s;
  opacity: 1;
  transform: translate(0, 0);
}


.init.anime2 {
  opacity: 0;
  transition-timing-function: cubic-bezier(.06,.91,.33,1);
  transform: translate(7%, 0);
}

.animated .init.anime2 {
  transition-duration: 3s;
  opacity: 1;
  transform: translate(0, 0);
}

.init.anime3 {
  opacity: 0;
  transition-timing-function: cubic-bezier(0.600, 0.005, 0.400, 0.970);
  transform: translate(1vw, 0);
}

.animated .init.anime3 {
  transition-duration: 0.8s;
  opacity: 1;
  transform: translate(0, 0);
}

.init.anime4 {
  opacity: 0;
  transition-timing-function: cubic-bezier(0.600, 0.005, 0.400, 0.970);
  transform: translate(0px, 5vw);
}

.animated .init.anime4 {
  transition-duration: 1s;
  opacity: 1;
  transform: translate(0, 0);
}

.init.anime5 {
  opacity: 1;
  transition-timing-function: cubic-bezier(0.600, 0.005, 0.400, 0.970);
  transform: translate(50vw, 0);
}

.animated .init.anime5 {
  transition-duration: 4s;
  opacity: 1;
  transform: translate(0, 0);
}