@charset "utf-8";

header {
	position: static;
}

.mainVisual {
	background: #fff url('/financialservices/investment/note/img/bg_main.png') top 30% right 12% no-repeat;
	background-size: 50% auto;
	padding: 10rem 0;
}
.mainVisual h1 {
	font-size: 4.5rem;
	text-align: center;
}
@media screen and (max-width: 768px) {
	.mainVisual {
		background-position: center right;
		background-size: 100%;
	}
	.mainVisual h1 {
		font-size: 5rem;
	}
}

.bg {
	background: #EFEFEB;
}
.inner {
	max-width: 900px;
}
.terms .inner {
	padding-top: 6.2rem;
	padding-bottom: 10rem;
}
.termsBox {
	overflow: auto;
	height: 500px;
	margin: 0 auto;
	padding: 7.2rem 9.0rem;
	background: #fff;
	border: 3px solid #C8C8C8;
}
.terms h2 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 2em;
	text-align: center;
}
.terms h3 {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-size: 1.3rem;
	font-weight: bold;
	margin-top: 2em;
}
.terms h3 span {
	flex-shrink: 0;
	margin-right: 0.3em;
}
.terms h3::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: #000;
}
.terms p {
	line-height: 1.8;
	font-size: 1.3rem;
}
.terms p + p {
	margin-top: 1.5em;
}
.terms p.list {
	padding-left: 1em;
	text-indent: -1em;
}
.terms p + h2 {
	margin-top: 3em;
}
@media screen and (max-width: 768px) {
	.termsBox {
		padding: 6.4rem 3.2rem;
		height: 80rem;
	}
	.terms * {
		max-width: 100%;
	}
	.terms h2 {
		font-size: 3.0rem;
	}
	.terms p {
		font-size: 2.3rem;
	}
	.terms h3 {
		font-size: 2.5rem;
	}
	.terms h3 span {
		margin: 0;
	}
	.terms h3::after {
		display: none;
	}
}

/* CTAbox */
.CTAbox,
.fixedCTA {
	height: 17.6rem;
}
.fixedCTA.note {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	padding: 2rem 0 1.5rem;
}
.fixedCTA.note .inner {
	padding: 0;
	flex-direction: column;
}
.fixedCTA.note #agree {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.fixedCTA.note label {
	font-size: 1.5rem;
	font-weight: bold;
}
/* フォーカス時にカスタムチェックボックスへ視覚的フィードバック */
.fixedCTA.note #agree:focus-visible ~ label .checkbox {
	outline: 2px solid #0066cc;
	outline-offset: 1px;
}
#agree:checked ~ label .checkbox {
	background: #fff url('/financialservices/investment/note/img/img_checked.png') center center no-repeat;
	background-size: contain;
}
.fixedCTA.note label .checkbox {
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	border: 2px solid #000;
	vertical-align: middle;
	box-shadow: 3px 3px 0 0 #c8c8c8;
	margin-right: .5em;
}
.fixedCTA.note #admagepontra {
	width: 43.5%;
}
.fixedCTA.note a {
	position: relative;
	display: block;
	margin: 1rem auto 0;
	padding: .5em 0;
	font-size: 2.1rem;
	font-weight: bold;
	color: #fff;
	line-height: 1.2;
	background: #e60012;
	text-align: center;
	width: 100%;
	border-radius: 1rem;
	box-shadow: 4px 4px 0 0 #c8c8c8;
	overflow: hidden;
}
#agree:checked ~ #admagepontra a::after {
	display: none;
}
.fixedCTA.note #admagepontra a::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
}
.fixedCTA.note p:last-child {
	text-align: center;
	width: 100%;
	font-size: 1.3rem;
	margin-top: 1.5rem;
}
@media screen and (max-width: 768px) {
	.CTAbox,
	.fixedCTA {
		height: 32rem;
	}
	.fixedCTA.note {
		padding: 3rem 0 3rem;
	}
	.fixedCTA.note .inner {
		padding: 0 5rem;
	}
	.fixedCTA.note label {
		display: flex;
		width: 100%;
		align-items: center;
		text-align: left;
		font-size: 2.5rem;
		line-height: 1.4;
	}
	.fixedCTA.note label .checkbox {
		width: 5rem;
		height: 5rem;
		flex-shrink: 0;
		margin-right: 1em;
	}
	.fixedCTA.note #admagepontra {
		width: 83%;
	}
	.fixedCTA.note a {
		font-size: 2.8rem;
		width: 100%;
	}
	.fixedCTA.note a span {
		font-size: 3.3rem;
	}
	.fixedCTA.note p:last-child {
		font-size: 1.8rem;
	}
}
