@charset "UTF-8";

/* CSS Document */

/*==================================================

container
=================================================*/

html {
	background: #FFF;
}
body {
    position: relative;
    left: 0;
}

img {
width:100%;
max-width: 100%;
height: auto;
}
.tC{
	text-align: center;
}
/* sp menu setting */

.layer{
    display: none;
    width: 100%;
    height: 100%;
	position: fixed;
    top: 0;
	left: 0;
    background: rgba(0, 0, 0, 0.8);
	z-index: 1000!important;
}
body.open{
	width: 100%;
    position: fixed;
}

#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}


/*==================================================

header
=================================================*/

header {
	width: 100%;
	min-width: 100%;
/*	position: fixed;
	top: 0;
	left: 0;
	right: 0;*/
	margin: auto;
	z-index: 20!important;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	height: 80px;
}

#header-inner {
	width: 100%;
	max-width: 1500px;
	position: relative;
	margin: 0 auto;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	height: 80px;
}

.headerbg {
	background-color: rgba(255,255,255, 0.8);
	top: 0;
}
.headerbg #header-inner {
	margin: 0 auto;
}

/* cf */

#header-inner:after,#header-logo-wrapper:after {
    content:" ";
    display:block;
    clear:both;
}

/* header PC */

#header-logo {
	width: 25%;
	max-width: 400px;
	position: absolute;
	line-height: 0;
	
	top: 10px;
	left: 20px;

	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	
	z-index: 5!important;
	
}
/* header img */

#header-logo img {
	width: 100%;
	max-width:240px;
	height: auto;
}

/* header SP */

.header-spmenu {
	width: 36px;
	display: none;
	float: right;
	text-align: center;
	cursor: pointer;
}
.header-spmenu img {
	width: 100%;
	max-width: 100%;
	height: auto;
}


/*==================================================

Navi
=================================================*/

/* header menu */

nav {
	width: 75%;
	max-width:800px;
	position: relative;
	float: right;
		z-index: 1000!important;
}

nav > ul {
	width: 100%;
	position: relative;
	display: table;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
}

/* cf */

