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

/*メインコンテンツナビ*/
.pan-area {
    border-bottom: 1px solid #CCCCCC;
    padding: 0.5rem 0;
}
.pan-area ul li {
    padding: 0 10px;
}
.pan-area ul li a {
    color: #0092C4;
}

/*検索ボックスエリア*/
.search-area {
    margin-top: 1rem;
    align-items: center;
    display: flex;
}
.search-box {
    margin-left: auto;
}
.big-p {
    font-weight: bold;
}

/*件数選択ボックス*/
.ls_ipselect, .ls_sl1 select, .ls_ipselect2, .ls_sl2 select {
    padding: 8px 0 8px 8px;
}
.ls_ipselect {
    overflow: hidden;
    width: 100px;
    text-align: center;
    margin-right: 1rem;
}
.ls_ipselect.ls_sl1, .ls_ipselect2.ls_sl2 {
    position: relative;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
    background: #ffffff;
    padding: 0 8px;
}
.ls_ipselect.ls_sl1::before, .ls_ipselect2.ls_sl2::before {
    position: absolute;
    top: 0.9em;
    right: 0.9em;
    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;
}
.ls_ipselect select, .ls_ipselect2 select {
    width: 100%;
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.ls_ipselect2 {/*カテゴリー選択ボックス*/
    overflow: hidden;
    width: 160px;
    text-align: center;
    margin-right: 1rem;
}

/*商品アイテム*/
.list-block {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    gap: 1rem;
    justify-content: center;
}
.list-area {
    margin-top: 2rem;
}
.list-item {
    padding: 1rem;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    position: relative;
}
.list-title {
    color: #525263;
    margin: 1rem 0;
}
.list-recommend {
	margin-bottom: 1rem;
}
.list-price {
    color: red;
    margin-bottom: 1rem;
    font-weight: bold;
}
.cart-btn {
    text-align: center;
    margin-top: auto;
    padding-top: 2rem;
}
.cart-btn a {
    padding: 1rem 0;
    background-color: #0071b3;
    color: white;
    display: block;
}
.l-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;
}

.list-item form select {
	margin: 1rem 0;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 100%;
	cursor: pointer;
}
.list-item form {
	position: relative;
}

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

.standard {
	position: relative;
}
.standard::before {
	position: absolute;
    top: 2em;
    right: 1em;
    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;
}

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

@media screen and (max-width:460px) {
    /*スマホメインコンテンツ*/
    .list-content {/*全体的な横幅設定*/
        width: 100%;
        margin-top: 0;
    }
    .list-area {
        width: 90%;
        margin: auto;
    }

    /*表示設定エリア*/
    .pan-area {
        border-top: 1px solid #CCCCCC;
    }
    .search-area {
        display: block;
        margin-bottom: 1.5rem;
    }
    .search-area p {
        margin-left: 1rem;
    }
    .search-box {
        justify-content: flex-end;
        margin-top: 1rem;
    }
    .ls_ipselect {
        margin-right: 0.5rem;
    }

    .list-block {/*本日の特売＆本日のおすすめ*/
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 0;
    }
    .list-item {
        padding: 0.5rem 0.5rem 0 0.5rem;
        border: none;
        margin-bottom: 2rem;
    }
    .rmb {
        margin-bottom: 0;
    }
    .quantity {
        border-radius: 3px;
    }
    
    .list-item form select {
    	font-size: 0.8rem;
    }
    .standard::before {
    	top: 1.8em;
    }
}