﻿@charset "utf-8";
html {
	font-size: 62.5%;
}
body {
	font: 1.3em / 1.231 Verdana, "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, osaka, "ＭＳ Ｐゴシック", sans-serif;
	min-width: 1050px;
	letter-spacing: 0.05em;
}
.hidden {
	display: none;
}
#container {
	margin: 0 auto;
	position: relative;
}

/* ======== SETP ======== */
.stepbox {
	max-width: 940px;
	margin: 0 auto;
	line-height: 130%;
}
.stepbox ol {
	display: flex;
	overflow: hidden;
}
.stepbox li {
	flex: 1 0 auto;
	position: relative;
	background-color: #999;
	padding: 14px 0;
	font-size: 2.8rem;
	text-align: center;
	color: #fff;
}
.stepbox li span {
	display: inline-block;
	padding-right: 0.4em;
	font-size: 2.0rem;
}
.stepbox li:not(:first-child)::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 50%;
	transform: translateY(50%);
	border-style: solid;
	border-width: 26px 0 26px 33px;
	border-color: transparent transparent transparent #fff;
}
.stepbox li:not(:first-child)::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 50%;
	transform: translateY(50%);
	border-style: solid;
	border-width: 23px 0 23px 30px;
	border-color: transparent transparent transparent #999;
}
.stepbox .active ~ li {
	background-color: #dfdfdf;
	color: #333;
}
.stepbox .active ~ li::after {
	border-left-color: #dfdfdf;
}
.stepbox .active {
	background-color: #5B9D6B;
}
.stepbox .active + li::after {
	border-left-color: #5B9D6B;
}
.stepbox.fixed {
	position: fixed;
	z-index: 10;
	top: 0;
	right: 50%;
	transform: translateX(50%);
	width: 940px;
	border-bottom: 1px solid #fff;
}
@media screen and (max-width: 700px) {
	body {
		min-width: 320px;
		-webkit-text-size-adjust: 100%;
	}
	.stepbox li {
		padding: 10px 0;
		font-size: 2.0rem;
	}
	.stepbox li:not(:first-child) {
		padding-left: 21px;
	}
	.stepbox li:not(:first-child)::before {
		border-left-width: 21px;
	}
	.stepbox li:not(:first-child)::after {
		border-left-width: 18px;
	}
	.stepbox li span {
		font-size: 1.4rem;
	}
	.stepbox.fixed {
		width: 100%;
	}
}

/* ======== contents ======== */
#content {
	max-width: 940px;
	margin: 0 auto;
	position: relative;
}
#mainContent {
	margin-bottom: 60px;
	padding: 3px 0 50px;
	line-height: 1.7;
}
.form_h1 {
	padding: 30px 0 6px;
	margin: 30px 0;
	border-bottom: 15px solid #5B9D6B;
	font-size: 2.3rem;
	box-sizing: border-box;
	text-align: center;
}
.caution {
	border: 1px dotted #b2b2b2;
	padding: 20px;
	font-size: 1.2rem;
}
.caution li {
	text-indent: -1em;
	padding-left: 1em;
}
.hissu {
	box-sizing: border-box;
	display: inline-block;
	background-color: #fff;
	border: 1px solid #dfdfdf;
	padding: 5px;
	color: #dd5151;
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 1.0;
	text-indent: 0;
}

.form-table {
	width: 100%;
	border: 1px solid #dfdfdf;
	border-collapse: collapse;
	margin-top: 20px;
}
.form-table th {
	position: relative;
	box-sizing: border-box;
	width: 30%;
	border: 1px solid #dfdfdf;
	background-color: #5b9d6b;
	padding: 12px 55px 12px 15px;
	vertical-align: top;
	color: #fff;
	font-weight: bold;
	font-size: 1.4rem;
}
.form-table th.nini {
	padding: 12px 15px 12px 15px;
}
.form-table th .hissu {
	position: absolute;
	right: 10px;
	top: 12px;
}
.form-table td {
	box-sizing: border-box;
	border: 1px solid #dfdfdf;
	padding: 12px 15px;
	background-color: #fff;
	vertical-align: middle;
}
.form-table td .helpText {
	margin-left: 1em;
}
.form-table td div.helpText {
	margin-left: 0;
	margin-top: 8px;
	text-indent: -2em;
	padding-left: 2em;
	line-height: 1.4;
}
.form-table em {
	font-weight: bold;
	color: #cc0000;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: inherit;
	border: 2px solid #ccc;
	border-radius: 4px;
	padding: 5px;
	height: 40px;
	font-family: inherit;
	font-size: 1.6rem;
}
.input_l {
	width: 450px;
}
.input_m {
	width: 200px;
}
.input_s {
	width: 100px;
}
.input_ss {
	width: 72px;
}


