﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


html,
body {
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    color: #5C5C5C;
    padding-bottom: env(safe-area-inset-bottom);
}


.site-header {
    background-color: var(--thema-color);
    color: #fff;
    height: 40px;
    padding-left: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .site-header {
        padding-left: 20px;
    }
}

.user-setting-menu {
    position: relative;
    height: 100%;
    width: 40px;
    left: -20px;
}

.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.main-content {
    flex: 1;
    padding-top: 20px;
    overflow-y: auto;
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

a.icon {
    text-decoration: none;
    color: #5F6367;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Sticky footer styles
-------------------------------------------------- */

html,
body {
    height: 100%;
}

html {}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.container-fluid {
    flex-grow: 1;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.border-bottom-strong {
    border-bottom: solid 1px var(--thema-color-border-light);
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
    font-size: 0.8rem;
    color: var(--thema-color-base-font);
    background-color: #F2F2F2;
    overflow-y: auto;
    /*for handsongrid show contextmenu */
    display: flex;
    flex-direction: column;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    /* Vertically center the text there */
}

.btn-size-min-padding {
    height: 45px;
    padding-left: 25px;
    padding-right: 25px;
}

.btn-size-default {
    height: 45px;
    padding-left: 45px;
    padding-right: 45px;
}

.btn-size-edit {
    height: 35px;
    padding-left: 25px;
    padding-right: 25px;
}

.btn-size-add-shift {
    height: 28px;
    padding-left: 6px;
    padding-right: 6px;
    font-size: large;
}

.btn-commit,
.btn-delete,
.btn-blue,
.btn-account,
.btn-add {
    color: white;
    border-radius: 5px;
    border: none;
    width: max-content;
}

.btn-commit:focus,
.btn-edit:focus,
.btn-delete:focus,
.btn-blue:focus,
.btn-account:focus,
.btn-add:focus,
.btn-cancel:focus,
.modal-close-btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.1rem var(--thema-color-focus-border);
}

.btn-blue:disabled,
.btn-account:disabled {
    background-color: #D0D0D0;
    cursor: default;
}

.btn-commit,
.btn-add {
    background-color: var(--thema-color-commit-btn);
}

.btn-commit:hover:not(:disabled),
.btn-add:hover:not(:disabled) {
    background-color: var(--thema-color-commit-btn-hover);
}

.btn-commit:disabled,
.btn-add:disabled {
    background-color: var(--thema-color-commit-btn);
    opacity: 0.4;
    cursor: default;
}


.btn-delete {
    background-color: var(--thema-color-delete-btn);
}

.btn-delete:hover:not(:disabled) {
    background-color: var(--thema-color-delete-btn-hover);
}

.btn-delete:disabled {
    background-color: var(--thema-color-delete-btn);
    opacity: 0.4;
    cursor: default;
}



.btn-edit {
    border-radius: 5px;
    border: 1.5px solid var(--thema-color-edit-btn);
    background-color: white;
    color: var(--thema-color-edit-btn);
}

.btn-edit:hover:not(:disabled) {
    background-color: var(--thema-color-edit-btn-hover);
}

.btn-edit:disabled {
    border-radius: 5px;
    border: 1.5px solid var(--thema-color-edit-btn);
    color: var(--thema-color-edit-btn);
    opacity: 0.4;
    cursor: default;

}


.btn-blue {
    background-color: var(--thema-color-sub);
}

.btn-account {
    background-color: var(--thema-color);
}

.btn-cancel {
    cursor: pointer;
    color: var(--thema-color);
    height: 45px;
    margin-left: 17px;
    line-height: 45px;
    min-width: 80px;
    text-align: center;
}

.btn-cancel:hover {
    font-weight: bold;
}

.btn-hover-shadow:hover:not(:active):not(:disabled) {
    box-shadow: 0px 4px 8px #00000029;
}

button:focus {
    outline: none;
}

.checkbox-label-wrapper {
    line-height: 30px;
}

.checkbox-label-wrapper input[type="checkbox"] {
    margin-right: 5px;
}

.labeled-checkbox {
    position: relative;
    top: 2px;
}

button.left-icon-button {
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

input[type="text"] {
    width: 177px;
    /* chrome , edgeに合わせて*/
}

select,
textarea,
input[type="number"],
input[type="text"],
input[type="password"],
input[type="email"],
.input-type-none {
    border-radius: 5px;
    border: solid 1.5px var(--thema-color-gray-color-8);
    height: 35px;
}

input[type="number"] {
    text-align: right;
}

input[type="email"] {
    min-width: 230px;
}

textarea:focus:not(:disabled),
input[type="number"]:focus:not(:disabled),
input[type="text"]:focus:not(:disabled),
input[type="password"]:focus:not(:disabled),
input[type="email"]:focus:not(:disabled),
.input-type-none:focus:not(:disabled) {
    background-color: var(--thema-color-input-focus);
    outline: 0;
    box-shadow: 0 0 0 0.1rem var(--thema-color-focus-border);
}

select:disabled,
textarea:disabled,
input[type="number"]:disabled,
input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="email"]:disabled,
.input-type-none:disabled {
    border: solid 1.5px var(--thema-color-gray-color-8);
    background-color: var(--thema-color-gray-color-9);
}



.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    padding-right: 5px;
}

input[type="checkbox"] {
    accent-color: #639f79;
}

.navigation-box-container input[type="checkbox"] {
    transform: scale(0.7) !important;

}


.nextmain-center-topbottom {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

/** メインのカード　*/
.nextmain-card {
    background-color: white;
    box-shadow: 0px 4px 5px #8E8E8EBF;
    border-color: #C0C0C0;
    border-radius: 3px;
    max-width: 1150px;
    min-width: 600px;
    margin: auto;
}

.nextmain-card a {
    text-decoration: none;
}

.nextmain-card-title {
    padding: 10px;
    border-bottom: solid 1px var(--thema-color-border-dark);
    padding-left: 1rem;
}

.nextmain-card-footer {
    padding: 10px;
    display: flex;
    border-top: solid 3px var(--thema-color-gray-color-9);
    /*align-items: center;*/
}

.nextmain-card-footer-right {
    margin-left: auto;
    display: flex;
}

.nextmain-card-content {
    min-height: 200px;
}

.nextmain-card-content .row {
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0;
}

.nextmain-card-content select,
.nextmain-card-content input[type=text],
.nextmain-card-content input[type=password],
.nextmain-card-content input[type=number],
.nextmain-card-content input[type="email"] {
    height: 35px;
}

.nextmain-card-content input[type="email"] {
    width: 300px;
}

.help-icon {
    position: relative;
    font-size: 1rem;
    top: 2px;
    padding-left: 5px;
    cursor: help;
}

.icon-question_2::before {
    background-color: var(--thema-color-gray-color-8);
    border-radius: 12px;
}

.tooltiptext {
    display: none;
    background-color: #E1F0F4;
    color: #666666;
    z-index: 1000;
    /*handsonの選択中枠に勝つため*/
    text-wrap: normal;
    font-size: 0.8rem;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 1px 3px 3px #8E8E8EBF;
    position: absolute;
    text-align: left;
    line-height: 1.4;
    /*行間*/
    font-weight: normal;
}

.tooltip-wrapper:hover .tooltiptext {

    display: block;

}

.tooltiptext.small {
    width: 150px;
}

.tooltiptext.normal {
    width: 200px;
}

.tooltiptext.large {
    width: 300px;
}

.tooltiptext.xlarge {
    width: 400px;
}

.tooltiptext.left-bottom,
.tooltiptext.left-top,
.tooltiptext.left {
    top: -10px;
    left: -180px;
}

.tooltiptext.right-bottom,
.tooltiptext.right-top,
.tooltiptext.right {
    top: -10px;
    left: 30px;
}

.tooltiptext.left-top,
.tooltiptext.right-top,
.tooltiptext.top {
    top: -60px;
}

.tooltiptext.left-bottom,
.tooltiptext.right-bottom,
.tooltiptext.bottom {
    top: 20px;
}

.nextmain-card-table {}

.nextmain-card-table th {
    position: sticky;
    font-size: 0.7rem;
    font-weight: normal;

}

.nextmain-card-table th,
.nextmain-card-table td {
    padding-left: 2px;
    padding-right: 10px;
}

.nextmain-card-table td {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: solid 1px var(--thema-color-border-light);
}

.nextmain-card-table td.center {
    text-align: center;
}

.nextmain-card-table thead th {
    border-bottom: solid 1px var(--thema-color-border-light);
}

.nextmain-border-content {
    border-top: solid 3px var(--thema-color-gray-color-9);
}

.default-ul {
    padding-inline-start: 20px !important;
}

.default-ul li:before {
    content: '';
    width: 2px;
    height: 2px;
    display: inline-block;
    border-radius: 100%;
    background: black;
    position: relative;
    left: -15px;
    top: -3px;
}

.sticky-table thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    /* tbody内のセルより手前に表示する */
    z-index: 1;
    background-color: white;
    background-clip: padding-box;
}

.sticky-table {

    border-collapse: separate;
    border-spacing: 0;
}

.border-table th {
    border-bottom: solid 1px var(--thema-color-gray-color-5);
}

.border-table th,
.border-table td {
    background-color: white;
}

.border-table td,
.full-border-table td {
    border-bottom: solid 1px var(--thema-color-border-light);
}

/*full-border:頭と横にボーダーがあるテーブル*/
.full-border-table {
    background-color: white;
    /* border-left: solid 1px var(--thema-color-border-light); */
    border-right: solid 1px var(--thema-color-border-light);
}

.full-border-table th,
.full-border-table td {
    background-color: white;
    border: solid 1px var(--thema-color-border-light);
}


.max-table {
    width: 100%
}

.nextmain-default-table th {
    font-weight: normal;
}

.nextmain-default-table th,
.nextmain-default-table td {
    height: 30px;
    padding-left: 3px;
    padding-right: 3px;
    text-align: center;
    padding: 8px;
}

.left-table td {
    text-align: left;
}

.nextmain-badge {
    position: absolute;
    background-color: #F56666;
    border-radius: 50%;
    color: white;
    padding: 2px;
    line-height: 16px;
    text-align: center;
    height: 10px;
    width: 10px;
}

.nextmain-badge-left {
    left: 0px;
}

.nextmain-badge-right {
    right: 0px;
}

.nextmain-badge-middle {
    top: 0;
    bottom: 0;
    margin: auto;
}

.list-dateInfo {
    border-radius: 10px;
    color: #FFFFFF;
    background-color: #A9AFB5;
    margin-left: auto;
    margin-right: auto;
    /*height: 30px;
        line-height: 30px;
        padding-left: 5px;
        padding-right: 5px;*/
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    width: max-content;
    font-size: 0.7rem;
    padding: 3px 20px;
}

.icon-only-button {
    border: none;
    background-color: inherit;
    font-size: 25px;
}

/*チャットなどの削除ボタン*/
.hover-delete-icon-message {
    color: #F0F2F0;
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 0.7rem;
}

.text-highlight {
    color: #B98732;
}

.icon-remove_circle {
    color: #5F6367
}

.move:not(:active) {
    color: var(--thema-color-border-light);
    cursor: grab;
}

.move:active {
    cursor: grabbing;
}

.color-picker {
    display: block;
    height: 25px;
    width: 40px;
    border: 1px solid var(--thema-color-border-light);
    border-radius: 4px;
    cursor: pointer;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.info-badge:before {
    content: "●";
    color: var(--thema-color-danger);
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 0.7rem;
    z-index: 2;
}

.word-break {
    word-break: break-all;
}

label {
    margin-bottom: 0;
}

#vueMain {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.font-size-big,
.pagetitle {
    font-size: 1.25rem;
}

.font-size-small,
.pageinfo {
    font-size: 0.8rem;
}

.pageheader {
    padding-left: 30px;
    padding-top: 0;
}

.pagetitle-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.pagetitle {
    padding-right: 2rem;
    white-space: nowrap
}

.pageinfo {}

.pagemain {
    padding-top: 2rem;
    padding-left: 30px;
    padding-right: 1rem;
    background-color: #FFFFFF;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.underline {
    border-bottom: solid 1px var(--thema-color-border-light);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem !important;
    width: 100%;
}

.wrapper {
    width: 800px;
    display: flex;
    flex-direction: column;
}

@media(max-width:768px) {
    .wrapper {
        width: 100%;
    }
}

/* マスタ系の共通レイアウト*/
.basic-row {
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
}

.basic-single-col {
    padding-right: 1rem;
}

.basic-col-1 {
    width: 50%;
}

.basic-col-2 {
    width: 50%;
    text-align: right;
}

@media (max-width: 768px) {

    .pageheader,
    .pagemain {
        padding-left: 5px;
    }

    .pagetitle-wrapper {
        display: block;
        /* spの場合はpageinfoを回り込ませる*/
    }

    .main-content {
        padding-top: 0;
        /* spの場合はスペース有効活用*/
    }
}

/* for ipad */
.HandsontableCopyPasteDisable .HandsontableCopyPaste {
    display: none !important;
}

.explict-link {
    text-decoration: underline !important;
    color: #0073bb !important;
}

.require-col:after {
    content: '\5FC5\9808';
    border: 1px solid var(--thema-color-sub);
    color: var(--thema-color-sub);
    border-radius: 0.2rem;
    padding: 0 0.2rem;
    background-color: #FFFFFF;
    line-height: 0.9rem;
    margin-top: 0.15rem;
    font-size: 0.6rem;
    margin-left: 0.5rem;
}

.logo {
    width: 350px;
    padding-top: 5rem;
}

@media (max-width: 768px) {
    .logo {
        width: 200px;
        padding-top: 0;
    }
}

.default-link-style {
    text-decoration: underline;
    /* 下線を追加 */
    color: -webkit-link;
    /* WebKit ブラウザ（Chrome、Safariなど）のデフォルトのリンク色 */
    cursor: pointer;
    /* リンクのマウスオーバー時にカーソルを変更 */
}

.default-link-style:hover {
    color: -webkit-link;
    /* マウスがリンク上にあるときの色 */
}

.default-link-style:visited {
    color: -webkit-link;
    /* 訪問済みのリンクの色 */
}

.icon-check {
    color: rgb(0, 176, 107);
    font-size: 16px;
}

pre {
    /* デフォルトの<pre>スタイルをクリア */
    white-space: pre-wrap;
    /* 改行を反映 */
    word-break: break-all;
    word-wrap: break-word;
    /* 長い単語を折り返し */
    font-family: inherit;
    /* フォントを親要素に合わせる */
    font-size: inherit;
    /* フォントサイズを親要素に合わせる */
    margin: 0;
    /* デフォルトのマージンをリセット */
    padding: 0;
    /* デフォルトのパディングをリセット */
    background: none;
    /* バックグラウンドをクリア */
    border: none;
    /* ボーダーをクリア */
}

/* v-tooltip prewrap*/
.tooltip-prewrap .v-popper__inner {
    white-space: pre-wrap;
}

/* v-tooltip prewrap*/
.v-popper__wrapper .v-popper__inner {
    white-space: pre-wrap;
}


.cell-with-mark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: red;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 1;
}

.handsontable td.area.cell-with-mark:after {
    opacity: 0.5;
}

.shift-cell {
    border-radius: 8px;
    padding: 3px;
}

.z-index999 {
    z-index: 999;
    position: relative;
}

.schedule-tutorial-title {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 18px;
}

.schedule-tutorial-description {
    margin: 0 0 12px 0;
    color: #6B7280;
    line-height: 1.5;
}

.schedule-tutorial-hint {
    background: #F3F4F6;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
    color: #6B7280;
}