@CHARSET "UTF-8";
* {
    margin: 0;
    padding: 0;
}
:root {
    --water-col: #e1f0f4;   /* 土曜に使用 */
    --blue-col: #1c77af;
    --snow-col: #f2f2f2;
    --ghost-col: #eaeeef;
    --silver-col: #e6e6e6;
    --dsilver-col: #cccccc;
    --gray-col: #999999;
    --dgray-col: #666666;
    --sakura-col: #ffe9e9;  /* 日曜に使用 */
    --pink-col: #f19eb8;
    --dred-col: #9b2424;
    --red-col: #da3737;
    --base-col: #009b7c;
    --white-col: #ffffff;
    --black-col: #000000;
    --light_yellow-col: #f9f5cf;
    --slight_green-col: #e7f7f4;
    --light_green-col:#d0efe9;

    --yellow-col:#f7e14d;

    --base-width: 1024px;
}
a {
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}
a:hover, a:active, button:hover, .hover_obj:hover {
    opacity: 0.6;
    cursor: pointer;
}
/* 読み上げ対策 */
.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

/* content */
body#web div#content {
    clear: both;
    padding: 2rem;
}
body#web div#content div.mode {
    background-color: var(--blue-col);
    color: white;
    padding: 1rem 1rem 1rem 1.5rem;
}
body#web .sim {
    font-size: 200%;
}
body#web button,
body#web input[type="button"] {
    padding: 0 1rem;
    border-radius: 0.5rem;
    border: none;
    background: var(--base-col);
    color: white;
    margin: 1rem 2rem;
    display: block;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    height: 3rem;
}
body#web button.prev {
    padding-top:10px;
    padding-bottom:10px;
    padding-left:40px;
    padding-right:30px;
    height:60px;
    background-color: var(--white-col);
    border: 2px solid var(--base-col);
    color: var(--base-col);
    font-size: 1.1rem;
    line-height:18px;
    font-weight:bold;
    border-radius:30px;

}
body#web button.next {
    padding-top:10px;
    padding-bottom:10px;
    padding-left:30px;
    padding-right:40px;
    background-color: var(--base-col);
    border: 2px solid var(--base-col);
    color: var(--white-col);
    height:60px;
    font-size:17px;
    line-height:18px;
    font-weight:bold;
    border-radius:30px;
}
body#web button.search {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    background-image: url(/reserve_admin/src/main/css/img/search.png);
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 4rem;
}
body#web button.prev::after,
body#web button.next::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    position: absolute;
    border-top: 3px solid;
    border-left: 3px solid;
    border-radius:1px;
    top: calc(50% - 0.35rem);
}
body#web button.prev::after {
    transform: rotate(-45deg);
    left: 23px;
}
body#web button.next::after {
    transform: rotate(135deg);
    right: 23px;
}
body#web button.del {
    background: var(--bs-pink);
    padding: 0 1.5rem;
}
body#web button.calendar {
    padding: 0 0.5rem;
    margin: 0.5rem 0 0.5rem 0.5rem;
    height: 2.4rem;
}
body#web button.file_input {
    background-image: url(/reserve_admin/src/main/css/img/file_input.png);
}
body#web button.file_output {
    background-image: url(/reserve_admin/src/main/css/img/file_output.png);
}
body#web button.file_input,
body#web button.file_output {
    background-color: var(--ghost-col);
    color: var(--blue-col);
    background-size: 2rem;
    background-repeat: no-repeat;
    background-position-y: 0.75rem;
    background-position-x: center;
    font-size: 0.9rem;
    padding: 3rem 1rem 1.5rem;
    word-break: keep-all;
}
body#web input[type="text"],
body#web input[type="date"],
body#web input[type="password"],
body#web select,
body#web textarea {
    height: 2.4rem;
    border-radius: 0.3rem;
    border: solid 1px var(--dsilver-col);
    background-color: var(--light_yellow-col);
    padding: 0 0.5rem;
    font-size: 1.1rem;
    vertical-align: middle;
    margin: 0.5rem 0 0.5rem 0.5rem;
}
body#web textarea {
    height: 7rem;
    width: 20rem;
}
body#web input[type="radio"],
body#web input[type="checkbox"] {
    border: solid 1px var(--gray-col);
    padding: 0.5rem;
    vertical-align: middle;
}
body#web input[type="radio"] {
    font-size: 1.1rem;
}
body#web .radio_label {
    position: relative;
    top: 0.15rem;
}
body#web table {
    border-collapse: collapse;
}
body#web div.table_box {
    width: 100%;
    overflow: auto;
}
/* 一覧 */
body#web table.list {
    width: 100%;
}
body#web table.list th,
body#web table.list td {
    border-bottom: 1px solid var(--blue-col);
    padding: 0.2em 0.5em;
    font-size: 0.9rem;
}
body#web table.list th {
    background-color: var(--blue-col);
    border-right: 1px solid white;
    color: white;
    text-align: center;
}
body#web table.list th:last-child {
    border-right: 1px solid var(--blue-col);
}
body#web table.list td {
    border-right: 1px solid var(--blue-col);
}
body#web table.list th:first-child,
body#web table.list td:first-child {
    border-left: 1px solid var(--blue-col);
}
body#web table.list td button {
    padding: 0.5rem;
    display: inherit;
    margin: 0 0.1rem;
    text-align: center;
}
body#web table.list tr:nth-child(2n+1) td {
    background-color: var(--ghost-col);
}
body#web table.tablesorter .header ,
body#web table.tablesorter .tablesorter-header  {
    background-image: none;
}
body#web table.tablesorter .header .tablesorter-header-inner,
body#web table.tablesorter .tablesorter-header .tablesorter-header-inner {
    cursor: pointer;
    position: relative;
    text-align: left;
    padding-right: 40px;
}
body#web table.tablesorter .header.no_sort .tablesorter-header-inner,
body#web table.tablesorter .tablesorter-header.no_sort .tablesorter-header-inner {
    cursor: auto;
    padding-right: 0;
}
body#web table.tablesorter .header .tablesorter-header-inner::before,
body#web table.tablesorter .tablesorter-header .tablesorter-header-inner::before,
body#web table.tablesorter .header .tablesorter-header-inner::after,
body#web table.tablesorter .tablesorter-header .tablesorter-header-inner::after {
    content: "";
    height: 8px;
    width: 8px;
    position: absolute;
    border-top: 2px white solid;
    border-right: 2px white solid;
    top: 50%;
}
body#web table.tablesorter .header .tablesorter-header-inner::before,
body#web table.tablesorter .tablesorter-header .tablesorter-header-inner::before {
    right: 25px;
    transform: translateY(-2px) rotate(-45deg);
}
body#web table.tablesorter .header .tablesorter-header-inner::after,
body#web table.tablesorter .tablesorter-header .tablesorter-header-inner::after {
    right: 10px;
    transform: translateY(-6px) rotate(135deg);
}
body#web table.tablesorter .headerSortUp .tablesorter-header-inner::before,
body#web table.tablesorter .tablesorter-headerSortUp .tablesorter-header-inner::before,
body#web table.tablesorter .tablesorter-headerAsc .tablesorter-header-inner::before,
body#web table.tablesorter .headerSortDown .tablesorter-header-inner::after,
body#web table.tablesorter .tablesorter-headerSortDown .tablesorter-header-inner::after,
body#web table.tablesorter .tablesorter-headerDesc .tablesorter-header-inner::after {
    content: none;
}
body#web table.tablesorter .header.no_sort .tablesorter-header-inner::after,
body#web table.tablesorter .header.no_sort .tablesorter-header-inner::before,
body#web table.tablesorter .tablesorter-header.no_sort .tablesorter-header-inner::after,
body#web table.tablesorter .tablesorter-header.no_sort .tablesorter-header-inner::before {
    content: none;
}
/* 入力フォーム */
body#web div.input_box {
    height: 20rem;
    overflow-y: auto;
    margin: 0 0 2rem;
}
body#web div.input_table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}
body#web div.input_table div.tr {
    display: table-row;
}
body#web div.input_table div.th {
    word-break: keep-all;
}
body#web div.input_table div.th,
body#web div.input_table div.td {
    display: table-cell;
    border-top: 1px solid var(--dgray-col);
    border-bottom: 1px solid var(--dgray-col);
    height: 5rem;
    vertical-align: middle;
    padding: 0 1rem;
}
body#web div.input_table div.select_td {
    height: 9.4rem;
}
body#web div.input_table div.th {
    background-color: var(--ghost-col);
    font-size: 0.95rem;
    font-weight: bold;
}
body#web div.input_table div.th span {
    color: white;
    border-radius: 3px;
    padding: 0rem 0.5rem;
    font-size: 0.75rem;
    margin-left: 1rem;
    font-weight: normal;
}
body#web div.input_table div.th span.required {
    background-color: var(--dred-col);
}
body#web div.input_table div.th span.any {
    background-color: var(--dgray-col);
}
/* 入力フォーム下のボタン */
body#web div.table_footer {
    display: flex;
    padding: 1rem 0;
    justify-content: center;
}
/* 一覧下のボタン */
body#web div.list_footer {
    bottom: 2rem;
    position: absolute;
    width: calc(100% - 4rem);
}
body#web div.list_footer div {
    display: flex;
    justify-content: center;
}
.pc {
    display: initial;
}
.sp {
    display: none;
}
body#web .row {
    margin: 0;
}

