body {
    margin: 0px;
    background-color: #EBEDEF;
    font-family: "Noto Sans JP", sans-serif;
}


.header_content {
    margin-top: 8px;
    display: flex;
    height: 40px;
}

.header_title_div {
    font-size: 1.5rem;
    font-weight: bold;
    padding-left: 22px;
    width: 200px;
    white-space: nowrap;
    font-family: "Noto Sans JP", sans-serif;
}

.header_title_image {
    display: inline-block;
    margin-bottom: 5px;
}

.header_action_div {
    padding-top: 0px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.icon-white {
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 7px;
    filter: invert(1);
}

.icon-merge {
    display: inline-block;
    margin-bottom: 3px;
    margin-right: 7px;
}

.icon-settings {
    display: inline-block;
    margin-bottom: 3px;
    margin-right: 7px;
    cursor: pointer;
}

#pdf_upload_button,
#pdf_upload_button2,
#marge_pdf_button,
#export_image_button {
    white-space: nowrap;
    width: 230px;
}


.header_settings_div {
    padding-top: 8px;
    min-width: 30px;
    margin-left: auto;
}

.header_company_logo_div {
    padding-top: 6px;
    padding-right: 8px;
    min-width: 148px;
}

#main_content {
    margin: 0px;
}

.drop_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(107, 99, 99, 0.9);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(2px);
}

#input_content {
    position: relative;
    background-color: #FFFFFF;
    margin: 55px 10px 10px 10px;
    border: 1px solid #B0BEC5;
    border-radius: 2px;
    height: calc(98vh - 50px - 0px);
    overflow: hidden;
}

#input_content_inner {
    overflow-y: auto;
    height: 100%;
    padding: 20px 5px 20px 20px;
}

#input_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    padding-right: 0px !important;
}

#not_input {
    margin-top: 80px;
    /* height: 100%; */
    width: 100%;
}

#not_input_content {
    display: flex;
    align-items: center;
    margin: auto;
    width: 700px;
    height: 300px;
    border: 2px dashed rgba(0, 0, 0, 0.4);
}

#not_input_content_inner {
    text-align: center;
    width: 100%;
}

.footer_content {
    text-align: right;
    height: 30px;
    padding-right: 10px;
}

.label_settings_item {
    user-select: none;
    font-size: 0.9rem;
    vertical-align: 1px;
}

.settings_space_div {
    margin: 30px;
}


.settings_image_size_option {
    padding-left: 30px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.settings_image_size_option.show {
  max-height: 300px;
  opacity: 1;
}

#number_input_image_size_limit {
    width: 80px !important;
    flex: 0 0 auto;
}

.label_radio_image_size {
    margin-right: 20px;
}

#div_image_size_limit {
    margin-top: 5px;
}

#pdf_upload_button2 {
    margin-bottom: 10px;
}

.pdf_div {
    width: 250px;
    height: 300px;
    border: 1px solid #BDBDBD;
    cursor: grab;
    padding: 5px;
    box-sizing: border-box;
    background: #f9f9f9;
    border-radius: 2px;
}

.pdf_div:active {
    cursor: grabbing;
}

.pdf_action_div {
    height: auto;
    display: block;
}

.action_table_ele {
    width: 100%;
    margin: 0;
    padding: 0;
    border-spacing: 0;
}

.action_table_tbody {
    width: 100%;
}

.action_table_tr {
    vertical-align: top;
}

.action_table_ele td {
    vertical-align: top !important;
}

.action_table_td1 {
    vertical-align: top;
    text-align: left;
    min-width: 20px;
}

.action_table_td2 {
    width: 28px;
}

.action_table_td3 {
    width: 28px;
}

.action_table_td4 {
    width: 28px;
}

.pdf_order_no_span {
    display: inline-block;
    vertical-align: top;
    line-height: 1;
    margin: 0;
    padding: 0;
    opacity: 0.8;
    font-weight: bold;
}

.view_button {
    vertical-align: top;
    background-color: #FFFFFF;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #999;
    cursor: pointer;
}

.duplicate_button {
    vertical-align: top;
    background-color: #FFFFFF;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #999;
    cursor: pointer;
    transform: rotate(90deg);
}

.rotate_button {
    vertical-align: top;
    background-color: #FFFFFF;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #999;
    cursor: pointer;
    transform: rotate(90deg);
}

.pdf_name_div {
    text-align: center;
    margin-bottom: 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0px 5px 0px 5px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.pdf_action2_div {
    position: relative;
    bottom: 19px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.delete_button {
    margin-right: 0px;
    vertical-align: top;
    background-color: #FFFFFF;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #999;
    cursor: pointer;
}

.pdf_canvas_div {
    text-align: center;
    height: 229px;
}

.pdf_action_div {
    text-align: right;
}

.pdf_canvas {
    border: 1px solid #BDBDBD;
    filter: drop-shadow(0.5px 0.5px 1px rgba(0, 0, 0, 0.4));
    -webkit-filter: drop-shadow(0.5px 0.5px 1px rgba(0, 0, 0, 0.4));
    margin: auto;
}


.image_btn_close_div {
    right: 3px;
    width: 20px;
    height: auto;
    position: absolute;
    top: -28px;
    padding: 0px;
    text-align: center;
    cursor: pointer;
    color: #FFFFFF;
}

.close-icon-white {
    filter: invert(1);
    display: inline-block;
}

.image_logo_image_div {
    left: 0px;
    height: auto;
    position: absolute;
    top: -36px;
    padding: 0px;
    pointer-events: none;
}

.image_overlay_div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 8997;
}

.image_next_div,
.image_back_div {
    z-index: 10000;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.image_next_div {
    right: 5px;
}

.image_back_div {
    left: 5px;
}

.disable_image_change {
    opacity: 0.3;
    cursor: auto;
}

.image_frame_container_div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47.8%);
    z-index: 8998;
    width: 80%;
    height: 80%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 800px;
}

.image_header_div {
    left: 50%;
    transform: translate(-49.95%, 0%);
    width: 100.0%;
    height: 30px;
    position: fixed;
    top: -31px;
    border-radius: 2px;
    background-color: #323639;
    padding-top: 4px;
    padding-bottom: 0px;
    text-align: center;
    border: solid 1px #aaaaaa;
    pointer-events: none;
}

.image_container_div {
    z-index: 8999;
    width: 100%;
    height: 100%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.image_canvas {
    border: 1px solid #BDBDBD;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.7));
    -webkit-filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.7));
}

.original_loading_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(107, 99, 99, 0.9);
    z-index: 8997;
}

.original_loading_overlay_container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47.8%);
    z-index: 8998;
    color: #FFFFFF;
}

#label_not_input_content_drag_and_drop {
    user-select: none;
}

.settings_modal {
    max-width: 900px;
    min-width: 700px;
    margin-left: auto;
    margin-right: auto;
}