@charset "utf-8";
/* CSS Document */
#shop h2 {
  font-size: 1.2em;
  text-align: center;
  background: linear-gradient(transparent 70%, #a7d282 70%);
  width: 8em;
  margin: 0 auto;
  margin-bottom: 15px;
  padding-top: 10px;
}
#shop section {
  margin-bottom: 0;
}
#shop p {
  text-align: center;
}
div .shop_info {
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 5px #a7d282 solid;
  background-color: rgba(250, 231, 186, 0.7);
  background-image: url("../img/bg_shop_g.png");
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 40%;
}
div .shop_info.food {
  border: 1px #f2a516 solid;
  border-bottom: 5px #f2a516 solid;
  border-radius: 10px;
}
div .shop_info.spot {
  border: 1px #6686bd solid;
  border-bottom: 5px #6686bd solid;
  border-radius: 10px;
}
.shop_info a {
    display: block;
  margin-left: 60%;
    margin-top: 5px;
  padding: 5px;
  color: #7e2c1e;
  border-radius: 10px;
  transition: 1s;
}
.food a {
  background: rgba(242, 165, 22, 0.5);
  border: 1px solid #f2a516;
}
.spot a {
  background: rgba(102, 134, 189, 0.5);
  border: 1px solid #6686bd;
}
#shop .flex {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}
#shop .flex li {
  display: block;
  padding: 5px;
}
#shop .mainImg img {
  width: 100%;
  height: auto;
}
#shop .subImg li {
  width: 20%;
  height: auto;
  padding-right: 5px;
}
#shop .subImg img {
  display: block;
  width: 100%;
  height: auto;
}
.shop_info a:active {
  padding: 5px;
  color: #fff;
  background: #61b859;
  border: 1px solid #61b859;

}
#shop_top .colm {
  float: none;
  margin-bottom: 5%;
  width: 90%;
}
#shop_top .colm p:first-child {
  font-size: 1.5em;
}
#shop_top img {
  display: none;
}
@media (min-width: 768px) {
  #nanohana {
    margin-bottom: 0;
  }
  #shop {
    display: block;
    margin: 0 auto;
    width: 95%;
  }
  div.shop_info {
    display: block;
    float: left;
    margin-right: 30px;
    width: 300px;
    height: 550px;
    border: 2px #a7d282 solid;
    border-bottom: 5px #a7d282 solid;
    border-radius: 10px;
    background-color: rgba(250, 231, 186, 0.7);
    background-image: url("../img/bg_shop.png");
    /*background-position: bottom;
	  background-repeat: repeat-x;*/
    background-size: contain;
  }
  #shop_top {
    display: flex;
    height: 200px;
    margin-bottom: 5%;
  }
  #shop_top div:nth-child(1) {
    width: 57%;
    background: url("../img/bg_shop_spot.jpg")center bottom no-repeat;
    background-size: cover;
    background-color: #fff; /* 背景色 */
    box-shadow: 0 0 5px 5px #fae7ba, 0 0 5px 3px #fae7ba inset; /* 影 */
    border-radius: 20% 60% 60% 50% / 80% 30% 70% 30%;
  }
  #shop_top div:nth-child(2) {
    width: 40%;
  }
  #shop_top .colm {
    height: auto;
    margin: auto 0;
    margin-left: 3%;
  }
  #shop .flex li:nth-child(1) {
    width: 300px;
    flex-shrink: 1;
  }
  #shop .flex li:nth-child(2) {
    width: 300px;
    flex-shrink: 1
  }
  .shop_info a:hover {
    padding: 5px;
    color: #fff;
    background: rgba(97, 184, 89, 0.5);
    border: 1px solid #61b859;
    border-radius: 50px;
  }
  #shop_top img {
    display: block;
  }
}
@keyframes moveimg {
  0% {
    left: -10px;
    top: 100px;
  }
  50% {
    left: 200px;
    top: 100px;
  }
  100% {
    left: 1500px;
    top: 200px;
  }
}
#shop_top img {
  animation: moveimg 5s infinite;
  position: relative;
}