@charset "utf-8";

/* ======================================
   etc
====================================== */

/* iconfont */
@font-face {
	font-family: "entypo";
	src: url(/common/css/src/entypo.woff);
}

/* font */
@font-face {
	font-family: "GenShin_light_KK";
	src: url(/common/css/src/GenShin_light_KK.woff);
}
@font-face {
	font-family: "GenShin_regular_JIS2";
	src: url(/common/css/src/GenShin_regular_JIS2.woff);
}
@font-face {
	font-family: "GenShin_medium_KK";
	src: url(/common/css/src/GenShin_medium_KK.woff);
}
@font-face {
	font-family: "GenShin_bold_GK";
	src: url(/common/css/src/GenShin_bold_GK.woff);
}

/* drawer toggle button */
body.drawer-close > button#drawer-toggle.drawer-toggle {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	width: 46px;
	height: 32px;
}
body.drawer-open > button#drawer-toggle.drawer-toggle {
	position: fixed;
	top: 0;
}

html {
	scroll-behavior: smooth;
}

#pageHeader > .inner,
#pageFooter > .inner {
	max-width: 976px;
	margin: 0 auto;
	padding: 48px 24px;
}

body {
	padding-top: 100px;
	transition: 0.3s ease-out;
}

/* ======================================
   pageHeader
====================================== */

#pageHeader {
	z-index: 5;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100px;
	transition: 0.3s ease-out;
	background: #ffffff;
}
#pageHeader > .inner {
	display: flex;
	justify-content: space-between;
	height: 100px;
	margin: 0 auto;
	padding: 0 16px;
}
#pageHeader .logo {
	display: flex;
	align-items: center;
	padding: 16px;
	transition: 0.3s ease-out;
}
#pageHeader .logo img {
	width: 220px;
	transition: 0.3s ease-out;
}

/* ======================================
   grobalNav
====================================== */

#grobalNav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100px;
	transition: 0.3s ease-out;
}
#grobalNav .contact {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-basis: 42px;
}
#grobalNav .contact li a {
	font-size: 14px;
	line-height: 1;
	padding: 12px 12px 8px 0;
	transition: 0.3s ease-out;
	text-decoration: none;
}
#grobalNav .contact li.tel a {
	display: flex;
	align-items: center;
	margin-right: 6px;
	color: #6e6e6e;
	border-bottom: 1px dotted #aaaaaa;
}
#grobalNav .contact li.tel a::before {
	font-family: "entypo";
	font-size: 14px;
	margin: -3px 6px 0 0;
	padding: 3px 4px;
	content: "\1f4de";
	transition: 0.3s ease-out;
	color: #ffffff;
	border-radius: 3px;
	background-color: #aaaaaa;
}

#grobalNav .contact li.mail {
	display: flex;
	height: 100%;
}
#grobalNav .contact li.mail a {
	display: flex;
	position: relative;
	align-items: center;
	padding: 0 16px 0 24px;
	transition: 0.3s ease-out;
	color: #ffffff;
	background: #f45b3c;
}
#grobalNav .contact li.mail a::after {
	display: inline-block;
	position: absolute;
	top: 42%;
	left: 8px;
	width: 6px;
	height: 6px;
	content: "";
	transition: 0.3s ease-out;
	transform: rotate(45deg);
	border-width: 1px 1px 0 0;
	border-style: solid solid none none;
	border-color: #ffffff #ffffff transparent transparent;
}
#grobalNav .contact li.mail a:hover {
	background: #fa876c;
}
#grobalNav .contact li.mail a:hover::after {
	left: 10px;
}
#grobalNav .mainNav {
	display: flex;
	position: static;
	align-items: flex-end;
	justify-content: flex-end;
	transition: 0.3s ease-out;
}
#grobalNav .mainNav ul {
	display: flex;
}
#grobalNav .mainNav ul li {
	position: relative;
}
#grobalNav .mainNav ul li a {
	display: inline-block;
	font-family: "GenShin_bold_GK";
	padding: 16px;
	transition: 0.3s ease-out;
	text-decoration: none;
	color: #333333;
}
#grobalNav .mainNav ul li a:hover {
	color: #005bac;
}
#grobalNav .mainNav ul li::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	content: "";
	transition: transform 0.5s;
	transform: scale(0, 1);
	transform-origin: right top;
	background: #005bac;
}
#grobalNav .mainNav ul li:hover::after {
	transform: scale(1, 1);
	transform-origin: left top;
}

