﻿@font-face {
    font-family: "Noto";
    font-style: normal;
    font-weight: 300;
    src: local('NotoSansJP-DemiLight.otf'), url(./webfonts/NotoSansJP-Light.woff2) format("woff2"), url(./webfonts/NotoSansJP-Light.woff) format("woff"), url(./webfonts/NotoSansJP-Light.otf) format("otf");
}

@font-face {
    font-family: "Noto";
    font-style: normal;
    font-weight: 400;
    src: local('NotoSansJP-Regular.otf'), url(./webfonts/NotoSansJP-Regular.woff2) format("woff2"), url(./webfonts/NotoSansJP-Regular.woff) format("woff"), url(./webfonts/NotoSansJP-Regular.otf) format("otf");
}

@font-face {
    font-family: "Noto";
    font-style: normal;
    font-weight: 600;
    src: local('NotoSansJP-Medium.otf'), url(./webfonts/NotoSansJP-Medium.woff2) format("woff2"), url(./webfonts/NotoSansJP-Medium.woff) format("woff"), url(./webfonts/NotoSansJP-Medium.otf) format("otf");
}

/*
@font-face {
    font-family: "Noto";
    font-style: normal;
    font-weight: 900;
    src: local('NotoSansJP-Bold.otf'), url(./webfonts/NotoSansJP-Bold.woff2) format("woff2"), url(./webfonts/NotoSansJP-Bold.woff) format("woff"), url(./webfonts/NotoSansJP-Bold.otf) format("otf");
}
*/

html {
    font-size: 16px;
}

body {
    font-family: 'Noto', 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ ProN', 'Yu Gothic UI', 'Osaka-Mono', 'メイリオ', 'Meiryo UI', 'Meiryo', 'ＭＳ ゴシック', sans-serif;
    /*
    background: url("../img/back.png") repeat;
    */
    padding: 0;
    
    background: #fbfbfb;
}

.big {
    font-size: 1.125em;
    /* font-weight: 500; */
}

.little {
    font-size: 0.95em;
}

input[type="text"].datepicker,
input[type="text"].ime-mode_disabled,
input[type="text"].number_only,
input[type="text"].value_only,
input[type="text"].decimal_only {
    ime-mode: disabled;
}

.ui-datepicker {
    z-index: 2147483647 !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    box-sizing: content-box;
}

.ui-datepicker .ui-datepicker-prev:after,
.ui-datepicker .ui-datepicker-next:after {
    font-weight: normal;
    font-size: 1.4em;
    line-height: 1.3em;
    position: absolute;
    display: block;
}

