@charset "utf-8";

/* ===================================================================
HEADER
=================================================================== */

/* UPPER
--------------------*/

.h-upper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px;
	background: #FFF;
}

.h-u-logo {
	height: 100%;
	padding: 15px 0;
}

.h-u-logo img {
	width: auto;
	height: 100%;
}

/* LOWER
--------------------*/

.h-lower {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px;
	background: #F5F4F5;
}

.h-l-fixed {
	position: relative;
	width: 100%;
	height: 100px;
	padding: 12.5px 0;
	background: #F5F4F5;
	z-index: 100;
}

.h-l-fixed.fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

/* ===================================================================
HEADER PC
=================================================================== */

/* LOWER MENU
--------------------*/

.h-pc-menu-list > ul {
	display: flex;
	justify-content: center;
	align-items: center;
}

.h-pc-menu-list > ul > li {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 75px;
	height: 75px;
	margin: 0 5px;
	padding: 40px 5px 2.5px;
	color: #000;
	font-size: 12px; /* 固定 */
	font-weight: 700;
	text-align: center;
	line-height: 1.2; /* 特殊 */
	background: #FFF;
	border-radius: 10px;
	cursor: pointer;
}

.h-pc-menu-list > ul > li.show {
	background: #C5EAF8;
}

.h-pc-menu-list > ul > li.show:before {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 0);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 7px 12.5px 7px;
	border-color: transparent transparent #46BAE9 transparent;
}

.h-pc-menu-list > ul > li i[class^=fa] {
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translate(-50%, 0);
	color: #46BAE9;
	font-size: 30px; /* 固定 */
}

/* LOWER SUB MENU
--------------------*/

.h-sub-menu-list.h-pc-sub-menu-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	padding: 15px 0;
	background: #46BAE9;
}

.h-sub-menu-list,
.h-sub-menu-list.h-pc-sub-menu-list.show {
	display: flex;
	justify-content: center;
	width: 100%;
}

.h-sub-menu-list > ul {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	max-width: 910px;
	margin: 0 auto;
}

.h-sub-menu-list > ul > li {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 105px;
	height: 100px;
	margin: 0 10px 20px 0;
	padding: 55px 5px 2.5px;
	color: #000;
	font-size: 12px; /* 固定 */
	font-weight: 700;
	text-align: center;
	line-height: 1.2; /* 特殊 */
	background: #FFF;
	border: 2px solid #46BAE9;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color .2s ease-out 0s;
}

.h-sub-menu-list > ul > li:nth-of-type(8n+8) {
	margin: 0 0 20px 0;
}

.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(1),
.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(2),
.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(3),
.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(4),
.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(5),
.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(6),
.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(7),
.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(8),
.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(1),
.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(2),
.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(3),
.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(4),
.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(5),
.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(6),
.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(7),
.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(1),
.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(2),
.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(3),
.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(4),
.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(5),
.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(6),
.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(1),
.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(2),
.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(3),
.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(4),
.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(5),
.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(1),
.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(2),
.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(3),
.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(4),
.h-sub-menu-list > ul > li:nth-of-type(8n+6):nth-last-of-type(1),
.h-sub-menu-list > ul > li:nth-of-type(8n+6):nth-last-of-type(2),
.h-sub-menu-list > ul > li:nth-of-type(8n+6):nth-last-of-type(3),
.h-sub-menu-list > ul > li:nth-of-type(8n+7):nth-last-of-type(1),
.h-sub-menu-list > ul > li:nth-of-type(8n+7):nth-last-of-type(2) {
	margin: 0 10px 0 0;
}

.h-sub-menu-list > ul > li:nth-of-type(8n+8):nth-last-of-type(1) {
	margin: 0;
}

.h-sub-menu-list > ul > li:last-of-type {
	margin: 0 !important;
}

.h-sub-menu-list > ul > li.show,
.h-sub-menu-list > ul > li:hover {
	background: #C5EAF8;
}

