@charset "utf-8";
@import url(’https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&family=Noto+Sans+JP:wght@100..900&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&family=Zen+Kaku+Gothic+New&family=Comfortaa:wght@30&display=swap’);
@font-face {
	font-family: 'Soft Elegance';
	src: url('../fonts/SoftElegance.ttf') format('truetype');
}

@font-face {
	font-family:'Soft Elegance';
	src:url("../fonts/Soft_Elegance.ttf") format("truetype");
}

*@font-face {
  font-family: 'Hiragino Kaku Gothic ProN W3';
  src: url('../fonts/HiraginoKakuGothicProNW3.otf') format('opentype');
}



/*===========================================================*/
/* レイアウト用CSS */
/*===========================================================*/

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body{
	background:#f0f0f0;
	font-family:'Hiragino Kaku Gothic ProN W3','DM Sans', 'Noto Sans JP', 'Zen Kaku Gothic New', sans-serif;
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}


@media screen and (max-width:768px) {
body{
	font-size:0.8rem;
	}
}

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

a{
	color: #333;
	outline: none;
}

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

/*========= 読み込み画面 =========*/

#splash {
    /*fixedで全面に固定*/
	position: fixed;
	z-index: 99999;
	width: 100vw;
	height: 100vh;
	text-align:center;
	color:#fff;
	background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
	background-size: 200% 200%;/*サイズを大きくひきのばす*/
	animation: bggradient 20s ease infinite;
}

@keyframes bggradient{
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


/*数字カウント*/
.progressbar-text{
	font-size:2rem;
	font-style: italic;
	font-weight: 200;
	font-family: 'DM Serif Display', 'Noto Sans JP', 'DM Sans', 'Zen Kaku Gothic New';
}
.progressbar-text span{
  	 font-size:2rem;
}

@media only screen and (max-width:768px) {
.progressbar-text{
	font-size:2rem;
	}
.progressbar-text span{
	font-size:1.3rem;
	}
}





.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* ③ video（Safari完全対応） */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;

  /* Safariが勝手に拡張するのを抑止 */
  transform: translateZ(0);
}



#slider {
	width: 100%;
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}


/*========= menu =========*/

#g-nav{
	/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
	position:fixed;
	z-index: 999;
	/*ナビのスタート位置と形状*/
	top:0;
	right: -100%;
	width: 50px;
	height: 100vh;/*ナビの高さ*/
	background:none;
	/*動き*/
	transition-duration: .6s;
	transition-timing-function: ease;
	mix-blend-mode: difference;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
	/*ナビの数が増えた場合縦スクロール*/
	position: fixed;
	z-index: 999; 
	width: 100%;
	height: 100vh;/*表示する高さ*/
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
/*ナビゲーション天地中央揃え*/
	position: absolute;
	z-index: 999;
	top:50%;
	left:22px;
	transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/
#g-nav li{
	writing-mode: vertical-rl;
	list-style: none;
	text-align: center;
}

#g-nav li a{
	text-decoration: none;
	padding:10px;
	display: block;
}

.h2g-nav {
	color: #fff;	
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-family:'Soft Elegance';
	letter-spacing: 0.1em;
	line-height: 0;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
	position:fixed;
	z-index: 9999;/*ボタンを最前面に*/
	bottom:50vh;
	right: 0;
	cursor: pointer;
	width: 50px;
	height:25px;
	mix-blend-mode: difference;
}
  
/*3本線*/  
.openbtn1 span{
	display: inline-block;
	transition: all .4s;
	position: absolute;
	left: 10px;
	height: 1px;
	background-color: #fff;
	mix-blend-mode: difference;
	width: 60%;
}

.openbtn1 span:nth-of-type(1) {
	top:10px;
	transform: translateX(0px) rotate(-90deg);
}

.openbtn1 span:nth-of-type(2) {
	top:10px;
	transform: translateX(-4px) rotate(-90deg);
}

.openbtn1 span:nth-of-type(3) {
	top:10px;
	transform: translateX(-8px) rotate(-90deg);
}

.openbtn1.active span:nth-of-type(1) {
	left:100%;
}

.openbtn1.active span:nth-of-type(2) {
	left:100%;
}

.openbtn1.active span:nth-of-type(3){
	left:100%;
}


/*========= topics =========*/

.topicsBox{
	margin:56px;
	padding:0 20px;
	border-left:3px solid #000;
}

.slider{
	border:none;
	background:#f0f0f0;
	font-family:'DM Sans','Noto Sans JP', 'Zen Kaku Gothic New';
}

@media screen and (max-width:768px) {
	.slider{
		margin:0 0 100px 0;
	}
}

.slider h2{
	font-size: 1.5rem;
}

.slider h2 span.bgLRextend::before{
	background:#333;
}

.bx-wrapper{
	box-shadow:none;
	border:none;
}

.slider a {
	text-decoration: none;
		letter-spacing: 0.1em;
}

/* 日付の部分 */
.slider span {
	display:inline-block;
	font-size:1rem;
		letter-spacing: 0.1em;
	margin-right:10px;
	color:#777;
}

.slider a{
	display: block;
	padding:10px 0;
}

/*日付*/
.slider time{
	display:inline-block;
		letter-spacing: 0.1em;
	font-size:0.8rem;
	margin-right:20px;
	color:#777;
}


