body{
  margin: 0;
  width: 100%:
}

h1{
  margin: 0;
}

h2{
  font-size: 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
}


h3{
  margin: 0!important;
}

h4{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
}

body{
  background-color: #DFDFDD;
  background-repeat: repeat-y;
  background-blend-mode:lighten;
}

ul{
  list-style: none;
}

p, li{
  font-family: 'Noto Sans JP', sans-serif;
}

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

/*header*/


header{
  width: 7.5%;
  margin: 0;
  background-color: transparent;
  z-index: 30;
  position: fixed;
  top: 5%;
  right: 0;
}

.header{
  width: 100%;
  text-align: center;
}

.header a{
  width: 40px;
  height: 40px;
}

.header img{
  width: 40px;
  height: 40px;
  padding: 5px 0;
  transition-duration: 0.5s;
}

.header .language-button:hover, .header img:hover{
  opacity: 0.6;
}

/*languageボタン*/
.language-button{
  height: 30px;
  width: 40px;
  background-color: transparent;
  color: #006441;
  border: 1.5px solid #006441;
  text-align: center;
  font-size: 15px;
  margin: 5px auto;
  border-radius: 2px;
  transition-duration: 0.5s;

}


/*topの背景*/
.backimg-container{
  height: 100vh;
  width: 100vw;
}

.slide{
  position   : relative;
  overflow   : hidden;
  height: 100%;
  width: 100%;
  margin     : auto;
}

.slide .mobile{
  display: none;
}

.slide img {
  display    : block;
  position   : absolute;
  object-fit: cover;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  opacity    : 0;
  animation  : slideAnime 8s ease infinite;
}
/*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 4s }


/*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
  0% { opacity: 0 }
  3% { opacity: 1 }
 50% { opacity: 1 }
 53% { opacity: 0 }
100% { opacity: 0 }
}


/*
.backimg-container{
  background-image: url(img/top-img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  width: 100vw;
  z-index: 0;
}
*/




.top-logo div{
  width: 100%;
  height: 80px;
  position: relative;
}

.top-logo{
  position: absolute;
  top: 5%;
  left: 5%;
  text-align: center;
}

.logo1{
  width: 70px;
  height: 70px;
}

.logo2{
  width: 50px;
}

.shun, .border, .scroll{
  display: block;
}

.shun::after{
  content: "SHUN";
}

