/* i-Nes stylesheet */
/* 2023.06 ishimaru Development Division 2 */
/* ログインページ・メインページ */

/* ログインページ,PW再設定ページ */
.login_main{
    width: 300px;
    margin: 1em auto;
    padding: 40px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: #999 1px 1px 10px;
    box-sizing: content-box;
}
.login_main img{
    max-width: 100%;
}
.login_input input{
    max-width: 100%;
    font-size: 2em;
    font-weight: lighter;
    /* color: #666;     */
    border: solid 1px #999;
    border-radius: 5px;
    box-sizing: border-box;   
}
.login_submit{
    margin: 50px auto 0;
}
.login_submit input{
    width: 80%;
    padding: 1em;
    color: white;
    background-color: #3551b7;
    border:solid 2px #3551b7;
    border-radius: 1em;
}
.login_submit input:hover{
    color: #3551b7;
    background-color: #ffffff;    
    transition: .3s;    
}
.login_submit ul{
    list-style: none;
    margin: 25px 0;
    padding-left: 0;
    display: flex;
    justify-content: center;
    font-size: 0.6em;
}
.login_submit ul li{
    margin: 0 1em;
}
.login_submit ul li a{
    color: #999;
}
.alert-error{
    margin-top: 10px;
    padding: 1px 8px 1px 14px;
    border-color: #eed3d7;
    color: #fa0000;
    background-color: #f2dede;
    border-radius: 20px;
}
.close{
    float: right;
    position: relative;
    right: 15px;
    top: 16px;
    line-height: 20px;
    border: 0;
    border-radius: 100%;
}
.close:hover{
    background: #ff5d5d;
    color: #FFF;
}
.required{
    color: #ff4e4e;
    font-size: 0.8em;
    font-weight: bold;
}

/*再設定メール送信ページ*/
.resetMail_main{
    width: 600px;
    margin: 1em auto;
    padding: 40px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: #999 1px 1px 10px;
    box-sizing: content-box;
}
.resetMail_main h2{
    margin-bottom: 10px;
    font-size: 1em;
    color: #ff4e4e;
}
.resetMail_input input{
    max-width: 100%;
    font-size: 2em;
    font-weight: lighter;
    color: #666;    
    border: solid 1px #999;
    border-radius: 5px;
    box-sizing: border-box;   
}
.resetMail_submit{
    margin: 50px auto 0;
}
.resetMail_submit input[type="submit"]{
    width: 80%;
    padding: 1em;
    color: white;
    background-color: #3551b7;
    border:solid 2px #3551b7;
    border-radius: 1em;
    margin: 1em;
}
.resetMail_submit input[type="button"]{
    width: 80%;
    padding: 1em;
    color: white;
    background-color: #a6b9fb;
    border:solid 2px #a6b9fb;
    border-radius: 1em;
    margin: 1em;
}
.resetMail_submit input:hover{
    color: #3551b7;
    background-color: #ffffff;    
    transition: .3s;    
}
.resetMail_submit ul{
    list-style: none;
    margin: 25px 0;
    padding-left: 0;
    display: flex;
    justify-content: center;
    font-size: 0.6em;
}
.resetMail_submit ul li{
    margin: 0 1em;
}
.resetMail_submit ul li a{
    color: #999;
}

