/* wrap */

html {
    padding: 0;
    margin: 0;
    
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
   
    
}

body {
    margin: 0 !important;
    font-feature-settings: "palt" 1;
    letter-spacing: 3px;
   
    font-size: 14px;
    --scroll-gap: 30px;
   
    
}

ul {
  list-style: none;
}


a {
  color: #000000;
  text-decoration: none;
}

#message a {
  color: #ffffff;
  text-decoration: none;
  text-decoration: underline;
}

#wrap {
  width: 100%;

}


.mv {
  position: relative;
  background-color: #fff !important;
}

.mv_text {
  position: absolute;
  margin: 5% 0 0 1%;
  font-size: 4vw;
  font-weight: 700;
  background-color: #fff;
  padding: 5px 10px;
}


.mv_text2 {
  position: absolute;
  margin:35% 0 0 1%;
  font-size: 1.3vw;
  font-weight: 100;
  width: 40%;
  line-height: 200%;
  padding: 5px 10px;
}

nav {
  background-color: #dedede;
  padding: 0px 0;
  min-height: 80px;
}

.logo {
  padding: 5px 0 5px 20px;
  width: 40%;
  float: left;
}

.logo img {
  max-width: 250px;
}
.mv video {
  width: 80%;
  float: right;
  padding: 10% 0 10% 0;
}

.contact {
  background-color: #fff;
  width: 50%;
  float:none;
  color: #000000;
  font-weight: 700;
  font-size: 16px;
  max-width: 250px;
  border-radius: 20px;
  text-align: center;
  min-height: 55px;
  padding: 28px 0 0 0;

  background-repeat: no-repeat;
  background-position: 20px center;
  background-size: 30px;
  margin: 60px auto 0 auto;
  transition: background-color 0.5s;
}

.contact:hover {
  background-color: #ffa237;

}

video {
  padding: 0;
  margin: 0;
  background-color: #f6f6f6;
}

.mes {
  padding: 100px 0 0 0;
  color: #000000;
}

.mes h1 {
  font-size: 16px;
  font-weight: 200;
  text-align: left;
  padding: 0px 0 60px 0;
  max-width: 800px;
  margin: 0px 0 0 0;
  margin: auto;
  line-height: 200%;
}

.mes h2 {
  font-size: 2.4vw;
  text-align: center;
  font-weight: 700;
  padding: 80px 30px;
  line-height: 39px;
  margin: 0% auto 0 auto;
  max-width: 1200px;
}

.ser h1 {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  padding: 30px 0 20px 0;

  margin: 0;
}

.ser h2 {
  font-size: 15px;
  text-align: center;
  font-weight: 700;
  padding: 80px 0 0 0;
  border-bottom: 3px solid #000;
  width: 200px;
  line-height: 39px;
  margin: auto;
}
.ser h3 {
  font-size: 22px;
  text-align: center;
  font-weight: 700;
  padding: 0px 0 0 0;
  margin: auto;
}



.note h1 {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  padding: 30px 0 60px 0;
  color: #000000;

  margin: 0;
}

.note h2 {
  font-size: 15px;
  text-align: center;
  font-weight: 700;
  padding: 80px 0 0 0;
  border-bottom: 3px solid #000000;
  width: 200px;
  line-height: 39px;
  margin: auto;
  color: #000000;
}



.s_message h1 {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  padding: 30px 0 60px 0;
  color: #fff;

  margin: 0;
}

.s_message h2 {
  font-size: 15px;
  text-align: center;
  font-weight: 700;
  padding: 80px 0 0 0;
  border-bottom: 3px solid #ffffff;
  width: 200px;
  line-height: 39px;
  margin: auto;
  color: #fff;
}

.s_message p {
  width: 90%;
  max-width: 980px;
  text-align: left;
  margin: auto;
  padding: 0 0 20px 0;
  font-size: 16px;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - var(--scroll-gap) / 4));
  }
}

.scroll_wrap {
  margin-block-start: 5vh;
  width: 100%;
  overflow: hidden;
}

.scroll_track {
  width: max-content;
  animation: infiniteScroll 15s linear infinite;

 
}

.scroll_inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 var(--scroll-gap);
}

