/*+カテゴリ登録（カテゴリ商品マスタ用）CSS*/
table,ul li{
    color: black;
    padding: 0;
    margin: 0;
}

ul{
    padding: 0;
    margin: 0;
}

table{
    height: fit-content;
}

table .div_flex{
    width: 100%;
}

.button{
    all: unset;
}

.com_border p{
    width: 95%;
    margin: 0 auto;
}

/*+カテゴリ（カテゴリリスト）の追加手順*/
/**追加先のカテゴリを選択する select_target_category*/
.select_target_category > p:first-of-type{
    margin-bottom: 1em;
}

/*「カテゴリ１」を選択*/
.select_target_category .div_img p{
    width: 95%;
    text-align: center;
    padding-top: 1em;
}

/*下向き矢印 arrow*/
.select_target_category .div_img p::after{
    content: "↓";
    display: block;
    font-size: 35px;
    font-weight: 900;
    color: #4F4F4F;
}

.select_target_category > p:last-of-type{
    margin-top: 1em;
}

/**入力項目 input_item*/
.input_item th span{
    display: block;
    color: #CC3333;
}

.input_item tr:last-of-type td p{
    margin-bottom: 1em;
}

/*登録ボタン*/
.input_item tr:last-of-type td p .button{
    display: inline-block;
    width: 3.5em;
    text-align: center;
    font-family: "ＭＳ Ｐゴシック", sans-serif;    
    background-color: #EFEFEF;
    border: 1px solid #767676;
    border-radius: 3px;
    padding: 0 0.3em;
    padding-bottom: 0.1em;
    margin-right: 0.2em;
}

/*imgカテゴリnoとカテゴリ名を入力し、「登録」ボタンをクリックで追加登録完了*/
#img_input_item_1{
    max-width: 603px;
}

.input_item tr:last-of-type td .div_flex{
    margin-bottom: 1em;
}

/*下向き矢印*/
.input_item tr:last-of-type td .arrow{
    display: flex;
    justify-content: center;
    padding: 1em 0;
}

.input_item tr:last-of-type td .arrow::before{
    content: "↓";
    font-size: 35px;
    font-weight: 900;
    color: #4F4F4F;
}

.input_item tr:last-of-type td .div_flex{
    justify-content: space-around;
}

/*imgカテゴリ商品マスタのカテゴリ選択画面に自動へ追加を反映*/
#img_input_item_2{
    max-width: 287px;
    margin: 0;
}

/*imgカテゴリ登録のリスト編集画面へ追加を反映*/
#img_input_item_3{
    max-width: 761px;
    margin: 0;
}