/* カスタマイズ用CSS */
#header_login_area {
    box-sizing: content-box;
    display: flex;
    align-items: center;
}
#header_login_area.is_logined {
    justify-content: center;
}
#header_login_area.is_logined p.btn {
    padding: 0;
    font-size: inherit;
}
#header_login_area ul.formlist {
    margin: 0;
    display: flex;
    align-items: center;
}
#header_login_area ul.formlist li.login_memory {
    display: flex;
    gap: 3px;
}
#header_login_area ul.formlist li.btn {
    padding: 0 5px 0 0;
    box-sizing: content-box;
    display: flex;
    align-items: center;
}
#header_cat img {
    vertical-align: initial;
}



.ec-topicpath .ec-topicpath__item a,
.ec-topicpath .ec-topicpath__item--active a {
    color: #336699;
}
a.ec-inlineBtn--action {
    color: #fff;
}


.ec-orderMail {
    margin: 0;
    padding: 0;
    border: 0;
}
div#mycontents_area .productImage {
    max-width: 65px;
    max-height: 65px;
}
a.ec-blockBtn--action,
a.ec-blockBtn--action:hover,
a.ec-blockBtn--cancel,
a.ec-blockBtn--cancel:hover {
    color: #fff;
}
a.ec-blockBtn--cancel.notBtn {
    width: auto;
    padding: 0;
    line-height: 1;
    height: auto;
    border: 0;
    background: transparent;
    margin: auto;
}


.ec-layoutRole {
    background: unset;
}
.ec-layoutRole .ec-layoutRole__contents {
    display: block;
}
.ec-layoutRole__contents {
    background-color: #fff;
}
.ec-topicpath {
    padding: 0;
    border: 0;
}
.ec-topicpath .ec-topicpath__divider {
    padding: 0 .5em;
}
.ec-searchnavRole {
    font-size: inherit;
}
@media only screen and (min-width: 768px) {
    .ec-searchnavRole .ec-searchnavRole__infos {
        padding: 5px 0 0;
        border: 0;
        font-size: inherit;
        flex-direction: row;
    }
    .ec-searchnavRole {
        padding-inline: 0;
    }
}
.ec-shelfRole {
    padding-inline: 0;
}
.ec-pager .ec-pager__item--active {
    background: #f0027f42;
}



#two_maincolumn_right {
    box-sizing: content-box;
}
#news_area_main {
    width: 100%;
}
div.list_line {
    display: flex;
    float: unset;
    gap: 9px;
    margin: 0;
}
div.list_box {
    flex: 0 1 calc((100% - 9px* 4) / 5);
    float: unset;
    width: auto;
    margin: 0;
}
div.listphoto img {
    width: auto;
    max-width: 100%;
    max-height: 147px;
}
div.listdbloc .cartin .quantity {
    display: flex;
    align-items: center;
}
div.listdbloc .cartin .quantity .box {
    width: 1.3em;
}
div.listdbloc .cartin .cartin_btn button {
    height: auto;
    padding: 0;
    border: 0; 
    line-height: 1;
}
div.listdbloc .cartin .quantity-disabled {
    display: none;
}
div#detailrightbloc div.quantity .quantity-disabled {
    display: none;
}



#two_maincolumn_left div#detailphotobloc .photo .picture,
#two_maincolumn_right div#detailphotobloc .photo .picture {
    max-width: 260px;
    max-height: 260px;
    object-fit: contain;
}

#facebox {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}
#facebox .image img {
    max-width: 90vw;
    max-height: 90vh;
}


/* cart */
.ec-progress {
    margin: 15px auto;
}
.ec-select {
    margin-bottom: .5em;
}
.disabled .ec-inlineBtn {
    opacity: .5;
    pointer-events: none;
    cursor: initial;
}
div#undercolumn_shopping .mod-button {
    margin: 15px 20px;
}
div#undercolumn_shopping h3 {
    float: unset;
}
div#undercolumn_shopping .pay_area02 {
    width: 100%;
    margin-top: 1em;
}
div#undercolumn_shopping .pay_area02 h3 {
    margin: .5em 0;
}
div#undercolumn_shopping .pay_table_inner {
    margin-right: 2em;
    float: left;
}
div#undercolumn_shopping .pay_deliv_separator {
    border-top: 5px dashed #e60088;
    margin: 2.5em 0;
    opacity: .7;
}
div#undercolumn_shopping h3 {
    width: 12em;
}
.ec-errorMessage {
    color: #f00;
}
.ec-orderRole__summary {
    width: 80%;
    margin: 50px auto 0;
}


