@charset "UTF-8";

/* Sass でできるカスタマイズは Sass でやること！ */

body {background: #EAECEE;}
.page-title {display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; background: #FFF; margin-bottom: 0.5rem;}
.page-title h1 {margin-bottom: 0; padding: 0.25rem;}
.page-title h1 i {color: var(--bs-primary);}
.section {padding: 0.5rem; background: #FFF; margin-bottom: 0.5rem;}
/* .section *:last-child {margin-bottom: 0 !important;} */
.section-title {display: flex; justify-content: space-between; align-items: center; background: #FFF; margin: 0 -0.25rem 0.5rem; padding: 0 0.25rem 0.25rem; border-bottom: 1px solid #F2EEEE;}
.section-title h2 {margin-bottom: 0; padding: 0.25rem;}

/**
 * BootStrap コントラスト調整
 */
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:active {color: #FFF;}
.btn-warning,
.btn-warning:hover,
.btn-warning:active,
.btn-outline-warning:hover,
.btn-outline-warning:active {color: #FFF;}
.badge.bg-light {color: var(--bs-dark);}

.btn {white-space: nowrap;}

/**
 * 独自汎用クラス
 */
.container-tight {width: min(560px, 100%); margin: auto;}

.form-readonly {width: 100%; min-height: 30px; padding: 0.2rem 0.4rem; font-size: 1rem; line-height: 1.5; border-bottom: 1px solid #DDD;}
.form-readonly-ellipsis {width: 100%; min-height: 30px; padding: 0.2rem 0.4rem; font-size: 1rem; line-height: 1.5; border-bottom: 1px solid #DDD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

.table-layout-fixed {table-layout: fixed;}
.input-group-multiple + span .selection .select2-selection {border-radius: 0 4px 4px 0 !important;}

.flex-1 {flex-grow: 1 !important;}
.flex-2 {flex-grow: 2 !important;}
.flex-3 {flex-grow: 3 !important;}

.word-break-all {word-break: break-all;}

.max-width-full {max-width: 100%; height: auto;}

.cursor { cursor: pointer; }

.sub-title {
    border-bottom: 1px solid #dee2e6;
    margin: .5rem 0 1rem;
    color: #060680;
}

/**
 * ページ専用パーツ
 */
.status-bar {width: 100%; overflow-x: scroll;}
.status-bar ul {display: flex; justify-content: flex-start; padding: 0; list-style-type: none; border: 1px solid var(--bs-primary); background: #FFF;}
.status-bar li {position: relative; margin-right: -1rem; padding: 0.5rem 1rem 0.5rem 2.5rem; color: var(--bs-primary); background: #FFF; white-space: nowrap;}
.status-bar li::before {content: ""; position: absolute; left: 0; top: 0; width: 1.5rem; height: 100%; border-right: 1px solid var(--bs-primary); border-radius: 0 1.5rem 1.5rem 0; background: #FFF;}
.status-bar li:first-child {padding-left: 1rem;}
.status-bar li:first-child::before {display: none;}
.status-bar li.active {background: var(--bs-primary); color: #FFF;}
.status-bar li.active + li::before {background: var(--bs-primary);}



/**
 * 管理者スケジュール表
 */
.time-zone-box:first-child {
    margin-top: 20px;
}
.time-zone-box div {
    font-size: 1.1rem;
    margin-bottom: 77px;
    border: 2px solid transparent;
    text-align: right;
}
.time-zone-box div:last-child {
    margin-bottom: 0;
}
.schedule-admin-table {z-index: 0;}
.schedule-admin-table .th-date {
     text-align: center;
     width: 200px;
     font-size: 1rem;
}
.schedule-admin-table th {
    text-align: center;
}
.schedule-admin-table td {
    height: 54px;
    position: relative;
    padding: 3px .5rem 3px .3rem;
    vertical-align: top;
    color: #333;
    background-color: #fff;
}
.schedule-admin-table td.cell-selected {
    background-color: #DBEFFB;
}
.schedule-admin-table td span {
    font-size: .8rem;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.2;
    padding: 0 .2rem;
}
.schedule-admin-table td span:first-child {
    padding: .1rem .2rem;
    margin-bottom: .2rem;
    line-height: 1.5;
}

.schedule-admin-table td .reservation-box {
    border: 2px solid #59C2FF;
}
.schedule-admin-table td .reservation-box span:first-child {
    background-color: #59C2FF;
}
.reservation-box.pending-icon span:first-child:before {
    content: "\F506";
    font-family: bootstrap-icons !important;
    display: inline-block;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    color: #ffdf00;
    padding-right: .2rem;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.reservation-box.phone-icon:after {
    content: "\F5B4";
    font-family: bootstrap-icons;
    text-align: center;
    align-items: center;
    color: white;
    font-weight: bold;
    background-color: #bbb;
    width: 14px;
    height: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    border-radius: 5px 0 0 0;
    font-size: 0.6em !important;
    padding: .05rem .2rem;
}
.box-wrap {
    display: flex;
    gap: .3rem;
    height: 47px;
}
.box-child {
    position: relative;
    flex: 1;
    max-width: calc(50% - .3rem);
}
.box {
    position: absolute;
    font-size: 15px;
    width: 100%;
    background-color: #fff;
    cursor: pointer;
    min-height: 48px;
    z-index: 2;
}
.box.dummy-box {
    border: 2px solid transparent;
    background-color: transparent;
    z-index: 0;
}
.schedule-admin-table .work-box {
border: 2px solid #e89b6b;
}
.schedule-admin-table .work-box span:first-child {
    background-color: #e89b6b;
}
.bi-question-diamond-fill {
    color: #ffdf00;
}

@media (max-width: 992px) {
    .time-zone-box:first-child {
        margin-top: 35px;
    }
}
@media (max-width: 767px) {
    .time-zone-box {
        display: none;
    }

    .schedule-admin-table td span {
        font-size: 16px;
        vertical-align: top;
        opacity: 0.5;
    }
}
@media (max-width: 576px) {
    .schedule-admin-table .ht-date--day-of-week {
        display: block;
        font-size: .8rem;
        line-height: 1;
    }
}
@media (max-width: 375px) {
    .schedule-admin-table .th-date {
        font-size: .9rem !important;
    }
}

/* 検索フォーム */
.search-form .search-form-input {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0 .7rem;
}
.search-form .search-form-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding-right: calc(var(--bs-gutter-x)* 0.2);
    padding-left: calc(var(--bs-gutter-x)* 0.2);
}
.search-form label .form-check-input {
    margin-top: .35rem;
}

/* テーブル */
.reservation-table-list th, .reservation-table-list td {
    text-align: center;
}

/* ----- モーダル ----- */
.modal-header {
    color: #fff;

}
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}
.modal-body {
    padding: 1rem 2rem;
}
/* .modal-body button {
    color: #fff;
} */

/* .modal-body .__reservation-type-1 {
    display: none;
} */

/* 新規追加（来店予約）選択時 */
#__checked-reservation .modal-header {
    background-color: #060680;
}
#__checked-reservation .modal-border-color {
    border: 2px solid #060680;
}

#__checked-reservation .__reservation-type-1 {
    display: flex;
}
#__checked-reservation .__reservation-type-2 {
    display: none;
}
#__checked-reservation .modal-button-wrap button {
    color: #074380;
    border: 2px solid #074380;
}
#__checked-reservation .modal-button-wrap button:hover {
    color: #fff;
    background-color: #060680;
}

/* 新規追加（社内予定）選択時 */
#__checked-company-reservation .modal-header {
    background-color: #e89b6b;
}
#__checked-company-reservation .modal-border-color {
    border: 2px solid #e89b6b;
}
#__checked-company-reservation .__reservation-type-1 {
    display: none;
}
#__checked-company-reservation .__reservation-type-2 {
    display: flex;
}
#__checked-company-reservation .modal-button-wrap button {
    color: #e89b6b;
    border: 2px solid #e89b6b;
}
#__checked-company-reservation .modal-button-wrap button:hover {
    color: #fff;
    background-color: #e58041;
}
#__checked-company-reservation .form-check-input:checked {
    background-color: #e89b6b;
    border-color: #e89b6b;
}


