/*+伝票・明細情報：売上一覧CSS*/

/*共通*/
.div_flex{
    width: 95%;
    display: flex;
    margin: 0 auto;
}

.spa_block{
    display: block;
}

/*+売上一覧検索画面　各項目*/
/**指定期間 period*/
.period > p:first-of-type{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 1em;
}

.period .div_flex{
    justify-content: space-between;
}

.period .div_flex div{
    width: 48%;
}

.period .div_flex div p{
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

/*p左丸*/
.period .div_flex div p::before{
    content: "●";
    display: inline-block;
    font-size: 20px;
}

.period .div_flex div img{
    width: 60%;
}

/**店舗コード shop_code*/
.shop_code{
    position: relative;
}

.shop_code .div_flex{
    justify-content: space-between;
}

img[data-original="../../2-sales_details/2-1-003/img/shop_code_1.png"]{
    width: 60%;
}

.shop_code .div_1{
    width: 40%;
    position: absolute;
    top: 45%;
    left: 4.2%;
    left: 3.5em;
}

.shop_code .div_1 div:first-of-type{
    margin-bottom: 1.5em;
}

/*p左丸*/
.shop_code .div_1 p::before{
    content: "●";
    display: inline-block;
    font-size: 20px;
}

.shop_code .div_1 img{
    width: 90%;
}

/**グループ検索 group*/
.group{
    position: relative;
}

.group .div_flex{
    justify-content: space-between;
}

img[data-original="../../2-sales_details/2-1-003/img/group_search_1.png"]{
    width: 60%;
    margin-bottom: 5em;/*ｸﾞﾙｰﾌﾟｺｰﾄﾞ用スペース*/
}

/*//ｸﾞﾙｰﾌﾟｺｰﾄﾞ group_code*/
.group_code{
    width: 63%;
    position: absolute;
    top: 48%;
    left: 2em;
}

.group_code p{
    width: 100%;
    text-align: center;
    margin-bottom: 0.5em;
}

img[data-original="../../2-sales_details/2-1-003/img/group_code_1.png"]{
    width: 68%;
}

/**部門コード dept_code*/
.dept_code img{
    width: 35%;
    height: fit-content;
}

/**連番 serial*/
.serial img{
    width: 35%;
    height: fit-content;
}

/**枝番 sub_no*/
.sub_no .div_flex p{
    width: 45%;/*+仮*/
}

.sub_no img{
    width: 35%;
    height: fit-content;
}

/**小計表示　小計単位 subtotal*/
.subtotal{
    position: relative;
}

.subtotal > p:first-of-type{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 1em;
}

.subtotal .img_flex{
    width: 95%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 2em;
}

img[data-original="../../2-sales_details/2-1-003/img/subtotal_1.png"]{
    width: 42%;
}
    
img[data-original="../../2-sales_details/2-1-003/img/subtotal_2.png"]{
    width: 42%;
    height: fit-content;
}

.subtotal .div_1{
    width: 47%;
    position: absolute;
    top: 30%;
    right: 2.9%;
}

.subtotal .div_1 p:first-of-type{
    margin-bottom: 0.5em;
}

.subtotal .div_1 img{
    width: 84.5%;
    margin-bottom: 1em;
}

.subtotal .div_2,
.subtotal .div_3{
    width: 95%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    margin-bottom: 2em;
}

.subtotal .div_2 p,
.subtotal .div_3 p{
    width: 34%;
}


.subtotal .div_2 img,
.subtotal .div_3 img{
    width: 60%;
    margin: 0;
}

.subtotal table{
    width: 90%;
    font-size: 14px;
    margin: 0 auto;
}

.subtotal table th{
    width: 12.5%;
}

.subtotal table td{
    width: calc(50% - 12.5%);
    padding: 0.3em;
}


/**処理種別　移動先(元) transaction_type*/
.transaction_type p{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 0.5em;
}

/*p左丸*/
.transaction_type p::before{
    content: "●";
    display: inline-block;
    font-size: 20px;
}

.transaction_type .div_flex{
    width: 95%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.transaction_type .div_flex .div_1{
    width: 23%;
}

.transaction_type .div_flex .div_2{
    width: 66%;
}

.transaction_type .div_flex img{
    width: 100%;
    height: fit-content;
    margin: 0;
}

/**返品表示 return_display*/
.return_display .div_flex table{
    width: 45%;
    margin-bottom: 0;
}

.return_display img{
    width: 35%;
    height: fit-content;
}

/**税抜表示 tax_excluded*/
.tax_excluded .div_flex{
    width: 95%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    margin-bottom: 2em;
}

.tax_excluded .div_flex p{
    width: 38%;
}

.tax_excluded .div_flex img{
    width: 40%;
    margin-left: 8.5%;
}

.tax_excluded > p:last-of-type{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 1em;
}

.tax_excluded img{
    width: 70%;
}

/**単価表示金額 unit_price*/
.unit_price .div_flex p{
    width: 45%;/*+仮*/
}

.unit_price img{
    width: 30%;
    height: fit-content;
}

/**発売日 release_date*/
.release_date .div_flex{
    width: 95%;
    display: flex;
    justify-content: space-between;
}

.release_date .div_flex p{
    width: 45%;
}

.release_date p:first-of-type::before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../common_img/check_off.png);
    background-size: contain;
    margin-right: 3px;
}

.release_date img{
    width: 35%;
    height: fit-content;
}

/**在庫管理 inventory*/
.inventory p{
    width: 100%;
    padding-left: 2.5%;
}

.inventory p::before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../common_img/check_off.png);
    background-size: contain;
    margin-right: 3px;
}

/**税率別表示 tax_rate_view*/
.tax_rate_view .div_flex{
    width: 95%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.tax_rate_view p{
    width: 45%;
}

.tax_rate_view p::before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../common_img/check_off.png);
    background-size: contain;
    margin-right: 3px;
}

.tax_rate_view img{
    width: 30%;
    height: fit-content;
}

/**検索キー key_search*/
.key_search .div_flex{
    width: 95%;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.key_search p{
    width: 32%;
}

.key_search table{
    width: 57%;
}

/**表示項目 display_items*/
.display_items th{
    margin-bottom: 0;
}

.display_items .tr_1 th{
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-align: left;
    background-color: #000080;
    padding-left: 1em;
}

.display_items .tr_2 td{
    text-align: left;
    padding-left: 1em;
}

.display_items th{
    width: 10%;
}

.display_items td{
    width: calc(50% - 10%);
}

/**画像表示 image_display*/
.image_display .div_flex{
    width: 95%;
    display: flex;
    margin: 0 auto;
}

.image_display img{
    width: 35%;
}

/*+詳細検索*/
/**カテゴリ選択 refine*/
.refine p{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 1em;
}

.refine img{
    width: 67%;
    margin-left: 10%;
}

/*+データダウンロード download*/
.download p{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 1em;
}

.download .div_flex{
    justify-content: space-between;
}

.download .div_flex div{
    width: 49%;
}

.download .div_flex div img{
    width: 20%;
    margin-right: 7%;
}