/*bootstrap 上書き*/
body#web input:disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}
body#web select:disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}
body#web textarea:disabled{
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}

ul.error {
    color:red;
    text-align: left;
    margin: 0 1rem;
    list-style-type: none;
}

div.invalid-feedback{
    color:red;
}

/*
    body#web div#mainの変更
*/
body#web div.main{
    max-width:var(--base-width);
    width:100%;
    margin:0 auto;
    box-sizing:border-box;
}

/*大きめタイトル*/
body#web div.big_title{
    background-color:var(--base-col);
    color:var(--white-col);
    font-size:20px;
    line-height: 50px;
    border-radius:7px;
    font-weight:bold;
}
body#web div.big_title > div.white_bar{
    border:2px solid var(--white-col);
    /*border-right:2px solid var(--white-col);*/
    border-radius:4px;
    height:20px;
    position:relative;
    display: inline;
    margin-left: 9px;
    margin-right: 10px;
}

/*大きめタイトル2*/
body#web div.normal_title_bar{
    background-color:var(--light_green-col);
    color:var(--black-col);
    font-size:18px;
    line-height: 40px;
    border-radius:7px;
    font-weight:bold;
    padding-left:20px;
    position: relative;
    margin: 2rem 0;
}
body#web div.normal_title_bar::before{
    content: '';
    position: absolute;
    width:20px;
    height:20px;
    top:60%;
    /*left:50%;*/
    left:calc(50% - 20px);
    background-color:var(--light_green-col);
    transform: rotate(45deg);
    display: inline-block;
    z-index:-1;
}

