@charset "utf-8";
.topcopy {
  max-width: 685px;
  margin-left: auto;
  margin-right: auto;
  right: 0;
  left: 0;
  top: 40px;
  margin-top: 42px;
  position: absolute;
}
/* CSS Document */
.topmain {
  height: calc(100vh - 80px);
  background-image: url(../img/top4.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-bottom: 100px;
  position: relative;
}
/*画像スクロール*/
.loop {
  width: 100%;
  height: 550px;
  background: url('../img/top-sc.jpg') repeat-x;
  background-size: cover;
  animation: scroll-anim 40s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes scroll-anim {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -1860px 0; /*-1000px部分は画像の横幅と同じ数値*/
  }
}
.top3 > div {
  width: 32%;
}
.top3 div dl {
  position: relative;
}
.top3 div dl dt {
  background-color: #FEBF00;
  color: #FFFFFF;
  border-radius: 164px;
  padding: 30px 20px;
  right: 0;
  left: 0;
  position: absolute;
  top: -60px;
  width: 90px;
  margin-left: auto;
  margin-right: auto;
}
.top3 div dl dd {
  background-color: #FFFFFF;
  border: 5px solid #FFBF00;
  padding: 20px;
}
dl dd span {
  display: block;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
  font-size: 1.2rem;
}
.toku {
  background-image: url(../img/top/bk-toku.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 80px;
  padding-bottom: 80px;
}
.toku p, .toku dt, .toku dd {
  color: #FFFFFF;
}
.toku > div {
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-justify-content: space-between; /* Safari */
  justify-content: center;
  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap: wrap;
  align-items: center;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.toku div div:nth-child(1) {
  width: 68%;
  margin-right: 2%;
}
.toku div div:nth-child(2) {
  width: 30%;
}
.toku div p {
  font-size: 1.6rem;
  margin-bottom: 30px;
}
.toku dt {
  position: relative;
  font-size: 1.4rem;
}
.toku dt::before {
  font-family: fontAwesome;
  content: '\f14a';
  margin-right: 10px;
}
.toku dd {
  padding-left: 32px;
  margin-bottom: 15px;
}
.renkei {
  padding-top: 80px;
  padding-bottom: 80px;
}
h2.yama + p {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}
.futu {
  display: flex;
  position: relative;
}
.futu > div {
  width: 50%;
  padding-bottom: 40px;
}
.futu > div:nth-child(1) {
  background-color: #000000;
  padding-top: 25%;
  background-image: url(../img/top/car1.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.futu > div:nth-child(2) {
  background-color: #171F39;
  padding-top: 25%;
  background-image: url(../img/top/car2.jpg);
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.futu div p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  color: rgba(176, 145, 10, 1.00);
}
.futu div p:nth-child(1) {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.6rem;
}
.eraberuyo {
  position: relative;
}
.eraberuyo .eraberu {
  position: absolute;
  z-index: 9;
  max-width: 300px;
  background-color: rgba(255, 255, 255, 0.50);
  padding: 13px;
  margin-left: auto;
  margin-right: auto;
  right: 0;
  left: 0;
  text-align: center;
  top: 71px;
  color: rgba(31, 76, 171, 1.00);
  font-weight: bold;
}
div .b-syaryou {
}

div .b-syaryou a {
    display: block;
    text-align: center;
    background-color: rgba(255,255,255,0.50);
    padding: 10px;
    margin-top: 20px;
}

@media screen and (min-width:601px) {
  .top3 {
    padding-left: 20px;
    padding-right: 20px;
    display: -webkit-flex; /* Safari */
    display: flex;
    -webkit-justify-content: space-between; /* Safari */
    justify-content: space-between;
    -webkit-flex-wrap: wrap; /* Safari */
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  .top3 > div {
    width: 32%;
    position: relative;
    margin-top: 30px;
  }
  .top3 div dl dd {
    min-height: 220px;
  }
}
@media screen and (max-width:600px) {
  .loop {
    width: 100%;
    height: auto;
    background: url('../img/top-sc.jpg') repeat-x;
    background-size: cover;
    animation: scroll-anim 100s linear infinite;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }
  @keyframes scroll-anim {
    from {
      background-position: 0 0;
    }
    to {
      background-position: -1860px 0; /*-1000px部分は画像の横幅と同じ数値*/
    }
  }
  .top3 div dl dd {
    background-color: #FFFFFF;
    border: 5px solid #FFBF00;
    padding: 20px;
  }
  .top3 > div {
    width: 100%;
    margin-bottom: 77px;
    position: relative;
    margin-top: 60px;
  }
  /* CSS Document */
  .topmain {
    margin-top: 70px;
    height: calc(100vh - 80px);
    background-image: url(../img/top5sp.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-bottom: 100px;
  }
  .topcopy {
    max-width: 685px;
    right: 0;
    left: 0;
    top: 40px;
    margin-top: 42px;
    position: absolute;
    margin-left: 20px;
    margin-right: 20px;
  }
  .toku div div:nth-child(1) {
    width: 99%;
    margin-right: 2%;
    margin-bottom: 20px;
  }
  .toku div div:nth-child(2) {
    width: 75%;
  }
  .toku div p {
    font-size: 6vw;
    margin-bottom: 30px;
    text-align: center;
  }
  .toku dt {
    position: relative;
    font-size: 5vw;
  }
  .toku dd {
    padding-left: 32px;
    margin-bottom: 15px;
    font-size: 3vw;
  }
  .futu > div {
    width: 100%;
  }
  .futu > div:nth-child(1) {
    background-color: #000000;
    padding-top: 45%;
    background-image: url(../img/top/car1.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    background-size: 100% auto;
    padding-bottom: 21px;
  }
  .futu > div:nth-child(2) {
    background-color: #171F39;
    padding-top: 45%;
    background-image: url(../img/top/car2.jpg);
    background-repeat: no-repeat;
    width: 100%;
    background-size: 100% auto;
    background-position: center top;
    padding-bottom: 20px;
  }
  .futu {
    display: block;
  }
  .eraberuyo .eraberu {
    position: absolute;
    z-index: 9;
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.50);
    padding: 13px;
    margin-left: auto;
    margin-right: auto;
    right: 0;
    left: 0;
    text-align: center;
    top: -4%;
    color: rgba(31, 76, 171, 1.00);
    font-weight: bold;
  }
  .futu div p:nth-child(1) {
    text-align: center;
    margin-bottom: 10px;
    font-size: 5vw;
  }
  .futu div p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 3vw;
  }
}
