﻿#main_ {
    margin: -12rem 0 0
}
ul {
    padding-left: 0 !important;
}

@media screen and (max-width: 599px) {
    #main_ {
        margin: -7rem 0 0
    }
}

li a{
    text-decoration: none;
}

#contents_>.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

#contents_>.content>header {
    flex: 0 0 27.2727%;
    margin: 0;
    padding: 0 4rem 0 0;
    box-sizing: border-box
}

#contents_>.content>header>h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-feature-settings: "palt";
    line-height: 1.6;
    letter-spacing: .1em;
    font-size: 2.8rem;
    font-weight: bold;
    white-space: nowrap
}

#contents_>.content>header>h1::before {
    display: block;
    content: "";
    margin: -0.3em 0 0
}

#contents_>.content>header>p {
    margin: 4.2rem 0 0;
    font-size: 1.5rem
}

#contents_>.content>header>.more {
    margin: 3rem 0 0
}

#products h1{
        position: relative;
        color: #333;
        text-shadow: 0 0 2px white;
      }
      
/* #products h1::after {
  width: 1px;
  height: 28px;
  content: "";
  background-color: #f11f8d;
  margin-right: 0.5em;
  transform: rotate(-30deg);
  display: block;
      } */

      .moving{
        margin: 10rem 0px;
      }
      .display-2 mb-0 b{
        font-weight: bold;
      }

@media screen and (max-width: 599px) {
    #contents_>.content {
        display: block
    }

    #contents_>.content>header {
        padding: 0
    }

    #contents_>.content>header>h1 {
        font-size: 2rem
    }

    #contents_>.content>header>p {
        margin: 1.9rem 0 0;
        font-size: 1.3rem
    }

    #contents_>.content>header>.more {
        display: none
    }
}

#contents_>.featured {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    margin: 0 min(-15.1111111111rem, -11.8055555556vw);
    padding: min(8.888889rem, 6.944444vw) min(14.111111rem, 18.0555555556vw) min(8.888889rem, 6.9444444444vw) calc(51% + min(14.555556rem, 15.2777777778vw));
    box-sizing: border-box;
    background: #f9f9f9;
    background-image: url(../img/back-line.png);
    background-position: bottom;
    overflow: hidden;
    z-index: 2;
}

#contents_>.featured>h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-feature-settings: "palt";
    line-height: 1.6;
    letter-spacing: .1em;
    font-size: 4.6rem;
    font-weight: bold
}

#contents_>.featured>.image {
    width: max(38.8888vw, 525px);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    clip: rect(auto, auto, auto, auto)
}

#contents_>.featured>.image>img {
    display: block;
    width: max(38.8888vw, 525px);
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    object-fit: cover
}

#contents_>.featured>p {
    margin: 8rem 0;
    font-size: 1.5rem
}

.bigtext{
    font-size: 15rem !important;
    color: #6969693d;
    position: absolute;
    top: 3rem;
    right: -7rem;
}

.tatebig{
    writing-mode: vertical-rl;
    font-size: 13rem !important;
    color: #ffc57466;
    position: absolute;
    left: -8rem;
}
.driv{
    font-size: 13rem !important;
    color: #ffc57466;
    position: absolute;
    right: 0rem;
    bottom: 174rem;
    font-weight: 500;
}


.voicebox{
    margin: 18rem 0 10rem;
}

#contents_>.featured>.list {
    margin: 5rem 0 0;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    font-weight: 500
}

#contents_>.featured>.list>li {
    display: flex;
    position: relative;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1)
}

#contents_>.featured>.list>li::before {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5.5rem;
    height: 5.8rem;
    border-right: 1px solid rgba(0, 0, 0, .1);
    color: #aaa;
    font-size: 1.2rem;
    pointer-events: none
}

#contents_>.featured>.list>li::after {
    display: block;
    content: "";
    width: 8rem;
    position: absolute;
    left: 5.5rem;
    top: 0;
    bottom: 0;
    background: center center no-repeat;
    background-size: contain
}

#contents_>.featured>.list>li>a {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    position: relative;
    margin: -1.5rem 0 -1.5rem -5.5rem;
    padding: inherit;
    padding-left: 14rem;
    padding-right: 5.5rem;
    text-decoration: none
}

#contents_>.featured>.list>li>a::after {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 7.5rem;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    content: "";
    font: normal 1em/1 icons
}

