/*---------------------------------
	body start
---------------------------------*/
body{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: #FFF;
}

body.index .indexBgWrapper{
	background-image: url("../../images/pages/top/bg.jpg");
	background-attachment: fixed;
	background-size: cover;
	position: relative;
}

body.index .indexBgWrapper:before{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-color: rgba(255,255,255,0.3);
	clip-path: polygon(0 0, 100% calc(100% - 8em), 100% 100%, 0 100%);
}

body.index .indexBgWrapper:after{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background-color: rgba(255,255,255,0.5);
	clip-path: polygon(0 60%, calc(100% - 2em) 0, 100% 0, 100% 100% , 0 100%);
}

body > *{
	flex-grow: 0;
	flex-shrink: 0;
}

body main{
	flex-grow: 1;
	width: 100%;
	overflow: hidden;
}

body.index main{
	margin: 10em 0 5em;
	position: relative;
	z-index: 3;
}

/*---------------------------------
	body end
---------------------------------*/

/*---------------------------------
	header start
---------------------------------*/
.header{
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	z-index: 200;
	color: var(--headerTextColor);
	padding-bottom: 3em;
	margin-bottom: -3em;
	filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.25));
}

body.index .header:not(.minHeader){
	padding-bottom: 2em;
	margin-bottom: 0;
	filter: none;
}

@media(max-width: 750px){
	.header{
		font-size: 90%;
	}
}

.header_layout{
	width: 100%;
	background-color: var(--headerBgColor);
	position: relative;
	padding: 1em 0 0;
	z-index: 2;
	transition: all 0.25s;
}

.minHeader .header_layout{
	padding: 0;
}

body.index header:not(.minHeader) .header_layout{
	background-color: transparent;
}

.header_inner{
	max-width: 1180px;
	width: 90%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 1.5em;
	margin: 0 auto;
}

.headerLogo{
	width: 30%;
	margin: 0;
}

@media(max-width: 1024px) and (min-width: 751px){
	.header_inner{
		justify-content: flex-start;
		align-items: center;
		flex-wrap: nowrap;
		gap: 2em;
	}
	.headerMenu--left{
		order: 2;
		flex-grow: 1;
	}
	.headerLogo{
		order: 1;
		width: 25%;
	}
	.headerMenu--right{
		order: 3;
	}
	.headerNavbutton{
		order: 4;
	}
}


@media(min-width: 1025px){
	.headerLogo{
		transition: transform 0.25s;
	}
	.header.minHeader .headerLogo{
		transform: scale(0.8);
	}
}

@media(max-width: 1024px){
	.header_layout{
		padding: 0;
	}
	.headerLogo{
		width: auto;
		flex-grow: 0;
		flex-shrink: 0;
		margin: 1em 0;
	}
	.header_inner{
		justify-content: space-between;
	}
}

.headerLogoLink,
.headerLogoLink:hover{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	color: inherit;
	text-decoration: none;
}

