@charset "utf-8";

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

li.none{
	display: none!important;
}

ul.box_img{
	list-style: none;
}

#works .wrapper {
    padding-bottom: 100px;
}

p.acname {
    margin: 0;
    line-height: 1.4;
    padding-top: 10px;
    font-weight: 700;
		font-size: 14px;
}

p.acname i {
    color: #e6007e;
}

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

.sort-btn li{
	width: 23%;
	font-size: 0.9rem;
	font-weight: bold;
	border-radius: 5px;
	line-height: 1.3;
	text-align: center;
	vertical-align: middle;
	transition: 0.1s ease-in-out;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	position: relative;
	height: 100%;
	padding: 15px 5px;
	-webkit-transition: all 0.5s ease!important;
	-moz-transition: all 0.5s ease!important;
	-o-transition: all 0.5s ease!important;
	transition: all  0.5s ease!important;
	margin: 0px 1% 20px 1%;
	background:#fff;
	color: #e6007e;
		border: 1px solid #e6007e;

}


.sort-btn li:hover{
color: #ffffff;
	border: 1px solid #e6007e;
background: #e6007e;
-webkit-transition: all 0.5s ease!important;
-moz-transition: all 0.5s ease!important;
-o-transition: all 0.5s ease!important;
transition: all  0.5s ease!important;

}

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


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

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: 50%;/*横並びで3つ表示*/
  z-index: 0;
	padding: 0 0.66%;
}

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

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

.workimg img:hover{
  opacity: 0.6;
	-webkit-transition: all 0.5s ease!important;
	-moz-transition: all 0.5s ease!important;
	-o-transition: all 0.5s ease!important;
	transition: all  0.5s ease!important;
}

.workimg{
background: #e6007e;
box-shadow: 3px 3px 10px 0px #e3e3e3;
}

span.workct {
    font-size: 0.9em;
    color: #666666;
    font-weight: normal;
	}

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

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

.item {
    width: 90%;
    margin: 5%;
}

.sort-btn li{
  width:48%;
  margin:0 0 10px 0;
  text-align:center;
  }
}


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

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


/*========= レイアウトのためのCSS ===============*/
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;
}
