/*+伝票・明細情報：粗利別CSS*/
/*//設定リセット*/
h5{
    font-weight: normal;
    color: black;
}

/*共通*/
.div_flex{
    width: 95%;
    display: flex;
    margin: 0 auto;
}

.spa_block{
    display: block;
}

table,ul{
    margin-bottom: 0;
}

ul{
    color: black;
}

.div_flex_h3{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

img{
    height: fit-content;
}

/**指定期間 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-008/img/shop_code_1.png"]{
    width: 45%;
}

.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%;
}

/**部門コード dept_code*/
.dept_code img{
    width: 35%;
    height: fit-content;
}

/**粗利計算金額 gross_profit*/
.gross_profit .div_flex{
    width: 95%;
    justify-content: space-between;
}

.gross_profit .div_1{
    width: 44%;
}

.gross_profit .div_1 img{
    width: 97%;
    margin-top: 0.5em;
}

.gross_profit table{
    width: 55%;
}

.gross_profit table .tr_1 th{
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: left;
    font-weight: bold;
    color: #3D4449;
    background-color: #ECECFF;
    padding-left: 1em;
}

.gross_profit table .tr_2 td{
    font-weight: bold;
}

.gross_profit table th{
    width: 10%;
}

.gross_profit table tr:not(.tr_1):not(.tr_2) th,
.gross_profit table tr:not(.tr_1):not(.tr_2) td {
    font-size: 14px;
}

/**連番 serial*/
.serial img{
    width: 35%;
    height: fit-content;
}

/**店舗別表示 by_store*/
.by_store p{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 2em;
}

/*h5左丸*/
.by_store h5{
    margin-bottom: 0.5em;
}

.by_store h5::before{
    content: "●";
    display: inline-block;
    font-size: 20px;
}

img[data-original="../../2-sales_details/2-1-008/img/by_store_1.png"]{
    width: 70%;
}

img[data-original="../../2-sales_details/2-1-008/img/by_store_2.png"]{
    width: 71%;
}

/**枝番 sub_no*/
.sub_no img{
    width: 35%;

}

/**日別表示 by_day*/
.by_day p{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 2em;
}

/*h5左丸*/
.by_day h5{
    margin-bottom: 0.5em;
}

.by_day h5::before{
    content: "●";
    display: inline-block;
    font-size: 20px;
}

img[data-original="../../2-sales_details/2-1-008/img/by_day_1.png"]{
    width: 53%;
}

img[data-original="../../2-sales_details/2-1-008/img/by_day_2.png"]{
    width: 53%;
}

/**検索キー key_search*/
.key_search{
    position: relative;
}

.key_search .div_flex{
    justify-content: space-between;
}

.key_search .div_flex img{
    width: 42%;
    margin: 0;
    padding-bottom: 5em;/*table用余白*/
}

.key_search table{
    width: 62%;
    font-size: 14px;
    margin-left: 2em;
    position: absolute;
    top: 33.5%;
}

.key_search table th{
    width: 7.5em;
}

.key_search table td{
    padding: 0.5em 0.23em;
}

/**表示項目 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 img{
    width: 35%;
}

/*+詳細検索 advanced_search*/
/**仕入値選択 advanced_search div_1*/
.advanced_search .div_1 p{
    width: 50%;
}
.advanced_search .div_1 img{
    width: 40%;
}

/**税抜表示 tax_excl*/
.tax_excl p{
    width: 100%;
    padding-left: 1em;
}

.tax_excl ul{
    color: black;
    margin-top: 0.5em;
    margin-left: 5%;
    margin-bottom: 1em;
}

.tax_excl ul li span{
    text-decoration: underline;
}

/**売値選択 advanced_search div_3*/
.advanced_search .div_3 p{
    width: 50%;
}
.advanced_search .div_3 img{
    width: 40%;
}

/**カテゴリ選択 refine*/
.refine p{
    width: 100%;
    padding-left: 1em;
    margin-bottom: 1em;
}

.refine img{
    width: 60%;
}

/**データダウンロード 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 h4{
    font-weight: normal;
    color: black;
    margin-bottom: 0.3em;
}

/*h4左●*/
.download .div_flex div h4::before{
    content: "●";
    display: inline-block;
    font-size: 20px;
}

.download .div_flex div img{
    width: 20%;
    margin-right: 7%;
}