@charset "UTF-8";
@font-face {
	font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "メイリオ", sans-serif;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.6;
	font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "メイリオ", sans-serif;
	color: #666;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

img{
	border: none;
	vertical-align: top;
	margin: 0;
}
.josefin{
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	letter-spacing: 1px;
}

.frontBlock{
	overflow: hidden;
}
h1{
	position: absolute;
    bottom: 60px;
    text-align: center;
    color: #fff;
    font-size: 100px;
	font-style: oblique;
	line-height: 1;
	animation: ttl .6s forwards;
	animation-delay: 3s;
	opacity: 0;
	min-width: 1200px;
	left: 50%;
	transform: translateX(-50%);
	margin: auto;
	display: inline-block;
}

#front-main{
	display: flex;
	transform: rotate(6deg);
}
#front-main div{
	width: 50%;
	text-align: center;
	height: 100vh;
	display: flex;
	align-items: center;
	font-size: 30px;
	position: relative;
	padding: 0 0 4%;
}
#front-main div a{
	color: #fff;
	z-index: 1;
	border: 2px solid #fff;
	animation: btn .6s forwards;
	animation-delay: 2s;
	opacity: 0;
	width: 280px;
	height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: underline;
    transition: ease-in 0.2s;
}
#front-main div.kensetsu:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

background: rgb(239,125,48); /* Old browsers */
background: -moz-linear-gradient(-45deg, rgba(255,204,0,1) 0%, rgba(239,125,48,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, rgba(255,204,0,1) 0%,rgba(239,125,48,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, rgba(255,204,0,1) 0%,rgba(239,125,48,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffcc00', endColorstr='#ef7d30',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}
#front-main div.kensetsu{
	animation: kensetsu .6s forwards;
	animation-delay: .5s;
	opacity: 0;
}

#front-main div.itweb{
	animation: itweb .6s forwards;
	animation-delay: 1s;
	opacity: 0;
}

#front-main div.itweb:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

background: rgb(230,197,171); /* Old browsers */
background: -moz-linear-gradient(-45deg, rgba(139,100,48,1) 0%, rgba(230,197,171,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, rgba(139,100,48,1) 0%,rgba(230,197,171,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, rgba(139,100,48,1) 0%,rgba(230,197,171,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8b6430', endColorstr='#e6c5ab',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

@keyframes itweb {
	0%{opacity: 0; transform: translateY(100%);}
	100%{opacity: 1; transform: translateY();}
}
@keyframes kensetsu {
	0%{opacity: 0; transform: translateY(-100%)}
	100%{opacity: 1; transform: translateY(0);}
}
@keyframes btn {
	0%{opacity: 0; transform: scale(0);}
	40%{opacity: .6; transform: scale(1.2);}
	100%{opacity: 1; transform: scale(1);}
}
@keyframes ttl {
	0%{opacity: 0; transform: translate(-30%, 0);}
	100%{opacity: 1; transform: translate(-50%, 0);}
}



footer{

}

@media only screen and (min-width: 768px) {

	.sp{display: none;}

	#front-main div a:hover{
		font-size: 40px;
		width: 320px;
		height: 320px;
	    transition: ease-in 0.2s;
	}
	#front-main div.kensetsu{
		padding: 0 100px 5% 0;
	}

	#front-main div.itweb{
		padding: 0 0 5% 100px;
	}
	#front-main div.kensetsu a{
		margin: 0 0 0 auto;
	}


}

@media only screen and (max-width: 767px) {

	.pc{display: none;}

	img{
		width: 100%;
	}

	h1{
		min-width: auto;
		font-size: 40px;
		width: 95%;
		margin: auto;
	}

	#front-main div.kensetsu::before{
		top: -4%;
		left: -50%;
		width: 150%;
		height: 110%;
	}
	#front-main div.itweb:before{
		top: -6%;
		width: 150%;
		height: 110%;
	}
	#front-main div{
		justify-content: center;
	}
	#front-main div{
		font-size: 24px;
		padding: 0 0 20%;
	}
	#front-main div a{
		width: 60%;
		height: auto;
		padding: 12% 0;
	}

	footer{

	}



}