/* モーダル内行 */
.modal-th {
    flex-basis: 30%;
    text-align: center;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
}
.modal-th span {
    background-color: #e0e0e0;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    font-size: .9rem;
    white-space: nowrap;
    display: block;
    width: 100%;
}
.modal-td {
    flex-basis: 70%;
    font-weight: bold;
    padding: 0 .5rem;
}
.modal-td-textarea {
    font-weight: normal;
    font-size: .95rem;
    border: 1px solid #dee2e6;
    padding: .2rem .4rem;
}
/* モーダルボタン */
.modal-button-wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
}
.modal-button-right {
    margin: 0 0 0 auto;
}
.btn-reservation {
    background-color: #59C2FF;
    border: 1px #59C2FF;
    color: #fff;
}
.btn-reservation:hover {
    background-color: #1aa3f2;
    color: #fff;
}
.btn-company {
    background-color: #e89b6b;
    border: 1px #e89b6b;
    color: #fff;
}
.btn-company:hover {
    background-color: #e6864a;
    color: #fff;
}

/* 個別モーダル */
.detail-modal .modal-header,
.edit-modal .modal-header {
    background-color: #59C2FF;
    color: #fff;
}
.detail-modal .modal-button-wrap button,
.edit-modal .modal-button-wrap button {
    color: #59C2FF;
    border: 2px solid #59C2FF;
    color: #666;
}
.detail-modal .modal-button-wrap button:hover,
.edit-modal .modal-button-wrap button:hover {
    background-color: #59C2FF;
    color: #fff;
}

