@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* PC版・スマホ版共通のスタイル */
#contents #main .message {
    color: #282F46;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
#contents #main .input_stock_disabled{
    background-color: #AAAAAA;
}

/* PC版のスタイル */
@media only screen and (min-width: 768px) {
    #contents {
        display: flex;
    }
    #contents .search_condition {
        margin-left: 64px;
        margin-top: 56px;
        width: 205px;
    }
    #contents #main {
        margin-left: 45px;
        margin-top: 56px;
        width: 758px;
    }
    #contents #main .name_icon {
        margin-top: 16px;
        font-family: "Noto Sans JP";
        font-size: 16px;
        font-weight: 700;
    }
    #contents #main .name_icon .product_name {
        margin-top: 16px;
    }
    #contents #main .product_image {
        margin-top: 32px;
        height: 432px;
        display: flex;
    }
    #contents #main .product_image .product_image_main {
        width: 607px;
        border: 1px solid #282F4629;
    }
    #contents #main .product_image .product_image_main ul {
        padding-left: 0;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    #contents #main .product_image .product_image_main img {
        width: 582px;
        height: 372px;
        margin-left: 12px;
    }
    #contents #main .product_image .product_image_main .large-image {
        width: 78px;
        height: 21px;
        margin-top: 12px;
        margin-left: 265px;
    }
    #contents #main .product_image .product_image_select {
        width: 120px;
        margin-left: 32px;
    }
    #contents #main .product_image .product_image_select ul {
        padding-left: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
    #contents #main .product_image .product_image_select img {
        width: 117px;
        height: 84px;
        margin-top: 8px;
        margin-bottom: 8px;
        border: 1px solid #282F4629;
    }
    #contents #main .product_image .product_image_select .prevArrow {
        height: 10px;
        width: 100%;
        background-image: url('../image/slider-arrow-up.png');
        background-repeat: no-repeat;
        background-position-x: 50%;
        cursor: pointer;        
    }
    #contents #main .product_image .product_image_select .nextArrow {
        height: 10px;
        width: 100%;
        background-image: url('../image/slider-arrow-down.png');
        background-repeat: no-repeat;
        background-position-x: 50%;
        cursor: pointer;
    }
    #contents #main .product_explanation {
        margin-top: 43px;
        font-family: "Noto Sans JP";
        font-size: 12px;
    }
    #contents #main .product_information_1 {
        margin-top: 56px;
        padding-top: 45px;
        padding-left: 32px;
        border-top: 1px solid #BEC5DC;
        display: flex;
    }
    #contents #main .product_information_1 .product_codes {
        font-family: "Noto Sans JP";
        font-size: 12px;
        width: 300px;
    }
    #contents #main .product_information_1 .product_codes .jan_code {
        margin-top: 8px;
    }
    #contents #main .product_information_1 .product_price {
        font-family: "Noto Sans JP";
        font-size: 14px;
        font-weight: 700;
    }
    #contents #main .product_information_2 {
        padding-left: 32px;
        padding-bottom: 45px;
        margin-top: 19px;
        border-bottom: 1px solid #BEC5DC;
        display: flex;
    }
    #contents #main .product_information_2 .stock_qty {
        display: flex;
        width: 300px;
        font-family: "Noto Sans JP";
        font-size: 12px;
        font-weight: 700;
        height: 25px;
        position: relative;
    }
    #contents #main .product_information_2 .stock_qty .stock {
        line-height: 25px;
    }
    #contents #main .product_information_2 .stock_qty .stock_title {
        margin-right: 5px;
    }
    #contents #main .product_information_2 .stock_qty .qty {
        position: absolute;
        left:  150px;
        line-height: 25px;
    }
    #contents #main .product_information_2 .stock_qty .qty input[type=text] {
        width: 26px;
        height: 24px;
        border: 1px solid #DADADA;
        text-align: right;
    }
    #contents #main .product_information_2 .stock_qty .input-qty {
        display: flex;
    }
    #contents #main .product_information_2 .stock_qty .input-qty .plus-qty {
        margin-right: 5px;
        width: 16px;
        border: 1px solid #DADADA;
        border-width: 1px 1px 1px 0;
        text-align: center;
        cursor : pointer;
    }
    #contents #main .product_information_2 .stock_qty .input-qty .minus-qty {
        margin-left: 5px;
        width: 16px;
        border: 1px solid #DADADA;
        border-width: 1px 0 1px 1px;
        text-align: center;
        cursor : pointer;
    }
    #contents #main .product_information_2 .cart button {
        font-family: "Noto Sans JP";
        font-size: 12px;
        font-weight: 700;
        background: #282F46;
        color: #FFFFFF;
        width: 164px;
        height: 40px;
        background-image: url('../image/hf/cart.png');
        background-repeat: no-repeat;
        background-position: 25px 12px;
        background-size: 18px 16px;
        padding-left: 30px;
        cursor : pointer;
    }
    #contents #main .bottom {
        height: 86px;
        line-height: 86px;
        font-family: "Noto Sans JP";
        font-size: 14px;
        font-weight: 700;
        border-bottom: 1px solid #BEC5DC;
    }
    #contents #main .bottom a {
        text-decoration: none;
        color: #282F46;
    }
    #contents #main .bottom .goto_index {
        width: 70px;
        margin: 0 auto;
    }
    #contents #main .bottom .goto_index_inner {
        padding-left: 30px;
        background-image: url('../image/page_navi_first.png');
        background-repeat: no-repeat;
        background-position: 0 35px;
        background-size: 18px 16px;
    }

    #contents #main .brand_list_ {
        margin-top: 120px;
    }
    #contents #main .center_bottom_ {
        margin-top: 80px;
    }
    #contents .cart_list {
        margin-left: 72px;
        margin-top: 56px;
        width: 205px;
    }
}

