@charset "UTF-8";
/* CSS Document */
#contents {
  overflow-x: hidden;
}
#mainimage{
    background-color: #292929;
    color: #fff;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 3;
}
#mainimage .txtbox{
    position: absolute;
    bottom: 0;
  display: flex;
    width: 100%;
  overflow:hidden;
  white-space:nowrap;
}
#mainimage .b_txt{
  animation: flowing 50s linear infinite;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
#mainimage .b_txt li{
    color: #363636;
    display: inline-block;
    font-family: 'Jost', sans-serif;
    text-transform:uppercase;
    font-size: 28rem;
    font-weight: 800;
    line-height: 1;
}
#animation_container{
    position: absolute;
bottom: 10%;
left: 0;}

#box1{
    background-color: #fff;
    color: #292929;
    width: 100%;
    position: relative;
    padding-bottom: 5em;
}
#box1 .back{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
#box1 .space{
    padding-top: 31%;
}
#box1 .read{
}
#box1 .read span {
  display: inline-block;
  position: relative;
}
#box1 .fs_b{
    font-size: 20rem;
    font-weight: 800;
    line-height: 1;
}
#box1 .fs_m{
    font-size: 12rem;
    font-weight: 600;
    line-height: 0.6;
}
#box1 .txt{
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    padding-top: 2em;
}
#box1 .pop{
    position: absolute;
    opacity: 0.1;
}
#box1 .pop .st0{
fill: #000;
}
#box1 .pop1{
width: 27em;
  left: 10%;
  bottom: 21%;
}

#box1 .pop1a,#box1 .pop1b {
  transform-origin: center center;
  animation: pulse 1s ease-out infinite;
}
#box1 .pop2{
width: 12em;
  left: 30%;
  bottom: 22%;
}
#box1 .pop2 img{
  animation: rubberBand 1s ease-out infinite;
}
#box1 .pop3{
width: 28em;
  left: 10%;
  bottom: 4%;
}
#box1 .pop4{
width: 43em;
  right: 8%;
  bottom: 18%;
}
#box1 .pop4d {
  transform-origin: top center;
  animation: swingPause 2s 0.2s ease-out infinite;
}
#box1 .pop4c {
  transform-origin: top center;
  animation: swingPause 2s 0.4s ease-out infinite;
}
#box1 .pop4b {
  transform-origin: top center;
  animation: swingPause 2s 0.6s ease-out infinite;
}
#box1 .pop4a {
  transform-origin: top center;
  animation: swingPause 2s 0.8s ease-out infinite;
}
@keyframes swingPause {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(15deg); }
  20%  { transform: rotate(-10deg); }
  30%  { transform: rotate(5deg); }
  40%  { transform: rotate(-5deg); }
  50%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); } /* ← ここから静止状態が続く */
}
#box1 .pop5{
width: 28em;
  right: 5%;
  bottom: 8%;
    transform: rotate(-20deg);
}


#box2{
    background-image: linear-gradient(90deg, #292929, #292929 45%, #fff 45%, #fff);
    margin-top: 7em;
}
#box2 .innerbox{
    background-color: #292929;
    color: #fff;
    border-radius: 0 2em 2em 0;
    padding: 10em 0 6em 0;
    text-align: justify;
}
#box2 .inreadbox{
    padding-left: 4em;
}
#box2 .icon{
  position: absolute;
width: 20em;
  top: 5em;
  right: 37%;
    z-index: 2;
}
#box2 .icon img{
  animation: bounceOut 0.8s ease-out infinite;
}
#box2 h2{
    font-size: 7rem;
    font-weight: 800;
    line-height: 1.4;
    position: relative;
    z-index: 3;
}
#box2 .title1{
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 2em;
    z-index: 3;
}
#box2 .readtxt{
    font-size: 3.4rem;
    font-weight: 700;
    width: 28em;
    line-height: 1.8;
}
#box2 .rightline{
    font-family: 'Jost', sans-serif;
    color: #505050;
  font-size: 5.5rem;
    font-weight: 700;
    writing-mode: vertical-rl;
    position: absolute;
    right: 0.8em;
  top: 1.6em;
}

#box2 .gridbox {
    margin-top: 6em;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}


#box2 .gridinner {
  display: flex;
    width: 448em;
  animation: scrollLoop 80s linear infinite;
}

/* 横スクロールアニメーション */
@keyframes scrollLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

