@charset "UTF-8";

.right {
	text-align: right;
}

.pat{
	padding: 60px 40px;
	margin: 0 auto 80px;
}
.box1,
.box2{
	padding: 60px 0px 20px;
	margin : 0px auto 80px;
	background: #f4f4f4;
	color: #231815;
	max-width: 960px;
}

.box2{
	background: #f7f0eb;
}

.box1 p,
.box2 p {
	padding: 0px 60px;
	margin: 0px auto 40px;
}

.form{
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.black_dot .form,
.grey_dot .form{
	color: #231815;
}

form p {
	margin: 0px auto 30px;
	padding: 0px ;
}

/*.form_ttl{
	position: relative;
}

.form_ttl:before,
.form_ttl:after{
	content: "";
	display: block;
	z-index: auto;
	bottom: -10px;
	width: 0;
	height: 0;
	position: absolute;
	border: 1em solid #dfb567;
}

.form_ttl:before{
	left: -25px;
	border-left: 15px solid transparent;
}

.form_ttl:after{
	right: -25px;
	border-right: 15px solid transparent;
}

.form_ttl span{
	position: relative;
	z-index: 1;
	display: block;
	color: #915f00;
	font-weight: bold;
	letter-spacing: 2px;
	padding: 10px 20px;
	background: #dfb567;
	background-image:
		linear-gradient(90deg, rgba(252, 219, 146, 1),
		rgba(223, 181, 103, 1) 25%,
		rgba(252, 219, 146, 1) 50%,
		rgba(223, 181, 103, 1) 75%,
		rgba(253, 219, 146, 1));
}

.form_ttl span:before,
.form_ttl span:after {
	position: absolute;
	bottom: -10px;
	display: block;
	width: 10px;
	height: 10px;
	content: '';
	border-style: solid;
	border-color: #c8963b transparent transparent transparent;
}
.form_ttl span:before {
	left: 0;
	border-width: 10px 0 0 10px;
}

.form_ttl span:after {
	right: 0;
	border-width: 10px 10px 0 0;
}*/

.form table{
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	background: #f4f4f4;
	border: 3px solid #836829;
	margin-bottom: 60px;
	position: relative;
}

.form table th{
	font-size: 18px;
	padding: 15px 10px;
	border-bottom: 1px dashed #836829;
	color: #836829;
	letter-spacing: 1px;
}

.form table td{
	border-bottom: 1px dashed #836829;
	text-align: left;
	padding: 15px 10px;
}

.form table tr:last-child th,
.form table tr:last-child td{
	border-bottom: none;
}

.form table td:first-child{
	white-space: nowrap;
	padding-right: 45px;
	vertical-align: top;
}

.form table:before,
.form table:after{
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-right: 40px solid transparent;
	border-left: 40px solid transparent;
	position: absolute;
	left: calc(50% - 40px);
}

.form table:before{
	bottom: -41px;
	border-top: 40px solid #836829;
}

.form table:after{
	border-top: 40px solid #f4f4f4;
	bottom: -37px;
}
.form_ttl{
	font-size: 30px;
	font-weight: 600;
	color: #f10a0a;
	border-bottom: 1px dashed #836829;
	margin-bottom: 30px;
}
input[type="text"]{
	padding: 15px;
	border: 1px solid #836829;
	border-radius: 2px;
	width: 90%;
	margin: 0 auto;
	font-size: 20px;
	line-height: 1;
}

label{
	cursor: pointer;
	cursor: hand;
	font-weight:normal;
	font-size: 28px;
}
input:checked + span{
	color: #ff261b;
	font-weight: bold;
	text-shadow: 1px 0 5px rgb(255,227,128,1),
				 0 1px 5px rgb(255,227,128,1),
				 -1px 0 5px rgb(255,227,128,1),
				 0 -1px 5px rgb(255,227,128,1);
}
button#cr_btn {
	margin: auto;
	position: relative;
	display: inline-block;
	padding: 10px 60px;
	text-decoration: none;
	color: #f4f4f4;
	background: #836829;
	border: solid 2px #836829;
	border-radius: 4px;
	font-weight: bold;
	font-size: 24px;
	cursor: pointer;
}

button#cr_btn:hover {
	background:#c8a62f;
	border: solid 2px #c8a62f;
	color: #c40900;
}
.note{
	text-align: left;
	background: rgba(211,32,28,0.1);
	border: 1px solid #d3201c;
	max-width: 660px;
	margin: 0 auto 30px;
	padding: 0;
	line-height: 1.6;
	font-size: 16px;
	font-weight: normal;
}
.note div{
	background: rgb(255,38,27,0.3);
	padding: 5px;
}
.note p{
	margin-bottom: 10px;
	padding: 0 10px;
}
.form .error{
	display: block;
	color: #ff261b;
	font-weight: bold;
}
.form .end{
	font-size: 1.8em;
	color: #ff261b;
	margin-bottom: 0;
}
.result {
	max-width: 800px;
	width: 100%;
	margin : 0 auto 10px;
	text-align: center;
	border-spacing: 0;
	border-collapse: collapse;
}
.result tr:nth-of-type(even){
	background: rgba(244,244,244,0.4);
}
.result th{
	background: #033505;
	color: #ecf4e3;
	font-size: 14px;
/*	border-bottom: 2px solid #0a190a;*/
	padding: 5px 0;
	font-weight: 600;
}
.result td {
	font-size: 18px;
	padding: 10px 20px;
	border-bottom: solid 1px #8b7200;
}
.result td:nth-of-type(1){
	text-align: left;
}
.result td:nth-of-type(3),
.result td:nth-of-type(4){
	text-align: right;
}
.result td.hit {
	font-weight: bold;
	color: #ff261b;
	font-size: 20px;
}
.total{
	text-align: center;
	max-width: 800px;
	width: 100%;
	margin: 0 auto 80px;
	padding: 20px 10px 0;
	border: 4px ridge #8b7200;
}
.total p{
	margin-bottom: 20px;
	padding: 0;
	line-height: 1;
}
.rate>span{
	display: inline-block;
}
.rate>span:first-child{
	margin-right: 20px;
}
.amount{
	color: #ff261b;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
}

.amount>span>span{
	font-size: 60px;
	margin-left: 5px;
}

@media screen and (max-width: 768px){
	html {width:130%;}
}
@media screen and (max-width: 640px){
	.box1,
	.box2{
		/*margin-left: 10px;*/
		/*margin-right: 10px;*/
		margin-bottom: 40px;
		width: 95%;
	}
	#main .box1 p,
	#main .box2 p{
		padding: 0 20px;
	}
	#main .form form p{
		padding: 0;
	}
	.result{
		/*margin-right: 10px;*/
		/*margin-left: 10px;*/
		width: 95%;
	}
	.pay span{
		font-size: 50px;
	}
	.form form input[type="text"]{
		font-size: 40px;
		width: 90%;
	}
	label{
		font-size: 40px;
	}
}
@media screen and (max-width: 414px){
	/*.box1 {width:880px;}*/
	.box1 p {
		padding: 0px 30px;
		margin: 0px auto 40px;
		line-height: 1.5em;
		/*font-size: 45px;*/
	}
	p {margin: 0px auto 200px;}
	#main .form{
		padding: 60px 20px;
	}
	
	.form .button_01{
		width: 90%;
	}
}