/* メインページ */
.maincontents{
    background-color: #FFF;
}
.page_title p{
    margin-bottom: 0;
    font-size: 2em;
    text-align: center;
    color: #3551b7;
}
p#top{
    margin-bottom: 50px;
}
.maincontents_button{
    margin-bottom: 100px;
}
.button_invoice{
    list-style: none;
    width: 600px;
    margin: auto auto 25px;
    padding-left: 0;
    display: block;
}
.button_invoice li{
    width: 600px;
    background-color: #3551b7;
    color: #FFF;
    border-radius: 15px;
}
.button_invoice li a{
    padding: 1em 1em;
    display: block;
    text-align: center;
    font-size: 2em;
    color: #FFF;
    text-decoration: none;
    border: solid 1px #3551b7;
    border-radius: 15px;    
}
.button_history li a{
    padding: .5em 1em;
    display: block;
    text-align: center;
    font-size: 2em;
    color: #FFF;
    text-decoration: none;
    border: solid 1px #3551b7;
    border-radius: 15px;    
}
.button_invoice li a:hover{
    color: #3551b7;
    background-color: #FFF;    
    transition: .5s;
}
.button_maintenance{
    list-style: none;
    width: 600px;
    margin: auto auto 25px;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
}
.button_maintenance li{
    width: 291px;
    background-color: #cf3712;
    color: #FFF;
    border-radius: 15px;
}
.button_maintenance li a{
    padding: .5em 1em;
    display: block;
    text-align: center;
    font-size: 1.5em;
    color: #FFF;
    text-decoration: none;
    border: solid 1px #cf3712;
    border-radius: 15px;    
}
.button_maintenance li a:hover{
    color: #cf3712;
    background-color: #FFF;
    transition: .5s;
}

.separator{
    text-align: center;
}

/* 請求書送信 */
.send_invoice {
    padding: 20px;
}
.send_invoice input[name="csv_file"]{
    padding: 5px;
    margin-top: 10px;
    border: solid 3px #3551b7;
    border-radius: 5px;
    background-color: #ecebff;
    font-size: 17px;
    width: 98%;
}
.send_invoice.btn{
    text-align: center;
}
.send_invoice.btn input{
    padding: 10px 20px;
    margin: 0px 70px;
    background-color: #3551b7;
    font-size: 20px;
    color: white;
    border:solid 2px #3551b7;
    border-radius: 15px;
}
.send_invoice.btn input:hover{
    color: #3551b7;
    background-color: #ffffff;    
    transition: .3s;  
}

.send_invoice.btn .cancel{
    padding: 10px 20px;
    margin: 0px 70px;
    background-color: #a6b9fb;
    font-size: 20px;
    color: white;
    border:solid 2px #a6b9fb;
    border-radius: 15px;
}
.send_invoice.btn .cancel:hover{
    color: #a6b9fb;
    background-color: #ffffff;    
    transition: .3s;  
}
.send_invoice.btn input:hover{
    color: #3551b7;
    background-color: #ffffff;    
    transition: .3s;  
}

/* 請求書送信確認 */
.send_invoice table{
    border-collapse: collapse;
    width: 710px;
}
.send_invoice tr,
.send_invoice td{
    padding: 5px;
    border: solid 3px #3551b7;
}
.send_invoice tr.column{
    background-color: #ecebff;
}
.send_invoice tr.list{
    color: #cf3712;
}
.send_invoice p.list_count{
    text-align: right;
}

/* 送信履歴・再送信 */
.send_history .resend_check{
    width: 8% !important;
}
.send_history .send_num{
    width: 5% !important;
}
.send_history .send_date,
.send_history .resend_date,
.send_history .billing_deadline,
.send_history .amount{
    width: 15% !important;
}
.send_history .seikyu_code{
    width: 9% !important;
}
#resend_search {
    width: 100%;
    height: 110px;
    border-spacing: 0;
    margin-bottom: 20px;
    background: #dbdbdb;
    padding: 10px;
}
table#resend_search th{
    text-align: center;
    color:#3f3f3f;
}
table#resend_search td{
    text-align: left;
    color: #3f3f3f;
}
table#resend_search td.date input{
    width: 95%;
}
table#resend_search td select{
    width: 99%;
}
table#resend_search td.kara {
    text-align: center;
}
td#search_btn{
    text-align: right!important;
}
#search_btn input{
    margin-right: 20px;
}


