.ec-nav-item {
    text-align: center;
    margin-top: 5px;
    margin-right: 12px;
}
.ec-nav-item span {
    font-size: 12px;
    display: block;
    color: #777;
}
@media screen and (max-width: 780px){
    .ec-nav-item {
        text-align: left;
    }
    .ec-nav-item span {
        display: inline;
        font-size: 1rem;
        padding-right: 5px;
    }
}

#alert_of_alcohol {
    font-size: 1em;
    margin-top: 12px;
}
#warning_alert_of_alcohol {
    font-size: 16px;
    margin-top: 18px;
    margin-bottom: 10px;
}
.ec_body {
    background-color: #fff;
    margin-top: 12px;
}
.ec_footer {
    background-color: #555;
    padding-top: 1rem;
    padding-bottom: 3rem;
    margin-top: 30px;
    margin-left: 0;
    margin-right: 0;
}
.ec_footer .store_name {
    font-size: 1.2rem;
    font-weight: 600;
}
.ec_footer .store_name a, .ec_footer .store_name a:hover {
    color: #fff;
}
.ec_footer .notice_of_alcohol {
    color: #ddd;
    font-size: 13px;
    margin-top: 10px;
}
.ec_footer .notice_of_alcohol img {
    float: left;
    height: 60px;
    margin-right: 7px;
}
.ec_footer .list-group {
    margin-bottom: 7px;
}
.ec_footer .list-group-item {
    padding: 5px 7px;
    font-size: 0.9em;
    background-color: transparent;
    border: none;
}
.ec_footer .list-group-item a, .ec_footer .list-group-item a:hover {
    color: #fff;
}
.copyright {
    text-align: center;
    color: #fff;
    font-size: 0.7em;
    margin-top: 14px;
}

/* トップ */
.section_title {
    color: #6b6b6b;
    font-size: 0.9em;
    font-weight: 700;
    margin-top: 1.1rem;
    margin-bottom: 0.8rem;
}
.top_items {
    width: 100%;
    max-width: 100%;
}
.top_items .items {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    margin-bottom: 10px;
}
.top_items .item {
    width: 150px;
    min-width: 150px;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 12px;
}
.top_items .item a, .top_items .item a:hover {
    text-decoration: none;
}
.top_items .item img {
    width: 90%;
    border: 1px solid #dedede;
}
.top_items .item .rank_wrap {
    position: relative;
    width: 90%;
}
.top_items .item .rank_wrap img {
    width: 100%;
}
.top_items .item .rank_wrap .rank_number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    background-color: #f3f3f3;
    color: #555;
}
.top_items .item .rank_wrap .rank_number_1 {
    background-color: #DBB400;
    color: #fff;
}
.top_items .item .rank_wrap .rank_number_2 {
    background-color: #9FA0A0;
    color: #fff;
}
.top_items .item .rank_wrap .rank_number_3 {
    background-color: #C47022;
    color: #fff;
}
.top_items .item .item_title {
    font-size: 0.8em;
    color: #333;
    min-height: 40px;
}
.top_items .item .top_item_price {
    font-size: 1em;
    font-weight: 500;
    color: #666;
    text-align: right;
    padding-right: 5px;
}
.top_items .item .price_mark {
    font-size: 0.75em;
    color: #666;
}

.category_list .list-group-item {
    border: none;
    border-bottom: 1px solid #cdcdcd;
    padding: 12px 7px;
    position: relative;
}
.category_list .list-group-item a {
    display: block;
    color: #333;
    font-size: 0.8em;
}
.category_list .list-group-item .arrow {
    position: absolute;
    height: 28px;
    right: 0;
    top: 8px;
}


/* 詳細 */
.breadcrumb_list a {
    color: #333;
    font-size: 0.9rem;
}
#item_name, .item_status_name {
    font-size: 1.3em;
    color: #555;
    font-weight: 600;
}
#item_sub_name {
    font-size: 0.8em;
    color: #777;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 7px;
}

