/*
Theme Name: Chut
Description: Chut
Version: 1.0
Author: Chut
*/






/* cat-list
----------------------------*/
.cat-list {
	margin-bottom: 50px;
}
	.cat-list li {
		width: 23.5%;
		margin-right: 2%;
		margin-bottom: 2%;
	}
	.cat-list li:nth-child(4n) {
		margin-right: 0;
	}
		.cat-list li a {
			display: flex;
			justify-content: flex-start;
			align-items: center;
			border: solid 1px #ddd;
			height: 58px;
			background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 20px center;
			padding: 0 40px 0 20px;
			font-size: 1.5rem;
			line-height: 1.3em;
			font-weight: 500;
		}
		.cat-list li a:hover {
			background: #F9F7F6 url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 20px center;
		}
		.cat-list li.current-cat a {
			border: solid 1px #488299;
			background: #488299 url("https://chut.itembox.design/item/common/img/icon_arrow_white.svg?v=1") no-repeat right 20px center;
			color: #fff;
		}
@media screen and (max-width: 1024px) {
	.cat-list {
		margin-bottom: 40px;
	}
		.cat-list li a {
			height: 52px;
			background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 15px center;
			padding: 0 40px 0 15px;
			font-size: 1.4rem;
		}
		.cat-list li a:hover {
			background: #F9F7F6 url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 15px center;
		}
		.cat-list li.current-cat a {
			background: #488299 url("https://chut.itembox.design/item/common/img/icon_arrow_white.svg?v=1") no-repeat right 15px center;
		}
}
@media screen and (max-width: 767px) {
	.cat-list {
		margin-bottom: 30px;
	}
		.cat-list li {
			width: 48%;
			margin-right: 4%;
			margin-bottom: 4%;
		}
		.cat-list li:nth-child(2n) {
			margin-right: 0;
		}
			.cat-list li a {
				height: 46px;
				background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 12px;
				padding: 0 40px 0 12px;
				font-size: 1.2rem;
			}
			.cat-list li a:hover {
				background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 12px;
			}
			.cat-list li.current-cat a {
				background: #488299 url("https://chut.itembox.design/item/common/img/icon_arrow_white.svg?v=1") no-repeat right 12px center / 12px;
			}
}






/* pagenavi
----------------------------*/
.pagenavi {
	width: 100%;
	display: block;
}
.wp-pagenavi {
	clear: both;
	text-align: center;
	font-weight: 500;
}
.wp-pagenavi a, .wp-pagenavi span {
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-weight: 400;
	font-size: 1.5rem;
	font-weight: 500;
	background: #fff;
	border: solid 1px #ddd;
	color: #0D0D0D;
	text-align: center;
	line-height: 38px;
	margin: 0 5px;
	padding: 0;
	transition: 0.3s;
	-webkit-ransition: 0.3s;
}
.wp-pagenavi a:hover{
	opacity: 1;
	background: #F1F1F1;
}
.wp-pagenavi span.current{
	color: #fff;
	background: #403C3E;
	border: solid 1px #403C3E;
	font-weight: 700;
}
.wp-pagenavi .pages,
.wp-pagenavi .first,
.wp-pagenavi .last {
	display: none;
}
@media screen and (max-width: 1024px) {
	.wp-pagenavi a, .wp-pagenavi span {
		width: 36px;
		height: 36px;
		font-size: 1.4rem;
		line-height: 32px;
		margin: 0 5px;
	}
}
@media screen and (max-width: 767px) {
	.wp-pagenavi a, .wp-pagenavi span {
		width: 30px;
		height: 30px;
		font-size: 1.3rem;
		line-height: 28px;
	}
}






/* news
----------------------------*/
#news .news-list {
	margin-bottom: 50px;
}
	#news .news-list a.linkbox {
		display: block;
		border-top: 1px solid #ddd;
		padding: 25px 50px 25px 20px;
		background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 20px center;
	}
	#news .news-list a.linkbox:hover {
		background: #F9F7F6 url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 20px center;
	}
	#news .news-list a.linkbox:nth-last-child(1) {
		border-bottom: 1px solid #ddd;
	}
		#news .news-list a.linkbox .info {
			display: flex;
			justify-content: flex-start;
			align-items: center;
			margin-bottom: 4px;
		}
			#news .news-list a.linkbox .info .en {
				font-size: 1.4rem;
				margin-right: 12px;
			}
			#news .news-list a.linkbox .info .cat {
				font-size: 1.3rem;
				color: #488299;
			}

		#news .news-list a.linkbox p {
			font-size: 1.7rem;
			line-height: 1.6em;
		}
