

/*----------------------------------*/
/* margin */
/*----------------------------------*/

.ap_o_margin_side{
    margin: 0px 20px;
}
.ap_o_margin-left_auto{
    margin-left: auto;
}
.ap_o_margin_auto{
    margin: auto;
}

@media screen and (max-width: 768px) {
    .sm_margin-bottom{
        margin-bottom: 30px;
    }
    .sm_margin-top{
        margin-top: 30px;
    }

}
/*----------------------------------*/
/* 薬剤師一覧 */
/*----------------------------------*/

.search_input {
    width: 100%;
    border: 1px solid #4175A2;
    border-radius: 7px;
    height: 35px;
    padding-left: 15px;
    background: #fff;
}
.search_label {
    width: 120px;
    max-width: 120px;
    color: #4175A2;
    margin-right: 10px;
}
.search_button {
    width: 250px;
    padding: 10px;
    border: 1px solid #9f9f9f;
    border-radius: 7px;
    color: #4175A2;
    cursor: pointer;
    background: #efefef;
}

@media screen and (max-width: 768px){
    .search_input {
        max-width: 270px;
    }
}
/* 検索結果 ・タイトル*/

.result_title{
    background: #A73849;
    padding: 15px 0px;
    position: relative;
}
.result_title h3{
    color: #ffffff;
    font-size: 24px;
}
.result_title .button {
    position: absolute;
    /*width: 250px;*/
    border-radius: 7px;
    color: #4175A2;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin-right: 15px;
    background: #e;
}

.result_title .button_02 {
    position: absolute;
    width: 250px;
    border-radius: 7px;
    color: #4175A2;
    right: 270px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin-right: 15px;
}


/* 検索結果・表 */
.result_table{
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    background: #fff;
}
.result_table tr td{
    vertical-align: middle;
}
/* 見出しの横 (グレー)*/
.result_table tr td:first-child,
.result_table tr th:nth-child(-n+2){
	background: #fff;
    border-right: solid 2px #9A9A9A;
}
/* 偶数番のみ背景の色変更 */
.result_table tr:nth-child(odd) td:nth-child(-n+2){
	background: #eee;
}


/* IDと氏名 */
.result_table tr:nth-child(2) td:nth-child(-n+2){
    border-top: solid 2px #bbbbbb ;
}
.result_table tr:nth-child(n+2) td:nth-child(-n+2){
    border-bottom: solid 2px #bbbbbb;
}

/* 操作の3つ*/
.result_table tr:nth-child(2) td:not(:last-child).result_ope{
    border-top: solid 2px #D5516D;
}
/* 操作のボタン */
.result_ope {
    border-bottom: solid 2px #D5516D;
    border-left: 2px solid #D5516D;
    margin-left: -1px;
}
.result_ope button {
    border: none !important;
    background: #fff;
    color: #D5516D;
    cursor: pointer;
}
.result_table tr td:last-child.result_ope button{
    color: #FFF;
    background: #CECECE;
}
.result_table th.workname{
    width: 30%;
}
.result_table th.detail{
    width: 60%;
}
.result_table th.dayofweek{
    width: 15%;
}
.result_ope img {
    height: 25px;
    width: auto;
}

/* 削除*/
.result_table tr:nth-child(2) td:last-child.result_ope{
    border-top: solid 2px #9A9A9A;
    margin-top: -1px;
}
.result_table tr td:last-child.result_ope{
    border-bottom: solid 2px #9A9A9A !important;
    border-left: solid 2px #9A9A9A !important;
    border-right: solid 2px #9A9A9A !important;
    background: #CECECE;
}

@media screen and (max-width: 768px) {
    .ap_flex.just_center.result_title{
        justify-content: left;
    }
    .result_title h3 {
        margin-left: 40px;
        font-size: 18px;
    }
    .result_title .button,
    .search_button{
        width: 150px;
    }
    .result_table tr:nth-child(2) td:last-child div.result_ope {
        margin-top: 0px !important;
    }
}
@media screen and (max-width: 415px){
    .result_title h3 {
        margin-left: 20px;
    }
    .ap_font_large {
        font-size: 16px;
    }
    .search_button {
        padding: 8px;
    }
}

/*----------------------------------*/
/* 薬剤師編集 */
/*----------------------------------*/
.ap_o_relative{
    position: relative;
}
.edit_attention {
    position: absolute;
    bottom: -25px;
    right: 160px;
    font-size: 14px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .edit_attention {
        right: unset;
    }
}