.scroll_cont {
  display: grid;
  place-content: center;
  flex-shrink: 0;
  min-width: 22vw;
  aspect-ratio: 1 / 1;
  color: white;
  font-size: 1.375rem;
  font-weight: bold;

  &:nth-of-type(5n + 1) {
  
  }
  &:nth-of-type(5n + 2) {
   
  }
  &:nth-of-type(5n + 3) {
   
  }
  &:nth-of-type(5n + 4) {
    
  }
  &:nth-of-type(5n + 5) {
   
  }
}

.mes2 {
  width: 100%;
  text-align: center;
  padding: 60px 0 200px 0;
}

.mes2 h1 {
  font-size: 26px !important;

}

.mes2 h2 {
  font-size: 22px !important;

}

.cont {
 background: #ffa237;
 clip-path: polygon(0 90px, 100% 0, 100% calc(100% - 90px), 0 100%);
 margin: -90px 0 0 0;
 
}
.service {
  background: #fff;
  padding: 0 0 100px 0;

  }

/* 下から上に移動しながらフェードイン */
.fadeInUp {
  opacity: 0;
  transform: translateY(0px);
}
/* 上から下に移動しながらフェードイン */
.fadeInDown {
  opacity: 0;
  transform: translateY(-100px);
}
/* 右から左に移動しながらフェードイン */
.fadeInLeft {
  opacity: 0;
  transform:  translate(-100px, 0);
}
/* 左から右に移動しながらフェードイン */
.fadeInRight {
  opacity: 0;
  transform: translateX(100px);
}
/* フェードインアニメーション */
@keyframes fadeIn {
  0% {
  }
  100% {
      opacity: 1;
      transform: translate(0);
  }
}
/* フェードインさせるクラス */
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

.gradient {
  padding: 0 !important;
  margin: 0 !important;
}
.gradient__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -40px 0 0 0;
}
.gradient__title {
  animation: AnimationTitle 5s ease infinite;
  background: linear-gradient(to right, #007ab7, #ff2f00, #fcb045);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
 
  font-weight: 700;
  line-height: 1;
  font-size: 20px !important;
}
@keyframes AnimationTitle {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

.s_box1 {
  width: 100%;
  margin: 80px auto 0 auto;
  background: #ffffff;
  border-radius: 0px;
  padding: 0px 0 !important;
  color: #050505;
}

.s_box1_img {
  float: left;
  width:50% !important;
}

.s_box1_img img {
  width: 90%;
}

.s_box_text {
  float: right;
  width: 50% !important;
  font-size: 24px;
  font-weight: 700;
  padding: 15% 0 0 0 ;
}




.s_box1_img2 {
  float: right;
  width:50% !important;
  text-align: right;
}

.s_box1_img2 img {
  width: 90%;

}

.s_box_text2 {
  float: right;
  width: 48% !important;
  font-size: 24px;
  font-weight: 700;
  padding: 15% 0 0% 2% ;
}



.s_box_company {
  font-size: 18px;
  font-weight: 200;
  padding: 10px 0 0 0;
}

.green {
  color: #0067a7;
  font-size: 28px !important;
  padding: 0px 0 20px 0;
  display: block;
}

.s_text {
  font-size: 14px;
  font-weight: 200;
  padding: 40px 0 0 0;
  width: 90%;
}

.s_text p {
  padding: 0 0 20px 0 !important;
  margin: 0 0 0 0 !important;
  width: 100% !important;
}



.s_message {
  width: 100%;
padding: 60px 0 160px 0;
background: url(../img/mes_bk.jpg) #000000;
background-size: cover;
clip-path: polygon(0 90px, 100% 0, 100% calc(100% - 90px), 0 100%);
color: #fff;
text-align: center;
}



.note_inner {
  width: 95%;
  margin: auto;
}



#message {
  color: #000000;
  }
  #message p img {
  display: none;
  }
  #message a.btn {
  display: block;
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom: 0
  }
  #message .mu {
  width: 100%;
  padding: 0 !important;
  margin:  0 !important;
  }

  #message .mu a {
    color: #3d3d3d !important;
    text-decoration: none !important;
  }

  #message .mu a:hover {
    text-decoration: underline !important;
  }

  #message .mu img {
  width: 100%;
  height: auto
  }
  #message .mu h3 {
 
  font-size: 14px;
  text-align: left;
  font-weight: normal
  }
  #message .mu small {
  display: block
  }

  #message p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }




  #message2 {
    color: #000000;
    }
    #message2 p img {
    display: none;
    }
    #message2 a.btn {
    display: block;
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom: 0
    }
    #message2 .mu {
    width: 100%;
    padding: 0 !important;
    margin:  0 !important;
    }
  
    #message2 .mu a {
      color: #3d3d3d !important;
      text-decoration: none !important;
    }
  
    #message2 .mu a:hover {
      text-decoration: underline !important;
    }
  
    #message2 .mu img {
    width: 100%;
    height: auto
    }
    #message2 .mu h3 {
   
    font-size: 14px;
    text-align: left;
    font-weight: normal
    }
    #message2 .mu small {
    display: block
    }
  
    #message2 p {
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
    }







    #message3 {
      color: #000000;
      }
      #message3 p img {
      display: none;
      }
      #message3 a.btn {
      display: block;
      position: absolute;
      top:0;
      left:0;
      right:0;
      bottom: 0
      }
      #message3 .mu {
      width: 100%;
      padding: 0 !important;
      margin:  0 !important;
      }
    
      #message3 .mu a {
        color: #3d3d3d !important;
        text-decoration: none !important;
      }
    
      #message3 .mu a:hover {
        text-decoration: underline !important;
      }
    
      #message3 .mu img {
      width: 100%;
      height: auto
      }
      #message3 .mu h3 {
     
      font-size: 14px;
      text-align: left;
      font-weight: normal
      }
      #message3 .mu small {
      display: block
      }
    
      #message3 p {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
      }
  
  


