@charset "utf-8";
/* CSS Information========

Table of Contents:
 * info
 
========================== */
html {
  scroll-behavior: auto;
}
/*スマートフォン*/
@media screen and (min-width: 0px) {
  /* =======================
	　コンテンツ
========================== */
  #container .topicpath {
    margin-bottom: 60px;
  }
  #container {
    width: 90%;
    margin: 10px auto 50px;
  }
  .list_photo {
    width: 90%;
    margin: auto;
  }
  .list_photo ul {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
  }
  .list_photo ul li {
    text-align: center;
    border-left: 1px solid #ccc;
    margin-bottom: 12px;
  }
  .list_photo ul li:nth-child(2n) {
    border-right: 1px solid #ccc;
  }
  .list_photo ul li:last-child {
    border-right: 1px solid #ccc;
  }
  .list_photo ul li a {
    position: relative;
    display: inline-block;
    color: #333;
    padding-bottom: 15px;
    text-decoration: none;
  }
  .list_photo ul li a:before {
    border-right: 1px solid #383838;
    border-top: 1px solid #383838;
    bottom: 7px;
    content: " ";
    height: 5px;
    right: 40%;
    position: absolute;
    -webkit-transform: translateX(-50%) rotate(135deg);
    transform: translateX(-50%) rotate(135deg);
    width: 5px;
  }
  .photo_type {
    margin: 35px auto;
  }
  .gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .gallery-item {
    width: 32.33333333%;
    line-height: 1.4;
    margin: 0 5px 5px 0;
  }
  .gallery-item:nth-child(3n) {
    margin-right: 0;
  }
  .gallery-item a {
    font-size: 11px;
    display: block;
  }
}
/*タブレット*/
@media screen and (min-width: 768px) {
  .list_photo {
    width: 100%;
  }
  .list_photo ul {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }
  .list_photo ul li {
    font-size: 16px;
  }
  .list_photo ul li:nth-child(2n) {
    border-right: none;
  }
  .list_photo ul li:last-child {
    border-right: 1px solid #ccc;
  }
  .gallery-item {
    width: 19.4%;
  }
  .gallery-item a {
    display: block;
    line-height: 1.4;
  }
  .gallery-item:nth-child(3n) {
    margin-right: 5px;
  }
  .gallery-item:nth-child(5n) {
    margin-right: 0;
  }
}
/*タブレット(横)*/
@media screen and (min-width: 1024px) {
  .gallery {
    width: 900px;
    margin: 0 auto;
  }
}
/* PCページ */
@media screen and (min-width: 1025px) {
  /* =======================
	　コンテンツ
========================== */
  #container {
    width: 1000px;
    margin: 10px auto 30px;
  }
  .photo_type {
    margin-bottom: 40px;
  }
  .gallery {
    width: 1000px;
    margin: 0 auto;
  }
  .gallery-item {
    width: 196px;
    line-height: 0.5;
  }
}
