/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #333333;
    font-size: 100%;
    line-height: 1.5em;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-family: 'Oswald', "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝体", "Yu Mincho", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

a {
	color: #31b9b7;
	text-decoration: none;
}

a:hover {
	color: #1984c8;
}

a img:hover {
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}

p {
	margin: 30px 100px;
	line-height: 2.0em;
}

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


a,
a img,
input[type=text],
input[type=email],
textarea,
input[type=submit] {
	-webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    -ms-transition: 0.8s;
    transition: 0.8s;
}


header {
	height: 700px;
	margin: 0 0 50px;
	text-align: center;
	position: relative;
}

#particles-js {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -10;
}

nav {
	width: 100%;
	text-align: center;
}

nav:after {
	content: "";
	clear: both;
	display: block;
}

nav ul li {
	float: left;
}

nav ul li a {
	display: block;
	padding: 10px 20px;
	color: #333333;
	font-size: 80%;
	z-index: 10;
}

nav ul li a img {
	margin-top: -3px;
}

header h1 {
	position: absolute;
	padding: 0;
	margin: 0;
	font-weight: 600;
	font-size: 330%;
	line-height: 1.2em;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%)
}


.wrap {
	width: 1000px;
	padding: 50px 0;
	margin: 0 auto;
}

.wrap h2 {
	clear: both;
	margin: 0 0 70px;
	text-align: center;
	line-height: 1.8em;
}

.box {
	height: 200px;
	padding: 10px 0 30px;
}


.title {
	font-size: 300%;
	font-weight: normal;
}


#service:after {
	content: "";
	clear: both;
	display: block;
}

#service h3 {
	margin: 0 50px;
	font-size: 180%;
}

.sv1 {
	background: url(../img/img1.jpg) 100% 50% no-repeat;
	background-size: 50%;
	margin-bottom: 70px;
}

.sv2 {
	background: url(../img/img2.jpg) 100% 50% no-repeat;
	background-size: 50%;
	margin-bottom: 70px;
}

.sv3 {
	background: url(../img/img3.jpg) 100% 50% no-repeat;
	background-size: 50%;
}

.box p {
	margin-left: 50px;
	margin-right: 53%;
}


#recruit dl {
	width: 600px;
	margin: 50px auto 50px; 
}

#recruit dt {
	float: left;
	width: 25%;
	padding-top: 15px;
	font-weight: bold;
}

#recruit dt span {
	border-bottom: solid 2px #eeeeee;
}

#recruit dd {
	width: 70%;
	margin: 0 0 0 30%;
	padding: 15px 0 15px 5%;
}


#company dl {
	width: 600px;
	margin: 0 auto; 
}

#company dt {
	float: left;
	width: 20%;
	font-weight: bold;
	font-size: 80%;
}

#company dd {
	width: 80%;
	margin: 0 0 30px 20%;
}


#access {
	padding-bottom: 0;
}

#map {	
	height: 500px;
	margin: 0 0 50px;
}


#contact form {
	margin: 50px 150px;
	text-align: center;
	font-size: 90%;
}

#contact dl {
	width: 100%;
}

#contact dt {
	float: left;
	width: 25%;
	font-weight: bold;
	text-align: left;
	line-height: 3.0em;
}

#contact dd {
	width: 75%;
	margin: 0 0 20px 25%;
	text-align: left;
}

#contact dd span {
	color: #ff005d;
}

input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	padding: 10px 15px;
	border: solid 1px #DDDDDD;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #333333;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	border: solid 1px #31b9b7;
}

::placeholder {
	color: #AAAAAA;
}

textarea {
	height: 150px;
	resize: vertical;
}

a.btn,
input[type="submit"] {
	display: inline-block;
	background: #31b9b7;
	width: 250px;
	padding: 7px 0 10px;
	font-size: 110%;
	color: #ffffff;
	border: solid 1px #31b9b7;
	border-radius: 4px;
}

a.sbtn {
	padding: 2px 15px 5px;
	color: #AAAAAA;
	font-size: 80%;
	border: solid 1px #DDDDDD;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
}