/*----------------------------------*/
/* 担当業務設定 */
/*----------------------------------*/
.work_title{
    background: #A73849;
    padding: 15px 0px;
    position: relative;
}
.work_title h3 {
    color: #fff;
    font-size: 24px;
    margin-left: 40px;
}
.add_button{
    background: #fff;
    width: 150px;
    padding: 10px;
}
.add_button.ap_o_margin-left_auto{
    border: solid 2px #A73849;
    padding: 5px;
}
.add_button button{
    background: #fff;
    border: none !important;
    color:#A73849
}
.add_button img,
.delete_button img {
    height: 20px;
    width: auto;
    vertical-align: middle;
}
.delete_button{
    background: #CECECE;
    width: 150px;
    padding: 10px;
}
.delete_button.table{
    width: auto;
}
.delete_button button{
    background: #CECECE;
    border: none !important;
    color:#fff;
}
.work_title .work_button {
    display: flex;
    position: absolute;
    border-radius: 7px;
    color: #4175A2;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin-right: 15px;
}
.work_table{
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.work_table tr:nth-child(2) td:nth-child(-n+3) {
    border-top: solid 2px #bbbbbb;
}
.work_table tr td:nth-child(-n+2),
.work_table tr th:nth-child(-n+2){
    border-right: solid 2px #bbbbbb;
}
.work_table td{
    border-bottom: solid 2px #bbbbbb;
    vertical-align: middle;
}
table.work_table tr th:first-child{
    width: 60%;
}
.work_table tr td:first-child::before{
    /*content: "▼";*/
}

@media screen and (max-width: 768px) {
    .add_button,
    .delete_button {
        width: 100px;
    }
}
@media screen and (max-width: 415px){
    .work_title h3 {
        margin-left: 20px;
    }
    .work_title .work_button {
        display: flex;
        position: unset;
        border-radius: 7px;
        color: #4175A2;
        right: unset;
        top: unset;
        margin-left: 20px;
        -webkit-transform: unset;

    }
}

/*----------------------------------*/
/* 業務マスタ登録 */
/*----------------------------------*/
.workmast_conainer {
    margin: 0 auto;
    max-width: 1200px;
    background-color: #ffffff;;
    border-radius: 10px;
    box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, .3);
}
.workmast_title{
    background: #A73849;
    padding: 15px 0px;
    position: relative;
}
.workmast_title h3{
    color: #ffffff;
    font-size: 24px;
    margin-left: 40px;
}
.workmast_label {
    width: 80px;
    color: #4175A2;
    margin-right: 10px;
}
.workmast_input {
	width: 220px;
	border: 1px solid #4175A2;
	border-radius: 7px;
	height: 35px;
	padding-left: 15px;
	background: #fff;
}
p.workmast_input{
    border: none !important;
}
.workmast_input.count {
    width: 100%;
    margin: 0px 10px;
    max-width: 80px;
    padding-left: 0px;
}
.workmast_contents{
    max-width: 900px;
    margin: 0px auto;
    padding: 0px 30px;
}
.workmast_radio{
    margin: 0px 20px;
}
@media screen and (max-width: 768px) {
    .workmast_input.count {
        width: 100%;
        max-width: 60px;
        margin: 5px 5px;
    }
    .workmast_input {
        max-width: 300px;
        width: 100%;
    }
}
@media screen and (max-width: 415px) {
    .workmast_radio{
        margin: 0px 5px;
    }
    .ap_flex.workmast_block{
        display: block !important;
    }
}

/*----------------------------------*/
/* 人員数一覧 */
/*----------------------------------*/

.result_table.member_list th.detail {
    width: 30% !important;
}
.result_table.member_list th.empty_field {
    width: 40% !important;
}
.result_table tr:nth-child(2) td:last-child.result_ope.member {
    border-top: solid 2px #A73849;
    margin-top: -1px;
}
.result_table tr td:last-child.result_ope.member {
    border-bottom: solid 2px #A73849 !important;
    border-left: solid 2px #A73849 !important;
    border-right: solid 2px #A73849 !important;
    background: #fff;
}
.result_table tr td:last-child.result_ope.member button {
    color: #A73849;
    background: #fff;
}
.result_table.member_list tr:nth-child(-n+3) td:nth-child(-n+3) {
    border-bottom: solid 2px #bbbbbb;
}
.result_table.member_list tr:nth-child(2) td:nth-child(-n+3) {
    border-top: solid 2px #bbbbbb;
}
.result_table.member_list tr th:nth-child(-n+3) {
    background: #fff;
    border-right: solid 2px #9A9A9A;
}
.result_table.member_list tr td:nth-child(-n+2){
    border-right: solid 2px #9A9A9A;
}
.result_table.member_list tr:nth-child(odd) td:nth-child(-n+3) {
    background: #eee;
}
.ap_padding_half.member_edit {
    padding: 15px 5px;
}

/*----------------------------------*/
/* 調剤スケジュール一覧 (川浪さん) */
/*----------------------------------*/

/* 検索結果 ・タイトル*/
.result_title .result_head{
    margin-left: 50px;
}

