@charset "UTF-8";

* {
	list-style: none;
}
html {
	font-size: 100%;
}
a {
	text-decoration: none;
	color: #3e4496;
}
h2 {
	letter-spacing: .2em;
	text-indent: .2em;
}
body {
	width: 100%;
	height: 100%;
	max-width: 1920px;
	margin: 0 auto;
	font-size: 16px;
	font-family: YuGothic,'Yu Gothic','ヒラギノ角ゴシック','Hiragino Sans','Verdana',sans-serif;
	color: #00053a;
	font-size: 1em;
}
/*header ここから*/
header {
	margin: 20px 50px;
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
}
.con_title {
	width: 50%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
}
.box_title {
	width: 50%;
	display: flex;
	align-items: flex-end;
}
.box_logo {
	width: 30%;
	min-width: 55px;
	margin-right: 1em;
}
.box_logo a {
	display: block;
}
.box_logo img {
	width: 100%;
}
.txt_title {
	color: #3e4496;
}
.txt_title h1 {
	width: max-content;
	text-align: center;
	letter-spacing: .5em;
	text-indent: .5em;
	line-height: 1.8em;
	margin-top: .45em;
	font-size: 1.8vw;
}
.txt_title h1 span {
	color: #3e4496;
	font-size: 2em;
	letter-spacing: initial;
}
.txt {
	color: #3e4496;
	font-size: 1.2vw;
	line-height: 2em;
}
.global {
	margin: 0 0 0 auto;
}
.global ul {
	display: flex;
	flex-wrap: nowrap;
}
.global ul li {
	margin-left: 60px;
	font-size: 1.2em;
}
.global a{
	position: relative;
	display: inline-block;
	text-decoration: none;
}
.global a:after {
	position: absolute;
	bottom: -2px;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #3e4496;
	transform: scale(1, 1);
	transform-origin: left top;
	transition: transform .3s;
}
.global a:hover:after {
	transform: scale(0, 1);
}
.header-logo-menu {
	display: none;
}
#btn_top {
	width: 50px;
	right: 3vw;
	bottom: 50px;
	position: fixed;
	z-index: 20;
}
#btn_top a {
	display: inline-block;
}
#btn_top a:hover {
	opacity: .5;
	transition: .4s;
}
/*header ここまで*/

/*footer ここから*/
footer {
	width: 100%;
	padding: 2em 10vw;
	background-color: #41447b;
}
.footer_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.footerNav {
	display: flex;
}
.footerNav li {
	padding-bottom: 1em;
}
.footerNav a {
	color: #fff;
}
.footerNav a:before {
	content: '|';
	padding-right: .5em;
}
.link1-2, .link3-4 {
	padding-right: 3em;
}
.box_address {
	display: flex;
	align-items: flex-start;
}
.box_address img {
	margin-right: 1em;
}
.box_address h3 {
	color: #fff;
}
.box_address h4 {
	padding-top: 1em;
	color: #fff;
}
.box_address p {
	color: #fff;
}
.copyright {
	color: #fff;
}
footer p a {
	text-align: center;
	color: #fff;
}
.tel a {
	color: #fff;
}
/*footer ここまで*/

/*sp*/
@media screen and (max-width: 767px) {
	body {
		max-width: 767px;
	}
	header {
		margin: 10px 20px 40px;
	}
	.con_title {
		width: 100%;
		height: auto;
		display: block;
	}
	.box_title {
		width: 100%;
		justify-content: space-evenly;
	}
	.box_logo {
		width: 30%;
		min-width: 0;
		margin-right: 0;
	}
	.box_logo img {
		width: 100%;
		height: auto;
	}
	.txt_title {
		width: auto;
		margin: 0;
	}
	.txt_title h1 {
		font-size: 7vw;
		width: 100%;
		height: auto;
	}
	.txt_title h1 span {
		font-size: 12vw;
		width: 100%;
		height: auto;
	}
	.txt {
	text-align: center;
	font-size: 4vw;
	}
	.global {
		display: none;
	}
	/*ハンバーガーメニューここから*/
	.header-logo-menu {
		margin: 0 0 0 auto;
	}
	#nav-drawer {
		position: relative;
	}
	/*チェックボックス等は非表示に*/
	.nav-unshown {
		display: none;
	}
	/*アイコンのスペース*/
	#nav-open {
		display: inline-block;
		width: 20px;
		vertical-align: middle;
	}
	/*ハンバーガーの形をCSSで表現*/
	#nav-open span, #nav-open span:before, #nav-open span:after {
		position: absolute;
		height: 3px;/*線の太さ*/
		width: 25px;/*長さ*/
		border-radius: 3px;
		background: #3e4496;
		display: block;
		content: '';
		cursor: pointer;
	}
	#nav-open span:before {
		bottom: -8px;
	}
	#nav-open span:after {
		bottom: -16px;
	}
	/*閉じる用の薄黒箇所*/
	#nav-close {
		display: none;
		position: fixed;
		z-index: 99;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: black;
		opacity: 0;
		transition: .3s ease-in-out;
	}
	/*メニューの中身*/
	#nav-content {
		overflow: auto;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
		width: 70%;
		max-width: 330px;/*最大幅（お好みで調整を）*/
		height: 100%;
		padding: 30px;
		background: #41447b;
		transition: .3s ease-in-out;
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);
	}
	.ham a {
		color: #fff;
		font-size: 1.4em;
	}
	.ham li {
		padding-bottom: 2em;
	}
	/*チェックがついたら表示させる*/
	#nav-input:checked ~ #nav-close {
		display: block;
		opacity: .5;
	}
	#nav-input:checked ~ #nav-content {
		-webkit-transform: translateX(0%);
		transform: translateX(0%);
		box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}
	.header-logo-menu{
		display: flex;
		display: -moz-flex;
		display: -o-flex;
		display: -webkit-flex;
		display: -ms-flex;
		flex-direction: row;
		-moz-flex-direction: row;
		-o-flex-direction: row;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
	}
	/*ハンバーガーメニューここまで*/
	footer {
		padding: 1.5em 0;
	}
	.footer_wrap {
		width: 95vw;
		margin: 0 auto;
	}
	.footerNav {
		margin-bottom: 3em;
		font-size: 1em;
	}
	.link1-2, .link3-4 {
		padding-right: 8.5vw;
	}
	.box_address {
		margin: 0 0 3em auto;
	}
	.box_address img {
		width: 15vw;
		min-width: 90px;
	}
	.box_address h3 {
		font-size: 1.3em;
	}
	.box_address h4 {
		padding-top: 1.5em;
		font-size: 1.2em;
	}
	.box_address p {
		font-size: 1em;
	}
	.copyright {
		margin-left: .5em;
	}
}