.ui-datepicker a:hover {
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-prev:after {
    left: 0.3em;
    content: "<";
}

.ui-datepicker .ui-datepicker-next:after {
    left: 0.4em;
    content: ">";
}

textarea {
    resize: none;
}

.bg-lightblue {
    background: #52a8c8;
}

.bg-orange {
    background: #e69e4b;
}

.bg-orange.btn:hover {
    background: #cc8029;
}

.bg-orange.btn:focus {
    background: #cc8029;
}

.bg-green {
    background: #93b74a;
}

.shadow-light {
    box-shadow: 5px 6px 11px 0px rgba(0, 0, 0, 0.05);
}

img.shadow-light {
    box-shadow: none;
    filter: drop-shadow(5px 6px 6px rgba(0, 0, 0, 0.05));
    /* object-fit: scale-down; */
}

/*
.container, .container-lg, .container-xl, .container-fluid {
    background-color: rgba( 255, 255, 255, 0.99);
    min-height: 100vh;
}

.bg-transparent {
    background-color: transparent !important;
}

nav > .container {
    background-color: transparent;
    min-height: 0;
}

nav .nav_search {
    box-sizing: border-box;
    min-width: initial;
}

*/
nav .li_user {
    overflow: hidden;
    white-space: nowrap;
    text-wrap: none;
    text-overflow: ellipsis;
}

@media screen and (min-width: 991.98px) {
    nav .li_user {
        width: auto;
    }
}

@media screen and (min-width: 1199.98px) {
    nav .li_user {
        width: 12em;
        text-align: right;
    }
}

.w-loginwindow {
    width: 75%;
}

@media screen and (max-width: 1199.98px) {
    .w-loginwindow {
        width: 100%;
        max-width: none;
    }
}

.nav-link {
    color: #333 !important;
    /* color: rgba(255,255,255,0.9) !important; */

    font-weight: bold;
}

.nav-link:focus, .nav-link:hover {
    color: rgba(50,50,50,0.75) !important;
    /* color: rgba(255,255,255,0.95) !important; */
}

.form-control.bg-danger, .custom-file-label.bg-danger {
    border-color: #f5c6cb !important;
    background-color: #f8d7da !important;
}

.img-icon {
    max-width: 100%;
    height: 20em;
    object-fit: cover !important;
}

@media screen and (max-width: 767.98px) {
    .img-icon {
        height: auto !important;
    }
}

@media screen and (max-width: 991.98px) {
    .img-icon {
        height: 16em;
    }
}

a.card-link {
    position: relative;
    text-decoration: none;
    color: #333 !important;
}

a.card-link:hover:before {
    content: "";
    position: absolute;
    z-index: 999;
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.25;
}

/*
.form-check-label{
    margin-top: 0.2em;
    margin-left: 0.25em;
}
*/

.form-check {
    margin-left: 0.25em;
}

.form-check-input {
    transform: scale(1.2);
    vertical-align: middle;
}

.bigger {
    font-size: 1.6em;
}

.bigger .form-check-input {
    transform: scale(1.8);
}

.form-check-label {
    margin-top: 0.3em;
    margin-left: 0.25em;
}

.bigger .form-check-label {
    margin-top: 0.425em;
    margin-left: 0.5em;
}

div.notice-box {
    color: #000;
    margin: 0;
    padding: 0.5em 0.75em;
    width: 100%;
    height: 8em;
    background: #fcfcfc;
    border: 1px #ddd solid;
    overflow-y: scroll;
}

/*
.overflow-ellipsis {
    border: none;
    text-wrap: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overflow-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    border: none;
    overflow: hidden;
    text-overflow: ellipsis;
}
*/

.text-ellipsis-2 {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 3.1em;
}

.text-ellipsis-3 {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 4.5em;
}

.text-ellipsis-4 {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    min-height: 6.25em;
}

.btn-list {
    color: #0070c0;
    background: #fff;
    font-size: 0.9em !important;
    box-sizing: border-box;
    font-weight: bold;
    border-radius: 1.125em;
    width: 2.25em;
    height: 2.25em;
    margin: 0 0.5em;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    border: none;
}

.btn-list.btn-secondary {
}

.btn-list.active {
    color: #fff;
    background-color: #a8d0e0;
}

span.btn-list {
    display: inline-block;
    cursor: pointer;
    width: 2.25em;
    height: 2.25em;
    padding: 0;
    line-height: 2.2em;
}

span.btn-list:hover {
    opacity: 0.85;
}


#main>.container, #main>.container-xl, #main>.container-lg, #main>.container-fluid {
    /* background-color: rgba( 255, 255, 255, 0.99); */
    /* min-height: 77vh; */
    min-height: calc(100vh - 2.75em);
}

#main>.container-fluid {
    max-width: calc(max(100vh * 1.625, 1370px));
}

nav {
    box-shadow: 0px 0px 1px rgba(0,0,0,0.1);
}
@media screen and (min-width: 1199.98px) {
    nav {
        height: 4em;
    }
}

.pt-nav {
    padding-top: 4.75em !important;
}

footer {
    /* background-color: #52a8c8; */
    color: #fff;
    box-sizing: border-box;
    /* min-height: 15vh; */
    padding: 0.8em 0;
    font-size: 0.85em;
}

footer::after {
    position: fixed;
    content: "";
    display: block;
    background-color: #52a8c8;
    z-index: 0;
    width: 100%;
    min-height: 100vh;
}

.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
}

img.img-cover {
    -o-object-fit: cover !important;
    object-fit: cover !important;
}

table.checklist {
    margin-left: 0.25em;
    margin-top: 0.25em;
}

table.checklist tr td {
    padding: 0;
}

table.checklist tr td input[type=checkbox] {
    transform: scale(1.2);
    vertical-align: baseline;
}

table.checklist tr td label {
    margin-left: 0.5em;
    padding-bottom: 0.05em;
}