/* LOWER SUB MENU FONT SIZE
--------------------*/

.h-sub-menu-list[h-data-sub-id=h_menu_fs] > ul > li i[class^=fa] {
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	color: #46BAE9;
}

.h-sub-menu-list[h-data-sub-id=h_menu_fs] > ul > li:nth-of-type(1) i[class^=fa] {
	top: 15px;
	font-size: 25px; /* 固定 */
}

.h-sub-menu-list[h-data-sub-id=h_menu_fs] > ul > li:nth-of-type(2) i[class^=fa] {
	top: 10px;
	font-size: 35px; /* 固定 */
}

.h-sub-menu-list[h-data-sub-id=h_menu_fs] > ul > li:nth-of-type(3) i[class^=fa] {
	top: 5px;
	font-size: 45px; /* 固定 */
}

/* LOWER SUB MENU BACKGROUND
--------------------*/

.h-sub-menu-list[h-data-sub-id=h_menu_bg] > ul > li:before {
	content: '';
	position: absolute;
	top: 15px;
	left: 50%;
	transform: translate(-50%, 0);
	width: 35px;
	height: 35px;
	border-radius: 50%;
}

.h-sub-menu-list[h-data-sub-id=h_menu_bg] > ul > li:nth-of-type(1):before {
	background: #EFEFEF;
}

.h-sub-menu-list[h-data-sub-id=h_menu_bg] > ul > li:nth-of-type(2):before {
	background: #005377;
}

.h-sub-menu-list[h-data-sub-id=h_menu_bg] > ul > li:nth-of-type(3):before {
	background: #333;
}

/* LOWER SUB MENU CONTENTS
--------------------*/

