/* CSS Document */




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

	header

============================================================================*/
#header{
	position: absolute;
	width:100%;
	height: 100px;
    z-index: 999;
	background: #FFF;
	box-sizing: border-box;
	border-top: 5px solid #0f3d70;
}
@media screen and (max-width:1240px) {
}


/*------------------------------ h1見出しテキスト ------------------------------*/
header h1{
	position: absolute;
	top: 12px;
	padding-left: calc( 10% + 53px );
	font-size: 11px;
}
@media screen and (max-width:1240px) {
	header h1{
		padding-left: calc( 3% + 53px );
	}
}
@media screen and (max-width:1000px) {
	header h1{
		padding-left: calc( 3% + 46px );
		font-size: 10px;
	}
}



/*------------------------------ ロゴ ------------------------------*/
#header_logo{
	position:absolute;
	padding-left: 10%;
	top:17px;
	z-index: 9;
}
#header_logo img{
	width: 300px;
}
@media screen and (max-width:1240px) {
	#header_logo{
		padding-left: 3%;
	}
}
@media screen and (max-width:1000px) {
	#header_logo img{
		width: 260px;
	}
}





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

	nav

============================================================================*/
nav {
	position: relative;
}
nav ul {
	margin-top: 29px;
	margin-right: 5%;
	text-align: right;
}
nav li {
	position:relative;
	display: inline-block;
	margin: 0 15px;
	text-align: center;
}
nav li a {
	position:relative;
	display: block;
	font-size: 15px;
}
nav li a em{
	display: block;
	font-size: 11px;
	color: #218fce;
	font-family: "Josefin Sans", sans-serif;
	font-optical-sizing: auto;
	line-height: 1.5;
}
@media screen and (max-width:1240px) {
	nav ul { margin-right: 2%;}
}
@media screen and (max-width:1000px) {
	nav ul { margin-top: 41px; margin-right: 2%;}
	nav li { margin: 0 10px;}
	nav li a { font-size: 14px;}
	nav li a em { font-size: 10px; line-height: 1;}
}



/*------------------------------ ホバーのボーダー ------------------------------*/
nav li a::before{
    position: absolute;
	left: 0;
	right:0;
	bottom: -6px;
	width:100%;
	height: 1px;
	margin:auto;
	background-color: #0f3d70;
	transition: 0.15s  ease-out;
	transform: scaleX(0);
	content: "";
	z-index: 1;
}
nav li a:hover::before{
	transform: scaleX(1);
}



/*------------------------------ PC＊スクロール後設定 ------------------------------*/
#header.HeightMin{
	position: fixed;
	height:80px;
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-170px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

/*----- ロゴ ------*/
#header.HeightMin #header_logo {
	top: 10px;
}
#header.HeightMin #header_logo img{
	width: 260px;
}

/*----- h1 ------*/
#header.HeightMin h1{
	top: 5px;
	padding-left: calc( 10% + 46px );
	font-size: 10px;
}

/*----- nav -----*/
#header.HeightMin nav ul {
	margin-top: 17px;
	line-height: 1.8;
}
@media screen and (max-width:1240px) {
	#header.HeightMin h1{
		padding-left: calc( 3% + 46px );
	}
}
@media screen and (max-width:1000px) {
	#header.HeightMin nav ul {
		margin-top: 35px;
	}
}








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

	▼▽▼▽▼▽▼▽▼▽ここからSP用▼▽▼▽▼▽▼▽▼▽

============================================================================*/
@media screen and (max-width:740px) {
	
	
	
	


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

	header

============================================================================*/
header {
	display:none;
}

/*------------------------------ h1 ------------------------------*/
.ham_nav h1{
	position:relative;
	top: 0;
	width:100%;
	box-sizing: border-box;
	font-size: 10px;
	color: #000;
	line-height: 25px;
	height: 25px;
	background: #f7f7f7;
	text-align: center;
	letter-spacing: 0;
}


/*------------------------------ ロゴ ------------------------------*/
#sp_header_logo {
	position: absolute;
	width: 200px;
	padding-top: 11px;
	margin-left: 4%;
}
#sp_header_logo img {
	position: relative;
	z-index: 999;
}



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

	navi

============================================================================*/
nav{
	display:none;
}
.ham_nav {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:85px;
	background: #FFF;
	box-sizing: border-box;
	border-bottom: 1px solid #eee;
	z-index: 9998;
}
.ham_nav dl{
}
.ham_nav dl dt {
	cursor:pointer;
}
.ham_nav dl dd {
	position: absolute;
	right: -100%;
	width: 100%;
	height: 1000px;
	background: rgba(33,143,206,.5);
	transition: all 0.5s ease-in-out;
	z-index: 9999;
}
.ham_nav dl dd.active {
	right: 0%;
}
.ham_nav ul{
	position: absolute;
	right: -100%;
	width: 90%;
	min-width: 300px;
	height: 1000px;
	padding-top: 70px;
	background: #f7f7f7;
	transition: all 0.5s ease-in-out;
	z-index: 99999;
}
.ham_nav ul.active {
	right: 0%;
}
.ham_nav ul li {
	position: relative;
	line-height:3.0;
	margin-bottom: 20px;
}
.ham_nav ul li::before {
	position: absolute;
	content: "";
	background: url("../images/icon05.svg") no-repeat;
	background-size: 10px auto;
	width: 10px;
	height: 20px;
	top: 50%;
    margin-top: -6px;
	left: 35px;
}
.ham_nav ul li a {
	color:#222;
	display: block;
    font-size: 15px;
	margin: 0 10%;
	line-height: 1.5;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}
.ham_nav ul li a em{
	margin-left: 20px;
	font-size: 12px;
	color: #218fce;
	font-family: "Josefin Sans", sans-serif;
	font-optical-sizing: auto;
	line-height: 1;
}
	
/*------------------------------ btn　お問い合わせ ------------------------------*/
.ham_nav li:last-of-type a {
	position: relative;
	display: block;
	width: 80%;
	height: 45px;
	margin: 30px auto 0;
	padding: 0;
	background: linear-gradient(90deg, #00356f, #005298);
	color: #FFF;
	text-align: center;
	line-height: 45px;
	transition: ease .2s;
}

	
	

/*------------------------------ ハンバーガー ------------------------------*/
.ham_nav dt a {
    position: absolute;
    display: block;
    top:35px;
    right: 10px;
    width: 42px;
    height:42px;
    z-index: 9999999;
	background: linear-gradient(90deg, #00356f, #005298);
}
.ham_nav dt a span {
    position: absolute;
    display: block;
    left: 15px;
    width: 18px;
    height: 1px;
    background: #fff;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
}
.ham_nav dt a span:first-child {
    top: 15px;
	width: 24px;
    left: 9px;
}
.ham_nav dt a span:nth-child(2) {
    top: 50%;
}
.ham_nav dt a span:last-child {
    bottom: 14px;
	transition-delay: .15s;
}
.ham_nav dt a.active span:first-child {
	top: 13px;
    -webkit-transform: translateY(8px) rotate(45deg);
    -moz-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}
.ham_nav dt a.active span:nth-child(2) {
	left: -40px;
    opacity: 0;
}
.ham_nav dt a.active span:last-child {
	width: 24px;
	bottom: 12px;
    left: 9px;
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}
.ham_nav dt:hover a span {
    width: 24px;
    left: 9px;
}
	


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

	▲△▲△▲△▲△▲△ここまでSP用▲△▲△▲△▲△▲△

============================================================================*/
}






