@charset "utf-8";

html{
	font-size: 62.5%;
}

body{
	background-color: #fff;
	color: #222;
	font-family:  "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝",'Noto Serif JP', serif;
	font-size: 16px;
	line-height: 2;
}

p{
	line-height: 1.75em;
}

img {
    max-width: 100%;
    height: auto;
}

a{
	word-wrap:break-word;
}
@media (max-width: 575.98px) {
	body{
		font-size:14px;
	}
	p{
		line-height: 1.6em;
	}
}

html::before {
	height: 16px;
	left: 0;
	right: 0;
	top: 0;
}

html::after {
	width: 16px;
	top: 0;
	left: 0;
	bottom: 0;
}
body::before {
	width: 16px;
	top: 0;
	right: 0;
	bottom: 0;
}

html::before, html::after, body::before{
	content: "";
	background: #000038;
	position: fixed;
	display: block;
	z-index: 1;
}

@media (max-width: 575.98px) {
	html::before {height: 6px;}
	html::after {width: 6px;}
	body::before {width: 6px;}
}
span{
	display: inline-block;
}

@-ms-viewport {
	width: auto;
}

h1{
	text-align:center;
	font-size: 36px;
	line-height: 1.3;
}

h2{
	text-align:center;
	margin-bottom:70px;
	font-size: 24px;
	line-height: 1.3;
}


h3{
	font-size: 23px;
	font-weight: 600;
	color: #000038;
	margin: 2em auto 1em;
}


h4{
	font-size: 17px;
	color: #000038;
	font-weight: 700;
	margin:1.5em auto 1em;
}

@media (min-width: 1200px) {
	h1{
		font-size: 3.6rem;
	}
	h2{
		font-size: 2.4rem;
	}
}
@media screen and (max-width: 767.98px) {
	body{line-height: 1.5;}
	h1{font-size: 2.4rem;}
	h2{font-size: 2rem;}
	h3{font-size: 1.9rem;}
}

a:link {color: #0b036c; text-decoration:none;}
a:visited {color: #0b036c; text-decoration:none;}
a:active {color: #4d3e3e; text-decoration:none;}
a:hover {color:#b1b1c6; text-decoration:none; transition: 0.2s;}

ul{list-style:none;}



/* ユーティリティ
------------------------------------------------------------ */
#mainContent{
	display: none;
}

#loader-bg{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background: #fff;
	z-index: 2;
}

#loading{
	position: absolute;
	width: 100%;
	top: 45%;
	text-align: center;
}

#loading img{
	margin: auto;
}

.menuButton{
	background-color: #FFF;
	border: 1px solid #000038;
	display: block;
	margin: 60px auto auto auto;
	padding: 10px 40px;
	transition: 0.5s;
	text-align: center;
	text-decoration: none;
	color:#000038;
	width: 240px;
}

@media (max-width: 767.98px) {
	.menuButton{
		margin: 40px auto auto auto;
	}
}

.menuButton:link,
.menuButton:visited{
	color: #000038;
}

.menuButton:hover,
.menuButton:active{
	border: 1px solid #000038;
	background: #000038;
	transition: 0.5s;
	color: #FFF;
	text-decoration: none;
}

#pageTop{
	display: none;
	font-size: 2.6em;
	position: fixed;
	z-index: 9999;
	bottom: 20px;
	right: 20px;
	color: #7eacdc;
	opacity: 0.7;
	cursor: pointer;
	margin-right:10px;
}

#pageTop:link{color: #7eacdc;}
#pageTop:visited{color: #7eacdc;}
#pageTop:active{color: #7eacdc;}
#pageTop:hover{color: #5493d5;}

@media (max-width: 767.98px) {
	#pageTop{
		bottom: 10px;
		right: 10px;
	}
}


/* <header>
------------------------------------------------------------ */
#contentMain{
	background: #000038;
}

#topMain #headNav{
	padding: 50px 10px;
}

@media (max-width: 575.98px) {
	#topMain #headNav{
		padding: 30px 10px;
	}
}
#contentMain #headNav{
	padding: 20px 0;
}
#headNav a{
	display: block;
}
#headNav a:link {
	color: #fff;
	text-decoration:none;
	transition: 0.4s;
	position: relative;
	padding: 0.1em 0.3em;
}

#headNav a:link::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 1px;
	background-color: #fff;
	transition: .3s;
	transform: translateX(-50%);
}