.item_detail .item_price {
    margin-top: 30px;
    text-align: right;
}
.item_detail .item_price .price {
    font-size: 20px;
    color: #333;
}
.item_detail .item_price .prefix {
    font-size: 0.7em;
    padding-right: 7px;
    color: #FF0461;
}
.item_detail .item_price .price .mark {
    font-size: 0.7em;
    color: #555;
    background-color: transparent !important;
}
.item_detail .item_price .price .tax {
    font-size: 0.6em;
    color: #666;
}
.item_detail .item_price .old {
    font-size: 1em;
    text-decoration: line-through;
}
.item_detail .item_price .old .prefix {
    font-size: 0.8em;
    text-decoration: line-through;
    color: #333;
}
.item_detail .item_price .old .mark {
    font-size: 0.7em;
    color: #555;
    background-color: transparent !important;
}
.item_detail .item_price .old .tax {
    font-size: 0.7em;
    color: #666;
}
.item_detail .item_price .campaign_period {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.item_detail .order {
    margin-top: 30px;
}
.item_detail .order .count_label {
    font-size: 0.9em;
    color: #333;
}
#order_count {
    width: 100px;
    height: 45px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #0099FF;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.add_cart_button, .add_cart_button:active {
    width: auto;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    font-size: 0;
    line-height: 0;
    overflow: visible;
    cursor: pointer;
    outline: none;
}
.add_cart_button img {
    height: 45px;
}
.delivery {
    padding: 7px;
    color: #555;
    font-size: 0.85rem;
    margin-top: 12px;
    background-color: #fff;
}
.delivery span {
    margin-right: 10px;
}

.item_detail_images {
    display: flex;
    padding-left: 0;
    padding-right: 0;
}
.item_detail_images .image {
    width: 85%;
    height: auto;
    padding: 10px;
}
.item_detail_images .main-img {
    height: auto;
}
.item_detail_images .main-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.item_detail_images .aside {
    overflow: scroll;
    width: 15%;
}
.item_detail_images .aside-img {
    height: 20%;
}
.item_detail_images .aside-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-top: 10px;
    cursor: pointer;
}

.favarite-icon {
    text-align: center;
    width: 100px;
    margin-left: auto;
}
.favarite-icon a {
    text-decoration: none;
    font-size: 8px;
    color: #666;
}
.favarite-icon img {
    width: 18px;
}
.postage_table {
    width: 100%;
    max-width: 500px;
}
.postage_table, .postage_table th, .postage_table td {
    border: 1px solid #777;
}
.postage_table th {
    font-weight: 100;
}

@media screen and (max-width: 1024px){
    .item_detail_images {
        display: block;
    }
    .item_detail_images .image {
        width: 100%;
        height: 80%;
    }
    .item_detail_images .aside {
        display: flex;
        overflow: scroll;
        height: 20%;
        width: 99%;
        margin: 5px;
    }
    .item_detail_images .aside-img {
        flex-shrink: 0;
        height: 100%;
        width: 20%;
    }
    .item_detail_images .aside-img img {
        height: 100%;
        object-fit: cover;
        padding: 0px;
        padding-right: 10px;
    }    
}