/* 担当マスタ保守 */
#user{
    padding-bottom: 30px;
}
.user_list{
    margin: 0 5%;
    width: 90%;
    background-color: #FFF;
}
#user_list {
    width: 100%;
    border-collapse:separate;
    border-spacing: 0;
}
table#user_list th:first-child{
    border-radius: 5px 0 0 0;
}
table#user_list th:last-child{
    border-radius: 0 5px 0 0;
    border-right: 1px solid #3c6690;
}
table#user_list th{
    text-align: center;
    color:white;
    background: linear-gradient(#829ebc,#3551b7);
    border-left: 1px solid #3c6690;
    border-top: 1px solid #3c6690;
    border-bottom: 1px solid #3c6690;
    box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
    width: 23%;
    padding: 10px 0;
}
table#user_list #select{
    width: 15%;
}
table#user_list td{
    text-align: center;
    border-left: 1px solid #a8b7c5;
    border-bottom: 1px solid #a8b7c5;
    border-top:none;
    box-shadow: 0px -3px 5px 1px #eee inset;
    width: 23%;
    padding: 10px 0;
    word-break: break-all;
}
table#user_list td:last-child{
    border-right: 1px solid #a8b7c5;
  }
  table#user_list tr:last-child td:first-child {
      border-radius: 0 0 0 5px;
    }
    table#user_list tr:last-child td:last-child {
        border-radius: 0 0 5px 0;
    }
.user_list h1{
    margin-bottom: 30px;
    font-size: 1.5em;
    text-align: center;
    color: white;
    background-color: #3551b7;
    border-radius: 1em;
}
.user_button{
    margin: 50px auto 0 ;
    display: flex;
    justify-content: center;
}
.user_button .regist{
    width: 50%;
    padding: 1em;
    color: white;
    background-color: #3551b7;
    border:solid 2px #3551b7;
    border-radius: 1em;
}
.user_button .cancel{
    width: 30%;
    padding: 1em;
    margin: 0 1em;
    color: white;
    background-color: #a6b9fb;
    border:solid 2px #a6b9fb;
    border-radius: 1em;
}
.user_button input:hover{
    color: #3551b7;
    background-color: #ffffff;    
    transition: .3s;    
}
td#select input{
    width: 70%;
    padding: 0.2em 0.5em;
    color: white;
    border-radius: 1em;
}
td#select input#edit{
    background-color: #3551b7;
    border:solid 2px #3551b7;
}
td#select input#edit:hover{
    color: #3551b7;
    background-color: #ffffff;    
    transition: .3s;    
}
td#select input#delete{
    background-color: #f26161;
    border:solid 2px #f26161;
}
td#select input#delete:hover{
    color: #f26161;
    background-color: #ffffff;    
    transition: .3s;    
}


/* 担当者登録 */
.user_edit{
    margin: 0 5%;
    width: 90%;
    background-color: #FFF;
}
#user_edit {
    width: 100%;
    border-collapse:separate;
    border-spacing: 0 10px;
}
.user_edit p{
    font-size: 1.2em;
    margin-bottom: 0;
}
table#user_edit th{
    text-align: center;
    color:white;
    background: linear-gradient(#829ebc,#3551b7);
    border-left: 1px solid #3c6690;
    border-top: 1px solid #3c6690;
    border-bottom: 1px solid #3c6690;
    box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
    width: 30%;
    padding: 10px 0;
}
table#user_edit td{
    display: block;
    text-align: left;
    border-right: 1px solid #a8b7c5;
    border-bottom: 1px solid #a8b7c5;
    border-top:1px solid #a8b7c5;
    box-shadow: 0px -3px 5px 1px #eee inset;
    padding: 10px 0;
}
.user_edit h1{
    margin-bottom: 30px;
    font-size: 1.5em;
    text-align: center;
    color: white;
    background-color: #3551b7;
    border-radius: 1em;
}
.user_edit p.notice{
    margin: 0 auto 0 10px;
    font-size: 0.8em;
    color: #cf3712;
}
.user_edit input{
    width: 90%;
    max-width: 100%;
    font-size: 1.2em;
    font-weight: lighter;   
    border: solid 1px #999;
    border-radius: 5px;
    box-sizing: border-box;  
    margin: 0 auto 0 10px; 
}
.user_edit ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.user_edit ul li input{
    width: 10%;
    height: 20px;
}
.user_edit ul li label{
    font-size: 1.2em;
}


