@charset "utf-8";

.first-view {
  width: 100%;
  max-width: 100%;
  height: calc(100vh - 100px);
  position: relative;
  background-size: cover;
}

.first-view-I {
  max-width: 100%;
  width: 100%;   
  height: 100%;
  object-fit: cover
}


.first-view-I img {
  object-fit: cover;/* 要素いっぱいに画像を表示（はみ出た部分は削除） */
  max-width: 100%;
  width: 100%;      /* 親要素の幅いっぱい */
  height: 100%;    /* 親要素の高さいっぱい */
}

.first-view-text {
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 50px;
}

#first1 {
  font-size: 54px;
  font-weight: bold;
  color: aliceblue;
  text-shadow: 4px 4px 20px red;
  margin-top: 50px;
  max-width: 100%;
  width: 100%;
}

#first2 {
  font-size: 54px;
  font-weight: bold;
  color: aliceblue;
  text-shadow: 4px 4px 20px red;
  margin-top: 80px;
  text-align: center;
  width: 100%;
}

#logoM {
  max-width: 100%;
  width: 100%;
  margin-top: 20px;
}

#logoM img {
  max-width: 150px;
  width: 100%;
  margin-top: 40px;
}

.scroll {
  font-size : 14px;
  font-weight: bold;
  color: aliceblue;
  text-shadow: 4px 4px 20px red;
  margin-top: 60px;
  width: 100%;
  margin-left: auto;
  margin-left: auto;
  text-align: center;
}

