.c-outsideBlock{
    background: #FFF4F4;
    width:100%;
}
.col-common{
    padding-left: 3rem;
}
.col-form-label{
    padding-left: 2rem;
    font-weight: bold;
}
#name{
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 17px;
}

.search-row {
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    border-right: none;
}

.search-btn {
    border: 1px solid #dee2e6;
    transition: none; 
    border-radius: 0;
    border-left: none;
    white-space: nowrap;
    font-size: 17px;
}
.search-btn:hover,
.search-btn:focus,
.search-btn:active {
    background-color: #dee2e6;;
    border-color: #dee2e6;;
    box-shadow: none;
    outline: none;
}

@media screen and (max-width: 768px) {
    #name{
        width: auto;
        max-width: 220px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        font-size: 17px;
    }

}

.ec-shelfGrid__item{
    border: 1px solid;
    border-color: red;
    padding-top: 30px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}
.ec-productItemRole__image img {
    height: 12rem !important;     /* 高さを固定 */
    object-fit: cover; /* 画像の縦横比を維持しつつはみ出す部分をカット */
}

@media (min-width: 769px) {
    .ec-productItemRole__image img {
        height: 20rem !important;
    }
}

@media screen and (max-width: 766px) {
    .form-check-inline {
        display: block;
        margin-right: 1rem;
    }
}

#productIndexImage {
    width: 40%;
}
@media (max-width: 768px) {
    #productIndexImage {
        width: 70%;
    }
}

/*商品検索欄*/
.ec-search-toggle-btn {
    display: inline-block;
    min-width: 250px;
    background-color: #BE0000;
    color: #ffffff;
    padding: 12px 30px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.3s;
    position: relative;
}

.ec-search-toggle-btn:hover {
    opacity: 0.8;
    text-decoration: none;
}

.ec-search-toggle-btn .toggle-arrow {
    font-size: 0.8em;
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s;
}

.ec-search-toggle-btn.is-active .toggle-arrow {
    transform: rotate(180deg);
}

.search-area {
    border: 1px solid #ccc;
    padding-top: 20px;
}

@media only screen and (max-width: 767px) {
    .ec-search-toggle-btn {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
}