.description {
    background-color: #fff;
    padding: 15px;
    border-radius: 7px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.description .title {
    font-size: 1.1em;
    color: #777;
    font-weight: 600;
    margin-top: 0px;
}
.description .body {
    font-size: 0.9em;
    color: #333;
    margin-top: 15px;
    margin-bottom: 5px;
}
@media screen and (max-width: 1024px){
    .description {
        margin-top: 25px;
    }
}


/* category */
.category_name {
    font-size: 1.2em;
    color: #666;
    font-weight: 600;
}
.category_items {
    margin-top: 0px;
    margin-bottom: 20px;
}
.category_items .item {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #fff;
}
.category_items .item a, .category_items .item a:hover {
    display: flex;
    color: #333;
    text-decoration: none;
}
.category_items .item a img {
    width: 130px;
    height: 130px;
    margin-top: 5px;
    margin-bottom: 5px;
    object-fit: contain;
}
.category_items .item a .info {
    padding: 5px 10px;
    width: 100%;
}
.category_items .item a .info .item_title {
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
}
.category_items .item a .info .item_price {
    font-size: 1em;
    font-weight: 500;
    color: #666;
    text-align: right;
    padding-right: 5px;
}
.category_items .item a .info .price_mark {
    font-size: 0.75em;
    color: #666;
}
.category_items .item a .info .explain_short {
    font-size: 0.8em;
    color: #666;
    margin-top: 3px;
}
.category_items .no_item {
    font-size: 1.1rem;
    color: #999;
    font-weight: 600;
    margin-top: 10vh;
    margin-bottom: 10vh;
}


/* sub */
.subpage_title {
    color: #6b6b6b;
    font-size: 1.4em;
    font-weight: 700;
    margin-top: 1.3rem;
    margin-bottom: 0.8rem;
}
.ec_table {
    margin-top: 10px;
    margin-bottom: 30px;
}

.ec_table .title {
    border-bottom: 1px solid #bcbcbc;
    border-left: 1px solid #bcbcbc;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #f1f1f1;
}
.ec_table .value {
    border-bottom: 1px solid #bcbcbc;
    border-right: 1px solid #bcbcbc;
    border-left: 1px solid #bcbcbc;
    font-size: 13px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.ec_table .first {
    border-top: 1px solid #bcbcbc;
}

/* shop_info（店舗概要） */
/* shop_info--全体設定 */
.active {
    font-weight: bold;
}
.f_grey {
    color: #6b6b6b;
}
/* shop_info--リンク表示設定 */
.shop_info a {
    text-decoration: underline;
}
.about_menu a, .about_sub_menu a {
    text-decoration: none;
    color: #6b6b6b;
}
/* shop_info--各種メニュー設定 */
.about_menu .title {
    font-size: 1.0rem;
}
.about_menu_border {
    border-bottom: 1px solid #bcbcbc;
}
.about_sub_menu {
    font-size: 0.8rem;
}
.sub_menu_wrap {
    display: flex;
    flex-wrap: wrap;
}
/* shop_info--各セクション設定 */
.about_sub_section {
    margin-top: 70px;
    margin-bottom: 70px;
    margin-right: auto;
    width: 70%;
}
@media screen and (max-width: 991px) {
    .about_sub_section {
        margin-top: 70px auto;
        width: 100%;
    } 
}
.sub_section_table_titile {
    font-size: 1.0em;
    margin-top: 1.3rem;
    margin-bottom: 0.8rem;
    padding-top: 10px;
}
/* shop_info--テーブル（全体）の設定 */
.about_sub_section table {
    font-size: 0.8rem;
    border-collapse: collapse;
    border-spacing: 0px;
    width: 100%;
    max-width: 700px;
    margin-bottom: 20px;
}
.about_sub_section table td,.about_sub_section table th {
    border: 1px solid #bcbcbc;
    padding: 10px;
}
.about_sub_section table th {
    font-weight: 500;
}
/* shop_info--テーブル（お問い合わせページ）の設定 */
.contact_table th {
    width: 30%;
}
.company_table {
    width: 100%;
}
.company_table th {
    width: 200px;
    width: 30%;
    min-width: 100px;
}
/* shop_info--戻るボタン */
.return_top {
    font-size: 0.7rem;
}
/* shop_info--説明文の設定 */
.sub_section_text {
    font-size: 0.8rem;
}
/* shop_info--URL折り返し */
.media_table td {
    word-break: break-all;
}
/* キャンペーン詳細 */
.campaign_img img {
    object-fit: contain;
    width: 100%;
    max-height: 50vh;
}