/*header_footer_sp.css*/

/*----------------
Header
------------------*/

header {
	z-index: 100;
	height: 60px;
	background-color: #fff;
	position: sticky;
/*	position: fixed;*/
	top: 0;
	left: 0;
}

header.active {
	overflow: auto;
}

header.active .h_cont {
	height: 100%;
}

.h_cont {
	width: 100%;
	height: 100%;
	display: block;
	padding: 0;
}

.h_top {
	height: 100%;
	justify-content: flex-start;
}

.h_top_funcs {
	display: none;
}

.h_top .h_logo {
	width: 234px;
	margin-left: 16px;
}

body.fixed .sp_cover {
	display: block;
}


/*----------------
Header Menu
------------------*/

ul.page_navi {
	display: none;
}

ul.page_navi.show-on-mobile {
	padding-bottom: 100px;
	height: 100vh;
	height: 100dvh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.menu-container {
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	height: 60px;
	padding: 0;
	margin: 0 auto;
}

.header_menu.active .menu-container {
	z-index: 100;
}

.menu-container > .menu {
	transition: all 0.1s;
	width: 100%;
	min-width: 100%;
	position: fixed;
	-webkit-overflow-scrolling: touch;
	height: 0;
}

.header_menu.active .menu-container > .menu {
	height: 100%;
}

.menu-container > .menu > ul {
	display: block;
	transition: all 0.2s;
	transform: translate(800px);
}

.menu-container > .menu > ul.show-on-mobile {
	transform:translate(0px);
	box-sizing: border-box;
	width: 87%;
	height: 100%;
	height: auto;
	position: absolute;
	position: fixed;
	top: 60px;
	right: 0;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	z-index: 99;
	height: 100vh;
	margin-top: 0;
	padding: 40px 0 150px 0;
	background-color: #002864;
}

.menu > ul > li > a > span {
	border-right: none;
	padding: 0;
	font-size: 1.6rem;
	font-weight: 500;
	color: #fff;
	display: block;
	width: fit-content;
	position: relative;
}

ul.page_navi > li > a span:after {
	content: none;
}

#menuButton {
	overflow: hidden;
	display: block;
	position: relative;
	z-index: 998;
	width: 60px;
	height: 60px;
	border: none;
	padding: 0;
	cursor: pointer;
	float: right;
	position: fixed;
	margin: 0;
	color: #212121;
	background-color: #002864;
	font-size: 1.4rem;
	line-height: 30px;
	font-family: "Anta", sans-serif;
	font-weight: 400;
	font-style: normal;
	padding: 15px 15px 15px;
	top: 0;
	right: 0;
}

#menuButton span.h-bar,
#menuButton::before,
#menuButton::after {
	display: block;
	right: 15px;
	width: 30px;
	height: 1px;
	background: #fff;
	position: absolute;
	top: 25px;
}

#menuButton span.h-bar {
	overflow: hidden;
	z-index: 1;
	color: #212121;
}

#menuButton::before {
	z-index: 2;
	transform: translate(0, -7px);
	content: "";
}

#menuButton::after {
	z-index: 2;
	transform: translate(0, 7px);
	content: "";
}

#menuButton span.h-bar {
	opacity: 1;
	transition: opacity 150ms 50ms;
	padding: 0;
}

#menuButton::before,
#menuButton::after {
	transition: transform 200ms;
}

#menuButton.active span.h-bar {
	opacity: 0;
	transition: opacity 150ms;
}

#menuButton.active::before {
	transform: rotate(45deg);
}

#menuButton.active::after {
	transform: rotate(-45deg);
}

#menuButton span.h-text {
	position: absolute;
	bottom: 7px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

#menuButton span.h-text:before {
	content: 'menu';
	display: block;
	font-size: 11px;
	color: #fff;
	text-align: center;
}

#menuButton.active span.h-text:before {
	content: 'close';
}

.menu > ul > li > ul.normal-sub > li {
	margin-right: 0;
	margin-top: 0;
	border-bottom: 1px solid #d9d9d9;
}

.menu > ul > li > ul > li > a {
	color: #212121;
	font-size: 1.4rem;
	padding: 12px 0 12px 2em;
	display: block;
	position: relative;
	width: 100%;
	border-right: none;
}

.menu > ul > li > ul li a:before {
	content: none;
}

.menu > ul > li > ul li a:after {
	content: '';
	width: 6px;
	height: 6px;
	border: 0;
	border-top: solid 2px #00A0E9;
	border-right: solid 2px #00A0E9;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	right: 15px;
	bottom: 0;
	margin: auto;
}

.menu > ul > li:hover a span {
	filter: alpha(opacity=100);
	-ms-filter: "alpha(opacity=100)";
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

.page_head {
	display: block;
	width: 100%;
	background: #fff;
	padding-right: 0;
}

ul.page_navi > li {
	width: 100%;
	margin: 0;
	padding: 0;
}

ul.page_navi > li.menu-dropdown-icon {
	margin-bottom: 30px;
}

ul.page_navi > li > a {
	width: 100%;
	color: #0D0D0D;
	text-align: left;
	padding: 14px 32px 14px 16px;
	position: relative;
	border-bottom: 1px solid #4F6A93;
}

ul.page_navi > li > a:after {
	content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url(/assets/img/com/sp_menu_ar.webp);
    background-size: contain;
    background-position: center;
	background-repeat: no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto 0;
    transition: transform 0.4s ease;
}

.menu > ul > li.h_search form {
	width: 85%;
	max-width: 335px;
	margin: 40px auto 0;
	position: relative;
}

.menu > ul > li > ul.normal-sub {
	width: 100%;
	background: transparent;
	position: static;
	box-shadow: none;
	display: block!important;
}

ul.page_navi > li.h_sp_menu {
	width: 85%;
	max-width: 335px;
	margin: 30px auto 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sp_sns_links {
	justify-content: center;
	column-gap: 30px;
}

/*----------------
Footer
------------------*/

footer {
	padding-top: 40px;
}

#pageTop a img {
	width: 61.5px;
}

footer > .inner {
	padding-bottom: 30px;
}

.ft_tit {
	font-size: 1.6rem;
}

.ft_tit span {
	font-size: 500;
}

ul.ft_tel_fax li {
	font-size: 1.4rem;
}

ul.ft_tel_fax li a {
	font-size: 1.4rem;
}

footer .copy_right_wrap {
	padding-top: 20px;
	padding-bottom: 20px;
}

footer .copy_img {
	width: 150px;
}

footer .copy_right {
	font-size: 1.2rem;
}

#pageTop {
	right: 15px;
}

