@charset "utf-8";

/*---- cart_table ---*/
#cart_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}
#cart_table th {
	padding: 5px 0;
	font-size: 1.2rem;
	font-weight: normal;
	background-color: #ffffff;
	border-top: 1px solid #cdcdcd;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
	text-align: center;
}
#cart_table td {
	padding: 15px;
	font-size: 1.4rem;
	border-top: 1px solid #cdcdcd;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
	text-align: center;
	vertical-align: middle;
}
#cart_table .aleft {
	/*text-align: left;*/
}
#cart_table .aright {
	/*text-align: right;*/
}
#cart_table td.productname {
	text-align: left;
}
#cart_table .amount {
	font-size: 1.4rem;
	padding: 10px 0 10px 10px;
}
#cart_table .unitprice {
	text-align: center;
}
#cart_table .subtotal {
	white-space: nowrap;
	text-align: center;
}
#cart_table em.tax {
	font-style: normal;
}
#cart_table .num,
#cart_table .thumbnail,
#cart_table .stock {
	display: none;
}
#cart_table .thumbnail img {
	height: auto;
}
#cart_table .quantity {
	width: 100px;
	text-align: center;
}
#cart_table .quantity input {
	width: 50px;
	padding: 2px 5px;
	font-size: 1.4rem;
	background: #ffffff;
	border: 1px solid #aaa;
	text-align: center;
	box-shadow: none;
}
#cart .action {
	width: 40px;
	text-align: center;
	white-space: nowrap;
}
#cart .action input.delButton {
	box-sizing: border-box;
	display: block;
	margin: 0 0 0 auto;
	padding: 4px 20px;
}

#cart_table tfoot th {
	font-size: 1.4rem;
	/*text-align: right;*/
	text-align: center;
}
#cart_table tfoot .action {
	display: none;
}

.at-usces-confirm #cart_table {
	margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
	
	/*#cart_table .stock {
		display: table-cell;
		white-space: nowrap;
	}*/

	#cart_table .num,
	#cart_table .thumbnail {
		display: table-cell;
	}
	#cart_table td.num {
		padding: 60px 20px;
	}


}/* @media screen and (min-width: 768px) */

@media screen and (max-width: 767px) {

	/*body {
		font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	}*/

	table#cart_table {
		border-top: 0;
	}
	table#cart_table tr {
		font-size: 0;
	}
	table#cart_table th,
	table#cart_table td {
		box-sizing: border-box;
		display: inline-block;
		border-top: 0;
	}
	table#cart_table th,
	table#cart_table td {
		border-bottom: 1px solid #cdcdcd;
	}
	table#cart_table th:nth-child(1),
	table#cart_table td:nth-child(1),
	table#cart_table th:nth-child(2),
	table#cart_table td:nth-child(2) {
		display: none;
	}
	table#cart_table td:nth-child(2) {
		display: inline-block;
		width: 20%;
		margin: 10px auto 5px;
		padding: 0;
		border-bottom: 0;
	}
	table#cart_table td:nth-child(2) img {
		display: block;
		margin: 0 auto;
		width: 100%;
		height: auto;
	}
	table#cart_table th:nth-child(3) {
		display: block;
		width: 100%;
		padding: 5px 0 5px 10px;
		text-align: left;
	}
	table#cart_table td:nth-child(3) {
		display: inline-block;
		width: 80%;
		padding: 10px;
		border-bottom: 1px dashed #cdcdcd;
		border-bottom: 0;
		vertical-align: middle;
	}
	table#cart_table th:nth-child(4),
	table#cart_table th:nth-child(5),
	table#cart_table th:nth-child(6),
	table#cart_table th:nth-child(7),
	table#cart_table th:nth-child(8){
		display: inline-block;
		width: 20%;
	}
	table#cart_table td:nth-child(4),
	table#cart_table td:nth-child(5),
	table#cart_table td:nth-child(6),
	table#cart_table td:nth-child(7),
	table#cart_table td:nth-child(8) {
		display: inline-block;
		width: 20%;
		height: 54px;
		padding: 8px 0 10px;
		text-align: center;
		vertical-align: middle;
		border-top: 1px dotted #cdcdcd;
	}
	table#cart_table td.unitprice,
	table#cart_table td.subtotal,
	table#cart_table td.stock {
		padding: 14px 0;
	}

	#cart_table td.quantity input {
	min-width: auto!important;
	width: 28px;
	height: 28px;
	border: 1px solid #cdcdcd;
	text-align: center;
}
	table#cart_table tfoot th {
		border-bottom: 0;
	}

	table#cart_table tfoot th.totaltitle,
	table#cart_table tfoot th.totalprice {
		display: inline-block;
		padding: 10px;
		vertical-align: top;
		text-align: right;
	}
	table#cart_table tfoot th.totaltitle {
		/*width: 65%;*/
		width: 80%;
	}
	table#cart_table tfoot th.totalprice {
		/*width: 35%;*/
		width: 20%;
	}
	table#cart_table tfoot th.totaltitle span {
		font-size: 14px;
		line-height: 1.8;
	}
	table#cart_table tfoot th.totalprice span {
		font-size: 16px;
	}
	table#cart_table tfoot th:nth-child(4) {
		display: none;
	}