@media screen and (max-width: 1024px) {
	#news .news-list {
		margin-bottom: 40px;
	}
		#news .news-list a.linkbox .info .en {
			font-size: 1.3rem;
		}
		#news .news-list a.linkbox .info .cat {
			font-size: 1.2rem;
		}

		#news .news-list a.linkbox p {
			font-size: 1.6rem;
		}
}
@media screen and (max-width: 767px) {
	#news .news-list {
		margin-bottom: 30px;
	}
		#news .news-list a.linkbox {
			padding: 25px 40px 25px 5px;
			background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 5px center;
		}
		#news .news-list a.linkbox:hover {
			background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 5px center;
		}
			#news .news-list a.linkbox .info .en {
				font-size: 1.3rem;
			}
			#news .news-list a.linkbox .info .cat {
				font-size: 1.1rem;
			}

			#news .news-list a.linkbox p {
				font-size: 1.4rem;
			}
}






/* topics
----------------------------*/
#topics .topics-list a.linkbox {
	display: block;
	width: 31%;
	margin-right: 3.5%;
	margin-bottom: 50px;
}
#topics .topics-list a.linkbox:nth-child(3n) {
	margin-right: 0;
}
	#topics .topics-list a.linkbox .info {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		padding-top: 10px;
		margin-bottom: 4px;
	}
		#topics .topics-list a.linkbox .info .en {
			font-size: 1.4rem;
			margin-right: 12px;
		}
		#topics .topics-list a.linkbox .info .cat {
			font-size: 1.3rem;
			color: #488299;
		}
		
	#topics .topics-list a.linkbox p {
		font-size: 1.7rem;
		line-height: 1.6em;
	}
@media screen and (max-width: 1024px) {
	#topics .topics-list a.linkbox {
		width: 48%;
		margin-right: 4%;
		margin-bottom: 40px;
	}
	#topics .topics-list a.linkbox:nth-child(3n) {
		margin-right: 4%;
	}
	#topics .topics-list a.linkbox:nth-child(2n) {
		margin-right: 0;
	}
		#topics .topics-list a.linkbox .info .en {
			font-size: 1.3rem;
		}
		#topics .topics-list a.linkbox .info .cat {
			font-size: 1.2rem;
		}

		#topics .topics-list a.linkbox p {
			font-size: 1.5rem;
		}
}
@media screen and (max-width: 767px) {
	#topics .topics-list {
		display: block;
	}
		#topics .topics-list a.linkbox {
			display: block;
			width: 100%;
			margin-right: 0;
			margin-bottom: 30px;
		}
		#topics .topics-list a.linkbox:nth-child(3n) {
			margin-right: 0;
		}
			#topics .topics-list a.linkbox .info .en {
				font-size: 1.3rem;
			}
			#topics .topics-list a.linkbox .info .cat {
				font-size: 1.1rem;
			}

			#topics .topics-list a.linkbox p {
				font-size: 1.4rem;
			}
}