.detail-modal .__pending {
    display: none;
}
.detail-modal#pending-reservation .modal-title:before {
    content: "\F506";
    font-family: bootstrap-icons;
    font-weight: 400;
    font-size: 1.5rem;
    /* rotate: 20deg; */
    color: #ffdf00;
    padding-right: .5rem;
}
.detail-modal#pending-reservation .__pending {
    display: block;
}
.detail-modal#phone-reservation .modal-title:before {
    content: "\F5B4";
    font-family: bootstrap-icons;
    font-weight: 400;
    font-size: 1.5rem;
    rotate: 20deg;
    color: #fff;
}
.detail-modal .modal-button-wrap button.btn-outline-warning {
  color: #000;
  background-color: #fff6b6;
  border: 2px solid #ffdf00;
}
.detail-modal .modal-button-wrap button.btn-outline-warning:hover {
  color: #000;
  background-color: #ffdf00;
  border-color: #ffdf00;
}

.cancel-modal .modal-header {
    background-color: #800707;
    color: #fff;
}
.company-detail-modal .modal-header,
.edit-company-modal .modal-header {
    background-color: #e89b6b;
    color: white;
}
.company-detail-modal .modal-button-wrap button,
.edit-company-modal .modal-button-wrap button {
    color: #666;
    border: 2px solid #e89b6b;
}
.company-detail-modal .modal-button-wrap button:hover,
.edit-company-modal .modal-button-wrap button:hover {
    color: #fff;
    background-color: #e89b6b;
}
.create-modal .modal-header {
    background-color: #074380;
    color: #fff;
}

.cancel-confirm-modal  .modal-header,
.remove-confirm-modal .modal-header
{
    background-color: #6c0505;
    color: white;
}

.fix-confirm-modal .modal-header {
    background-color: #ffdf00;
    color: #666;
}
.send-sms-confirm-modal .modal-header {
    background-color: #074380;
    color: #fff;
}
.add-company-reservation-confirm-modal .modal-header {
    background-color: #e89b6b;
    color: #fff;
}

.icon-explanation {
    color: #fff;
    font-weight: bold;
    background-color: #bbb;
    height: auto;
    border-radius: 5px;
    font-size: 0.6em !important;
    padding: .2rem;
    display: flex;
    align-items: center;
}
