.error_wrap {
    visibility: hidden;
}

.input_error {
    background-color: #ffe8e8;
}

.radio_error {
    background-color: #ffe8e8;
}

.form-check {
    display: inline;
}

.bg-load-overlay {
    background: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    position: fixed;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-around;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2147483647;
    opacity: 1;
}

.form_area select.input_readonly,
.form_area input[type="text"].input_readonly {
    pointer-events: none;
    background-color: #EEEEEE !important;
}

.show_gift_card {
    display: none !important;
}

.disabled_add_cart_btn {
    pointer-events: none;
    opacity: 0.5;
}

.fs10 { font-size: 72%; line-height: 130%; }
.fs12 { font-size: 75%; line-height: 150%; }
.fs14 { font-size: 87.5%; line-height: 140%; }
.fs18 { font-size: 117.5%; line-height: 130%; }
.fs22 { font-size: 137.5%; line-height: 130%; }
.fs24 { font-size: 150%; line-height: 130%; }
.fs30 { font-size: 187.5%; line-height: 120%; }
.fs10n { font-size: 72%; }
.fs12n { font-size: 75%; }
.fs14n { font-size: 87.5%; }
.fs18n { font-size: 117.5%; }
.fs22n { font-size: 137.5%; }
.fs24n { font-size: 150%; }
.fs30n { font-size: 187.5%; }
.fs12st { font-size: 75%; line-height: 150%; font-weight: bold; }

#sl_sidebar {
    display: none;
}

#sl_main {
    width: 100%;
}

.thumb-item-nav {}

@media screen and (min-width : 981px) {
    .modal-content {
        position: fixed;
        display: none;
        z-index: 2;
        margin: 0;
        background: #fff;
    }

    .modal-content p {
        margin: 0;
        padding: 0;
    }

    .modal-overlay {
        z-index: 1;
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 120%;
        background-color: rgba(0,0,0,0.75);
    }

    .modal-open {
        color: #CC9494;
        text-decoration: underline;
    }

    .modal-open:hover {
        cursor: pointer;
        color: #ffffff;
    }

    .modal-close {
        color: #fff;
    }

    .modal-close:hover {
        cursor: pointer;
        color: #f4f4f4;
    }
}

@media screen and (min-width : 981px) {
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        padding-top: 50px; /* Location of the box */
        left: 0;
        top: 0;
        width: 80%;
        /* width: 100%; *//* Full width */
        height: 100%; /* Full height */
        overflow: scroll; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }

    /* Modal Content */
    .modal-content2 {
        position: relative;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        border: 1px solid #888;
        width: 100%;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
        -webkit-animation-name: animatetop;
        -webkit-animation-duration: 0.4s;
        animation-name: animatetop;
        animation-duration: 0.4s
    }

    /* The Close Button */
    .close {
        color: #CC9494;
        float: right;
        font-size: 20px;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: #FFFFFF;
        text-decoration: none;
        cursor: pointer;
    }

    .modal-header {
        padding: 2px 16px;
        background-color: #4f4f4f;
        color: white;
        height: 30px;
    }

    .modal-title {
        padding-top: 4px;
        font-size: large;
    }

    .modal-body {
        padding: 2px 16px;
        height: 600px;
        overflow: scroll;
        width: 100%;
    }

    .modal-footer {
        padding: 2px 16px;
        border-top: 1px solid #e5e5e5;
    }

    .popupImage {
        margin: 0 auto;
        background-color: #FFFFFF;
    }

    .sum {
        float: left;
        list-style: none;
    }

    .sumimg {
        border: 1px solid #A9A3A3;
        margin: 3px;
        width: 74px;
        height: 65px;
    }

    #placeholder {
        margin-top: 10px;
        /*width: 100%;*/
        width: 752px;
        box-shadow: 3px 3px 5px rgba(128, 128, 128, 0.49);
        border: 1px solid #DAD4D4;
        margin: 10px auto;
    }

    #imagegallery {
        width: 450px;
    }

    .sumimg:hover {
        border: 1px solid #900;
        opacity: 0.6;
        filter: alpha(opacity=60);
    }

    .sugarlogo {
        text-align: center;
        padding-bottom: 10px;
    }

    #myModal .notice {
        text-align: center;
        font-size: 6pt;
        font-family: "メイリオ", "meyrio";
        padding-top: 5px;
    }
}