a.btn:hover,
a.sbtn:hover,
input[type="submit"]:hover {
	background: #1984c8;
	color: #FFFFFF;
	border: solid 1px #1984c8;
}


footer {
	background: #333333;
	padding: 10px 0;
	text-align: center;
	font-size: 60%;
	color: #ffffff;
}

address {
    /*font-family: helvetica, arial, sans-serif;*/
	font-style: normal;
}

.bg-e {
	background: #444444;
	color: #ffffff;
}

.center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.pc {
	display: inline-block;
}

.sp {
	display: none;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

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

	body {
		width: 100%;
	}
	
	img {
		width: 100%;
		height: auto;
	}

	p {
		margin: 5% 5%;
		line-height: 2.0em;
		font-size: 90%;
	}
	
	
	header {
		height: 100vh;
		padding: 0;
		margin: 0 0 5%;
	}

	nav {
		width: 100%;
	}
	

	nav ul li {
		float: none;
	}
	
	nav ul li a {
		padding: 0;
		font-size: 80%;
	}
	
	nav ul li a img {
		width: 25%;
		height: auto;
		margin-top: 3%;
	}
	
	header h1 {
		color: #111111;
		font-weight: bold;
		font-size: 200%;
		line-height: 1.2em;
	}
	
	
	.wrap {
		width: 100%;
		padding: 10% 0;
	}
	
	.wrap h2 {
		clear: both;
		margin: 0 5% 10%;
		font-size: 120%;
		line-height: 1.8em;
	}
	
	.box {
		height: auto;
		padding: 0 0 70%;
	}
	
	
	.title {
		font-size: 300% !important;
	}
	
	
	#service h3 {
		margin: 0 5%;
		font-size: 150%;
	}
	
	.sv1 {
		background: url(../img/img1.jpg) 0 100% no-repeat;
		background-size: 100%;
		margin-bottom: 10%;
	}
	
	.sv2 {
		background: url(../img/img2.jpg) 0 100% no-repeat;
		background-size: 100%;
		margin-bottom: 10%;
	}

	.sv3 {
		background: url(../img/img3.jpg) 0 100% no-repeat;
		background-size: 100%;
	}

	.box p {
		margin-left: 5%;
		margin-right: 5%;
	}
	
	
	#recruit dl {
		width: 100%;
		margin: 5% auto 5%; 
	}
	
	#recruit dt {
		float: none;
		width: 90%;
		padding: 0 0 2%;
		margin: 0 5% 5% 5%;
		border-bottom: solid 1px #f0f0f0;
	}
	
	#recruit dt span {
		border: none;
	}
	
	#recruit dd {
		width: 90%;
		margin: 0 5% 5% 5%;
		padding: 0 0 0 0;
	}
	
	
	#company dl {
		width: 100%;
	}
	
	#company dt {
		float: none;
		width: 90%;
		padding: 0 0 2%;
		margin: 0 5% 5% 5%;
		border-bottom: solid 1px #F0F0F0;
	}
	
	#company dd {
		width: 90%;
		margin: 0 5% 5% 5%;
	}
	
	
	#map {	
		height: 500px;
		margin: 0 0 5%;
	}
	
	
	#contact form {
		margin: 5% 0;
		font-size: 90%;
	}
	
	#contact dl {
		width: 100%;
	}
	
	#contact dt {
		float: none;
		width: 90%;
		margin: 0 5% 5% 5%;
		text-align: left;
		line-height: 1.8em;
	}
	
	#contact dd {
		width: 90%;
		margin: 0 5% 5% 5%;
	}
	
	input[type="text"],
	input[type="email"],
	textarea {
		width: 94%;
		padding: 3% 3%;
		border: solid 1px #DDDDDD;
	}
	
	::placeholder {
		color: #AAAAAA;
	}
	
	textarea {
		height: 150px;
		resize: vertical;
	}
	
	a.btn,
	input[type="submit"] {
		width: 80%;
		padding: 2% 0 3%;
		margin: 5% 0 0;
		font-size: 110%;
	}
	
	
	footer {
		padding: 3% 0;
		font-size: 70%;
	}


	.pc {
		display: none;
	}

	.sp {
		display: inline-block;
	}

}

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}