@charset "UTF-8";

/* *****************************************************************************
    tag
***************************************************************************** */
/* * */
*{
    box-sizing: border-box;
    word-break: break-all;
    overflow-wrap: break-word;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    padding: 0;
    margin: 0;
}

/* body */
body{
    min-height: 100vh;
    background-color: #f3f4f7;
    color: #434a54;
    font-family: "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1;
}

/* img */
img{
    font-size: 10px;
    line-height: 1;
    vertical-align: top;
    object-fit: cover;
}

/* a */
a{
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

a:link{
    color: #0284c7;
}

a:visited{
    color: #0284c7;
}

a:active{
    color: #0284c7;
}

a:hover{
    color: #0284c7;
    text-decoration: underline;
}

/* table */
table{
    border-collapse: collapse;
    table-layout: fixed;
}

/* ul */
ul{
    list-style-type: none;
}

/* ol */
ol{
    list-style-type: none;
}

/* label */
label{
    line-height: 20px;
    margin: 6px 0 4px 0;
}

label.inline-block{
    display: inline-block;
    margin: 0;
}

label.inline-block:nth-of-type(n + 2){
    margin: 16px 0 0 0;
}

/* form */
form{
    width: 100%;
}

/* input */
input{
    height: 32px;
    background-color: #ffffff;
    border: 1px #ccd1d9 solid;
    border-radius: 4px;
    color: #434a54;
    font-family: "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "MS PGothic", sans-serif;
    font-size: 16px;
    padding: 0 8px;
}

input::placeholder{
    color: #ccd1d9;
}

/* input[type="text"] */
input[type="text"]{
    width: 100%;
}

input[type="text"].input-id{
    width: 136px;
}

input[type="text"].input-code{
    width: 152px;
}

input[type="text"].input-no{
    width: 136px;
}

input[type="text"].input-name{
    width: calc(50% - 8px);
}

input[type="text"].input-date{
    width: 112px;
}

input[type="text"].input-year{
    width: 64px;
}

input[type="text"].input-month{
    width: 40px;
}

input[type="text"].input-day{
    width: 40px;
}

input[type="text"].input-postal-code{
    width: 96px;
}

/* input[type="password"] */
input[type="password"]{
    max-width: 320px;
    width: 100%;
}

/* input[type="number"] */
input[type="number"]{
    width: 80px;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button{
    -webkit-appearance: none; 
    margin: 0; 
}

/* input[type="tel"] */
input[type="tel"]{
    width: 136px;
}

/* input[type="email"] */
input[type="email"]{
    width: 100%;
}

/* input[type="checkbox"] */
input[type="checkbox"]{
    width: 20px;
    height: 20px;
    border: none;
    border: 1px #ccd1d9 solid;
    vertical-align: -4px;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0 8px 0 0;
}

input[type="checkbox"]:checked{
    background-color: #0284c7;
    border: 1px #0284c7 solid;
}

input[type="checkbox"]:checked::before{
    content: "";
    width: 5px;
    height: 11px;
    border-right: 4px #ffffff solid;
    border-bottom: 4px #ffffff solid;
    position: absolute;
    top: 0;
    left: 5px;
    transform: rotate(50deg);
}

input[type="checkbox"]:disabled{
    cursor: default;
}

input[type="checkbox"]:disabled:checked{
    background-color: #aab2bd;
    border: 1px #aab2bd solid;
}

/* input[type="radio"] */
input[type="radio"] {
    width: 20px;
    height: 20px;
    border: none;
    border: 1px #ccd1d9 solid;
    border-radius: 50%;
    vertical-align: -4px;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0 8px 0 0;
}

input[type="radio"]:checked{
    border: 1px #0284c7 solid;
}

input[type="radio"]:checked::before{
    content: "";
    width: 12px;
    height: 12px;
    background-color: #0284c7;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="radio"]:disabled{
    cursor: default;
}

input[type="radio"]:disabled:checked{
    border: 1px #aab2bd solid;
}

input[type="radio"]:disabled:checked::before{
    background-color: #aab2bd;
}

/* input[type="file"] */
input[type="file"]{
    width: 100%;
    height: 32px;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="file"]::file-selector-button{
    width: 144px;
    height: 100%;
    border: none;
    border-right: 1px #ccd1d9 solid;
    border-top-left-radius: 3px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 0;
    color: #656d78;
    font-size: 16px;
    line-height: 32px;
    padding: 0;
    margin: 0 8px 0 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* select */
select{
    max-width: 100%;
    height: 32px;
    border: 1px #ccd1d9 solid;
    border-radius: 4px;
    color: #434a54;
    font-family: "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "MS PGothic", sans-serif;
    font-size: 16px;
    padding: 0 8px;
}

/* textarea */
textarea{
    width: 100%;
    height: 320px;
    background-color: #ffffff;
    border: 1px #ccd1d9 solid;
    border-radius: 4px;
    color: #434a54;
    font-family: "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    padding: 8px;
    resize: none;
}

/* *****************************************************************************
    error
***************************************************************************** */
div#error{
    padding: 8px 0;
}

/* *****************************************************************************
    box
***************************************************************************** */
div.box{
    width: 100%;
    background-color: #ffffff;
    border: 1px #ccd1d9 solid;
    line-height: 1.5;
    padding: 24px 24px 32px 24px;
    margin: 0 0 16px 0;
}

div.box.normal{
    border-top: 2px #192f60 solid;
}

div.box.important{
    border-top: 2px #c71585 solid;
    color: #c71585;
}

div.box.error{
    border-top: 2px #dc143c solid;
    color: #dc143c;
}

div.box div.box-header{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
}

div.box div.box-header div.box-header-title-full{
    width: 100%;
    font-size: 18px;
    font-weight: bold;
}

div.box div.box-header div.box-header-title{
    width: calc(100% - 88px);
    font-size: 18px;
    font-weight: bold;
}

div.box.normal div.box-header div.box-header-title-full,
div.box.normal div.box-header div.box-header-title,
div.box.normal div.box-header div.box-header-subtitle{
    color: #192f60;
}

div.box.important div.box-header div.box-header-title-full,
div.box.important div.box-header div.box-header-title,
div.box.important div.box-header div.box-header-subtitle{
    color: #c71585;
}

div.box div.box-header div.box-header-action{
    width: 88px;
    text-align: right;
    padding: 2px 0 0 0;
}

div.box div.box-header div.box-header-subtitle{
    width: 100%;
    font-size: 14px;
    font-weight: bold;
}

div.box div.box-main-error{
    width: 100%;
    color: #dc143c;
    margin: 24px 0 0 0;
}

div.box div.box-main-block{
    width: 100%;
    margin: 24px 0 0 0;
}

div.box div.box-main-between{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    margin: 24px 0 0 0;
}

div.box div.box-main-evenly{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: flex-start;
    align-items: flex-start;
    margin: 24px 0 0 0;
}

div.box div.box-main-right{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    align-items: flex-start;
    margin: 24px 0 0 0;
}

div.box div.box-main-grid{
    width: 100%;
    display: grid;
    gap: 16px;
    margin: 24px 0 0 0;
}

div.box div.box-action-left{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    margin: 32px 0 0 0;
}

div.box div.box-action-center{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
    margin: 32px 0 0 0;
}

div.box div.box-action-right{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    align-items: flex-start;
    margin: 32px 0 0 0;
}

div.box div.box-action-between{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: center;
    margin: 32px 0 0 0;
}

/* ----- @media ------------------------------------------------------------- */
@media screen and (max-width: 1400px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 992px){

}

@media screen and (max-width: 768px){
    div.box{
        padding: 24px 16px;
    }
}

@media screen and (max-width: 576px){

}

/* *****************************************************************************
    ボタン
***************************************************************************** */
/* primary */
a.button-primary{
    width: 200px;
    height: 40px;
    background-color: #0283c6;
    border-radius: 4px;
    text-align: center;
    line-height: 40px;
}

a.button-primary:link{
    color: #ffffff;
}

a.button-primary:visited{
    color: #ffffff;
}

a.button-primary:active{
    color: #ffffff;
}

a.button-primary:hover{
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

/* secondary */
a.button-secondary{
    width: 200px;
    height: 40px;
    background-color: #656d78;
    border-radius: 4px;
    text-align: center;
    line-height: 40px;
}

a.button-secondary:link{
    color: #ffffff;
}

a.button-secondary:visited{
    color: #ffffff;
}

a.button-secondary:active{
    color: #ffffff;
}

a.button-secondary:hover{
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

/* ----- @media ------------------------------------------------------------- */
@media screen and (max-width: 1400px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 992px){

}

@media screen and (max-width: 768px){

}

@media screen and (max-width: 576px){
    /* primary */
    a.button-primary{
        width: 100%;
    }

    /* secondary */
    a.button-secondary{
        width: 100%;
    }

    /* margin */
    a.sp-order1{
        order: 1;
    }

    a.sp-order2{
        order: 2;
        margin: 24px 0 0 0;
    }

    a.sp-order3{
        order: 3;
        margin: 24px 0 0 0;
    }
}

/* *****************************************************************************
    リンク
***************************************************************************** */
a.link{
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 0 4px;
    line-height: 1.5;
    padding: 1px 0 2px 24px;
}

a.link.link-attachment{
    background-position: 0 5px;
    background-image: url("../img/link/attachment.png");
}

a.link.link-popup{
    background-image: url("../img/link/popup.png");
}

a.link.link-rss{
    background-image: url("../img/link/rss.png");
}

a.link.link-addition{
    background-image: url("../img/link/addition.png");
}

a.link.link-update{
    background-image: url("../img/link/update.png");
}

a.link.link-deletion{
    background-image: url("../img/link/deletion.png");
}

a.link.link-initialization{
    background-image: url("../img/link/initialization.png");
}

a.link.link-search{
    background-image: url("../img/link/search.png");
}

a.link.link-search{
    background-image: url("../img/link/search.png");
}

a.link.link-test{
    background-image: url("../img/link/test.png");
}

a.link.link-result{
    background-image: url("../img/link/result.png");
}

a.link.link-detail{
    background-image: url("../img/link/detail.png");
}

a.link.link-report{
    background-image: url("../img/link/report.png");
}

a.link.link-approval{
    background-image: url("../img/link/approval.png");
}

a.link.link-attendance{
    background-position: 0 5px;
    background-image: url("../img/link/attendance.png");
}

a.link.link-list{
    background-image: url("../img/link/list.png");
}

a.link.link-folder{
    background-image: url("../img/link/folder.png");
}

a.link.link-logout{
    background-image: url("../img/link/logout.png");
}

a.link.link-vertical:nth-of-type(n + 2){
    margin: 8px 0 0 0;
}

a.link.link-horizontal:nth-of-type(n + 2){
    margin: 0 0 0 16px;
}

/* *****************************************************************************
    ステータス
***************************************************************************** */
span.status{
    border-radius: 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    line-height: 1;
    display: inline-block;
    padding: 4px;
}

span.status.status-small{
    width: 88px;
}

span.status.status-middle{
    width: 120px;
}

span.status.status-large{
    width: 216px;
}

span.status.status-preparing{
    background-color: #ffce54;
}

span.status.status-public{
    background-color: #48cfad;
}

span.status.status-private{
    background-color: #ac92ec;
}

span.status.status-temporary{
    background-color: #ffce54;
}

span.status.status-valid{
    background-color: #48cfad;
}

span.status.status-invalid{
    background-color: #ac92ec;
}

span.status.status-deleted{
    background-color: #656d78;
}

span.status.status-complete{
    background-color: #5d9cec;
}

span.status.status-incomplete{
    background-color: #ec87c0;
}

span.status.status-reserved{
    background-color: #ffce54;
}

span.status.status-unreported{
    background-color: #ec87c0;
}

span.status.status-reported{
    background-color: #48cfad;
}

span.status.status-approved{
    background-color: #5d9cec;
}

span.status.status-before{
    background-color: #48cfad;
}

span.status.status-today{
    background-color: #ed5565;
}

span.status.status-after{
    background-color: #656d78;
}

span.status.status-attend{
    background-color: #48cfad;
}

span.status.status-zoom{
    background-color: #5d9cec;
}

span.status.status-no-attend{
    background-color: #ec87c0;
}

span.status.status-undecided{
    background-color: #ffce54;
}

span.status.status-not-answered{
    background-color: #656d78;
}

/* *****************************************************************************
    分類名
***************************************************************************** */
div.category-name{
    width: 100%;
    background-color: #f5f7fa;
    border-top: 1px #dddddd solid;
    font-weight: bold;
    padding: 8px 16px;
}

div.category-name:nth-of-type(n + 2){
    margin: 24px 0 0 0;
}

/* ----- @media ------------------------------------------------------------- */
@media screen and (max-width: 1400px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 992px){

}

@media screen and (max-width: 768px){
    div.category-name{
        padding: 8px;
    }
}

@media screen and (max-width: 576px){

}

/* *****************************************************************************
    一覧
***************************************************************************** */
table.list{
    width: 100%;
    vertical-align: center;
}

table.list th{
    border-top: 1px #dddddd solid;
    border-bottom: 2px #dddddd solid;
    color: #656d78;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
    padding: 8px 16px;
}

table.list td{
    border-top: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    vertical-align: top;
    padding: 16px;
}

/* ----- @media ------------------------------------------------------------- */
@media screen and (max-width: 1400px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 992px){
    table.list tr:hover{
        background-color: transparent;
    }

    table.list tr{
        border-top: 1px #dddddd solid;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: flex-start;
        align-items: flex-start;
        padding: 8px;
    }

    table.list tr:first-of-type{
        display: none;
    }

    table.list tr:last-of-type{
        border-bottom: 1px #dddddd solid;
    }

    table.list td{
        width: 100%;
        border: none;
        display: block;
        padding: 0;
    }
}

@media screen and (max-width: 768px){

}

@media screen and (max-width: 576px){

}

/* *****************************************************************************
    詳細
***************************************************************************** */
table.detail{
    width: 100%;
}

table.detail td.title{
    width: 240px;
    border-top: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    color: #656d78;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
    padding: 16px;
}

table.detail td.value{
    width: calc(100% - 240px);
    border-top: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    vertical-align: top;
    padding: 16px;
}

/* ----- @media ------------------------------------------------------------- */
@media screen and (max-width: 1400px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 992px){

}

@media screen and (max-width: 768px){
    table.detail tr{
        border-top: 1px #dddddd solid;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: flex-start;
        align-items: flex-start;
        padding: 16px 8px;
    }

    table.detail tr:last-of-type{
        border-bottom: 1px #dddddd solid;
    }

    table.detail td.title{
        width: 100%;
        background-color: #ffffff;
        border: none;
        color: #656d78;
        font-size: 14px;
        font-weight: bold;
        display: block;
        padding: 0;
    }

    table.detail td.value{
        width: 100%;
        border: none;
        display: block;
        padding: 0;
        margin: 16px 0 0 0;
    }
}

@media screen and (max-width: 576px){

}

/* *****************************************************************************
    フォーム
***************************************************************************** */
table.form{
    width: 100%;
}

table.form td.title{
    width: 240px;
    border-top: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    color: #656d78;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    padding: 16px;
}

table.form td.badge{
    width: 72px;
    border-top: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    padding: 16px;
}

table.form td.badge span.mandatory{
    color: #ed5565;
}

table.form td.badge span.optional{
    color: #aab2bd;
}

table.form td.value{
    width: calc(100% - 312px);
    border-top: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    padding: 16px;
}

table.form td.value div.value-flex-start{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
}

table.form td.value div.value-flex-between{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: center;
}

table.form td.value div.value-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px 8px;
}

table.form td.value div.value-grid div.value-grid-item{
    width: 100%;
}

table.form td.value img.photo{
    width: 100px;
    height: 100px;
    border: 1px #ccd1d9 solid;
}

table.form tr.original{
    display: none;
}

/* ----- @media ------------------------------------------------------------- */
@media screen and (max-width: 1400px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 992px){

}

@media screen and (max-width: 768px){
    table.form tr{
        border-top: 1px #dddddd solid;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: center;
        padding: 16px 8px;
    }

    table.form tr:last-of-type{
        border-bottom: 1px #dddddd solid;
    }

    table.form td.title{
        width: auto;
        background-color: #ffffff;
        border: none;
        color: #656d78;
        font-size: 14px;
        font-weight: bold;
        padding: 0;
    }

    table.form td.badge{
        width: auto;
        background-color: #ffffff;
        border: none;
        padding: 0;
        margin: 0 0 0 8px;
    }

    table.form td.value{
        width: 100%;
        border: none;
        display: block;
        padding: 0;
        margin: 8px 0 0 0;
    }
}

@media screen and (max-width: 576px){

}

/* *****************************************************************************
    ドロップダウン
***************************************************************************** */
img.dropdown{
    cursor: pointer;
}

div.dropdown-list{
    background-color: #ffffff;
    border: 1px #e6e9ed solid;
    box-shadow: 0 0 2px 2px rgba(128, 128, 128, 0.1);
    text-align: left;
    display: none;
    position: absolute;
    top: 44px;
    right: 8px;
    z-index: 5;
    padding: 16px;
}

div.dropdown-list.dropdown-large{
    width: 144px;
}

div.dropdown-list.dropdown-middle{
    width: 120px;
}

div.dropdown-list.dropdown-small{
    width: 96px;
}

div.dropdown-list.dropdown-card{
    top: 28px;
    right: -8px;
}

div.dropdown-list.dropdown-photo{
    top: 28px;
    right: -8px;
}

/* ----- @media ------------------------------------------------------------- */
@media screen and (max-width: 1400px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 992px){
    div.dropdown-list{
        top: 28px;
        right: -8px;
    }
}

@media screen and (max-width: 768px){

}

@media screen and (max-width: 576px){

}
