@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;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

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

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

/*--------------------------------
 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);
}

/*--------------------------------
 snav
---------------------------------*/
#snav_r {
    display: none;
}

#snav_res {
    display: none;
}

#snav {
    padding-top: 90px;
}

#snav ul {
	text-align: center;
}

#snav ul li {
	font-family: 'Quicksand', sans-serif;
	box-sizing: border-box;
	display: inline-block;
	padding: 0 2px;
	font-size: 90%;
	position: relative;
	}

#snav ul li.underline:after {
	position: absolute;
	bottom: -2px;
	left: 0;
	content: "";
	width: 100%;
	height: 2px;
	background-color: skyblue;
	}

#snav ul li a {
	text-decoration: none;
	color: #000;
}

#snav ul li.borderR {
	border-right: 1px solid #999;
	padding: 0 9px;
}

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

.helloL {
	font-size: 240px;
	font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
	font-weight: bold;
	color: white;
	position: fixed;
	top: 80px;
	left: -50px;
	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;
}

/*--------------------------------
 h1 h2 title
---------------------------------*/
h1 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	font-size: 72px;
	text-align: center;
	color: #666666;
	margin: 30px 0 10px;
	
	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);}
}

/*--------------------------------
 graphic info
---------------------------------*/
p.padding_b {
	padding-bottom: 30px;
	text-align: center;
}

/*--------------------------------
 article delete later
---------------------------------*/
/* 
.obj_position_nal {
	object-position: 100% 45%;
}

.obj_position_flyer {
	object-position: 100% 1%;
}
 */

/*--------------------------------
 article
---------------------------------*/
.flex {
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

.item_l {
	width: 48%;
	margin:0 1%;
	box-sizing: border-box;
}

.item_r {
	width: 48%;
	margin: 0 1%;
	box-sizing: border-box;
}

.pic {
	position: relative;
	overflow: hidden;
	padding-top: 70%; /* 画像の高さを決める値 */
	margin-bottom: .5rem;
	box-shadow: 0px 3px 10px rgba(0,0,0,0.2);
}

.pic img {
	position: absolute;
	width: 100%;
	height: auto;/* heightに100%など値を指定すると、画像がトリミングされずに縦方向も固定されてしまうので注意。max-height:100%;などの指定もNG */
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);	
}

.obj_position_flyer img {
	position: absolute;
	width: 100%;
	height: auto;/* heightに100%など値を指定すると、画像がトリミングされずに縦方向も固定されてしまうので注意。max-height:100%;などの指定もNG */
	top: 100%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: 100% 1%;
}

.objectfit_castle {
    background-image: url(../images/works/Graphic/fcastle.jpg);
    background-size: cover;
    /* background-position: bottom 40% left 0%; */
    background-position: 50% 1%;
}

.objectfit a {
    display:block;
    width: 100%;
    height: 100%;
}

.objectfit_castle_dali  {
    background-image: url(../images/works/Graphic/dalialike.jpg);
    background-size: cover;
    /* background-position: bottom 40% left 0%; */
    background-position: 50% 1%;
}

.objectfit_castle_memory  {
    background-image: url(../images/works/Graphic/memory.jpg);
    background-size: cover;
    /* background-position: bottom 40% left 0%; */
    background-position: 50% 1%;
}

.objectfit_castle_memory2  {
    background-image: url(../images/works/Graphic/memory2.jpg);
    background-size: cover;
    /* background-position: bottom 40% left 0%; */
    background-position: 50% 1%;
}

.img_wrap{
	width: 100%;
	transition-duration: 0.5s;
}

.img_wrap:hover{
  box-shadow: 10px 10px 10px rgba(0,0,0,0.3);
  transform: translateY(-10px);
  transition-duration: 0.5s;
}

.item_l p,
.item_r p {
	font-size: 95%;
    margin-bottom: 10%;
}

/*--------------------------------
 footer
---------------------------------*/
footer {
    background-color: #1A1A1A;
}

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

/*--------------------------------
 pageTop
---------------------------------*/

#pageTop {
	position: fixed;
	bottom: 115px;
	right: 20px;
	font-size: 60%;
    z-index: 1000;
}

#pageTop a {
	text-decoration: none;
	color: #000;
	text-align: center;
	display: inline-block;
}

#pageTop img {
	width: 90%;	
}


#pageTop a:hover {
	color: #666;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
	
	.logo {
		position: fixed;
		top: 14px;
		left: 12px;
		z-index: 1000;
	}
	
	.logo img {
		width: 38%;
	}
	
	.helloR {
		display: none;
	}
	
	
/********** gnav **********/	
	#gnav ul li {
		font-size: 95%;
		/*font-weight: bold;*/
		padding: 0 1.5%;
	}
	
/*--------------------------------
 snav responsive
---------------------------------*/
    
    #snav {
        display:none;
    }
    
	#snav_r {
        display: block;
        padding-top: 80px;
		max-width:100%;
		text-align: center;
		margin-bottom: 20px;
	} 
	
	#snav_r ul li {
        position: relative;
        display: inline-block;
        font-family: 'Quicksand', sans-serif;
		box-sizing: border-box;
		font-size: 80%;
	}
	
    #snav_r ul li a {
        text-decoration: none;
        color: #000;
    }
    
    #snav_r ul li.underline:after {
	position: absolute;
	bottom: -2px;
	left: 0;
	content: "";
	width: 100%;
	height: 2px;
	background-color: skyblue;
	}

#snav_r ul li.borderR {
	border-right: 1px solid #999;
	padding: 0 9px;
    }
	
		#snav_r {display:none;}	

/* #snav_res
---------------------------------*/
	#snav_res {
		display: block;
		padding-top: 70px;
	}
	
	#snav_res ul {
		display: flex;
	}
	
	#snav_res ul li {
		font-family: 'Quicksand', sans-serif;
		font-size: 90%;
		width: 50%;
		text-align: center;
		padding: 3% 0;
		border-bottom: 1px solid rgba(200,200,200,1.00);
		box-sizing: border-box;
		background-color: rgba(255,255,255,.2);
	}
	
	#snav_res ul li:last-child {
		border-left: 1px solid  rgba(200,200,200,1.00);
	}
	
	#snav_res ul li a {
		display: block;
		text-decoration: none;
		color: black;	
	}
	
	#snav_res ul li:hover {
		background-color: #fff;
	}
	#snav_res li#gr {
		background-color: #fff;		
	}
    
/*--------------------------------
 graphic info
---------------------------------*/
p.padding_b {
    font-size: 90%;
	padding-bottom: 30px;
	text-align: center;
}
    
/*--------------------------------
 contents responsive
---------------------------------*/
    
	.item_l p,
    .item_r p {
	font-size: 75%;
    margin: 0 5% 10%;
    box-sizing: border-box;
}
    
}