.five_elements.grid_type.hot_rank li .article {
    border: 1px solid #ccc;
    border-radius: 6px;
    position: relative;
}

.five_elements.grid_type.hot_rank li .article .btn a {
    width: 95%;
    margin: 0 auto;
}

.products_list.hot_rank li .addToCart {
    margin-bottom: 0;
}

.five_elements.grid_type.hot_rank li .article img.ranknumber {
    position: absolute;
    left: 5px;
    top: 5px;
}

.flipdesk-preview-dropdown-draggable {
    /* It will be positioned absolutely */
    position: absolute;
    display: block;
    opacity: 0.8;
    top: 80px;
    left: 20%;
    max-width: 80%;
    /* Doesn't allow to select the content inside */
    user-select: none;
    z-index: 2147483647;
}

.flipdesk-preview-dropdown-draggable a:hover {
    background-color: #ddd;
}

.flipdesk-preview-dropdown-content {
    position: absolute;
    background-color: #f6f6f6;
    width: 450px;
    max-height: 600px;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1;
}

@media only screen and (max-width: 750px) {
    .flipdesk-preview-dropdown-content {
        width: 100%;
    }
}

.flipdesk-preview-dropdown-content a {
    color: black;
    padding: 3px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.flipdesk-preview-dropdown-content a .scenario-status-on {
    display: inline-block;
    border-radius: 3px;
    padding: .2em .5em .3em;
    border-radius: 2px;
    font-weight: 600;
    margin: .25em .1em;
    background: #90c53f;
    color: #fff;
    font-size: 12px;
    margin-right: 10px;
}

.flipdesk-preview-dropdown-content a .scenario-status-off {
    display: inline-block;
    border-radius: 3px;
    padding: .2em .5em .3em;
    border-radius: 2px;
    background: #454e56;
    color: #fff;
    font-size: 12px;
    margin-right: 10px;
}

i.flipdesk-preview-open-in-newtab {
    background-image: url("https://flipdesk.s3.ap-northeast-1.amazonaws.com/prod/images/1665113300886-icons8-external-link-24.png");
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: inline-block;
    cursor: pointer;
    margin-left: 10px;
}

i.flipdesk-preview-current-scenario {
    background-image: url("https://flipdesk.s3.ap-northeast-1.amazonaws.com/prod/images/1665114624746-icons8-eye-24.png");
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-left: 10px;
}

i.flipdesk-preview-current-scenario-ab {
    color: #95060d;
    font-weight: bold;
    margin-left: 10px;
    font-style: normal;
}

.flipdesk-preview-dropbtn {
    background-color: #95060d;
    color: white;
    padding: 13px;
    font-size: 13px;
    border: none;
    /* Indicate the element draggable */
    cursor: move;
}

.flipdesk-preview-dropbtn:hover,
.flipdesk-preview-dropbtn:focus {
    background-color: #95060d;
}

#flipdesk-preview-search-input {
    box-sizing: border-box;
    background-image: url("https://flipdesk.s3.ap-northeast-1.amazonaws.com/prod/images/1665113338484-icons8-search-30.png");
    background-position: 10px;
    background-repeat: no-repeat;
    font-size: 13px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

#flipdesk-preview-search-input:focus {
    outline: 3px solid #ddd;
}

.notice-bar {
    background-color: #95060d; /* Custom background color */
    color: white; /* Font color */
    width: 100%; /* Full width */
    position: fixed; /* Fixed position to stay at the top */
    top: 200px; /* Align to the top of the page */
    left: 0; /* Align to the left of the page */
    padding: 10px; /* Some padding for aesthetics */
    z-index: 1000; /* Ensures it stays above other content */
    text-align: center; /* Center the text inside the bar */
    opacity: 0.6;
}
