@charset "utf-8";
@import "./base.css";


/* -- Link
-------------------------------------------------------------------------------- */
a,input[type="submit"] {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}
a:hover,a:active,a:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	color: inherit;
	opacity: 0.8;
}
a:focus {
	outline: 1px solid var(--text-color);
}
a:hover,a:active {
	outline: none;
}
main a:visited {
	color: var(--text-color);
}
main strong {
	font-weight: 600;
}



/* -- Layout
-------------------------------------------------------------------------------- */
main {
	overflow-x: clip;
	width: 100%;
	container-type: inline-size;
}
main > section,
#mainVisual {
	font-size: 1.6rem;
	line-height: 1.5;
	text-align: left;
	width: 100%;
	margin: auto;
	container-type: inline-size;
}
.type-y,
.type-y::before {
	background-color: var(--bg-yellow);
}
.type-b,
.type-b::before {
	background-color: var(--bg-blue);
}



/* -- Footer
-------------------------------------------------------------------------------- */
footer {
	font-size: 1.2rem;
	color: #fff;
	background-color: var(--bg-brown);
	text-align: center;
	width: 100%;
	padding: 60px 0;
}
footer p a {
	display: block;
	width: 140px;
	margin: 0 auto 20px;
}
footer ul {
	display: flex;
	justify-content: center;
	margin: 16px 0;
}
footer ul li:nth-child(n+2)::before {
	content: "|";
	padding: 0 0.5em;
}



/* -- Parts
-------------------------------------------------------------------------------- */
#bannerCTA {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 99;
	transition: var(--transition);
}
#bannerCTA.is-off {
	opacity: 0;
	z-index: -1;
}
#bannerCTA a {
	background-color: var(--color-blue);
	text-align: center;
	display: block;
}
#bannerCTA a dl {
	padding: 12px 0 8px;
}
#bannerCTA a dt {
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 24px;
	color: var(--color-blue);
	background-color: #fff;
	display: block;
	height: 24px;
	margin: 0 36px;
}
#bannerCTA a dd {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin-top: 8px;
}
ul.note li,
*:not(ul) .note {
	font-size: 1rem;
	color: #333;
	text-indent: -1.25em;
	margin-left: 1.25em;
}
.note li::before,
*:not(ul) .note::before {
	content: "※";
	text-indent: 0;
	display: inline-block;
	width: 1.25em;
}
ul.nml li {
	margin-left: 20px;
	list-style: disc;
}



/* -- Monitor size is 768px - for PC
-------------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
	main > section,
	main > div:not(#bannerCTA) {
		max-width: 1080px;
		padding: 0 40px;
	}
	main > section {
		padding-bottom: 80px;
	}
	.bg-wide {
		position: relative;
	}
	.bg-wide::before {
		content: "";
		display: block;
		width: 100vw;
		height: 100%;
		margin: auto;
		position: absolute;
		top: 0;
		right: -100%;
		left: -100%;
		z-index: -1;
	}
	#bannerCTA {
		width: 328px;
	}
	.is-sp {
		display: none!important;
	}

	/* -- Headerer -- */
	header {
		background: #fff;
		display: flex;
		align-items: center;
		flex-flow: row wrap;
		justify-content: space-between;
		min-height: 72px;
		padding: 12px 40px;
		position: relative;
	}
	header .logo {
		width: 179px;
		height: 38px;
	}
	header nav {
		margin: 0 0 0 auto;
	}
	header nav ul {
		display: flex;
	}
	header nav ul a {
		font-size: 1.4rem;
		line-height: 1.7;
		display: block;
		padding: 0 15px;
	}
	header nav ul li:not(:last-child) a {
		border-right: 1px solid #000;
	}
	header .logo {
		width: 179px;
		height: 38px;
	}
	#nvButton {
		display: none;
	}

	/* -- Footer -- */
	footer {
		font-size: 1.2rem;
		color: #fff;
		background-color: var(--bg-brown);
		text-align: center;
		width: 100%;
		padding: 56px 40px;
	}
	footer p a {
		display: block;
		width: 140px;
		margin: 0 auto 20px;
	}
	footer ul {
		display: flex;
		justify-content: center;
		margin: 16px 0;
	}
	footer ul li:nth-child(n+2)::before {
		content: "|";
		padding: 0 0.5em;
	}

	@media screen and (max-width: 900px) {
		header {
			padding: 12px 0;
		}
		header .logo {
			margin: 0 0 8px 40px;
		}
		header nav ul a {
			font-size: 1.3rem;
		}
	}
}



/* -- Monitor size is from 767px - for Smartphone
-------------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
	:root {
		scroll-padding: 52px 0 0;
	}
	main {
		padding-top: 52px;
	}
	main > section {
		padding: 0 20px 40px;
	}
	#bannerCTA {
		width: 100%;
	}
	.is-pc {
		display: none!important;
	}

	/* -- Headerer -- */
	header {
		background: #fff;
		width: 100%;
		height: 52px;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 99;
	}
	header .logo {
		width: 132px;
		height: 28px;
		position: absolute;
		top: 12px;
		left: 20px;
	}
	header nav {
		background: #fff;
		text-align: left;
		overflow: hidden;
		overflow-y: auto;
		width: 100%;
		height: 0;
		max-height: calc(100vh - 52px);
		position: absolute;
		top: 52px;
		right: 0;
		left: 0;
		transition: var(--transition);
	}
	header nav ul {
		padding: 8px 20px 102px;
	}
	header nav ul li {
		margin-top: 40px;
	}
	header nav ul a {
		font-size: 1.6rem;
		line-height: 1.7;
		text-align: left;
		display: block;
		padding: 0 0 0 12px;
		border-left: solid 2px var(--color-blue);
	}
	#nvButton {
		display: block;
		width: 76px;
		height: 52px;
		position: absolute;
		top: 0;
		right: 0;
	}
	#nvButton button {
		font-size: 0;
		background-color: #fff;
		width: 100%;
		height: 100%;
	}
	#nvButton::before,
	#nvButton button::before,
	#nvButton button::after {
		content: "";
		background-color: var(--color-pink);
		display: block;
		width: 36px;
		height: 2px;
		margin: auto;
		position: absolute;
		transition: var(--transition);
		inset: 0;
	}
	#nvButton button::before {
		top: 16px;
	}
	#nvButton button::after {
		bottom: 16px;
	}
	header.is-open nav {
		height: calc(100vh - 52px);
	}
	header.is-open #nvButton::before {
		opacity: 0;
	}
	header.is-open #nvButton button::before {
		top: 0;
		transform: rotate(45deg);
	}
	header.is-open #nvButton button::after {
		bottom: 0;
		transform: rotate(-45deg);
	}

	/* -- Footer -- */
	footer li a {
		font-size: 1rem;
	}
}