#box2 .gridbox .inbox{
    width: 32em;
      height: 35em;
    text-align: justify;
    border-right: 1px solid #707070;
    color: #696969;
    padding: 0 2em;
    position: relative;
}
#box2 .gridbox .upbox{
    border-bottom: 1px solid #707070;
    padding-bottom: 2em;
    margin-bottom: 2em;
}
#box2 .gridbox h3{
    font-size: 4.4rem;
    font-weight: 600;
    line-height: 1.4;
}
#box2 .gridbox h3.mid{
    font-size: 3.6rem;
}
#box2 .gridbox h3.big{
    font-size: 4.2rem;
    line-height: 1.2;
}
#box2 .gridbox h3.indent{
    text-indent: -0.5em;
}
#box2 .gridbox .sub{
    font-size: 3rem;
    line-height: 1;
    padding: 0.5em 0 1.5em 0;
}
#box2 .gridbox .txt{
    font-size: 2rem;
}
#box2 .gridbox .txt.pd2{
    padding-top: 1.4em;
}
#box2 .gridbox .txt.pdr2{
    padding-right: 1.4em;
    line-height: 1.65;
}
#box2 .gridbox h3.lh2{
    line-height: 1.2;
}
#box2 .gridbox p.lh6{
    line-height: 1.6;
}
#box2 .gridbox p.lh7{
    line-height: 1.7;
}
#box2 .gridbox p.lh75{
    line-height: 1.75;
}
#box2 .gridbox .lh14{  line-height: 1.45;}


#box2 .gridbox .rl{
    writing-mode: vertical-rl;
}
#box2 .gridbox .sub.rl{
    padding: 0;
}
#box2 .gridbox .flexbox{
    display: flex;
}
#box2 .gridbox .flexbox h3{
    order: 3;
}
#box2 .gridbox .flexbox .sub{
    order: 2;
}
#box2 .gridbox .flexbox .txt{
    order: 1;
}
#box2 .gridbox .rl_ps2{
    position: absolute;
    bottom: 0;
    right: 3em;
}
#box2 .gridbox .rl_ps3{
    position: absolute;
    bottom: 0;
    right: 3.7em;
}



#box3{
    padding-top: 8em;
}
#box3 .box{
    text-align: justify;
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 3em;
    margin-bottom: 5em;
    margin-left: 4em;
}
#box3 .titlebox{
    align-items:flex-start;}
#box3 .titlebox .number{
    background-color: #292929;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    border-radius: 0.3em;
    margin-right: 0.5em;
    text-align: center;
    width: 2em;
}
#box3 .titlebox .title{
    flex: 1;
    font-weight: 600;
}
#box3 .titlebox .title p{
      text-transform: uppercase;
    font-size: 2.8rem;
    line-height: 1.2;
}
#box3 .titlebox .title h2{
    font-size: 3.4rem;
    line-height: 1.4;
}
#box3 .midashi{
    align-items: flex-end;
}
#box3 .image{
    position: relative;
}
#box3 .image .icon{
    position: absolute;
}
#box3 .midashi .entitle{
    font-family: 'Jost', sans-serif;
      text-transform: uppercase;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 1em 0;
      margin-right: -3em;
}
#box3 .midashi h3{
    font-size: 7rem;
    font-weight: 500;
    line-height: 1.3;
}
#box3 .box .txt{
  font-size: 2.2rem;
  padding: 2em 10% 0 0;
    line-height: 1.8;
}

#box3 .box1 .image{
    width: 18em;
    position: relative;
}
#box3 .box1 .btn{
    margin: 0 7em;
}
#box3 .box1 .icon{
    width: 100%;
    top: 0;
}
#box3 .box1 .icon1{
  transform-origin: bottom center;
  animation: bounce 2s 0.8s ease-out infinite;
}
#box3 .box1 .icon2{
  animation: flash 8s ease-out infinite;
}
#box3 .box2 .btn{
    margin-left: 5.5em;
}
#box3 .box2 .image{
    width: 29em;
    position: relative;
    margin-top: -3em;
}
#box3 .box2 .icon{
    width: 100%;
    top: 0;
  transform-origin: bottom center;
  animation: swing 2s 0.8s ease-out infinite;
}

#box3 .box3{
    border-bottom: none;
}
#box3 .box3 .btn{
    margin-right: 0;
}
#box3 .box3 .image{
    width: 25em;
    position: relative;
}
#box3 .box3 .btn{
    margin-right: 4em;
}
#box3 .box3 .icon{
    width: 100%;
    top: 0;
}
#box3 .box3 .st0 {
fill: #868686;
}
#box3 .box3 .st1,#box3 .box3 .st4 {
  animation: box3img 2s ease-out infinite;
}
#box3 .box3 .st2,#box3 .box3 .st6 {
  animation: box3img 3.5s ease-out infinite;
}
#box3 .box3 .st3,#box3 .box3 .st5 {
  animation: box3img 3s ease-out infinite;
}
#box3 .box3 .st7 {
  animation: box3img 2.5s ease-out infinite;
}
#indexbox{
    display: none;
}

