/*
font
*/
@font-face {
	font-family: "Noto Sans JP";
	src: url("../font/NotoSansJP-VariableFont_wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Noto Serif JP";
	src: url("../font/NotoSerifJP-VariableFont_wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
/*
define
*/
:root {
	--font-serif: "Noto Serif JP",serif;
	--font-sans: "Noto Sans JP",sans-serif;

	--color-accent: #005ba7;
}
/*
html
*/
html {
	overflow-y: scroll;
	overflow-x: hidden;
	background-color: #fff;
	> body {
		margin: 0;
		font-family: var(--font-sans);
		font-feature-settings: "palt" 1;
		line-break: strict;
		overflow-x: hidden;
		background-color: #fff;
		min-height: 100vh;
		scroll-behavior: smooth;
		text-rendering: optimizeSpeed;
	}
}
/*
margin
*/
.margin5 {
	margin-top: 5px;
	line-height: 5px;
}
.margin10 {
	margin-top: 10px;
	line-height: 10px;
}
.margin15 {
	margin-top: 15px;
	line-height: 15px;
}
.margin20 {
	margin-top: 20px;
	line-height: 20px;
}
.margin25 {
	margin-top: 25px;
	line-height: 25px;
}
.margin30 {
	margin-top: 30px;
	line-height: 30px;
}
.margin40 {
	margin-top: 40px;
	line-height: 40px;
}
.margin50 {
	margin-top: 50px;
	line-height: 50px;
}
.margin60 {
	margin-top: 60px;
	line-height: 60px;
}
.margin70 {
	margin-top: 70px;
	line-height: 70px;
}
.margin80 {
	margin-top: 80px;
	line-height: 80px;
}
.margin90 {
	margin-top: 90px;
	line-height: 90px;
}
.margin100 {
	margin-top: 100px;
	line-height: 100px;
}
/*
アンカー位置を上に移動(ヘッダ固定分)
*/
a[name] {
	display: block;
	margin-top: -80px;
	padding-top: 80px;
	width: 0;
	height: 0;
}
/*
top of page
*/
#movepagetop {
	user-select: none;
	position: fixed;
	right: 0px;
	bottom: -90px;
	z-index: 500;
	opacity: 0.4;
	@media print {
		display: none;
	}
	&:hover {
		opacity: 1;
	}
	> a {
		> img {
			@media (max-width:849px) {
				width: 50px;
			}
		}
	}
}
/*
headerfix01wrapper
*/
#headerfix01wrapper {
	user-select: none;
	position: fixed;
	width: 100%;
	background-color: #fff;
	z-index: 2;
	opacity: 1;
	transition: 0.5s;
	@media (width < 870px) {
		display: none;
	}
	@media print {
		display: none;
	}
	> header {
		padding: 0 5%;
		transition: 0.3s;
		> .inner {
			height: 100px;
			padding-bottom: 25px;
			max-width: 1500px;
			margin: 0 auto;
			transition: 0.3s;
			display: flex;
			justify-content: space-between;
			align-items: center;
			> .logo {
				transition: 0.3s;
				> a {
					text-decoration: none;
					&:hover {
						opacity: 0.8;
					}
					> img {
						transition: 0.3s;
						width: 450px;
					}
				}
			}
			> .menu {
				transition: 0.3s;
				display: flex;
				align-items: center;
				> div {
					margin-left: 20px;
					&.facebook {
						> a {
							&:hover {
								opacity: 0.7;
							}
						}
					}
					&.language {
						display: flex;
						align-items: center;
						> a {
							display: inline-block;
							text-decoration: none;
							font-size: 0.9rem;
							line-height: 1;
							color: var(--color-accent);
							&[href] {
								color: #666;
								&:hover {
									opacity: 0.7;
								}
							}
						}
						> div {
							font-size: 0.9rem;
							height: 1.5em;
							border-left: solid 1px #777;
							margin-left: 10px;
							margin-right: 10px;
						}
					}
				}
			}
		}
	}
	> nav {
		padding-bottom: 15px;
		> ul {
			margin: 0;
			display: flex;
			justify-content: center;
			position: relative;
			> li {
				flex-grow: 3;
				border-left: solid 1px #aaa;
				&:first-child {
					border-left: none;
					flex-grow: 1;
					width: 4%;
				}
				&:last-child {
					flex-grow: 1;
					width: 4%;
				}
				> a {
					display: block;
					text-decoration: none;
					display: flex;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					height: 40px;
					> div:nth-of-type(1) {
						font-size: 1.0rem;
						color: #000;
						white-space: nowrap;
						&.hassubmenu {
							padding-right: 12px;
							background-image: url(../../common/image/submenu_arrow.svg);
							background-repeat: no-repeat;
							background-position: 100% 50%;
						}
					}
					> div:nth-of-type(2) {
						border-bottom: solid 2px transparent;
						width: 3em;
						padding-bottom: 4px;
						&.on {
							border-color: var(--color-accent);
						}
					}
				}
				> div {
					position: absolute;
					display: none;
					left: 0;
					top: 100%;
					width: 100%;
					padding: 20px;
					white-space: nowrap;
					background-image: linear-gradient(#444,#888);
					> dl {
						display: flex;
						> dd {
							> a {
								text-decoration: none;
								display: flex;
								align-items: flex-end;
								font-size: 1.0rem;
								padding: 8px 60px 8px 8px;
								&:hover {
									background-color: #000;
								}
								> div:nth-of-type(1) {
									order: 2;
									font-size: inherit;
									line-height: 1;
									color: #fff;
								}
								> div:nth-of-type(2) {
									order: 1;
									border-left: solid 4px transparent;
									font-size: inherit;
									height: 0.9em;
									margin-right: 5px;
									&.on {
										border-color: #fff;
									}
								}
							}
						}
					}
				}
				&:hover {
					background-color: #444;
					&:first-child {
						background-color: transparent;
					}
					&:last-child {
						background-color: transparent;
					}
					> a {
						> div:nth-of-type(1) {
							color: #fff;
							&.hassubmenu {
								background-image: url(../../common/image/submenu_arrow_fff.svg);
								animation-name: submenuArrowMove;
								animation-duration: 0.5s;
								animation-timing-function: ease;
								animation-iteration-count: infinite;
							}
						}
						> div:nth-of-type(2) {
							&.on {
								border-color: #fff;
							}
						}
					}
					> div {
						display: block;
					}
				}
			}
		}
	}
	&.close {
		opacity: 0.98;
		> header {
			padding: 0px 5% 0 5%;
			transform: translateY(-175px);
			> .inner {
				height: 0;
				padding-bottom: 0px;
			}
		}
		> nav {
			height: 40px;
			> a:nth-of-type(1) {
				> img {
					width: 80px;
				}
			}
			> a:nth-of-type(2) {
				padding: 7px 20px;
			}
		}
	}
}
@keyframes submenuArrowMove {
	0% {
		background-position: 100% 48%;
	}
	25% {
		background-position: 100% 60%;
	}
	50% {
		background-position: 100% 48%;
	}
	75% {
		background-position: 100% 36%;
	}
	100% {
		background-position: 100% 48%;
	}
}
#headerfix01wrapper {
	> nav {
		> ul {
			> li:nth-of-type(3) > div > dl {	padding-left: 19%;	}
			> li:nth-of-type(4) > div > dl {	padding-left: 32%;	}
			> li:nth-of-type(5) > div > dl {	padding-left: 50%;	}
			> li:nth-of-type(6) > div > dl {
				justify-content: flex-end;
				padding-right: 10%;
			}
			> li:nth-of-type(7) > div > dl {
				justify-content: flex-end;
			}
		}
	}
}
@media screen and (max-width:1299px) {
	#headerfix01wrapper {
		> nav {
			> ul {
				> li:nth-of-type(3) > div > dl {	padding-left: 15%;	}
				> li:nth-of-type(4) > div > dl {	padding-left: 27%;	}
				> li:nth-of-type(5) > div > dl {	padding-left: 48%;	}
				> li:nth-of-type(6) > div > dl {
					padding-right: 0%;
				}
			}
		}
	}
}
@media screen and (max-width:1109px) {
	#headerfix01wrapper {
		> nav {
			> ul {
				> li:nth-of-type(3) > div > dl {	padding-left: 13%;	}
			}
		}
	}
}
/*
headerfix02wrapper
*/
#headerfix02wrapper {
	user-select: none;
	position: fixed;
	width: 100%;
	background-color: #fff;
	z-index: 2;
	transition: 0.3s;
	opacity: 1;
	@media (width >= 870px) {
		display: none;
	}
	@media print {
		display: none;
	}
	> header {
		padding: 0 0 0 5%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 60px;
		> .logo {
			> a {
				> img {
					max-width: 240px;
				}
			}
		}
		> .toggle {
			width: 60px;
			height: 60px;
			background-color: var(--color-accent);
			text-align: center;
			> #toggleTopMenuButton {
				padding-top: 15px;
				cursor: pointer;
				transition: 0.3s;
				> svg {
					> line {
						stroke-linecap: round;
						stroke-width: 12%;
						stroke: #fff;
					}
				}
			}
		}
	}
	> nav {
		text-align: center;
		overflow: hidden;
		transition: 0.3s;
		> ul {
			background-color: #222;
			> li {
				list-style: none;
				display: flex;
				width: 100%;
				> a {
					text-decoration: none;
					font-size: 1.0rem;
					line-height: 2;
					color: #fff;
					border-bottom: solid 1px #777;
					white-space: nowrap;
					display: flex;
					flex-grow: 1;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					padding: 5px 0;
					&:nth-of-type(2),&:nth-of-type(3) {
						border-left: solid 1px #777;
					}
					> div:nth-of-type(2) {
						border-bottom: solid 2px transparent;
						width: 3em;
						&.on {
							border-color: #fff;
						}
					}
				}
			}
		}
		> input[type="radio"] {
			display: none;
			& + ul {
				overflow: hidden;
				transition: 0.5s;
				max-height: 0;
			}
			&:checked + ul {
				max-height: 300px;
			}
		}
		> label {
			display: block;
			font-size: 1.0rem;
			line-height: 2;
			color: #fff;
			border-bottom: solid 1px #777;
			white-space: nowrap;
			background-color: #444;
			padding: 5px 0;
			background-image: url(../image/submenu_arrow_fff.svg);
			background-repeat: no-repeat;
			background-position: right 15px top 50%;
		}
	}
	&.close {
		opacity: 0.98;
	}
}
/*
headerfixmarginwrapper
*/
#headerfixmarginwrapper {
	height: 155px;
	background-color: #fff;
	@media print {
		display: none;
	}
	@media (width < 870px) {
		height: 60px;
	}
}
/*
footermenuwrapper
*/
#footermenuwrapper {
	margin: 40px 7% 0px 7%;
	border-top: solid 1px #ccc;
	> .inner {
		max-width: 1000px;
		margin: 30px auto 0 auto;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		> .menu {
			display: flex;
			> div {
				&:nth-of-type(1) {
					width: 30%;
				}
				&:nth-of-type(2) {
					width: 40%;
				}
				&:nth-of-type(3) {
					width: 30%;
				}
				> dl {
					border-left: solid 2px var(--color-accent);
					margin-bottom: 20px;
					> dt {
						> a {
							font-size: 1.0rem;
							line-height: 1;
							color: var(--color-accent);
							font-weight: 700;
							text-decoration: none;
							padding: 5px 10px;
							white-space: nowrap;
							&:hover {
								text-decoration: underline;
							}
						}
					}
					> dd {
						margin-top: 10px;
						display: flex;
						flex-wrap: wrap;
						> a {
							display: inline-block;
							margin: 3px 0;
							font-size: 0.8rem;
							line-height: 1;
							color: #333;
							text-decoration: none;
							padding: 5px 10px 5px 10px;
							white-space: nowrap;
							&:hover {
								text-decoration: underline;
							}
						}
					}
				}
				> div {
					display: flex;
					flex-direction: column;
					max-width: 230px;
					margin-top: 40px;
					> a {
						display: block;
						padding: 15px 0px 15px 20px;
						border-radius: 3px;
						text-decoration: none;
						background-color: #eee;
						display: flex;
						align-items: center;
						column-gap: 10px;
						&:hover {
							opacity: 0.7;
						}
						> img {}
						> div {
							font-size: 0.8rem;
							line-height: 1.2;
							color: #333;
						}
					}
				}
			}
		}
	}
}
@media screen and (max-width:859px) {
	#footermenuwrapper {
		> .inner {
			> .menu {
				flex-direction: column;
				> div {
					&:nth-of-type(1) {
						width: 100%;
					}
					&:nth-of-type(2) {
						width: 100%;
					}
					&:nth-of-type(3) {
						width: 100%;
					}
					> a {
						margin-top: 30px;
					}
				}
			}
		}
	}
}
/*
footercopyrightwrapper
*/
#footercopyrightwrapper {
	margin: 20px 7% 30px 7%;
	border-top: solid 1px #ccc;
	> .inner {
		max-width: 1000px;
		margin: 0 auto;
		padding-top: 30px;
		display: flex;
		justify-content: flex-end;
		@media (max-width:859px) {
			justify-content: center;
		}
		> small {
			font-size: 0.7rem;
			line-height: 1.2;
			color: #444;
		}
	}
}
