@charset "UTF-8";

/* ------------------------------
   TOP NEWS 一覧
------------------------------ */
.news {
	max-width: 700px;
    padding: 40px 20px 20px;
	margin: 0 auto;
}
.news h2 {
	font-size: 22px;
}
.news_container {
	display: flex;
	font-size: 15px;
	margin: 0.8em 0;
}
.news_container--label {
	width: 220px;
}
.news_container--label .label {
	text-align: center;
	background-color: #003453;
	color: #fff;
	font-size: 90%;
	margin-left: 5px;
	display: inline-block;
	line-height: 1;
	padding: 3px 5px;
	min-width: 100px;
	vertical-align: text-top;
}
.news_container--title {
	width: calc(100% - 225px);
}
.news_container--title a {
	color: #000;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
}
.news_container--title a:hover {
	text-decoration: underline;
}
@media screen and (max-width: 768px) {
	.news h2 {
		text-align: center;
		font-size: 19px;
	}
	.news_container {
		display: block;
	}
	.news_container--label {
		font-size: 12px;
	}
	.news_container--title {
		width: auto;
		margin: 0.3em 0 0.5em;
		font-size: 14px;
	}
	.news_container--title a {
		text-decoration: underline;
	}
	.news_container--title a:hover {
		text-decoration: none;
	}
}
/* ------------------------------
   TOP NEWS モーダル
------------------------------ */
#mdArea {
	top: 0;
	left: 0;
	right: 0;
    bottom: 0;
	position: fixed;
	z-index: 1100;
	display: none;
	height: 100vh;
    overflow-y: auto;
}
#mdOverlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
    bottom: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.70);	
}
#mdWindow {
    width: 50vw;
    min-width: 700px;
    height: auto;
    max-width: 800px;
    position: relative;
    z-index: 11010;
    background: #fff;
    display: none;
    border: none;
    margin: 60px auto;
}
#mdWindow > .mdClose {
	top: -40px;
	right: -40px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-size: 1.5em;
	position: absolute;
	z-index: 1102;
	cursor: pointer;
}
#mdWindow > .mdClose:before {
	content: " ";
	display: block;
	width: 20px;
	height: 2px;
	background-color: #fff;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	position: absolute;
	bottom:  10px;
	left: 0;
	z-index: 1100;
}
#mdWindow > .mdClose:after {
	content: " ";
	display: block;
	width: 20px;
	height: 2px;
	background-color: #fff;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	position: absolute;
	bottom: 10px;
	left: 0;
	z-index: 1100;
}
#contWrap {
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
	overflow-y: auto;
	border: none;
	position: relative;
	z-index: 1100;
}

/*SP---------------*/
@media screen and (max-width: 768px) {
    /*#mdContainer {
        padding-bottom: 150px;
    }*/
	#mdWindow {
		width: calc(100% - 40px);
		min-width: inherit;
		margin-bottom: 150px;
       /*モーダル内スクロール height: 70vh;*/
	}
	#mdWindow > .mdClose {
		top: -43px;
   		right: -5px;
	}
	#contWrap {
		padding: 8px;
	}
}

/*モーダル内---------------*/
button.close {
  display: none !important;
}
#md_content {
    position: relative;
    z-index: 1101;
}
#md-data {
    padding: 0px;
}
.modal-news {
  display: block;
  color: #000;
}
.modal-news p {
    line-height: 1.7;
}
.modal-news p {
    line-height: 1.7;
}
.modal-news .modal-header img {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}
.modal-news .modal-body {
    font-size: 16px;
    padding: 10px 20px 20px;
}
.n-title {
	margin: 0.7em 0 0.5em;
	font-size: 120%;
}
.n-content {
	letter-spacing: 0;
}
.modal-news .modal-body a {
    text-decoration: underline;
}
.modal-news .modal-body a:hover {
    text-decoration: none;
}
.modal-news .modal-body .label {
	background-color: #003453;
	color: #fff;
	font-size: 80%;
	text-align: center;
	margin-left: 5px;
	display: inline-block;
	line-height: 1;
	padding: 3px 5px;
	min-width: 100px;
	vertical-align: text-top;
}
.modal-news .modal-body .label.label3 {
	background-color: rgba(223,0,3,0.70);
	color: #fff;
}
@media screen and (max-width: 768px) {
    .modal-news .modal-body {
        /*padding: 0;*/
    }
}
@media screen and (max-width: 384px) {
	.modal-news .modal-body {
		font-size: 14px;
	    }
}