/* このファイルはヘッダー(content.header.jsp)の外観を定義し、content.header.jsで表示制御されるメニュー項目の配置と上部ナビゲーションの視認性を調整する。 */
#header {
	width: 100%;
	padding: .25rem 1rem;
	/*height: 90px;*/
	/*2019.1.18 MoDeCH start (カート目立つように)*/
	/*height: 23px;*/
	min-height: 28px;
	height: auto;
	line-height: 1.3;
	text-align:left;
	font-size: 18px;
	/*2019.1.18 MoDeCH end (カート目立つように)*/
	background-color: #f0f0f0 !important;
	/*
	background: url(../images/bg_header.png) repeat-x top;
	background-size: cover;
	*/
}

.modelon-header-shell {
	position: sticky;
	top: 0;
	z-index: 1045;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
}

.header-modech-link {
	display: inline-flex;
	align-items: center;
	margin-right: auto;
}

.header-modech-link img {
	width: 80px;
	height: auto;
}
#navigation {
	background-color:#ffffff !important;
	position: relative;
	min-height: 66px;
	padding: .15rem .75rem !important;
}

#navigation .navbar-brand-model-on {
	display: block;
	height: 62px;
	left: 50%;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 130px;
	z-index: 1;
}

#navigation .navbar-brand-model-on img {
	height: auto;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 130px;
}

#navbarNavIdentity {
	flex: 0 1 auto;
	flex-basis: auto;
	flex-grow: 0;
	margin-right: auto;
	min-width: 0;
}

#navbarNavIdentity .navbar-nav,
#navbarNavHeader .navbar-nav,
#navbarNav .navbar-nav {
	align-items: center;
	flex-wrap: nowrap;
}

#navbarNav {
	flex: 0 1 auto;
	flex-wrap: nowrap;
	margin-left: auto;
	min-width: 0;
}

#navbarNavHeader .nav-link,
#navbarNav .nav-link {
	padding-left: .65rem;
	padding-right: .65rem;
	white-space: nowrap;
}

#navbarNav .navbar-text {
	white-space: nowrap;
}

#navbarNavHeader .dropdown-toggle::after,
#navbarNav .dropdown-toggle::after {
	margin-left: .35rem;
	vertical-align: .15em;
}

