@charset "utf-8";

.tab_bridal a {
  display: block;
}

.pagination {
  text-align: center;
  margin: 0 auto;
  padding: 0 0 60px 0;
}

.pagination a {
  width: 100%;
  padding: 3px 7px;
  line-height: 1;
  margin: 0 4px;
  border-radius: 2em;
  color: #000;
  text-decoration: none;
  border: 1px solid #ddd;
}

.pagination .active {
  width: 100%;
  padding: 3px 7px;
  line-height: 1;
  border-radius: 2em;
  color: #ffffff;
  text-decoration: none;
  background-color: #dddddd;
}

.pagination a:hover {
  color: #ffffff;
  background-color: #dddddd;
}

.pagination .inactive {
  display: none;
}

.wp-pagenavi a,
.wp-pagenavi span {
  margin: 0 4px;
}

#top_shop .banner {
  margin-bottom: 40px;
}

#top_shop .banner a {
  opacity: 1;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}

#top_shop .banner a:hover {
  opacity: 0.7;
}

@media only screen and (max-width:767px) {
  #top_shop .banner {
    display: none;
  }

  #cm_banner2 .banner {
    padding: 15px;
  }

  #cm_banner2 .banner img {
    width: 100%;
    height: auto;
  }
}

.banner.lowerLayerPage {
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 40px;
}

.banner.lowerLayerPage a {
  opacity: 1;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}

.banner.lowerLayerPage a:hover {
  opacity: 0.7;
}

.banner.lowerLayerPage img {
  max-width: 100%;
  height: auto;
}

.topix.shopidhirosaki+.banner.lowerLayerPage,
.topix.shopidhachinohe+.banner.lowerLayerPage,
.topix.shopidaomori+.banner.lowerLayerPage,
.topix.shopidshinkokudo+.banner.lowerLayerPage {
  margin-bottom: 25px;
  padding-bottom: 0;
  display: block;
}

@media only screen and (max-width:767px) {
  .banner.lowerLayerPage {
    padding-bottom: 20px;
  }

  .banner.lowerLayerPage a:hover {
    opacity: 1;
  }
}
