.histories {
	color: #3c1f09;
	margin-top: 20px;
}

.histories thead {
	background: #f0f0f0;
}

.histories thead th.w60 {
	width: 70%;
}

.histories thead th.w40 {
	width: 30%;
}

.histories thead th {
	padding: 10px 10px;
	text-align: center;
	white-space: nowrap;
}

.histories tbody {
	border-bottom: 1px solid #cccccc;
	padding: 10px 0px;
}

.histories tbody td {
	padding: 10px 10px 10px 10px;
	vertical-align: top;
}

.historieslist tbody td.address {
}

.histories tbody td.price {
	text-align: right;
	white-space: nowrap;
}

.histories tbody td.quantity {
	text-align: right;
	white-space: nowrap;
}

.histories tbody td.subtotal {
	text-align: right;
	white-space: nowrap;
}

.histories tbody td.total {
	text-align: right;
	white-space: nowrap;
}

.histories tbody td.id a {
	color: #3c1f09;
	white-space: nowrap;
}

.histories tbody td.product a .productName {
	color: #3c1f09;
	text-align: left;
}

.histories tbody td.product a .other {
	margin-top: 10px;
	text-align: right;
}

.histories tbody td .action {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 0px 10px 10px;
	white-space: nowrap;
}

.histories tbody td .action a {
	border: 2px solid #ffaa65;
	color: #3c1f09;
	display: block;
	padding: 10px 20px;
	text-align: center;
}

.histories tbody td .action .disabled {
	border: 2px solid #cccccc;
	color: #999999;
	display: block;
	padding: 10px 20px;
	text-align: center;
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
	.histories tbody {
		position: relative;
	}

	.histories tbody td {
		padding-bottom: 70px;
	}

	.histories tbody td .action {
		bottom: 0;
		flex-direction: row;
		justify-content: flex-end;
		left: 0;
		position: absolute;
		width: 100%;
	}
}

.M004.cancel .error_message,
.M004.broken .error_message {
	margin-bottom: 10px;
    font-size: 108%;
    color: #cf0707;
    line-height: 1.714;
}

.M004.cancel h3,
.M004.broken h3 {
	border-bottom: 1px solid #d3ccc3;
	color: #3c1f09;
	font-size: 140%;
	margin: 20px 0 10px;
	text-align: left;
}

.M004.cancel .collects dl {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}

.M004.cancel .collects {
	margin-bottom: 20px;
}

.M004.cancel .collects dl dt {
	margin: 0px 20px;
	white-space: nowrap;
}

.M004.cancel .collects dl dt:first-child {
	margin: 0px 20px 0px 0px;
}

.M004.broken .items {
	margin-bottom: 20px;
}

.M004.broken .items li {
	margin-bottom: 10px;
}

.M004.broken .items li label {
	align-items: flex-start;
	display: flex;
	gap: 6px;
}

.M004.broken .items li label input {
	margin: 6px;
}

.M004.broken .detail {
	padding-top: 10px;
	margin-bottom: 20px;
}

.M004.broken .detail textarea {
	border: 1px solid #d3ccc3;
	height: 100px;
	width: 100%;
}

@media screen and (max-width: 768px) {
	.M004.cancel .collects dl,
	.M004.broken .collects dl {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 10px;
	}

	.M004.cancel .collects dl dt,
	.M004.broken .collects dl dt {
		margin: 0px;
	}

	.M004.cancel .collects dl dd,
	.M004.broken .collects dl dd {
		margin-bottom: 10px;
	}
}

.M004.cancel .btnBox,
.M004.broken .btnBox {
	display: flex;
	gap: 20px;
	justify-content: center;
}

@media screen and (max-width: 768px) {
	.M004.cancel .btnBox,
	.M004.broken .btnBox {
		flex-direction: column;
	}
}

.M004.cancel .btnBox a,
.M004.broken .btnBox a {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	text-align: center;
	text-indent: 1em;
	height: 54px;
	line-height: 54px;
	font-size: 138.5%;
}

.M004.cancel .btnBox a:hover,
.M004.broken .btnBox a:hover {
	cursor: pointer;
	filter: alpha(opacity=70);
	opacity: .7;
	-ms-filter: "alpha(opacity=70)";
	-moz-opacity: .7;
	-khtml-opacity: .7;
}

.M004.cancel .btnBox .back,
.M004.broken .btnBox .back {
	float: left;
	color: #3c1f09;
	width: 298px;
	border: 1px solid #dcdcdc;
	background: #fff url(/assets/img/green_arrow02.png)no-repeat 50px center;
}

.M004.cancel .btnBox .send,
.M004.broken .btnBox .send {
	float: right;
	color: #fff;
	border: 1px solid #ffaa65;
	width: 298px;
	background: #ffaa65 url(/assets/img/white_arrow.png)no-repeat 50px center;
}

@media screen and (min-width: 769px) {
	.N002 {
		width: auto;
	}

	.mynavi_list.clearfix {
		display: flex;
		justify-content: center;
	}
}

.histories tbody.statement td {
	padding: 5px 1em;
	text-align: right;
}

.top_contents .conteInner {
	width: auto;
}

#History .summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
}

#History .action {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 30px 0px 10px 10px;
	white-space: nowrap;
}

#History .action a {
	border: 2px solid #ffaa65;
	color: #3c1f09;
	display: block;
	padding: 10px 20px;
	text-align: center;
	width: 20%;
}

@media screen and (max-width: 768px) {
	#History .action a {
		width: 100%;
	}
}

.pagenumber_area {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 30px auto;
}

.pagenumber_area strong {
	align-items: center;
	background: #ffaa65;
	border: 2px solid #ffaa65;
	color: #ffffff;
	display: flex;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.pagenumber_area a {
	align-items: center;
	border: 2px solid #ffaa65;
	color: #3c1f09;
	display: flex;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.pagenumber_area a:first-child {
	border: none;
	width: auto;
}

.pagenumber_area a:last-child {
	border: none;
	width: auto;
}

@media screen and (min-width: 769px) {
	.top_contents {
		min-width: auto;
	}
}

@media screen and (max-width: 768px) {
	.histories {
	}

	.histories thead {
		display: none;
	}

	.histories tbody {
		display: block;
	}

	.histories tr {
		display: block;
	}

	.histories tbody td {
		display: block;
		padding: 10px 1em;
		text-align: left !important;
	}

	.histories td::before {
		display: block;
		text-indent: -1em;
	}

	.histories.list td:nth-child(2)::before {
		content: "■レンタル商品";
	}

	.histories.list td:nth-child(3)::before {
		content: "■支払方法";
	}

	.histories.list td:nth-child(4)::before {
		content: "■合計金額";
	}

	.histories.list td:nth-child(5)::before {
		content: "■お届け先";
	}

	.histories.detail .item td:nth-child(1)::before {
		content: "■商品コード";
	}

	.histories.detail .item td:nth-child(2)::before {
		content: "■レンタル商品";
	}

	.histories.detail .item td:nth-child(3)::before {
		content: "■単価";
	}

	.histories.detail .item td:nth-child(4)::before {
		content: "■数量";
	}

	.histories.detail .item td:nth-child(5)::before {
		content: "■小計";
	}

	.histories.detail .statement td:not(:last-child) {
		display: none;
	}

	.histories.detail .statement tr:nth-child(1) td::before {
		content: "■小計";
	}

	.histories.detail .statement tr:nth-child(2) td::before {
		content: "■送料";
	}

	.histories.detail .statement tr:nth-child(3) td::before {
		content: "■合計";
	}
}