.list {
  width: 100%;
  text-align: right;
  margin: 0 0 0 0px;

}

.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

@media (max-width: 980px) {
  
.pc_only {
  display: none;
}

.sp_only {
  display: block;
}
  .s_box1_img {
    float: left;
    width:50% !important;
  }
  
  .s_box1_img img {
    width: 100%;
  }
  .s_box_text {
    float: right;
    width:48% !important;
    font-size: 24px;
    font-weight: 700;
    padding: 9% 0 0 0;
  }


  .s_box1_img2 img {
    width: 100%;
  }
  .s_box_text2 {
    float: right;
    width:48% !important;
    font-size: 24px;
    font-weight: 700;
    padding: 9% 0 0 0;
  }





  nav {
    background-color: #dedede;
    padding: 0px 0;
    min-height: 30px !important;
  }

  .logo {
    padding: 5px 0 5px 20px;
    width: 70% !important;
    float: left;
  }

  .logo img {
    max-width: 200px;
  }
  .contact {
    background-color: #fff;
    width: 50%;
    float:none;
    color: #000000;
    font-weight: 700;
    font-size: 16px;
    max-width: 250px;
    border-radius: 20px;
    text-align: center;
    min-height: 55px;
    padding: 28px 0 0 0;
    background-image: url(../img/mail_icon.png);
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 30px;
    margin: 30px auto 0 auto;
    transition: background-color 0.5s;
  }
  

  .mv video {
    width: 100% !important;
    float: right;
    padding: 10% 0 10% 0;
  }
}


@media (max-width: 860px) {
  
  .s_box1_img {
    float: none;
    width:95% !important;
    margin: auto !important;
  }
  
  
  .s_box_text {
    float: none;
    width:95% !important;
    font-size: 24px;
    font-weight: 700;
    padding: 10% 0 0 0;
    margin: auto;
  }


  .s_box1_img2 {
    float: none;
    width:95% !important;
    margin: auto !important;
  }
  

  
  .s_box_text2 {
    float: none;
    width:95% !important;
    font-size: 24px;
    font-weight: 700;
    padding: 10% 0 0 0;
    margin: auto;
  }
  .s_text {
    font-size: 14px;
    font-weight: 200;
    padding: 40px 0 0 0;
    width: 100%;
  }
  


}



.mv_text {
  position: absolute;
  margin: 5% 0 0 1%;
  font-size: 4vw;
  font-weight: 700;
  background-color: #fff;
  padding: 5px 10px;
}




