@charset "UTF-8";

/* =========================================================
   Exhibition 子ページ 用スタイル
   構成：
   1) Filter（ベース/チップ/検索）
   2) ダウンロードリンク
   3) リスト/カード（SP中央寄せ・サムネ挙動）
   4) フィルタ時のフェード
   5) ランディング見出し・パンくず等（重複整理）
   6) 子カテゴリ一覧
   7) 共通フォント
   8) Responsive 調整
   ========================================================= */

/* ========== 1) Filter ========== */

/* Base */
.evc-filter {
	--evc-gap-row: clamp(8px, 1.5vw, 16px);
	--evc-gap-chip: 8px;
	--evc-line: rgba(0, 0, 0, 0.18);
	--evc-line-strong: rgba(0, 0, 0, 0.32);
	--evc-text: #222;
	--evc-muted: #666;
	--evc-focus: #000;
	display: grid;
	gap: var(--evc-gap-row);
	color: var(--evc-text);
	font-feature-settings: 'palt';
	padding-bottom: 4rem;
}
.evc-filter__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--evc-gap-chip);
	border-bottom: 1px solid var(--evc-line);
	padding-bottom: 8px;
}
.evc-filter__row:last-child {
	border-bottom: none;
}
.evc-filter__row--tools {
	display: flex;
	align-items: center;
	gap: 12px;
}
.evc-filter__label {
	font-size: clamp(12px, 0.9rem, 14px);
	letter-spacing: 0.08em;
	color: var(--evc-muted);
	margin-right: 10px;
	white-space: nowrap;
}
.mt50 {
	margin-top: 50px;
	margin-bottom: 60px;
}

/* Chips */
.evc-kana,
.evc-alphaRange {
	display: flex;
	flex-wrap: wrap;
	gap: var(--evc-gap-chip);
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}
.evc-alphaRange > li {
	margin: 0;
	padding: 0;
}

.evc-chip {
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	border: 1px solid var(--evc-line);
	background: #fff;
	color: var(--evc-text);
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.06s ease;
}
.evc-chip:hover {
	border-color: var(--evc-line-strong);
}
.evc-chip:active {
	transform: translateY(1px);
}
.evc-chip.is-active {
	background-color: #8f8f8f;
	color: #fff;
	font-weight: 700;
	border-color: #8f8f8f;
}
.item_filter_area .evc-chip.is-active:hover,
.item_filter_area .evc-chip.is-active:focus-visible {
	filter: brightness(1.05);
	outline: none;
}

/* Search */
.evc-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex: 0 0 clamp(260px, 40vw, 420px);
	min-width: 0;
}
.evc-search__input {
	flex: 1;
	width: auto;
	background: transparent;
	border: none;
	border-bottom: 1.6px solid var(--evc-line);
	padding: 10px 36px 10px 6px;
	font-size: clamp(14px, 1rem, 16px);
	outline: none;
	transition: border-color 0.2s ease;
}
.evc-search__input::placeholder {
	color: var(--evc-muted);
}
.evc-search__input:focus {
	border-bottom-color: var(--evc-focus);
}

.evc-search__badge {
	font-size: 20px;
	font-weight: 700;
	color: var(--evc-muted);
	white-space: nowrap;
	flex: 0 1 auto;
}
.evc-search__badge b.evc-search__badgeText {
	color: var(--evc-text);
	font-weight: 700;
}

.evc-search__submit {
	position: absolute;
	right: 0;
	bottom: 6px;
	width: 24px;
	height: 24px;
	background: transparent url('../img/icons/search.png') center/contain no-repeat;
	border: none;
	cursor: pointer;
	padding: 0;
	opacity: 0.8;
	transition: opacity 0.2s ease, transform 0.06s ease;
}
.evc-search__submit:hover {
	opacity: 1;
}
.evc-search__submit:active {
	transform: scale(0.98);
}

/* ========== 2) ダウンロードリンク（下線アニメ / PC中心） ========== */
ul.product_list_area.product_list_area--exhibition .download-link {
	display: inline-block;
	line-height: 1.4;
	padding: 5px 0;
	text-decoration: none;
	position: relative;
	--uline-base: 30%;
	--uline-height: 2px;
	--uline-gap: 0.2em;
	background-image: linear-gradient(#ffc200, #ffc200);
	background-repeat: no-repeat;
	background-size: var(--uline-base) var(--uline-height);
	background-position: 0 calc(100% - var(--uline-gap));
	transition: background-size 0.25s ease;
}
ul.product_list_area.product_list_area--exhibition .download-link:hover,
ul.product_list_area.product_list_area--exhibition .download-link:focus-visible {
	background-size: 100% var(--uline-height);
	outline: none;
}
ul.product_list_area.product_list_area--exhibition .download-link.is-disabled {
	opacity: 0.45;
	pointer-events: none;
	background-image: none;
}

/* 動きの配慮 */
@media (prefers-reduced-motion: reduce) {
	ul.product_list_area.product_list_area--exhibition .download-link {
		transition: none;
	}
}

/* ========== 3) リスト/カード：SPは中央に大きめ表示 ========== */

/* 共通：サムネの枠と挙動 */
ul.product_list_area.product_list_area--exhibition .product_pict {
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #f7f7f7;
}
ul.product_list_area.product_list_area--exhibition .product_pict > img.pdf_img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* PCはトリミング優先 */
	display: block;
	transform: translateZ(0);
	transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1);
	will-change: transform;
}
ul.product_list_area.product_list_area--exhibition .product_item:hover .product_pict > img.pdf_img,
ul.product_list_area.product_list_area--exhibition
	.product_item:focus-within
	.product_pict
	> img.pdf_img {
	transform: scale(1.04);
}

