@charset "UTF-8";
/* ===================================================================
CSS information

 file name  : photogallery.css
 author     : Ability Consultant
 style info : フォトギャラリー
=================================================================== */
.con_gallery {
  max-width: 1280px;
  margin: auto;
}
@media only screen and (max-width: 1280px) {
  .con_gallery {
    width: 95%;
  }
}
@media print {
  .con_gallery {
    width: 95%;
  }
}
.ie8 .con_gallery {
  width: 95%;
}

.con_gallery #gallery .box_list:after {
  content: "";
  display: table;
  clear: both;
}

/* -----------------------------------------------------------
	.con_gallery
----------------------------------------------------------- */
.con_gallery {
  margin-top: 40px;
  margin-bottom: 60px;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery {
    margin-top: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery {
    margin-top: 30px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery {
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery {
    margin-bottom: 30px;
  }
}
.con_gallery .box_nav {
  overflow: hidden;
  margin-bottom: 40px;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery .box_nav {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery .box_nav {
    margin-bottom: 20px;
  }
}
.con_gallery .box_nav ul {
  overflow: hidden;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
@media only screen and (max-width: 767px) {
  .con_gallery .box_nav ul {
    display: none;
  }
}
.con_gallery .box_nav ul li {
  width: 24.6%;
  margin: 0 0.2% 0.4%;
  float: left;
  display: table;
  border: solid 1px #000;
}
.con_gallery .box_nav ul li a {
  display: table-cell;
  text-decoration: none;
  text-align: center;
  padding: 10px;
}
.con_gallery .box_nav ul li a:hover, .con_gallery .box_nav ul li a.active {
  background: #000;
  color: #fff;
}
.con_gallery .box_nav ul li a:hover span:after, .con_gallery .box_nav ul li a.active span:after {
  color: #fff;
}
.con_gallery .box_nav ul li a i {
  margin-right: 0.4em;
  opacity: 0.6;
}
.con_gallery .box_nav .box_sp #cngSelect {
  width: 100%;
  height: 50px;
}
.con_gallery #gallery .box_list .list {
  cursor: pointer;
  float: left;
  padding: 0 5px;
  width: 25%;
  margin-bottom: 70px;
  visibility: visible;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery #gallery .box_list .list {
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery #gallery .box_list .list {
    margin-bottom: 40px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery #gallery .box_list .list {
    width: 33.33333%;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery #gallery .box_list .list {
    width: 50%;
  }
}
.con_gallery #gallery .box_list .list .img {
  overflow: hidden;
  margin-bottom: .5em;
  max-height: 205px;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery #gallery .box_list .list .img {
    height: 155px;
    overflow: hidden;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery #gallery .box_list .list .img {
    height: 100px;
    overflow: hidden;
  }
}
@media only screen and (min-width: 1025px) {
  .con_gallery #gallery .box_list .list .img img {
    width: 100% !important;
    max-width: 100% !important;
    width: auto;
    height: auto;
    display: block;
    padding: 0;
  }
}
@media print {
  .con_gallery #gallery .box_list .list .img img {
    width: 100% !important;
    max-width: 100% !important;
    width: auto;
    height: auto;
    display: block;
    padding: 0;
  }
}
.ie8 .con_gallery #gallery .box_list .list .img img {
  width: 100% !important;
  max-width: 100% !important;
  width: auto;
  height: auto;
  display: block;
  padding: 0;
}
.con_gallery #gallery .box_list .list .st {
  margin-bottom: .5em;
  letter-spacing: 0;
  font-weight: normal;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery #gallery .box_list .list .st {
    font-size: 93%;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery #gallery .box_list .list .st {
    font-size: 86%;
  }
}
.con_gallery #gallery .box_list .list .btn {
  margin-top: 0em;
}
.con_gallery #gallery .box_list .list .btn.orange a {
  max-width: 320px;
  display: inline-block;
  width: 100%;
  text-decoration: none !important;
  text-align: center;
  position: relative;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background: #e05f0a;
  border: 1px solid #e05f0a;
  color: #fff !important;
}
.con_gallery #gallery .box_list .list .btn.orange a span {
  font-size: 108%;
  padding: 1.2em;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .con_gallery #gallery .box_list .list .btn.orange a span {
    font-size: 108%;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery #gallery .box_list .list .btn.orange a span {
    font-size: 100%;
  }
}
@media only screen and (min-width: 896.5px) and (max-width: 1024px) {
  .con_gallery #gallery .box_list .list .btn.orange a span {
    font-size: 108%;
  }
}
.con_gallery #gallery .box_list .list .btn.orange a:hover {
  background: #c75000;
  border-color: #c75000;
}
.con_gallery #gallery .box_list .list .btn.orange a span {
  display: block;
}
.con_gallery #gallery .box_list .list .btn.orange a:after {
  content: "→";
  position: absolute;
  right: 1em;
  top: 50%;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.con_gallery #gallery .box_list .list .btn.orange a:hover:after {
  right: 0.5em;
}
@media only screen and (max-width: 767px) {
  .con_gallery #gallery .box_list .list .btn.orange a span {
    padding: 1.0em .5em;
  }
}
@media only screen and (max-width: 767px) {
  .con_gallery #gallery .box_list .list .btn.orange a:after {
    right: .3em;
  }
}

#cboxOverlay {
  background: #000;
}

#cboxLoadedContent {
  background: #fff;
}

#cboxLoadedContent {
  padding: 0;
  overflow: auto;
  -moz-box-shadow: 0px 1px 10px #000000;
  -webkit-box-shadow: 0px 1px 10px #000000;
  box-shadow: 0px 1px 10px #000000;
}

#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
  top: -30px;
}

#colorbox, #cboxOverlay, #cboxWrapper {
  overflow: visible;
}

#cboxTitle {
  color: #fff;
  bottom: -45px;
}

#inline-content {
  /* インラインを使用する時のみ */
  margin: 20px;
}

#ajax-wrap {
  /* ajaxを使用する時のみ */
  margin: 20px;
}
