@charset "utf-8";

body {
	background-color: #F3F3F3;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, YuGothic, メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

p {
	line-height: 1.8;
    letter-spacing: 0.8px;
    word-break: break-all;
	color: rgb(51, 51, 51);
}

.inner_wrapper {
	width: 1000px;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

/*--------------------------------
 header
---------------------------------*/

/********** Arlee logo **********/
.logo {
	position: fixed;
	top: 10px;
	left: 30px;
	z-index: 1000;
}

.logo img {
	width: 45%;
	height: 45%;
}

.logo:hover {
	 animation: poyooon .9s linear 1 forwards;
}

@keyframes poyooon {
      0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
      10%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
      40%  { transform: scale(1.15, 0.8) translate(0%, 10%); }
      50%  { transform: scale(1.0, 1.0) translate(0%, 0%); }
      60%  { transform: scale(0.9, 1.1) translate(0%, -25%); }
      75%  { transform: scale(0.9, 1.0) translate(0%, -20%); }
      85%  { transform: scale(1.2, 0.8) translate(0%, 10%); }
      100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}

/*--------------------------------
 gnav
---------------------------------*/
#gnav {
	width: 100%;
	height: 70px;
	line-height: 70px;
	box-sizing: border-box;
	
	background-color: rgba(255,255,255,0.8);
	-webkit-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, .2);
    box-shadow: 0 3px 3px -3px rgba(0, 0, 0, .2);
	
	position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
}

#gnav ul {
	text-align: center;
	box-sizing: border-box;
}

#gnav ul li {
	font-family: 'Quicksand', sans-serif;
	display: inline-block;
	padding: 0 10px;
	font-size: 95%;
	box-sizing: border-box;
}


#gnav ul li a {
	text-decoration: none;
	color: #000;
	position: relative;
}

#gnav ul li a:after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: "";
	height: 3px;
	width: 100%; /* 文字の幅全体 */
	background-color: #444444;
	transform: scale(0); /* 最初は出ていない*/
	transform-origin: center top; /* 真ん中からトップへ */
	transition: 0.3s;
}

#gnav ul li a:hover::after {
	transform: scale(1);
}

/*--------------------------------
 hello slider - work ver.
---------------------------------*/
@keyframes hello_fadeinLR {
	0% {opacity: 0; transform: translateX(-100px)}
	50% {opacity: 1;}
	100% {opacity: 0.4; transform: translateX(0px)}
}

.helloL,.helloR {
	font-family: 'Montserrat', sans-serif;
}

.helloL {
	font-size: 240px;
	font-weight: bold;
	color: white;
	position: fixed;
	top: 80px;
	left: -100px;
	z-index: -1;
	
	opacity: 0;
	animation-name: hello_fadeinLR;
	animation-duration: 3s;
	animation-fill-mode: forwards; 
	animation-timing-function: ease;
}

.helloR {
	font-size: 240px;
	font-weight: bold;
	color: white;
	position: fixed;
	bottom: 30px;
	right: -100px;
	z-index: -1;
	
	opacity: 0;
	animation-name: hello_fadeinLR;
	animation-duration: 3s;
	animation-delay: 0.4s;
	animation-fill-mode: forwards; 
	animation-timing-function: ease;
}

/*--------------------------------
 work title
---------------------------------*/
h1 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	font-size: 72px;
	text-align: center;
	color: #444;
	margin: 100px 0 20px;
	
	opacity: 0;
	animation-duration: 2s;
	animation-delay : .4s;
	animation-name: fadein;
	animation-iteration-count: 1;
	animation-fill-mode: forwards; /*これで値を保持*/
}

@keyframes fadein {
  0% {opacity: 0;transform: translateY(-20px);}
  100% {opacity: 1;transform: translateY(0);}
}

#title p {
	text-align: center;
	margin-bottom: 30px;
}

/*--------------------------------
 WORKS
---------------------------------*/

#flex_res {
	display: none;
}

.inner_wrapper {
	width: 1000px;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	height: 300px;
}

#flex {
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.items {
	width: 25%;
	height: 100%;
}

.items img {
	height: 100%;
	vertical-align: bottom;
}


/* masking images and sliding text */
.items {
	overflow: hidden;
	position: relative;
}