.result_title .button_02 {
    position: absolute;
    width: 250px;
    border-radius: 7px;
    color: #4175A2;
    right: 270px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin-right: 15px;
}

@media screen and (max-width: 768px){
    .result_title .button_02 {
        right: 60px;
    }
}

@media screen and (max-width: 500px){
    .result_title .result_head {
        margin-left: 25px;
        padding: 50px 0px !important;
    }
    .result_title .button_02 {
        right: 0;
        width: 150px;
        top: 75%;
    }
    .result_title.schedule_list .button {
        top: 30%;
    }
    .excel button{
        width: 79%;
    }
}

/* 見出しの横 (グレー)*/
.result_table.schedule_list tr td:nth-child(2),
.result_table.schedule_list tr th:nth-child(-n+3){
	background: #fff;
    border-right: solid 2px #9A9A9A;
}
/* 偶数番のみ背景の色変更 */
.result_table.schedule_list tr:nth-child(odd) td:nth-child(-n+3){
	background: #eee;
}


/* 年と週 */
.result_table.schedule_list tr:nth-child(2) td:nth-child(-n+3){
    border-top: solid 2px #bbbbbb ;
}
.result_table.schedule_list tr:nth-child(n+2) td:nth-child(-n+3){
    border-bottom: solid 2px #bbbbbb;
}

/*----------------------------------*/
/* ページャー */
/*----------------------------------*/
.page-numbers {
    padding: 0 10px;
    font-size: 19px;
    border: 1px solid #D5516D;
    margin-left: -1px;
    color: #D5516D;;
    background: #fff;
}

.page-numbers.current{
    color: #fff !important;
    background: #D5516D !important;
}

/*----------------------------------*/
/* ヘッダー下リンク */
/*----------------------------------*/
.link_button{
    width: max-content;
    min-width: 160px;
    max-width: 225px;
}
.link_button div{
    border: 1px solid #D5516D;
    padding: 3px 5px;
    text-align: center;
}
.link_button p{
    color: #D5516D;
}

@media screen and (min-width: 850px){
    
}
@media screen and (max-width: 850px){
    .link_button{
        margin-bottom: 15px;
        margin-left: 20px;
    }
    .ap_flex.sm_block.link_buttons{
        display: block !important;
    }
}

/*----------------------------------*/
/* シフト自動設定 */
/*----------------------------------*/
.shiftauto_conainer {
    margin: 0 auto;
    max-width: 1600px;
    background-color: #ffffff;;
    border-radius: 10px;
    box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, .3);
}
.shiftauto_title{
    background: #A73849;
    padding: 15px 0px;
    position: relative;
}
.shiftauto_title h3{
    color: #ffffff;
    font-size: 24px;
    margin-left: 40px;
}
.shiftauto_label {
    width: 80px;
    color: #4175A2;
    margin-right: 10px;
}
.shiftauto_input {
	width: 220px;
	border: 1px solid #4175A2;
	border-radius: 7px;
	height: 35px;
	padding-left: 15px;
	background: #fff;
}
p.shiftauto_input{
    border: none !important;
}
.shiftauto_input.count {
    width: 100%;
    margin: 0px 10px;
    max-width: 80px;
    padding-left: 0px;
}
.shiftauto_contents{
    max-width: 1100px;
    margin: 0px auto;
    padding: 0px 30px;
}
.shiftauto_radio{
    margin: 0px 20px;
}
@media screen and (max-width: 768px) {
    .shiftauto_input.count {
        width: 100%;
        max-width: 60px;
        margin: 5px 5px;
    }
    .shiftauto_input {
        max-width: 300px;
        width: 100%;
    }
}
@media screen and (max-width: 415px) {
    .shiftauto_radio{
        margin: 0px 5px;
    }
    .ap_flex.shiftauto_block{
        display: block !important;
    }
}

/* 表 */
.edit_rank_table{
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    background: #fff;
}

.edit_rank_table tr td{
    vertical-align: middle;
}
/* 見出しの横 (グレー)*/
.edit_rank_table tr td,
.edit_rank_table tr th{
	background: #fff;
    border-right: solid 2px #9A9A9A;
}
/* 偶数番のみ背景の色変更 */
.edit_rank_table tr:nth-child(odd){
	background: #eee;
}

/* IDと氏名 */
.edit_rank_table tr{
    border-top: solid 2px #bbbbbb ;
    border-bottom: solid 2px #bbbbbb;
}

.add_button {
    width: 150px;
    padding: 10px;
    border: 1px solid #9f9f9f;
    border-radius: 7px;
    color: #4175A2;
    cursor: pointer;
    background: #efefef;
}
.edit_rank_button {
    width: 200px;
    padding: 10px;
    border: 1px solid #9f9f9f;
    border-radius: 7px;
    color: #4175A2;
    cursor: pointer;
    background: #efefef;
}