@font-face {
	font-family: 'hiragino-kaku-gothic';
	src: url('../fonts/hiragino-kaku-gothic-w3.ttc');
}

html {
	width: 100%;
	height: 100%;
}

body {
	margin: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	font-size: 16px;
}

header {
	position: absolute;
    top: 0;
	width: 100%;
	height: 40px;
	background-color: #fff;
}

footer {
	position: absolute;
    bottom: 0;
	width: 100%;
	height: 360px;
	background-color: #ccc;
}

hr {
	margin-top: 16px;
	margin-bottom: 16px;
	border-top: solid 1px #ccc;
}

#page {
	position: relative;
	width: 100%;
	min-height: 100%;
	background-color: #eee;
	color: #333;
	font-family: 'hiragino-kaku-gothic';
}

#contents {
	padding-top: 40px;
	padding-bottom: 360px;
	width: 100%;
}

.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.title {
	margin-top: 10px;
	margin-left: 16px;
	color: #c2ab93;
	font-size: 85%;
	font-weight: bold;
}

.frame {
	margin: 40px auto;
	padding: 40px 5%;
	width: 400px;
	max-width: 80%;
	background-color: #fff;
}

.page_title {
	margin-bottom: 40px;
	font-size: 160%;
	font-weight: bold;
	text-align: center;
}

.page_desc {
	margin-top: -20px;
	margin-bottom: 40px;
	color: #888;
}

.alert {
	color: #fb0059;
}

.main_btn {
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 0.8em 20px;
	width: calc(100% - 40px);
	border-radius: 100vh;
	background-color: #a68562;
	text-align: center;
	font-weight: bold;
	color: white;
}

.sub_btn {
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 0.8em 20px;
	width: calc(100% - 40px);
	border-radius: 100vh;
	border: solid 3px #a68562;
	text-align: center;
	font-weight: bold;
	color: #a68562;
}

.menu_btn {
	display: inline;
	padding: 0.2em 10px;
	border-radius: 100vh;
	border: solid 2px #a68562;
	text-align: center;
	font-size: 85%;
	font-weight: bold;
	color: #a68562;
}

.main_btn:hover,
.sub_btn:hover,
.menu_btn:hover {
	filter: brightness(120%);
}

.input input {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0.8em;
	width: calc(100% - 1.6em);
	border: solid 2px #c2ab93;
	border-radius: 10px;
	outline: none;
	font-size: 100%;
}

.checkbox input {
    display: none;
}
.checkbox_label {
    display: inline-block;
    position: relative;
    padding: 4px 32px;
    box-sizing: border-box;
    cursor: pointer;
}
.checkbox_label::before {
    background: #fff;
    display: block;
    position: absolute;
    margin-top: -8px;
    top: 43%;
    left: 4px;
    width: 16px;
    height: 16px;
    border: solid 2px #c2ab93;
	border-radius: 2px;
    content: '';
}
.checkbox_label::after {
    display: block;
    position: absolute;
    margin-top: -7px;
    top: 45%;
    left: 10px;
    width: 5px;
    height: 9px;
    transform: rotate(45deg);
    border-right: solid 3px #a68562;
    border-bottom: solid 3px #a68562;
    content: '';
    opacity: 0;
}
.checkbox input:checked + .checkbox_label::after {
    opacity: 1;
}

.select select {
	margin-top: 10px;
	margin-bottom: 10px;
	width: 100%;
	height: 40px;
	border: solid 2px #c2ab93;
	border-radius: 10px;
	font-size: 100%;
}

.textarea textarea {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0.8em;
	width: calc(100% - 1.6em);
	height: 10em;
	border: solid 2px #c2ab93;
	border-radius: 10px;
	outline: none;
	font-size: 100%;
}

.input_title {
	margin-top: 12px;
	color: #aaa;
}

.input_desc {
	color: #888;
}

.link {
	color: #c2ab93;
	text-decoration: underline;
}

.list_title {
	margin-top: 4px;
	margin-bottom: 4px;
	color: #aaa;
}

.footer_contents {
	margin: 20px;
	width: calc(100% - 40px);
	color: #666;
}

.footer_link {
	color: #666;
	text-decoration: none;
}

.footer_link img {
	width: 240px;
}

.document_frame {
	margin: 40px auto;
	padding: 40px 5%;
	width: 400px;
	max-width: 80%;
}

.document_title {
	margin-bottom: 40px;
	font-size: 160%;
	font-weight: bold;
}

.document_block {
	margin-bottom: 40px;
}

