:root {
	--f64: clamp(2rem, 5vw, 4rem); /*1280px以上は64pt、640px以下は32px、その間は可変*/
	--f36: clamp(1.13rem, 2.81vw, 2.25rem);/*1280px以上は36pt、640px以下は18px、その間は可変*/
	--f24: clamp(0.9rem, 1.875vw, 1.5rem);/*1280px以上は24pt、640px以下は14.4px、その間は可変*/
	--f20: clamp(0.75rem, 1.563vw, 1.25rem);/*1280px以上は20pt、640px以下は12px、その間は可変*/
	--f18: clamp(0.75rem, 1.427vw, 1.125rem);/*1280px以上は20pt、640px以下は12px、その間は可変*/
	--f16: clamp(0.625rem, 1.25vw, 1rem);/*1280px以上は16pt、640px以下は10x、その間は可変*/
	--f14: clamp(0.625rem, 1.09vw, 0.875rem);/*1280px以上は14pt、640px以下は10x、その間は可変*/
	--f12: clamp(0.56rem, 0.94vw, 0.75rem);/*1280px以上は14pt、640px以下は9x、その間は可変*/
	
	--mintcolor: #5fc0c6;
}
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
}
html {
	overflow-x: hidden;
	/*scroll-behavior: smooth;*/
}
body {
	line-height: 1.8;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-weight: 500;
	font-size: var(--f16);
	color: #555;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
ul, ol {
	  list-style: none;
}
a {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	background: transparent;
	text-decoration: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
input, select {
	vertical-align: middle;
}
section {
	width: calc(100% - 30px);
	margin: 0 auto;
	max-width: 1500px;
}
address {
	font-style: normal;
}
header, main {
	width: calc(100% - 30px);
	margin: 0 auto;
	max-width: 1500px;
}
header {
	text-align: center;
	padding: 15px 0;
}
h1 {
	margin-bottom: 15px;
}
h2 {
	color: var(--mintcolor);
	font-size: var(--f24);
}
#memo {
  border: 1px solid #ccc;
  border-radius: 4px;
  width: calc(100% - 20px);
  height: calc(100vh - 300px);
  overflow-y: scroll;
  padding: 6px 10px;
}
#memo h3 {
	color: var(--mintcolor);
	font-size: var(--f20);
	text-align: center;
}
#memo h4 {
	color: var(--mintcolor);
	font-size: var(--f18);
	margin-top: 1em;
}
#memo h5 {
	font-size: var(--f16);
	margin-top: 1em;
}

#memo ul li {
	position: relative;
	padding-left: 1.2em;
}
#memo ul li span {
	display: block;
	width: 1.2em;
	position: absolute;
	left: 0;
	top: 0;
}
#memo strong {
	font-size: 1.1em;
}
#date {
	text-align: right;
	margin-top: 1em;
}
#agree {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
}
#check {
	margin-right: 10px;
}
#btnarea {
	margin-left: 10px;
}
.check-disabled {
	color: #afafaf;
}
.btn {
	background-color: var(--mintcolor);
	border: none;
	cursor: pointer;
	outline: none;
	appearance: none;
	color: #fff;
	padding: 8px 24px;
	border-radius: 4px;
}

.btn[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}
footer {
	margin-top: 1em;
	text-align: center;
	width: 100%;
}
footer .link {
	text-align: center;
	margin-bottom: 1em;
}
footer .link a {
	color: var(--mintcolor);
}
footer .link a:hover {
	font-weight: 700;
}
footer .mirai {
	font-size: 0.9em;
}
footer .mirai img {
	vertical-align: text-bottom;
	margin: 0 5px;
}
footer #copyright small {
	font-size: var(--f12);
}
@media screen and (min-width: 768px) {
	header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 60px;
	}
	h1 {
		margin-bottom: 0;
	}
	h1 img {
		height: 40px;
		width: auto;
	}
	.note {
		text-align: center;
	}
	#memo {
  		height: calc(100vh - 210px);
	}
}
@media screen and (min-width: 960px) {
	header {
		height: 100px;
	}
	.note {
		margin-bottom: 15px;
	}
	#memo {
  		height: calc(100vh - 300px);
	}
	#agree {
		height: 80px;
	}
	#check {
		margin-right: 20px;
	}
	#btnarea {
		margin-left: 20px;
	}
	.btn {
		font-size: var(--f20);
	}
	footer .mirai img {
		height: 30px;
		width: auto;
	}
}
@media screen and (min-width: 1400px) {
	h1 img {
		height: 60px;
		width: auto;
	}
}