/* Archive Design Styles */

.archive-design-main {
	padding-top: 80px;
}

/* 全体の文字間隔 */
.archive-design-main,
.archive-design-main * {
	letter-spacing: 0.05em;
}

/* Archive Header */
.archive-design-header {
	background: #fff;
	padding: 20px 0  40px;
	position: relative;
	overflow: hidden;
}

.archive-design-header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
	position: relative;
	z-index: 2;
}

.archive-design-title {
	color: #333;
	font-size: 36px;
	font-weight: bold;
	line-height: 1.4;
	margin: 0;
	position: relative;
}

.archive-design-description {
	color: #666;
	font-size: 18px;
	line-height: 1.6;
}

/* Archive Search */
.archive-design-search {
	padding: 40px 0;
	background: #f8f8f8;
	border-bottom: 1px solid #e0e0e0;
}

.gallery-search-form {
	max-width: 600px;
	margin: 0 auto;
}

.search-form-wrapper {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.search-select {
	flex: 1;
	width: 200px;
	padding: 12px 20px;
	border: 1px solid #ddd;
	border-radius: 50px;
	font-size: 16px;
	font-family: 'Noto Sans JP', sans-serif;
	letter-spacing: 0.05em;
	outline: none;
	transition: border-color 0.3s ease;
	background: #fff;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	padding-right: 45px;
}

.search-select:focus {
	border-color: #FF6B35;
}

.search-submit {
	padding: 12px 24px;
	background: linear-gradient(135deg, #FF6B35 0%, #C73E1D 100%);
	color: #fff;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-size: 16px;
	transition: opacity 0.3s ease, transform 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 48px;
}

.search-submit:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.search-submit i {
	font-size: 16px;
}

/* Archive Content */
.archive-design-content {
	padding: 60px 0;
	background: #fff;
	min-height: 60vh;
}

.archive-design-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Design Grid */
.design-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 60px;
}

/* Design Item */
.design-item {
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	padding:8px;
}

.design-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.design-item-image-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.design-item-image {
	border:1px solid #333;
	width: 100%;
	overflow: hidden;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.design-item-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.design-item:hover .design-item-image img {
	transform: scale(1.05);
}

.design-item-content {
	padding: 18px;
}

.design-item-meta {
	margin-bottom: 12px;
	font-size: 12px;
	color: #666;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.design-item-categories,
.design-item-tags {
	display: flex;
	align-items: center;
	gap: 6px;
}

.design-item-categories i,
.design-item-tags i {
	font-size: 12px;
	color: #999;
}

.design-item-category,
.design-item-tag {
	display: inline-block;
}

.design-item-title-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.design-item-title {
	font-size: 16px;
	font-weight: 400;
	color: #333;
	margin: 0;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.design-item-title-link:hover .design-item-title {
	color: #FF6B35;
}

.design-item-excerpt {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* No Designs */
.no-designs {
	text-align: center;
	padding: 80px 20px;
	color: #666;
	font-size: 18px;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 60px;
	padding: 0;
	list-style: none;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 12px 20px;
	background: #fff;
	color: #333;
	text-decoration: none;
	border-radius: 8px;
	font-weight: bold;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: linear-gradient(135deg, #FF6B35 0%, #C73E1D 100%);
	color: #fff;
	border-color: transparent;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	background: linear-gradient(135deg, #FF6B35 0%, #C73E1D 100%);
	color: #fff;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
	.archive-design-main {
		padding-top: 70px;
	}
	.archive-design-header{
		padding:20px 0;
	}

	.archive-design-title {
		font-size: 18px;
	}

	.archive-design-description {
		font-size: 14px;
	}

	.archive-design-search {
		padding: 10px 0;
	}

	.gallery-search-form {
		max-width: 100%;
	}

	.search-select {
		font-size: 14px;
		padding: 10px 16px;
		padding-right: 40px;
		width:40%;
		background-position: right 16px center;
	}

	.search-submit {
		padding: 10px 20px;
		height: 44px;
		width: 10%;
	}

	.archive-design-content {
		padding: 40px 0;
	}

	.design-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		gap: 20px;
		margin-bottom: 40px;
	}

	.design-item-content {
		padding: 20px;
	}

	.design-item-title {
		font-size: 16px;
	}

	.pagination {
		flex-wrap: wrap;
		margin-top: 40px;
	}

	.pagination .page-numbers {
		padding: 10px 16px;
		font-size: 14px;
	}
}