/* narrow header */
body._header_narrow {
	padding-top: 72px;
}
body._header_narrow #pageHeader {
	height: 72px;
	box-shadow: 0 0 4px -2px #000000;
}
body._header_narrow #pageHeader > .inner {
	height: 72px;
}
body._header_narrow #pageHeader .logo {
	padding: 8px 16px;
}
body._header_narrow #pageHeader .logo img {
	height: 56px;
}
body._header_narrow #grobalNav {
	height: 72px;
}
body._header_narrow #grobalNav .contact li a {
	padding: 6px 12px 6px 0;
}
body._header_narrow #grobalNav .contact li.tel a::before {
	font-size: 9px;
	margin-top: 0;
}
body._header_narrow #grobalNav .contact li.mail a {
	padding: 0 16px 0 24px;
}
body._header_narrow #grobalNav .mainNav ul li a {
	padding: 12px 16px;
}

/* pagetop */
body._fixed_pagetop_before #pageTop {
	opacity: 0;
}
body._fixed_pagetop #pageTop,
body._fixed_pagetop_after #pageTop {
	opacity: 1;
}
body._fixed_pagetop #pageTop a {
	z-index: 4;
	position: fixed;
	overflow: hidden;
	justify-content: flex-start;
	right: 20px;
	bottom: 20px;
	width: 0;
	height: 0;
	padding: 60px 0 0 60px;
	background-color: rgba(0, 0, 0, 0.7);
}
body._fixed_pagetop #pageTop a::before {
	position: absolute;
	font-size: 24px;
	top: 50%;
	left: 50%;
	margin: -0.5em 0 0 -0.5em;
}

/* ======================================
   pageBody
====================================== */

#contentHeader #pageCategory {
	display: flex;
	font-family: "GenShin_regular_JIS2";
	font-size: 42px;
	line-height: 1;
	flex-direction: column;
	justify-content: flex-end;
	max-width: 976px;
	height: 240px;
	margin: 0 auto;
	padding: 0 24px;
	color: #005bac;
	background: url("/common/img/bg_content_header_mask.png") 0 0 repeat-y;
}
#contentHeader #pageCategory span {
	display: block;
	font-family: "Fira Sans Extra Condensed", sans-serif;
	font-size: 16px;
	margin: 8px 0 36px;
	letter-spacing: 1px;
}
#contentHeader #breadcrumb {
	background: url("/common/img/bg_check_white_alpha100.png") repeat #d9e1f2;
}
#contentHeader #breadcrumb ul {
	display: flex;
	max-width: 976px;
	margin: 0 auto;
	padding: 16px;
}
#contentHeader #breadcrumb ul li {
	position: relative;
	line-height: 1;
	overflow: hidden;
	padding-left: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #777777;
}
#contentHeader #breadcrumb ul li:first-child {
	flex-basis: 1em;
	flex-shrink: 0;
}
#contentHeader #breadcrumb ul li::before {
	position: absolute;
	top: 55%;
	left: 5px;
	width: 4px;
	height: 4px;
	margin-top: -4px;
	content: "";
	transform: rotate(45deg);
	border-top: solid 1px #005bac;
	border-right: solid 1px #005bac;
}
#contentHeader #breadcrumb ul li.home {
	padding: 0;
}
#contentHeader #breadcrumb ul li.home::before {
	display: none;
}
#contentHeader #breadcrumb ul li.home a {
	display: inline-block;
	position: relative;
	overflow: hidden;
	width: 0;
	padding-left: 1em;
	white-space: nowrap;
	color: #005bac;
}
#contentHeader #breadcrumb ul li.home a::before {
	display: block;
	position: absolute;
	left: 0;
	font-family: "entypo";
	content: "\2302";
}
#contentHeader #breadcrumb ul li h1 {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
#contentHeader #contentTitle {
	font-size: 30px;
	line-height: 1;
	padding: 24px;
	text-align: center;
	letter-spacing: 2px;
	color: #ffffff;
	background-color: #005bac;
}

#pageBody > .inner {
	max-width: 976px;
	margin: 0 auto;
	padding: 48px 24px;
}

#pageBody h3 {
	font-size: 24px;
	line-height: 1.2;
	margin-bottom: 16px;
	padding: 16px 16px 16px 24px;
	color: #005bac;
	border-bottom: 1px dashed #005bac;
	background: url(/common/img/icon_headline_blue_square.svg) 4px 50% no-repeat;
}

