@charset "utf-8";

.no_scroll {
    /* dame */
    /*overflow: hidden;*/
    /*position: fixed;*/
}

#top-news {
    background-color: #f2f2f2;
    padding-top: 15px;
    padding-bottom: 40px;
}

#goto-news {
    background-color: #f2f2f2;
	padding-bottom:30px;
}

#news-innner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

#news-innner .news-section {
	width:90%;
	box-sizing: border-box;
	margin:0 auto;
    cursor: pointer;
    border-top: 1px solid #1d2087;
    padding: 10px 40px 10px 5px;
    background-image: url(images/news-open.png);
    background-repeat: no-repeat;
    background-position: top right;
}

#news-innner .news-section:last-of-type  {
    border-bottom: 1px solid #1d2087;
}

#news-innner .news-item {
    position: relative;
    width: 98%;
    margin-left: auto;
    margin-right: auto
}

.news-overlay {
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; 
    background-color: rgba(255, 255, 255, .2);
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
	width:100%;
	height:100%;
}

.news-overlay.popup {
    /* flexbox */
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    /* flex -- end */

}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.news-item-popup {
/*    flex: 0.9; */
    display: block;
    position: relative;
    /*z-index: 2100;*/
    background-color: #fff;
    border: 1px solid #1d2087;
    max-width: 1060px;
    height: 400px;
	width:90%;
    animation-name: fade-in;
    animation-duration: 0.5s;
    box-shadow: 5px 5px 30px #666666;
    padding: 10px 10px 20px 10px;
    overflow: hidden;
}

.news-item-popup:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 110px;
    z-index: 99;
    bottom: 0px;
    background: linear-gradient( rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}


.news-item-popup .news-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.news-item-popup h3 {
    display: block;
    height: 40px;
    padding: 3px 10px 3px 10px;
    margin: 10px 60px 3px 10px;
    line-height: 1em;
}

.news-contents-inner {
    /* flexbox */
    display: flex;
    justify-content: center;
    align-items: start;

    /* flex -- end */
}

.news-image {
    padding: 10px 10px 10px 10px;
    max-width: 340px;
}

.news-image img {
}

.news-text {
    padding: 10px 10px 10px 10px;
    overflow: hidden;
    height: 380px;
    /* calc(100% - 200px); */
}

.news-date {
    width: 210px;
    height: 30px;
    text-align: center;
    color: white;
    background-color: #1d2087;
    line-height: 2em;
    margin-bottom: 5px;
}


@media screen and (max-width: 720px) {
    .news-contents-inner {
        display: block;
    }
    .news-item-popup {
        height: 500px;
    }
    .news-text {
        height: 480px;
    }
    .news-image img {
        width: 50%;
        height: 50%;
    }
    /*
    .news-item-popup {
        height: 800px;
    }
    */
}