.engine-contents {
  padding: 0;
}
.engine-body sup {
font-size: 8px;
  vertical-align: super;
}

.block {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.kv{
  background: url(../eGX/images/eGX-mv2026bg.jpg) no-repeat center center/cover;
}

.block-one {
  color: #fff;
  z-index: 10;
  background: url(../eGX/images/eGX-mv2026.png) no-repeat center 30%;
  background-size: contain;
  max-width: 1200px;
  margin: 0 auto;
	height: calc(100vh - 130px);
}

.block-one a{
	position: absolute;
	bottom: 40px;
}
/* ここから下がボタンのCSS　*/
.block-one span{
	cursor: pointer;
	margin: auto;
  display: inline-flex;
  width: 64px;
  height: 64px;
  font-size: 24px;
  position: relative;
  opacity: 1 !important;
  border-radius: 100%;
  overflow: hidden;
	color: #333;
	background: #333;
}
.block-one span:before,
.block-one span:after {
  content: "";
  display: block;
  position: absolute;
  width: 50%;
  height: 0;
  background-color: #c00;
  pointer-events: none;
}
.block-one span:before {
  bottom: 0;
  left: 0;
}
.block-one span:after {
  top: 0;
  right: 0;
}
.block-one span:hover {
  color: #c00;
}
.block-one span:hover:before,
.block-one span:hover:after {
  height: 100%;
}
.block-one span:hover:before {
  transition: height 0.2s 0.2s linear;
}
.block-one span:hover:after {
  transition: height 0.2s linear;
}
.block-one span i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: #FFF;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
}
/* <--scroll */
.scroll {
  position: relative;
  top: 30%;
}

.scroll a {
  padding-top: 55px;
  display: block;
}
.scroll a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #000;
  border-radius: 50px;
  box-sizing: border-box;
}
.scroll a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: "";
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #000;
  border-radius: 100%;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* <-- scroll-pad */

.scroll-sp {
  display: none;
}

.scroll-sp a {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 2;
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #000;
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
}

