@charset "utf-8";

/*==========================================
 common
===========================================*/
.main h1 {
	font-size: 32px;
	margin-top: 15px;
}
.step {
	margin: 15px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 500;
	line-height: 34px;
	margin-bottom: 50px;
}
.step > div {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: #430e0e;
	color: #fff;
	cursor: pointer;
}
.step > div + div {
	margin-left: 107px;
}
.step > div + div:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -58px;
	width: 11px;
	height: 13px;
	margin: auto;
	background: url(../img/step_arrow.svg) no-repeat 0 0/100%;
	content: '';
}
.step > div.current {
	background: #b22222;
}
.required {
	color: #b22222;
	font-size: 14px;
	font-weight: bold;
	margin-left: 10px;
}
.button input {
	display: inline-block;
	width: 300px;
	margin: 0 auto;
	padding: 15px 50px;
	background: #e7604b;
	border: solid 1px #e7604b;
	border-radius: 10px;
	box-shadow: 6px 6px 8px rgb(0 0 0 / 15%);
	color: #fff;
	font-size: 18px;
	font-weight: bold;
}
.button input:hover {
	cursor: pointer;
	opacity: 0.7;
}
.button {
	color: #fff;
	display: block;
	position: relative;
	line-height: 2.8em;
	width: 300px;
	margin: 25px auto;
}
.button::after {
	transition: 0.3s;
	content: "";
	width: .6em;
	height: .6em;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0.75em;
	margin: auto;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.button input.prev {
	background: #606060;
	border: solid 1px #606060;
}
.back::after {
	-webkit-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	transform: rotate(-135deg);
	left: -15.75em;
}
@media only screen and (max-width: 886px) {
	.main h1 {
		font-size: 25px;
	}
	.step {
		margin: 15px -1.33333vw 30px;
		font-size: 3.2vw;
		line-height: 4.26667vw;
	}
	.step > div {
		width: 16vw;
		height: 16vw;
	}
	.step > div + div {
		margin-left: 7.33333vw;
	}
	.step > div + div:before {
		left: -4.26667vw;
		width: 1.86667vw;
		height: 2.4vw;
	}
	.button {
		margin-top: 25px;
	}
}


/*==========================================
 form
===========================================*/
.form {
	max-width: 800px;
	margin: 0 auto;
}
.form dl {
	display: table;
	width: 100%;
	margin-top: 10px;
	border: solid 2px #ccc;
	text-align: left;
}
.form dl dt {
	display: table-cell;
	vertical-align: top;
	width: 200px;
	font-size: 14px;
	font-weight: bold;
	padding: 1rem;
	background-color: #eee;
}
.form dl dd {
	display: table-cell;
	width: 600px;
	padding: 1rem 1.5rem;
}
.form dl dd input[type='text'],
.form dl dd input[type='number'],
.form dl dd select,
.form dl dd textarea {
	width: 200px;
	height: 35px;
	padding: 5px;
	border: solid 1px #aaa;
	border-radius: 5px;
	/* font: inherit; */
}
.form dl dd input.max,
.form dl dd select.max {
	width: 100%;
}
.form dl dd input.half {
	width: 50%;
}
.form dl dd input.min,
.form dl dd select.min {
	width: 100px;
}
.form dl dd textarea {
	width: 100%;
	height: 200px;
}
.form dl#transfer dd .block {
	display: flex;
	align-items: center;
	padding: 5px 0 10px;
}
.form .note {
	margin-bottom: 10px;
}
.form .note a {
	text-decoration: underline;
}
.form dl#transfer dd .block input[type='button'] {
	background: #fff;
	border: solid 1px #aaa;
	border-radius: 5px;
	padding: 5px 10px;
	margin: 0 10px;
	cursor: pointer;
}
.form dl#transfer dd .block .readonly {
	border: none;
}
.form dl#transfer dd .note {
	width: 100%;
	font-size: 14px;
}
.form #terms_service {
	margin: 10px 0 20px 0;
	/*border: solid 2px #ccc;*/
}
.form #terms_service h3 {
	padding: 10px 10px 7px;
	border-bottom: solid 1px #ccc;
	font-size: 1.2rem;
	text-align: left;
}
.form #terms_service div {
	padding: 10px 10px 7px;
	/*border-top: solid 1px #ccc;*/
	font-weight: bold;
}
.form #terms_service div a {
	color: #b22222;
	text-decoration: underline;
}
@media only screen and (max-width: 886px) {
	.form dl {
		display: block;
	}
	.form dl dt,
	.form dl dd {
		display: block;
		width: 100%;
	}
	.form dl dd {
		padding: 1rem;
	}
	.form dl dd input[type='text'] {
		width: 100%;
	}
	.form dl dd input.min {
		width: 40%;
	}
	.form dl#birthday dd select {
		width: 68px;
		font-size: 14px;
	}
	.form dl dd textarea {
		height: 250px;
	}
	.form dl#transfer dd .block .readonly {
		width: 45%;
	}
	.form dl#transfer dd .note {
		font-size: 12px;
	}
}


