@charset "utf-8";

/* ベースのスタイル START-------------------------------------------------------------------- */
:root {
    --btn-gap: 15px;
    --table-tr-hover-bg-color: rgba(7,104,159,.13);
    --table-tr-odd-bg-color: rgba(0, 0, 0, .04);
    --table-border-color: #dee2e6;
}

*,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
}

html {
    /* ベースの文字サイズ */
    font-size: 16px;
}

/* 文字サイズ「見出し」 */
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.625rem;
}

h5 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1.375rem;
}

/* 文字サイズ「大」 */
.text-lg,
main > h1.title,
p.current-display-yy-mm,
#dayOfWeekSchedule .day-of-week-name {
    font-size: 1.25rem;
}

/* 文字サイズ「中」 */
.text-md,
input,
input.form-control,
label,
textarea,
select,
select.form-control,
option,
a,
a.page-link,
span.page-link,
.btn,
.table tbody td,
.select2-container--bootstrap .select2-selection,
.select2-container--bootstrap .select2-search--dropdown .select2-search__field,
.select2-container--bootstrap .select2-results__option {
    font-size: 1rem;
}

/* 文字サイズ「小」 */
.text-sm,
small,
td.schedule-bar-description,
.jq-schedule .sc_data .timeline span.timeline-subtitle {
    font-size: 0.875rem;
}

a, a:hover {
    text-decoration: none;
}

label {
    margin: 0;
    padding: 0;
}

input[type="file"],
div.custom-file .custom-file-label {
    cursor: pointer;
}

textarea {
    height: 160px;
}

.custom-checkbox label,
.custom-radio label {
    font-weight: normal;
}

table {
    table-layout: fixed;
}

th {
    font-weight: normal;
}

.table td, .table th {
    border-top: 0;
}

.table thead {
    border-top: 0.5px solid var(--table-border-color);
}

.table tbody {
    border-bottom: 0.5px solid var(--table-border-color);
}

.table tbody tr:nth-of-type(odd) {
    background-color: var(--table-tr-odd-bg-color);
}

.table tbody tr:hover {
    background-color: var(--table-tr-hover-bg-color);
}

.table thead th, .table tbody td {
    padding: 0.2rem;
    vertical-align: middle;
    height: 40px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn {
    height: 34px;
    color: #fff !important;
}

.btn-secondary {
    background-color: #a4b6c3 !important;
    border-color: #a4b6c3 !important;
}

.btn-secondary:hover,
.btn-secondary:active {
    background-color: #8096a5 !important;
    border-color: #8096a5 !important;
}

.btn-success {
    background-color: #12bca8 !important;
    border-color: #12bca8 !important;
}

.btn-success:hover,
.btn-success:active {
    background-color: #0e8d7e !important;
    border-color: #0e8d7e !important;
}

.toggle-group .btn-sm.toggle-on {
    padding: 0.4rem 0.5rem;
}

.toggle-group .btn-sm.toggle-off {
    padding: 0.4rem 0.5rem;
}

.form-control {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.custom-control-label::before,
.custom-control-label::after {
    top: 0.2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 4px;
}

header.navbar-light {
    background-color: #07689f;
}

div.content {
    background-color: #fff;
}

/* ベースのスタイル END-------------------------------------------------------------------- */

main > .title {
    font-weight: bold;
    border-bottom: 1px solid #dee2e6;
    padding: 5px 0;
    margin-top: -5px;
}

div.content main {
    top: 0;
}

div.content main:not(.schedule-content) {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
}

.not-auth-form {
    margin: 0 15px;
    min-height: 200px;
    position: relative;
    padding-bottom: 60px;
    box-sizing: border-box;
    padding: 20px;
}

footer.main-footer {
    width: 100%;
    background-color: #07689f;
    text-align: center;
    height: 2rem;
    position: absolute;
    bottom: 0;
    display: table;
    table-layout: fixed;
}

footer.main-footer > small {
    display: table-cell;
    vertical-align: middle;
    color: #ffffff;
}

.not-auth-form-row {
    margin: auto;
    width: 100%;
    max-width: 600px;
}

.only-logo-header {
    /* ロゴ画像のダウンロード前後でガタつかせないため、高さを指定 */
    height: 111px;
}

.only-logo-header > .logo {
    width: 300px;
}

#overlay {
    width: 100%;
    z-index: 9999;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    background-image: url("../../img/loader.gif");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: #F5F8FA;
    opacity: 0.4;
}

form .grid-container {
    display: grid;
    grid-template-rows: auto auto auto;
}

form .grid-container.submit-area {
    margin-top: 30px;
}

form .grid-container .input-label,
form .grid-container .submit-btn {
    grid-row: 1;
}

form .grid-container .input-value {
    grid-row: 2;
}

form .grid-container .validation-tip {
    grid-row: 3;
}

.validation-tip {
    color: #f00;
    font-weight: normal;
    display: block;
    text-align: start;
}

.required-label {
    position: relative;
    top: -2px;
    color: #fff;
    font-weight: normal;
}

.show-today-schedule i {
    color: #fff;
}

.sidebar-icon-toggle {
    top: 10px;
    left: 15px;
    font-size: 1.75rem;
    color: #fff;
}
.shadow {
    /*box-shadow: 0 0 1.0rem rgba(0,0,0,.15)!important;*/
    box-shadow: 0px 0px 10px rgb(7 104 159 / 20%), 0px 0px 3px rgb(224 176 172 / 20%)!important;
}

.search-year,.search-month {
    background-color: #07689f;
    color: #fff;
    font-size: 1.25rem;
}
.search-year {
    top: 13px;
    left: 65px;
}
.search-month {
    top: 13px;
    left: 168px;
}
.move-today,
.search-schedule,
.schedule-header-button button{
    position: fixed;
    z-index: 99;
    top: 10px;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 1.75rem;
}

.search-schedule,
.schedule-header-button button:nth-child(2) {
    right: 45px;
}
.move-today,
.schedule-header-button button:nth-child(1) {
    right: 0;
}
.move-today i,
.search-schedule i,
.schedule-list i,
.schedule-calendar i {
    color: #fff;
    font-size: 1.75rem;
}

#footer {
    background-color: #07689f;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
.copyright {
    color: #fff;
    font-size: .8rem;
    text-align: center;
}

.schedule-tooltip-contents-tippy {
    padding: 10px 15px;
    --schedule-tooltip-contents-tippy-width: 300px;
    min-width: var(--schedule-tooltip-contents-tippy-width);
    max-width: var(--schedule-tooltip-contents-tippy-width);
}

.tippy-box[data-theme~='required-any'] {
    background-color: #dc3545;
    color: white;
}

.tippy-box[data-theme~='required-any'][data-placement^='top'] > .tippy-arrow::before,
.tippy-box[data-theme~='required-any'][data-placement^='bottom'] > .tippy-arrow::before,
.tippy-box[data-theme~='required-any'][data-placement^='left'] > .tippy-arrow::before,
.tippy-box[data-theme~='required-any'][data-placement^='right'] > .tippy-arrow::before {
    color: #dc3545;
}

/* サイドバー */
.sidebar-inner span { font-size: 1.0rem; }
.status-name { font-size: 0.875rem!important; }