.box {
  padding: 0px 10px;
  text-align: left;
  position: absolute;
  margin: 34% 0 0 1%;
  font-size: 4vw !important;
  font-weight: 700;
  
}
.text {
  display: inline-block;

  clip-path: polygon(0 0,0 0,0 100%,0 100%);
}
.text.active {
  animation: text 1s cubic-bezier(1,0,0,1) 0.6s normal forwards;
}
.text span {

  background: linear-gradient(transparent,#ffffff 0);
}




@keyframes text {
  0% {
      clip-path: polygon(0 0,0 0,0 100%,0 100%)
  }
  to {
      clip-path: polygon(0 0,100% 0,100% 100%,0 100%)
  }
}


.box2 {
  padding: 0px 10px;
  text-align: left;
  position: absolute;
  margin: 31% 0 0 1%;
  font-size: 16px !important;
  font-weight: 200;
  width: 40%;
}

.text2 {
  display: inline-block;
  clip-path: polygon(0 0,0 0,0 100%,0 100%);
  background: #fff;
  padding: 20px;
}
.text2.active {
  animation: text 1s cubic-bezier(1,0,0,1) 0.6s normal forwards;
  animation-delay:2s;
}
.text2 span {

  background: linear-gradient(transparent,#ffffff 0);
}

@keyframes text2 {
  0% {
      clip-path: polygon(0 0,0 0,0 100%,0 100%)
  }
  to {
      clip-path: polygon(0 0,100% 0,100% 100%,0 100%)
  }
}


.service p {
  font-size: 16px;
  width: 95%;
  max-width: 980px;
  margin: auto;
  padding: 40px 0;
}









.wrap {
  margin: 100px auto 0;
}

.block-bg {
  transition: all .7s ease;
}

.block {

  text-align: center;
}


.sp_only {
  display: none;
}

.pc_only {
  display: block;
}


@media screen and (max-width:640px){
.sp_only {
  display: block;
}

.pc_only {
  display: none;
}
  .wrap {
    width: 100%;
  }

  .box {
    padding: 0px 10px;
    text-align: left;
    position: absolute;
    margin: 34% 0 0 1%;
    font-size: 7vw !important;
    font-weight: 700;
  }


  .mes h1 {
    font-size: 16px;
    font-weight: 200;
    text-align: left;
    padding: 0px 0 60px 0;
    max-width: 800px;
    margin: auto;
    line-height: 200%;
    max-width: 95%;
  }
  
  .mes h2 {
    font-size: 7vw;
    text-align: center;
    font-weight: 700;
    padding: 80px 30px;
    line-height: 39px;
    margin: 0% auto 0 auto;
    max-width: 1200px;
  }
}


.box27 {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  border: solid 2px #2892a0;
  font-size: 14px;
  font-weight: 100;
  width: 90%;
}
.box27 .box-title {
  position: absolute;
  display: inline-block;
  top: -27px;
  left: -3px;
  padding: 0 9px;
  height: 25px;
  line-height: 25px;
  font-size: 17px;
  background: #2892a0;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}
.box27 p {
  margin: 0; 
  padding: 0;
}

.box27 a {
  text-decoration: none;
}

.box27 a:hover {
  text-decoration: underline;
}

.box27 div {
  padding: 3px 0;
}

.company_left {
  width: 40%;
  float: left;
  text-align: center;
}

.company_left img {
  max-width: 250px;
}

.company_right {
  width: 60%;
  float: right;
  padding: 40px 0 0 0;
}

.company_right div {
  font-size: 16px;
  padding: 0px 0 10px 0;
}

.note {
  width: 100%;
  padding: 60px 0 60px 0;
  background: #dedede;
 
  margin: auto;
  
}


.company_right a {
  text-decoration: none;
}

.company_right a:hover {
  text-decoration: underline;
}

@media screen and (max-width:980px){
  .company_left {
    width: 100% !important;
    float: none;
    text-align: center;
  }

  .company_right {
    width: 70% !important;
    float: none;
    padding: 40px 0 0 0;
    margin: auto;
  }
  .company_left img {
    max-width: 150px;
  }

  .note {
    width: 100%;
    padding: 60px 0 60px 0;
    background: #dedede;
  
    margin: auto;
    
  }

  .c_box1 {
    width: 27% !important;
    float: left;
  }
  
  .c_box2 {
    width: 60% !important;
    float: left;
  }
}


.c_box1 {
  width: 15%;
  float: left;
}

.c_box2 {
  width: 80%;
  float: left;
}

.c_box {
  width: 95%;
  max-width: 700px;
}