@charset "UTF-8";

#product #item-contents-purchase .item-code {
	display: block;
}

#product .item-detail {
	margin: 15px auto 15px;
}

#product .item-detail {
	text-align: left;
	font-size: 14px;
}

body.product .item-detail tr.age-restriction {
        display: none;
}

#product .item-detail caption {
	text-align: left;
	font-size: 18px;
	font-weight: 500;
}

#product .item-detail tr th {
	font-weight: normal;
}

#product .item-image-subs {
width: 100%;
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

#product .item-image-sub {
    width: 100px;
}

#product .item-image-sub .item-thumbnail-img {
    width: 100px;
    height: 100px;
}

#product #item-purchase-table {
	margin: 0 auto;
	max-width: 1030px;
	padding-inline: 15px;
}
#product #item-purchase-table table.item-purchase-table td.summary div.summary-txt {
	padding: 0;
}

@media only screen and (min-width: 801px) {
	#product #item-contents-main{
		margin: 0 auto;
		max-width: 1030px;
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		gap: min(5.71428571vw, 50px);
		padding-inline: 15px;
	}
	#product #item-contents-image {
		width: 444px;
	}
    #product .item-image-main {
        width: 444px;
        max-height: 444px;
    }
    #product div.item-thumbnail-img-lg {
        width: 444px;
        height: 444px;
    }
}



@media only screen and (max-width: 800px) {
	#product #item-contents-purchase .item-name.product-name {
		font-size: 20px;
	    line-height: 1.45;
		padding: 0 0 3px 0;
	}
	#product #item-contents-main{
		padding-inline: 12px;
	}
	#product #item-contents-main {
		display: block;
	}
	#product #item-contents-image {
		margin-bottom: 30px;
	}
	#product .item-image-main {
		width: 100%;
		max-height: none;
	}
	#product .item-image-subs {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
		display: grid;
	}
	#product .item-image-sub {
		width: 100%;
		height: 100%;
		margin: 0;
	}
	#product .item-image-sub .item-thumbnail-img {
		width: 100%;
		height: 100%;
	}
}

/*表*/

#product table.item-purchase-table td {
    border: none;
    padding: 0;
}

#product table.item-purchase-table th {
    border-top: none;
    border-right: 5px solid #fff;
    border-left: none;
    border-bottom: none;
    padding: 5px;
    white-space: nowrap;
    background-color: #d6ede2;
	color: #00ac5a;
}

#product table.item-purchase-table th:last-child {
    border: none;
}

#product table.item-purchase-table .main {
	padding: 30px 0 30px 0;
}

#product table.item-purchase-table tbody tr {
    border-bottom: 3px solid #d6ede2;
}

#product table .selling-price,
#product table .final-price {
	font-size: 20px;
	font-weight: 500;
	color: #1d1d1b;
}
#product .selling-price .price, #product .final-price .price {
	color: #1d1d1b;
}
#product .points {
	background-color: #00ac5a;
	border-radius: 2px;
	font-size: 12px;
	line-height: 1.41666667;
	margin-top: 3px;
	padding: 1px;
	display: inline-flex;
}
#product .points span {
	color: #fff;
	padding: 0 4px 1px 6px;	
}
#product .points span.points-to-grant,
#product .points span.points-to-grant-effective {
	color: #00ac5a;
	background: #fff;
}

#product .item-qty-label {
    margin-right: 5px;
    vertical-align: super;
}

#product .qty.item-qty {
	width: 80px;
    appearance: none;
    background: #F6F6F6 url("https://deagostini.jp/f/resources/images/packtoy/list/icon_arrow_under_bg_white.svg") no-repeat;
    background-position: right 10px center;
    background-size: 24px;
    border: 0;
    color: #1D1D1B;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    height: 50px;
    line-height: normal;
    padding-inline: 10px 29px;
    display: inline-flex;
    align-items: center;
}

#product table.item-purchase-table td.purchase button.btn {
	background: #00ac5a;
    min-width: 178px;
    height: 50px;
    padding: 0 19px 0 47px;
    color: #fff!important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.33333333;
    position: relative;
}

#product .text-contents.item-contents-exp {
    text-align: center;
    font-size: 14px;
}

#product table.item-purchase-table td.purchase button.btn::before {
	content: "";
    background: url(https://deagostini.jp/f/resources/images/packtoy/list/icon_cart.svg) center / contain no-repeat;
    display: inline-block;
    width: 17px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: auto;
    left: -webkit-calc(50% - 66px);
    left: calc(50% - 66px);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media only screen and (max-width: 800px) {
	#product table.item-purchase-table tbody tr {
		/*border-bottom: none;*/
	}
	#product table.item-purchase-table tbody tr {
		border-top: 3px solid #d6ede2;
	}
	#product div#item-purchase-table table.item-purchase-table tr {
		/*border-top: none;*/
	}
	#product div#item-purchase-table table.item-purchase-table td {
		text-align: center;
	}

	#product table.item-purchase-table td.purchase button.btn {
		width: 100%;
	}
	#product table.item-purchase-table .item-qty,
	#product table.item-purchase-table .item-qty-item {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#product .qty.item-qty {
		font-size: 16px;
        height: 35px;
        width: 84px;
	}
	#product div.btn-group {
		padding: 10px 0 0;
	}
}

/* プロモーション価格関連表示 暫定対応 Start */

/* カート画面・パートワーク商品 単価非表示・文言挿入のみ */
body#cart .itemdetails-cart.pwk-exclusive .itemdetails-body .item .unit-price .applied-promotions::before {
  margin-left: 5px;
  content: "※表示価格は割引適用済み";
  display: block;
}

/* 決済方法選択 単価は非表示・文言挿入のみ */
body#order__payment .itemdetails-entriyitem .item .unit-price .applied-promotions::after {
  margin-left: 5px;
  content: "※表示価格は割引適用済み";
}

body#order__payment .itemdetails-entriyitem .item .unit-price .price {
  display: none;
}

/* 注文確認画面 単価は非表示・文言挿入のみ */
body#order__confirm .itemdetails-entriyitem:has(.partwork-subscription) .itemdetails-body .goods .goods-text > .unit-price .applied-promotions:before {
  margin-left: 5px;
  content: "※表示価格は割引適用済み";
  display: block;
}

/* 注文確認画面お届け予定モーダル 単価は非表示・文言挿入のみ */
body#order__confirm .partwork-subscription .price .special-price::after {
    margin-left: 5px;
    content: "※表示価格は割引適用済み";
    color: #333;
}

/* 注文詳細 applied-promotionsだけに文言挿入 */
body#account__order .itemdetails-body .item .unit-price::after {
  display: none;  
}

body#account__order .itemdetails-body .item .unit-price .applied-promotions::before {
  margin-left: 5px;
  content: "※表示価格は割引適用済み";
  display: block;
}

/* パートワーク購読詳細 applied-promotionsだけに文言挿入 */
body#account__view_partwork_subscription .issues .price .special-price::after {
    margin-left: 5px;
    content: "※表示価格は割引適用済み";
    color: #333;
}

/* プロモーション価格関連表示 暫定対応 End */
