/* Common */

body {
	height: 100%;
}
.wrapper {
	max-width: 1200px;
	text-align: center;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #2B388F;
	margin: 0 auto;
}
.container {
	max-width: 970px;
}
h2 {
	font-weight: 300 !important;
	font-size: 45px !important;
}
h3 {
	font-weight: 700 !important;
	font-size: 25px !important;
}
h4 {
	font-weight: 300 !important;
	font-size: 22px !important;
}
h5 {
	font-weight: 700 !important;
	font-size: 16px !important;
}
p {
	text-align: left;
}
.description {
	max-width: 770px;
	margin: 20px auto 50px;
}
.white-grey-bg {
	background-image: url(../img/white_grey_bg.png);
	background-position: top center;
	background-repeat: no-repeat;
	height: 206px;
}
.grey-white-bg {
	background-image: url(../img/grey_white_bg.png);
	background-position: top center;
	background-repeat: no-repeat;
	height: 206px;
}
#about,
#service,
#news,
#contact,
#access,
#recruit {
	padding: 30px 0;
}

/* Top */

#top {
	background-image: url(../img/top_bg.png);
	background-position: bottom center;
	background-repeat: no-repeat;
	height: 728px;
	*width: 100%;
}

.main-nav {
	margin-top: 0px;
}
.nav-left {
	float: left;
	width: 355px;
	margin-top: 30px;
}
.nav-right {
	float: right;
	width: 355px;
	margin-top: 30px;
}
.nav-left li,
.nav-right li {
	font-weight: 300;
	font-size: 18px;
}
.main-nav a {
	color: #2B388F;
}
.main-nav a:hover {
	color: #26A5DD;
	text-decoration: none;
}
.hello {
	color: #ffffff;
	margin-top: 120px;
}

/* About */

.icon {
	font-size: 62px;
}

/* Service */

#service {
	background-color: #FAFAFA;
}
#service img {
	max-width: 100%;
}
.service {
	margin: 40px 0;
}
.service-detail {
	text-align: left;
}

/* News */

.single-news {
	margin-bottom: 20px;
}
.news-header {
	margin-bottom: 10px;
	cursor: pointer;
}
.news-header:hover {
	color: #26A5DD;
}
.news-header table {
	width: 100%;
}
.news-header td {
	text-align: left;
	vertical-align: middle;
}
.news-caret {
	width: 15px;
	padding-left: 10px;
}
.date {
	font-weight: bold;
	text-align: left;
}
#news h5 {
	margin: 0;
}
#news h2 {
	margin-bottom: 40px;
}
.news-contents {
	display: none;
}

/* Access */

#access {
	background-color: #FAFAFA;
}
#access p {
	text-align: center !important;
	margin-top: 30px;
}
.map {
	margin: 30px auto;
}

/* Contact */

#contact form {
	text-align: left;
	margin-top: 30px;
}
#contact input[type='text'],
#contact input[type='email'] {
	background-color: #FAFAFA;
	border: 1px solid #E6E7E8;
	line-height: 1.5;
	padding: 10px;
	width: 100%;
	margin-bottom: 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
#contact textarea {
	background-color: #FAFAFA;
	border: 1px solid #E6E7E8;
	line-height: 1.5;
	padding: 10px;
	width: 100%;
	margin-bottom: 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	height: 200px;
}
#contact input[type='submit'] {
	*background: #26a6dd; /* Old browsers */
	background: -moz-linear-gradient(top,  #26a6dd 0%, #2b388f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#26a6dd), color-stop(100%,#2b388f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #26a6dd 0%,#2b388f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26a6dd', endColorstr='#2b388f',GradientType=0 ); /* IE6-9 */
	padding: 10px 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: none;
	color: #ffffff;
}
#contact input[type='submit']:hover {
	*background: #2b388f; /* Old browsers */
	background: -moz-linear-gradient(top,  #2b388f 0%, #26a6dd 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b388f), color-stop(100%,#26a6dd)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #2b388f 0%,#26a6dd 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b388f', endColorstr='#26a6dd',GradientType=0 ); /* IE6-9 */

	color: #ffffff;
	text-decoration: none;
}

/* Recruit */

#recruit {
	background-color: #FAFAFA;
}

/* デスクトップの場合 */

