@charset "utf-8";

/* =====================================================================
	common.css
===================================================================== */

/* ----------------------------------------------------------------------
 * 全デバイス共通
 * ---------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/*
 * common
 * ===================================================================== */
html {
	font-size: 62.5%;
	-webkit-text-size-adjust: none;
	scroll-behavior: smooth;
}
body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
	color: #333;
	text-align: justify;
}
body.naviOpen {
    overflow: hidden;
}
img { vertical-align: bottom; }


/*
 * layout
 * ===================================================================== */

/* header -------------------------------------------------- */
header {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	background-color: #fff;
}
/* #headerNav */
#headerNav,
#headerNav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
#headerNav {
	margin: 0;
	font-weight: 500;
}
#headerNav ul:nth-child(2) li a {
	box-sizing: border-box;
	white-space: nowrap;
	display: flex;
}
#headerNav04 { color: #fff; }

/* footer -------------------------------------------------- */
footer {
	background-color: #0068b7;
}
/* #toTop */
#toTop {
	position: fixed;
	bottom: -50px;
	right: 20px;
	width: 50px;
	height: 50px;
	border: 1px solid #fff;
	border-radius: 10%;
	background-color: #0068b7;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: 500;
	z-index: 1000;
	box-sizing: border-box;
	padding: 0 0 2em 0;
	transition: opacity 0.5s, bottom 0.5s;
}
#toTop:hover {
	box-shadow: 0 0 1em rgba(0, 0, 0, .5);
}
#toTop::before {
	content: '';
	position: absolute;
	display: block;
	width: 1.25em;
	height: 1.25em;
	background-color: #fff;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	bottom: 1rem;
	margin: auto;
}
/* #footerInner */
#footerInner {
	margin: 0 auto;
	position: relative;
}
#footerBox {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#footerInner address {
	color: #fff;
	line-height: 2rem;
	font-weight: 500;
}
#footerInner address ul {
	display: flex;
	gap: 0 1em;
}
/* #footerNav */
#footerNav {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 2.2rem;
}
#footerNav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}
/* #copyright */
#copyright {
	width: 100%;
	background-color: #fff;
	box-sizing: border-box;
	display: inline-block;
	color: #0068b7;
	font-size: 1.4rem;
	font-weight: 500;
	text-align: center;
}

/* action -------------------------------------------------- */
.floatFade {
	transition: opacity 1.5s, transform 1.5s;
	opacity: 0;
	transform: translateY(100px);
}
.floatFade.floatFadeActive {
	opacity: 1;
	transform: translateY(0);
}


/* --------------------------------------------------
 * 画面の横幅が960px以上（PC）
 * -------------------------------------------------- */
@media screen and (min-width: 960px){
	.sp {
		display: none;
	}
	/* header -------------------------------------------------- */
	header {
		height: 60px;
		padding: 0 2%;
	}
	#headerLogo {
		width: 135px;
		height: 30px;
		margin: 0 0 0 0;
	}
	/* #spMenuBtn */
	#spMenuBtn {
		display: none;
	}
	/* #headerNav */
	#headerNav {
		font-size: 1.4rem;
	}
	#headerNav ul:nth-child(1) li {
		margin: 0 0 0 10px;
	}
	#headerNav ul:nth-child(2) li {
		border-radius: 10px;
		overflow: hidden;
		margin: 0 0 0 10px;
		letter-spacing: -0.1em;
	}
	#headerNav ul:nth-child(2) li a {
		width: 125px;
		height: 35px;
		text-align: center;
		align-items: center;
		justify-content: center;
	}
	#headerNav04 { background-color: #ee7800; }
	#headerNav05 { background-color: #f8b62d; }
	#headerNav06 { background-color: #e8e1d5; }

	/* footer -------------------------------------------------- */
	/* #toTop */
	/* #footerInner */
	#footerInner {
		width: 920px;
		padding: 60px 0;
	}
	#footerLogo {
		width: calc(512px / 5 * 4);
		height: calc(106px / 5 * 4);
	}
	#footerBox {
		margin: 40px 0 0 0;
	}
	#footerInfo {
		width: calc(100% - 300px);
	}
	#footerInner address {
		font-size: 1.4rem;
	}
	/* #footerNav */
	#footerNav {
		margin: 60px 0 0 0;
	}
	/* #copyright */
	#copyright {
		height: 66px;
		padding: .75em 1em 1em 1em;
	}
}


