@charset "utf-8";

/*共通設定*/


/*------------------------------
	ウェブアイコンの設定
------------------------------*/
@import url(http://weloveiconfonts.com/api/?family=fontawesome|entypo);
/* fontawesome */
[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}
/* entypo */
[class*="entypo-"]:before {
  font-family: 'entypo', 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-style:normal;
	font-weight: normal;
	font-size: 100%;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html{
	min-height: 100%;
}

body {
	punctuation-trim: adjacent;
	font-family:"UD新ゴNT R" , "UD Shin Go NT Regular","Helvetica Neue","游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo,sans-serif;
	-webkit-font-smoothing: antialiased;
	color:#333;
	font-size: 14px;
	line-height: 1.5em;
	height: 100%;
}


*{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}


blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

input, textarea {
	margin: 0;
	padding: 0;
}

ol, ul{
    list-style:none;
}

table{
    border-collapse: collapse; 
    border-spacing:0;
}

caption, th{
    text-align: left;
}

a:focus {
	outline:none;
}

b {
	font-weight: bold;
}

span{
	font-weight: inherit;
}

.both{
	clear:both;
}

.inline_block {  
	display: inline-block;  
	*display: inline;  
	*zoom: 1;  
}

table {
	width:100%;
}

.flex{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-flow: row wrap;
		-ms-flex-flow: row wrap;
			flex-flow: row wrap;
	-webkit-box-align: center;
	-webkit-align-items: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-align-content:center;
		-ms-flex-line-pack: center;
			align-content: center;
	-webkit-box-pack:justify;
	-webkit-justify-content:space-between;
		-ms-flex-pack:justify;
			justify-content:space-between;
}

a{
	text-decoration: none;
	color: inherit;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

a:hover {
	cursor: pointer;
	text-decoration: none;
	opacity:0.8;
}

.of {overflow: hidden;}
.fl { float:left;}
.fr { float:right;}
.tl { text-align:left!important;}
.tr { text-align:right!important;}
.mt10 { margin-top:10px;}
.mr10 { margin-right:10px;}
.mb10 { margin-bottom:10px;}
.ml10 { margin-left:10px;}
.mt20 { margin-top:20px;}
.mr20 { margin-right:20px;}
.mb20 { margin-bottom:20px;}
.ml20 { margin-left:20px;}
.mt30 { margin-top:30px;}
.mr30 { margin-right:30px;}
.mb30 { margin-bottom:30px;}
.ml30 { margin-left:30px;}

.pl10 {padding-left:10px;}
.pr10 {padding-right:10px;}
.pt10 {padding-top:10px;}
.pb10 {padding-bottom:10px;}
.plr10 {padding-left:10px;padding-right:10px;}

.sp_only{display: none}
.pc_only{display: inherit}
.bl{color: #2d4387;}
.or{color: #f27f2e;}
.gray{color: #c8c9ca;}

.bk_bl{background: #2d4387;color: #fff; text-align: center;}
.bk_gray{background: #F6F5F5; text-align: center;}
.t-center{text-align: center;}
.t-left{text-align: left;}
.t-right{text-align: right;}

h1{
	font-size:60px;
	line-height:70px;
}
h2{
	font-size:36px;
	line-height:48px;
	font-weight:bold;
}
h3{
	font-size:28px;
	line-height:36px;
}
h4{
	font-size:18px;
	line-height:26px;
}

.sp_only{
	display: none;
}

.pc_only{
	display: block;
}
	

.btn{
    padding: 20px;
    display: block;
    width: 320px;
    margin: 20px auto;
	background: #00bfe2;
	color: #fff;
	text-align: center;
	font-weight: bold;
}

.btn:after{
    content: '\f054';
    font-family: "Font Awesome 5 Free";
	font-weight: bold;
    padding-left: 10px;
    float: right;
    line-height: 1.5em;
}

.btn:hover{
	opacity: 1.0;
	background: #37d4f1;
}


img{
	width:100%;
	vertical-align:bottom;
}

.w980{
	max-width: 980px;
	margin: auto;
}

.w1200{
	max-width: 1200px;
	margin: auto;
}

.box{
    margin-bottom: 100px;
}

.fa{
	margin: 0 5px;
}

.title_box{
	text-align:center;
	margin-bottom:40px;
	font-weight:normal;
}

.title_box h2:after{
	content: '';
    border-bottom: 2px solid #00bfe2;
    display: block;
    width: 100px;
    margin: 10px auto;
}

.title_box p{
	font-size:16px;
}





/*==============================
		  header設定
==============================*/
#header{
	font-size: 0;
	position: fixed;
	top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    width: 100%;
	height: 70px;
}

#header >div{
	-webkit-align-items: center; /* Safari */
	-ms-align-items: center;
  	align-items: center;
}

#header .logos{
	flex: 0 0 18%;
	-ms-flex: 0 0 18%;
}

#header .logos .logo a img{
    height: 50px;
    width: auto;
}



#header .navs{
	flex: 0 1 76%;
	-ms-flex: 0 1 76%;
	font-size: 14px;
    overflow: hidden;
}

#header .nav ul{
	align-items: center;
    height: 70px;
}

#header .nav li{
	flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	max-width: 100%;
    text-align: center;
    font-weight: bold;
	font-family:"UD新ゴ M","UD Shin Go Medium","Helvetica Neue","游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo,sans-serif;
	font-size: 14px;
}

#header .nav li a{
	position: relative;
	display: inline-block;
	text-decoration: none;
	
}

#header .nav li a:after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #00bfe2;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform .3s;
}

#header .nav li a:hover:after{
	transform: scale(1, 1);
}

#header .nav li a.active:after{
    transform: inherit;
}

#header .nav li.contactBtn a:hover{
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	opacity: 1.0;
	background:#00bfe2;
}


/*==============================
		contents設定
==============================*/

#contents{
	padding-top:70px;
}

/*-- タイトル --*/
#contents #titleImg{
    background-size: cover;
    background-position: center;
	height: 300px;
    position: relative;
}

#contents #titleImg .titleWrap{
    position: absolute;
    margin: auto;
	top: 50%;
	left: 20%;
	transform : translate(0,-50%);
    font-weight: bold;
	text-shadow: 0 0 4px #fff,0 0 10px #fff,0 0 10px #fff;
}

#contents #titleImg .titleWrap h2{
    font-size: 40px;
}

#contents #titleImg .titleWrap p{
	font-size:20px;
}

#contents #breadcrumb{
	font-size: 12px;
	margin-top: 10px;
}

#contents #breadcrumb a{
	color:#00bfe2;
}

#contents  h2.subtitle{
	color:#00bfe2;
	text-align: center;
	margin-bottom: 60px;
}



/*==============================
		footer設定
==============================*/

#footer{
    position: relative;
	color:#fff;
}

#footer .footerWrap{
	background:#2b2824;
	padding: 30px 0 5px;
}

#footer .footerWrap #gotop {
    font-size:14px; 
    color: #fff;
    line-height: 1.4em;
    text-align: center;
    padding: 8px;
    height: 60px;
    width: 60px;
    position: fixed;
    right: 30px;
    bottom: 30px;
	background: #111;
    z-index: 100;
	cursor: pointer;
	transition:all 0.5s;
}

#footer .footerWrap #gotop:hover{
	opacity: 1.0;
	background: #00bfe2;
}

#footer .footmenu{
	margin-bottom:100px;
}

#footer .footmenu li{
	text-align:center;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 20%;/*IE用*/
	flex: 0 0 20%;
	-ms-flex: 0 0 20%;
	margin-bottom: 20px;
}

#footer .footmenu li a:hover{
	color: #37d4f1;
}


#footer .copyright {
	font-size:12px;
	text-align:center;
}

/*------------------------------
	タブレットの設定
------------------------------*/

@media screen and (min-width:601px) and (max-width:960px) {
	#header{
		height:120px;
	}
	#header >div {
		display: block;
	}
	#header .logos{
		margin: 10px auto 0;
		width: 200px;
		display: block;
	}
	#header .nav ul {
		height: 65px;
	}
	#contents{
		padding-top:120px;
	}
	
	#footer .footmenu {
		margin: 0 4% 100px;
	}
	#footer .footmenu li{
		flex: 0 0 20%;
		-ms-flex: 0 0 20%;
		max-width: 20%;/*IE用*/
		margin-bottom: 20px;
	}

}

@media screen and (max-width:960px) {
	.w980 {
		padding: 0 4%;
	}
	.contact .tel a{
		font-size: 40px;
	}
	.mail a{
		font-size: 22px;
	}
	
	
	
}

/*------------------------------
	スマホの設定
------------------------------*/

@media screen and (max-width:600px){
	
	h1{
		font-size:30px;
		line-height:20px;
	}
	h2{
		font-size:22px;
		line-height:34px;
	}
	h3{
		font-size:18px;
		line-height:28px;
	}
	h4{
		font-size:16px;
		line-height:24px;
	}
	
	.sp_only{
		display: block;
	}
	
	.pc_only{
		display: none;
	}

	.box {
		margin-bottom: 60px;
	}
	.btn{
		padding: 6% 5%;
		width: 90%;
	}
	
	/*==============================
		header設定
	==============================*/
	
	#header {
		height: 55px;
		transition:all 0.5s;
	}
    
	#header .logos {
		flex: auto;
		-ms-flex: auto;
		margin: 10px 4%;
		-webkit-align-items: center; /* Safari */
  		align-items: center;
		-ms-align-items: center;
	}
	
	#header .logos .logo{
		height: 34px;
   		-ms-flex: 0 0 76%;
	}
	
	#header .logos .logo a img{
		height: 35px;
		width: auto;
	}
	
	#header .logos .sp_only a{
		font-size: 30px;
    	line-height: 1em;
	}
	
	#header .logos .sp_only a svg{
		padding-top: 4px;
	}
	
	#header .nav li a:after {
		display: none;
	}
	
	#header .logos >.sp_only{
	    height: 28px;
	}
	
	#header #btn_menu{
		display: inline-block;
		transition: all .4s;
		box-sizing: border-box;
		position: relative;
		width: 32px;
		height: 28px;
	}
	#header #btn_menu span{
		display: inline-block;
		transition: all .4s;
		box-sizing: border-box;
		position: absolute;
		right: 0;
		width: 100%;
		height: 2px;
		background-color: #333;
		border-radius: 4px;
	}
	#header #btn_menu span:nth-of-type(1) {
		top: 0;
	}
	#header #btn_menu span:nth-of-type(2) {
		top: 13px;
	}
	#header #btn_menu span:nth-of-type(3) {
		bottom: 0;
	}
	#header .navs{
		position: fixed;
		top:55px;
		right: -190px;
		z-index: 99;
		width:180px;
		height: 100%;
		background: #fff;
   		box-shadow: 0px 2px 2px rgba(0,0,0,0.7);
	}
	#header .nav .flex{
		display: block;
	}
	#header .nav li{
		float: none;
		width: 100%;
		text-align: left;
		border-right:none;
	}
	
	#header .nav li:first-child {
		border-left: none;
	}
	#header .nav li:not(.contactBtn) {
		padding: 0;
	}
	
	#header .navs .nav ul li a{
		display: block;
		padding: 15px;
		border-bottom: #b4b4b5 1px solid;
	}
	#header .navs .nav ul li a:after{
		content:"\f105";
		font-family: FontAwesome;
		float: right;
	}
	
	#header .navs .iconArea p{
		margin:0 0 5px;
		font-size: 12px;
		line-height: initial;
	}
	
	.open #btn_menu span:nth-of-type(1) {
		-webkit-transform: translateY(13px) rotate(-45deg);
		transform: translateY(13px) rotate(-45deg);
	}
	
	.open #btn_menu span:nth-of-type(2) {
		opacity: 0;
	}
	
	.open #btn_menu span:nth-of-type(3) {
		-webkit-transform: translateY(-13px) rotate(45deg);
		transform: translateY(-13px) rotate(45deg);
	}
	
	/*------スクロールした時-----*/
	
	#header.blue{
		background: #1D4493;
		transition:all 0.5s;
	}
	#header.blue #btn_menu span{
		background-color:#fff;
	}

	
	/*==============================
		contents設定
	==============================*/

	#contents {
		padding-top: 55px;
	}
	
	/*-- タイトル --*/
	#contents #titleImg{
		height: 200px;
		margin-bottom: 40px;
	}
	
	#contents #titleImg .titleWrap{
		left: 5%;
	}
	
	#contents #titleImg .titleWrap h2{
		font-size: 30px;
	}

	#contents #titleImg .titleWrap p{
		font-size: 20px;
	}
	
	#contents h2.subtitle {
		margin-bottom: 20px;
	}
	
	/*==============================
		footer設定
	==============================*/	
	
	#footer .footerWrap {
		padding: 0;
	}
	#footer .footerWrap #gotop{
		position: inherit;
		width: auto;
		height: auto;
		border-radius: initial;
	}
	#footer .footerWrap #gotop br{
		display:none;
	}
	#footer .footerWrap #gotop svg{
	    margin-right: 10px;
	}
	#footer .footerWrap #gotop:hover{
		background: none;
	}
	
	#footer .footmenu li:first-child{
		border-left:none;
	}
	#footer .footmenu li {
		border-right: none;
		flex: 0 0 50%;
		-ms-flex: 0 0 50%;
		max-width: 50%;/*IE用*/
		border-bottom: 1px solid #000;
		margin-bottom:0;
	}
	#footer .footmenu li:nth-child(even) {
		border-left: 1px solid #000;
	}
	#footer .footmenu li a{
		padding: 10px;
		display:block;
	}
	#footer .footmenu {
	    margin-bottom: 10px;
	}
	#footer .copyright{
		padding-bottom:10px;
	}
}

