@charset "utf-8";

.news-item .img-area > img + .no-img {
    display: none;
}

.news-item:first-child > a {
	margin: 0;
	padding: 0 0 24px;
}

.news-item > a {
    display: flex;
  	flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    color: var(--base-body-color);
    padding: 24px 0;
    border-bottom: 1px solid #CBCBCB;
	margin: 20px 0 0;
}

.news-item > a:hover .in-news-text-box::after {
    right: -10px;
    transition: all .3s;
}

.news-item > a:hover {
  	color: var(--base-body-color);
}

.news-item img {
    transition: all .5s;
}

.news-item:hover img {
    transform: scale(1.1);
    transition: all .5s;
}

.news-item img + .no-img {
    display: none;
}

.news-item .news-img img {
    transition: all .3s;
}

.news-item .img-control {
    position: relative;
    background: #F2F2E7;
    aspect-ratio: 17/12;
    overflow: hidden;
    max-width: 170px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.news-img img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    width: auto;
    max-height: 100%;
    height: auto;
    margin: auto;
}

.news-img>img+.no-img {
    display: none;
}

.in-news-cate-row {
    display: flex;
	flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.in-news-text-box {
	margin: 20px 0 0;
    width: 100%;
  	position: relative;
}

.in-news-text-box::after {
    content: "";
    display: block;
    max-width: 48px;
    width: 100%;
    height: 8px;
    position: absolute;
    right: 0;
    top: 70%;
  	background: url(/system_panel/uploads/images/arrow-green.svg) no-repeat, center center;
  	background-size: contain;
    transition: all .3s;
}

.news-item .in-cate {
    max-width: max-content;
  	min-width: 122px;
    font-size: 13px;
    line-height: 1.4em;
    padding: 4px 15px;
    color: var(--white);
    background: var(--primary);
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.news-item .in-date {
    width: 117px;
    display: block;
    font-size: 12px;
    line-height: 1.24em;
    word-break: break-all;
}

.news-item .in-title {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.8em;
}


/* 下層 */
.news-row {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
}

.news-side,
.news-main {
    width: 100%;
}

.news-side {
    margin: 30px 0 0;
}

.news-cate-title {
    padding: 6px 10px;
}

.news-cate-title:nth-of-type(n + 2) {
    margin: 20px 0 0;
}

.cate-link {
	color: var(--base-body-color);
}

.cate-link:hover {
	color: var(--base-body-color);
    text-decoration: underline;
}

/* 下層 */

/* 詳細 */

.detail section {
    display: block;
}

.news-detail .news-cate-row {
	display: flex;
  	justify-content: flex-start;
    flex-wrap: wrap;
}

.news-detail .news-date {
    width: 100%;
    margin: 0;
}

.news-detail .news-cate {
	min-width: 122px;
    font-size: 13px;
    line-height: 1.4em;
    padding: 4px 15px;
    color: var(--white);
    background: var(--primary);
    text-align: center;
	margin: 8px 0 0 0;
}

.news-detail .img {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
}

.news-detail .img:empty {
    display: none;
}

.detail-title {
    padding: 0 0 5px 0;
    border-bottom: 1px solid var(--base-body-color);
}

.news-detail .content {
    margin: 16px 0 0;
}

.pdf-btn {
    max-width: 300px;
    width: 100%;
    display: block;
    padding: 20px;
    border: 1px solid var(--base-body-color);
    color: var(--base-body-color);
    text-align: center;
    font-family: var(--font-family02);
    font-size: 18px;
    letter-spacing: 0.1em;
  	transition: all .3s;
}

.pdf-btn:hover {
  	color: var(--white);
    background: var(--base-body-color);
}

.pdf::before,
.back-btn::before {
    display: none;
}

.pdf p,
.back-btn p {
    margin: 0;
}

/* 詳細 */


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:375px) {

}

/* min-width: 375px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:414px) {}

/* min-width: 414px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:544px) {
  
  .news-item > a {
      flex-direction: row;
    }
  
    .news-item .img-control {
        margin: 0 5% 0 0;
      	width: 20%;
    }
  
    .in-news-text-box {
        margin: 0;
        width: 75%;
    }
  
 
  
}

/* min-width: 544px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:768px) {
	
	.news-item .img-control {
		margin: 0 5% 0 0;
	}

	.news-item .in-title {
		font-size: 14px;
	}
  
    .in-news-text-box::after {
    	top: 50%;
    }

    /* 下層 */
    .news-row {
        flex-direction: row;
        align-items: flex-start;
    }

    .news-side {
        width: 22%;
        margin: 0;
    }

    .news-main {
        width: 75%;
    }

    .news-main section {
        gap: 40px 20px;
    }
  
    .news-item .img-control {
        margin: 0 5% 0 0;
    }
  

    /* 詳細 */

    .news-detail .news-cate-row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
  
    .news-detail .news-cate {
        margin: 0 0 0 20px;
    }
  
    .news-detail .news-date {
        width: auto;
    }

}

/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1024px) {

	.news-item .img-control {
		margin: 0 7.5% 0 0;
	}

	.news-item .in-cate {
		font-size: 14px;
	}

	.news-item .in-date {
		font-size: 14px;
	}

	.news-item .in-title {
		font-size: 16px;
	}
  
    .news-detail .news-cate {
		font-size: 16px;
    }

}

/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1200px) {

    .news-main section {
        gap: 45px;
    }

	.news-item .in-cate {
		font-size: 16px;
	}

	.news-item .in-date {
		font-size: 16px;
	}

	.news-item .in-title {
		font-size: 20px;
	}
}

/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1440px) {

}

/* min-width: 1440px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */