
/* CSS Document */

/*==================================================

top-contents
=================================================*/

h3{
	background: #377dc3;
	color: #fff;
	border-radius: 5px 5px 0 0;
	padding: 5px;
	text-align: center;
	margin: 5% auto 5%;
	
}
h4{
	border-bottom:2px solid #377dc3;
	padding: 5px 10px;
	color: #377dc3;
	
}
.news{
	background: #f3f3f3;
}
.news .NewsNav{
	padding: 0 10px;
	width: 20%;
}
.news .NewsContents{
	background: #fff;
	width: 80%;
	padding: 30px 20px;
	border-radius: 10px;
	margin-bottom: 8%;
}

.news table th{
	color: #377dc2;
}
.news table td a{
	color: #333;
}

.NewsContents .NewsBox{
	padding: 20px 0 20px 20px;
	border-bottom: 3px solid #efefef;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.NewsContents .Date{
	font-weight: 500;
	color: #7c7c7c;
	text-align: right;
	margin: 10px 0 10px auto;
}

.news .NewsNav ul{
	margin: 8% auto;
	padding: 0 20px;
	
}
.news .NewsNav ul li a{
	color: #333;
	padding: 5px 0 5px 30px;
	display: block;
	position: relative;
}
.news .NewsNav ul li a::before{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    left: 5px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #377dc2;
    border-right: 1px solid #377dc2;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.news .NewsNav ul li a:hover{
	color: #377dc2;
	
}



.NewsContents .NewsData{
	padding: 20px 0;
	position: relative;
}
.NewsContents .NewsData .Date{
	font-weight: 500;
	color: #7c7c7c;
	text-align: right;
	padding: 0px 0 0 20px;
}
.NewsContents .NewsData article{
	padding: 30px 20px;
	max-width: 700px;
	margin: 0 auto;
}
.NewsContents .NewsData article p{
	margin: 3% auto;
}
.NewsContents .NewsData article img{
	max-width: 100%;
	width: inherit;
	height: auto;
}


@media only screen and (min-width:1px) and (max-width: 960px) {

.NewsContents .NewsBox .Txt{
	width: 70%;
	padding: 0 10px;
	text-align: right;
}

.NewsContents .NewsBox .Txt .Cat{
	background: #4eb3b9;
	min-width: 120px;
	font-size: 1.4rem;
	line-height: 1.6em;
}
.NewsContents .NewsBox .Txt .Date{
	font-weight: 500;
	color: #7c7c7c;
	text-align: left;
	line-height: 1.8em;
}
.NewsContents .NewsBox .Txt h3{
	font-weight: 500;
	font-size: 1.9rem;
	line-height: 1.8em;
	text-align: left;
	margin: 0;
}
	
}

@media only screen and (min-width:1px) and (max-width: 768px) {

.news .NewsNav{
	order: 2;
	padding: 0 10px;
	width: 100%;
	width: 96%;
	margin: 20px auto;
}
.news .NewsContents{
	order: 1;
	background: #fff;
	width: 96%;
	margin: 0 auto;
}

.news .NewsNav ul{
	margin: 3% auto;
	display: flex;
	flex-wrap: wrap;
}
.news .NewsNav ul li{
	width: 33.3333%;
}
}

@media only screen and (min-width:1px) and (max-width: 530px) {

.news .NewsNav ul li{
	width: 50%;
}
.NewsContents .NewsBox .Photo{
	width: 40%;
	margin-right: 0;
	padding: 0;
	overflow: hidden;
	max-width: 100%;
	max-height: auto;
}
.NewsContents .NewsBox .Photo img {
	display: block;
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}
.NewsContents .NewsBox .Photo img:hover {
	transform: scale(1.05);	/*画像の拡大率*/
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}
	
.NewsContents .NewsBox .Txt{
	width: 60%;
	padding: 0 10px;
	text-align: right;
}
.NewsContents .NewsBox .Txt .Cat{
	font-size: 1.3rem;
	line-height: 1.6em;
	min-width: 80px;
}
.NewsContents .NewsBox .Txt .Date{
	font-size: 1.3rem;
}
.NewsContents .NewsBox .Txt h3{
	font-weight: 500;
	font-size: 1.6rem;
	line-height: 1.6em;
	text-align: left;
	margin: 0;
}
.NewsContents .NewsData .Cat{
	background: #4eb3b9;
	min-width: 90px;
	line-height: 1.7em;
	font-size: 1.3rem;
	text-align: center;
	display: inline-block;
	margin: 0 20px;
	color: #fff;
	position: relative;
	right: inherit;
	top: inherit;
}
.NewsContents .NewsData .Date{
	font-weight: 500;
	color: #7c7c7c;
	text-align: left;
	padding: 0 0 0 20px;
}
.NewsContents .NewsData h3{
	font-weight: 500;
	font-size: 1.8rem;
	text-align: left;
	margin: 0;
	border-bottom: 2px solid #4eb3b9;
	padding: 0px 0 10px 20px;
	width: 96%;
}
}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}

