@charset "utf-8";
/* ===================================================================
CSS information

 file name  : copy.css
 author     : Ability Consultant
 style info : コピー
=================================================================== */
.con_photo {
  max-width: 1100px;
  margin: 80px auto 100px;
}
.con_photo:after {
  content: "";
  display: table;
  clear: both;
}

@media only screen and (max-width: 1100px) {
  .con_photo {
    width: 95%;
  }
}
#contents .con_title:after {
  background: -svg-linear-gradient(top, rgba(47, 26, 0, 0.36) 0%, transparent 100%);
  background: -owg-linear-gradient(top, rgba(47, 26, 0, 0.36) 0%, transparent 100%);
  background: -webkit-linear-gradient(top, rgba(47, 26, 0, 0.36) 0%, transparent 100%);
  background: -moz-linear-gradient(top, rgba(47, 26, 0, 0.36) 0%, transparent 100%);
  background: -o-linear-gradient(top, rgba(47, 26, 0, 0.36) 0%, transparent 100%);
  background: linear-gradient(top, rgba(47, 26, 0, 0.36) 0%, transparent 100%);
  background: linear-gradient(to bottom, rgba(47, 26, 0, 0.36), transparent);
}

@media only screen and (min-width: 1101px) {
  #contents .con_title h2 {
    text-shadow: 10px 0 100px rgba(0, 0, 0, 0.2), 0 10px 100px rgba(0, 0, 0, 0.2), -10px 0 100px rgba(0, 0, 0, 0.2), 0 -10px 100px rgba(0, 0, 0, 0.2);
  }
}

@media print {
  #contents .con_title h2 {
    text-shadow: 10px 0 100px rgba(0, 0, 0, 0.2), 0 10px 100px rgba(0, 0, 0, 0.2), -10px 0 100px rgba(0, 0, 0, 0.2), 0 -10px 100px rgba(0, 0, 0, 0.2);
  }
}

.ie8 #contents .con_title h2 {
  text-shadow: 10px 0 100px rgba(0, 0, 0, 0.2), 0 10px 100px rgba(0, 0, 0, 0.2), -10px 0 100px rgba(0, 0, 0, 0.2), 0 -10px 100px rgba(0, 0, 0, 0.2);
}

@media only screen and (min-width: 768px) and (max-width: 1100px) {
  #contents .con_title h2 {
    text-shadow: 10px 0 50px rgba(0, 0, 0, 0.2), 0 10px 50px rgba(0, 0, 0, 0.2), -10px 0 50px rgba(0, 0, 0, 0.2), 0 -10px 50px rgba(0, 0, 0, 0.2);
  }
}

@media only screen and (max-width: 767px) {
  #contents .con_title h2 {
    text-shadow: 0.2em 0 1em rgba(0, 0, 0, 0.5), 0 0.2em 1em rgba(0, 0, 0, 0.5), -0.2em 0 1em rgba(0, 0, 0, 0.5), 0 -0.2em 1em rgba(0, 0, 0, 0.5);
  }
}
#footer {
  margin-top: 0 !important;
}

/* =======================
		#top_link
========================== */
#photo #top_link {
  width: 100%;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
}

#photo #top_link li {
  font-size: 1.2rem;
  width: 13%;
}
#photo #top_link li a {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid #ccc;
  background-color: #efefef;
  padding: 10px 0;
  font-size: 1.4rem;
  margin: 20px 1.2% 5px 0;
  text-decoration: none;
}
#photo #top_link .current a,
#photo #top_link li a:hover {
  background-color: #0b4871;
  color: #fff;
  text-decoration: none;
}
/*#tab #top_link li:nth-child(6), #tab #top_link li:nth-child(8) {
	margin: 0 0 5px 0;
}/* =======================
		Gallery
========================== */
#Gallery {
  padding-top: 5px;
  /* margin-left: 16px; */
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.gallery-item {
  width: 18%;
  line-height: 0.5;
  margin-left: 2.5%;
  margin-bottom: 3%;
}
.gallery-item:first-child,
.gallery-item:nth-child(5n + 1) {
  margin-left: 0;
}
.gallery-item a {
  display: block;
  text-decoration: none;
}
.gallery-item a:hover {
  opacity: 0.75;
}
.gallery-item a span {
  display: block;
  margin-top: 4px;
  line-height: 1.5;
  font-feature-settings: "palt";
  text-align: justify;
  letter-spacing: 1.3px;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 1000px) {
  .gallery-item a span {
    line-height: 1.2;
  }
  .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -15px;
  }
  .gallery-item a span {
    line-height: 1.5;
    font-size: 1em;
    margin: 18px 0 10px;
  }
  #tab #top_link {
    margin-left: 26px;
  }
  #tab #top_link li a {
    display: block;
    float: left;
    width: 16.5%;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #efefef;
    padding: 10px 0;
    font-size: 1.4rem;
    margin: 0 20px 5px 0;
  }
}
/*スマートフォン*/
@media screen and (max-width: 675px) {
  /* =======================
		.container
========================== */
  .container #h1 {
    line-height: 1.2;
  }

  /* =======================
		#top_link
========================== */
  #photo #top_link {
    margin-top: -40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #photo #top_link li {
    width: 32%;
  }
  #photo #top_link li a {
    margin: 5px auto;
  }

  /* =======================
		Gallery
========================== */
  .gallery-item {
    width: 33.33333333%;
    margin: 0;
  }
  .gallery-item a {
    margin: 5px;
  }
  #tab #top_link li a {
    width: 30.3%;
    margin: 0 2.6% 5px 0;
  }
  #Gallery {
    padding-top: 5px;
    margin-left: 0px;
  }
  .gallery-item a span {
    line-height: 1.5;
    font-size: 0.7em;
    margin: 18px 0;
  }
}
@media only screen and (min-width: 0px) {
  .gallery-item img {
    display: block;
    width: 30vw;
    height: 108px;
    object-fit: cover;
  }
}
@media only screen and (min-width: 768px) {
  .gallery-item img {
    display: block;
    width: 18vw;
    height: 131px;
    object-fit: cover;
  }
}
@media only screen and (min-width: 1024px) {
  .gallery-item img {
    display: block;
    width: 175px;
    height: 175px;
    object-fit: cover;
  }
}
@media only screen and (min-width: 1440px) {
  .gallery-item img {
    display: block;
    width: 198px;
    height: 198px;
    object-fit: cover;
  }
}