.heading05 {
	position: relative;
	/* padding-bottom: 50px; */
	font-size: 26px;
	text-align: start;
}

.heading05::before {
    content: attr(data-en);
    display: block;
    background-color: #f3892f;
    color: #fff;
    font-size: 8px;
    border: 1px solid #f3892f;
    width: 22%;
    padding: 0.2rem 0.5rem;
    margin: 2rem 0;
    border-radius: 45px;
    text-align: center;
    font-style: italic;
    text-transform: uppercase;
}

/* button */
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-svg {
  font-weight: 700;
  line-height: 54px;
  width: 204px;
  height: 54px;
  padding: 0;
  margin: 3rem 0;
  cursor: pointer;
  text-decoration: none;
  background-color: transparent;
}

a.btn-svg svg {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

a.btn-svg svg rect {
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;

  stroke: #000;
  stroke-width: 0.5;
  stroke-dasharray: 200px, 16px;
  stroke-dashoffset: 70px;
}

a.btn-svg:hover svg rect {
  stroke-dashoffset: 284px;
}

a.btn-svg span {
  color: #000;
  font-size: 1.3rem;
}

  /* button */

ul.check{
    padding: 2rem 0;
    display: flex;
    border-top: 0.5px solid #fff;
    width: 100%;
    justify-content: end;

}
.check li{
    width: 8%;
    display: block;
    
}

.check img{
    width: 35px;
    display: block;
    margin: auto;
    
}

#contents_>.featured>.list>li>a[target=_blank]::after {
    transform: rotate(-45deg)
}

#contents_>.featured>.list>li:nth-child(1)::before {
    content: "01"
}

#contents_>.featured>.list>li:nth-child(2)::before {
    content: "02"
}

#contents_>.featured>.list>li:nth-child(3)::before {
    content: "03"
}

#contents_>.featured>.list>li.bonx-boost::after {
    background-image: url(images/products_box-boost_image.png)
}

#contents_>.featured>.list>li.bonx-grip::after {
    background-image: url(images/products_box-grip_image.png)
}

#contents_>.featured>.list>li.bonx-mini::after {
    background-image: url(images/products_box-mini_image.png)
}

#contents_>.featured>.list>li>a::before {
    display: block;
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -1px;
    border-bottom: 1px solid currentColor;
    transform: scaleX(0);
    transform-origin: right top;
    transition: transform .7s cubic-bezier(0.19, 1, 0.22, 1) 0s
}

#contents_>.featured>.list>li>a:hover::before {
    transform: scaleX(1);
    transform-origin: left top
}

.episode {
    display: grid;
    position: relative;
  }
  
  .episode__number {
    font-size: 10vw;
    font-weight: 600;
    padding: 10px 0;
    position: sticky;
    top: 0;
    text-align: center;
    height: calc(10vw + 20px);
    transition: all 0.2s ease-in;
  }
  
  .episode__content {
    border-top: 2px solid #e5e7ea;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-gap: 10px;
    padding: 35px 0;
  }
  
  .episode__content .title {
    font-weight: 600;
    font-size: 1.5rem;
  }

  .story p{
    font-size: 1.2rem;
  }
  
  .episode__content .story {
    line-height: 26px;
  }
  
  @media (max-width: 600px) {
    .episode__content {
      grid-template-columns: 1fr;
    }
  }
  

@media screen and (max-width: 599px) {
    #contents_>.featured {
        min-height: 0;
        margin: 0 -3rem;
        padding: 0 3rem 9rem;
    }
    .driv{
        font-size: 13rem !important;
        color: #ffc57466;
        position: absolute;
        right: 0rem;
        bottom: 93rem;
        font-weight: 500;
    }

    #contents_>.featured>h1 {
        margin: 8.4rem 0 0;
        font-size: 2.1rem
    }

    #contents_>.featured>.image {
        order: -1;
        width: auto;
        height: 40rem;
        position: static;
        margin: 0 -3rem
    }

    #contents_>.featured>.image>img {
        width: 100%;
        position: static
    }

    #contents_>.featured>p {
        margin: 3.8rem 0;
        font-size: 1.3rem
    }

    #contents_>.featured>.list {
        margin: 3.5rem 0 0;
        font-size: 1.1rem
    }

    #contents_>.featured>.list>li {
        display: flex;
        position: relative;
        padding: 1.3rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, .1)
    }

    #contents_>.featured>.list>li::before {
        width: 4.2rem;
        height: 5rem;
        font-size: 1rem
    }

    #contents_>.featured>.list>li::after {
        width: 8rem;
        left: 4.2rem
    }

    #contents_>.featured>.list>li>a {
        margin: -1.3rem 0 -1.3rem -4.2rem;
        padding-left: 12.4rem;
        padding-right: 5.5rem
    }

    #contents_>.featured>.list>li>a::after {
        width: 5.5rem
    }

    #contents_>.featured>.list>li>a::before {
        display: none
    }

}

