﻿@font-face {
    font-family: "Noto";
    font-style: normal;
    font-weight: 300;
    src: local('NotoSansJP-Light.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-DemiLight.otf'), url(./webfonts/NotoSansJP-DemiLight.woff2) format("woff2"), url(./webfonts/NotoSansJP-DemiLight.woff) format("woff"), url(./webfonts/NotoSansJP-DemiLight.otf) format("otf");
}

@font-face {
    font-family: "Noto";
    font-style: normal;
    font-weight: 700;
    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: 15px;
}

body {
    font-family: 'Noto', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Osaka-Mono', 'メイリオ', 'Meiryo UI', 'Meiryo', 'ＭＳ ゴシック', sans-serif;
    background: #f8f8f8 url("../img/back.png") repeat;
    /* Background pattern from Toptal Subtle Patterns (https://www.toptal.com/designers/subtlepatterns/) */
    padding: 0;
}

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;
}

.container {
    background-color: rgba( 255, 255, 255, 0.975);
    min-height: 100vh;
}

.container-fluid {
    background-color: rgba( 255, 255, 255, 0.975);
    min-height: 100vh;
}

.bg-transparent {
    background-color: transparent !important;
}

nav > .container {
    background-color: transparent;
    min-height: 0;
}

@media screen and (max-width: 767.98px) {
    .container {
        width: 100%;
        max-width: none;
    }
}

nav .nav_search {
    box-sizing: border-box;
    min-width: initial;
}


@media screen and (max-width: 767.98px) {
    nav {
        font-size: 1em !important;
    }
}

@media screen and (max-width: 991.98px) {
    nav {
        font-size: 0.9em;
    }
}

@media screen and (min-width: 991.98px) {
    nav .nav_search {
        /* min-width: 12.5em; */
        min-width: 8.5em;
        max-width: 9em;
    }
}

@media screen and (min-width: 1199.98px) {
    nav .nav_search {
        /* min-width: 22.5em; */
        min-width: 20.5em;
        max-width: initial;
    }
}

nav .li_user {
    overflow: hidden;
    white-space: nowrap;
    text-wrap: none;
    text-overflow: ellipsis;
}

@media screen and (min-width: 767.98px) {
    nav .li_user {
        width: 8em;
        text-align: right;
    }
}

@media screen and (min-width: 991.98px) {
    nav .li_user {
        width: 10em;
    }
}

@media screen and (min-width: 1199.98px) {
    nav .li_user {
        width: 12em;
    }
}

.w-loginwindow {
    width: 75%;
}

@media screen and (max-width: 1199.98px) {
    .w-loginwindow {
        width: 100%;
        max-width: none;
    }
}

.p-nav {
    padding-top: 3.5em !important;
    min-height: calc(100vh - 2em) !important;
}

.pt-nav {
    padding-top: 3.5em !important;
}

.footer {
    height: 2em;
    line-height: 2em;
    background: #fff;
}


.navbar {
    /* background: #6c3 !important; */
    /* background: #c03 !important; */
    background: #66cdaa;
}


.nav-link {
    color: rgba(255,255,255,0.9) !important;
}

.nav-link:focus, .nav-link:hover {
    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;
}