/* 旧ブラウザ対策（aspect-ratio未対応） */
@supports not (aspect-ratio: 1/1) {
	ul.product_list_area.product_list_area--exhibition .product_pict {
		position: relative;
	}
	ul.product_list_area.product_list_area--exhibition .product_pict::before {
		content: '';
		display: block;
		padding-top: 75%; /* 4:3 */
	}
	ul.product_list_area.product_list_area--exhibition .product_pict > img.pdf_img {
		position: absolute;
		inset: 0;
	}
}

/* ========== 4) フィルタ時のフェード ========== */
.product_list_area .product_item.evc-fade {
	transition: opacity 0.24s ease, transform 0.24s ease;
	will-change: opacity, transform;
}
.product_list_area .product_item.evc-shown {
	opacity: 1;
	transform: translateY(0);
}
.product_list_area .product_item.evc-hidden {
	opacity: 0;
	transform: translateY(6px);
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
	.product_list_area .product_item.evc-fade {
		transition: none;
	}
}

/* ========== 5) ランディング/見出し/パンくず（重複統合） ========== */

/* パンくず */
.page_wrap {
	max-width: 1400px;
}
.bread_box {
	margin-top: 20px;
}
.breadcrumbs {
	display: flex;
	align-items: center;
}
.breadcrumbs li {
	font-size: 15px;
	font-weight: 700;
}
.breadcrumbs li a {
	color: #b6bdc7;
	display: inline-block;
}
.breadcrumbs li a:after {
	content: '';
	width: 20px;
	height: 2px;
	background-color: #b6bdc7;
	display: inline-block;
	margin: 0 10px;
	position: relative;
	top: -4px;
}

/* 見出しエリア */
.page_main_top_area,
#exhibition.page_main_top_area {
	background: linear-gradient(to right, #f9f9f9, #efefef);
	position: relative;
}
.tit_slider,
.staff_tit_slider {
	width: 100%;
	display: flex;
	overflow: hidden;
	padding: 160px 0;
}
.ex_title {
	font-size: clamp(18px, 3.2vw, 22px);
	color: #333;
	line-height: 1.35;
	font-weight: 700;
	margin: 20px 0 14px;
}

.ex_title.font_en {
	letter-spacing: 0.02em;
}
.tit_slider_item {
	min-width: auto;
	min-height: auto;
	font-size: 200px;
	line-height: 1;
	color: #f8f8f8;
	white-space: nowrap;
	padding-right: 0.5em;
	animation: flowing 40s linear infinite;
	transform: translateX(0);
}
.page_main_title_box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}
.page_main_title {
	font-size: 60px;
	letter-spacing: 0.1em;
	line-height: 1.5;
	white-space: nowrap;
}
.page_main_sub_title {
	font-size: 20px;
	font-weight: 700;
	margin-top: 10px;
}
.page_main_sub_title:before {
	content: '';
	width: 5px;
	height: 5px;
	background-color: #ffc200;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	margin-right: 20px;
	position: relative;
	top: -2px;
}

/* ページメニュー */
.page_menu_box {
	display: flex;
	justify-content: flex-end;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}
.page_menu_box .inn {
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
}
.page_menu_list {
	transition-duration: 0.3s;
	position: relative;
}
.page_menu_list:after {
	content: '';
	width: calc(100% - 1px);
	height: 1px;
	background-color: #121e2f;
	display: block;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: 0.5s transform;
	position: absolute;
	bottom: 0;
	left: 0;
}
.page_menu_list:hover:after {
	transform: scale(1, 1);
	transform-origin: left top;
}
.page_menu_list a {
	width: 100%;
	font-size: 15px;
	padding: 20px 5em 20px 0;
	display: block;
	transition-duration: 0.3s;
	position: relative;
}
.page_menu_list:hover a {
	color: #9b9b9b;
}
.page_menu_list span {
	margin-right: 1em;
}
.page_menu_list a:after {
	content: '';
	width: 7px;
	height: 9px;
	background: url('../img/page/icon_page_list.svg') no-repeat center bottom;
	display: inline-block;
	transition: all 0.3s ease-in-out;
	position: absolute;
	right: 0;
	top: 24px;
}
.page_menu_list:hover a:after {
	animation: arrowBottom 0.6s cubic-bezier(1, 0, 0, 1);
}

@keyframes flowing {
	100% {
		transform: translateX(-100%);
	}
}

