@charset "utf-8";
/*------------------------------------------------------------
	index
------------------------------------------------------------*/
#main .cateList {
	margin-bottom: 40px;
	display: flex;
}
#main .cateList li {
	width: 25%;
}
#main .cateList li a {
	margin-right: -1px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	font-size: 1.8rem;
	letter-spacing: -0.5px;
	font-weight: bold;
	text-align: center;
	border: 1px solid #707070;
}
#main .cateList li a span {
	position: relative;
	transition: .3s;
	z-index: 10;
}
#main .cateList li a:after {
	position: absolute;
	left: -1px;
	bottom: 0;
	width: calc(100% + 1px);
	height: 0;
	background-color: #5DB31E;
	content: "";
	transition: .3s;
}
#main .cateList .on a:after {
	height: 90px;
}
#main .cateList li.cat-item-4 a:after {
	background-color: #C8E72A;
}
#main .cateList li.cat-item-3 a:after {
	background-color: #2FC8DF;
}
#main .cateList li.cat-item-2 a:after {
	background-color: #BABABA;
}
#main .cateList .on a {
	color: #fff;
}
#main .cateList .on a span {
	transform: translateY(-5px);
}
#main .newsList li a {
	padding: 20px 16px;
	display: flex;
	background: url("../img/common/line01.png") repeat-x left bottom;
	background-size: 10px auto;
}
#main .newsList li a .tag {
	display: flex;
	align-items: center;
}
#main .newsList li a .tag span {
	min-width: 80px;
	padding: 2px 0;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 500;
	text-align: center;
	background-color: #2FC8DF;
	box-sizing: border-box;
	letter-spacing: -0.5px;
}
#main .newsList li a .tag .color01 {
	background-color: #C8E72A;
}
#main .newsList li a .tag .color02 {
	background-color: #5DB31E;
}
#main .newsList li a .tag .color03 {
	background-color: #BABABA;
}
#main .newsList li a .txt {
	margin: 0 30px;
	width: 598px;
	font-size: 1.8rem;
	line-height: 1.28;
}
#main .newsList li a .txt span {
	margin-bottom: 9px;
	padding: 0 35px 1px 0;
	display: inline-block;
	font-size: 1.6rem;
	background: url("../img/common/icon01.png") no-repeat right top;
	background-size: 20px auto;
}
#main .newsList li a .photo {
	width: 120px;
}
#main .newsList li a .photo img {
	height: auto;
}
@media all and (min-width: 897px) {
	#main .cateList li a:hover {
		color: #fff;
		border-color: #5DB31E;
	}
	#main .cateList li a:hover:after {
		height: 90px;
	}
	#main .cateList li a:hover span {
		transform: translateY(-5px);
	}
	#main .newsList li a:hover {
		opacity: 0.7;
	}
}
@media all and (max-width: 896px) {
	#main .cateList {
		margin: 35px 0 0;
		flex-wrap: wrap;
		justify-content: center;
	}
	#main .cateList li {
		padding: 4px 2px 0 0;
		width: 33.33%;
		box-sizing: border-box;
	}
	#main .cateList li a {
		margin-right: 0;
		height: 38px;
		font-size: 0.9rem;
		border-color: #707070;
	}
	#main .cateList .liStyle a {
		height: 42px;
	}
	#main .cateList .on a span {
		transform: translateY(0);
	}
	#main .cateList .on a::after {
		height: 100%;
	}
	#main .newsList {
		margin: 23px 0;
	}
	#main .newsList li a {
		padding: 12px 5px 14px 10px;
		align-items: flex-start;
		background: none;
		border-bottom: 1px dashed #707070;
	}
	#main .newsList li a .tag {
		margin-top: 48px;
	}
	#main .newsList li a .tag span {
		min-width: 40px;
		min-height: 32px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 0.6rem;
		letter-spacing: -0.5px;
	}
	#main .newsList li a .txt {
		margin: 0 2px 0 10px;
		width: calc(100% - 129px);
		font-size: 1.4rem;
		line-height: 1.5;
	}
	#main .newsList li a .txt span {
		margin-bottom: 10px;
		padding: 0 14px 1px 0;
		font-size: 1.4rem;
		background-position: right top 7px;
		background-size: 10px auto;
	}
	#main .newsList li a .photo {
		margin-top: 35px;
		width: 76px;
	}
}
/*------------------------------------------------------------
	detail
------------------------------------------------------------*/
#main.detail {
	max-width: 880px;
}
#main.detail h2 {
	margin-bottom: 68px;
}
#main.detail h3 {
	margin-bottom: 16px;
	padding: 0 13px 12px;
	display: flex;
	align-items: center;
	font-size: 2.8rem;
	border-bottom: 2px solid #5DB31E;
}
#main.detail h3 .tag {
	margin-right: 24px;
	padding: 2px;
	display: inline-block;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 500;
	text-align: center;
	background-color: #2FC8DF;
	box-sizing: border-box;
	white-space: nowrap;
}
#main.detail .date {
	margin: 0 15px 40px;
	font-weight: 500;
	text-align: right;
}
#main.detail .photo {
	margin-bottom: 55px;
	text-align: center;
}
#main.detail .photo img {
	height: auto;
}
#main.detail .txtBox {
	margin: 0 55px 95px;
}
#main.detail .txtBox p {
	margin-bottom: 32px;
	font-size: 1.8rem;
	line-height: 1.78;
}
#main.detail .pageList {
	margin: 0 -40px;
	padding-top: 45px;
	border-top: 1px solid #707070;
	display: flex;
	justify-content: center;
}
#main.detail .pageList li {
	margin: 0 6px;
	width: 160px;
}
#main.detail .pageList li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 500;
	background-color: #5DB31E;
	box-sizing: border-box;
}
#main.detail .pageList .back {
	width: 182px;
}
#main.detail .pageList .prev a, #main.detail .pageList .next a {
	padding: 5px 0 0 20px;
	justify-content: flex-start;
	font-size: 1.6rem;
	letter-spacing: -1px;
	font-family: 'futura-demi';
	background-color: #CBCBCB;
}
#main.detail .pageList a span {
	padding: 15px 0 0 15px;
	width: 69px;
	display: inline-block;
	background: url("../img/common/arrow01.png") no-repeat center top;
	background-size: 69px auto;
	box-sizing: border-box;
}
#main.detail .pageList .next a {
	padding: 5px 20px 0 20px;
	justify-content: flex-end;
}
#main.detail .pageList .next a span {
	background-image: url("../img/common/arrow02.png");
	background-position: right top;
}
@media all and (min-width: 897px) {
	#main.detail .pageList li a:hover {
		opacity: 0.7;
	}
}
@media all and (max-width: 896px) {
	#main.detail {
		margin-top: -45px;
	}
	#main.detail h2 {
		margin-bottom: 72px;
	}
	#main.detail h3 {
		margin: 0 -7px 6px;
		padding: 0 8px 18px;
		font-size: 1.8rem;
		line-height: 1.2;
		border-bottom-width: 4px;
	}
	#main.detail h3 .tag {
		margin-right: 10px;
		padding: 9px 2px;
		font-size: 0.8rem;
	}
	#main.detail .date {
		margin: 0 7px 23px;
		font-size: 1rem;
	}
	#main.detail .photo {
		margin: 0 7px 25px;
	}
	#main.detail .txtBox {
		margin: 0 7px 70px;
	}
	#main.detail .txtBox p {
		margin-bottom: 25px;
		font-size: 1.4rem;
		line-height: 1.7;
	}
	#main.detail .pageList {
		margin: 0 -17px 105px;
		padding-top: 20px;
	}
	#main.detail .pageList li {
		margin: 0 18px;
		width: 80px;
	}
	#main.detail .pageList li a {
		height: 49px;
		font-size: 1rem;
	}
	#main.detail .pageList .back {
		width: 91px;
	}
	#main.detail .pageList .prev a, #main.detail .pageList .next a {
		padding: 5px 0 0 10px;
		font-size: 0.8rem;
	}
	#main.detail .pageList a span {
		padding: 10px 0 0 8px;
		width: 32px;
		background-size: 32px auto;
	}
	#main.detail .pageList .next a {
		padding: 5px 10px 0 0;
	}
}