@charset "Shift_JIS";


/* Global Footer SP */

.footer-gnav-sp,
.sp-menu {
	display: none;
}
.sp-search {
	display: none;
	background: #fff;
	border-top: 1px solid #dbdbdb;
	box-shadow: -1px 0 3px rgba(0, 0, 0, 0.2);
}
.sp-search .inner {
	box-sizing: border-box;
	padding: 10px;
	position: relative;
}


@media screen and (max-width: 768px) {

.footer-gnav-sp {
	display: block;
	padding-bottom: 30px;
	background-color: #FFF;
	z-index: 900;
	text-align: center;
}

.footer-gnav-sp .fixed-nav {
	position: fixed;
	z-index: 901;
	left: 0;
	bottom: 0;
	display: table;
	width: 100%;
}
.footer-gnav-sp .fixed-nav li {
	display: table-cell;
	width: 33%;
}

.footer-gnav-sp .fixed-nav a {
	background-color: #656565;
	background-repeat: no-repeat;
	background-position: calc(50% - 9px - 1.5em) center;
	background-size: 16px auto;
	color: #fff;
	display: block;
	font-size: 12px;
	letter-spacing: 0.2em;
	padding: 15px 0;
	text-decoration: none;
}

.footer-gnav-sp .fixed-nav li > a.active::before {
  background: none !important;
}

.footer-gnav-sp .fixed-nav a::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 14px;
	padding-left: 10px;
	vertical-align: middle;
	position: relative;
	top: -2px;
}

.footer-gnav-sp .fixed-nav li.home a::before {
	background: url(/images/common/sp_menu/icon_sp_home.png) no-repeat 0 0;
	background-size: contain;
}
.footer-gnav-sp .fixed-nav li.menu {
	border-left: 1px solid #FFF;
	width: 34%;
}
.footer-gnav-sp .fixed-nav li.menu a::before {
	background: url(/images/common/sp_menu/icon_sp_menu.png) no-repeat 0 0;
	background-size: contain;
}
.footer-gnav-sp .fixed-nav li.search {
	border-left: 1px solid #FFF;
}
.footer-gnav-sp .fixed-nav li.search a::before {
	background: url(/images/common/sp_menu/icon_sp_search.png) no-repeat 0 0;
	background-size: contain;
}


.footer-gnav-sp .fixed-nav li > a.active {
	background-image: url(/images/common/sp_menu/icon_sp_close.png);
	background-color: #E7F0F7;
	color: #12438A;
	background-size: 12px auto;
}

/* SP メニュー
----------------------------- */

.sp-menu {
	display: block;
	position: fixed;
	z-index: 9999;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-bottom: 15px;
	-webkit-overflow-scrolling: touch;
	height: calc(100% - 15px);
	transition: bottom 0.5s ease-out, -webkit-transform 0.5s ease-out;
	transition: bottom 0.5s ease-out, transform 0.5s ease-out;
	overflow: auto;
  text-align: left;
}
.sp-menu.close {
	bottom: -100%;
}
.sp-menu.open {
	bottom: 30px;
}
.sp-menu .sp-menu-slide {
	background: #ffffff;
	overflow: scroll;
	height: 100%;
}
.sp-menu ul.level1 {
	padding-top: 30px;
}
.sp-menu ul.level1 > li {
	border-bottom: 1px solid #B2B2B2;
}

.sp-menu ul.level1 li:last-child {
	border-bottom: none !important;
}

.sp-menu ul.level2 {
	background-color: #EBEBEB;
}
.sp-menu ul.level2 > li {
	border-bottom: 1px solid #FFF;
}
.sp-menu ul.level2 > li:first-child {
	border-top: 1px solid #b2b2b2;
}
.sp-menu ul a {
	display: block;
	padding: 15px 20px;
	color: #12438A;
	text-decoration: none;
	line-height: 1.4;
}

.sp-menu ul.level1 a {
	font-size: 13px;
}
.sp-menu ul.level2 a {
	padding: 12px 20px;
	font-size: 11px;
}

.sp-menu a img.icon {
	vertical-align: middle;
	margin-left: 5px;
}


.sp-menu ul.level1 > li > a {
	background: url(/images/icon_link_sp.png) no-repeat 10px center / 5px auto;
}

.sp-menu ul.level1 > li.home > a {
	padding-left: 28px;
	background: url(/images/common/sp_menu/icon_sp_home2.png) no-repeat 7px 16px / 16px auto;
}

.sp-menu ul.level1 > li.home {
	position: relative;
	padding-top: 6px;
	padding-right: 40px;
	background: url(/images/header_official_sp.png) repeat-x ;
	background-size: 100% 6px;
}

.sp-menu ul.level1 > li.home > img.closebtn {
	position: absolute;
	top: 12px;
	right: 10px;
	cursor: pointer;
}

.icon-outlink {
	width: 12px;
	margin-left: 10px;
	vertical-align: baseline !important;
}


/* SP 検索
----------------------------- */

.sp-search {
	display: block;
	position: fixed;
	z-index: 900;
	bottom: 35px;
	left: 0;
	width: 100%;
	padding-bottom: 15px;
	background: #FFF;
	-webkit-overflow-scrolling: touch;
	transition: bottom 0.5s ease-in-out;
}
.sp-search.close {
	bottom: -100%;
}
.sp-search.open {
	bottom: 30px;
}
.sp-search .input-search {
	-webkit-appearance: none;
	appearance: none;
	width: calc(100% - 60px);
	margin: 0;
	padding: 7px 10px 5px;
	border-radius: 5px;
	border: 1px solid #808080;
	line-height: 1;
}
.sp-search .btn-search {
	background: #808080 url(/images/common/sp_menu/icon_sp_search.png) no-repeat center center / 18px auto;
	position: absolute;
	top: 10px;
	right: 10px;
	-webkit-appearance: none;
	appearance: none;
	width: 50px;
	padding: 5px 0;
	border-radius: 5px;
	border: 0;
	color: #fff;
	text-align: center;
	text-indent: -9999px;
	cursor: pointer;
}

}
