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

 file name  : copy.css
 author     : Ability Consultant
 style info : コピー
=================================================================== */
/* -----------------------------------------------------------
	#contents
----------------------------------------------------------- */
#contents .con_main_title {
  height: 100vh;
}
@media only screen and (max-width: 767px) {
  #contents .con_main_title {
    height: calc(100vh - 75px);
  }
}
#contents .con_main_title .box_main_title .box_head .sst {
  margin-left: 180px;
}

.gallery_link {
  max-width: 1200px;
  width: 85%;
  margin: auto;
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .gallery_link {
    margin-top: 3em;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link {
    margin-top: 3em;
  }
}
.gallery_link li {
  margin-bottom: 30px;
  width: 20%;
  border-left: 1px solid #c8c8c8;
  cursor: pointer;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .gallery_link li {
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link li {
    margin-bottom: 10px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .gallery_link li {
    width: 25%;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link li {
    width: 50%;
  }
}
.gallery_link li a {
  width: 100%;
  display: block;
  text-align: center;
  padding: 1em;
  text-decoration: none;
  color: #000;
  line-height: 1.5;
  position: relative;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .gallery_link li a {
    padding: 0.5em;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link li a {
    padding: 0.3em 0.4em;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link li a {
    font-size: 80%;
  }
}
.gallery_link li a:before {
  content: '';
  position: absolute;
  width: .5em;
  height: .5em;
  background: #84c217;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  top: -20px;
  left: calc(50% - .25em);
  opacity: 0;
  -webkit-transition: .3s;
  transition: .3s;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .gallery_link li a:before {
    top: -17px;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link li a:before {
    top: -11px;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link li a:before {
    width: .45em;
    height: .45em;
  }
}
.gallery_link li a:hover:before {
  opacity: 1;
}
.gallery_link li a.active {
  background: #c8c8c8;
  color: #000;
}
.gallery_link li a.active:before {
  opacity: 1;
}
@media only screen and (min-width: 1200px) {
  .gallery_link li:nth-child(5n) {
    border-right: 1px solid #c8c8c8;
  }
}
@media print {
  .gallery_link li:nth-child(5n) {
    border-right: 1px solid #c8c8c8;
  }
}
.ie8 .gallery_link li:nth-child(5n) {
  border-right: 1px solid #c8c8c8;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .gallery_link li:nth-child(4n) {
    border-right: 1px solid #c8c8c8;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_link li:nth-child(2n) {
    border-right: 1px solid #c8c8c8;
  }
}

.box_gallery {
  max-width: 1668px;
  width: 98%;
  margin: auto;
  margin-top: 120px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .box_gallery {
    margin-top: 5em;
  }
}
@media only screen and (max-width: 767px) {
  .box_gallery {
    margin-top: 4em;
  }
}
.box_gallery .panel {
  display: none;
  width: 100%;
}
.box_gallery .panel:first-child {
  display: block;
}
.box_gallery .panel ul {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
}
.box_gallery .panel ul li {
  display: block;
  width: calc((100% - 144px) / 3);
  position: relative;
  margin: 0 24px;
  margin-bottom: 48px;
  position: relative;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .box_gallery .panel ul li {
    width: calc((100% - 60px) / 2);
  }
}
@media only screen and (max-width: 767px) {
  .box_gallery .panel ul li {
    width: calc(50% - 10px);
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .box_gallery .panel ul li {
    margin: 0 15px;
  }
}
@media only screen and (max-width: 767px) {
  .box_gallery .panel ul li {
    margin: 0 5px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .box_gallery .panel ul li {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .box_gallery .panel ul li {
    margin-bottom: 10px;
  }
}
.box_gallery .panel ul li a {
  display: block;
  position: relative;
}
.box_gallery .panel ul li a:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  padding-bottom: 62%;
}
.box_gallery .panel ul li a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.box_gallery .panel .inner {
  position: relative;
}
.box_gallery .panel .inner > ul {
  display: none;
}
.box_gallery .panel .inner > ul.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.btn {
  width: 90%;
  margin: auto;
  margin-top: 52px;
  background: #333 url("../images/common/bg_btn.jpg") repeat-x center center;
  text-align: center;
  color: #fff;
  font-size: 87%;
  position: relative;
  max-width: 280px;
  cursor: pointer;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .btn {
    margin-top: 40px;
  }
}
@media only screen and (max-width: 767px) {
  .btn {
    margin-top: 2em;
  }
}
@media only screen and (max-width: 767px) {
  .btn {
    max-width: 100%;
  }
}
.btn span {
  border: 1px solid #333;
  color: #fff;
  display: block;
  padding: 5% 2%;
}
@media only screen and (min-width: 768px) {
  .btn span {
    padding: 20px;
  }
}
@media print {
  .btn span {
    padding: 20px;
  }
}
.ie8 .btn span {
  padding: 20px;
}
.btn:after {
  content: "";
  background: url("../images/common/ic_btn.png") no-repeat center center;
  width: 15px;
  height: 7px;
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.btn:hover span {
  background: #fff;
  color: #333;
}
.btn:hover:after {
  background: url("../images/common/ic_btn_hover.png") no-repeat center center;
  right: 15px;
}

.mfp-container {
  position: relative;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  max-width: 80%;
  left: 50% !important;
  top: 50% !important;
  -webkit-transform: translate(-50%, -50%) !important;
          transform: translate(-50%, -50%) !important;
}
.mfp-container .mfp-content {
  height: auto !important;
}
.mfp-container .mfp-content .mfp-figure .close-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 0;
  bottom: calc(100% + 1em);
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .mfp-container .mfp-content .mfp-figure .close-icon {
    width: 1em;
    height: 1em;
    bottom: calc(100% + 1em);
  }
}
.mfp-container .mfp-content .mfp-figure .close-icon:before, .mfp-container .mfp-content .mfp-figure .close-icon:after {
  position: absolute;
  content: "";
  display: block;
  width: 141.4%;
  height: 2px;
  background-color: #fff;
  left: 0;
  top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transform-origin: left center;
          transform-origin: left center;
}
.mfp-container .mfp-content .mfp-figure .close-icon:after {
  -webkit-transform-origin: right center;
          transform-origin: right center;
  right: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  left: auto;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  cursor: pointer;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",  "MS Ｐゴシック", "MS PGothic", "メイリオ", "Meiryo", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, sans-serif;
  width: 1em;
  height: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.gallery-arrow-left {
  left: -45px;
}
@media only screen and (max-width: 767px) {
  .gallery-arrow-left {
    left: -30px;
  }
}

.gallery-arrow-right {
  right: -45px;
}
@media only screen and (max-width: 767px) {
  .gallery-arrow-right {
    right: -30px;
  }
}

.gallery-arrow-left:before {
  content: '\f3d5';
  font-family: "Ionicons";
  color: #fff;
  font-size: 334%;
}

.gallery-arrow-right:before {
  content: '\f3d6';
  font-family: "Ionicons";
  color: #fff;
  font-size: 334%;
}

.mfp-wrap {
  cursor: default !important;
}

.mfp-counter {
  display: none;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  width: auto !important;
  cursor: pointer !important;
}

.mfp-title {
  max-width: 100%;
  margin-top: 1em;
  color: #fff !important;
  text-align: center;
}

img.mfp-img {
  padding: 0 !important;
  margin: 0 auto !important;
}

.mfp-bottom-bar {
  padding: 0.6em 1em;
  min-height: 3em;
  letter-spacing: 0.1em;
  line-height: 1.66667;
  margin-top: -1px !important;
}
@media only screen and (max-width: 1199px) {
  .mfp-bottom-bar {
    padding: .6em;
  }
}
.mfp-bottom-bar .mfp-title {
  color: #000;
}
.mfp-bottom-bar .mfp-counter {
  top: .6em;
  right: 1em;
  color: #000;
}
@media only screen and (max-width: 1199px) {
  .mfp-bottom-bar .mfp-counter {
    top: .6em;
    right: .6em;
  }
}

.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.mfp-preloader {
  min-width: 300px;
}
