@charset "utf-8";

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

.wrapper {
	position: relative;
	height: 100%;
}
.work-detail {
	position: inherit;
}
.gallery{
columns: 4;/*段組みの数*/
padding:0 15px;/*ギャラリー左右に余白をつける*/
}

.gallery li {
    margin-bottom: 20px;/*各画像下に余白をつける*/
}

/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/}

/*　横幅900px以下の段組み設定　*/
@media only screen and (max-width: 900px) {
	.gallery{
	columns:3;
	}	
}

@media only screen and (max-width: 768px) {
	.gallery{
	columns: 2;
	}	
}


/*========= レイアウトのための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;
	padding: 5% 0;
}
.prev-next-link {
	width: 100%;
	display: flex;
	justify-content: space-around;
	background-color: #d0a727;
	margin-bottom: 5%;
}
.prev-next-link li {
    text-align: center;
	flex: 1;
}
.prev-next-link li a {
	padding: 10% 0;
}
.prev-next-link .list-link {
	border-left: 1px solid #667572;
	border-right: 1px solid #667572;
}
.prev-next-link li:hover {
	opacity: 0.6;
	background-color: #f6f6f6;
}
.prev-next-link li a {
    display: block;
    text-decoration: none;
}
.prev-next-link li a p{
    margin: 0;
	position: relative;
}
.prev-next-link .prev-link {
	padding-left: 1%;
}
.prev-next-link .next-link {
	padding-right: 1%;
}
.prev-next-link .prev-link a p::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0px;
  border-top: solid 3px #667572;
  border-right: solid 3px #667572;
  -ms-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  position: absolute;
  top: 25%;
  left: 15%;
}
.prev-next-link .next-link a p::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0px;
  border-top: solid 3px #667572;
  border-right: solid 3px #667572;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 25%;
  right: 15%;
}
p{
	margin:0 10px 10px 10px;
	word-wrap : break-word;
	font-family: "MS Serif", "New York", "serif";
	letter-spacing: .2em;
  line-height: normal;
}
.concept {
	margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px #d0a727;
    border-bottom: solid 2px #d0a727;
}
.concept:before, .concept:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #d0a727;
}
.concept:before {left: 10px;}
.concept:after {right: 10px;}


/*画像を出現させるアニメーションCSS*/

.flipLeft{
animation-name: flipLeft;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity: 0;
}

@keyframes flipLeft{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
 	opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}
/*mp4動画再生*/
.Video {
	text-align: center;
}