#contents_>#visual {
    display: block;
    height: 100vh;
    height: calc(var(--vh, 1vh)*100);
    position: relative;
    z-index: 6000;
    margin: 0 min(-15.1111111111rem, -11.8055555556vw);
    background: #fff;
    overflow: hidden
}

#contents_>#visual>header {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: max(6.5777777778rem, 5.1388888889vw) max(8.3555555556rem, 6.5277777778vw);
    color: #fff;
    text-align: left
}

#contents_>#visual>header>h1 {
    order: 1;
    display: flex;
    align-items: center;
    margin: max(1.7777777778rem, 1.3888888889vw) 0 0 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-feature-settings: "palt";
    line-height: 1.6;
    letter-spacing: .1em;
    font-size: max(1.6rem, 1.25vw)
}

#contents_>#visual>header>h1::before {
    display: block;
    content: "";
    width: max(8.8888888889rem, 6.9444444444vw);
    height: 0;
    margin: 0 max(1.3333333333rem, 1.0416666667vw) 0 0;
    border-top: 1px solid currentColor
}

#contents_>#visual>header>strong {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: max(12.4444444444rem, 9.7222222222vw);
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.04em
}

#contents_>#visual>header>strong>i {
    display: inline-block;
    width: max(11.0222222222rem, 8.6111111111vw)
}
/* 
#contents_>#visual>header>strong span {
    opacity: 0;
    transition: opacity 1s ease-in-out 0s
} */

html.fac-loaded #contents_>#visual>header>strong span {
    opacity: 1
}

#contents_>#visual>.image {
    height: 100vh;
    height: calc(var(--vh, 1vh)*100);
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}

#contents_>#visual>.image::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #333;
    opacity: .1
}

#contents_>#visual>.image .list>li {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}

#contents_>#visual>.image .list>li+li {
    display: none
}

#contents_>#visual>.image .list>li>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

#contents_>#visual>.image .fac-gallery .fac-gallery-item {
    display: block;
    transform: scale(1);
    opacity: 0
}

#contents_>#visual>.image .fac-gallery .fac-gallery-item.fac-gallery--selected {
    z-index: 3;
    opacity: 1;
    transition: opacity 2s
}

#contents_>#visual>.image .fac-gallery .fac-gallery-item.fac-gallery--selected>img {
    transform: scale(1.1);
    transition: transform 8s linear
}

#contents_>#visual>.image .fac-gallery .fac-gallery-item.fac-gallery--last-selected {
    opacity: 0;
    transition: opacity 0s 8s
}

#contents_>#visual>.image .fac-gallery .fac-gallery-item.fac-gallery--last-selected>img {
    transform: scale(1.3);
    transition: transform 8s linear
}

#contents_>#visual>.image .fac-gallery,
#contents_>#visual>.image .fac-gallery-slider,
#contents_>#visual>.image .fac-gallery-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}


/* slide */
.slick{
    padding: 13rem 0 13rem;
}

/* slide */



html.fac-initial #contents_>#visual>.image .list>li {
    opacity: 0
}

