@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 {
	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;
}
#intro {
	max-width: 100%;
	height: 615px;
	position: relative;
	background-image: url(../img/topImg.jpg);
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	object-fit: cover;
}
.item {
	width: 100%;
	height: 100%;
	text-align: right;
	overflow: hidden;
	opacity: .7;
	mix-blend-mode: difference;
}
.item img {
	width: 40%;
	height: auto;
	min-width: 450px;
	margin: 390px -60px 0 0;
}
section {
	margin-top: 70px;
}
#links {
	width: 100%;
}
.link_ind {
	text-align: center;
	background-image: url(../img/material/logo_txt.png);
	-webkit-background-size: 30%;
	background-size: 30%;
	background-position: left 95% bottom -1vh;
}
.bgMask {
	height: 100%;
	background: rgba(255,255,255,.5);
}
.link_ind h2 {
	padding-bottom: 30px;
}
.ohterLinks {
	padding: 5em 0 0;
}
.con_linkarea {
	display: flex;
	text-align: center;
}
.box_link {
	width: 100%;
	height: 32vw;
	max-height: 400px;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	transition: .5s linear;
}
.box_link:hover {
	opacity: .8;
	transition-duration: .3s;
}
.box_link a {
	width: 100%;
	display: block;
	padding: 5em 0;
}
.box_link img {
	width: 10vw;
}
.box_link p {
	margin: 1em 0;
	color: #fff;
}
.box_link p:last-child {
	font-size: 1.5em;
	letter-spacing: .2em;
	text-indent: .2em;
}
.border:after {
	content: "";
	width: 50%;
	margin: 0 auto;
	display: block;
	border-top: 1px solid #fff;
	transform: scaleY(.5);
	transform-origin: 100% 0;
}
.link_title {
	margin: 0 auto;
	color: #fff;
}
.link_com {
	width: calc(100%/3);
	background-image: url(../img/link_com.jpg);
}
.link_fac {
	width: calc(100%/3);
	background-image: url(../img/link_fac.jpg);
}
.link_con {
	width: calc(100%/3);
	background-image: url(../img/link_con.jpg);
}
.news_wrap {
	width: 100%;
}
.bgImg {
	background-image: url(../img/en_in02kouba_btm.jpg);
	background-position: bottom;
}
.bgDline {
	height: 100%;
	background-image: url(../img/material/Dline_2.png);
	background-position: left -20px top 0;
	background-size: 45% 100%;
}
#news {
	width: 60vw;
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 8em 1em 7em;
	position: relative;
}
#news .news_title {
	width: 40%;
	z-index: 3;
}
.news_title h2 {
	color: #434787;
	text-indent: 0;
}
#news dl dd {
	margin-bottom: 1em;
}
.access_wrap {
	width: 100%;
	padding-bottom: 10em;
	z-index: 1;
}
#access {
	width: 60%;
	display: flex;
	margin: 0 auto;
	padding: 1em 1em 7em;
	position: relative;
	background-color: #fff;
}
#access .access_title {
	width: 40%;
}
.access_title h2 {
	color: #434787;
	text-indent: 0;
}
#access .box_map {
	width: 60%;
}
.box_details {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}
.map_details {
	line-height: 1.5;
	margin-right: 1em;
}
.map_details h3 {
	margin: 1em 0;
}
.box_details .btn {
	margin-top: 1em;
}
.con_tab {
	width: 60%;
	margin: 0 auto;
	padding: 0 4vw;
	background-color: #fff;
}
.tab {
	width: calc(100%/2);
	padding-right: .1em;
    border-bottom: 1px solid #434787;
    line-height: 2em;
    text-align: center;
    font-size: 1.5em;
    float: left;
    cursor: pointer;
}
.selected {
    background-color: #434787;
    color: white;
    border: none;
}
#container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 3em;
    overflow: hidden;
    clear: left;
}
.box {
    width: 100%;
    padding: 2em 0 2em;
    line-height: 2;
    text-align: left;
}
ion-icon {
	display: inline-flex;
	vertical-align: text-top;
	margin: 0 .1em;
}
#first {
    top: 0px;
    left: 0px;
}
#second {
	position: absolute;
    top: 0px;
    left: 100%;
}
.txt_root {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: .5em;
}
.txt_root li {
	padding-left: 1em;
	text-indent: -1em;
}
/* ↓タブ切り替えの際スライドする */
/* #slide {
    transition: transform 1s ease-in-out 0s;
    -moz-transition: -moz-transform 1s ease-in-out 0s;
    -webkit-transition: -webkit-transform 1s ease-in-out 0s;
} */
.move-to-second {
    transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
}
.move-to-first {
    transform: translateX(0px);
    -moz-transform: translateX(0px);
    -webkit-transform: translateX(0px);
}
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;
}

/*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;
	}
	/*ハンバーガーメニューここまで*/
	#intro {
		height: 65vh;
	}
	#btn_top {
		right: 10px;
		bottom: 10px;
	}
	.sub li {
		margin: 30px 20px 0 0;
	}
	.item {
		width: 100%;
		bottom: 0;
	}
	.item img {
		width: 50%;
		min-width: 300px;
		margin: 45vh -40px 0 0;
	}
	.link_ind {
		-webkit-background-size: 50%;
		background-size: 50%;
		background-position: left 100% bottom 30%;
	}
	.link_ind h2 {
		font-size: 185%;
		margin: 0 .5em;
		padding-bottom: 8%;
	}
	.con_linkarea {
		display: block;
	}
	.con_linkarea p {
		font-size: 1em;
	}
	.box_link {
		margin: .2em 0;
		padding: 6em 0;
	}
	.box_link:last-child {
		margin-bottom: 0;
	}
	.box_link img {
		width: 28vw;
	}
	.box_link p {
		margin: .2em;
		font-size: 1em;
		line-height: 1.4;
	}
	.border:after {
		margin: .5em auto;
	}
	.link_title {
		font-size: 1.4em;
	}
	.link_com {
		width: 100vw;
	}
	.link_fac {
		width: 100vw;
	}
	.link_con {
		width: 100vw;
		background-position: top -4em right;
	}
	.bgDline {
		-webkit-background-size: 50% 100%;
		background-size: 50% 100%;
	}
	#news {
		width: 93vw;
		padding: 6em .5em 5em;
	}
	.news_title {
		width: 50%;
		margin-bottom: 2em;
	}
	#news dl {
		font-size: 1.2em;
	}
	#access {
		width: 95vw;
		padding: 1em 1em 5em;
		display: block;
	}
	#access .box_map {
		width: 100%;
	}
	.gmap {
		margin: 1em 0;
	}
	#access .box_map .map_flex {
		display: block;
		text-align: right;
	}
	.map_flex .btn {
		margin: 1em 0;
	}
	.map_details h3 {
		margin: 0 0 1em;
		font-size: 1.4em;
	}
	.map_details p {
		font-size: 1.2em;
	}
	.con_tab {
		width: 95vw;
	}
	.tab {
		font-size: 1.3em;
	}
	.txt_root {
		display: block;
		font-size: 1.2em;
	}
	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;
	}
}