/* スマホ版のスタイル */
@media only screen and (max-width: 767px) {
    #contents .search_condition {
        display: none;
    }
    #contents #main {
        font-family: "Noto Sans JP";
        font-size: 12px;
        color: #282F46;
        margin-left: 32px;
        margin-right: 32px;
    }
    #contents #main .name_icon {
        margin-top: 8px;
        font-weight: 700;
    }
    #contents #main .name_icon .product_name {
        margin-top: 8px;
    }
    #contents #main .product_image {
        margin-top: 24px;
    }
    #contents #main .product_image .product_image_main {
        width: 100%;
        border: 1px solid #282F4629
    }
    #contents #main .product_image .product_image_main ul {
        padding-left: 0;
        margin-top: 0;
    }
    #contents #main .product_image .product_image_main img {
        width: 100%;
        height: auto;
    }
    #contents #main .product_image .product_image_main .large-image {
        width: 78px;
        height: 21px;
        margin-top: 12px;
        margin: 0 auto;
    }
    #contents #main .product_image .product_image_select ul {
        padding-left: 0;
    }
    #contents #main .product_image .product_image_select ul img {
        width: 100%;
        height: auto;
    }
    #contents #main .product_image .product_image_select ul li {
        margin-left: 4px;
    }
    #contents #main .product_image .product_image_select .slick-slider {
        display: flex;
    }
    #contents #main .product_image .product_image_select .slick-list {
        width: 90%;
        margin: 0 auto;
    }
    #contents #main .product_image .product_image_select .prevArrow {
        height: 67px;
        width: 10px;
        background-image: url('../image/slider-arrow-left.png');
        background-repeat: no-repeat;
        background-position-y: 50%;
    }
    #contents #main .product_image .product_image_select .nextArrow {
        height: 67px;
        width: 10px;
        background-image: url('../image/slider-arrow-right.png');
        background-repeat: no-repeat;
        background-position-y: 50%;
    }
    #contents #main .product_explanation {
        font-size: 14px;
        padding-bottom: 40px;
        border-bottom: 1px solid #BEC5DC;
    }
    #contents #main .product_information_1 {
        margin-top: 40px;
    }
    #contents #main .product_information_1 .jan_code {
        margin-top: 8px;
    }
    #contents #main .product_information_1 .product_price {
        margin-top: 16px;
        font-weight: 700;
    }
    #contents #main .product_information_2 {
        margin-top: 32px;
    }
    #contents #main .product_information_2 .stock_qty {
        display: flex;
        font-weight: 700;
        font-size: 14px;
        height: 32px;
        line-height: 32px;
        position: relative;
    }
    #contents #main .product_information_2 .stock_qty .stock_title {
        margin-right: 5px;
    }
    #contents #main .product_information_2 .stock_qty .qty {
        position: absolute;
        right: 0;
    }
    #contents #main .product_information_2 .stock_qty .input-qty {
        display: flex;
    }
    #contents #main .product_information_2 .stock_qty .input-qty input[type=text] {
        width: 35.2px;
        height: 32px;
        border: 1px solid #DADADA;
        text-align: right;
    }
    #contents #main .product_information_2 .stock_qty .input-qty .plus-qty {
        margin-right: 5px;
        width: 32px;
        border: 1px solid #DADADA;
        border-width: 1px 1px 1px 0;
        text-align: center;
        cursor : pointer;
    }
    #contents #main .product_information_2 .stock_qty .input-qty .minus-qty {
        margin-left: 5px;
        width: 32px;
        border: 1px solid #DADADA;
        border-width: 1px 0 1px 1px;
        text-align: center;
        cursor : pointer;
    }
    #contents #main .product_information_2 .cart button {
        width: 223px;
        height: 56px;
        font-weight: 700;
        font-size: 14px;
        color: #FFFFFF;
        background: #282F46;
        background-image: url('../image/hf/cart.png');
        background-repeat: no-repeat;
        background-position: 40px 12px;
        background-size: 24px 21px;
        margin: 0 auto;
        display: block;
        margin-top: 48px;
        text-indent: 20px;
    }
    #contents #main .bottom {
        height: 86px;
        line-height: 86px;
        font-size: 14px;
        font-weight: 700;
        border-top: 1px solid #BEC5DC;
        border-bottom: 1px solid #BEC5DC;
        margin-top: 48px;
    }
    #contents #main .bottom a {
        text-decoration: none;
        color: #282F46;
    }
    #contents #main .bottom .goto_index {
        width: 70px;
        margin: 0 auto;
    }
    #contents #main .bottom .goto_index_inner {
        padding-left: 30px;
        background-image: url('../image/page_navi_first.png');
        background-repeat: no-repeat;
        background-position: 0 35px;
        background-size: 18px 16px;
    }
    #contents #main .brand_list_ {
        margin-top: 64px;
        margin-bottom: 64px;
    }
    #contents .cart_list {
        display: none;
    }
}