.col-md-6 {
    width: 25%;
}

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

  .contents li a{
    color: #ffffff !important;

  }
  
  a {
    color: #ffffff !important;
    text-decoration: none;
  }
  
  a:hover {
    color: #fff;
  }
  
  .flex {
    display: flex;
  }
  
  hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #35363b;
  }


  /* table */
  table {
    margin: 20px auto;
  }
  .tbl-r02 th {
    background: #d1d1d1;
    border: solid 1px #ccc;
    color: #fff;
    padding: 10px;
  }
  .tbl-r02 td {
    border: solid 1px #ccc;
    padding: 10px;
  }
   
  @media screen and (max-width: 640px) {
    .last td:last-child {
      border-bottom: solid 1px #ccc;
      width: 100%;
    }
    .tbl-r02 {
      width: 80%;
    }
    .tbl-r02 th,
    .tbl-r02 td {
  　　border-bottom: none;
      display: block;
      width: 100%;
    }
    .footer__logo {
        display: inline-block;
        margin-bottom: 1rem;
        width: 50%;
    }
  }
  /* table */
  
  
  .footer {
    padding: 5rem 15rem;
    font-size: 15px;
    color: #9ca3af;
    background: #1d1e22;
  }
  
  .footer__navi {
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  
  .footer__navi li {
    display: inline-block;
  }
  
  .footer__navi li:not(:last-child) {
    margin-right: 16px;
  }
  
  .footer__logo {
    display: inline-block;
    margin-bottom: 1rem;
    width: 20%;
  }
  
  @media (min-width: 768px) {
    .md-flex {
      display: flex;
    }
  
    .md-justify-between {
      justify-content: space-between;
    }
  
    .copyright {
      text-align: left;
    }
  }


@media screen and (max-width: 599px) {
    #contents_>#visual {
        margin: 0 -3rem
    }

    #contents_>#visual>header {
        padding: 0 0 11.7rem 2rem
    }

    #contents_>#visual>header>h1 {
        margin: 1.5rem 0 0;
        font-size: 1.4rem
    }

    #contents_>#visual>header>h1::before {
        width: 3rem;
        margin: 0 1rem 0 0
    }

    #contents_>#visual>header>strong {
        font-size: 6rem
    }

    #contents_>#visual>header>strong>i {
        width: 3rem
    }

    #contents_>#visual>.scroll {
        width: auto;
        height: 6rem;
        position: absolute;
        left: 0;
        right: 3rem;
        padding: 2rem 3rem;
        font-size: .9rem
    }

    .col-md-6 {
        width: 45%;
    }

    .footer {
        padding: 2rem;
        font-size: 15px;
        color: #9ca3af;
        background: #1d1e22;
    }

    /* slide */

.slick-dots {
    display: none !important;
}
.slick {
    padding: 13rem 0 3rem;
}

/* slide */

}

#contents_>#visual>header>h1 {
    opacity: 0;
    transform: translate3d(-7rem, 0, 0);
    transition: opacity .5s ease-in-out 1s, transform 1s cubic-bezier(0.215, 0.61, 0.355, 1) 1s
}

html.fac-loaded #contents_>#visual>header>h1 {
    opacity: 1;
    transform: translate3d(0, 0, 0)
}

/* #contents_>#visual>header>strong span {
    opacity: 0;
    transition: opacity 1s ease-in-out 0s
} */

html.fac-loaded #contents_>#visual>header>strong span {
    opacity: 1
}

#contents_>#news-release {
    padding: 15rem 0 0
}

#contents_>#news-release>header>h1 {
    font-size: 2.4rem
}

#contents_>#news-release>.list {
    flex: 1 1 72.7273%
}

#contents_>#news-release>footer {
    display: none
}

@media screen and (max-width: 599px) {
    #contents_>#news-release {
        padding: 7.4rem 0 9rem
    }

    #contents_>#news-release>header>h1 {
        font-size: 2rem
    }

    #contents_>#news-release>.list {
        margin: 2.3rem 0 0
    }
    #contents_>#about {
        position: relative;
        margin: 0;
        padding: 15rem max(39.1111111111rem, 30.5555555556vw) 15rem max(48rem, 37.5vw)
    }

    .bigtext {
        font-size: 10rem !important;
        color: #6969693d;
        position: absolute;
        top: 34rem;
        right: -11rem;
    }

    
}

#contents_>#about {
    position: relative;
    margin:0 -11rem 11rem;
    padding: 15rem max(39.1111111111rem, 30.5555555556vw) 15rem max(48rem, 37.5vw)
}

#contents_>#about>h1 {
    display: none
}

#contents_>#about>.image {
    position: absolute;
    left: 0;
    right: 0;
    top: 15rem;
    z-index: -1;
    pointer-events: none
}

#contents_>#about>.image>li {
    position: absolute;
    top: 0;
    z-index: -2;
    overflow: hidden
}

#contents_>#about>.image>li::before {
    display: block;
    content: "";
    height: 0;
    padding: 129.7293% 0 0;
    overflow: hidden
}

