body {
    font-family: "メイリオ", "Meiryo", sans-serif;
}
.navbar {
    padding: 0 0.5rem;
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(144, 0, 0, 0.7);
}
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(144, 0, 0, 1);
    background: rgba(255, 0, 0, 0.2);
}
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: rgba(144, 0, 0, 1);
    background: rgba(255, 0, 0, 0.3);
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    content: ">";
}
.btn {
    border: 2px solid;
}
.btn-danger {
    border-color: #dc3545 !important;
}
.btn-secondary {
    border-color: #6c757d !important;
}
.text-muted {
    color: rgba(108, 117, 125, 0.5) !important;
}
.callout {
    background-color: #efefef;
}
.form-control::placeholder {
    color: rgba(108, 117, 125, 0.5);
}

.bg-nav {
    background: rgba(255, 0, 0, 0.2);
}
.btn-icon {
    font-size: 4rem;
}
.btn-trush {
    position: relative;
    top: 4px;
}
.h1-area-btn {
    position: relative;
    top: -5px;
}
.news-wrapper {
    border: 1px solid #ced4da;
    box-shadow: none;
    height: 185px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.news-wrapper a {
    color: #495057;
}
.news-wrapper a:hover {
    color: #007bff;
}

.breadcrumb-item.active {
    max-width: 14.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.face-img .btn-delete {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -7px;
    right: -2px;
    background: rgba(108, 117, 125, 0.8);
    color: #fff;
    text-align: center;
    line-height: 22px;
    border-radius: 10px;
    font-size: 14px;
}
.face-img .btn-delete:hover {
    cursor: pointer;
    background: rgba(108, 117, 125, 1);
}
.img-upload {
    transition: 0.3s;
}
.img-upload:hover {
    cursor: pointer;
    opacity: 0.5;
}

a {
    transition: 0.3s;
}
a:hover img {
    opacity: 0.7;
}

#user-indexslide .carousel-item img {
    height: 350px;
    object-fit: cover;
    overflow-y: hidden;
}
@media (min-width: 768px) {
    #user-indexslide .carousel-item img {
        height: 435px;
    }
}
.carousel-control-next,
.carousel-control-prev {
    color: #dc3545;
    opacity: 1;
}
.carousel-control-prev .carousel-control-custom-icon {
    margin-left: -50px;
}

.carousel-caption {
    position: absolute;
    bottom: 0 !important;
    left: 0 !important;
    right: inherit;
    padding: 20px;
    color: #fff;
    text-align: left;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar::before {
    margin-left: -90vw;
}
.main-sidebar,
.main-sidebar::before {
    width: 90vw;
}
#calendar a,
#calendar2 a,
#calendar3 a {
    color: #495057;
}
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.5em;
}
.fc-toolbar,
.fc-toolbar.fc-header-toolbar {
    margin: 0;
    padding: 0;
}
.fc .fc-button-primary {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.fc-h-event {
    border: 0px solid #fff;
    background-color: rgba(255, 255, 255, 0);
}
#calendar .fc-h-event .fc-event-main {
    color: #007bff;
}
#calendar2 .fc-h-event .fc-event-main {
    color: #495057;
}
.fc-day-past .fc-h-event .fc-event-main {
    color: #495057;
    opacity: 0.5;
}
.fc-day-past:hover a {
    cursor: initial;
}
#calendar3 .fc-day-past .fc-h-event .fc-event-main {
    color: #495057;
    opacity: 1;
}
#calendar3 .fc-day-today .fc-h-event .fc-event-main {
    color: #495057;
}
#calendar3 .fc-day-future .fc-h-event .fc-event-main {
    color: rgba(0, 0, 0, 0);
}

.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 60px;
    height: 30px;
    pointer-events: all;
    border-radius: 15px;
}
.custom-switch .custom-control-label::after {
    top: 5px;
    left: calc(-2.25rem + 1px);
    width: 28px;
    height: 28px;
    background-color: #adb5bd;
    border-radius: 14px;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    transform: translateX(30px);
}
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #dc3545;
    background-color: #dc3545;
    box-shadow: none;
}

.day-pager {
    position: relative;
    z-index: 10;
}
.day-pager .day-pager-left,
.day-pager .day-pager-right {
    position: fixed;
    top: 50vh;
    display: block;
    width: 30px;
    height: 40px;
    text-align: center;
}
.day-pager .day-pager-left {
    left: 0;
    border-radius: 0 20px 20px 0;
}
.day-pager .day-pager-right {
    right: 0;
    border-radius: 20px 0 0 20px;
}
.day-pager .day-pager-left a,
.day-pager .day-pager-right a {
    display: block;
    width: 30px;
    height: 40px;
    line-height: 40px;
    background: #dc3545;
    color: #fff;
}
.day-pager .day-pager-left a {
    border-radius: 0 20px 20px 0;
}
.day-pager .day-pager-right a {
    border-radius: 20px 0 0 20px;
}
.day-pager .day-pager-left a:hover,
.day-pager .day-pager-right a:hover {
    background: #000;
    color: #fff;
}
@media (min-width: 1200px) {
    .day-pager .day-pager-left,
    .day-pager .day-pager-right {
        width: 40px;
        height: 40px;
        text-align: center;
    }
    .day-pager .day-pager-left {
        left: 7%;
        border-radius: 20px;
    }
    .day-pager .day-pager-right {
        right: 7%;
        border-radius: 20px;
    }
    .day-pager .day-pager-left a,
    .day-pager .day-pager-right a {
        width: 40px;
        background: #fff;
        border: 1px solid #dc3545;
        color: #dc3545;
    }
    .day-pager .day-pager-left a {
        border-radius: 20px;
    }
    .day-pager .day-pager-right a {
        border-radius: 20px;
    }
    .day-pager .day-pager-left a:hover,
    .day-pager .day-pager-right a:hover {
        background: #dc3545;
        border: 1px solid #dc3545;
        color: #fff;
    }
}

