@charset "utf-8";
/* CSS Document */
#top-cart {
	margin-top: 10px;
	width: 948px;
	margin: auto;
	display: flex;
	position: relative;
	justify-content: space-between;
}
#top-cart > li {
	width: calc(50% - 5px);
	min-height: 20px;
	box-sizing:border-box;
	border: 1px solid #999;
}
#top-cart > li > h2 {
	position: relative;
	background-color: black;
	height: 36px;
}
#top-cart > li > h2 > img {
	max-height: 23px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 80px;
	margin: auto;
}
#cart-normal > h2 > img {
	max-width: 72px;
}
#cart-upgrade > h2 > img {
	max-width:  303px;
}
#top-cart .description {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
#top-cart .description figure {
	display: block;
	position: relative;
	width: 80px;
	height: 80px;
	margin-top: -36px;
}
#top-cart .description figure img {
	display: block;
	width: calc(100% - 30px);
	height: calc(100% - 10px);
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
#top-cart .description p {
	width: calc(100% - 80px);
	padding: 5px 0;
	min-height: 3em;
}
#top-cart .cart {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin: auto;
	padding: 10px 0;
}
#side-cart .cart {
    border: 1px solid #ababab;
    box-sizing:border-box;
    padding: 8px 16px;
    background-color: #fff;
    margin-bottom: 8px;
}
#side-cart .cart header {
    display: flex;
    margin-bottom: 8px;
}
#side-cart .cart header img{
    display: block;
    width: 70px;
    height: 70px;
}
#side-cart .cart header h1{
    width: calc(100% - 70px);
    font-size: 14px;
}

#top-cart .cart .cart-item {
	width: 50%;
	box-sizing:border-box;
	padding: 0 30px;
	text-align: center;
}
#side-cart .cart .cart-item {
    text-align: center;
}
#side-cart .cart .cart-item + .cart-item {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #ababab;
}
#side-cart .cart .cart-item h3
, #top-cart .cart .cart-item h3 {
    font-size: 14px;
    font-weight: normal;
}
#side-cart .cart .cart-item h3::before
, #side-cart .cart .cart-item h3::after
, #top-cart .cart .cart-item h3::before
, #top-cart .cart .cart-item h3::after {
    display: block;
    text-align: center;
}
#side-cart .cart .cart-item h3::before
, #top-cart .cart .cart-item h3::before {
	font-size: 12px;
}
#top-cart .cart .cart-item.download h3::before {
	content: "今すぐ使える";
}
#top-cart .cart .cart-item.delivery h3::before {
	content: "送料無料";
}
#side-cart .cart .cart-item.download h3::after
, #top-cart .cart .cart-item.download h3::after {
	content: "ダウンロード版";
}
#side-cart .cart .cart-item.delivery h3::after
, #top-cart .cart .cart-item.delivery h3::after {
	content: "パッケージ版";
}
#side-cart .cart .cart-item .price
, #top-cart .cart .cart-item .price {
	position: relative;
	font-size: 16px;
}
#side-cart .cart .cart-item .price::after
, #top-cart .cart .cart-item .price::after {
	content: "円（税抜）"
}
#side-cart .cart .cart-item .baseprice
, #top-cart .cart .cart-item .baseprice {
	color: #999;
}
#side-cart .cart .cart-item .baseprice::before
, #top-cart .cart .cart-item .baseprice::before {
	content: "↓";
	color: #000;
	position: absolute;
	right: 1em;
	top: .5em;
}
#side-cart .cart .cart-item.isSpecial .price
, #top-cart .cart .cart-item.isSpecial .price {
	color: #b00;
}
#side-cart .cart .cart-item.isSpecial .baseprice
, #top-cart .cart .cart-item.isSpecial .baseprice {
	text-decoration: line-through;
	color: #999;
}
#side-cart .cart .cart-item .btn
, #top-cart .cart .cart-item .btn {
	margin-top: 10px;
}
#top-cart .cart-item + .cart-item {
	border-left: 1px solid #999;
}
.btn span {
    display: block;
    position: relative;
    padding-left: 28px;
}
.btn a {
    font-size: 1.6rem;
}
.download .btn span {
    padding-left: 35px;
}
.delivery .btn span {
    padding-left: 34px;
}
.discontinued .btn span {
    padding-left: 0;
}
.btn span::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
}
.download .btn span::after {
    width: 25px;
    height: 23px;
    background: url(/common_v2/img/bg_icon_btn.png) no-repeat 0 0;
    background-position: 0 -59px;
    margin-top: -11.5px;
}
.delivery .btn span::after {
    width: 24px;
    height: 21px;
    background: url(/common_v2/img/bg_icon_btn.png) no-repeat 0 0;
    background-position: 0 -38px;
    margin-top: -10.5px;
}
.discontinued .btn span::after {
	display: none;
}
.discontinued .btn {
	background-color: #767676;
}
.discontinued .btn a {
	background-color: #767676;
	cursor: default;
}

@media screen and (max-width: 767px) {
	#top-cart {
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-around;
	}
	#top-cart > li {
		width: calc(100% - 10px);
		margin-bottom: 10px;
	}
	#top-cart .cart {
		flex-direction: row;
		flex-wrap: wrap;
	}
	#top-cart .cart .cart-item {
		width: 100%;
		margin-bottom: 10px;
	}
	.cart-item + .cart-item {
		border-left: none;
	}
	#top-cart .cart .cart-item .price {
		width: 12em;
		margin: auto;
	}
}
@media screen and (max-width: 414px) {
	#top-cart > li > h2 > img {
		left:0;
		right: 0;
		max-width: 100%;
	}
	#top-cart .description figure {
		margin-top: 0;
	}
}
