.items {
	padding: 100px 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.items-main {
	width: 750px;
	padding: 25px;
	background-color: #ffffff;
}


.items-wrapper h2 {
	font-size: 24px;
	border-bottom: solid 3px darkred;
}

.items-wrapper h2:first-letter {
	font-size: 50px;
}

.items-block-inner {
	margin-top: 30px;
	border-bottom: 1px solid #eeeeee;
	padding-bottom: 30px;
}

.items-block-inner h3 {
	font-size: 22px;
}

.category-title-en {
	font-size: 18px;
	font-style: italic;
}

.category-image {
	width: 360px;
	height: auto;
}

.category-block {
	display: flex;
	align-items: center;
}

.category-block p {
	margin-left: 30px;
	position: relative;
	padding: 10px 30px;
	font-size: 16px;
}

.category-block p::before {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 20px;
	height: 30px;
	border-bottom: 1px solid darkred;
	border-right: 1px solid darkred;
}
.category-block p::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 30px;
	border-top: 1px solid darkred;
	border-left: 1px solid darkred;
}

.items-block-contents {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.item-content {
	margin-top: 30px;
	width: 48%;
}

.item-content h4 {
	font-size: 24px;
	text-align: center;
	width: 80%;
	margin: 0 auto;
}

.item-content-text {
	margin-top: 10px;
	height: 80px;
	overflow: hidden;
	position: relative;
}

.item-content-text::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background-image: linear-gradient(to bottom, #ffffff00, #ffffff);
	opacity: .8;
}

.item-content-text span {
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 12px;
	color: blue;
	text-decoration: underline;
	cursor: pointer;
}

.item-content-text.open {
	height: unset;
}

.item-content-text.open::before, .item-content-text.open span {
	display: none;
}

.item-content-text p {
	font-size: 14px;
}

.item-content a {
	line-height: 40px;
	width: 160px;
	text-align: center;
	margin: 30px auto 0;
	display: block;
	color: #ffffff;
	background: #58330d;
}

.item-content-categoryWrap {
	display: flex;
	flex-wrap: wrap;
	margin: 0 10%;
}

.item-content-category {
	padding: 4px 8px;
	border: 1px solid #58330d;
	border-radius: 6px;
	color: #58330d;
	font-size: 12px;
	margin: 5px 5px 0 0;
}

.items-select h2 {
	font-size: 24px;
}

.items-select-inner {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
}

.items-select-inner p {
	font-size: 16px;
	padding: 4px 8px;
	color: darkgoldenrod;
	border: 1px solid darkgoldenrod;
	border-radius: 30px;
	margin: 10px 10px 0 0;
	cursor: pointer;
}

.items-select-inner p.current {
	color: #ffffff;
	background-color: darkgoldenrod;
}

.items-block.close {
	display: none;
}

@media screen and (max-device-width: 900px) {
	.items{
		padding: 0;
		display: block;
	}

	.items-main{
		width: auto;
		padding: 10px;
	}

	.container {
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
		display: block;
	}
	
	.footer-links{
		display: none;
	}

	.items-select h2 {
		font-size: 20px;
	}

	.items-select-inner {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.items-select-inner p {
		font-size: 12px;
		margin: 5px 5px 0 0;
		white-space: nowrap;
	}

	.items-select span {
		margin-top: 5px;
		font-size: 10px;
		text-align: right;
	}

	.items-wrapper h2 {
		font-size: 20px;
	}

	.items-wrapper h2::first-letter {
		font-size: 28px;
	}

	.items-block-inner {
		margin-top: 20px;
		padding-bottom: 20px;
	}

	.category-block {
		display: block;
	}

	.items-block-inner h3 {
		font-size: 22px;
	}

	.category-title-en {
		font-size: 16px;
	}

	.category-image {
		width: 100%;
	}

	.category-block p {
		margin: 10px 0 0;
		padding: 5px 15px;
	}

	.item-content {
		margin-top: 20px;
		width: 100%;
	}
	

	.item-content h4 {
		font-size: 18px;
		width: 100%;
	}

	.item-content-categoryWrap {
		margin: 0;
	}

	.item-content-text {
		height: 60px;
	}
	
}