#box3 .btn{
  display: block;
  height: 100%;
  /*animation: hue-rotate 10s linear infinite;*/
}

.button {
	overflow: hidden;
	border-radius: 50%;
	color: #fff;
	width: 8em;
	height: 8em;
	padding: 0;
	pointer-events: auto;
	background: #e7e7e7;
	border: none;
	position: relative;
    display: flex;
  align-items: center;
    justify-content: center;
    font-family: 'Jost', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
}
.button::before,
.button::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.button--skoll span {
	display: block;
	position: relative;
}
.button--skoll > span {
	overflow: hidden;
}
a.button--skoll:hover{
    color: #000;
    text-decoration: none;
}
.button--skoll:hover > span > span {
	animation: MoveUpInitial 0.2s forwards, MoveUpEnd 0.2s forwards 0.2s;
}
.button--skoll::before {
	content: '';
	background: #caac78;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	border-radius: 50%;
	transform: translate3d(0,0,0);
	transition: transform 0.3s;
	transition-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
}
.button--skoll:hover::before {
	transform: translate3d(0,100%,0);
}
@keyframes MoveUpInitial {
	to {
		transform: translate3d(0,-105%,0);
	}
}
@keyframes MoveUpEnd {
	from {
		transform: translate3d(0,100%,0);
	}
	to {
		transform: translate3d(0,0,0);
	}
}


.button--bubble__container .buttons {
  -webkit-font-smoothing: antialiased;
  background-color: #caac78;
  border: none;
  color: #fff;
  display: block;
    border-radius: 50%;
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    width: 8em;
    height: 8em;
    padding-top: 3.2em;
  user-select: none;
  text-transform: uppercase;
    transition: all 0.1s ease-out;
}
.button--bubble__container .buttons:hover {
  }
  
.button--bubble__container .buttons:active {
    transform: scale(0.95);
  }

.button--bubble {
    position: relative;
    z-index: 2;
}
.button--bubble:hover + .button--bubble__effect-container .circle {
      background: darken(#caac78, 15%);
    }

.button--bubble:hover + .button--bubble__effect-container .button {
      background: darken(#caac78, 15%);
    }

.button--bubble:active + .button--bubble__effect-container {
      transform: scale(0.95);
    }

.button--bubble__container {
      position: relative;
      display: inline-block;
}
.button--bubble__container .effect-button {
        position: absolute;
        width: 50%;
        height: 25%;
        top: 50%;
        left: 25%;
        z-index: 1;
        transform: translateY(-50%);
        background-color: #caac78;
        transition: background 0.1s ease-out;
      }

.button--bubble__effect-container {
  position: absolute;
  display: block;
  width: 200%;
  height: 400%;
  top: -150%;
  left: -50%;
  -webkit-filter: url("#goo");
  filter: url("#goo");
  transition: all 0.1s ease-out;
    pointer-events: none;}

.button--bubble__effect-container .circle {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 15px;
    background: #caac78;
    transition: background 0.1s ease-out;}

.button--bubble__effect-container .circle.top-left {
        top: 42%;
        left: 29%;
    }

.button--bubble__effect-container .circle.bottom-right {
        bottom: 42%;
        right: 29%;
    }
.goo {
  position: absolute;
  visibility: hidden;
  width: 1px;
  height: 1px;
}
.button--bubble__container {
  top: 50%;
  margin-top: -25px;
}

@keyframes hue-rotate {
      from {
        -webkit-filter: hue-rotate(0);
        -moz-filter: hue-rotate(0);
        -ms-filter: hue-rotate(0);
        filter: hue-rotate(0);
      }
      to {
        -webkit-filter: hue-rotate(360deg);
        -moz-filter: hue-rotate(360deg);
        -ms-filter: hue-rotate(360deg);
        filter: hue-rotate(360deg);
      }
}





@media screen and (min-width: 769px) and (max-width: 1886px) {
    #box1 .pop2 {
  left: 35%;
  bottom: 20%;
}
    #box1 .pop5 {
  bottom: 5%;
}
    #box2{
        padding-right: 6.5em;
    }
    #box2 .inreadbox{
        padding-left: 5.8em;
    }
    #box2 .icon {
  right: 27%;
}
}

