
/* || -------------------- body */

html {
	width: 100%;
	height: auto;
}

body {
	width: 100%;
	color: #333333;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 16px;

	background-image: url(../images/bg.png);
	background-repeat: repeat;
	background-size: auto;
	background-attachment: fixed;
}

/* || -------------------- header */

header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	width: 100%;
	max-width: 960px;
	background-color: #fff;
	margin: 0 auto 0 auto;
}
header > a {
	display: flex;
	align-items: center;
	width: calc(100% - 280px);
	padding: 10px 24px;
}
header > a figure {
	width: 100px;
	margin: 0 18px 0 0;
}
header > a h1 ,
header > a p {
	font-size: 1.9em;
	font-weight: 900;
}

@media screen and (max-width: 960px) {
	header > a {
		width: calc(100% - 180px);
		padding: 10px 20px;
	}
	header > a figure {
		width: 90px;
	}
	header > a h1 ,
	header > a p {
		font-size: 1.8em;
	}
}
@media screen and (max-width: 768px) {
	header > a {
		width: 100%;
		padding: 20px 20px;
	}
	header > a figure {
		width: 70px;
	}
	header > a h1 ,
	header > a p {
		font-size: 1.4em;
	}
}
@media screen and (max-width: 510px) {
	header > a {
		flex-wrap: wrap;
	}
	header > a figure {
		width: 70px;
		margin: 0 auto 10px auto;
	}
	header > a h1 ,
	header > a p {
		width: 100%;
		font-size: 1.4em;
		text-align: center;
	}
}
@media screen and (max-width: 450px) {
	header > a {
		flex-wrap: wrap;
	}
	header > a figure {
		width: 25vw;
		margin: 0 auto 10px auto;
	}
	header > a h1 ,
	header > a p {
		width: 100%;
		font-size: 6.2vw;
		text-align: center;
	}
}

/* || -------------------- toggle */

div.toggle {
	visibility: hidden;
	display: none;
}

@media screen and (max-width: 768px) {
	div.toggle {
		visibility: visible;
		display: block;
		position: fixed;
		top: 12px;
		right: 12px;
		width: 54px;
		height: 56px;
		background-color: #191970;
		border-radius: 4px;
		cursor: pointer;
		user-select: none;
		z-index: 1100;
	}
	div.toggle > div {
		position: relative;
		width: 54px;
	}
	div.toggle span {
		position: absolute;
		left: 50%;
		width: 34px;
		height: 1px;
		display: block;
		background: #fff;
		transform: translateX(-50%);
		transform-origin: center;
		transition-duration: 0.6s;
		transition-timing-function: ease-in-out;
	}
	div.toggle span:nth-child(1) {
		top: 8px;
	}
	div.toggle span:nth-child(2) {
		top: 19px;
	}
	div.toggle span:nth-child(3) {
		top: 30px;
	}
	div.toggle:hover span:nth-child(1) {
		top: 8px;
	}
	div.toggle:hover span:nth-child(3) {
		top: 30px;
	}
	div.toggle p {
		position: absolute;
		top: 34px;
		left: 50%;
		color: #fff;
		font-size: 0.86em;
		text-align: center;
		transform: translateX(-50%);
	}

	/* --- open */
	.open div.toggle span {
		background: #fff;
	}
	.open div.toggle span:nth-child(1) {
		top: 19px;
		transform: translateX(-50%) rotate(45deg);
	}
	.open div.toggle span:nth-child(2) {
		top: 19px;
		width: 0;
		left: 50%;
	}
	.open div.toggle span:nth-child(3) {
		top: 19px;
		transform: translateX(-50%) rotate(-45deg);
	}
}

/* || -------------------- nav */

nav {
	width: 100%;
	max-width: 960px;
	background-color: #fff;
	padding: 24px 0;
	margin: 0 auto 0 auto;
}
body.page nav {
	background-color: #3189E1;
}