#contents_>#about>.image>li>img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

#contents_>#about>.image>li>img:nth-child(n+2) {
    display: none
}

#contents_>#about>.image>li:nth-child(1) {
    width: clamp(37rem, 27vw, 540px);
    left: 0
}

#contents_>#about>.image>li:nth-child(2) {
    width: clamp(27rem, 19.1835vw, 394px);
    right: 0
}

#contents_>#about>.image>li:nth-child(2)::before {
    padding: 177.7777% 0 0
}

#contents_>#about>strong {
    display: block;
    position: relative;
    padding: 6.5rem 0 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-feature-settings: "palt";
    line-height: 1.6;
    letter-spacing: .1em;
    font-size: 4rem;
    font-weight: bold
}

#contents_>#about>strong::before {
    display: block;
    content: "";
    width: 6rem;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    border-top: 1px solid currentColor
}

#contents_>#about>p {
    margin: 5rem 0 0;
    font-size: 1.5rem
}

#contents_>#about>.more {
    margin: 7.8rem 0 0
}

@media screen and (max-width: 599px) {
    #contents_>#about {
        margin: 0;
        padding: 36.2rem 0 9rem
    }

    #contents_>#about>.image {
        display: flex;
        justify-content: space-between;
        left: -3rem;
        right: -3rem;
        top: 0
    }

    #contents_>#about>.image>li:nth-child(1) {
        width: 21rem;
        left: 0
    }

    #contents_>#about>.image>li:nth-child(2) {
        width: 15.3rem;
        left: 22.2rem;
        right: auto
    }

    #contents_>#about>strong {
        padding: 3.9rem 0 0;
        font-size: 2.4rem
    }

    #contents_>#about>strong::before {
        width: 3rem
    }

    #contents_>#about>p {
        margin: 3.5rem 0 0;
        font-size: 1.4rem
    }

    #contents_>#about>.more {
        margin: 5.3rem 0 0
    }
}

html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image>li>img {
    display: block;
    object-position: 0 0
}

html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image>li>img:nth-child(n+2) {
    z-index: -1
}

html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.a>li>img:nth-child(1),
html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.b>li>img:nth-child(2),
html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.c>li>img:nth-child(3),
html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.d>li>img:nth-child(4) {
    width: 0;
    z-index: 3;
    animation: about-image 1.5s cubic-bezier(0.45, 0.2, 0.1, 1) forwards
}

html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.a>li>img:nth-child(4),
html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.b>li>img:nth-child(1),
html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.c>li>img:nth-child(2),
html.fac-js-enabled:not(.fac-initial) #contents_>#about>.image.d>li>img:nth-child(3) {
    width: 100%;
    z-index: 2
}

html.fac-js-enabled #main_ #contents_>#about>.image>li:nth-child(1)>img {
    animation-delay: 0s
}

html.fac-js-enabled #main_ #contents_>#about>.image>li:nth-child(2)>img {
    animation-delay: .2s
}

html.fac-js-enabled #main_ #contents_>#about>.image>li:nth-child(3)>img {
    animation-delay: .4s
}

html.fac-js-enabled #main_ #contents_>#about>.image>li:nth-child(4)>img {
    animation-delay: .6s
}

html.fac-js-enabled #main_ #contents_>#about>.image>li:nth-child(5)>img {
    animation-delay: .8s
}

html.fac-js-enabled #main_ #contents_>#about>.image>li:nth-child(6)>img {
    animation-delay: 1s
}

@keyframes about-image {
    0% {
        width: 0
    }

    100% {
        width: 100%
    }
}

#contents_>#service {
    position: relative;
    padding: 16rem 0;
}

#contents_>#service>.image {
    height: max(72rem, 56.25vw);
    position: absolute;
    left: min(-15.1111111111rem, -11.8055555556vw);
    right: min(-15.1111111111rem, -11.8055555556vw);
    top: 0;
    z-index: -1;
    background: rgb(32,32,36);
    
}

#contents_>#service>.image::after {
    display: block;
    content: "";
    height: 16rem;
    position: absolute;
    left: max(6.2222222222rem, 4.8611111111vw);
    right: 0;
    bottom: -8rem;
    z-index: 2;
    background: #fff
}

#contents_>#service>.image>video {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0
}

