@charset "utf-8";

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

/*＝＝＝並び替えボタンのCSS*/
.sort-btn{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding: 30px 50px 20px;
}

.sort-btn li{
	background:#e5f5fd;
	border-radius:3px;
	cursor: pointer;
	padding: 20px 50px 20px 50px;
	margin:0 10px;
}

.sort-btn li.active{/*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
	background:#00a0e9;
	color: white;
}

.galtxt {
 display: block;
 margin-top: 10px;
 text-align: center;
}

/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 480px) {
.sort-btn{
	justify-content: space-between;
}
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
    position: relative;
    /* float: left; */
    /* width: 100%; */
    display: flex;
}

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

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

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

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

.grid {
    position: relative;
    /* float: left; */
    width: 100%;
    text-align: center;
    display: block;
}
	
.sort-btn li {
    background: #e5f5fd;
    border-radius: 3px;
    cursor: pointer;
	text-align: center;
    padding: 20px 20px 20px 20px;
    margin: 10px 10px;
}	
		
.sort-btn{
	padding:20px 10px;
}
	
.sort-btn li {
     width: 42%;
    }
	
	
}

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

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


/*========= レイアウトのためのCSS ===============*/

a[data-fancybox] img {
  cursor: zoom-in;
  width: 300px;
}


ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
}

a:hover,
a:active{
	text-decoration: none;
}

h1{
	text-align: center;
	font-size:6vw;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin:30px 0;
}

p{
	margin:0 10px 10px 10px;
	word-wrap : break-word;
}