[type="radio"],
[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	background-color: transparent;
	opacity: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.cardNoWrap {
	display: inline-block;
	position: relative;
}
.cardNoWrap > input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	outline: none;
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
}
.cardNoWrap label {
	display: inline-block;
	background: url(../img/radio-off.png) 0 0 no-repeat;
	background-size: 35px 35px;
	padding: 8px 10px 10px 35px;
	cursor: pointer;
}
.cardNoWrap input:checked + label {
	background-image: url(../img/radio-on.png);
}
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 2px solid #ccc;
	border-radius: 4px;
	padding: 5px;
	width: 450px;
	height: 10em;
	font-size: 1.6rem;
	font-family: Verdana,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',osaka,'メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}
#card1 ~ .cardNoinn {
	display: none;
}
#card1:checked ~ .cardNoinn {
	display: block;
	margin: 0 auto;
}
.radiolist {
	display: flex;
	margin-bottom: 8px;
}
.radiolist li {
	flex: 0 0 auto;
	margin-right: 2em;
}


.red {
	color: #cc0000;
	text-indent: -1em;
	padding-left: 1em;
	margin: 10px 0;
	line-height: 1.5;
	font-size: 1.1rem;
}
.agreement {
	margin: 40px 0;
}
.agreeText {
	border: 1px solid #dfdfdf;
	padding: 20px 16px 16px;
	display: flex;
	justify-content: space-between;
}
.agreeText ul {
	flex: 1 0 0%;
}
.agreeText li {
	text-indent: -1em;
	padding: 0 1em;
}
.agreeText li + li {
	margin-top: 8px;
}
.agreeText .site_seal {
	flex: 0 0 auto;
}
.agreement .checkbox {
	border-top: 1px dotted #dfdfdf;
	border-right: 1px solid #dfdfdf;
	border-left: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
	text-align: center;
}
.agreement .radiobox {
	padding: 30px;
	font-size: 1.8rem;
}
.lastText {
	text-align: center;
}
.form-btn {
	margin-top: 30px;
	text-align: center;
}
.form-btn button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid #d4d4d4;
	background-color: #4da359;
	margin: 0;
	padding: 0;
	width: 220px;
	height: 60px;
	font-size: 1.6rem;
	font-family: inherit;
	line-height: 1.3;
	color: #fff;
	cursor: pointer;
	transition-duration: 0.3s;
}
@media screen and (min-width: 701px) {
	.form-btn button:hover {
		opacity: 0.7;
	}
}
@media screen and (max-width: 700px) {
	#mainContent {
		padding: 20px 16px;
		margin-bottom: 80px;
	}
	.form_h1 {
		margin: 0 0 10px;
		padding-top: 0;
		border-width: 7px;
		font-size: 2.0rem;
		line-height: 1.3;
	}
	.form_h1 span {
		display: block;
	}
	.caution {
		padding: 10px;
	}
	.form-table {
		border: none;
		display: block;
	}
	.form-table tbody,
	.form-table tr {
		display: block;
	}
	.form-table th {
		display: block;
		width: auto;
		padding: 5px 46px 5px 15px;
	}
	.form-table th.nini {
		display: block;
		width: auto;
		padding: 5px 15px 5px 15px;
	}
	.form-table th .hissu {
		right: 8px;
		top: 4px;
	}
	.form-table td {
		display: block;
		border: none;
		padding: 12px 10px 20px;
	}
	.form-table td .helpText {
		margin-left: 0;
		margin-top: 6px;
		display: block;
	}
	.input_l {
		width: 100%;
	}
	.input_m {
		width: calc((100% - 0.5em) / 2);
	}
	.input_s {
		width: calc((100% - 0.5em) / 3);
	}
	.input_ss {
		width: 76px;
	}
	.cardNoWrap {
	display: inline-block;
	position: relative;
	width: 100%;
}
	.cardNoWrap label {
	display: inline-block;
	background: url(../img/radio-off.png) 0 0 no-repeat;
	background-size: 35px 35px;
	padding: 8px 10px 10px 35px;
	cursor: pointer;
		width: 30%;
}
	#card1:checked ~ .cardNoinn {
	display: block;
	width: calc( 100% - 14px);		
	margin: 0;
}
textarea {
	width: calc(100% - 14px);
}
	.agreement {
		margin: 25px 0;
	}
	.agreeText {
		display: block;
	}
	.agreeText ul {
		margin-bottom: 10px;
	}
	.agreeText .site_seal {
		margin-top: 10px;
	}
	.agreement .radiobox {
		font-size: 1.7rem;
	}
	.form-btn button:active {
		opacity: 0.7;
	}
}