/* detail
----------------------------*/
#detail {
	padding-top: 50px;
}
	#detail .contents {
		width: -webkit-calc(100% - 340px);
		width: calc(100% - 340px);
	}
		#detail .contents .detail-title {
			border-bottom: solid 1px #ddd;
			padding-bottom: 30px;
			margin-bottom: 60px;
		}
			#detail .contents .detail-title .info {
				display: flex;
				justify-content: flex-start;
				align-items: center;
				margin-bottom: 10px;
			}
				#detail .contents .detail-title .info .en {
					font-size: 1.6rem;
					margin-right: 12px;
				}
				#detail .contents .detail-title .info .cat {
					font-size: 1.4rem;
					color: #488299;
				}

			#detail .contents .detail-title h1 {
				font-size: 2.8rem;
				font-weight: 500;
				line-height: 1.4em;
			}

		#detail .contents .free {
			margin-bottom: 60px;
		}
			#detail .contents .free h2 {
				font-size: 2.4rem;
				line-height: 1.3em;
				margin-top: 60px;
				margin-bottom: 20px;
			}
			#detail .contents .free h3 {
				font-size: 2.1rem;
				line-height: 1.3em;
				margin-top: 40px;
				margin-bottom: 15px;
			}

			#detail .contents .free p {
				font-size: 1.6rem;
				line-height: 1.8em;
				margin-bottom: 15px;
			}

			#detail .contents .free p strong {
				font-weight: 700;
				color: #488299;
			}

			#detail .contents .free p a {
				text-decoration: underline;
				color: #488299;
			}
			#detail .contents .free p a:hover {
				text-decoration: none;
			}

			#detail .contents .free .wp-block-image {
				margin: 30px 0;
			}

			#detail .contents .free .wp-block-buttons {
				margin-top: 25px;
				margin-bottom: 25px;
			}
				#detail .contents .free .wp-block-buttons .wp-block-button {
					margin: 0 auto;
				}
					#detail .contents .free .wp-block-buttons .wp-block-button .wp-block-button__link {
						display: inline-block;
						min-width: 300px;
						height: 60px;
						padding: 0 50px 0 45px;
						border-radius: 30px;
						overflow: hidden;
						background: #221F1D url(https://chut.itembox.design/item/common/img/icon_arrow_white.svg) no-repeat right 25px center;
						font-size: 1.6rem;
						font-weight: 500;
						text-align: center;
						line-height: 60px;
						color: #fff;
						text-decoration: none;
					}
					#detail .contents .free .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
						background: #488299 url(https://chut.itembox.design/item/common/img/icon_arrow_white.svg) no-repeat right 25px center;
						text-decoration: none;
					}


	#detail .sidenav {
		width: 250px;
	}
		#detail .sidenav .flowting {
			width: 100%;
			position: sticky;
			top: 170px;
			left: 0;
		}
			#detail .sidenav .flowting .cell {
				margin-bottom: 50px;
			}
			#detail .sidenav .flowting .cell:nth-last-child(1) {
				margin-bottom: 0;
			}
				#detail .sidenav .flowting .cell .head {
					font-size: 2.0rem;
					font-weight: 500;
					line-height: 1;
					margin-bottom: 15px;
				}

				#detail .sidenav .flowting .cell .catlist {
					border: solid 1px #ddd;
				}
					#detail .sidenav .flowting .cell .catlist li {
						border-bottom: solid 1px #ddd;
					}
					#detail .sidenav .flowting .cell .catlist li:nth-last-child(1) {
						border-bottom: none;
					}
						#detail .sidenav .flowting .cell .catlist li a {
							display: flex;
							justify-content: flex-start;
							align-items: center;
							height: 50px;
							background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 15px center;
							padding: 0 35px 0 15px;
							font-size: 1.4rem;
							line-height: 1.3em;
							font-weight: 500;
						}
						#detail .sidenav .flowting .cell .catlist li a:hover {
							background: #F9F7F6 url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 15px center;
						}

				#detail .sidenav .flowting .cell .newslist {
					border-top: solid 1px #ddd;
				}
					#detail .sidenav .flowting .cell .newslist a.linkbox {
						display: block;
						border-bottom: 1px solid #ddd;
						padding: 20px 40px 20px 15px;
						background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 15px center;
					}
					#detail .sidenav .flowting .cell .newslist a.linkbox:hover {
						background: #F9F7F6 url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 15px center;
					}
						#detail .sidenav .flowting .cell .newslist a.linkbox .info {
							display: flex;
							justify-content: flex-start;
							align-items: center;
							margin-bottom: 4px;
						}
							#detail .sidenav .flowting .cell .newslist a.linkbox .info .en {
								font-size: 1.3rem;
								margin-right: 12px;
							}
							#detail .sidenav .flowting .cell .newslist a.linkbox .info .cat {
								font-size: 1.1rem;
								color: #488299;
							}

						#detail .sidenav .flowting .cell .newslist a.linkbox p {
							font-size: 1.4rem;
							line-height: 1.6em;
						}