#pageBody h4 {
	position: relative;
	line-height: 1.2;
	margin-bottom: 16px;
	padding: 12px 16px 12px 24px;
	border-radius: 4px;
	background: url(/common/img/bg_check_white_alpha100.png) 0 0 repeat #dddddd;
}
#pageBody h4::before {
	position: absolute;
	top: 36%;
	left: 14px;
	width: 2px;
	height: 50%;
	margin-top: -4px;
	content: "";
	border-left: solid 2px #777777;
}

#pageTop {
	background-color: #333333;
}
#pageTop a {
	display: flex;
	font-family: "Fira Sans Extra Condensed", sans-serif;
	font-size: 18px;
	line-height: 1;
	align-items: center;
	justify-content: center;
	padding: 16px 8px;
	transition: 0.3 ease-out;
	text-align: center;
	text-decoration: none;
	letter-spacing: 1px;
	color: #ffffff;
	border-radius: 6px;
	background-color: #333333;
}

#pageTop a::before {
	font-family: "entypo";
	font-size: 12px;
	margin-right: 8px;
	content: "\e767";
}

/* ======================================
   pageFooter
====================================== */

#pageFooter {
	background: #005bac;
}
#pageFooter > .inner {
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	padding: 48px 16px 36px;
}
#pageFooter .footerNav {
	display: flex;
	flex-basis: 50%;
	flex-wrap: wrap;
	justify-content: space-between;
}
#pageFooter .footerNav li {
	display: flex;
	flex-basis: 50%;
}

#pageFooter .footerNav li a {
	display: flex;
	position: relative;
	font-family: "GenShin_bold_GK";
	font-size: 12px;
	align-items: center;
	flex-grow: 1;
	margin-right: 16px;
	padding: 0 16px 0 32px;
	transition: 0.4s ease-out;
	text-decoration: none;
	color: #ffffff;
	border-bottom: 1px dotted #ffffff;
}
#pageFooter .footerNav li:nth-child(1) a,
#pageFooter .footerNav li:nth-child(2) a {
	border-top: 1px dotted #ffffff;
}
#pageFooter .footerNav li a::after {
	display: inline-block;
	position: absolute;
	top: 44%;
	left: 14px;
	width: 6px;
	height: 6px;
	content: "";
	transition: 0.4s ease-out;
	transform: rotate(45deg);
	border-width: 1px 1px 0 0;
	border-style: solid solid none none;
	border-color: #ffffff #ffffff transparent transparent;
}
#pageFooter .footerNav li a:hover {
	margin: 0 20px 0 -4px;
	color: #005bac;
	background: #ffffff;
	box-shadow: 4px 4px rgba(0, 0, 0, 0.25);
}
#pageFooter .footerNav li a:hover::after {
	left: 18px;
	border-color: #005bac #005bac transparent transparent;
}

#pageFooter .contact {
	display: flex;
	flex-basis: 50%;
	flex-grow: 1;
	flex-wrap: wrap;
	border-top: 2px solid #ffffff;
	background: #ffffff;
}
#pageFooter .contact h3 {
	display: flex;
	font-size: 14px;
	align-items: center;
	flex-basis: 100%;
	flex-grow: 1;
	justify-content: center;
	padding: 12px 0;
	color: #ffffff;
	background: #005bac;
}

#pageFooter .contact p.tel {
	display: flex;
	line-height: 1;
	flex-basis: 50%;
	flex-direction: column;
	justify-content: center;
	color: #005bac;
}
#pageFooter .contact p.tel a {
	display: flex;
	flex-direction: column;
	padding-left: 16px;
	text-decoration: none;
	color: inherit;
}

#pageFooter .contact p.tel span {
	font-family: "GenShin_light_KK";
	font-size: 28px;
	margin-top: 4px;
}
#pageFooter .contact p.mail {
	flex-basis: 50%;
}

#pageFooter .contact p.mail a {
	display: flex;
	position: relative;
	line-height: 1.2;
	align-items: center;
	margin: 8px;
	padding: 16px 12px 16px 38px;
	transition: 0.3s ease-out;
	text-decoration: none;
	color: #ffffff;
	background: #005bac;
}
#pageFooter .contact p.mail a:hover {
	margin: 8px 14px 8px 2px;
	box-shadow: 4px 4px rgba(0, 0, 0, 0.25);
}
#pageFooter .contact p.mail a::after {
	display: inline-block;
	position: absolute;
	top: 42%;
	left: 12px;
	width: 12px;
	height: 12px;
	content: "";
	transition: 0.4s ease-out;
	transform: rotate(45deg);
	border-width: 1px 1px 0 0;
	border-style: solid solid none none;
	border-color: #ffffff #ffffff transparent transparent;
}
#copyright {
	font-family: "Fira Sans Extra Condensed", sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 16px 0;
	text-align: center;
	color: #ffffff;
}