.header-notice-menu {
	width: min(520px, calc(100vw - 2rem));
	max-width: calc(100vw - 2rem);
	max-height: min(72vh, 620px);
	max-height: min(72dvh, 620px);
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	padding: 0;
	border: 1px solid #d2d8df;
	border-radius: .35rem;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.global-page-top-link {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 1040;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: .4rem;
	border: 1px solid #6c757d;
	border-radius: .35rem;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
	color: #343a40;
	font-size: .72rem;
	line-height: 1.2;
	text-align: center;
}

.global-page-top-link:hover,
.global-page-top-link:focus {
	color: #111;
	text-decoration: none;
}

.global-page-top-link .oi {
	margin-bottom: .25rem;
}

.modelon-horizontal-table {
	position: relative;
}

.table-horizontal-scroll-controls {
	pointer-events: none;
	position: fixed;
	z-index: 1038;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}

.table-horizontal-scroll-button {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	padding: 0;
	border: 1px solid rgba(73, 80, 87, .3);
	border-radius: 999px;
	background: rgba(255, 255, 255, .46);
	box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
	color: rgba(33, 37, 41, .62);
	font-size: 2.75rem;
	line-height: 1;
	opacity: .66;
	transition: opacity .15s ease, background-color .15s ease;
}

.table-horizontal-scroll-button:hover,
.table-horizontal-scroll-button:focus {
	background: rgba(255, 255, 255, .92);
	opacity: 1;
}

.table-horizontal-scroll-button svg {
	width: 1.65rem;
	height: 1.65rem;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.table-horizontal-scroll-button.is-unavailable {
	visibility: hidden;
}

.site-notice {
	padding: 1rem 1.15rem 1.05rem;
	white-space: normal;
	overflow-wrap: anywhere;
}

.notification-entry { padding: .75rem; border-bottom: 1px solid #d8dee5; }
.notification-entry.is-unread { background: #edf5ff; border-left: 3px solid #2264a5; }
.notification-entry summary { cursor: pointer; overflow-wrap: anywhere; }
.notification-read-state { margin-left: .6rem; color: #566473; font-weight: normal; }
.notification-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: .65rem 0; }
.notification-link { display: inline-block; padding: .3rem 0; }
.notification-service-info { border-top: 1px solid #d8dee5; }
.notification-service-info > summary { padding: .75rem 1rem; cursor: pointer; }

.site-notice a {
	overflow-wrap: anywhere;
}

.site-notice h4 {
	color: #ff9933;
	font-size: 1rem;
	margin-bottom: .7rem;
}

.site-notice-item + .site-notice-item {
	border-top: 1px solid #d8dee5;
	margin-top: .85rem;
	padding-top: .85rem;
}

.site-notice-item-new h4 {
	color: #0b5cab;
}

.site-notice p {
	margin-bottom: .6rem;
	font-size: .92rem;
	line-height: 1.55;
}

.site-notice-link {
	margin-bottom: .25rem;
	font-size: .92rem;
}

.site-notice-support {
	margin-top: .6rem;
	color: #4d5358;
}
.site-notice-email { display: inline-block; white-space: nowrap; }

.site-notice-news-link {
	border-top: 1px solid #d8dee5;
	margin-top: .85rem;
	padding-top: .85rem;
}

@media (max-width: 767.98px) {
	#navigation {
		min-height: 66px;
		padding: .15rem .5rem !important;
	}

	#navbarNav {
		overflow-x: auto;
	}

	.site-notice {
		padding-left: .95rem;
		padding-right: .95rem;
	}

	.header-notice-menu {
		position: fixed !important;
		top: .5rem !important;
		right: .5rem !important;
		left: .5rem !important;
		width: auto;
		max-width: none;
		max-height: calc(100vh - 1rem);
		max-height: calc(100dvh - 1rem);
		transform: none !important;
	}
}

#menuHeaderNotice {
	margin-right: .85rem;
}

#menuHeaderSituation,
#menuHeaderDownload {
	margin-right: .85rem;
}
/*
#header-logo a {
    display: block;
    height: 35px;
    width: 143px;
	text-indent: -9999px;
	overflow: hidden;
	background-image: url(../images/logo.gif);
	background-repeat: no-repeat;
    background-size: 143px;
}
*/

.global-page-top-link { width:54px; height:54px; color:#fff; background:#1d5a8e; border-color:#1d5a8e; }
.global-page-top-link svg { width:30px; height:30px; }
.global-page-top-link:hover,.global-page-top-link:focus { color:#fff; background:#14446b; }

/* Keep the inbox and service information in distinct, independently readable areas. */
.header-notice-menu { width:min(860px,calc(100vw - 2rem)); max-height:min(780px,calc(100dvh - 5rem)); border-radius:.65rem; }
.header-notice-menu.show { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; overflow:hidden; }
#notificationInbox { grid-row:1 / 3; display:flex; flex-direction:column; min-height:0; padding:0!important; border-right:1px solid #e1e4e8; }
.notification-inbox-heading { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.6rem; padding:.8rem 1rem; border-bottom:1px solid #e1e4e8; }
.notification-inbox-heading h4 { margin:0; font-size:.95rem; line-height:1.6; }
#notificationReadAll { font-size:.78rem; padding:0; border:0; background:none; color:#17629c; text-decoration:underline; text-underline-offset:.15em; cursor:pointer; }
#notificationReadAll:disabled { opacity:.5; cursor:wait; }
.notification-items-scroll { flex:1 1 auto; min-height:140px; max-height:650px; overflow-y:auto; overscroll-behavior:contain; padding:.3rem 0 .8rem; }
.notification-entry,.notification-entry.is-unread { padding:.75rem 1rem; border:0; border-bottom:1px solid #e6e8eb; background:#fff; }
.notification-entry-header { display:flex; flex-direction:row; align-items:center; gap:.5rem; min-width:0; }
.notification-entry-header strong { font-size:.83rem; line-height:1.5; flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.notification-entry time { flex:0 0 auto; font-size:.68rem; color:#737b83; white-space:nowrap; }
.notification-body { font-size:.83rem; line-height:1.65; margin:.5rem 0 .35rem; }
.notification-entry-actions { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.8rem; align-items:center; }
.notification-entry-actions a { font-size:.82rem; }
.notification-entry-header .notification-mark-read { flex:0 0 auto; font-size:.7rem; padding:.18rem .4rem; line-height:1.4; }
#notificationMore { display:block; margin:1rem 1.5rem 0; padding:.45rem .9rem; }
#notificationEmpty,#notificationError:not(:empty),#notificationRefresh:not(.d-none) { margin:1rem 1.5rem; }
#notificationError:empty { display:none; }
.notification-service-info { grid-column:2; grid-row:1; min-height:0; max-height:650px; overflow-y:auto; padding:1.3rem 1.4rem; background:#fafafa; }
.notification-service-info > h4 { font-size:.95rem; margin:0 0 1.4rem; line-height:1.6; }
.notification-service-info .site-notice { padding:0; }
.notification-service-info .site-notice h4 { font-size:.86rem; color:#454b52; margin:0 0 .8rem; line-height:1.7; }
.notification-service-info .site-notice p { font-size:.8rem; line-height:1.9; margin-bottom:1rem; }
.notification-service-info .site-notice-link { font-size:.8rem; margin:.6rem 0; }
.notification-service-info .site-notice-item + .site-notice-item { margin-top:1.4rem; padding-top:1.4rem; }
.site-notice-news-link { grid-column:2; grid-row:2; border-top:1px solid #e1e4e8; margin:0; padding:1rem 1.4rem!important; background:#fff; font-size:.87rem; }
@media(max-width:767.98px) {
 .header-notice-menu { width:auto; height:calc(100dvh - 1rem); max-height:calc(100dvh - 1rem); }
 .header-notice-menu.show { display:flex; flex-direction:column; }
 #notificationInbox { flex:1 1 55%; border-right:0; min-height:180px; }
 .notification-inbox-heading,.notification-entry { padding:.75rem; }
 .notification-items-scroll { max-height:none; min-height:100px; }
 .notification-service-info { flex:0 1 30%; max-height:28dvh; min-height:80px; padding:1rem 1.2rem; border-top:1px solid #e1e4e8; }
 .site-notice-news-link { flex:0 0 auto; padding:.9rem 1.2rem!important; }
}

.site-notice-date { float:right; margin-left:.7rem; font-size:.73rem; font-weight:400; color:#68737d; }
.site-notice-news-link { display:flex; flex-wrap:wrap; align-items:baseline; gap:.35rem .8rem; }
.site-notice-news-description { color:#65717a; font-size:.77rem; line-height:1.5; }