.h-sub-menu-list[h-data-sub-id=h_menu_co] > ul > li:before {
	content: '';
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translate(-50%, 0);
	width: 40px;
	height: 40px;
}

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

	/* ===================================================================
	HEADER
	=================================================================== */

	/* UPPER
	--------------------*/

	.h-upper {
		height: 60px;
	}

	.h-u-logo {
		padding: 10px 0;
	}

	/* LOWER
	--------------------*/

	.h-lower {
		height: 40px;
	}

	.h-l-fixed {
		height: 40px;
		padding: 10px 0;
	}

	/* ===================================================================
	HEADER SP
	=================================================================== */

	/* OPERATION MENU
	--------------------*/

	.h-sp-start-menu,
	.h-sp-close-menu {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 20px;
		cursor: pointer;
	}

	.h-sp-start-menu-title,
	.h-sp-close-menu-title {
		margin: 0 10px 0 0;
		color: #46BAE9;
		font-size: 14px; /* 固定 */
		font-weight: 700;
	}

	.h-sp-start-menu-icon,
	.h-sp-close-menu-icon {
		position: relative;
		width: 17px;
		height: 14px;
	}

	.h-sp-start-menu-icon span,
	.h-sp-close-menu-icon span {
		position: absolute;

		display: block;
		width: 100%;
		height: 2px;
		background: #46BAE9;
		border-radius: 2px;
	}

	.h-sp-start-menu-icon span:nth-child(1) {
		top: 0;
		left: 0;
		right: 0;
	}

	.h-sp-start-menu-icon span:nth-child(2) {
		top: 50%;
		transform: translate(0, -50%);
		left: 0;
		right: 0;
	}

	.h-sp-start-menu-icon span:nth-child(3) {
		bottom: 0;
		left: 0;
		right: 0;
	}

	.h-sp-close-menu-icon span:nth-child(1) {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.h-sp-close-menu-icon span:nth-child(2) {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	/* SP MENU
	--------------------*/

	.h-sp-menu {
		display: none;
	}

	.h-sp-menu.show {
		display: block;
	}

	.h-sp-menu-content {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		height: 100vh;
		background: #F5F4F5;
		z-index: 200;
	}

	.h-sp-menu-content-inner {
		height: 100%;
		padding: 10px 10px 100px;
		overflow-y: auto;
	}

	.h-sp-menu-list {
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}

	.h-sp-menu-list > ul > li {
		margin: 0 0 10px;
	}

	/* SP MENU DL
	--------------------*/

	.h-sp-menu-list > ul > li dl dt {
		position: relative;
		display: flex;
		justify-content: flex-start;
		align-items: center;
		width: 100%;
		min-height: 60px;
		padding: 5px 65px 5px 75px;
		color: #000;
		font-size: 16px; /* 固定 */
		font-weight: 700;
		line-height: 1.2; /* 特殊 */
		background: #FFF;
		border-radius: 10px;
		cursor: pointer;
	}

	.h-sp-menu-list > ul > li dl dt.h-sp-menu-accordion:before,
	.h-sp-menu-list > ul > li dl dt.h-sp-menu-accordion:after {
		content: '';
		position: absolute;
		top: 50%;
		right: 30px;
		width: 4px;
		height: 24px;
		background: #46BAE9;
		border-radius: 2px;
	}

	.h-sp-menu-list > ul > li dl dt.h-sp-menu-accordion:before {
		transform: translate(0, -50%) rotate(90deg);
	}

	.h-sp-menu-list > ul > li dl dt.h-sp-menu-accordion:after {
		transform: translate(0, -50%);
	}

	.h-sp-menu-list > ul > li dl dt.show {
		border-radius: 10px 10px 0 0;
	}

	.h-sp-menu-list > ul > li dl dt.h-sp-menu-accordion.show:after {
		content: none;
	}

	.h-sp-menu-list > ul > li dl dt i[class^=fa] {
		position: absolute;
		top: 50%;
		left: 20px;
		transform: translate(0, -50%);
		color: #46BAE9;
		font-size: 30px; /* 固定 */
	}

	.h-sp-menu-list > ul > li dl dd {
		display: none;
		padding: 0 10px 10px;
		background: #FFF;
		border-radius: 0 0 10px 10px;
	}

	.h-sub-menu-list,
	.h-sub-menu-list.h-sp-sub-menu-list {
		width: 100%;
		max-width: 335px;
		margin: 0 auto;
	}

	.h-sub-menu-list > ul {
		width: 100%;
		margin: 0;
	}

	.h-sub-menu-list > ul > li {
		width: 32%;
		margin: 0 2% 20px 0;
	}

	.h-sub-menu-list > ul > li:nth-of-type(8n+8) {
		margin: 0 2% 20px 0;
	}

	.h-sub-menu-list > ul > li:nth-of-type(3n+3) {
		margin: 0 0 20px !important;
	}
	
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(3),
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(4),
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(5),
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(6),
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(7),
	.h-sub-menu-list > ul > li:nth-of-type(8n+1):nth-last-of-type(8),
	.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(3),
	.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(4),
	.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(5),
	.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(6),
	.h-sub-menu-list > ul > li:nth-of-type(8n+2):nth-last-of-type(7),
	.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(3),
	.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(4),
	.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(5),
	.h-sub-menu-list > ul > li:nth-of-type(8n+3):nth-last-of-type(6),
	.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(3),
	.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(4),
	.h-sub-menu-list > ul > li:nth-of-type(8n+4):nth-last-of-type(5),
	.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(3),
	.h-sub-menu-list > ul > li:nth-of-type(8n+5):nth-last-of-type(4),
	.h-sub-menu-list > ul > li:nth-of-type(8n+6):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(8n+6):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(8n+6):nth-last-of-type(3),
	.h-sub-menu-list > ul > li:nth-of-type(8n+7):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(8n+7):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(8n+8):nth-last-of-type(1) {
		margin: 0 2% 20px 0;
	}

	.h-sub-menu-list > ul > li:nth-of-type(3n+1):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(3n+1):nth-last-of-type(2),
	.h-sub-menu-list > ul > li:nth-of-type(3n+1):nth-last-of-type(3),
	.h-sub-menu-list > ul > li:nth-of-type(3n+2):nth-last-of-type(1),
	.h-sub-menu-list > ul > li:nth-of-type(3n+2):nth-last-of-type(2) {
		margin: 0 2% 0 0 !important;
	}

	.h-sub-menu-list > ul > li:nth-of-type(3n+3):nth-last-of-type(1) {
		margin: 0 !important;
	}

}

/* ===================================================================
FOOTER
=================================================================== */

/* LAYOUT
--------------------*/

footer {
	padding: 35px 0;
	background: rgba(226, 217, 226, .3);
}

/* UPPER
--------------------*/

.f-upper {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 100px;
	margin: 0 0 10px;
}

.f-u-logo {
	height: 100%;
	padding: 15px 0;
}

.f-u-logo img {
	width: auto;
	height: 100%;
}

/* LOWER INNER
--------------------*/

.f-l-inner {
	display: flex;
	justify-content: space-between;
}

/* LOWER LEFT
--------------------*/

.f-l-left {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 46%;
}

.f-l-detail-title {
	margin: 0 0 5px;
	font-size: 14px; /* 固定 */
	font-weight: 700;
}

.f-l-detail-text {
	margin: 0 0 20px;
	font-size: 14px; /* 固定 */
}

/* LOWER RIGHT
--------------------*/

.f-l-right {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 42%;
}

.f-l-link ul {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}

.f-l-link ul li {
	width: 50%;
	margin: 0 0 20px;
}

.f-l-link ul li a {
	font-size: 14px; /* 固定 */
	font-weight: 700;
}

.f-l-link ul li a:hover {
	text-decoration: underline;
}

.f-l-copy {
	font-size: 10px; /* 固定 */
	text-align: right;
}

/* TO TOP
--------------------*/

.f-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 100;
}