.headerLogoImage{
	display: block;
	width: 100%;
	max-width: 132px;
	margin: 0 auto;
	filter: drop-shadow(-1px -1px 0 #FFF) drop-shadow(-1px 0 0 #FFF) drop-shadow(-1px 1px 0 #FFF) drop-shadow(0 -1px 0 #FFF) drop-shadow(0 1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(1px 0 0 #FFF) drop-shadow(1px 1px 0 #FFF);
}

.headerLogoText{
	display: block;
	width: 100%;
	text-align: center;
	margin: 0.75rem auto 0;
	font-size: 150%;
	text-shadow: -1px -1px 0 #FFF, -1px 0 0 #FFF, -1px 1px 0 #FFF, 0 -1px 0 #FFF, 0 1px 0 #FFF, 1px -1px 0 #FFF, 1px 0 0 #FFF, 1px 1px 0 #FFF;
}

.headerLogoText--small{
	display: block;
	font-size: 60%;
}

@media(max-width: 1024px){
	.headerLogoLink,
	.headerLogoLink:hover{
		gap: 0 1em;
	}
	.headerLogoImage{
		display: block;
		width: auto;
		max-width: auto;
		height: 7vw;
		margin: 0;
	}
	.headerLogoText{
		font-size: 125%;
	}
	.headerLogoLink,
	.headerLogoLink:hover{
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 1em;
	}
	.headerLogoImage{
		display: block;
		width: auto;
		max-width: auto;
		height: 3.5em;
		margin: 0;
	}
	.headerLogoText{
		display: block;
		width: auto;
		text-align: left;
		margin: 0;
		font-size: 125%;
	}
}

.headerMenu{
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	width: calc((100% - 30% - (1.5em * 2)) / 2);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media(max-width: 1024px){
	.headerMenu{
		display: none;
	}
}

.headerMenuItem{
	display: block;
	margin: 0;
}

.headerMenuText,
.headerMenuText:hover{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5em;
	color: inherit;
	text-decoration: none;
	font-size: 112.5%;
	text-shadow: -1px -1px 0 #FFF, -1px 0 0 #FFF, -1px 1px 0 #FFF, 0 -1px 0 #FFF, 0 1px 0 #FFF, 1px -1px 0 #FFF, 1px 0 0 #FFF, 1px 1px 0 #FFF;
}

.headerMenuText:after{
	content: "";
	display: block;
	width: 4em;
	height: 0.5em;
	background-color: var(--themeColorC);
	border: 0.125em solid #FFF;
	border-radius: 0.25em;
}

.header:after{
	content: "";
	max-width: calc(1180px * 0.3);
	width: calc(90% * 0.3 * 1.41421356237);
	aspect-ratio: 1 / 0.75;
	background-color: transparent;
	border-radius: 50%;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) scale(0);
	z-index: 1;
	transition: transform 0.25s, background-color 0.25s;
}

body:not(.index) .header:after,
body.index .header.minHeader:after{
	transform: translateX(-50%) scale(1);
	background-color: var(--headerBgColor);
}

body:not(.index) .header:after{
	transition: transform 0.25s;
}

body:not(.index) .header.minHeader:after{
	transform: translateX(-50%) scale(0.8);
}


@media(max-width: 1024px) and (min-width: 751px){

	.header:after{
		width: calc(90% * 0.3 * 1.25);
		left: calc(5% + (90% * 0.125));
	}
/*
	.headerMenu{
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		gap: 0 2em;
		width: auto;
		margin: 0;
		padding: 0;
		list-style: none;
		font-size: 100%;
	}
*/
	.headerMenuText,
	.headerMenuText:hover{
		font-size: 100%;
	}
}

@media(max-width: 1024px){
	.header:after{
		display: none;
	}
}

.headerNavbutton{
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	cursor: pointer;
}

@media(min-width: 1025px){
	.headerNavbutton{
		display: none;
	}
}

.headerNavbuttonText{
	line-height: 150%;
	font-size: 125%;
	margin: 1em;
}

.headerNavbuttonIcon{
	font-size: 250%;
	width: 1.5em;
	height: 1.5em;
	position: relative;
}

.headerNavbuttonIcon_open{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 1.5em;
	height: 0.75em;
	border-top: 3px solid var(--headerTextColor);
	border-bottom: 3px solid var(--headerTextColor);
	transition: all 0.5s;
}

.headerNavbuttonIcon_open:before{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 3px;
	background-color: var(--headerTextColor);
}

body.is-drawerNavActive .headerNavbuttonIcon_open{
	visibility: hidden;
	opacity: 0;
}

.headerNavbuttonIcon_close{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	transition: all 0.5s;
}

body:not(.is-drawerNavActive) .headerNavbuttonIcon_close{
	visibility: hidden;
	opacity: 0;
}

.headerNavbuttonIcon_close:before,
.headerNavbuttonIcon_close:after{
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 1.5em;
	height: 3px;
	background-color: var(--headerTextColor);
}

.headerNavbuttonIcon_close:before{
	transform: translate(-50%,-50%) rotate(45deg);
}

.headerNavbuttonIcon_close:after{
	transform: translate(-50%,-50%) rotate(-45deg);
}

/*---------------------------------
	header end
---------------------------------*/

/*---------------------------------
	headerContact start
---------------------------------*/

.headerContact{
	display: flex;
	justify-content: flex-end;
	position: absolute;
	top: 1em;
	right: 1em;
}

.headerContactLink{
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 4em;
	border-radius: 50%;
	color: #FFF;
	background-color: var(--themeColorC);
	text-decoration: none;
	aspect-ratio: 1 / 1;
	transition: transform 0.25s;
	transform: scale(1.5);
}

.headerContactLink:hover{
	color: #FFF;
	transform: scale(1.75);
	text-decoration: none;
}

@media(max-width: 1300px){
	.headerContactLink{
		transform: scale(1);
	}
	.headerContactLink:hover{
		transform: scale(1.25);
	}
}

.headerContactLayout{
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.headerContactIcon{
	font-family: 'LigatureSymbols' !important;
	-webkit-text-rendering: optimizeLegibility;
	-moz-text-rendering: optimizeLegibility;
	-ms-text-rendering: optimizeLegibility;
	-o-text-rendering: optimizeLegibility;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-webkit-font-feature-settings: "liga" 1, "dlig" 1;
	-moz-font-feature-settings: "liga=1, dlig=1";
	-ms-font-feature-settings: "liga" 1, "dlig" 1;
	-o-font-feature-settings: "liga" 1, "dlig" 1;
	font-feature-settings: "liga" 1, "dlig" 1;
	margin: 0;
	font-size: 175%;
	line-height: 1;
}

.headerContactText,
.headerContactLink:hover .headerContactText{
	display: block;
	font-size: 0.45rem;
	transform: scale(1);
	margin: 0;
}

@media(max-width: 1024px){
	.headerContact{
		display: none;
	}
}

/*---------------------------------
	headerContact end
---------------------------------*/

/*---------------------------------
	drawerNav start
---------------------------------*/
.drawerNavMain{
	display: block;
	position: fixed;
	z-index: 100;
	top: 0;
	right: 0;
	z-index: 150;
	width: 100%;
	height: 100%;
	visibility: hidden;
	opacity: 0;
	overflow-y: scroll;
	overflow-x: hidden;
	background: var(--headerMenuBgColor);
	padding: 6em 0 0;
	color: var(--headerMenuTextColor);
	transform: translate(0, 10px);
	transition: all 0.25s ease;
}

@media(max-width: 600px){
	.drawerNavMain{
		padding-top: 10em;
	}
}

body.is-drawerNavActive{
	overflow-y: hidden;
}

@media(max-width: 1024px){
	.is-drawerNavActive .drawerNavMain{
		visibility: visible;
		opacity: 1;
		transform: translate(0, 0);
		transition: all 0.5s ease;
	}
}

.drawerNavMain_inner{
	max-width: 1180px;
	width: 90%;
	margin: 0 auto;
	padding: 5em 0;
}

.drawerNavInfo{
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 0 100px;
}

.drawerNavInfoTel_no{
	font-size: 200%;
}

.drawerNavLinklist{
	margin: 0 0 4em;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	flex-wrap: wrap;
	font-size: 150%;
}

.drawerNavLinklist_item{
	flex-grow: 0;
	flex-shrink: 0;
	width: calc(100% / 3 - 2em);
	margin: 0 0 1em;
}

@media(max-width: 1150px){
	.drawerNavLinklist_item{
		width: calc(100% / 2 - 2em);
	}
}

@media(max-width: 750px){
	.drawerNavLinklist_item{
		width: 100%;
	}
}

.drawerNavLinklist_link,
.drawerNavLinklist_link:hover{
	color: inherit;
	text-decoration: none;
}

.drawerNavLinklist_link{
	display: block;
	padding: 0.5em 0 0.5em 0.5em;
	border-bottom: 2px solid #CCC;
}

.drawerNavLinklist_item--active .drawerNavLinklist_link{
	border-bottom: 2px solid #0000cd;
}

@media(max-width: 750px){
	.drawerNavMain{
		font-size: 0.7em;
	}
	.drawerNav-inner{
		padding: 2.5em 0;
	}
	.drawerNavInfo{
		margin: 0 0 2.5em;
	}
	.drawerNavLinklist{
		margin: 0 0 1em;
	}
	.drawerNavLinklist_item{
		margin: 0 0 0.5em;
	}
	.drawerNavLinklist_link{
		padding: 0.25em 0 0.25em 0.25em;
	}
}

/*---------------------------------
	drawerNav end
---------------------------------*/

/*---------------------------------
	subpageTitle start
---------------------------------*/
.subpageTitle{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 6em 1em;
	text-align: center;
	font-weight: var(--fontWeightNormal);
	background-image: url("../../images/common/subpageTitle/bg.jpg");
	background-size: cover;
	background-position: center;
}

.subpageTitle--separateBg{
	background-image: none;
}

.separateBg{
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}

.separateBgImage{
	width: 50%;
	position: relative;
}

.separateBgImage img{
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
}

.subpageTitle:before{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(7,101,182,0.2);
	z-index: 2;
}

.subpageTitle_inner{
	width: 90%;
	position: relative;
	z-index: 3;
}

.subpageTitle_mainText{
	font-size: 200%;
	color: #FFF;
	margin: 0;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.25);
}

.subpageTitle_subText{
	font-size: 125%;
	color: #333;
	margin: 0;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.25);
}

