@charset "UTF-8";
/* CSS Document */
.photo_gallery__title {
  padding: 110px 45px 30px;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}
.photo_gallery__title img {
  width: 80%;
}
.photo_gallery__title h2 {
  font-size: 4.0rem;
  font-family: Cormorant Garamond;
  color: #9CA2A8;
  font-weight: 300;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
@media(min-width: 960px){
  .photo_gallery__title {
    padding-top: 150px;
    margin: 0;
    text-align: left;
    max-width: 400px;
  }
  .photo_gallery__title h2 {
    font-size: 5.0rem;
    left: 45%;
    width: 80%;
    padding-left: 40px;
  }
}
.sort-btn{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding:0px 20px 50px;
  font-family: Cormorant Garamond;
  font-size: 2.0rem;
}

.sort-btn li{
  list-style:none;
	cursor: pointer;
	padding: 10px 10px 5px 10px;
	margin:0 10px;
}

.sort-btn li.active{
	opacity: 0.5;
  border-bottom: solid 0.5px #5A5E62;
}
/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 480px) {
.sort-btn{
  gap: 5%;
  max-width: 250px;
  margin: 0 auto;
  font-size: 1.6rem;
}
	
.sort-btn li{
	width:30%;
	margin:0 0 10px 0;
	text-align:center;
	}	
  
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
  position: relative;/*並び替えの基準点を指定*/
}

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

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 15px;
}

.grid{
  margin: 0 auto;
  max-width: 990px;
}
/*画像の横幅を100%にしてレスポンシブ化*/
.grid img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

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