@charset "utf-8";
@import url(font.css);
@import url(all.min.css);
@import url(normalize.css);


body {
	background-color: #ddd
}

/*header*/
header {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 2;

	width: 960px;
	line-height: 50px;
	margin: auto
}

header h1 {
	float: left;
}

header .gnb {
	float: right;
	text-shadow: 0 0 2px #000,
							0px -1px 1px #fff,
							1px 0px 1px #fff,
							0px 1px 1px #fff,
							-1px 0px 1px #fff;
}

header .gnb a {
	display: block;
	float: left;
	padding: 0 20px;
	transition: all 0.1s
}

header .gnb a:hover {
	color: #ff5353;
}

header .gnb a.on {
	color: yellow;
	transform: translateY(10px)
}

/*main*/

main section {
	position: relative;
	overflow: hidden;
	background: no-repeat center / cover;
}

main [class *="con"] {
	width: 1000px;
	height: 100%;
	margin: auto;
	padding-top: 50px;
	position: relative;
	z-index: 1;
}

main .title {
	text-align: center;
	margin-top: 100px
}

main .title h2 {
	margin-bottom: 10px
}

main .title p {}

/*home*/
#home {
	background: url(../img/pic_bg.png) no-repeat center / cover;
}

.parallax {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#home img {
	position: absolute;
}

[id $="line"] {
	position: absolute;
	top: 50vh;
	left: 50%;
	transform: translate(-50%, -50%);
}

#pic1-line {
	height: 30vh;
	width: 30vh;
}

#pic2-line {
	height: 50vh;
	width: 50vh;
}

#pic3-line {
	height: 70vh;
	width: 70vh;
}

#pic4-line {
	height: 90vh;
	width: 90vh;
}

#pic5-line {
	height: 110vh;
	width: 110vh;
}

#piclogo {
	top: 50px;
	left: 50px;
/*	transition: all 0.3s;*/
}

#picbear {
	right: 0;
	transition: all 0.3s;
}

/*work*/
#work {
	background-color: #fff
}

#work .work-box article {
	float: left;
	width: 25%;
	text-align: center;
	cursor: pointer
}
#work .work-box article p {
	transition: all 0.3s;
}
#work .work-box article:hover p {
	letter-spacing: 2px;
}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 3;
	overflow: auto;
	display: none
}

.pop-screen {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 1000px;
	margin: 100px auto;
	opacity: 0.95;
	text-align: center;
	/*  height: auto*/
}

.overlay img {
	width: 100%
}

.modal .btn-box {
	position: fixed;
	top: 50px;
	right: 50px
}

.modal .btn-box a {
	color: #fff;
	opacity: 0.5;
	font-size: 30px;
	padding: 0 10px;
	text-shadow: 2px 2px 5px #333;
	transition: all 0.2s
}

.modal .btn-box a:hover {
	opacity: 0.9
}

.modal .fa-times {
	font-size: 50px;
	color: red
}

.bg-pic1 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 0;
}
.bg-pic1 img {
	width: 100%;
}
/*about*/
#about {}
#about .left-box {
	float: left;
	width: 50%;
	padding: 50px 0 0 30px;
	box-sizing: border-box;	
}
#about .left-box img {width: 100%;}
#about .right-box {float: right; width: 50%; text-align: center; box-sizing: border-box;}
#about .right-box img {width: 100%;}
/*#about .text-box {
	width: 100%;
	padding: 100px 20px 0 20px;
}
#about .text-box h3 {
	text-decoration: underline;
}
#about .text-box p {
	margin: 10px 0;
}*/
/*contact*/
#contact {
	background-color: #fff
}
#contact .contact-text {
	position: absolute;
	top: 30%;
	left: 0;
	right: 0;
}
#contact .contact-text p {
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	text-align: center;
	text-shadow: 0px 0px 2px #fff;
}

#contact footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px 0;
	text-align: center;
	border-top: 1px solid #ccc;
	z-index: 1;	
}

#contact .sns {
	margin-bottom: 10px
}

#contact .sns a {
	font-size: 25px;
	opacity: 0.7
}

#contact .sns a:hover {
	opacity: 1
}

#contact address {
	font-size: 0.8em
}

/*스크롤바 디자인하기
width, track, handle, hover
*/
::-webkit-scrollbar {
	width: 10px
}

::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px grey;
	border-radius: 10px
}

::-webkit-scrollbar-thumb {
	background: red;
	border-radius: 10px
}

::-webkit-scrollbar-thumb:hover {
	background: #b30000
}

@media screen and (max-width: 720px) {
	#piclogo {
		width: 80%;
		left: 10%;
	}
	#picbear {
		width: 100%;
		transform: translate(10%, 20%);
	}
}
