/*メインコンテンツ*/
#main {
    max-width: 1150px;
    width: 100%;
    margin: auto;
}
.details-content {
    width: 80%;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 4rem;
    display: flex;
}

.details-left, .details-right {
    width: 50%;
}
.details-left {
    margin-right: 4rem;
}

/*レフトコンテンツ画像設定*/
.dl-mainimg {
    margin-bottom: 1rem;
}
.dl-subimg {
    display: flex;
}
.dl-subpic {
    margin-right: 1rem;
}
.sub-pic {
    opacity: 0.7;
}
.sub-pic:hover {
    opacity: 1;
}

/*ライトコンテンツ設定*/
.details-title {
    margin-bottom: 3rem;
}
.details-title h2 {
    font-weight: bold;
    font-size: 32px;
    color: #525263;
}
.details-price, .details-quantity {
    margin-bottom: 2rem;
}
.dr-tax, .dr-tax2 {
    color: #525263;
}
.dr-tax {
    font-size: 10px;
}
.details-price p {
    color: #DE5D50;
    font-size: 28px;
    font-weight: bold;
}
.dr-tax2 {
    font-size: 16px;
}

.select-item {
	margin-bottom: 1rem;
	position: relative;
}
.select-item select {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 0.7rem 1rem;
	background-color: #f8f8f8;
}

.select-item:after {
	content: '';
	width: 10px;
	height: 10px;
	border: 0;
	border-top: solid 2px #333;
	border-right: solid 2px #333;
	transform: rotate(135deg);
	position: absolute;
	top: 50%;
	right: 1rem;
	margin-top: -7px;
	pointer-events: none;
}

.detail-error {
	color: red;
	font-weight: bold;
}

.detail__category--box::before {
	position: relative;
    top: -0.2em;
    left: 50%;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}
.detailspecificationSelect {
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 0.5rem 1rem;
	margin-bottom: 2rem;
	width: 220px;
}

.standard {
	position: relative;
}
.standard::before {
	position: absolute;
    top: 0.9em;
    left: 12em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666666;
    pointer-events: none;
}

.details-quantity {
    align-items: center;
}
.quantity {
    border-radius: 20px;
    border: 1px solid black;
    margin-left: 20px;
    display: inline-block;
    width: auto;
    max-width: 100px;
    text-align: right;
    padding: 0.5rem;
}
.dott-bottom {
    display: none;
}

/*ボタンエリア*/
.d-btn {
    text-align: center;
}
.d-btn a {
    display: block;
    color: white;
    padding: 1rem 0rem;
}
.cart-btn {
    margin: 1rem 0;
}
.cart-btn a {
    background-color: #0071b3;
}
.favorit-btn {
    margin-bottom: 1rem;
    background-color: #525263;
}
.favorit-btn a:hover {
    background-color: #3b3b47;
}

/*商品コンテンツ*/
.details-details {
    line-height: 1.5rem;
}
.details-details h4 {
    font-weight: bold;
}

/* Chrome, Safari 対応 */
.ec-modal::-webkit-scrollbar
	{
	display: none;
}


@media screen and (max-width:460px) {
    /*レスポンシブメインコンテンツ*/
    .details-content {
        width: 90%;
        margin-top: 1rem;
        display: block;
    }
    .dl-subimg {
        display: none;
    }
    .details-left, .details-right {
        width: 100%;
    }
    .details-left {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    .details-title {
        margin-bottom: 2rem;
    }
    .details-title h2 {
        font-size: 20px;
        font-weight: normal;
    }
    .dott-bottom {
        display: block;
        border-bottom: 1px dotted #ccc;
        margin-bottom: 1rem;
    }
    .details-price p {
        font-size: 18px;
    }
    .dr-tax2 {
        font-size: 12px;
        color: #DE5D50;
    }
    .quantity {
        border-radius: 3px;
        border: 1px solid #ccc;
    }
    .details-details h4 {
        font-weight: normal;
    }
    
    .d-right-inner form::before {
    	left: 10.5em;
    }
}