@media screen and (min-width: 769px) and (max-width: 1500px) {
#box3 .box .txt {
  font-size: 22px;
}
}

@media only screen and (max-width: 768px) {
#animation_container{
bottom: 14%;
}
#mainimage .b_txt li {
  font-size: 17rem;
}
#box1{
    overflow: hidden;
    background-image:url("../img/footer_line.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 50% 0;
    padding-bottom: 5em;
}
#box1 .back{
    width: 170%;
    margin-left: -20%;
}
    
#box1 .space{
    padding-top: 55%;
}

#box1 .fs_b{
    font-size: 8rem;
}
#box1 .fs_m{
    font-size: 4rem;
    line-height: 0.8;
}
#box1 .txt{
    font-size: 2.8rem;
}
#box1 .pop1{
width: 9em;
    left: 0%;
    bottom: 23%;
}
#box1 .pop2{
width: 6em;
    left: 39%;
    bottom: 14%;
}
#box1 .pop3{
width: 11em;
    left: 0%;
    bottom: 0%;
}
#box1 .pop4{
width: 17em;
    right: 0%;
    bottom: 29%;
}
#box1 .pop5{
width: 11em;
    right: -1%;
    bottom: 8%;
}


#box2{
    margin-top: 4em;
    padding-right: 0.5em;
}
#box2 .innerbox{
    padding: 5em 0 6em 1.5em;
}
#box2 .icon{
width: 10em;
    top: 2em;
    left: 41%;
}
#box2 .inreadbox{
    padding-left: 0;
}
#box2 h2{
    font-size: 3rem;
}
#box2 .title1{
    font-size: 2.2rem;
}
#box2 .readtxt{
    font-size: 1.8rem;
    width: auto;
    padding-right: 2.8em;
}
#box2 .rightline{
font-size: 1.55em;
    right: -0.2em;
    top: 10em;
}

#box2 .gridbox {
    margin-top: 4em;
}

#box2 .gridinner {
}
#box2 .gridbox .inbox{
    font-size: 70%;
}
#box2 .gridbox .upbox{
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
}
#box2 .gridbox h3{
    font-size: 3rem;
}
#box2 .gridbox h3.mid{
    font-size: 2.5rem;
}
#box2 .gridbox h3.big{
    font-size: 2.8rem;
}
#box2 .gridbox h3.indent{
}
#box2 .gridbox .sub{
    font-size: 2rem;
}
#box2 .gridbox .txt{
    font-size: 1.4rem;
    line-height: 1.6;
}
    #box2 .gridbox .rl_ps2 {
  right: 3.1em;
}
#box2 .gridbox .txt.splh7{
    line-height: 1.77;
}
#box3{
    padding-top: 6em;
}
#box3 .box{
    padding-bottom: 3em;
    margin-bottom: 5em;
    margin-left: 0;
}
#box3 .titlebox{
    }
#box3 .titlebox .number{
    font-size: 3.2rem;
    width: 2em;
}
#box3 .titlebox .title{
}
#box3 .titlebox .title p{
    font-size: 1.8rem;
}
#box3 .titlebox .title h2{
    font-size: 2.4rem;
}
#box3 .midashi{
    flex-wrap: wrap;
    justify-content: space-between;
}
#box3 .readbox{
        width: 100%;
    padding-bottom: 2em;
    }
#box3 .image{
    position: relative;
}
#box3 .image .icon{
    position: absolute;
}
#box3 .midashi .entitle{
    font-size: 2.2rem;
    padding: 1.5em 0;
}
#box3 .midashi h3{
    font-size: 3.5rem;
    line-height: 1.3;
}
#box3 .btn a{
    font-size: 1.6rem;
    width: 8em;
    height: 8em;
}
#box3 .box .txt{
  font-size: 1.8rem;
  padding: 2em 0 0 0;
}

#box3 .box1 .image{
    width: 10em;
}
#box3 .box1 .btn{
    margin: 0;
}
#box3 .box1 .icon{
    width: 100%;
    top: 0;
}
#box3 .box2 .btn{
    margin-left: 0;
}
#box3 .box2 .image{
    width: 13em;
    margin-top: -1em;
}

#box3 .box3{
    border-bottom: none;
}
#box3 .box3 .btn{
    margin-right: 0;
}
#box3 .box3 .image{
    width: 13em;
}
#box3 .box3 .btn{
    margin-right: 0;
}
    
    
}