.items .mask {
	box-sizing: border-box;
	width:			100%;
	height:			100%;
	position:		absolute;
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	-webkit-transition:	all 0.4s ease;
	transition:		all 0.4s ease;
	text-align: center;
}

	.mask_black {
		background-color:	rgba(0,0,0,0.7);
	}

	.mask_blue {
		background-color:	rgba(82,186,250,0.8);
	}

.items:hover .mask {
	opacity: 1;	/* マスクを表示する */
	padding-top: 100px;	/* ホバーで下にずらす */
}

.mask a {
	display: block;
	width: 100%;
	height: 100%;
	
	font-size: 120%;
	text-decoration: none;
	color: #fff;
	font-weight: 500;
	font-family: 'Quicksand', sans-serif;
	line-height: 1.8;
    letter-spacing: 0.8px;
}

	.mask a span {
		font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, YuGothic, メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		font-size: 70%;
	}


/* fade in items */

@keyframes w_fadein {
  0% {opacity: 0;transform: translateX(-20px);}
  100% {opacity: 1;transform: translateX(0);}
}

.items_01 {
	opacity: 0;
	animation-duration: 1s;
	animation-delay : 1.5s;
	animation-name: w_fadein;
	animation-iteration-count: 1;
	animation-fill-mode: forwards; /*これで値を保持*/
}

.items_02 {
	opacity: 0;
	animation-duration: 1s;
	animation-delay : 1.7s;
	animation-name: w_fadein;
	animation-iteration-count: 1;
	animation-fill-mode: forwards; /*これで値を保持*/
}

.items_03 {
	opacity: 0;
	animation-duration: 2s;
	animation-delay : 1.9s;
	animation-name: w_fadein;
	animation-iteration-count: 1;
	animation-fill-mode: forwards; /*これで値を保持*/
}

.items_04 {
	opacity: 0;
	animation-duration: 2s;
	animation-delay : 2.1s;
	animation-name: w_fadein;
	animation-iteration-count: 1;
	animation-fill-mode: forwards; /*これで値を保持*/
}


/*--------------------------------
 footer
---------------------------------*/
footer small p {
	font-family: 'Quicksand', sans-serif;
	text-align: center;
    color: #000;
	font-size: 70%;
	padding: 50px 0 0;
}

/*media Queries 768
----------------------------------------------------*/
@media screen and (max-width: 768px) {

	.logo {
		position: fixed;
		top: 14px;
		left: 12px;
		z-index: 1000;
	}
	
	.logo img {
		width: 38%;
	}
	
		/********** gnav **********/	
	#gnav ul li {
		font-size: 95%;
		/*font-weight: bold;*/
		padding: 0 1.5%;
	}
	
/************ works responsive ************/
	
	#flex {
		display: none;
	}

/***** #flex_res *****/
	#flex_res {
		display: block;
		margin:0 auto;
		padding: 0 5%;
	}
	
	.items {
		text-align: center;
		width:100%;
		height:auto;
		box-sizing: border-box;
		position: relative;
	}
	
	.items img {
		box-sizing: border-box;
		width:90%;
		height:90%;
		vertical-align: bottom;
	}
		
	#flex_res p.text_alignR {
		position: absolute;
		top:42%;
		right:15%;
		box-sizing: border-box;
	}
	
	#flex_res p.text_alignL {
		position:absolute;
		top:42%;
		left: 15%;
		box-sizing: border-box;
	}
	
	#flex_res p a {
		text-decoration: none;
		color:			#fff;
		font-size:		140%;
		font-family: 'Quicksand', sans-serif;
    	letter-spacing: 0.8px;
    	word-break: break-all;
		font-weight: 800;
		box-sizing: border-box;
	}

/***** footer *****/
	footer {
		background-color: #1A1A1A;
	}
	
	footer small p {
	text-align: center;
    color: #fff;
	font-size: 80%;
	padding: 40px 0;
}
	
}/*** media Queries 767 end ***/

/*media Queries 375 for small phones
----------------------------------------------------*/
@media screen and (max-width: 375px) {
	
	.logo {
		position: fixed;
		top: 17px;
		left: 12px;
		z-index: 1000;
	}
	
	.logo img {
		width: 26%;
	}
	
		#gnav ul li {
		font-size: 80%;
		padding: 0 1.5%;
	}
	
	.align_center {
		font-size: 85%;
	}
}