@charset "utf=8";

.news-link {
    width: 100%;
	position: relative;
	display: block;
	padding: 2rem 5rem 2rem 1rem;
	transition: all .3s;
	z-index: 2;
}

.news-link::before {
	content: "";
	position: absolute;
	top: 0;
	right: 1rem;
	bottom: 0;
	z-index: 3;
	width: 1.8rem;
	height: 2.1rem;
	margin: auto 0;
	background: url(../../../../uploads/btn-arrow-black.svg) no-repeat center /contain;
	transition: all .3s;
}

.news-link:hover::before {
	right: 0;
	transition: all .3s;
}

.news-link-border {
	border-bottom: 1px solid var(--gray01);
}

.news-category-box {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.news-date {
	font-family: var(--font-family01);
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1.45;
	letter-spacing: 0.05em;
}

.news-section .category {
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.45;
	border: 1px solid var(--gray01);
	padding: .25rem 2rem .3rem;
	text-align: center;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background-color: var(--white);
	border-radius: 100vmax;
}

.news-title {
	font-family: var(--font-family01);
	flex: 1;
	margin: 1rem 0 0;
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.05em;
}


/* ==========================================
ページャー
========================================== */

.wp-pagenavi {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
    margin: 4rem auto 0;
}

.pagination-page {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 4rem;
	height: 4rem;
	border-style: solid;
	border-width: 1px;
	border-radius: 50%;
	text-align: center;
}

.pagination-current-color {
	background: var(--primary);
	color: var(--white);
}

.pagination-page-color {
	border-color: var(--primary);
	color: var(--primary);
}

.pagination-page-color:hover {
	background: var(--primary);
	color: var(--white);
}

.pagination-first, .pagination-last {
	font-size: 1.2rem;
	border-style: solid;
	border-width: 1px;
	padding: 0.4rem 0.5rem 0.2rem;
}

.pagination-first-color, .pagination-last-color {
	border-color: var(--primary);
	color: var(--primary);
}

.pagination-first-color:hover, .pagination-last-color:hover {
	background: var(--primary);
	color: var(--white);
}

/* ==========================================
一覧
========================================== */

.news .news-item {
    border-bottom: .1rem solid var(--black);
}

.news .news-item:first-child {
    border-top: .1rem solid var(--black);
}


.news .news-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    padding: 3rem 0;
}

.news .news-link:hover .news-name {
    text-decoration: underline;
}

.news .news-img {
    max-width: 16rem;
    width: 100%;
    text-align: center;
}

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

.news .news-info {
    max-width: 29rem;
    width: 100%;
    display: flex;
    align-items: center;
}

.news-item .news-row {
    display: flex;
    align-items: center;
    width: 25%;
}

.news .news-date {
	font-family: var(--font-family01);
    display: block;
    margin: 0 9.2% 0 0;
    font-size: 1.8rem;
    font-weight: 600;
	line-height: 1.45;
    letter-spacing: 0.05em;
    width: 8.5rem;
}

.news .news-cate {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.45;
    border: 1px solid var(--gray01);
    padding: .25rem 2rem .3rem;
    text-align: center;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: var(--white);
    border-radius: 100vmax;
}

.news .news-name {
    display: block;
    flex: 1;
    margin: 0 0 0 4%;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    flex: 1;
}

/* ==========================================
詳細
========================================== */

.news-detail-box {
    max-width: 120rem;
    width: 100%;
    margin: auto;
    background: var(--white);
    border-top: solid .4rem var(--primary);
    box-shadow: 0 .3rem .6rem rgb(0 0 0 / 16%);
    padding: 6rem;
}

.news-detail-box > h2 {
    border-bottom: .2rem solid var(--black);
    padding: 0 0 1rem;
    margin: 2rem 0 0;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.5em;
}

.news-detail-box > .content {
    margin: 3rem 0 0;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5em;
}

.news-detail-box .news-date {
	font-family: var(--font-family01);
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
}

.news-detail-box .news-cate {
    display: block;
    margin: 5rem 0 0;
}

.news-back-btn-color {
    color: var(--white);
    background: var(--primary);
}

.news-back-btn {
	max-width: 30rem;
	width: 100%;
	margin: 4rem auto 0 ;
	display: block;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 700;
    letter-spacing: 0.05em;
    transition: all .3s;
	cursor: pointer;
}

.news-back-btn a {
    display: block;
    width: 100%;
    padding: 1.5rem;
}

.news-back-btn-color:hover {
    color: var(--black);
    background: var(--white);
    transition: all .3s;
}

/*========= カテゴリー =========*/

.category-area {
    max-width: 120rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 4rem auto 0;
}

.category-box {
    max-width: 18rem;
    width: 49%;
    position: relative;
}

.category-box:nth-child(n+2) {
    margin: 0 0 0 2%;
}

.category-list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    /* border: solid 1px var(--gray01); */
    padding: .5rem 1rem;
    /* color: var(--white); */
    background: var(--white);
    cursor: pointer;
    transition: .3s;
}

.category-list-title:hover {
    color: var(--white);
    background: var(--primary);
}

.category-list-title.active {
    background: var(--primary);
    color: #fff;
}

.category-list-title.active:after {
    transform: scale(1,-1);
}

.category-list, .archive-list{
    background: var(--white);
    /* border: solid 1px #eee; */
    width: 100%;
    margin: auto;
    position: absolute;
    bottom: calc(100% + 3px);
    right: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.active + .category-list {
    opacity: 1;
    visibility: visible;
}

.active + .archive-list{
    opacity: 1;
    visibility: visible;
}

.category-list > li:not(:last-child) {
    border-bottom: solid 1px #eee;
}

.archive-list > li:not(:last-child) {
    border-bottom: solid 1px #eee;
}

.category-list > li > a {
    display: block;
    padding: 8px 10px;
    position: relative;
    color: var(--black);
}

.archive-list > li > a {
    display: block;
    padding: 8px 10px;
    position: relative;
    color: var(--black);
}

.category-list > li > a:hover {
	color: var(--white);
    background: var(--primary);
}

.archive-list > li > a:hover {
    background: var(--primary);
}

.category-list-title:after {
    font-family: "FontAwesome";
    font-weight: 600;
    content: '\f107';
    display: block;
    font-size: 12px;
    padding-left: 10px;
    transition: transform .3s;
}

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

@media screen and (width <=1024px) {

    .news-row {
        width: 32%;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

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

@media screen and (width <=768px) {

	.news-date {
		font-size: 1.3rem;
	}

	.news-section .category {
		font-size: 1.1rem;
	}

	.news-title {
		font-size: 1.3rem;
	}

	.news-link {
		flex-direction: column;
		padding: 2rem 0;
	}

	.news-link::before {
        top: 4.5rem;
		right: 0;
	}

    .news-item .news-row {
        width: 100%;
    }

	.newsBx .news-category-box {
		width: 100%;
		gap: 1.5rem;
	}

	.news-link p {
		font-size: 1.4rem;
	}

	.categoryArea {
		justify-content: center;
	}

	
	/*  一覧  */

	.news {
		max-width: 80rem;
	}
		
	.news .news-link {
		display: block;
		padding: 2rem 0;
	}

	.news .news-info {
		display: block;
		max-width: 100%;
	}

	.news .news-cate {
        max-width: 90%;
		display: inline;
	}

    .news .news-date {
        width: 10.5rem;
        margin: 0 3% 0 0;
    }

	.news .news-name {
		margin: 1.5rem 0 0;
	}

	/*  詳細  */

    .news-detail-box {
        padding: 4rem 1.5rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=576px) {

    .incover figure > img {
        object-position: 70% 50%;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */