@charset "utf-8";
/* CSS Document */

#container {

	margin-left: 260px;
	position: relative;
	-moz-transition: margin-left .25s linear;
	-webkit-transition: margin-left .25s linear;
	transition: margin-left .25s linear;
	display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#main {
	min-height: 100vh;
    position: relative;/*←相対位置*/
    padding-bottom: 120px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
	flex: 1 1 auto;
}
/*
#main {
	min-height: 1400px;
}
*/
#main p {
	margin-bottom: 1em;
	line-height: 1.9;
}
#main .inner {
	padding: 40px;
}

/* main-visual */
#main-visual {
	background: url( ../img/main01.jpg) no-repeat;
	height: 700px;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;align-items: 
}
#main-visual h2 {
	font-size: 50px;
	line-height: 60px;
	color: #000;
	background-color: rgba(255,255,255,0.8);
	padding: 5px;
}
h3 {
	font-size: 250%;
}
#copyright a {
	color: #fff;
	text-decoration: none;
}
#copyright a:hover {
	text-decoration: underline;
}

#global-head {
	position: fixed;
	color: #000;
	width: 100%;
	padding: 10px 30px;
	background: #fff;
	display: -webkit-flex;
	display: flex;
	z-index: 1000;
}

#sidebar {
	padding-top: 0px;
	width: 260px;
	height: 100%;
	position: fixed;
	color: #000;
	background: #fff;
	z-index: 1000;
}

#brand-logo {
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;

}

#global-nav ul {
	list-style: none;
	margin-left: 0;
}
#global-nav > ul > li {
	position: relative;
}

#global-nav a {
	color: #000;
	text-decoration: none;
	display: block;
	padding: 15px;
	-moz-transition: color .3s linear;
	-webkit-transition: color .3s linear;
	transition: color .3s linear;
}
#global-nav .sub-menu.is-active > a,
#global-nav a:hover {
	color: #1066b3;
	/*background: #fff;*/
}
/*.scroll{overflow-x:scroll}*/
/* sub-menu icon */
#global-nav .sub-menu-head {
	position: relative;
}
#global-nav .sub-menu-head:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 18px;
	margin: auto;
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border-top: 1px solid #aeb4cb;
	border-right: 1px solid #aeb4cb;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);

	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}
#global-nav .sub-menu.is-active > a:after,
#global-nav .sub-menu-head:hover:after {
	border-color: #000;
}

#global-nav .is-active .sub-menu-head:after {
	-moz-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}
/* sub-menu */
#global-nav .sub-menu-nav {
	background: #fff;

	display: none;
	padding: 10px 0;

	/*-moz-transition: all .4s ease;*/
	/*-webkit-transition: all .4s ease;*/
	/*transition: all .4s ease;*/
}


#global-nav .sub-menu-nav a {
	color: #000;
	padding: 8px 15px;
}
#global-nav .sub-menu-nav a:hover {
	color: #1066b3;
}


/* nav-toggle */
#nav-toggle {
	position: fixed;
	top: 15px;
	left: 15px;
	height: 32px;
}
#nav-toggle > div {
	position: relative;
	width: 32px;
}
#nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #fff;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

/* #nav-toggle close */
#nav-toggle span:nth-child(1) {
	top: 0;
	/*
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
	*/
}
#nav-toggle span:nth-child(2) {
	top: 11px;
	/*
	width: 0;
	left: 50%;
	*/
}
#nav-toggle span:nth-child(3) {
	top: 22px;
	/*
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
	*/
}

/*
.close #nav-toggle span:nth-child(1) {
	top: 0;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	transform: rotate(0);
}
.close #nav-toggle span:nth-child(2) {
	width: 100%;
	left: 0;
}
.close #nav-toggle span:nth-child(3) {
	top: 22px;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	transform: rotate(0);
}
*/


/* z-index */
#nav-toggle {
	z-index: 1000;
}
#container {
	z-index: 900;
}

/* close */
.close #container {
	margin-left: 0;
}
.close #brand-logo {
	margin-left: 50px;
}
.close #nav-toggle span {
	background: #033560;
}
	#nav-toggle{display: none;}
#global-head{display: none;}

@media screen and (max-width: 900px) {
#main .inner {
	padding: 10px;
}
.pclogo ,.pcadd{ display: none;}
/* main-visual */
#main-visual {
	background: url( ../img/main01.jpg) no-repeat;
	height: 400px;
}
#main-visual h2 {
	font-size: 230%;
	line-height: 120%;
	color: #000;
	background-color: rgba(255,255,255,0.7);
	padding: 5px;
}
#main .inner {
	padding: 10px;
}
#global-head{display: inherit;}	
	#pclogo{display: none;}
#sidebar {
	padding-top: 60px;
}
	#container {
		margin-left: 0;
	}
	#brand-logo {
		margin-left: 50px;
	}
	#nav-toggle span {
		background: #033560;
	}
	.close #nav-toggle span {
		background: #000;
	}
	#nav-toggle{display: inherit;}
	#sidebar {
		left: -260px;
		z-index: 910;
		-webkit-transition: .35s ease-in-out;
		-moz-transition: .35s ease-in-out;
		transition: .35s ease-in-out;

	}
	.close #sidebar {
		left: 0;
	}

/* main-visual */
#main-visual {
	background: url( ../img/main01_900.jpg) no-repeat;

	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
#main-visual h2 {
	font-size: 40px;
	line-height: 50px;
	color: #000;
	background-color: rgba(255,255,255,0.8);
	padding: 5px;
}
#main {
	min-height: 100vh;
    position: relative;/*←相対位置*/
    padding-bottom: 190px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}
}

@media screen and (max-width: 500px) {
#facebook-visual {
	background: url( ../img/facebook_400.jpg) no-repeat;
	height: 120px;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: left;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

/* main-visual */
#main-visual {
	background: url( ../img/main01_500.jpg) no-repeat;
	height: 500px;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
#main-visual h2 {
	font-size: 40px;
	line-height: 50px;
	color: #000;
	background-color: rgba(255,255,255,0.8);
	padding: 5px;
}	

}