/*
.top-logo div::after{
  content: "";
    /*描画位置*//*
  position: absolute;
  top: 100%;
    /*線の形状*//*
  width: 1px;
  height: 50px;
  background: black;
    /*線の動き1.4秒かけて動く。永遠にループ*//*
  animation: pathmove 1.4s ease-in-out infinite;
  opacity:0;
  z-index: 100;
}
@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:50px;
    opacity: 1;
  }
  100%{
    height:0;
    top:80px;
    opacity: 0;
  }
}


/*左固定SNSボタン*/
.fix-sns{
  width: 7.5%;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.fix-sns a{
  text-decoration: none;
  width: 100%;
}

.fix-sns:before{
  position: absolute;
  content: "";
  height: 50px;
  width: 2px;
  top: -50%;
  left: 50%;
  background-color: #006441;
}

.fix-sns:after{
  position: absolute;
  content: "";
  height: 50px;
  width: 2px;
  bottom: -50%;
  left: 50%;
  background-color: #006441;
}

.fix-sns img{
  width: 35%;
  padding: 5px 0;
  transition-duration: 0.5s;
}

.fix-sns img:hover{
  opacity: 0.6;
}


/*イントロ*/
.photo {
  position: relative;
  top: -130px;
}

.intro-container{
  text-align: center;
  z-index: 9;
  position:relative;
  width: 100%;
  margin: 100px 0;
}

.intro-subcon{
  width: 85%;
  margin: 0 auto;
}

.intro-container h2, .news h2{
  padding: 0;
  margin: 0;
  color: #006441;
  font-size: 30px;
  text-align: center;
}


.intro-container .h2logo{
  width: 70px;
  height: 70px;
}

.intro-main{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items:center;
  margin-top: 30px;
}

.intro-box{
  width: 27%;
  display: flex;
  flex-direction: column;
}

.intro-img{
  width: 100%;
  border-radius: 10%;
  position: relative;
}

.intro-img img{
  width: 100%;
  border-radius: 10%;
}

.intro-img h3{
  position: absolute;
  bottom: 0;
  left: 10%;
  transform: translateY(40%);
  font-size: 40px;
  color: #006441;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
}

.intro-box h4{
  margin: 0 0 auto auto;
  font-size: 22px;
  display: block;
  width: 90%;
  text-align: left;
  color: #006441;
}

.intro-text{
  padding-top: 30px;
  width: 100%;
}

.about-button{
  width: 85%;
  height: auto;
  margin: 0 auto;
  text-align: right;
  margin-top: 50px;
  position: relative;
}

.about-button::after{
  content:"";
  display:block;
  width:9rem;
  height:1px;
  background-color:#006441;
  position:absolute;
  top:100%;
  right:0;
}


.about-button a{
  margin: auto;
  padding-bottom: 5px;
  font-size: 18px;
  text-align: right;
  color: #006441;
  padding-right: 1rem;
  font-family: 'Lato', sans-serif;
}







/*lineup*/

.lineup-container{
  width: 85%;
  z-index: 8;
  margin: 130px auto 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.lineup-intro{
  width: 30%;
}

.lineup-intro h2, .dealers h2{
  margin: 0;
  color: #006441;
  font-size: 30px;
}

.shop-button{

  position: relative;
  margin-top: 10px;
}

.shop-button::after{
  content:"";
  display:block;
  width:8.5rem;
  height:1px;
  background-color:#006441;
  position:absolute;
  top:100%;
  left:0;
}


.shop-button a{
  margin: auto;
  padding-bottom: 5px;
  font-size: 18px;
  text-align: left;
  color: #006441;
  padding-right: 1rem;
  font-family: 'Lato', sans-serif;
}


.lineup-box{
  width: 60%;
  margin: 0;
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
}

.lineup-item{
  width: 60%;
  flex: 0 0 auto; /* これを指定しないと横スクロールになりません */
  margin: auto 3%;
  list-style: none;
}
.lineup-item img{
  width: 100%;
  border-radius: 10%;
}

.lineup-item img:hover{
  opacity: 0.7;
  transition-duration: 0.3s;
}

.lineup-item p{
  text-align: center;
}

/*dealers*/
.dealers{
  width: 85%;
  margin: 0 auto;
  padding-top: 30px;
}
.dealers h2{
  text-align: center;
}
.dealer{
  margin-top: 20px;
  display:grid;
  grid-template-columns: repeat(5,18.4%);
  grid-gap: 10% 2%;
  justify-content: center;
  align-items: center;
  width: 100%;

}
.dealer img{
  width: 100%;
}
.dealer .multi{
  mix-blend-mode: multiply;
}

/*NEWS*/
.news{
  padding-top: 40px;
  width: 85%;
  margin: 0 auto;
}
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 20px 0 0 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #999;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #006441;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}

/* 装飾 */

.news *{
  box-sizing: border-box;
}
.news a{
  text-decoration: none;
}



/*footer-top*/
.footer-top{
  width: 85%;
  margin: 100px auto auto auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-item{
  width: 48%;
  margin-bottom: 30px;
}

.footer-item img{
  width: 100%;
  border-radius: 10px;
  transition-duration: 0.3s;
}
.footer-item img:hover{
  opacity: 0.7;
}

/*footer*/
footer{
  width: 100%;
  margin-top: 130px;
  padding: 100px 0;
  background-color: #373737;
}

.footer-container{
  width: 85%;
  margin: 0 auto;
}

.footer-logo{
  width: 15%;
  margin: 0 auto;
}
.footer-logo img{
  width: 100%;
}

.footer-sns{
  width: 15%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.footer-sns a{
  width: 100%;
  height: auto;
  text-align: center;
}
.footer-sns img{
  width: 55%;
  padding: 0 10px;
  transition-duration: 0.5s;
}
.footer-sns img:hover{
  opacity: 0.5;
}

.site-map{
  width: 100%;
  padding-top: 30px;
}

.site-map ul{
  text-align: center;
  display: flex;
  justify-content: center;
  color: white;
}

.site-map li{
  padding: 0 15px;
}
.site-map li a{
  color: white;
  text-decoration: none;
}
.site-map li a:hover{
  opacity: 0.7;
}

.copyright{
  color: gray;
  text-align: center;
  font-size: 10px;
  padding-top: 20px;
}







@media (max-width:767px){
  /*反応せんから前に出したcss*/
  .fix-sns{
    width: 12.5%;
  }
  header{
    width: 12.5%;
    top: 3%;
  }


  .intro-box h4{
    font-size: 20px;
  }


  .intro-main{
    flex-direction: column;
  }
  .intro-subcon, .lineup-container, .dealers, .news{
    width: 75%;
  }
  .intro-container .h2logo{
    width: 50px;
    height: 50px;
  }
  .intro-box{
    width: 100%;
  }
  .intro-text p{
    display: block;
    width: 90%;
    margin:auto 0 auto auto;
    padding-bottom: 70px;
    text-align: left;
    padding-top: 20px;
  }

  .about-button p{
    font-size: 15px;
    padding-right: 0;
  }
  .about-button{
    width: 75%;
    margin-top: 0;
  }
  .about-button::after{
    width: 7rem;
  }

  /*lineup*/
  .lineup-container{
    flex-direction: column;
  }
  .lineup-intro{
    width: 70%;
  }
  .lineup-box{
    width: 100%;
    padding: 0;
    margin: auto;
    margin-top: 40px;
  }
  .shop-button p{
    font-size: 15px;
  }
  .shop-button::after{
    width: 7.5rem;
  }

  .site-map ul{
    flex-direction: column;
    padding: 0;
  }
  .footer-logo {
    width: 40%;
  }
  .footer-sns {
    width: 40%;
  }

  /*dealers*/
  .dealer{
    grid-template-columns: repeat(3,30%);
    grid-gap: 10% 5%;
    width: 100%;

  /*固定SNS*/
  .fix-sns a{
    width: 100%;
    text-align: center;
  }

  .fix-sns img{
    width: 50%;
    text-align: center;
  }
  .fix-sns{
    width: 12.5%;
  }
  .fix-sns:before {
    height: 30px;
    width: 1px;
    top: -30%;
  }
  .fix-sns:after {
    height: 30px;
    width: 1px;
    bottom: -30%;
  }

  /*header*/
  header{
    width: 12.5%;
    top: 3%;
  }
  .header img{
    width: 30px;
    height: 30px;
  }

  .header .language-button:hover, .header img:hover{
    opacity: 0.6;
  }

  /*languageボタン*/
  .language-button{
    height: 25px;
    width: 36px;
    border: 1px solid #006441;
    font-size: 8px;
    border-radius: 0px;
    padding: 0;
  }

  /*lineup*/
  .lineup-container{
    width: 75%;
  }

  /*NEWS*/
  .news{
    padding-top: 20px;
    width: 85%;
    margin: 0 auto;
  }
  /*footer-top*/
  .footer-top{
    flex-direction: column;
    width: 75%;
  }
  .footer-item{
    width: 100%;
  }



}

@media (max-width:500px) {
  .slide .desktop{
    display: none;
  }
  .slide .mobile{
    display: block;
  }

  .slide img:nth-of-type(3) { animation-delay: 0s }
  .slide img:nth-of-type(4) { animation-delay: 4s }


}
