/* Phase 3 でインラインスタイルをここに集約する */

/* ベーススタイル */
* { font-family: 'Noto Sans JP', sans-serif; }
body { background-color: #FAF9F6; }
html { scroll-behavior: smooth; }

/* トランジション */
.transition-300 {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ボタンシャインアニメーション */
@keyframes shine {
	0%   { left: -100%; }
	100% { left: 200%; }
}
.btn-shine {
	position: relative;
	overflow: hidden;
}
.btn-shine::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	animation: shine 3s infinite;
}

/* スクロールバー */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #1b4332; border-radius: 4px; }

/* Before/After スライダー */
.before-after-container { position: relative; overflow: hidden; cursor: ew-resize; user-select: none; }
.before-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.after-overlay { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; }
.slider-handle {
	position: absolute; top: 0; width: 4px;
	background: white; cursor: ew-resize;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	z-index: 10;
}
.slider-handle::after {
	content: '◀ ▶';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	color: #1b4332;
	padding: 8px 12px;
	border-radius: 50%;
	font-size: 10px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ファイルアップロード */
.file-upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #f4f1ea;
	border: 1px dashed #d8c49f;
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
	color: #1b4332;
	transition: all 0.3s ease;
}
.file-upload-btn:hover { background: #e8d9b5; }


/* モバイルフローティングCTA */
@media (min-width: 768px) {
	#mobile-cta { display: none; }
}

/* works カードホバー */
.work-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* works カテゴリフィルター */
.work-cat-filter {
	margin-top: -1.5rem;
}
.work-cat-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 18px;
	border: 1px solid #d9cfb8;
	border-radius: 9999px;
	background: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: #4b5563;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.work-cat-pill:hover {
	background: #f4f1ea;
	border-color: #d8c49f;
	color: #1b4332;
}
.work-cat-pill.is-current {
	background: #d8c49f;
	border-color: #d8c49f;
	color: #1b4332;
	box-shadow: 0 2px 6px rgba(216, 196, 159, 0.45);
}
.work-cat-pill.is-current:hover {
	background: #d0b98c;
	border-color: #d0b98c;
}

/* ページネーション */
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #eae3d2;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: bold;
	color: #1b4332;
	text-decoration: none;
	transition: all 0.3s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background-color: #1b4332;
	color: white;
	border-color: #1b4332;
}
.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