/*========= works =========*/

/* ソートボタン*/
.sort-btn{
	font-size: 1rem;
	font-family:'Soft Elegance';
	letter-spacing: 0.15rem;
	display: flex;
	justify-content: center;
	margin: 50px 0;
	list-style: none;
	text-transform: uppercase;
}

.sort-btn li{
	position: relative;
	cursor: pointer;
	margin: 0 20px;
}

.sort-btn li::after {
	content: '';
    /*絶対配置で線の位置を決める*/
	position: absolute;
	bottom:-5px;
	left: 25%;
    /*線の形状*/
	width: 50%;
	height: 2px;
	background:#a0a0a0;
    /*アニメーションの指定*/
	transition: all .3s;
	transform: scale(0, 1);/*X方向0、Y方向1*/
	transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.sort-btn li.active::after,
.sort-btn li:hover::after{
	transform: scale(1, 1);/*X方向にスケール拡大*/
}

/*横幅が375px以下になった際の指定*/
@media only screen and (max-width: 375px) {
.sort-btn{
	flex-wrap: wrap;
	justify-content: space-between;
}
	
.sort-btn li{
	width:48%;
	margin:0 0 10px 0;
	text-align:center;
	}	
}

/*========= Muuri =========*/

.wrapper{
	margin:0 26px;
	padding:0 26px;
}

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

}

/*各画像の横幅などの設定*/
.item {
	display: block;
	position: absolute;
	width : 33.33333% ; /* 未対応ブラウザ用フォールバック */
	width : -webkit-calc(100% / 3) ;
	width : calc(100% / 3) ;
	z-index: 1;
}

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

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

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

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

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

.fancybox-caption__body{
	letter-spacing: 0.1em;
}

/*  順番に現れる */
.item{
	opacity: 0;
}


.fadeUp {
animation-name: fadeUpAnime;
animation-duration:0.8s;
animation-fill-mode:forwards;
opacity: 0;
}

/*競合回避transform: translateY(100px);は使用せずmarginで代用*/
@keyframes fadeUpAnime{
	from {
		opacity: 0;
		margin-top:100px;
	}

	to {
		opacity: 1;
		margin-top:0;
	}
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger{
	opacity: 0;
}

/* 画像拡大*/
.img-box{
	overflow: hidden;
}

.grid img{
	transform: scale(1);
	transition: .5s ease-in-out;/*移り変わる速さ*/
}

.grid a:hover img{/*hoverした時の変化*/
	transform: scale(1.1);/*拡大の値*/
}

/*========= copyright =========*/

small{
	position: fixed;
	left:20px;
	top:43%;
	font-size: 0.8rem;
	font-family:'Soft Elegance';
	color: #fff;
	mix-blend-mode: difference;
	letter-spacing: 0.15rem;
	line-height: 1.1em;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
}


/*========= body内要素 =========*/
h1{
	font-size:2.2rem;
	letter-spacing: 0.15em;
}
.toplogo{
	padding-top:40vh; 
}

h2{
	font-size:1.3rem;	
	text-align: left;
	margin: 40px 0 2px 0;
}

.pad20{
	padding-top:20px; 
}
.pad50{
	padding-top:50px; 
}

.lh2px{
	font-size: 1rem;
	margin: 0 0 4px 0;
}

.worksimage{
	margin: auto;
	display: block;
	width: 100%;
}
.tagging{
	font-size: 0.8rem;
}
.jobtitle{
	font-size: 0.8rem;
	color: #666;
	margin: 0;
}
.attention{
	font-size: 0.6rem;
	margin: 0;
}
#worksheader{
	width:100%;
	background:transparent;
	color:#000;
	text-align: center;
	padding: 40px 0 0 0;
}
#main{
	padding-bottom: 50px;
	letter-spacing: 0.1em;
}
.aboutcontainer{
	width:80vw;
	margin: 0 auto; 
}
section{
	padding: 20px 10%;
}
section:nth-child(2n){
	background:#f3f3f3; 
}
#footer{
	color:#000;
	z-index: -1;
}


.optionmenu {
  width: 150px;
  margin: 0 auto;
}
.optionmenu a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.2em .4em;
  color: #222222;
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid #222222;
  background: linear-gradient(to right, #fff 50%, #dedede 50%);
  background-size: 200% auto;
  transition: .3s;
  position: relative;
  margin-bottom: 30px; 
}
.optionmenu a:after {
  content: "";
  width: 100%;
  height: 100%;
  border-right: 1px solid #222222;
  border-bottom: 1px solid #222222;
  right: -5px;
  bottom: -5px;
  position: absolute;
}
.optionmenu a:hover {
  color: #ffffff;
  background-position: -100% 0;
}

/*========= fonts =========*/

.softelegance{
	font-family:'Soft Elegance';
}


.zalando-sans-expanded {
  font-family: 'Zalando Sans Expanded';
	font-optical-sizing: auto;
		font-size:1.5rem;
  font-weight: 900;
  font-style: normal;
}


.dmserifdisplay{
	font-family: 'DM Serif Display';
	  font-weight: 200;
	font-size:2rem;
	}

.italic-text {
  font-style: italic;
}


.textcenter{
	text-align:center;
}

