@charset "utf-8";

/* -----------------------------
	ページ幅
-------------------------------- */

#news .contents {
	padding: 30px 0 0;
}

@media screen and (max-width: 768px) {
	#news .contents {
		padding: 20px 0 40px;
	}
}


/* -----------------------------
	ページパーツ（　contents-left　）
-------------------------------- */


/*サブタイトル*/

#news .news-subtitle {
	font-weight: bold;
	font-size: 1.8rem;
	padding: 0 0 15px 0;
}


/*リスト*/
#news .news-box .news-list {
	margin: 0 0 40px;
    /*border-top: #858585 dashed 1px;*/
	border-top: #ddd solid 1px;
}

/*リスト（リンクエリア）*/

#news .news-box .news-list li a {
	color: #333;
    display: flex;
    padding: 25px 0;
    /*border-bottom: #858585 dashed 1px;*/
	border-bottom: #ddd solid 1px;
}
#news .news-box .news-list li .date {
	font-size: 1.4rem;
    font-weight: 700;
	/*
    font: 700 1.7rem / 1.8 'Lato', sans-serif;
	*/
	margin: 4px 10px 0 0;
    letter-spacing: .05em;
    width: 100px;
	color: #333;
}
#news .news-box .news-list li .cate {
	min-width: 90px;
	display: inline-block;
	font-size: 1.2rem;
	/*color: #fff;
	background: var(--sub-blue);*/
	text-align: center;
	/*line-height: 27px;*/
	line-height: 1;
    font-weight: 700;
    height: 27px;
    margin: 0 30px 0 0;
	padding: 6px 15px 5px;
	border: 1px solid #ddd;
}

/*カテゴリ　お知らせ*/
/*#news .news-box .news-list li .cate.type1{
    background: var(--main);
}*/

/*カテゴリ　採用情報*/
/*#news .news-box .news-list li .cate.type2{
    background: var(--recruit-main);
}*/

#news .news-box .news-list li .title {
    width: 610px;
	line-height: 1.5;
	font-weight: 700;
}

/*リスト（マウスオン）*/

/*#news .news-box .news-list li a:hover {
	color: var(--sub-blue);
}*/

@media screen and (max-width: 768px) {
	/*サブタイトル*/
	#news .news-subtitle {
		padding: 0 0 10px;
	}
    
    /*リスト*/
    #news .news-box .news-list {
        margin: 0 0 10px;
    }

    /*リスト（リンクエリア）*/

    #news .news-box .news-list li a {
        display: block;
        padding: 25px 0 20px;
    }
    #news .news-box .news-list li .date {
        margin: 0 10px 0 0 ;
        width: auto;
        display: inline-block;
    }
    #news .news-box .news-list li .cate {
        padding: 6px 15px 5px;
        line-height: 1;
        margin: 0 5px 0 0;
        min-width: auto;
        height: auto;
    }
    #news .news-box .news-list li .title {
        width: 100%;
        line-height: 1.6;
        font-weight: 700;
        margin: 10px 0 0 0;
    }
    
}


/* -----------------------------
	ページパーツ（　tag-area　）
-------------------------------- */

#news .tag-area {
	padding: 0 0 30px 0;
}

#news .tag-area .tag-title {
	font-size: 1.5rem;
	padding: 0 0 20px 0;
}

#news .tag-area .tag-list {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
}

#news .tag-area .tag-list li {
	text-align: center;
	margin: 0 10px 10px 0;
	line-height: 1.2;
}

#news .tag-area .tag-list li a {
	display: block;
	padding: 6px 15px;
	font-size: 1.2rem;
	background: #fff;
	border: #ccc solid 1px;
	color: #333;
}

#news .tag-area .tag-list li a:hover {
	border: var(--main) solid 1px;
	opacity: 1;
	background: var(--main);
	color: #fff;
}

@media screen and (max-width: 768px) {
	#news .tag-area {
		padding: 0;
	}
	#news .tag-area .tag-title {
		width: auto;
		padding: 0 0 10px 0;
	}
	#news .tag-area .tag-list {
		width: auto;
	}
	#news .tag-area .tag-list li {
		margin: 0 8px 8px 0;
	}
	#news .tag-area .tag-list li a {
		padding: 4px 10px;
	}
}


/* -----------------------------------------------------------
    詳細（　title-box　）
-------------------------------------------------------------- */

#news .title-box .date {
	display: inline-block;
	width: 80px;
	/*
    font: 500 1.2rem / 1 'Lato', sans-serif;
	*/
	font-size: 1.2rem;
	padding: 0 0 15px;
}

#news .title-box .cate {
	min-width: 90px;
	display: inline-block;
	font-size: 1.2rem;
	text-align: center;
	line-height: 1.1;
	padding: 5px 10px;
	margin: 0 10px 0 0;
    color: #333;
	border: #ccc solid 1px;
}

#news .title-box .title {
	font-size: 2.8rem;
	font-weight: 600;
	line-height: 1.4;
	border-bottom: 4px solid var(--main);
	padding: 0 0 20px;
	margin: 0 0 30px;
}