/* --------------------------------------------------
 * 画面の横幅が959pxまで（タブレット端末横）
 * -------------------------------------------------- */
@media screen and (max-width: 959px){
	.pc {
		display: none;
	}
	/* header -------------------------------------------------- */
	header {
		height: 80px;
		padding: 0;
		position: relative;
	}
	#headerLogo {
		width: calc(135px / 3 * 4);
		height: calc(30px / 3 * 4);
		margin: 0 0 0 6%;
	}
	/* #spMenuBtn */
	#spMenuBtn {
		width: 60px;
		height: 60px;
		box-sizing: border-box;
		border: 2px solid #0068b6;
		border-radius: 10px;
		display: block;
		margin: 0 6% 0 0;
		cursor: pointer;
		position: relative;
		overflow: hidden;
	}
	#spMenuBtn span {
		width: 36px;
		height: 2px;
		background-color: #0068b6;
		display: block;
		position: absolute;
		left: 10px;
	}
	#spMenuBtn #menuBar1 {
		top: 14px;
	}
	#spMenuBtn #menuBar2 {
		top: 27px;
	}
	#spMenuBtn #menuBar3 {
		top: 40px;
	}
	#spMenuBtn.menuActive #menuBar1,
	#spMenuBtn.menuActive #menuBar3 {
		top: calc(50% - 1px);
	}
	#spMenuBtn.menuActive #menuBar1 {
		transform: rotate(-45deg);
		left: 9px;
	}
	#spMenuBtn.menuActive #menuBar2 {
		opacity: 0;
	}
	#spMenuBtn.menuActive #menuBar3 {
		transform: rotate(45deg);
		left: 9px;
	}
	/* #headerNav */
	#headerNav,
	#headerNav ul {
		line-height: 1;
	}
	#headerNav {
		font-size: 1.6rem;
		position: absolute;
		width: 250px;
		height: 200px;
		top: 80px;
		right: 6%;
		background-color: rgba(0, 104, 182, .7);
		z-index: 100;
		color: #fff;
		padding: 20px;
		display: none;
	}
	#headerNav.naviOpen {
		display: flex;
	}
	#headerNav ul:nth-child(1) {
		gap: 20px;
	}
	#headerNav ul:nth-child(1) li {
		margin: 0;
	}
	#headerNav ul:nth-child(2) {
		display: block;
		margin: -20px 0 0 0;
	}
	#headerNav ul:nth-child(2) li {
		border-radius: inherit;
		overflow: inherit;
		margin: 20px 0 0 0;
		letter-spacing: inherit;
	}
	#headerNav ul:nth-child(2) li a {
		width: auto;
		height: auto;
		text-align: left;
		align-items: left;
		justify-content: left;
	}
	#headerNav04 { background-color: inherit; }
	#headerNav05 { background-color: inherit; }
	#headerNav06 { background-color: inherit; }

	/* footer -------------------------------------------------- */
	/* #toTop */
	/* #footerInner */
	#footerInner {
		width: 250px;
		padding: 30px 0;
	}
	#footerLogo {
		width: 100%;
		height: auto;
		margin: 0 auto;
	}
	#footerBox {
		flex-direction: column;
		margin: 30px 0 0 0;
	}
	#footerInfo {
		width: 100%;
	}
	#footerInner address {
		font-size: 1.3rem;
	}
	/* #footerNav */
	#footerNav {
		margin: 30px 0 0 0;
	}
	#footerNav ul {
		flex-direction: column;
	}
	/* #copyright */
	#copyright {
		height: 32px;
		padding: .5em 1em 1em 1em;
	}
}