@charset "utf-8";

.main-content {
    min-height: calc(100vh - 320px);
}

.form-signin {
    max-width: 330px;
    padding: 1rem;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* 入力エラー */
[aria-invalid=true] {
    border-color: #dc3545;
    padding-right: 2.25rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

p {
    font-size: 1rem;
    line-height: 2rem;
}

/* space */
.mr-1 {
    margin-right: 0.25rem !important;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

/* card */
.card {
    /* box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2); */
    margin-bottom: 1rem;
}

.card-primary:not(.card-outline)>.card-header,
.card-primary:not(.card-outline)>.card-header a {
    /* color: #fff; */
}

.card-primary:not(.card-outline)>.card-header {
    /* background-color: #007bff; */
}

.card-danger:not(.card-outline)>.card-header,
.card-danger:not(.card-outline)>.card-header a {
    /* color: #fff; */
}

.card-danger:not(.card-outline)>.card-header {
    background-color: #dc3545;
}

.card-warning:not(.card-outline)>.card-header,
.card-warning:not(.card-outline)>.card-header a {
    color: #1f2d3d;
}

.card-warning:not(.card-outline)>.card-header {
    background-color: #ffc107;
}


.card-title {
    float: left;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    padding-top: 0.5rem;
}

.card-header>.card-tools {
    float: right;
    margin-right: -0.625rem;
}

/* button */
.btn-xs {
    padding: 0.125rem 0.25rem;
    font-size: .75rem;
    line-height: 1.5;
    border-radius: 0.15rem;
}

.float-right {
    float: right !important;
}

.message {
    transition: height 300ms ease-out 0s;
    background-color: transparent;
    color: var(--bs-red);
    border: 1px solid;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
}

.message.hidden {
    height: 0;
    display: none;
}

.error-message {
    color: var(--red);
    font-size: 80%;
}

/* btn */
.btn-block {
    display: block;
    width: 100%;
}

.btn-tool {
    background-color: transparent;
    color: #adb5bd;
    font-size: .875rem;
    margin: -0.75rem 0;
    padding: 0.25rem 0.5rem;
}

/* text corlor */
.text-red {
    color: #dc3545 !important;
}



/* ★評価 */

.rate-form {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rate-form input[type=radio] {
    display: none;
}

.rate-form label {
    position: relative;
    padding: 0 5px;
    color: #ccc;
    cursor: pointer;
    font-size: 35px;
}

.rate-form label:hover {
    color: #ffcc00;
}

.rate-form label:hover~label {
    color: #ffcc00;
}

.rate-form input[type=radio]:checked~label {
    color: #ffcc00;
}

.evaluation {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.evaluation input[type='radio'] {
    display: none;
}

.evaluation label {
    position: relative;
    padding: 0.1rem 0.1rem 0;
    color: gray;
    cursor: pointer;
    font-size: 3rem;
}

.evaluation label .text {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    text-align: center;
    font-size: 0.5rem;
    color: gray;
}

.evaluation label:hover,
.evaluation label:hover~label,
.evaluation input[type='radio']:checked~label {
    color: #ffcc00;
}

/* ribon */
.ribbon-wrapper {
    height: 70px;
    overflow: hidden;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 70px;
    z-index: 10;
}

.ribbon-wrapper .ribbon {
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    font-size: .8rem;
    line-height: 100%;
    padding: 0.375rem 0;
    position: relative;
    right: -2px;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
    text-transform: uppercase;
    top: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 90px;
}

.bg-primary,
.bg-primary>a {
    color: #fff !important;
}

.bg-info,
.bg-info>a {
    color: #fff !important;
}

/* direct-chat */
.direct-chat-msg {
    margin-bottom: 10px;
}

.direct-chat-msg::after {
    display: block;
    clear: both;
    content: "";
}

.direct-chat-msg,
.direct-chat-text {
    display: block;
}

.direct-chat-infos {
    display: block;
    font-size: .875rem;
    margin-bottom: 2px;
}

.direct-chat-img {
    border-radius: 50%;
    float: left;
    height: 40px;
    width: 40px;
}

.direct-chat-timestamp {
    color: #697582;
}

.direct-chat-text {
    border-radius: 0.3rem;
    background-color: #d2d6de;
    border: 1px solid #d2d6de;
    color: #444;
    margin: 5px 0 0 50px;
    padding: 5px 10px;
    position: relative;
}

.direct-chat-text::before {
    border-width: 6px;
    margin-top: -6px;
}

.direct-chat-text::after {
    border-width: 5px;
    margin-top: -5px;
}

.direct-chat-text::after,
.direct-chat-text::before {
    border: solid transparent;
    border-right-color: #d2d6de;
    border-right-width: 0.5rem;
    content: " ";
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 15px;
    width: 0;
}

/* form */
.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.error-message {
    color: var(--red);
}

/* Summernote Additional CSS */
.note-editable {
    background: #fff;
}

.note-btn.dropdown-toggle:after {
    content: none;
}

.note-btn[aria-label="Help"] {
    display: none;
}

.note-editor .note-toolbar .note-color-all .note-dropdown-menu,
.note-popover .popover-content .note-color-all .note-dropdown-menu {
    min-width: 345px;
}

.card.collapsed-card .card-body,
.card.collapsed-card .card-footer {
    display: none;
}


/* 日曜日：赤 */
.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: red;
}

/* 土曜日：青 */
.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: blue;
}

.flatpickr-current-month {
    display: flex;
    justify-content: center;
}

.cur-year {
    order: 1;
}

.cur-month:before {
    content: '年　';
}

.cur-month {
    order: 2;
}

.flatpickr-current-month span.cur-month {
    font-weight: 300;
    padding-top: 4px;
}

.answer-comments {
    background: #ffffff;
}

span.required {
    font-size: 0.786em;
    background-color: #C66868;
    padding: 2px;
    color: #fff;
    border-radius: 3px;
    margin: 0 5px 0 0;
    font-weight: normal;
}

/* Medium(md) */
@media screen and (min-width: 768px) {}

@media screen and (min-width: 992px) {

    /* nav */
    .navbar-nav .nav-item {
        border-left: 1px solid #D7D7D7;
    }

    .navbar-nav .nav-item:last-child {
        border-right: 1px solid #D7D7D7;
    }

    .navbar-nav .nav-item:hover {
        background-color: #67C4C1;
    }

}