/*---------------------------------
	subpageTitle end
---------------------------------*/

/*---------------------------------
	footer start
---------------------------------*/
.footer{
	color: var(--footerTextColor);
	font-size: 100%;
	padding: 1em 0 0;
	background-color: var(--footerBgColor);
}

.footerContents{
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 1em 5em;
	width: 90%;
	max-width: 960px;
	margin: 0 auto;
	padding: 3em 0 2.5em;
}

.footerContents_item{
	margin: 0;
}

.footerLogo_image{
	max-width: 100%;
}

.footerTexts--size150{
	font-size: 150%;
}

.footerTexts p{
	margin-bottom: 0.5em;
}

.footerTextTelfax{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	jusitfy-content: flex-start;
	gap: 0 2em;
}

.footerTexts p:last-of-type{
	margin-bottom: 0;
}

.footerImage{
	max-width: 100%;
}

.footerCopy{
	width: 90%;
	max-width: 1250px;
	margin: 0 auto;
	padding: 1em 0;
	display: flex;
	justify-content: center;
}

.footerCopy_text{
	margin: 0;
}

/*---------------------------------
	footer end
---------------------------------*/

/*---------------------------------
	section start
---------------------------------*/
.section{
	padding: 4em 0 6em;
}

.section:nth-of-type(even){
	background-color: var(--themeColorCsub);
}

@media(max-width: 600px){
	.section{
		padding: 2.5em 0 5em;
	}
}

.section--bottomPadd0{
	padding-bottom: 0;
}

.section_inner{
	width: 90%;
	margin-right: auto;
	margin-left: auto;
}

.section_inner--mw960{
	max-width: 960px;
}

.section_inner--mw1200{
	max-width: 1200px;
}

.section_inner--mw1250{
	max-width: 1250px;
}

/*---------------------------------
	section end
---------------------------------*/