body#web div.yoyaku_waku {
    border-top:1px dotted var(--base-col);
    display: table;
    width: 100%;
}
body#web div.yoyaku_waku.last {
    border-bottom:1px dotted var(--base-col);
}
body#web div.yoyaku_waku > div{
    display: table-cell;
    vertical-align: middle;
    padding: 1rem;
}
body#web div.yoyaku_waku > div.yoyaku_waku_title{
    font-weight:bold;
    color:var(--base-col);
    background-color:var(--light_yellow-col);
    width: 6rem;
}
body#web div.yoyaku_waku > div.yoyaku_waku_body{
    color:var(--black-col);
}

/* カレンダー機能 始まりを月曜日に設定
    週の1番目(月曜) 色をデフォルトに
    週の6番目(土曜) 色を青に
    週の7番目(日曜) 色を赤に
 */
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7n+1),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n+1) {
  color: rgba(0, 0, 0, 0.54) !important;
}
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(6),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n+6) {
  color: blue !important;
}
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n) {
  color: red !important;
}


/*デスクトップ*/
@media screen and (min-width: 1024px) {
    body#web div.breadcrumbs > div{
        font-size:15px;
    }
    body#web div.breadcrumbs > div > span{
        padding-right:18px;
    }
    body#web div.breadcrumbs > div > img{
        padding-right:18px;
    }
    body#web div.yoyaku_waku > div{
    }
}


/*モバイル*/
@media screen and (max-width: 1023px) {
    body#web div.flow_box {
        padding: 0.75rem 1rem;
    }
    body#web div.flow_box div.flow ol {
        display: block;
    }
    body#web div.flow_box div.flow ol li::after {
        content: none;
    }
    body#web div.flow_box div.flow ol {
        margin: 0 auto;
    }
    body#web div.breadcrumbs > div{
        padding-left:10px;
    }
    body#web div.breadcrumbs > div{
        font-size:13px;
    }
    body#web div.breadcrumbs > div > span{
        padding-right:5px;
    }
    body#web div.breadcrumbs > div > img{
        padding-right:5px;
    }

    body#web div.normal_title_bar {
        margin: 2rem 1rem;
    }
    body#web div.yoyaku_waku {
        width: calc(100% - 2rem);
        margin: 0 auto;
        display: block;
    }
    body#web div.yoyaku_waku > div {
        display: block;
    }
    body#web div.yoyaku_waku > div.yoyaku_waku_title {
        width: auto;
    }
    body#web div.yoyaku_waku > div.yoyaku_waku_body {
        border-top: 1px dotted var(--base-col);
    }

    body#web button.prev,
    body#web button.next {
        font-size: 1rem;
        line-height: inherit;
        padding: 0.75rem 1rem;
        padding-left: 1rem;
        height: auto;
        margin: 0 0.25rem;
    }
    body#web button.prev {
        padding-left: 2rem;
    }
    body#web button.next {
        padding-right: 2rem;
    }
    body#web button.prev::after {
        left: 1rem;
    }
    body#web button.next::after {
        right: 1rem;
    }
}
/* max-width: 1024px */
/* max-width: 400px */

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

    body#web div.normal_title_bar {
        font-size: 1rem;
    }

    body#web input[type="text"],
    body#web input[type="date"],
    body#web input[type="password"],
    body#web select,
    body#web textarea {
        font-size: 1rem;
    }
}