@charset "utf-8";

main {
	background: #EFEFEB;
	padding-bottom: 10rem;
}

header {
	background: #fff url('/fund/note/img/header_bg.png') top 30% right 12% no-repeat;
	background-size: 50% auto;
	padding: 10rem 0;
}

header h1 {
	font-size: 4.5rem;
	text-align: center;
}

.terms {
	margin: 6.2rem auto 0;
	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;
}

.CTAbox,
.fixedCTA {
	height: 17.6rem;
}
.fixedCTA.note {
	padding: 2rem 0 1.5rem;
}
.fixedCTA.note .inner {
	/* width: 70rem; */
	padding: 0;
	flex-direction: column;
}
.fixedCTA.note #agree {
	display: none;
}
.fixedCTA.note label {
	font-size: 1.5rem;
	font-weight: bold;
}
#agree:checked ~ label .checkbox {
	background: #fff url('/fund/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;
	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;
	pointer-events: none;
}
#agree:checked ~ #admagepontra a {
	pointer-events: all;
}
#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) {
	header {
		background-position: center right;
    	background-size: 100%;
	}
	header h1 {
		font-size: 5rem;
	}
	.terms {
		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,
	.fixedCTA {
		height: 32rem;
	}
	.fixedCTA.note {
		padding: 3rem 0 3rem;
	}
	.fixedCTA.note .inner {
		/* display: flex;
		justify-content: space-between;
		align-items: center;
		flex-direction: column; */
		/* width: 100%;
		height: 100%; */
		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;
	}
}