nav ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	max-width: 890px;
	border: 1px solid #BFBFBF;
	border-radius: 4px;
	margin: 0 auto 0 auto;
}
nav ul li {
	width: calc(100% / 5);
	text-align: center;
}
nav ul li a {
	border: 1px solid #E4E4E4;
	background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%,rgba(251, 251, 251, 1) 64.54%,rgba(240, 240, 240, 1) 100%);
	padding: 4px 0;
}
nav ul li:first-child a {
	border-radius: 3px 0 0 3px;
}
nav ul li:last-child a {
	border-radius: 0 3px 3px 0;
}
nav ul li a p {
	display: inline-block;
	border-bottom: 1px solid #3189E1;
	padding: 0 0 2px 0;
}
nav ul li a span {
	display: block;
	width: 100%;
	color: #3189E1;
	font-size: 0.8em;
	font-weight: 400;
	line-height: 1.5em;
}

@media screen and (max-width: 960px) {
	nav {
		padding: 24px 20px;
	}
}
@media screen and (max-width: 768px) {
	nav {
		position: fixed;
		top: 0;
		left: auto;
		right: 0;
		bottom: 0;
		width: 300px;
		background-color: rgba(50, 50, 50, 0.85);
		padding: 20px 16px;
		opacity: 0;
		transform: translateX(300px);
		transition: transform 0.5s ease, opacity .9s ease;
		z-index: 1000;
	}
	nav ul {
		border: unset;
		margin: 70px auto 0 auto;
	}
	nav ul li {
		width: 100%;
		margin: 0 0 4px 0;
	}
	nav ul li a {
		border: 1px solid #E4E4E4;
		background: #fff;
	}
	nav ul li:first-child a ,
	nav ul li:last-child a {
		border-radius: unset;
	}

	/* --- open */
	.open {
		overflow: hidden;
	}
	.open nav {
		opacity: 1;
		margin: 0;
		overflow-y: scroll;
		transform: translateX(0);
		transition: transform 0.5s ease, opacity .9s ease;
	}
	.open nav ul li {
		opacity: 1;
	}
}

ul.sp-second {
	display: none;
}
@media screen and (max-width: 768px) {
	ul.sp-second {
		display: block;
		margin: 0 0 0 auto;
		width: 245px;
		max-width: unset;
	}
	ul.sp-second li {
		margin: 0 0 0 0;
	}
	ul.sp-second li a {
		display: flex;
		align-items: stretch;
		/* flex-wrap: wrap; */
		width: 100%;
		font-size: 0.85em;
		padding: 8px 0;
	}
	ul.sp-second li a::before {
		content: "";
		display: block;
		width: 6px;
		/* height: -webkit-fill-available;
		height: -moz-available; */
		background: linear-gradient(0deg, rgba(234, 234, 234, 1) 0%, rgba(145, 145, 145, 1) 100%);;
		margin: 0 0 0 6px;
	}
	ul.sp-second li a p {
		display: block;
		width: calc(100% - 30px);
		text-align: left;
		border-bottom: unset;
		padding: 0 0 0 8px;
	}
}

/* || -------------------- nav-other (header <-> nav) */

ul.nav-other {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	max-width: 280px;
	padding: 10px 24px;
}
ul.nav-other li {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: auto;
	margin: 0 14px 0 0;
}
ul.nav-other li:last-child {
	margin: 0 0 0 0;
}
ul.nav-other li:before {
	content: "";
	display: block;
	width: 8px;
	height: 10px;
	margin: 0 4px 0 0;
	border-top: 6px solid rgb(0 0 0 / 0%);
	border-bottom: 6px solid rgb(0 0 0 / 0%);
	border-left: 8px solid #000;
}
ul.nav-other li a {
	width: calc(100% - 12px);
	font-size: 0.75em;
}

@media screen and (max-width: 960px) {
	ul.nav-other {
		max-width: 180px;
		padding: 10px 20px;
	}
	ul.nav-other li {
		width: 100%;
		margin: 0 0 4px 0;
	}
}
@media screen and (max-width: 768px) {
	ul.nav-other {
		margin: 16px 0 0 auto;
	}
	ul.nav-other li:before {
		border-left: 8px solid #fff;
	}
	ul.nav-other li a {
    color: #fff;
		text-align: left;
		border: unset;
		background: unset;
	}
}

/* || -------------------- footer */

footer {
	width: 100%;
	max-width: 960px;
	background-color: #fff;
	border-top: 5px solid #2F76C2;
	margin: 0 auto 0 auto;
}
footer p.copy {
	width: 100%;
	text-align: center;
	font-size: 0.8em;
	padding: 18px 10px;
}







































































