@media screen and (max-width: 1024px) {
	#detail {
		padding-top: 40px;
	}
		#detail .contents {
			width: -webkit-calc(100% - 250px);
			width: calc(100% - 250px);
		}
			#detail .contents .detail-title {
				padding-bottom: 25px;
				margin-bottom: 50px;
			}
				#detail .contents .detail-title .info .en {
					font-size: 1.5rem;
				}
				#detail .contents .detail-title .info .cat {
					font-size: 1.4rem;
				}

				#detail .contents .detail-title h1 {
					font-size: 2.6rem;
				}

			#detail .contents .free {
				margin-bottom: 50px;
			}
				#detail .contents .free h2 {
					font-size: 2.2rem;
					margin-top: 50px;
					margin-bottom: 17px;
				}
				#detail .contents .free h3 {
					font-size: 1.9rem;
					margin-top: 35px;
					margin-bottom: 12px;
				}

				#detail .contents .free p {
					font-size: 1.5rem;
					line-height: 1.8em;
					margin-bottom: 13px;
				}

				#detail .contents .free .wp-block-image {
					margin: 25px 0;
				}

				#detail .contents .free .wp-block-buttons {
					margin-top: 22px;
					margin-bottom: 22px;
				}
					#detail .contents .free .wp-block-buttons .wp-block-button .wp-block-button__link {
						min-width: 280px;
						height: 54px;
						border-radius: 27px;
						overflow: hidden;
						line-height: 54px;
						background: #221F1D url(https://chut.itembox.design/item/common/img/icon_arrow_white.svg) no-repeat right 20px center;
						font-size: 1.5rem;
					}
					#detail .contents .free .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
						background: #488299 url(https://chut.itembox.design/item/common/img/icon_arrow_white.svg) no-repeat right 20px center;
					}


		#detail .sidenav {
			width: 200px;
		}
			#detail .sidenav .flowting .cell {
				margin-bottom: 45px;
			}
				#detail .sidenav .flowting .cell .head {
					font-size: 1.8rem;
				}

				#detail .sidenav .flowting .cell .catlist li a {
					background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 14px;
					padding: 0 35px 0 12px;
					font-size: 1.3rem;
				}
				#detail .sidenav .flowting .cell .catlist li a:hover {
					background: #F9F7F6 url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 14px;
				}

				#detail .sidenav .flowting .cell .newslist a.linkbox {
					padding: 17px 35px 17px 12px;
					background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 14px;
				}
				#detail .sidenav .flowting .cell .newslist a.linkbox:hover {
					background: #F9F7F6 url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 14px;
				}
					#detail .sidenav .flowting .cell .newslist a.linkbox .info .en {
						font-size: 1.2rem;
					}
					#detail .sidenav .flowting .cell .newslist a.linkbox .info .cat {
						font-size: 1.0rem;
					}

					#detail .sidenav .flowting .cell .newslist a.linkbox p {
						font-size: 1.3rem;
						line-height: 1.5em;
					}
}
@media screen and (max-width: 767px) {
	#detail {
		padding-top: 30px;
	}
	#detail .inner {
		display: block;
	}
		#detail .contents {
			width: 100%;
			margin-bottom: 60px;
		}
			#detail .contents .detail-title .info .en {
				font-size: 1.4rem;
			}
			#detail .contents .detail-title .info .cat {
				font-size: 1.2rem;
			}

			#detail .contents .detail-title h1 {
				font-size: 2.4rem;
			}

			#detail .contents .free {
				margin-bottom: 40px;
			}
				#detail .contents .free h2 {
					font-size: 2.0rem;
					margin-top: 60px;
					margin-bottom: 15px;
				}
				#detail .contents .free h3 {
					font-size: 1.7rem;
					margin-top: 32px;
				}

				#detail .contents .free p {
					font-size: 1.4rem;
					line-height: 1.7em;
					margin-bottom: 10px;
				}

				#detail .contents .free .wp-block-image {
					margin: 22px 0;
				}

				#detail .contents .free .wp-block-buttons {
					margin-top: 20px;
					margin-bottom: 20px;
				}
					#detail .contents .free .wp-block-buttons .wp-block-button .wp-block-button__link {
						min-width: 80%;
						font-size: 1.4rem;
					}


		#detail .sidenav {
			width: 100%;
		}
			#detail .sidenav .flowting {
				position: static;
			}
				#detail .sidenav .flowting .cell {
					margin-bottom: 60px;
				}
					#detail .sidenav .flowting .cell .catlist {
						display: flex;
						-ms-flex-wrap: wrap;
						flex-wrap: wrap;
						border: none;
					}
						#detail .sidenav .flowting .cell .catlist li {
							width: 48%;
							margin-top: 2%;
							margin-right: 4%;
							margin-bottom: 2%;
							border: solid 1px #ddd;
						}
						#detail .sidenav .flowting .cell .catlist li:nth-last-child(1) {
							border: solid 1px #ddd;
						}
						#detail .sidenav .flowting .cell .catlist li:nth-child(2n) {
							margin-right: 0;
						}
							#detail .sidenav .flowting .cell .catlist li a:hover {
								background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 14px;
							}

					#detail .sidenav .flowting .cell .newslist a.linkbox:hover {
						background: #fff url("https://chut.itembox.design/item/common/img/icon_arrow_black.svg?v=1") no-repeat right 12px center / 14px;
					}
}





