@media screen and (max-width: 768px) {
	#news .title-box .date {
		padding: 0 0 10px 0;
		width: 70px;
	}
	#news .title-box .cate {
		margin: 0 5px 0 0;
		padding: 2px 5px;
	}
	#news .title-box .title {
		font-size: 2rem;
		padding: 0 0 10px;
		margin: 0 0 20px;
	}
}


/* -----------------------------------------------------------
    詳細（　detail-contents　）
-------------------------------------------------------------- */

#news .detail-contents {
	line-height: 1.8;
	padding: 0 0 50px !important;
}


/* pタグ */

#news .detail-contents p {
	margin-bottom: 1.5em;
	font-size: 1.6rem;
}


/* 見出し系 */

#news .detail-contents h1,
#news .detail-contents h2,
#news .detail-contents h3,
#news .detail-contents h4 {
	font-weight: bold;
	line-height: 1.5;
}

#news .detail-contents h1 {
	margin: 20px 0 20px 0;
	font-size: 2.6rem;
	color: var(--main);
}

#news .detail-contents h2 {
	border-bottom: 3px var(--main) solid;
	font-size: 2.4rem;
	margin: 40px 0 30px 0;
	padding: 0 0 10px;
}

#news .detail-contents h3 {
	border-radius: 6px;
	background: var(--bg-lightblue);
	font-size: 2.2rem;
	margin: 40px 0 30px 0;
	padding: 15px 30px;
}

#news .detail-contents h4 {
	font-size: 2rem;
	margin: 30px 0 20px 0;
	padding: 0 0 0 16px;
	position: relative;
}

#news .detail-contents h4::before {
	background: var(--main);
	border-radius: 3px;
	content: "";
	display: block;
	height: calc(100% - 10px);
	left: 0;
	position: absolute;
	top: 5px;
	width: 4px;
}

#news .detail-contents img {
	display: block;
	height: auto;
	max-width: 840px;
	margin:0 auto 20px;
}

#news .detail-contents a:link,
#news .detail-contents a {
	color: var(--sub-blue);
    text-decoration: underline;
	display: inline-block;
}

@media screen and (max-width: 768px) {
	#news .detail-contents {
		padding: 0 0 30px !important;
	}
	#news .detail-contents h1 {
		margin: 30px 0 10px 0;
		font-size: 2.2rem;
	}
	#news .detail-contents h2 {
		margin: 30px 0 20px 0;
		padding: 0 0 8px;
		font-size: 2rem;
	}
	#news .detail-contents h3 {
		margin: 30px 0 20px 0;
		padding: 15px 15px;
		font-size: 1.8rem;
	}
	#news .detail-contents h4 {
		margin: 20px 0 10px 0;
		padding: 0 0 0 18px;
		font-size: 1.6rem;
	}
	#news .detail-contents h4::before {
		top: 5px;
		height: calc(100% - 10px);
	}
	#news .detail-contents img {
		float: none;
		width: 100%;
		max-width: 480px;
		margin: 0 auto 20px;
		text-align: center;
		height: auto;
		display: block;
	}
	#news .detail-contents ul,
	#news .detail-contents ol {
		margin: 0 0 20px 1em;
	}
}


/* -----------------------------
	詳細ページタグ
-------------------------------- */

#news .tag-box {
	border-top: 1px #ddd solid;
	border-bottom: 1px #ddd solid;
	margin: 0 0 50px 0;
	padding: 20px 0 10px 0;
}

#news .tag-box .tag-title {
	float: left;
	font-size: 1.4rem;
	padding: 5px 0 0 0;
	width: 80px;
}

#news .tag-box .tag-list {
	overflow: hidden;
}

#news .tag-box ul {
	float: left;
	width: 710px;
}

#news .tag-box ul li {
	float: left;
	line-height: 1.2;
	margin: 0 10px 10px 0;
	text-align: center;
}

#news .tag-box ul li a {
	background: #fff;
	border: #ccc solid 1px;
	color: #333;
	display: block;
	font-size: 1.2rem;
	padding: 6px 15px;
}

#news .tag-box ul li a:hover {
	background: var(--main);
    border: 1px solid var(--main);
	color: #fff;
	opacity: 1;
}

@media screen and (max-width: 768px) {
	#news .tag-box {
		margin: 0 0 30px 0;
	}
	#news .tag-box .tag-title {
		padding: 5px 0 0 0;
		width: 60px;
		font-size: 1.3rem;
		float: left;
	}
	#news .tag-box ul {
		width: auto;
	}
	#news .tag-box ul li {
		margin: 0 8px 8px 0;
	}
	#news .tag-box ul li a {
		padding: 4px 10px;
	}
}


/* -----------------------------
	詳細ページ back-link
-------------------------------- */

#news .back-link .fas {
	display: inline-block;
	color: #446b91;
	margin: 0 10px 0 0;
}

@media screen and (max-width: 768px) {
	#news .back-link {
		font-size: 1.5rem;
	}
}
