@charset "UTF-8";

/* ------------------------------------------------------
 *  news/index
 * ------------------------------------------------------ */

#about_jquery_2 a {
    margin: 100px 0px;
    display: block;
}

#news .contents_main_img {
	background-image: url(../../img/front/home/main.png);
}

#news .contents_main_img h1 {
	/*top: 150px;
    font-size: 3.5em;*/
}

#news .contents_area {
	background-color: rgba(255,255,255,0.341);
}

#news .contents_area ul.contents {
	padding: 0; 
	font-size: 0;
    margin: 0;
}

#news .contents_area ul.contents li {
	display: inline-block;
	vertical-align: top;
	width : 30%;
	height: 400px; 
	margin-right: 5%;
	margin-bottom: 5%;
}

#news .contents_area ul.contents li:nth-last-child(3),
#news .contents_area ul.contents li:nth-last-child(2),
#news .contents_area ul.contents li:last-child{
    margin-bottom: 0;
}

#news .contents_area ul.contents li:nth-of-type(3n) {
	margin-right: 0;
}

#news .contents_area ul.contents a {
	position: relative;
	display: block;
	width: 100%;
	height: 400px;
	padding: 7%;
	background-color: #fff;
	color: #333;	
	font-size: 14px;
    line-height: 1.5em;
}

#news .contents_area ul.contents li a:hover {
	color: #fff;
	background-color: #333;
}

#news .contents_area ul.contents li a img {
	display: block;
	margin: 0 auto;
	margin-bottom: 20px;
	width: 100%;
	height: 190px;
	object-fit: cover;
}

#news p.icon {
	display: inline-block;
	padding: 4px 15px;
	color: #fff;
	background-color: #2c0080;
}

#news .contents_area ul.contents p {
	margin-bottom: 10px;
}

#news .contents_area ul.contents p.title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

#news .contents_area ul.contents p.date {
	position: absolute;
	bottom: 5%;
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    #news .contents_area {
        background-color: #fff;
    }
    #news .contents_area ul.contents li{
        display: block;
        width: 100%;
        height: auto;
        border: 1px solid #707070;
        margin-bottom: 20px;
    }
    #news .contents_area ul.contents li:nth-last-child(3),
    #news .contents_area ul.contents li:nth-last-child(2){
        margin-bottom: 20px;
    }
    #news .contents_area ul.contents li:last-child{
        margin-bottom: 0;
    }
    #news .contents_area ul.contents a{
        padding: 20px 10px;
        font-size: 0;
        height: auto;
    }
    #news .contents_area ul.contents li .news_image{
        display: inline-block;
        vertical-align: top;
        width: 47%;
        margin-right: 3%;
    }
    #news .contents_area ul.contents li a img{
        margin: 0;
        height: auto;
    }
    #news .contents_area ul.contents li .news_detail{
        display: inline-block;
        vertical-align: top;
        width: 50%;
    }
    #news .contents_area ul.contents p{
        margin-bottom: 5px;
    }
    #news .contents_area ul.contents p.icon{
        font-size: 10px;
        line-height: 1em;
        padding: 4px 10px;
    }
    #news .contents_area ul.contents p.title{
        font-size: 12px;
        line-height: 1.6em;
        -webkit-line-clamp: 5;
    }
    #news .contents_area ul.contents p.date{
        font-size: 10px;
        line-height: 1em;
        bottom: 20px;
    }
}
@media screen and (max-width: 413px) {
    #news .contents_area ul.contents p.title{
        -webkit-line-clamp: 4;
    }
}
@media screen and (max-width: 374px) {
    #news .contents_area ul.contents p.title{
        -webkit-line-clamp: 3;
    }
}

/* ------------------------------------------------------
 *  news/detail
 * ------------------------------------------------------ */

#detail {
	display: block;
	background-color: #fff;
	padding: 50px 40px 0;
}

#detail .inner {
	padding-bottom: 100px;
}

#detail .inner p.icon{
    margin: 0 0 20px;
}

#detail .inner p.date {
	display: inline-block;
	margin: 0 0 0 10px;
}

#detail .inner h3.title {
	margin: 0 0 50px;
}

#detail .inner img {
	margin: 0 0 30px;
}

.pager{
    background: #fff;
    padding-bottom: 50px;
    margin: 0;
}

.pager li>a, #detail .pager li>span,
.pager li>a:focus,
.pager li>a:hover {
	border: none;
	background-color: #fff;
	color: #333;
}

.pager .back {
	margin: 0 50px;
}

@media screen and (max-width: 767px) {
    #detail{
        padding: 20px;
        border: 1px solid #707070;
        margin-bottom: 50px;
    }
    #detail .inner{
        padding-bottom: 0;
    }
    #detail .inner p.icon{
        margin-bottom: 10px;
    }
    #detail .inner h3.title{
        line-height: 1.6em;
        margin: 0 0 20px;
    }
    #detail .inner img{
        width: 100%;
        margin: 0 0 20px;
    }
    .pager{
        padding-bottom: 0;
    }
}