.fooditem-wrap {
    margin-bottom: 3em;
}
.fooditem-figure {
    position: relative;
    margin-bottom: 0.25em;
}
.fooditem-figure img {
    height: 180px;
    object-fit: cover;
    overflow-y: hidden;
}
.figure-top-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: inline;
    background: #fff;
    color: #333;
    padding: 2px 5px;
    border: 1px solid #ccc;
}

.figure-bottom-tilte {
    display: block;
    width: 100%;
    min-height: 5em;
    color: #333;
    margin-bottom: 0;
    padding: 2px 5px;
    font-size: 90%;
}
@media (min-width: 768px) {
    .fooditem-figure {
        height: 200px;
        overflow-y: hidden;
    }
    .fooditem-figure img {
        height: 200px;
        object-fit: cover;
        overflow-y: hidden;
    }
    .figure-bottom-tilte {
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;
        width: 100%;
        height: auto;
        background: rgba(0, 0, 0, 0.8);
        color: #fff;
        margin-bottom: 0;
        padding: 2px 5px;
        font-size: 100%;
    }
}
.rsv-ng .fooditem-wrap.non-reserved,
.rsv-ng .fooditem-wrap.non-ordered {
    opacity: 0.3;
}
.rsv-ok .fooditem-wrap.reserved .fooditem-figure img,
.rsv-ok .fooditem-wrap.reserved .fooditem-figure p,
.rsv-ok .fooditem-wrap.ordered .fooditem-figure img,
.rsv-ok .fooditem-wrap.ordered .fooditem-figure p,
.rsv-ok .fooditem-wrap.limited .fooditem-figure img,
.rsv-ok .fooditem-wrap.limited .fooditem-figure p {
    opacity: 0.5;
}

.rsv-ok .fooditem-wrap.reserved .fooditem-figure:after {
    content: "予約済";
    display: block;
    width: 60%;
    position: absolute;
    top: calc(50% - 30px);
    left: 20%;
    padding: 30px 5px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}
.rsv-ok .fooditem-wrap.ordered .fooditem-figure:after {
    content: "注文済";
    display: block;
    width: 60%;
    position: absolute;
    top: calc(50% - 30px);
    left: 20%;
    padding: 30px 5px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}
.rsv-ok .fooditem-wrap.limited .fooditem-figure:after {
    content: "予約満了";
    display: block;
    width: 60%;
    position: absolute;
    top: calc(50% - 30px);
    left: 20%;
    padding: 30px 5px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}
@media (min-width: 767px) {
    .rsv-ok .fooditem-wrap.reserved .fooditem-figure:after,
    .rsv-ok .fooditem-wrap.ordered .fooditem-figure:after,
    .rsv-ok .fooditem-wrap.limited .fooditem-figure:after {
        padding: 30px;
    }
}

.modalfood-text {
    position: relative;
    padding: 1em;
}
@media (min-width: 1025px) {
    .modalfood-description {
        position: absolute;
        bottom: 1em;
        left: 1em;
        margin-right: 1em;
    }
}
.modalfood figure {
    position: relative;
}
.reserved .modalfood figure img,
.ordered .modalfood figure img,
.limited .modalfood figure img {
    opacity: 0.7;
}
.reserved .modalfood figure:after {
    content: "予約済";
    display: block;
    width: 60%;
    position: absolute;
    top: calc(50% - 30px);
    left: 20%;
    padding: 30px 5px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}
.ordered .modalfood figure:after {
    content: "注文済";
    display: block;
    width: 60%;
    position: absolute;
    top: calc(50% - 30px);
    left: 20%;
    padding: 30px 5px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

@media (min-width: 767px) {
    .reserved .modalfood figure:after {
        padding: 30px;
    }
}

@media (min-width: 1025px) {
    .main-sidebar {
        display: none !important;
    }
    body:not(.sidebar-mini-md) .content-wrapper,
    body:not(.sidebar-mini-md) .main-footer,
    body:not(.sidebar-mini-md) .main-header {
        transition: margin-left 0.3s ease-in-out;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 1.5rem;
    }
}
@media (max-width: 320px) {
    .h5 {
        font-size: 1rem;
    }
}
.fc-h-event img {
    height: 14px;
    width: auto;
}
@media (min-width: 340px) {
    .fc-h-event img {
        height: 18px;
        width: auto;
    }
}
@media (min-width: 768px) {
    .fc-h-event img {
        height: 41px;
        width: auto;
    }
}