nav:after,nav ul:after {
    content:" ";
    display:block;
    clear:both;
}
nav > ul{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
nav > ul > li {
	width: 20%;
	position: relative;
}
nav > ul > li > a {
	width: 100%;
	display: block;
	font-size: 1.5rem;
	color: #111;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	margin: 20px 0;
	padding: 0 5px;
}


/* メインメニューのオーバーカラー */

nav > ul > li > a:hover {
	color: #ccc;
}

/* メインメニューの背景 オーバー */

nav > ul > li > ul {
	width: 180px;
	position: absolute;
	visibility: hidden;
	opacity: 0;
	transition: .2s;
	top: 100%;
	left: 50%;
	-webkit-transform: translate(-40%, 0); /* Safari用 */
	transform: translate(-40%, 0);
	
    background-color: rgba(255,255,255,0.9);
	padding: 0;
}

/* サブメニュー表示設定 */

nav li:hover ul {
  	visibility: visible;
	top: 100%;
	left: 50%;
	-webkit-transform: translate(-50%, 0); /* Safari用 */
	transform: translate(-50%, 0);
	
	opacity: 1;
}
nav li ul li a {
	visibility: hidden;
	opacity: 0;
	transition: .2s;
}
nav li:hover ul li a {
	visibility: visible;
	opacity: 1;
}


/* サブメニュー詳細設定 */

nav > ul > li > ul li {
	width: 100%;
	float: none;
	border-bottom: 1px solid #dfdfdf;
	padding: 0 2px;
}
nav > ul > li > ul li a {
	width: 100%;
	display: block;
	font-size: 1.3rem;
	line-height: 180%;
	color: #333;
	text-align: left;
	text-decoration: none;
	background-size: auto;
	padding: 12px 10px 12px 16px;
	position: relative;
	vertical-align: middle;
}
nav > ul > li > ul li a::before{
position: absolute;
top: 0;
bottom: 0;
left: 0;
margin: auto;
content: "";
vertical-align: middle;
left: 3px;
width: 6px;
height: 6px;
border-top: 2px solid #121659;
border-right: 2px solid #121659;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}

nav > ul > li > ul li a:hover {
	color: #29afed;
}

/*  img */

nav > ul > li > ul li a img {
	width: 100%;
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 8px;
}

.pc-only {
	display: block;
}
.sp-only {
	display: none;
}

/* 印刷時 */

@media print {
	header {
		position: absolute;
	}
}


/*==================================================

table
=================================================*/

.fColRed {
	color: #F00;
}
/*==================================================

footer
=================================================*/

.pagetop {
	position: fixed;
	bottom: 0px;
	right: 0px;
	z-index: 30;
	width: 50px;
	height: auto;
	background: rgba(255,255,255,0.9)
}
.pagetop img{
	width: 100%;
	height: auto;
}


footer {
	width: 100%;
	position: relative;
	background-size:auto 100%;
	margin: 0 auto;
}

.footer-link{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-wrap: wrap;
}
.footer-link .footerbana{
	width: 60%;
	padding: 10px;
}
.footer-link .footerbana ul{
	display: flex;
	justify-content: center;
}
.footer-link .footerbana ul li{
	width: 50%;
	padding: 20px;
}
.footer-link .footerbana ul li a{
	padding: 10px;
	color: #fff;
	font-size: 2.0rem;
	background: #036eb8;
	display: block;
	text-align: center;
}
.footer-link .footerline{
	width: 40%;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-wrap: wrap;
}
.footer-link .footerline .line{
	width: 70%;
	padding: 10px;
}
.footer-link .footerline .nanbukun{
	width: 30%;
	padding: 10px;
}
.footer-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 0;
	border-top:1px solid #231815;
	display: flex;
	justify-content:space-between;
	align-items: center;
	flex-wrap: wrap;
}
.footer-logo{
	width: 40%;
}
.footer-logo img{
	max-width: 200px;
}
.footer-menu{
	text-align: left;
}
.footer-menu a {
	width: 100%;
	font-size: 1.4rem;
	color: #595757;
	line-height: 160%;
	font-weight: 400;
	text-decoration: none;
	padding: 0 10px;
}
.footer-copy {
	width: 100%;
	font-size: 1.3rem;
	line-height: 160%;
	color: #FFF;
	text-align: right;
	padding: 10px 0;
	background: #036eb8;
	z-index: 10;
	position: relative;
}


/*==================================================

size m
=================================================*/


@media print, screen and (min-width:1px) and (max-width: 960px) {
	
	/*==================================================
	
	header
	=================================================*/
	
	header {
		width: 100%;
		min-width: 100%;
		position: fixed;
		background-color: rgba(255, 255, 255, 1);
		top: 0;
		height: 70px;
	}
	#header-inner {
		width: 100%;
		margin: 0 auto;
		padding: 15px 20px;
		height: 70px;
	}
	
	.headerbg #header-inner {
		width: 100%;
		position: relative;
		margin: 0 auto;
		padding: 15px 20px;
	}
	