.scroll-sp a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: #000;
  animation: sdl 2s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl {
  0% {
    opacity: 1;
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  30% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  30.1%,
  70% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    opacity: 0;
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.toggle_btn {
  top: 30px;
  left: 30px;
  position: absolute;
}
/* scroll-pad --> */

/* scroll--> */

.block-two {
  background: #000;
  z-index: 10;
 width: 100%;
	padding-top: 40px;
 overflow: hidden;
}

.block-three {
  background: #fff;
  color: #000;
  z-index: 11;
  display: block;
	height: auto;
  position: relative;
  margin-bottom: -1px;
}

.block-three .ttl {
  background-color: #fff;
  color: #000;
  font-size: 2.5em;
  font-weight: 600;
  padding: 80px 0 0;
  width: 100%;
  text-align: center;
  top: 0;
  line-height: 1em;
}

.block-three .ttl img {
  width: 40%;
}
.block-three h3{
  text-align: center;
  font-size: 18px;
}

.tokucyou {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: block;
  position: relative;
  z-index: 12;
}

.tokucyou_2022{
  background: #fff;
  width: 1100px;
  max-width: 96%;
  margin: auto;
  padding: 0 0 80px;

}
.tokucyou_2022 h3{
  font-size: 1.75em;
  font-weight: 600;
  border-bottom: 3px solid #222;
  display: inline-block;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.tokucyou_2022 p{
  font-size: 1.2em;
  padding-left: 1em;
}

.columns{
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 12;
  padding: 4px 0 80px;
}
.columns_2022{
  background: #fff;
  width: 1100px;
  max-width: 96%;
  border: 4px solid #ddd;
  margin: auto;
  padding: 40px;
  box-shadow: 0 1px 8px #eee;
}
.columns .box-txt h2 {
  color: #000;
  font-size: 1.8em;
  font-weight: 600;
  text-align: left;
  margin-bottom: 24px;
  border: 0;
}
.columns .box-img{
  flex: 0 0 32%;
}
.columns .box-txt{
  flex: 0 0 64%;
}
.columns .box-txt p{
  padding: 0;
  line-height: 2.4;
  text-align: justify;
}




.box-1,
.box-2,
.box-3 {
  height: 100%;
  padding: 120px 60px;
  background-color: #fff;
  position: sticky;
  z-index: 500;
  display: flex;
  align-items: center;
}

.box-2 {
  background-color: #000;
}
.box-4 {
  background-color: #f6f6f0;
}

.box-content {
  display: flex;
  width: 1100px;
  max-width: 100%;
 align-items: center;
  margin: 0 auto;
  justify-content: space-between;
}

.box-img {
  width: 45%;
 flex: 0 0 45%;
}

.box-txt h2 {
  font-size: 2.5em;
  font-weight: 600;
  border-bottom: 5px solid #cc0000;
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 8px;
  padding-bottom: 4px;
}

.box-txt p {
  padding: 30px 80px 0 0;
  font-size: 1.2em;
}
.box-txt p.fs08{
  font-size: 12px;
}

.box-2 .box-txt {
  color: #fff;
}

.block-four{
  border-top: 1px solid #888;
  padding: 0 0 80px;
}
.block-four .box-content{
  flex-direction: row-reverse;
}
.block-four .box-txt{
  padding-left: 64px;
}
.block-four .box-img{
  flex: 0 0 33%;
}


.product {
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 20;
  background: url(../eGX/images/product-bg.jpg) no-repeat center;
  margin-bottom: 80px;
}

.product-box {
 width: 1200px;
  max-width: 100%;
  display: flex;
  margin: -1px auto;
  padding: 40px 0;
  justify-content: space-around;
}

.product a {
  display: block;
  width: 45%;
  width: 32%;
}

x.product img {
  box-shadow: 14px 14px 23px -20px #2e2e2e;
}

.engine-contents,
.product a:hover img {
  transition: 0.8s ease-in-out;
}

@media screen and (max-width: 576px) {
  x.block-one {
    z-index: 1;
    background: url(../eGX/images/eGX-mvsp.jpg) no-repeat center;
    max-width: 600px;
  }
 .block-one {
  height: 120vw;
  background-size: 150vw;
  background-position: center center;
 }

  .scroll {
    display: none;
  }

  .scroll-sp {
    display: block;
    height: 100%;
  }

  .block-two,
  video {
    height: 100%;
    width: 100%;
  }

  .block-three .ttl {
    padding: 60px 0 0;
    font-size: 1.5em;
    line-height: 1.3;
  }
  
  .tokucyou_2022{
    max-width: 92%;
  }
  
  .tokucyou_2022 h3{
    font-size: 1.4em;
  }

  .box-content {
    flex-direction: column;
  }

  .box-1,
  .box-2,
  .box-3 {
    height: 100%;
    padding: 32px;
  }

  .box-txt {
    font-size: 0.8em;
  }

  .box-txt h2 {
    border-bottom: 3px solid #cc0000;
  }

  .box-txt p {
    padding: 40px 0 0;
  }

  .box-img {
    width: 100%;
    margin: 0 auto;
    padding-top: 16px;
  }
  
  .block-four{
  padding: 0 24px 40px;
}
.block-four .box-content{
  display: block;
}
.block-four .box-txt{
  padding-left: 0;
}
.block-four .box-img{
  flex: 0 0 33%;
}

  .product-box {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 40px 8px;
  }

  .product a {
    width: 100%;
  }

  .product a:nth-child(1) {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 576px) and (max-width: 1024px) {
  section#nav-test #nav-container ul li {
    padding: 8px 10px;
    font-size: 13px;
  }

  .engine-crumbs {
    padding: 20px 10px;
  }

  x.block-one {
    background: url(../eGX/images/eGX-mvpad.jpg) no-repeat center;
  }
 .block-one {
  background-size: 120vw;
 }

  .scroll {
    display: none;
  }

  .scroll-sp {
    display: block;
  }

  .scroll-sp a {
    bottom: 11%;
  }

  .block-two,
  video {
    height: 100%;
    width: 100%;
  }

  .box-content {
    flex-direction: column;
  }

  .box-txt p {
    padding: 30px 0;
  }

  .box-img {
    width: 100%;
  }

  .box-1,
  .box-2,
  .box-3 {
    height: 100%;
  }

  .box-txt h2 {
    font-size: 2em;
  }

  .box-txt p {
    padding: 40px 0 60px;
    font-size: 1.5em;
  }
}
