/* カスタマイズ用CSS */

.fa-brands::before,
.fa-solid::before {
    /*font-family: 'Font Awesome 6 Free';*/
    color: #000;
}

/* common */
.ec-blockBtn--action {
    background-color: #9D3C3E;
}

.ec-blockBtn--action:hover {
    background-color: #D44F97;
}
.ec-productRole .ec-productRole__price {
    color: #9D3C3E;
}

.ec-blockBtn--cancel {
    background-color: #38695A;
    border-color: #38695A;
}
.ec-blockBtn--cancel:hover {
    background-color: #90A362;
    border-color: #90A362;
}

/*header*/

.fa-shopping-cart:before,
.ec-headerNav .ec-headerNav__itemLink,
.ec-headerNav .ec-headerNav__itemIcon:before {
    color: #38695A;
}

.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
    background: #38695A;
}

.ec-headerRole {
    padding-top: 0;
}

.ec-layoutRole__header{
    background: #DDEBD5;
    margin-bottom: 50px;
}

.ec-itemNav__nav li a{
    font-size: 22px;
    background: none;
    background-color: transparent;
}
.ec-itemNav__nav li ul {
    min-width: 180px;
}
.ec-itemNav__nav li a:hover,
.ec-itemNav__nav li ul li a {
    background-color: #90A362;
    color: #fff;
}

.ec-itemNav__nav li:hover > a {
    background-color: #90A362;
    color: #fff;
}

.ec-itemNav__nav li ul li a:hover {
    background-color: #38695A !important;
    /*color: #fff;  必要に応じて再定義 */
}

.ec-headerTitle .ec-headerTitle__title a {
    background-image: url(/images/logo_top.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    font-size: 0;
    width: 265px;
    height: 64px;
}

@media only screen and (min-width: 768px){
     .ec-headerTitle .ec-headerTitle__title a {
        width:500px;
        height:120px;
    }
    .ec-headerNaviRole {
        padding-bottom: 0;
    }
}

/* footer */

.ec-layoutRole__contentBottom{
    background-color: #DDEBD5;
    padding: 20px 0 0;
    margin-top: 100px;
}

.ec-footerLink .ec-footerNavi .ec-footerNavi__link a {
    color: #000;
    font-size: 16px;
}

.ec-footerRole {
    background: #38695A;
    margin-top: 0;
}

.ec-blockTopBtn {
    width: 60px;
    height: 60px;
    font-size: 0;
    background: #006600;
    border: 1px solid #fff;
    background-image: url(/images/return-top.png);
    background-repeat:  no-repeat;
    background-position:  center center; 
    background-size:  contain; 
    border-radius: 50%;
    content:"";
}

.ec-footerTitle .ec-footerTitle__logo {
    margin-bottom: 30px;
}

.ec-footerTitle .ec-footerTitle__logo a {
    color: inherit;
    text-decoration: none;
    background-image: url(/images/logo_footer.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    font-size: 0;
    width: 235px;
    height: 25px;
    display: inline-block;
}

.ec-footerNavi {
    margin-bottom: 0;
}

@media only screen and (min-width: 768px){
    .ec-footerTitle .ec-footerTitle__logo a {
        width: 353px;
        height: 38px;
    }
    .ec-footerNavi {
    padding-bottom: 1rem;
    }
}


/* Top */

.ec-topicRole {
    padding: 30px 0;
    background: #DDEBD5;
}

.ec-displayRankRole {
    padding-bottom: 0 !important;
}

.ec-topicRole .ec-topicRole__listItemTitle {
    font-size: 16px;
    font-weight: bold;
}

.ec-shelfGrid .ec-shelfGrid__item img {
    width: 100%;
    max-height: 166px;
    object-fit: cover;
}

.ec-blockBtn--top{
    background-color: #38695A;
    border-radius: 10px;;
}

.ec-blockBtn--top:hover{
    background-color: #867039;
}


.ec-displayRankRole .ec-shelfGrid dl{
    padding-top: 10px;
}

.ec-newsRole .ec-newsRole__newsTitle {
    font-size: 16px;
}

/* form */
.ec-blockBtn,
.ec-blockBtn--primary,
.ec-blockBtn--action,
.ec-blockBtn--cancel {
    border-radius: 10px;;
}