@charset "UTF-8";
/* CSS Document */

/*ニュース*/

.news_container .sttl p{
    font-size: 20px;
    font-weight: bold;
    color: #103e8a;
/*背景にアイコン配置*/
  margin: 0 auto 30px;
  background: url("../images/schoollife/library/icon_oshirase.png") no-repeat 0% center;
  background-size: 18px 18px;
  display: inline-block;
  padding: 0 0 0 28px;
}
.news_container .sttl{
  text-align: center;
}

.news_container{
/*  text-align: center;*/
  background: #e7ebf3;
  padding: 50px 0;
}
.news_area {
    background: #fff;
    margin: 0 auto 30px;
    max-width: 810px;
    border-top: 2px solid #103e8a;
}
.news_area .news {
    border-bottom: 1px solid #cbcbcb;
}
.news_area .news a {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    align-items: center;
    padding: 30px;
}
.news_area .news a:hover {
	background :#eee;
}
.news_area .news dl {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.news_area dl dt , .news_area dl dd {
	margin: 0 10px;
}
.news_area dl .day {
	width: 90px;
	text-align: center;
	font-weight: bold;
}
.news_area dl .icon {
    width: 100px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    padding: 10px 0;
}
.news_area dl .icon span {
	display: block;
	padding: 0.3em 0 0.2em;
	font-size: 13px;
}
.notice {
	background-color: #b79920;
}
.news_area dl .cont {
	width: 610px;
  font-size: 15px;
  font-weight: bold;
}
.news_area dl .img {
	width: 170px;
}

@media only screen and (max-width: 768px){
  
  .news_area {
      margin: 0 5% 20px;
  }
  .news_area .news a {
      -webkit-justify-content: space-around;
      justify-content: space-between;
      align-items: flex-start;
      padding: 15px 3%;
  }
  .news_area .news dl {flex-wrap: wrap;justify-content: flex-start;align-items: flex-start;}
  .news_area dl dt , .news_area dl dd {
  }
  .news_area dl .day {
    width: 25%;
    text-align: left;
    margin: 0 20px 10px 0;
    font-size: 10px;
    font-weight: normal;
  }
  .news_area dl .icon {
      width: 40%;
      padding: 0;
      margin: 0;
  }
  .news_area dl .icon span {
    padding: 0.1em 0 0;
    font-size: 10px;
  }
  .news_area dl .icon .exa {}
  .news_area dl .icon .sch {}
  .news_area dl .icon .clu {}
  .news_area dl .icon .les {}
  .news_area dl .icon .oth {}
  .news_area dl .cont {
    width: 100%;
    margin: 0;
    font-weight: bold;
  }
  .news_area .news .img {
    width: 35%;
    margin: 0;
  }
  .news_area .news .img img {
    width: 100%;
  }
  
}



/*==========================
　ニュース詳細
==========================*/
.news_detail .day_icon:after {
  content: "";
  display: table;
  clear: both;
}
.news_detail .day_icon{
margin-bottom: 25px;
}
.news_detail .day_icon .day{
width: 100px;
float: left;
margin-right: 10px;
}
.news_detail .day_icon .icon{
float: left;
width: 100px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}
.news_detail .icon span {
	display: block;
	padding: 0.3em 0 0.2em;
	font-size: 13px;
}
.news_detail .icon .exa {
	background-color: #22adf0;
}
.news_detail .icon .sch {
	background-color: #5daa93;
}
.news_detail .icon .les {
	background-color: #c02828;
}
.news_detail .icon .clu {
	background-color: #9843a0;
}
.news_detail .icon .oth {
	background-color: #b79920;
}
@media only screen and (max-width: 768px){
.news_detail .day_icon{
margin-bottom: 15px;
}
.news_detail .day_icon .day{
width: 80px;
float: left;
margin-right: 10px;
}
.news_detail .day_icon .icon{
float: left;
width: 100px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}
.news_detail .icon span {
	display: block;
	padding: 0.3em 0 0.2em;
	font-size: 12px;
}
}


.news_detail h3{
font-size: 22px;
border-top: none;
border-left: none;
border-right: none;
margin-bottom: 50px;
background: none;
padding: 0 0 20px 0;
border-bottom: 1px solid #cfcfcf;
}
.news_detail h3::before {
  display: none;
}
.news_detail h3::after {
  position: absolute;
  left: 0;
  top: auto;
  bottom: -1px;
  content: '';
  width: 90px;
  height: 1px;
  background-color: #ce7179;
}

.news_detail .img_set{
margin-bottom: 40px;
}
.news_detail .img_set ul{
display: flex;
justify-content: center;
}

.news_detail .img_set ul li{
margin-right: 20px;
text-align: center;
}
.news_detail .img_set ul li:last-child{
margin-right: 0px;

}
.news_detail a{
color: #cd1423 !important;
text-decoration: underline;
display: inline-block;
}
@media only screen and (max-width: 768px){
.news_detail h3{
font-size: 18px;
border-top: none;
border-left: none;
border-right: none;
margin-bottom: 30px;
background: none;
padding: 0 0 15px 0;
border-bottom: 1px solid #cfcfcf;
}
.news_detail h3::before {
  display: none;
}
.news_detail h3::after {
  position: absolute;
  left: 0;
  top: auto;
  bottom: -1px;
  content: '';
  width: 90px;
  height: 1px;
  background-color: #ce7179;
}

.news_detail .img_set{
margin-bottom: 40px;
}
.news_detail .img_set ul{
display: block;
justify-content: center;
}

.news_detail .img_set ul li{
margin-right: 0;
text-align: center;
margin-bottom: 15px;
}
.news_detail .img_set ul li:last-child{
margin-right: 0px;

margin-bottom: 15px;
}
}
