/*
Theme Name: Myテーマ
*/
/* この下に通常のcssを書いていく */

.stockList_on {
	opacity: 1;
}
.stockList_off {
	opacity: 0.1;
}

.stockList
,.stockList_on
,.stockList_off
{
	margin-bottom: 10px;
	/* padding: 10px; */
	
	overflow: hidden;
  
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	
	margin-left: 5%;
	margin-right: 5%;
}
.stockList article
,.stockList_on article
,.stockList_off article
{
	width:33.333%;
	position: relative;
}
.stockList article .info
,.stockList_on article .info
,.stockList_off article .info
{
	width: 100%;
	overflow: hidden;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.78);
    font-size: 0.7rem;
    line-height: 1.6em;
    color: #fff;
    padding-top: 8px;
	padding-bottom: 5px;
}

.stockList img
,.stockList_on img
,.stockList_off img
{
    width: 100%;
    height: 100%;
	object-fit: cover;
	max-height: 18rem;
}

.stockListFooterMargin {
	height: 50px;
}

.SOLD_OUT_TAB_PARENT {
	height: 3.5rem;
	
	font-size: 36px;
	letter-spacing: 2px;
	
	margin-block-start: 1rem;
	margin-block-end: 1rem;
	
	margin-left: 5%;
	margin-right: 5%;
	
	display: flex;
}
.SOLD_OUT_TAB_PARENT li {
	width:calc(100%/2);
	margin-block-end: 1rem;
}

ul,li {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

li {
  text-align: center;
}

.SOLD_OUT_TAB_UNDERLINE {
	margin-block-start: 1.5rem;
    margin-block-end: 4rem;
	
	width: 100%;
	height:2px;
	background-color:darkorange;
}

.SOLD_OUT_TAB {
    display: flex;
    flex-wrap: wrap;
    /* max-width: 500px; */
	height: 100%;
	
	padding-top: 0%;
}

.SOLD_OUT_TAB > label {
    flex: 1 1;
    order: -1;
    /* min-width: 70px; */
    /* padding: .7em 1em .5em; */
    background-color: rgb(255, 243, 227);
    color: #999;
    /* font-weight: 600; */
    font-size: 0.5em;
    /* text-align: center; */
    cursor: pointer;
	letter-spacing: 0;
	
	/* テキストを上下中央にする */
	display: grid;
  	place-items: center;
	text-align: center;
	
	opacity: 0.6;
}

.SOLD_OUT_TAB > label:hover {
    opacity: 0.9;
}

.SOLD_OUT_TAB input {
    display: none;
}

.SOLD_OUT_TAB > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.SOLD_OUT_TAB label:has(:checked) {
    border-bottom: 5px solid darkorange;
    color: rgba(20, 20, 20, 0.78);
	
	opacity: 1;
}
.SOLD_OUT_TAB label:has(:checked):hover {
	opacity: 0.9;
}

.SOLD_OUT_TAB label:has(:checked) + div {
    display: block;
}