﻿@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: #d7eceb 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;
}

.custom-file {
    overflow: hidden;
}

.custom-file-label {
    white-space: nowrap;
}

.custom-file-input:lang(ja) ~ .custom-file-label::after {
    content: "参照" !important;
    background: #007bff;
    color: #fff;
    transition-duration: 0.2s;
}
.custom-file-input:hover:lang(ja) ~ .custom-file-label::after {
    background: #0069d9 !important;
}

.container{
	background-color: rgba( 255, 255, 255, 0.95);
	min-height: 100vh;
}

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: 10em;
    }
}

@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;
}

.card-body h5.text-truncate
{
	height: 1.3em;
	margin-bottom: 0.5em;
	font-weight: bold;
}

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;
}

/*
.card-body
{
	position: relative;
}

.card-body a.read_more
{
	display: block;
	position: absolute;
	right: 1em;
	bottom: 1em;
}

.card-body div.card-text
{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	//-webkit-line-clamp: 3;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	height: 6.05em;
	margin-bottom: 1em;
}

@media screen and (max-width: 991.98px) {
div.card-body div.card-text
{
	-webkit-line-clamp: 5;
	height: 7.5em;
}
}

@media screen and (max-width: 767.98px) {
div.card-body div.card-text
{
	-webkit-line-clamp: 6;
	height: 9em;
}
}

div.card-footer a
{
//	color: #007bff;
	transition: 0.3s;
}

div.card-footer a:hover
{
//	opacity: 0.5;
}
*/
/*
.blockquote
{
	position: relative;
	background: #eee;
}
.blockquote:before
{
	 font-family: "Font Awesome 5 Free";
	
}
*/

.card .blockquote
{
	padding-top: 1.2em;
	padding-bottom: 1.2em;
	font-style: italic;
}
.card .blockquote:before,
.card .blockquote:after
{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	width: 2em;
	height: 2em;
	text-align: center;
	line-height: 2em;
	font-size: 1.2em;
	opacity: 0.33;
}
.card .blockquote:before
{
	content: "\f10d";
	left: 0;
	top: 0;
}
.card .blockquote:after
{
	content: "\f10e";
	right: 0;
	bottom: 0;
}

.card .blockquote p
{
	margin-bottom: 0.66em;
}

img.title_logo 
{
    max-width: 32px;
    margin:0;
    position: absolute;
    left: 0.5em;
}

@media screen and (max-width: 767.98px) {
    img.title_logo
    {
        left: -4px;
    }
}