@charset "utf-8";
/* ----------------------------------------
 select-box
------------------------------------------- */
#select-box ul {
  overflow: hidden;
}
#select-box ul li {
  float: left;
  width: 32%;
  margin-right: 2%;
}
#select-box ul li:nth-child(3n) {
  margin-right: 0;
}
#select-box ul li a {
  display: block;
  color: #fff;
  background-color: #2e71d5;
  font-size: 1.8rem;
  text-align: center;
  box-sizing: border-box;
  padding: 20px 10px;
}
#select-box ul li a::after {
  font-family: 'FontAwesome';
  content: "\f054";
  display: inline-block;
  color: #c3d6f1;
  font-size: 1.3rem;
  margin-left: 10px;
}
/* ----------------------------------------
 gallery
------------------------------------------- */
#gallery ul {
  overflow: hidden;
}
#gallery li {
  float: left;
  width: 23%;
  text-align: center;
  margin-right: 2.6%;
  margin-bottom: 30px;
}
#gallery li:nth-child(4n) {
  margin-right: 0;
}
#gallery .img-box {
  display: block;
  width: 100%;
  padding-top: 75%;
  position: relative;
  margin-bottom: 10px;
}
#gallery .img-box img {
  position: absolute;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  margin-bottom: 6px;
  -webkit-transition: 0.4s ease-in-out;
  -moz-transition: 0.4s ease-in-out;
  -o-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
.listgroup li a:hover img {
  opacity: 0.4;
  filter: alpha(opacity=40);
}
/* ----------------------------------------
detail
------------------------------------------- */
#detail .float-l {
  width: 35%;
}
#detail .float-r {
  width: 60%;
}
#detail h3 {
  margin-bottom: 15px;
}
/* ----------------------------------------
detail-gallery
------------------------------------------- */
.ImgMain {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto 50px auto;
}
.ImgMain img {
  max-width: 100%;
  height: auto;
}
#detail-gallery ul {
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;
}
#detail-gallery li {
  float: left;
  position: relative;
  width: 15%;
  text-align: center;
  margin: 0 2% 0 0;
}
#detail-gallery li:nth-child(6n) {
  margin: 0 0 0 0;
}
#detail-gallery .img-box {
  display: block;
  width: 100%;
  padding-top: 75%;
  position: relative;
}
#detail-gallery .img-box img {
  position: absolute;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  margin-bottom: 6px;
  -webkit-transition: 0.4s ease-in-out;
  -moz-transition: 0.4s ease-in-out;
  -o-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
#detail-gallery .img-box img:hover {
  opacity: 0.4;
  filter: alpha(opacity=40);
}
.detail-txt {
  margin-bottom: 50px;
}
/* ----------------------------------------
pageNav
------------------------------------------- */
ul.pageNav {
  margin: 0 0 60px;
  text-align: center;
}
ul.pageNav li {
  display: inline;
  margin: 0 2px;
  padding: 0;
}
ul.pageNav li a {
  display: inline-block;
  margin-bottom: 5px;
  padding: 1px 8px;
  border: 1px solid #aaa;
  text-decoration: none;
  vertical-align: middle;
}
ul.pageNav li .current_page_number {
  display: inline-block;
  margin-bottom: 5px;
  padding: 1px 8px;
  color: #fff;
  background-color: #2e71d5;
  border: 1px solid #2e71d5;
  text-decoration: none;
  vertical-align: middle;
}
/* =======================
  PC
======================== */
@media screen and (min-width: 1200px) {}
/* =======================
  TABLET
======================== */
@media screen and (max-width:1199px) {}
/* =======================
  SP
======================== */
@media screen and (max-width: 799px) {
  /* ----------------------------------------
 select-box
------------------------------------------- */
  #select-box ul li {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  #select-box ul li:last-child {
    margin-bottom: 0;
  }
  #select-box ul li a {
    font-size: 1.6rem;
    padding: 15px 10px;
  }
  #select-box ul li a::after {
    font-size: 1.3rem;
  }
  /* ----------------------------------------
 gallery
------------------------------------------- */
  #gallery li {
    width: 48%;
    font-size: 1.3rem;
    margin-right: 4%;
    margin-bottom: 20px;
  }
  #gallery li:nth-child(5n) {
    margin-right: 4%;
  }
  #gallery li:nth-child(2n) {
    margin-right: 0;
  }
  /* ----------------------------------------
detail-gallery
------------------------------------------- */
  #detail-gallery .img-box {
    margin-bottom: 0;
  }
  .ImgMain {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto 15px auto;
  }
  .ImgMain img {
    max-width: 100%;
    height: auto;
  }
  #detail-gallery ul {
    margin-bottom: 10px;
  }
  #detail-gallery li {
    float: left;
    position: relative;
    width: 30%;
    text-align: center;
    margin: 0 5% 15px 0;
  }
  #detail-gallery li:nth-child(3n) {
    margin: 0 0 15px 0;
  }
  .detail-txt {
    margin-bottom: 30px;
  }
}