/* 自社情報マスタ保守 */
#office{
    padding-bottom: 30px;
}
.company_input h1{
    margin: 20px 30px 0 30px;
    font-size: 1.5em;
    text-align: center;
    color: white;
    background-color: #3551b7;
    border-radius: 1em;
}
.company_input p{
    margin: 30px auto 0 30px;
    font-size: 1.5em;
}
.company_input textarea{
    width: 100%;
    height: 100px;
    font-size: 1.3em;
    font-weight: lighter;   
    border: solid 1px #a3a3a3;
    box-sizing: border-box;  
}
.company_input .notice{
    font-size: 0.8em;
    color: #cf3712;
}
.company_input input{
    width: 100%;
    max-width: 100%;
    height: 40px;
    font-size: 1.3em;
    font-weight: lighter;   
    border: solid 1px #a3a3a3;
    box-sizing: border-box;  
}
.company_button{
    margin: 50px auto 0 ;
    display: flex;
    justify-content: center;
}
.company_button .regist{
    width: 50%;
    padding: 1em;
    color: white;
    background-color: #3551b7;
    border:solid 2px #3551b7;
    border-radius: 1em;
}
.company_button .cancel{
    width: 30%;
    padding: 1em;
    margin: 0 1em;
    color: white;
    background-color: #a6b9fb;
    border:solid 2px #a6b9fb;
    border-radius: 1em;
}
.company_button input:hover{
    color: #3551b7;
    background-color: #ffffff;    
    transition: .3s;    
}
.office_list{
    margin: 20px 5% 0 5%;
    border-spacing: 0;
    width: 90%;
}
table.office_list th{
    text-align: center;
    color:white;
    background: linear-gradient(#829ebc,#3551b7);
    border-left: 1px solid #3c6690;
    border-top: 1px solid #3c6690;
    box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
    width: 25%;
    padding: 10px 0;
}
table.office_list td{
    border-right: 1px solid #a8b7c5;
    border-top: 1px solid #a8b7c5;
    box-shadow: 0px -3px 5px 1px #eee inset;
    width: 75%;
}
table.office_list td[colspan="1"]{
    width: 25%;
}
table.office_list tr:last-child th {
    border-bottom: 1px solid #3c6690;
}
table.office_list tr:last-child td {
    border-bottom: 1px solid #a8b7c5;
}
table.office_list input[type="radio"]{
    position: relative;
    width:50px;
    height: 20px;
    top: 4px;
}
.company_input button{
    width: 20%;
    margin: 5px;
    color: white;
    background-color: #ff7c33;
    border:solid 2px #ff7c33;
    border-radius: 1em;
}
textarea{
    resize: none;
}
.tooltip { /* 補足説明するテキストのスタイル */
    position: relative;
    cursor: pointer;
  }
  .tooltip img{
    position : absolute;
    padding: 3px;
  }
  
  .description_top { /* ツールチップのスタイル */
    width: 260px; /* 横幅 */
    position: absolute;
    left: 50%;
    bottom: 80%; /* Y軸の位置 */
    transform: translateX(-50%);
    margin-bottom: 8px; /* テキストとの距離 */
    padding: 8px;
    border-radius: 10px; /* 角の丸み */
    background-color: #666;
    /* font-size: 0.7em; */
    color: #fff;
    text-align: center;
    visibility: hidden; /* ツールチップを非表示に */
    opacity: 0; /* 不透明度を0％に */
    z-index: 1;
    transition: 0.5s all; /* マウスオーバー時のアニメーション速度 */
  }
  
  .tooltip:hover .description_top { /* マウスオーバー時のスタイル */
    bottom: 100%; /* Y軸の位置 */
    visibility: visible; /* ツールチップを表示 */
    opacity: 1; /* 不透明度を100％に */
  }