#header-logo {
	width: 70%;
	max-width: 180px;
	left: 5px;
	
}
	
	/* header SP*/
	.header-spmenu {
		display: block;
	}
	
	.headerbg {
		background-color: rgba(255, 255, 255, 1);
	}
	.headerbg nav > ul > li > a {
		padding: 5%;
	}
	
	
	/*==================================================
	
	Navi
	=================================================*/
	
	
	nav {
		/* モバイルメニュー幅 */
		width: 240px;
		height: 100%;
		position: fixed;
		display: block;
		background-color: #4694ca;
		top: 0;
		right: -240px;
		-webkit-transform: translate(0, 0); /* Safari用 */
		transform: translate(0, 0);
		margin-top: 0;
		padding: 0;
		z-index: 1000!important;
	}
	
	nav > ul {
		width: 100%;
		height: 100%;
		position: relative;
		display: block;
		padding: 0;
		overflow: hidden;
	}
	nav > ul > li {
		width: 100%;
		display: block;
		border-bottom: 1px solid #0079da;
	}

	nav > ul > li > a {
		width: 100%;
		display: block;
		font-size: 1.3rem;
		line-height: 2.5em;
		text-align: left;
		color: #FFF;
		padding: 10px;
	margin: 0;
	}

	nav > ul > li > ul {
		width: 100%;
		position: relative;
		background-color: #efefef;
		visibility: visible;
		opacity: 1;
		transition: 0s;
		left: 0;
		-webkit-transform: translate(0, 0); /* Safari用 */
		transform: translate(0, 0);
		padding: 0;
	}
	nav li:hover ul {
		top: 0;
		left: 0;
		-webkit-transform: translate(0, 0); /* Safari用 */
		transform: translate(0, 0);
	}
	
	/* サブメニュー表示設定 */

	nav li:hover ul {
		visibility: visible;
		top: 100%;
		right: 0;
		opacity: 1;
	}
	nav li ul li a {
		visibility: visible;
		opacity: 1;
		transition: 0s;
	}
	nav li:hover ul li a {
		visibility: visible;
		opacity: 1;
	}

	/* サブメニュー詳細設定 */

	nav > ul > li > ul li {
		width: 100%;
		float: none;
		border-top: 1px solid #121659;
		border-bottom: 0;
		padding: 0;
	}
	nav > ul > li > ul li a {
		width: 100%;
		display: block;
		text-align: left;
		text-decoration: none;
		padding: 5% 5% 5% 20px;
		color: #121659;
	}
	nav > ul > li > ul li a:hover {
		color: #007cdb;
	}

	/*  img */

	nav > ul > li > ul li a img {
		display: none;
	}
	
	.close-button {
		width: 50%;
		cursor: pointer;
		font-size: 1.2rem;
		color: #FFF;
		text-align: center;
		border: 1px solid #FFF;
		margin: 20px auto;
		padding: 2px;
		
		-webkit-transition: all 0.3s;
		transition: all 0.3s;
	}
	.close-button:hover {
		color: #666;
		background-color: #FFF;
	}
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}
	
	
	
.footer-link .footerbana ul li{
	width: 50%;
	padding: 10px;
}
.footer-link .footerbana ul li a{
	padding: 10px;
	color: #fff;
	font-size: 1.6rem;
	background: #036eb8;
	display: block;
	text-align: center;
}
	
.footer-copy {
	width: 100%;
	font-size: 1.3rem;
	line-height: 160%;
	color: #FFF;
	text-align: center;
	padding: 10px 0;
	background: #036eb8;
	z-index: 10;
	position: relative;
}
}

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

#header-logo {
	width: 70%;
	max-width: 200px;
	left: 5px;
	
}

	/*==================================================
	
	footer
	=================================================*/
	
.footer-link .footerbana ul li{
	width: 50%;
	padding: 10px 5px;
}
	
.footer-link .footerbana ul li a{
	padding: 10px;
	color: #fff;
	font-size: 1.4rem;
	background: #036eb8;
	display: block;
	text-align: center;
}
	
	
}

@media only screen and (min-width:1px) and (max-width: 560px) {
	
.footer-link .footerbana{
	width: 100%;
	padding: 10px 10px 0;
	font-size: 1.6rem;
}
.footer-link .footerline{
	width: 100%;
	padding: 0 10px 10px;
}
.footer-inner {
	padding: 20px 0;
}
}
@media only screen and (min-width:1px) and (max-width: 480px) {
	
	
	/*==================================================
	
	header
	==================================================*/

	
	/*==================================================
	
	Navi
	==================================================*/
	
	
	/*==================================================
	
	contents
	==================================================*/

	
	/*==================================================
	
	table
	==================================================*/
	
	
	/*==================================================
	
	footer
	==================================================*/
	
.footer-link .footerbana ul li a{
	padding: 10px 3px;
	color: #fff;
	font-size: 1.3rem;
	background: #036eb8;
	display: block;
	text-align: center;
}
.footer-logo{
	width: 60%;
	margin-bottom: 10px;
}
	
.footer-menu a {
	display: inline-block;
	width: 44%;
	text-align: center;
}
	.footer-menu > ul {
		width: 100%;
		padding: 5px 1px 0;
	}
	
}