/* --- for pc --- */
@media screen and (min-width: 1024px) {
	#grobalNav .mainNav {
		width: 100%;
		background-color: transparent;
	}
}

/* --- for mobile --- */
@media screen and (max-width: 767px) {
	/* drawer navigation */
	body.drawer-close > button#drawer-toggle.drawer-toggle {
		display: block;
		border-bottom: none;
		border-left: none;
		background-color: #ffffff;
	}
	body.drawer-open .drawer-overlay {
		background: url("/common/img/bg_check_white_alpha20.png") rgba(49, 83, 173, 0.7);
	}
	body.drawer-open > button#drawer-toggle.drawer-toggle {
		transition: 0.3s ease-out;
		background-color: #005bac;
	}
	body.drawer-open > button#drawer-toggle.drawer-toggle .drawer-hamburger-icon::before,
	body.drawer-open > button#drawer-toggle.drawer-toggle .drawer-hamburger-icon::after {
		background-color: #ffffff;
	}

	/* layout */
	body,
	#pageHeader {
		min-width: 360px;
	}

	body {
		font-size: 4vw;
		padding-top: 80px;
	}

	/* ======================================
	   pageHeader
	====================================== */

	#pageHeader {
		z-index: 4;
		position: fixed;
		top: 0;
		width: 100%;
		height: 80px;
		background-size: auto 70%;
	}
	#pageHeader > .inner {
		display: flex;
		justify-content: space-between;
		height: inherit;
		padding: 0 70px 0 0;
	}
	#pageHeader .logo {
		margin: 0;
	}
	#pageHeader .logo img {
		width: 32vw;
	}
	#grobalNav {
		display: flex;
		flex-basis: auto;
		height: 100%;
	}
	#grobalNav .contact {
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		height: auto;
	}
	#grobalNav .contact li.tel a {
		position: relative;
		display: block;
		height: 80px;
		width: 0;
		margin: 0;
		overflow: hidden;
		padding: 0 0 0 64px;
		text-align: center;
		border-right: 1px solid #cccccc;
		border-bottom: none;
		border-left: 1px solid #cccccc;
	}
	#grobalNav .contact li.tel a::before {
		display: flex;
		position: absolute;
		top: 0;
		left: 0;
		font-size: 32px;
		flex-direction: column;
		justify-content: center;
		width: 100%;
		height: 100%;
		text-indent: 0;
		padding: 0;
		border-radius: 0;
		margin: 0;
	}
	#grobalNav .contact li.tel a span {
		font-size: 18px;
	}
	#grobalNav .contact li.mail {
		flex-grow: 1;
		height: auto;
	}
	#grobalNav .contact li.mail a {
		position: relative;
		display: block;
		overflow: hidden;
		height: 80px;
		font-size: 14px;
		width: 0;
		margin: 0;
		padding: 0 0 0 64px;
	}
	#grobalNav .contact li.mail a::before {
		display: flex;
		position: absolute;
		top: 0;
		left: 0;
		font-family: "entypo";
		font-size: 32px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		content: "\2709";
		text-indent: 0;
		color: #ffffff;
	}
	#grobalNav .contact li.mail a::after {
		display: none;
	}

	#grobalNav .mainNav {
		display: block;
		position: fixed;
		height: 100%;
	}
	#grobalNav .mainNav ul {
		display: block;
	}
	#grobalNav .mainNav ul li {
		border-bottom: 1px solid #cccccc;
	}
	#grobalNav .mainNav ul li a {
		position: relative;
		font-size: 16px;
		width: 80%;
		padding: 16px 16px 16px 40px;
		color: #005bac;
	}
	#grobalNav .mainNav ul li a::after {
		display: inline-block;
		position: absolute;
		top: 40%;
		left: 14px;
		width: 12px;
		height: 12px;
		content: "";
		transform: rotate(45deg);
		border-width: 1px 1px 0 0;
		border-style: solid solid none none;
		border-color: #005bac #005bac transparent transparent;
	}

	body._header_narrow.drawer-close > button#drawer-toggle.drawer-toggle {
		height: auto;
	}
	body._header_narrow {
		padding-top: 60px;
	}
	body._header_narrow #pageHeader {
		height: 60px;
	}
	body._header_narrow #pageHeader > .inner {
		height: 60px;
	}
	body._header_narrow #pageHeader .logo {
		padding: 8px 16px;
	}
	body._header_narrow #pageHeader .logo img {
		height: 44px;
	}
	body._header_narrow #grobalNav .contact {
		height: 60px;
	}
	body._header_narrow #grobalNav .contact li.tel a {
		height: 60px;
		padding: 0 0 0 64px;
	}
	body._header_narrow #grobalNav .contact li.tel a::before {
		font-size: 32px;
	}
	body._header_narrow #grobalNav .contact li.mail a {
		height: 60px;
		padding: 0 0 0 64px;
	}
	body._header_narrow #grobalNav .contact li.mail a::before {
		font-size: 32px;
	}
	body._header_narrow #grobalNav .mainNav ul li a {
		padding: 16px 16px 16px 40px;
	}

	/* ======================================
	   pageBody
	====================================== */

	#pageBody > .slideshow {
		height: 280px;
	}
	#pageBody > .slideshow ul {
		height: 280px;
	}
	#pageBody .inner > header {
		font-size: 6vw;
	}

	#pageBody h3 {
		font-size: 6vw;
		padding: 2vw 2vw 2vw 6.2vw;
		background-size: 3.5vw;
	}

	#contentHeader {
		background-size: auto, auto 100%;
	}
	#contentHeader #pageCategory {
		font-size: 7vw;
		height: 28vw;
		min-height: 140px;
		background-size: 160vw;
	}
	#contentHeader #pageCategory span {
		font-size: 58%;
		margin-bottom: 16px;
	}

	#contentHeader #contentTitle {
		font-size: 6vw;
		padding: 3.6vw;
	}

	/* ======================================
	   pageFooter
	====================================== */

	#pageFooter > .inner {
		display: block;
		padding: 32px 16px;
	}
	#pageFooter .footerNav {
		margin-bottom: 32px;
	}
	#pageFooter .footerNav li a {
		font-size: 3.2vw;
		height: auto;
		padding: 16px 12px 16px 20px;
	}
	#pageFooter .footerNav li:nth-child(2n) a {
		margin-right: 0;
	}
	#pageFooter .footerNav li a::after {
		left: 4px;
	}
	#pageFooter .footerNav li a:hover::after {
		left: 6px;
	}
	#pageFooter .footerNav li:nth-child(1) a,
	#pageFooter .footerNav li:nth-child(2) a {
		border-top: 1px dotted #ffffff;
	}
	#pageFooter .contact {
		border-top: 2px solid #ffffff;
		background: #ffffff;
	}
	#pageFooter .contact h3 {
		display: block;
		text-align: center;
		font-size: 3.2vw;
		padding: 16px 0;
		color: #ffffff;
		background: #005bac;
	}
	#pageFooter .contact p.tel {
		font-size: 14px;
		justify-content: center;
	}
	#pageFooter .contact p.tel a {
		font-size: 3.6vw;
		justify-content: center;
		padding: 16px;
	}
	#pageFooter .contact p.tel a span {
		font-size: 150%;
	}
	#pageFooter .contact p.mail a {
		font-size: 3.2vw;
		justify-content: center;
		padding: 12px 8px 12px 20px;
	}
	#pageFooter .contact p.mail a:hover {
		margin: 8px 14px 8px 2px;
		box-shadow: 4px 4px rgba(0, 0, 0, 0.25);
	}
	#pageFooter .contact p.mail a::after {
		top: 42%;
		left: 6px;
		width: 8px;
		height: 8px;
	}
}

/* --- for tablet --- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
	/* ======================
	   pageHeader
	 ====================== */

	#grobalNav .mainNav {
		width: 100%;
	}
	#grobalNav .mainNav ul li a {
		font-size: 1.5vw;
	}

	/* ======================
	   pageBody
	 ====================== */

	body {
		font-size: 1.8vw;
	}

	#pageBody > .inner {
		margin: 0;
		padding: 48px 24px;
	}
	#pageBody h3 {
		padding-left: 3vw;
		background-size: 1.8vw;
	}

	#contentHeader {
		background-size: auto, auto 100%;
	}

	#contentHeader #pageCategory {
		background-image: url("/common/img/bg_content_header_mask.png");
		background-repeat: repeat-y;
		background-size: 130vw auto;
	}
	#contentHeader #pageCategory span {
		font-size: 80%;
	}

	/* ======================
	   pageFooter
	 ====================== */
	#pageFooter .footerNav {
		flex-basis: 50%;
	}
	#pageFooter .contact {
		flex-basis: 50%;
	}
	#pageFooter .contact p.tel span {
		font-size: 24px;
	}
	#pageFooter .contact p.mail a {
		font-size: 1.4vw;
	}
	#pageFooter .contact p.mail a::after {
		left: 12px;
	}
}
