#fgo_cook_tool *{
    box-sizing: border-box;
}

#fgo_cook_tool .input_table td,
#fgo_cook_tool .dish_result_table td:nth-child(2),
#fgo_cook_tool .dish_result_table td:nth-child(3),
#fgo_cook_tool .remstock_result_table td{
    text-align: center;
}
#fgo_cook_tool .input_table input{
    width: 100%;
}
#fgo_cook_tool .input_table select{
    width: 100%;
}
#fgo_cook_tool .calc_trigger{
    font-weight: bold;
    text-shadow: 1px 1px 4px #000000;
    border: 2px solid #d8aa2a;
    color: #fff;
    background: linear-gradient(to right, rgba(54, 85, 151, 1) 0%, rgba(26, 46, 89, 1) 50%, rgba(54, 85, 151, 1) 100%);
    position: relative;
    overflow: hidden;
    font-size: 17px;
    border-radius: 30px;
    cursor: pointer;
    width: 70%;
    margin: 0 15%;
    line-height: 1;
    padding: 15px;
}

#fgo_cook_tool .calc_trigger::before{
    position: absolute;
    content: "";
    background: url(https://appmedia.jp/wp-content/themes/appmedia/lib/fategrandorder/images/img/h2_bg.png);
    width: 50px;
    height: 50px;
    background-size: 50px;
    display: block;
    bottom: 0;
    left: 0;
}


#fgo_cook_tool .input_table th,
#fgo_cook_tool .remstock_result_table th{
    width: calc(100% / 3);
}

#fgo_cook_tool .dish_result_table th:nth-child(1){
    width: 200px;
}
#fgo_cook_tool .dish_result_table th:nth-child(2){
    width: 80px;
}


#fgo_cook_tool .dish_result_table td img{
    margin: 0;
}
#fgo_cook_tool .dish_result_table td:nth-child(1) img{
    margin-right: 5px;
}


#fgo_cook_tool .order_switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    font-weight: bold;
    margin: auto;
}
#fgo_cook_tool .order_switch::before {
    content: "あり";
}
#fgo_cook_tool .order_switch::after {
    content: "なし";
}
#fgo_cook_tool .order_switch .switch {
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    margin: 0 5px;
}
#fgo_cook_tool .order_switch .switch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #1a94fd;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
#fgo_cook_tool .order_switch .switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 100%;
    background: #fff;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
#fgo_cook_tool .order_switch .switch[data-check="1"]::before {
    background: #43a047;
}
#fgo_cook_tool .order_switch .switch[data-check="1"]::after {
    right: 3px;
    left: auto;
}