@charset "utf-8";
/* CSS Information========

Table of Contents:
 * photo gallery
 
========================== */

/* =======================
		main
========================== */
.main_sp {
  margin-top: 66px;
}
/* =======================
		.container
========================== */
#container {
  width: 96%;
  margin: 0 auto;
  border: none;
  text-align: left;
}
#container h2,
h3,
h4 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}
.topicpath {
  margin-bottom: 20px;
}
.pan {
  line-height: 1.8;
}
.topicpath dd {
  margin: 5px 0 0 0;
}
/* =======================
		#top_link
========================== */
#tab {
  width: 100%;
  margin: 0 auto;
}
#tab #top_link {
  width: 98%;
  display: grid;
  align-items: center;
  flex-wrap: wrap;
  margin: -70px auto 0;
  padding-top: 70px;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
#tab #top_link li {
  font-size: 1.2rem;
}
#tab #top_link li a {
  text-align: center;
  border: 1px solid #ccc;
  background-color: #efefef;
  padding: 10px 0;
  font-size: 1.4rem;
  width: 100%;
  display: block;
}
#tab #top_link .takasa {
  margin-top: -5px;
}
#tab #top_link .current a,
#tab #top_link li a:hover {
  background-color: #144a72;
  color: #fff;
  text-decoration: none;
}

/* =======================
		Gallery
========================== */
#Gallery {
  padding: 15px 0 60px;
}
.gallery-item {
  width: 33.33333333%;
  float: left;
}
.gallery-item a {
  margin: 5px;
  font-size: 1.1rem;
  display: block;
}
.gallery-item a:hover {
  text-decoration: none;
  opacity: 0.75;
}
.gallery-item a span {
  display: block;
  padding: 5px 0;
}
.gallery-item a img {
  padding-bottom: 3px;
}
/* =======================
		footer上
========================== */
.to_top a {
  float: right;
  margin-right: 370px;
}

/*　タブレット用　*/
@media only screen and (min-width: 768px) {
  #container h2,
  h3,
  h4 {
    font-size: 3rem;
    margin-bottom: 40px;
  }
  #tab #top_link {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 8px;
  }
  .gallery-item {
    width: 20%;
    float: left;
  }
  .container #h1 {
    text-align: center;
    font-size: 3rem;
    line-height: 1.3;
    margin: 15px 0 35px 0;
    font-weight: normal;
    letter-spacing: 0.1em;
  }
  #main {
    margin-top: 78px;
  }
  /* =======================
		container
========================== */
  #container .topicpath {
    margin-bottom: 40px;
  }
  /* =======================
		footer
========================== */
  .gallery-item a {
    display: block;
    line-height: 2;
  }
  .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/*　タブレット横　*/
@media only screen and (min-width: 1024px) {
  /* =======================
		Gallery
========================== */
  .gallery {
    width: 900px;
    margin: 0 auto;
  }
  .gallery-item {
    width: 150px;
    float: left;
  }
  #container .topicpath {
    width: 90%;
    margin: 0 auto 50px auto;
  }
  #container .topicpath {
    font-size: 1.2rem;
  }
  #tab {
    width: 900px;
    margin: 0 auto;
  }
  #tab #top_link li a {
    padding: 15px 0;
  }
}

/*　PC　*/
@media only screen and (min-width: 1200px) {
  /*----------------------------------------
	hero_image
----------------------------------------*/
  #hero_image img {
    width: 100%;
  }
  /*----------------------------------------
	container
----------------------------------------*/
  #container .topicpath {
    width: 1050px;
  }
  /* =======================
		Gallery
========================== */
  #Gallery {
    padding: 20px 0 60px;
  }
  .gallery-item {
    float: left;
    width: 200px;
    line-height: 0.5;
    margin-left: 1.6%;
    margin-right: 1.6%;
    margin-bottom: 3%;
  }
  .gallery-item a {
    display: block;
  }
  .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
  }
  #tab {
    width: 1050px;
    margin: 0 auto;
  }
  .gallery {
    width: 1050px;
    margin: 0 auto;
  }
  .gallery-item {
    margin: 5px;
  }

  #group_link {
    border-top: #ccc 1px solid;
  }
}
