/*+購買履歴CSS*/
ul li{
    color: black;
    padding: 0;
    margin: 0;
}

ul{
    padding: 0;
    margin: 0;
}

table{
    height: fit-content;
}

table .div_flex{
    width: 100%;
}

button,
.button{
    all: unset;
}

img:not(.filter img){
    width: 100%;
}

/*+表示条件 filter*/
/**検索 search_customer*/
.search_customer .div_flex{
    justify-content: space-between;
}

.search_customer p{
    flex: 0.85;
}

/*clearボタン*/
.search_customer p span{
    display: inline-block;
    width: 4.3em;
    text-align: center;
    letter-spacing: 0.15em;
    font-size: 15px;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif;
    color: #1A5EFF;
    background-color: #CCCCCC;
    padding-top: 0.2em;
    margin-right: 0.2em;
}

.search_customer img{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/*+購買履歴　表示項目*/
/*img購買履歴画面1、2*/
#img_purchase_history_screen_1,
#img_purchase_history_screen_2{
    max-width: 1485px;
}

/*//画面タイトル screen_title*/
.screen_title h4{
    width: 93%;
    font-size: 20px;
    font-weight: 400;
    color: black;
    background: #c8c8c8;
    padding: 3px;
    margin: 1em auto;
}

.screen_title p{
    width: 95%;
    margin: 0 auto;
}

/*//上部リンク nav_list*/
.nav_list .div_flex{
    align-items: baseline;
}

.nav_list .div_flex p{
    width: 50%;
}

.nav_list ul{
    flex: 1;
    height: fit-content;
}

.nav_list ul li{
    padding: 0.2em 0.4em;
    margin: 0 1em;
}

.nav_list ul li a{
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.nav_list ul li span{
    font-size: 20px;
}

/*//パネルに検索条件を表示 .on_panel*/
.on_panel .div_flex figcaption{
    padding-left: 1em;
}

/*img選択した店舗を表示、選択したグループを表示*/
#img_on_panel_1,
#img_on_panel_2{
    max-width: 856px;
    width: 95%;
}

/**表示項目 display_items*/
.display_items th{
    width: 15%;
}

/*==画像 show_image*/
.show_image th .div_flex{
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    margin: 0.3em auto;
}

#img_switch_on{
    max-width: 400px;
    width: 50%;
    margin: 0;
}

.show_image td p{
    flex: 0.95;
}

.show_image td img{
    max-width: 400px;
}

/*==印刷　？アイコン　CSVアイコン/*印刷*/
.display_items th .fa-print{
    display: inline-block;
    font-size: 45px;
    line-height: 0.85;/* 行の高さを詰める */
    margin-top: 5px;
    position: relative;
    z-index: 0
}

.display_items th .fa-print::after{
    content: "";
    display: inline-block;
    width: 0.5em;
    height: 0.84em;
    background: #fff;
    border-top-right-radius: 5px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: -1;
}

/*？アイコン、CSVアイコンに白背景*/
.display_items th .fa-question-circle,
.display_items th .fa-file-text-o{
    display: inline-block;
    font-size: 45px;
    line-height: 0.85;/* 行の高さを詰める */
    background: #fff;
    border-top-right-radius: 20px;
    margin: 5px auto;
    margin-top: 7px;
}

/*？アイコン*/
.display_items th .fa-question-circle{
    line-height: 0.7;
    border-radius: 20px;
}


/*==伝票・明細 slip_and_details*/
.slip_and_details td div h4{
    font-weight: 400;
    margin: 0;
}

/*h4左丸*/
.slip_and_details td div h4::before{
    content: "●";
    display: inline-block;
    font-size: 20px;
}

.slip_and_details td div p{
    width: 97%;
    margin: 0 auto;
}

.slip_and_details td .div_1{
    margin-bottom: 1em;
}

.slip_and_details td figure{
    width: 40%;
}

/*__拡大画像*/
.slip_and_details .img_zoom {
    display: block;
    max-width: 731px;/*拡大前のサイズ*/
    border: 2px solid transparent;/*2pxの透明な枠*/
    box-shadow: none;/*1pxのborderっぽく囲う*/
}

.slip_and_details .img_zoom:hover{
    border-color: #78D1F3;/*透明な2pxに色をつける*/
    border-radius: 5px;
}

.slip_and_details td figcaption{
    font-size: 14px;
    text-align: center;
}

/*==商品コード・商品名 product_code_name*/
.product_code_name th .div_flex{
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.product_code_name th .div_2{
    gap: 2.5em;
}

.product_code_name th .div_flex img{
    width: 12%;
    margin: 0;
}

.product_code_name td img{
    display: inline-block;
    width: 1.5em;
    margin: 0 0.2em;
}