#headNav a:visited {color: #fff; text-decoration:none;}
#headNav a:active {color: #fff; text-decoration:underline;}
#headNav a:hover {color:#fff; text-decoration:none; transition: 0.3s;}
#headNav a:hover::after {width: 100%;}

#headNav>div>a:hover:first-of-type::after{
	width: 0;
}

#headNav img{
	margin: 0 15px;
}

@media (max-width: 767.98px){
	#headNav img{
		margin: 0 0 5px 5px;
	}
}

#headNavPC ul{
	padding: 0;
	margin: 15px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

#headNavPC ul li{
	position: relative;
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#headNavPC li,
#headNavPC a{
	/* float: left; */
	display: inline-block;
	padding: 0 8px;
	white-space: nowrap;
}

#headNavPC ul li ul{
	display: none;
	position: absolute;
	z-index: 999;
	left: 10px;
	top: 30px;
	padding: 10px;
	background: rgba(0,0,30,0.85);
	/* display: block; */
	margin: 0;
}

#headNavPC ul li ul li{
	display: block;
	padding: 0;
}
#headNavPC ul li a{
	/* padding: 5px; */
}


/*モバイル用ハンバーガーアイコン*/
#headNavSP #nav-toggle{
	cursor: pointer;
	position: absolute;
	z-index: 9999;
	right:  45px;
	top: 30px;
	width: 40px;
	height: 40px;
}

#headNavSP #nav-toggle > div span{
	width: 100%;
	height: 3px;
	border-radius: 2px;
	display: block;
	background: #fff;
	position: absolute;
	transition: transform .6s ease-in-out, top .5s ease;
}

#headNavSP #nav-toggle > div span:nth-child(1){top: 0;}
#headNavSP #nav-toggle > div span:nth-child(2){top: 14px;}
#headNavSP #nav-toggle > div span:nth-child(3){top: 28px;}


@media (max-width: 576px){
	#headNavSP #nav-toggle{
		right: 32px;
		top: 24px;
		width: 28px;
		height: 28px;
	}
	#headNavSP #nav-toggle > div span:nth-child(1){top: 0;}
	#headNavSP #nav-toggle > div span:nth-child(2){top: 11px;}
	#headNavSP #nav-toggle > div span:nth-child(3){top: 22px;}
}

#headNavSP #gloval-nav{
	background: #000038;
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 990;
	text-align: center;
	display: flex;
	visibility: hidden;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity .6s ease, visibility .6s ease;
	font-size: 1.2em;
}

#headNavSP #gloval-nav a{
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px 0;
	transition: color .6s ease;
}
#headNavSP #gloval-nav :hover{
	color: #666;
}

#headNavSP #gloval-nav ul{
	list-style: none;
	padding: 0;
}

#headNavSP #gloval-nav ul li{
	display: block;
}

/* open for <body> */
.open{
	overflow: hidden;
}
.open #headNavSP #gloval-nav{
	visibility: visible;
	opacity: 1;
}

.open #headNavSP #gloval-nav li{
	opacity: 1;
	transform: translateX(0);
	transition:transform 0.1s ease, opacity .9s ease;
}

.open #headNavSP #gloval-nav li:nth-of-type(10){
	border-top: 1px dashed  #fff;
	margin-top: 10px;
	padding-top: 10px;
}

.open #headNavSP #nav-toggle span{
	background: #fff;
}
.open #headNavSP #nav-toggle span:nth-child(1){
	top: 15px;
	transform: rotate(45deg);
}
.open #headNavSP #nav-toggle span:nth-child(2){
	top: 15px;
	width: 0;
	left: 50%;
}
.open #headNavSP #nav-toggle span:nth-child(3){
	top: 15px;
	transform: rotate(-45deg);
}



/* <footer>
------------------------------ */
footer{
	background-color:#000038;
	background-size: cover;
}


/*
footerContact
———————————*/

#footerContact{
	background-color:#f2f2f2;
	padding: 60px 0;
}

@media (max-width: 575.98px) {
	#footerContact{
		padding: 60px 15px;
	}
}

#footerContact>div{
	background-color: #FFF;
	text-align: center;
}

#footerContact div div div div:first-of-type div{
	border-top: 1px #999 solid;
	border-bottom: 1px #999 solid;
	margin: 20px;
	padding: 20px 40px;
}

