@charset "utf-8";

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}


.cover {
  background-color: #fff;
  width: 100%;
  height: 300px;
  font-family: 'Shippori Mincho B1', serif;
}

.cover h1 {
  margin: 150px 0 0 100px;
  font-size: 50px;
  text-align: left;
}

@media screen and (max-width:767px) {
  .cover {
    display: none;
  }

}
/*横幅が767px以下になった場合の画像配置*/

@media screen and (max-width: 767px) {

  #gallery-main-contents {
    margin-top: 85vw;
  }

  .contents {
    display: block;
  }

}

@media screen and (min-width: 767px) {

  ul.grid.muuri{
  margin-left: 90px;}

  .update p {
    text-align: center;
    font-family: serif;
  }
}

/*==================================================
ギャラリーのためのcss
===================================*/



/*＝＝＝Muuriのレイアウトのための調整 */

.grid {
  position: relative;
  /*並び替えの基準点を指定*/
  margin: 0 auto;
}

.grid img {
  width: 80%;
}

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: 23%;
  /*横並びで4つ表示*/
  z-index: 1;
  list-style: none;
  left: 0;
  text-align: center
}

.imcaption {
  font-family: 'Shippori Mincho B1', serif;
}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {

  .grid {
    margin-top: 10vw;
  }

  .item {
    width: 100%;
    /*横並びで1つ表示*/
  }

  .grid img {
    width: 90%;
  }
}

/*＝＝＝fancyboxサムネイル背景と画像選択時の枠線の指定*/
.fancybox-thumbs {
  background: transparent !important;
}

.fancybox-thumbs__list a:before {
  border: 6px solid #FA999B;
}

figcaption {
  text-align: center;
  font-family: serif;
}

img {
  transition: all 0.5s ease-in-out;
}