.f-to-top a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 40px;
	padding: 5px 30px 5px 12px;
	background: #C5EAF8;
	border: 2px solid #FFF;
	border-radius: 10px;
	transition: background-color .2s ease-out 0s;
}

.f-to-top a:hover {
	background: #46BAE9;
}

.f-to-top a p {
	color: #000;
	font-size: 16px; /* 固定 */
	font-weight: 700;
	line-height: 1.4;
	transition: color .2s ease-out 0s;
}

.f-to-top a:hover p {
	color: #FFF;
}

.f-to-top a + i[class^=fa] {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translate(0, -50%);
	color: #000;
	font-size: 20px; /* 固定 */
	pointer-events: none;
	transition: color .2s ease-out 0s;
}

.f-to-top a:hover + i[class^=fa] {
	color: #FFF;
}

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

	/* ===================================================================
	FOOTER
	=================================================================== */

	/* LAYOUT
	--------------------*/

	footer {
		padding: 25px 0 10px;
	}

	/* UPPER
	--------------------*/

	.f-upper {
		justify-content: center;
	}

	/* LOWER INNER
	--------------------*/

	.f-l-inner {
		display: block;
	}

	/* LOWER LEFT
	--------------------*/

	.f-l-left {
		display: block;
		width: 100%;
		margin: 0 0 30px;
	}
	
	.f-l-detail-text {
		font-size: 13px; /* 固定 */
	}

	/* LOWER RIGHT
	--------------------*/

	.f-l-right {
		display: block;
		width: 100%;
	}

	.f-l-link {
		margin: 0 0 10px;
	}

	.f-l-link ul li {
		margin: 0 0 15px;
	}

	.f-l-link ul li a {
		font-size: 11px; /* 固定 */
	}

	.f-l-copy {
		text-align: center;
	}

	/* TO TOP
	--------------------*/

	.f-to-top {
		bottom: 10px;
		right: 10px;
	}

}