.scroll::after {
  content : '';
  display : inline-block;
  position : absolute;
  background-color:aliceblue;
  border: 1px solid rgb(238, 148, 148);
  right : 50%;
  bottom : -40px;
  transform : translateX(-50%);
  max-width: 4px;
  width : 100%;
  height : 30px;
  animation: scroll 1.5s infinite;
  overflow: hidden scroll;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
  
.about {
  max-width: 100%;
  width: 100%;
  background-color: #0095d9;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.about-M {
  font-size: 24px;
  font-weight: bold;
}

.about-P {
  font-size: 16px;
  margin-top: 20px;
  line-height: 2;
}

.feature-aria-J {
  max-width: 90%;
  width: 100%;
  background-color: #eb6101;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
 padding-top: 20px;
overflow: hidden;
}

.feature-aria-JP {
  max-width: 95%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  margin-top: 20px;
}

.feature-aria-J-H {
  font-size: 40px;
   font-weight: bold;
   padding-top: 20px;
   margin-left: 40px;
   text-shadow: 2px 2px 10px #fff;
}

.feature-aria-J-P {
  font-size: 16px;
  line-height: 2;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 30px;
}

.feature-aria-J-IMG {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}

.feature-aria-J-IMG li {
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.feature-aria-J-IMG li img {
  max-width: 85%;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.feature-aria-J-IMG dl {
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 20px;
}

.feature-button1 {
  width: 150px;
  font-size: 14px;
  font-weight: bold;
  color: #eb6101;
  text-shadow: 2px 2px 10px #797575b8;
  background-color: #fff;
  border: 2px solid #eb6101;
  padding: 6px 0;
  text-align: center;
  float: right;
  margin-top: -20px;
}


.feature-aria-C {
   max-width: 90%;
    width: 100%;
    background-color: #223a70;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    overflow: hidden;
  }

  .feature-aria-c-H {
    font-size: 40px;
     font-weight: bold;
     padding-top: 50px;
     margin-left: 60px;
     color: #fff;
     text-shadow: 2px 2px 10px #bab5b5b8;
     margin-bottom: 30px;
  }

  .feature-aria-CP {
    display: flex;
    max-width: 80%;
    width: 100%;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .feature-aria-c-P {
    max-width: 50%;
    width: 100%;
    text-align: center;
   margin-top: 40px;
   margin-left: -40px;
  }

  .featurearia-liP {
    width: 100%;
    font-size: 17px;
   color: #fff;
   line-height: 2;
  }

  .featurearia-liI {
    max-width: 70px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    margin-top: 30px;
  }

  .featurearia-liI img {
    width: 100%;
    display: block;
  }

  .featurearia-liKa {
    color: #fff;
    font-size: 16px;
    max-width: 100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 3px;
  }

  .featurearia-liTS {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    max-width: 130px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 3px;
  }

  .feature-aria-C-IMG {
    max-width: 40%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 10px;
  }

  .feature-aria-C-IMG img {
    display: block;
    width: 100%;
    height: auto;
  }
  

  .feature-Button2 {
    width: 150px;
    font-size: 14px;
    font-weight: bold;
    color: #223a70;
    text-shadow: 2px 2px 10px #797575b8;
    background-color: #fff;
    border: 2px solid #223a70;
    padding: 6px 0;
    text-align: center;
    display: block;
    float: right;
    margin-top: -20px;
  }

  .kkaisya {
    max-width: 90%;
    width: 100%;
    background-color: #a4dfe7;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-bottom: 50px;
  }

.kaisya-B {
  max-width: 60%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-color: #eb6101;
  padding-top: 20px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 50px;
  margin-bottom: 10px;
  border-radius: 20px;
}

.kaisya-B-H {
   font-size: 40px;
   font-weight: bold;
   display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  text-shadow: 4px 4px 20px #fff;
}
.kaisya-B-H:before, .kaisya-B-H:after {
  border-top: 5px solid;
  box-shadow: 4px 4px 20px #ffffff;
  content: "";
  width: 3em; /* 線の長さ */
}
.kaisya-B-H:before {
  margin-right: 1em; /* 文字の右隣 */
}
.kaisya-B-H:after {
  margin-left: 1em; /* 文字の左隣 */
}

.kaisya-B-H2 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  text-shadow: 2px 2px 10px #ffffff;
}

.kyouryoku-lead {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  max-width: 100%;
  width: 100%;
}

.kaisya-B-P {
  max-width: 90%;
  width: 100%;
  font-size: 16px;
  line-height: 2;
  margin-top: 30px;
  margin-left: 10px;
}

.bold {
  font-weight: bold;
}

.under2 {
  background: linear-gradient(transparent 80%, yellow 80%);
}

.kyouryoku-img {
  max-width: 30%;
  width: 100%;
  margin-left: 20px;
  margin-top: 30px;
}

.kyouryoku-img img {
  width: 100%;
  border-radius: 50%;
}

.contact-aria {
  max-width: 70%;
  width: 100%;
  display: flex;
  margin-top: 10px;
margin-left: auto;
margin-right: auto;
text-align: center;
}

.tel-aria {
  width:200px;
  max-width: 100%;
  font-size: 18px;
  font-weight: bold;
  background-color: yellow ;
  border: 1px solid #000;
  text-shadow: 1px 1px 10px #ffffff;
  padding: 6px 0;
 text-align: center;
}

.tel-aria:hover {
  background-color: antiquewhite;
}

.contact {
  width: 200px;
  max-width: 100%;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #000;
  background-color: yellow;
  text-shadow: 1px 1px 10px #ffffff;
  padding: 6px 0;
 text-align: center;
 margin-left: 50px;
}

.contact:hover {
  background-color:antiquewhite;
}

@media screen and (max-width:800px) {
 
  .first-view {
    height: calc(100vh - 50px);
  }

  #first1 {
    font-size: 36px;
    padding-top: 60px;
    margin-top: 0px;
  }

  #first2 {
    font-size: 36px;
    margin-top: 80px;
  }

  #logoM {
    margin-top: 30px;
  }

  .scroll {
    margin-top: 100px;
  }

  .about-M {
    font-size: 18px;
  }
  
  .about-P {
    font-size: 14px;
    max-width: 90%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .feature-aria-JP {
    margin-top: 0px;
  }

  .feature-aria-J-H {
    font-size: 24px;
    padding-top: 5px;
    max-width: 95%;
    width: 100%;
     margin-left: auto;
     margin-right: auto;
     text-align: center;
  }

  .feature-aria-J-P {
    font-size: 14px;
    max-width: 90%;
    width: 100%;
    margin-bottom: -10px;
  }

  .feature-aria-J-IMG {
    width: 100%;
    display: block;
    padding-bottom: 50px;
  }

  .feature-aria-J-IMG li img {
    height: auto;
    margin-top: 35px;
  }

  .feature-aria-J-IMG dl {
    font-size: 16px;
    margin-top: 10px;
  }

  .feature-aria-c-H {
    font-size: 24px;
    padding-top: 30px;
    max-width: 95%;
    width: 100%;
     margin-left: auto;
     margin-right: auto;
     text-align: center;
  }

  .feature-aria-CP {
    display: block;
  }

  .feature-aria-c-P {
    max-width: 100%;
    width: 100%;
   margin-top: 20px;
   margin-left: auto;
   margin-right: auto;
  }

  .featurearia-liP {
    font-size: 14px;
  }

  .feature-aria-C-IMG {
    max-width: 90%;
    width: 100%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
  } 

  .featurearia-liI img {
    max-width: 100%;
    width: 100%;
  }

  .kkaisya {
   background-color: #eb6101;
  }

  .kaisya-B {
    max-width: 100%;
    width: 100%;
    padding-top: 00px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 0px;
    border-radius: 0;
  }

  .kaisya-B-H {
    font-size: 24px;
    font-weight: bold;
    display: flex;
   align-items: center; /* 垂直中心 */
   justify-content: center; /* 水平中心 */
   text-shadow: 4px 4px 20px #fff;
 }

 .kaisya-B-H:before, .kaisya-B-H:after {
  border-top: 3px solid;
  width: 2em; /* 線の長さ */
}

.kaisya-B-H2 {
  font-size: 20px;
  margin-top: 20px;
}

.kyouryoku-lead {
  display: block;
  margin-top: 10px;
 margin-left: auto;
 margin-right: auto;
 text-align: center;
}

.kaisya-B-P {
  font-size: 14px;
  line-height: 2;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.kyouryoku-img {
  max-width: 80%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.kyouryoku-img img {
  width: 80%;
}

.contact-aria {
  max-width: 100%;
  width: 100%;
  display: block;
  margin-top: 20px;
}

.tel-aria {
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
}

.contact {
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
 margin-top: 20px;
}

}