@media screen and (min-width: 992px) {
	.phone {
		display: none;
	}

	/* トップに戻るボタン */
	#page-top {
		position: fixed;
		bottom: 20px;
		right: 20px;
		font-size: 77%;
	}
	#page-top a {
		background: #2B388F;
		text-decoration: none;
		color: #fff;
		width: 100px;
		padding: 10px 20px;
		text-align: center;
		display: block;
		border-radius: 5px;
	}
	#page-top a:hover {
		text-decoration: none;
		background: #26A5DD;
	}

	/* Top */

	h1 {
		font-weight: 300 !important;
		font-size: 59px !important;
	}
	.logo {
		width: 230px;
		float: left;
	}
	.language {
		font-size: 12px;
		width: 80px;
		padding: 10px;
		color: #ffffff;
		-webkit-border-bottom-right-radius: 4px;
		-webkit-border-bottom-left-radius: 4px;
		-moz-border-radius-bottomright: 4px;
		-moz-border-radius-bottomleft: 4px;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;
		*background: #26a6dd; /* Old browsers */
		background: -moz-linear-gradient(top,  #26a6dd 0%, #2b388f 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#26a6dd), color-stop(100%,#2b388f)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #26a6dd 0%,#2b388f 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26a6dd', endColorstr='#2b388f',GradientType=0 ); /* IE6-9 */
		display: block;
		cursor: pointer;
		/*position: relative;*/
		/*top: 0;*/
		/*right: -1120px;*/
		z-index: 99;
		/**zoom: 1;*/
		float: right;
	}
	.language:hover {
		*background: #2b388f; /* Old browsers */
		background: -moz-linear-gradient(top,  #2b388f 0%, #26a6dd 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b388f), color-stop(100%,#26a6dd)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #2b388f 0%,#26a6dd 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b388f', endColorstr='#26a6dd',GradientType=0 ); /* IE6-9 */
		color: #ffffff;
		text-decoration: none;
	}

	/* Footer */

	#footer {
		background-color: #FAFAFA;
		padding: 10px 20px;
	}
}

/* スマートフォンの場合 */

@media screen and (max-width: 992px) {
	.desktop {
		display: none;
	}

	/* Top */

	h1 {
		font-weight: 300 !important;
		font-size: 47px !important;
	}
	.logo {
		margin-top: 20px;
	}
	.language {
		width: 60px;
		padding: 12px 5px;
		color: #ffffff;
		font-size: 12px;
		-webkit-border-bottom-right-radius: 4px;
		-webkit-border-bottom-left-radius: 4px;
		-moz-border-radius-bottomright: 4px;
		-moz-border-radius-bottomleft: 4px;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;
		*background: #26a6dd; /* Old browsers */
		background: -moz-linear-gradient(top,  #26a6dd 0%, #2b388f 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#26a6dd), color-stop(100%,#2b388f)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #26a6dd 0%,#2b388f 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26a6dd', endColorstr='#2b388f',GradientType=0 ); /* IE6-9 */

		display: block;
		cursor: pointer;
		position: absolute;
		top: 0;
		right: 0;
	}
	.language:hover {
		*background: #2b388f; /* Old browsers */
		background: -moz-linear-gradient(top,  #2b388f 0%, #26a6dd 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b388f), color-stop(100%,#26a6dd)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #2b388f 0%,#26a6dd 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b388f', endColorstr='#26a6dd',GradientType=0 ); /* IE6-9 */
		color: #ffffff;
		text-decoration: none;
	}
	.main-nav {
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 100;
	}
    .main-nav table {
	    table-layout: fixed;
	    width: 100%;
	    margin-top: 20px;
    }
    .main-nav td {
	    vertical-align: middle;
	    text-align: center;
    }
    .main-nav a {
	    color: #ffffff;
	    font-weight: bold;
	    font-size: 9px;
	    padding: 22px 3px;
	    display: block;
	    text-decoration: none;
	    *background: #26a6dd; /* Old browsers */
	    background: -moz-linear-gradient(top,  #26a6dd 0%, #2b388f 100%); /* FF3.6+ */
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#26a6dd), color-stop(100%,#2b388f)); /* Chrome,Safari4+ */
	    background: -webkit-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Chrome10+,Safari5.1+ */
	    background: -o-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* Opera 11.10+ */
	    background: -ms-linear-gradient(top,  #26a6dd 0%,#2b388f 100%); /* IE10+ */
	    background: linear-gradient(to bottom,  #26a6dd 0%,#2b388f 100%); /* W3C */
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26a6dd', endColorstr='#2b388f',GradientType=0 ); /* IE6-9 */
    }
    .main-nav a:hover {
	    color: #ffffff;
	    text-decoration: none;
	    *background: #2b388f; /* Old browsers */
	    background: -moz-linear-gradient(top,  #2b388f 0%, #26a6dd 100%); /* FF3.6+ */
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b388f), color-stop(100%,#26a6dd)); /* Chrome,Safari4+ */
	    background: -webkit-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Chrome10+,Safari5.1+ */
	    background: -o-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* Opera 11.10+ */
	    background: -ms-linear-gradient(top,  #2b388f 0%,#26a6dd 100%); /* IE10+ */
	    background: linear-gradient(to bottom,  #2b388f 0%,#26a6dd 100%); /* W3C */
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b388f', endColorstr='#26a6dd',GradientType=0 ); /* IE6-9 */
    }
    .hello {
	    margin-top: 70px;
    }

    /* Service */

	.service:last-child {
		margin-bottom: 0;
	}

    /* News */

	.date {
		margin-bottom: 10px;
	}

    /* Access */

	.map {
		margin: 30px 0;
		position: relative;
		padding-bottom: 41.2%;
		height: 0;
		overflow: hidden;
	}
	#access iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
	}

    /* Recruit */

	#recruit img {
		width: 100%;
	}

	/* Footer */

	#footer {
		background-color: #FAFAFA;
		padding: 10px 20px 50px;
	}
}