/* == wc_confirm_page == 767px以下
---------------------------------------*/

	.at-usces-confirm #cart_table {
		margin-bottom: 8%;
	}

	#info-confirm table#cart_table th:last-child,
	#info-confirm table#cart_table td:last-child {
		display: none;
	}

	#info-confirm table#cart_table th:nth-child(4),
	#info-confirm table#cart_table th:nth-child(5),
	#info-confirm table#cart_table th:nth-child(6) {
		display: inline-block;
		width: 33.3%;
	}
	#info-confirm table#cart_table td:nth-child(4),
	#info-confirm table#cart_table td:nth-child(5),
	#info-confirm table#cart_table td:nth-child(6) {
		display: inline-block;
		width: 33.3%;
		/*height: 54px;*/
		height: 42px;
		padding: 10px 0;
		text-align: center;
		vertical-align: middle;
		border-top: 1px dotted #cdcdcd;
	}
	#info-confirm table#cart_table td.subtotal {
		/*text-align: right;*/
		text-align: center;
		padding: 10px 10px 10px 0;
	}

	#info-confirm table#cart_table tfoot th:nth-child(1),
	#info-confirm table#cart_table tfoot td:nth-child(1){
		/*display: inline-block;*/
		width: 30%;
		padding: 8px 0 4px;
		border: none;
	}
	#info-confirm table#cart_table tfoot th:nth-child(1) {
		border-top: 2px solid #000000;
	}

	#info-confirm table#cart_table tfoot th:nth-child(1),
	#info-confirm table#cart_table tfoot td:nth-child(1),
	#info-confirm table#cart_table tfoot th:nth-child(2),
	#info-confirm table#cart_table tfoot td:nth-child(2) {
		display: none;
	}

	#info-confirm table#cart_table tfoot th:nth-child(3),
	#info-confirm table#cart_table tfoot td:nth-child(3) {
		display: inline-block;
		width: 66.6%;
		padding: 8px 15% 4px 0;
		text-align: right;
	}
	#info-confirm table#cart_table tfoot th:nth-child(4),
	#info-confirm table#cart_table tfoot td:nth-child(4){
		display: inline-block;
		width: 33.3%;
		padding: 8px 10px 4px 0;
		text-align: center;
	}

	#info-confirm table#cart_table tfoot tr:nth-child(2) td {
		border-top: 0;
	}
	#info-confirm table#cart_table tfoot tr td {
		border-bottom: 0;
	}

	#info-confirm table#cart_table tfoot tr:last-child th {
		border-top: 1px solid #cdcdcd;
	}
}

@media screen and (max-width: 480px) {
	#cart_table em.tax {
		font-size: 10px!important;
	}
}
