@charset "utf-8";

/* バー式ステップ表示 */
#step_bar_box {
	text-align: center;
	/*overflow: hidden;*/
	margin-bottom: 15px;
}

.step_bar {
	list-style: none;
	margin-left : 0;
	padding-left : 0;
}

.step_bar li {
	line-height: 25px;
	font-size:1.3rem;
	color: #a6a6a6;
	text-decoration: none;
	margin-top: 5px;
	padding: 0 25px 0 60px;
	background: #eee;
	display: inline-block;
}

.step_bar li small {
	font-size: 80%;
}

.step_bar li::after {
	position: relative;
	display: block;
	margin-top: -25px;
	margin-left: auto;
	margin-right: -50px;
	height: 26px;
	width: 30px;
	content: " ";
	-webkit-transform: skew(-30deg);
	-moz-transform: skew(-30deg);
	-ms-transform: skew(-30deg);
	-o-transform: skew(-30deg);
	transform: skew(-30deg);
	background: #eee;
	border-right: 3px solid white;
}

.step_bar li::before {
	float: right;
	display: block;
	margin-bottom: -25px;
	margin-left: auto;
	margin-right: -50px;
	height: 26px;
	width: 30px;
	content: " ";
	-webkit-transform: skew(30deg);
	-moz-transform: skew(30deg);
	-ms-transform: skew(30deg);
	-o-transform: skew(30deg);
	transform: skew(30deg);
	background: #eee;
	border-right: 3px solid white;
}

.step_bar li:first-child {
	padding-left: 45px;
	-webkit-border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	-ms-border-radius: 5px 0 0 5px;
	-o-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;
}

.step_bar li:last-child {
	padding-left: 60px;
	padding-right: 50px;
	-webkit-border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
	-ms-border-radius: 0 5px 5px 0;
	-o-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
}

.step_bar li:last-child::before {
	border: 0;
	background: transparent !important;
}

.step_bar li:last-child::after {
	border: 0;
	background: transparent !important;
}

.step_bar li.current {
	background: #555555;
	color: #FFF;
}

.step_bar li.current::before {
	background: #555555;
}

.step_bar li.current::after {
	background: #555555;
}

/* Sサイズ、タブレット : Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	#step_bar_box {
		font-size: smaller;
	}

	.step_bar li {
		padding: 0 15px 0 35px;
	}

	.step_bar li::after {
		margin-right: -30px;
		width: 25px;
	}

	.step_bar li::before {
		margin-right: -30px;
		width: 25px;
	}

	.step_bar li:first-child {
		padding-left: 25px;
	}

	.step_bar li:last-child {
		padding-left: 30px;
		padding-right: 30px;
	}
}

/* スマートフォン : iphoneなど */
@media only screen and (-webkit-min-device-pixel-ratio:3) {
	.step_bar li {
		font-size:1.1rem;
	}
	.step_bar li {
		padding: 0 15px 0 20px;
	}

	.step_bar li::after {
		margin-right: -25px;
		width: 18px;
	}
	.step_bar li::before {
		margin-right: -25px;
		width: 18px;
	}
	.step_bar li:first-child {
		padding: 0 15px 0 20px;
	}

	.step_bar li:last-child {
		padding-left: 22px;
		padding-right: 15px;
	}
}