/* 
 * block
 */
#container .bloc_outer .bloc_body dl.formlist dt {
    font-weight: inherit;
}
div#freesearch_area .bloc_body .btn {
    padding: 0;
    display: flex;
}
div#freesearch_area .bloc_body .btn input {
    width: 100%;
}


/* SP */
.global_header h1 a {
    line-height: 1.5;
}
.header_navi ul {
    margin: 0;
    padding-left: 0;
}
.top_menu2 ul,
.top_menu3 ul{
    padding-left: 0;
}
#search_area .ui-input-search {
    width: auto;
}
.ui-input-search .ui-input-clear {
  box-sizing: content-box;
}
.ec-newsRole {
  padding: 0;
}
.ec-newsRole .ec-newsRole__newsItem {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFCC),color-stop(1, #FFFFCC));
  border-top: #FFF solid 1px;
  border-bottom: #EC008C solid 1px;
}
.ec-newsRole .ec-newsRole__newsItem:last-of-type {
  margin-bottom: 0
}
.ec-newsRole .ec-newsRole__news .ec-inlineBtn--top {
    color: #000;
    font-size: 16px;
    padding: 5px 0;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border: 1px solid #A9ABAD;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: block;
    background: #FFF;
    clear: both;
    margin: 10px;
}
@media only screen and (max-width: 768px) {
    body:not(.top_page) .header_utility {
        visibility: hidden;
    }
    ol,ul {
        padding-left: 0;
    }
    header {
        box-sizing: content-box;
    }
    img#main_image {
        margin: 0;
    }
    .footer_navi {
        margin-bottom: 0;
    }
    body.mypage .ec-layoutRole__main,
    body.cart_page .ec-layoutRole__main,
    body.other_page .ec-layoutRole__main {
        padding-bottom: 20px;
    }
    .list_area ul.status_icon {
        padding: 0;
    }
    .listrightblock h3,
    #detailrightblock h3 {
        margin-block: 0;
        line-height: 1.5;
    }
    .listrightblock p {
        margin: 0;
    }
    p.listphoto img {
        max-width: 80px;
        max-height: 80px;
    }
    #detailphotoblock img {
        width: 200px;
    }
    #facebox img {
        max-width: 100%;
    }
    #detailarea .main_comment,
    #detailrightblock p,
    #detailrightblock ul {
        margin-bottom: 0;
    }
    .cartin_btn * {
        box-sizing: content-box;
        margin-bottom: 0;
    }
    .btn.btn-cart-next {
        width: 100%;
        color: #FFF;
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        text-align: center;
        padding: 10px;
        text-shadow: 0 -1px 1px rgba(0,0,0,1);
        border: 1px solid #A9ABAD;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        display: block;
        background: #B4DF34;
        background: -moz-linear-gradient(center top, #B4DF34 0%,#669222 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #B4DF34),color-stop(1, #669222));
        cursor: pointer;
        -webkit-transition: opacity 0.5s ease-in;
        -moz-transition: opacity 0.5s ease-in;
    }
    .ui-loader {
        display: none !important;
        visibility: hidden;
        box-sizing: content-box;
    }
    ul.ec-progress::after {
        content: initial;
    }
    .ec-progress {
        margin: auto;
    }
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountSP {
        margin-bottom: 0;
    }
    .ec-cartRow .ec-cartRow__amountColumn {
        width: auto;
    }
    .cartinContents ul {
        margin-bottom: 0;
    }
    .cartinContents div {
        min-height: 20px;
    }
    #customervoice_area {
        display: none;
    }
    #search_form #search {
        padding-inline: 1.5em;
        width: 80%;
    }
}