.rightbox {
    position: absolute;
    width: 30%;
    top: 24rem;
    right: 8rem;
    color: #fff;
    padding-left: 3rem;
}

.rightbox p{
    font-size: 2rem;
}

/* button */

.rightbox,
.rightbox::before,
.rightbox::after {
  box-sizing: border-box;
}

.glowing-btn {
    position: relative;
    color: var(--glow-color);
    cursor: pointer;
    padding: 0.35em 1em;
    border: 0.15em solid #ffffff7d;
    border-radius: 0.45em;
    background: none;
    perspective: 2em;
    font-family: "Raleway", sans-serif;
    font-size: 1.5em;
    font-weight: 900;
    letter-spacing: 1em;
    margin: 3rem 0;
  
    -webkit-box-shadow: inset 0px 0px 0.5em 0px var(--glow-color),
      0px 0px 0.5em 0px var(--glow-color);
    -moz-box-shadow: inset 0px 0px 0.5em 0px var(--glow-color),
      0px 0px 0.5em 0px var(--glow-color);
    box-shadow: inset 0px 0px 0.5em 0px var(--glow-color),
      0px 0px 0.5em 0px var(--glow-color);
    animation: border-flicker 2s linear infinite;
  }
  
  .glowing-txt {
    float: left;
    margin-right: -0.8em;
    -webkit-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
      0 0 0.45em var(--glow-color);
    -moz-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
      0 0 0.45em var(--glow-color);
    text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em var(--glow-color);
    animation: text-flicker 3s linear infinite;
  }
  
  .faulty-letter {
    opacity: 0.5;
    animation: faulty-flicker 2s linear infinite;
  }
  
  .glowing-btn::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.7;
    filter: blur(1em);
    transform: translateY(120%) rotateX(95deg) scale(1, 0.35);
    background: var(--glow-color);
    pointer-events: none;
  }
  
  .glowing-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: -1;
    background-color: var(--glow-color);
    box-shadow: 0 0 2em 0.2em var(--glow-color);
    transition: opacity 100ms linear;
  }
  
  .glowing-btn:hover {
    color: rgba(0, 0, 0, 0.8);
    text-shadow: none;
    animation: none;
  }
  
  .glowing-btn:hover .glowing-txt {
    animation: none;
  }
  
  .glowing-btn:hover .faulty-letter {
    animation: none;
    text-shadow: none;
    opacity: 1;
  }
  
  .glowing-btn:hover:before {
    filter: blur(1.5em);
    opacity: 1;
  }
  
  .glowing-btn:hover:after {
    opacity: 1;
  }
  
  @keyframes faulty-flicker {
    0% {
      opacity: 0.1;
    }
    2% {
      opacity: 0.1;
    }
    4% {
      opacity: 0.5;
    }
    19% {
      opacity: 0.5;
    }
    21% {
      opacity: 0.1;
    }
    23% {
      opacity: 1;
    }
    80% {
      opacity: 0.5;
    }
    83% {
      opacity: 0.4;
    }
  
    87% {
      opacity: 1;
    }
  }
  
  @keyframes text-flicker {
    0% {
      opacity: 0.1;
    }
  
    2% {
      opacity: 1;
    }
  
    8% {
      opacity: 0.1;
    }
  
    9% {
      opacity: 1;
    }
  
    12% {
      opacity: 0.1;
    }
    20% {
      opacity: 1;
    }
    25% {
      opacity: 0.3;
    }
    30% {
      opacity: 1;
    }
  
    70% {
      opacity: 0.7;
    }
    72% {
      opacity: 0.2;
    }
  
    77% {
      opacity: 0.9;
    }
    100% {
      opacity: 0.9;
    }
  }
  
  @keyframes border-flicker {
    0% {
      opacity: 0.1;
    }
    2% {
      opacity: 1;
    }
    4% {
      opacity: 0.1;
    }
  
    8% {
      opacity: 1;
    }
    70% {
      opacity: 0.7;
    }
    100% {
      opacity: 1;
    }
  }
  
  @media only screen and (max-width: 600px) {
    .glowing-btn{
      font-size: 1em;
    }
  }

/* button */

.movie {
    display: flex;
}

#contents_>#service>.list {
    flex: 0 0 69.0909%
}