/*==========================================
 completion
===========================================*/
.completion .order_number {
	width: 70%;
	margin: 50px auto 25px;
	padding: 40px;
	font-size: 30px;
	font-weight: bold;
	background: #eee;
}
.completion h3 {
	font-size: 22px;
}
.completion .note p {
	padding: 5px 0;
}
@media only screen and (max-width: 886px) {
	.completion .order_number {
		width: 90%;
		margin: 25px auto;
		padding: 30px;
		font-size: 5.2vw;
	}
	.completion .note {
		width: 90%;
		margin: 0 auto;
	}
	.completion h3 {
		font-size: 17px;
	}
	.completion .note p {
		font-size: 14px;
	}
}


/*==========================================
 modal
===========================================*/
.modal {
	height: 100vh;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 100000;
}
.modal .modal_back {
	background: rgba(0, 0, 0, 0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.select_block {
	position: absolute;
	background: #fff;
}
.select_block .title {
	font-size: 0.9rem;
	font-weight: 300;
	text-align: left;
}
.select_block .icon-close {
	display: block;
	position: absolute;
	top: 10px;
	right: 15px;
	width: 32px;
	/*height: 16px;*/
	padding: 5px;
	cursor: pointer;
}
.select_block .icon-close img {
	width: 100%;
}
.select_block .select_row {
	max-width: 790px;
	overflow-y: auto;
	text-align: left;
}
@media only screen and (min-width: 768px) {
	.select_block {
		box-sizing: border-box;
		width: auto;
		min-width: 830px;
		min-height: 380px;
		height: auto !important;
		margin: auto;
		padding: 20px;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		overflow-y: auto;
	}
	.select_block .title {
		margin-bottom: 5px;
	}
	.select_block .select_row {
		display: flex;
		justify-content: space-between;
	}
	.select_block .select_row > li span {
		display: none;
	}
	.select_block .select_row > li .detail-text li {
		font-size: 1.4rem;
		font-weight: 300;
		line-height: 1;
		border: solid 1px #dadada;
		border-radius: 4px;
		background: #eee;
		padding: 6px 3px 4px;
		margin: 0 5px 5px 0;
		width: 50px;
		box-sizing: border-box;
		text-align: center;
		cursor: pointer;
	}
	.select_block .select_row > li.row_11 {
		margin-left: 10px;
	}
	.select_block .select_row > li.row_11 .detail-text {
		display: flex;
		flex-wrap: wrap;
		width: 165px;
	}
	.select_block #list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		max-height: 400px;
		height: auto;
	}
	.select_block #list > li {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 0.8rem;
		font-weight: 300;
		line-height: 1.4;
		border: solid 1px #dadada;
		border-radius: 4px;
		background: #eee;
		padding: 0.4rem 0.8rem;
		margin: 0 1% 2%;
		width: 30%;
		min-height: 62px;
		height: auto;
		box-sizing: border-box;
		text-align: center;
		cursor: pointer;
	}
}
@media only screen and (max-width: 767px) {
	.select_block {
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		overflow-y: scroll;
	}
	.select_block .title {
		padding: 15px;
	}
	.select_block .select_row {
		height: calc(100vh - 50px);
		padding-bottom: 100px;
		overflow: scroll;
	}
	.select_block .select_row > li span {
		font-size: 0.9rem;
		line-height: 1;
		padding: 20px 20px 20px calc(60px - 1em);
		border-top: solid 1px #dadada;
		display: block;
		position: relative;
	}
	.select_block .select_row > li span:after {
		display: block;
		position: absolute;
		top: 50%;
		right: 1.2em;
		width: 0.5em;
		height: 0.5em;
		border-right: 1px solid #000;
		border-bottom: 1px solid #000;
		content: '';
		transform: translateY(-50%) rotate(45deg);
	}
	.select_block .js_AccCont {
		display: none;
	}
	.select_block .select_row > li .detail-text li,
	.select_block #list > li {
		font-size: 0.9rem;
		font-weight: 600;
		line-height: 1;
		width: 100%;
		padding: 20px 10px 20px 60px;
		box-sizing: border-box;
		border-top: solid 1px #dadada;
		cursor: pointer;
	}
	.select_block #list > li {
		padding-left: calc(60px - 1em);
	}
}