/* ========== 6) 子カテゴリ一覧 ========== */
.page_children__list {
	--child-badge-w: 64px;
	padding-left: 40px;
}
.page_children__item {
	display: grid;
	grid-template-columns: var(--child-badge-w) 1fr;
	align-items: center;
	column-gap: 12px;
	font-size: 20px;
}
.page_children__link {
	grid-column: 2;
	text-decoration: none;
	font-weight: 700;
	line-height: 2;
}
.page_children__link:hover,
.page_children__link:focus-visible {
	text-decoration: underline;
	outline: none;
}
.page_children__item .new_tag {
	grid-column: 1;
	justify-self: start;
	position: static;
	display: inline-block;
	font-size: 13px;
	color: #fff;
	background-color: #222;
	padding: 3px 10px;
	z-index: 1;
	border: 1px solid currentColor;
}

/* ========== 7) 共通フォント ========== */
.font_en {
	font-family: 'Cabin', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ========== 8) Responsive ========== */

/* 768px以下の共通縮小 */
@media (max-width: 768px) {
	.hd_globalnav_area {
		height: 65px;
	}
	main {
		padding-top: 65px;
	}

	.tit_slider,
	.staff_tit_slider {
		padding: 80px 0;
	}
	.tit_slider_item {
		font-size: 100px;
	}
	.page_main_title {
		font-size: 36px;
	}
	.page_main_sub_title {
		font-size: 15px;
	}
	.page_menu_box {
		display: none;
	}
	.breadcrumbs li {
		font-size: 13px;
	}
	/* ホバー拡大は無効（タッチ配慮） */
	ul.product_list_area.product_list_area--exhibition
		.product_item:hover
		.product_pict
		> img.pdf_img,
	ul.product_list_area.product_list_area--exhibition
		.product_item:focus-within
		.product_pict
		> img.pdf_img {
		transform: none;
	}

	/* 検索行＆バッジの並び替え */
	.evc-filter__row--tools {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.evc-search {
		margin-left: 0;
		order: 1;
		width: 100%;
		flex: 1 1 auto;
		min-width: 0;
	}
	.evc-search__badge {
		order: 2;
		align-self: flex-start;
		font-size: 12px;
		margin-top: 2px;
	}
	.evc-alphaRange {
		gap: 6px 8px;
	}
	.evc-filter__label {
		margin-bottom: 6px;
	}
	.evc-filter__row {
		gap: 6px 10px;
	}

	.item_container ul.product_list_area.product_list_area--exhibition {
		display: grid;
		grid-template-columns: 1fr;
		gap: clamp(12px, 3.2vw, 22px);
		width: min(300px, 94vw);
		margin: 0 auto;
		padding-left: 0;
		list-style: none;
		justify-items: stretch;
	}
	.item_container ul.product_list_area.product_list_area--exhibition .product_item {
		justify-self: stretch;
		text-align: left;
	}
	.item_container ul.product_list_area.product_list_area--exhibition .product_pict {
		margin-bottom: 10px;
	}

	/* SP時のタイトルサイズ */
	.item_container ul.product_list_area.product_list_area--exhibition .product_name {
		font-size: clamp(15px, 4.2vw, 18px);
		line-height: 1.5;
	}

	/* ダウンロードリンクはアニメ簡略（下でcoarseとも合わせて無効化） */
	ul.product_list_area.product_list_area--exhibition .download-link {
		transition: none;
		font-size: 20px;
	}
	ul.product_list_area.product_list_area--exhibition .download-link:hover,
	ul.product_list_area.product_list_area--exhibition .download-link:focus-visible {
		background-size: var(--uline-base) var(--uline-height);
	}
}

/* ====  SP/タブレットで中央に大きめ1カラム ==== */
@media (max-width: 768px) {
	.item_container ul.product_list_area.product_list_area--exhibition {
		display: grid;
		grid-template-columns: 1fr;
		gap: clamp(12px, 3.2vw, 22px);
		width: min(600px, 100%);
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		list-style: none;
		justify-content: center;
		justify-items: stretch;
		gap: clamp(18px, 5vw, 30px);
	}

	.item_container ul.product_list_area.product_list_area--exhibition > li.product_item {
		float: none;
		width: auto;
		max-width: none;
		margin: 0;

		text-align: left;
		justify-self: stretch;
	}

	/* サムネ下の余白 */
	.item_container ul.product_list_area.product_list_area--exhibition .product_pict {
		margin-bottom: 10px;
	}

	.item_container ul.product_list_area.product_list_area--exhibition .product_name {
		font-size: clamp(15px, 4.2vw, 18px);
		line-height: 1.5;
	}
}

/* 小画面（〜600px）は少しだけ狭めて余白を確保 */
@media (max-width: 600px) {
	.item_container ul.product_list_area.product_list_area--exhibition {
		width: min(560px, 80vw); /* ここは列幅をやや抑える */
	}
}

/* 極小端末（〜360px）保険 */
@media (max-width: 360px) {
	.item_container ul.product_list_area.product_list_area--exhibition {
		width: 80vw;
	}
}