@media screen and (max-width: 599px) {
    #contents_>#service {
        padding: 48.3rem 0 10rem
    }

    #contents_>#service>.image {
        height: 40rem;
        right: -20rem
    }

    #contents_>#service>.image::after {
        display: none
    }

    #contents_>#service>header {
        margin: 0 0 4rem;
        padding: 0 0 3.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, .1)
    }

    .rightbox {
        display: flex;
    align-items: center;
    width: 59%;
    top: 33rem;
    right: 16rem;
    color: #fff;
    padding: 1.5rem 0 1.5rem 3rem;
    background: #202024;
    }

    .rightbox p {
        font-size: 1.1rem;
        margin: 0;
    }

    .glowing-btn {
        position: relative;
        color: var(--glow-color);
        cursor: pointer;
        padding: 0.35em 1em;
        border: 0.15em solid #ffffff7d;
        border-radius: 0.45em;
        background: none;
        perspective: 2em;
        font-family: "Raleway", sans-serif;
        font-size: 1em;
        font-weight: 900;
        letter-spacing: .8em;
        margin: 1rem;
        -webkit-box-shadow: inset 0px 0px 0.5em 0px var(--glow-color), 0px 0px 0.5em 0px var(--glow-color);
        -moz-box-shadow: inset 0px 0px 0.5em 0px var(--glow-color), 0px 0px 0.5em 0px var(--glow-color);
        box-shadow: inset 0px 0px 0.5em 0px var(--glow-color), 0px 0px 0.5em 0px var(--glow-color);
        animation: border-flicker 2s linear infinite;
    }


    #contents_>#service>.image>video {
        display: block;
        width: 77%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }
    #contents_>#service {
        padding: 6.3rem 0 0;
    }

    
}

#contents_>#technology {
    background: #000;
    color: #fff
}

#contents_>#technology>.more {
    margin: 4.5rem 0 0
}

@media screen and (max-width: 599px) {
    #contents_>#technology>.more {
        margin: 2rem 0 0
    }
}

#contents_>#recruit {
    padding: 5rem 0;
}

#contents_>#recruit>header {
    flex-basis: 21.8181%;
    border-right: 1px solid rgba(0, 0, 0, .1)
}

#contents_>#recruit>.list {
    flex: 0 0 73.6363%
}

#contents_>#recruit>.list>li .image::before {
    padding-top: 34.6153%
}

#contents_>#recruit>.list>li h2 {
    margin: 3.1rem 0 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-feature-settings: "palt";
    line-height: 1.6;
    letter-spacing: .1em;
    font-size: 2.1rem;
    font-weight: bold
}

#contents_>#recruit>.list>li p {
    margin: 1rem 0 0;
    font-size: 1.5rem
}

#contents_>#recruit>.list>li .more {
    margin: 2.5rem 0 0
}

@media screen and (max-width: 599px) {
    #contents_>#recruit {
        padding: 0.4rem 0 3rem;
    }
    .contact{
        font-size: 3rem !important;
        color: #0b0b0b66;
        position: absolute;
        right: 9rem;
        bottom: 105rem;
        font-weight: 300;
    }
    .driv{
        font-size: 13rem !important;
        color: #ffc57466;
        position: absolute;
        right: 0rem;
        bottom: 152rem;
        font-weight: 500;
    }

    #contents_>#recruit>header {
        margin: 0 0 4rem;
        padding: 0 0 1.9rem;
        border-width: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .1)
    }

    #contents_>#recruit>.list>li h2 {
        margin: 3rem 0 0;
        font-size: 1.6rem
    }

    #contents_>#recruit>.list>li p {
        margin: 1.2rem 0 0;
        font-size: 1.3rem
    }

    #contents_>#recruit>.list>li .more {
        margin: 3.7rem 0 0
    }
}

#contents_>#company {
    margin: 0 min(-15.1111111111rem, -11.8055555556vw);
    padding: 8.8rem max(10.111111rem, 9.805556vw);
    background: #f0f4f7
}

#contents_>#company>h1 {
    display: none
}

#contents_>#company>.list {
    border-width: 0
}

#contents_>#company>.list::before {
    display: none
}

#contents_>#company>.list>li {
    flex-basis: 8%
}
#company img{
    width: 50%;
    margin: auto;
}



@media screen and (max-width: 599px) {
    #contents_>#company {
        margin: 0 -3rem;
        padding: 3.5rem 0;
    }
}