/* ======== error ======== */
.errorBody {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
}
.errorBody .errorbg,
.errorBody .errorbox {
	display: block;
}
.errorbg {
	display: none;
	position: fixed;
	z-index: 10;
	width: 100%;
	height: 100%;
	right: 50%;
	bottom: 50%;
	transform: translate(50%, 50%);
	background-color: rgba(0, 0, 0, 0.4);
}
.errorbox {
	display: none;
	position: fixed;
	z-index: 20;
	right: 50%;
	bottom: 50%;
	transform: translate(50%, 50%);
	background-color: #fff;
	padding: 30px 100px;
	text-align: center;
	font-size: 1.6rem;
	color: #fe3048;
}
.errorbox .btnbox {
	margin-top: 30px;
}
.errorbox button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	border: none;
	background-color: #999;
	outline: none;
	margin: 0 auto;
	padding: 8px 30px;
	min-width: 200px;
	width: 100%;
	color: #fff;
	font-family: inherit;
	font-size: 100%;
	cursor: pointer;
	transition-duration: 0.3s;
}
.close {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	width: 24px;
	height: 24px;
	cursor: pointer;
}
.close::before {
	content: "";
	position: absolute;
	top: 11px;
	right: 0;
	width: 24px;
	height: 2px;
	background-color: #fff;
	transform: rotate(45deg);
	transition-duration: 0.3s;
}
.close::after {
	content: "";
	position: absolute;
	top: 11px;
	right: 0;
	width: 24px;
	height: 2px;
	background-color: #fff;
	transform: rotate(135deg);
	transition-duration: 0.3s;
}

.form-table .error {
	background-color: #ffe6e9;
}
.errorText {
	display: none;
	margin-bottom: 8px;
	color: #fe3048;
}
.error .errorText {
	display: block;
}
.error [type="text"],
.error [type="email"],
.error [type="tel"],
.error [type="number"] {
	border-color: #fe3048;
}
.error .cardNoWrap {
	display: inline-block;
	position: relative;
	border: 2px solid #FE3048;
	background-color: #fff;
	border-radius: 4px;
}
.error #card1:checked ~ .cardNoinn {
	width: calc( 100% - 24px );
	margin: 0 5px 5px 5px;
}
.agreement .error {
	background-color: #ffe6e9;
	position: relative;
}
.agreement .error .radiobox {
	padding-top: 50px;
}
.agreement .errorText {
	position: absolute;
	left: 0;
	top: 15px;
	width: 100%;
	pointer-events: none;
}
@media screen and (min-width: 701px) {
	.errorbox button:hover {
		background-color: #666;
	}
	.close:hover::before,
	.close:hover::after {
		background-color: #666;
	}
}
@media screen and (max-width: 700px) {
	.errorbox {
		padding: 30px 15px;
		width: 95%;
		box-sizing: border-box;
	}
	.errorbox button:active {
		background-color: #666;
	}
	.close:active::before,
	.close:active::after {
		background-color: #666;
	}
}

/* ======== confirm ======== */
.confirm .form-table td {
	font-size: 1.5rem;
	word-wrap: break-word;
}
.confirm .agreement {
	border-bottom: 1px solid #dfdfdf;
}
.form-btn ul {
	display: flex;
	justify-content: center;
}
.form-btn li {
	flex: 0 0 auto;
	margin: 0 8px;
}
#btn_edit {
	background-color: #808080;
	font-size: 1.4rem;
}
@media screen and (max-width: 700px) {
	.form-btn ul {
		display: block;
	}
	.form-btn li + li {
		margin-top: 30px;
	}
}

/* ======== thanks ======== */
.thanks .site_seal {
	text-align: right;
}
.thanks .site_seal > div {
	display: inline-block;
}
.ev_title {
	background-color: #5b9d6b;
	border: 1px solid #dfdfdf;
	margin: 20px 0;
	padding: 10px 20px;
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.2;
}
.thanksText ul {
	margin-top: 1em;
}
.thanksText li {
	margin-top: 4px;
	text-indent: -1em;
	padding-left: 1em;
}