@media (max-width: 575.98px) {
	#footerContact div div div div:first-of-type div{
		padding: 10px 0;;
	}
}

#footerContact p.tel{
	font-size:3em;
	margin: 0;
}

@media (max-width: 575.98px) {
	#footerContact p.tel{
	font-size: 2em;
	}
}

#footerContact span{
	font-size:0.4em;
}

#footerContact p:nth-of-type(4){
	line-height: 1.4em;
	font-size: 0.9em;
}



#footerContact div.mailOuter{
	position: relative;
}

#footerContact div.mailInner{
	background-color: #000038;
	color: #FFF;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 80%;
	height: 12em;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.3s;
}

#footerContact .mailInner:hover{
	background-color: #0000389c;
	text-decoration:none;
	transition: 0.3s;
}

@media (max-width: 991.98px){
	#footerContact div.mailInner{
		position: unset;
		height: 6em;
		margin: 0 20px 20px;
		width: auto;
	}
}

#footerContact div.mailInner p{
	font-size: 1.4em;
	margin: 0;
}

@media (max-width: 575.98px) {
	#footerContact div.mailInner p{
		font-size: 1.4em;
	}
}



/*
footerBody
———————————*/

#footerBody{
	background-color: #000038;
	color: #FFF;
}


#footerBody a:link {
	color: #fff;
	text-decoration:none;
	transition: 0.4s;
	position: relative;
}

#footerBody a:link::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 1px;
	background-color: #fff;
	transition: .3s;
	transform: translateX(-50%);
}

#footerBody a:visited {color: #fff; text-decoration:none;}
#footerBody a:active {color: #fff; text-decoration: none;}
#footerBody a:hover {color:#fff; text-decoration:none;  transition: 0.3s;}
#footerBody a:hover::after {width: 100%;}

#footerBody>div>div>div>div>a:hover::after{
	width: 0;
}

#footerBody div img{
	margin-top: 30px;
}

#footerBody div div div div:nth-of-type(2) div{
	margin: 30px 15px;
	letter-spacing: 0.1em;
}

@media (min-width: 768px) {
	#footerBody div div div div:nth-of-type(2) div{
		font-size: 0.85em;
	}
	#footerBody>div>div:nth-of-type(2){
		font-size: 0.9em;
	}
}
@media  (min-width: 768px) and (max-width: 1199.98px) {
	#footerBody>div>div:nth-of-type(2)>div>div:first-of-type{
		padding-right:0.5em
	}
}

#footerBody div div:nth-of-type(2) div div:nth-of-type(2) li:nth-of-type(4){
	margin-top: 29px;
}

#footerBody div div div div:nth-of-type(2) div{
	border-right: #FFF 1px solid;
}

@media (max-width: 992px){
	#footerBody div div div div:nth-of-type(2) div{
		border-right: none;
	}a
}

@media (max-width: 767.98px){
	#footerBody div div div:first-of-type div div{
		border-bottom: 1px #fff solid;
		padding-bottom: 20px;
	}
  #footerBody div img{
      margin: 30px 12px 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px){
	#footerBody > div > div:nth-of-type(2)>div {
		margin-top: 30px;
	}
}

#footerBody ul{
	padding: 30px 10px;
}

@media (min-width: 576px) and (max-width: 767.98px) {
	#footerBody ul{
		padding: 0 15px 10px!important;
		line-height: 2.5;
	}
}

@media (max-width: 575.98px) {
	#footerBody ul{
		padding: 0 10px 10px!important;
		line-height: 2.5;
	}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	#footerBody ul{
		padding: 30px 5px;
	}
}

@media (min-width: 768px) and (max-width: 991.98px){
	#footerBody ul{
		padding:100px 0 0;
	}
	#footerBody div div div div:nth-of-type(2) div{
		border-right: #FFF 1px solid;
	}
}

#footerBody ul ul{
	padding: 0 0 0 20px;
}

#footerCopyright{
	text-align: center;
	padding: 20px 0;
}

#footerCopyright p{
	margin: 0;
	font-size: 0.7em;
	color: #fff;
}

@media (max-width: 767.98px){
	#footerCopyright{
		border-top: 1px #fff solid;
	}
}

.scroll-fade {
  transition: 1s;
  opacity: 0;
}

.scroll-fade.animated {
  opacity: 1;
}