@charset "UTF-8";

/*-------------------------------------------
 手動棚　共通設定
-------------------------------------------*/
.cp-main .cp-shelf{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2em 1em;
	margin-bottom: min(3%,16px);
}


.cp-main .cp-shelf__item{
	display: flex;
    flex-direction: column;
}

.cp-main .cp-shelf__label-box{
    flex-grow:1;
    margin-bottom: 6px;
}

.cp-main .cp-shelf__label{
	width: 100%;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.3;
    color: #575757;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3px;

}

.cp-main .cp-shelf__label--hidden{
    visibility: hidden;
}


.cp-main .cp-shelf__img-box{
	display: block;
    padding-top: min(130%, 250px);
	position: relative;
    margin-bottom: 6px;
}

.cp-main .cp-shelf__img-box-link{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.cp-main .cp-shelf__img-box__img{
	display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 0;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

.cp-main .cp-shelf__btn{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3px .2em;
	line-height: 1;
	font-size: clamp(11px , 2.8vw , 14px);
}

.cp-main a.cp-shelf__btn--buy{
	line-height: 1;
	text-align: center;
	background-color: #009141;
    border: 1px solid #009141;
	border-radius: 7px;
	text-decoration: none;
	color: #FFF;
	min-height: 40px;
    margin-top: 5px;
}

.cp-main a.cp-shelf__btn--trial{
	line-height: 1;
	text-align: center;
	background-color: #FFF;
    border: 1px solid #009141;
	border-radius: 7px;
	text-decoration: none;
	color: #009141;
	min-height: 40px;
}

@media (min-width: 769px) {
	.cp-main .cp-shelf {
		grid-template-columns: repeat(6, 1fr);
		gap: 32px 24px;
	}
    .cp-main .cp-shelf-2 {
		grid-template-columns: repeat(6, 1fr);
		gap: 32px 24px;
	}

    .cp-main .cp-shelf__btn:hover{
        opacity: .7;
    }
}
