/* =========================================================
   OLE 2026
   出展者詳細ページ専用CSS
   ========================================================= */


/* ---------------------------------------------------------
   リセット・基本
   --------------------------------------------------------- */

#contents .ole-detail {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px 70px;
	color: #333;
	font-family:
		"Noto Sans JP",
		"Hiragino Kaku Gothic ProN",
		"Yu Gothic",
		Meiryo,
		sans-serif;
	box-sizing: border-box;
}

#contents .ole-detail *,
#contents .ole-detail *::before,
#contents .ole-detail *::after {
	box-sizing: border-box;
}


/* ---------------------------------------------------------
   パンくず
   --------------------------------------------------------- */

#contents #s_pagenav .ole-breadcrumb {
	margin: 0 8px;
}


/* ---------------------------------------------------------
   ページタイトル
   --------------------------------------------------------- */

#contents .ole-page-title {
	margin: 30px 0 35px;
	text-align: center;
}

#contents .ole-page-title h2 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

#contents .ole-page-title h2 img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: auto;
	border: 0;
}


/* ---------------------------------------------------------
   出展者ヘッダー
   --------------------------------------------------------- */

#contents .ole-exhibitor-header {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 45px;
	align-items: center;
	margin-bottom: 45px;
}


/* ---------------------------------------------------------
   メイン画像
   --------------------------------------------------------- */

#contents .ole-main-image {
	width: 100%;
}

#contents .ole-image-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 250px;
	padding: 25px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#contents .ole-image-frame img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 220px;
	margin: 0 auto;
}


/* ---------------------------------------------------------
   出展者名
   --------------------------------------------------------- */

#contents .ole-exhibitor-name {
	padding: 35px 40px;
	border-left: 6px solid #789b52;
	border-radius: 0 10px 10px 0;
	background: #f4f7ef;
}

#contents .ole-label {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 14px;
	border-radius: 20px;
	background: #789b52;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.15em;
	line-height: 1;
}

#contents .ole-exhibitor-name h1 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.6;
}

#contents .ole-exhibitor-name p {
	margin: 8px 0 0;
	padding: 0;
	color: #777;
	font-size: 14px;
	line-height: 1.6;
}


/* ---------------------------------------------------------
   各セクション
   --------------------------------------------------------- */

#contents .ole-section {
	margin: 0 0 45px;
}

#contents .ole-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0 0 11px 14px;
	border-left: 5px solid #789b52;
	border-bottom: 2px solid #789b52;
}

#contents .ole-section-title span {
	flex: 0 0 auto;
	color: #789b52;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.1em;
	line-height: 1;
}

#contents .ole-section-title h3 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.5;
}


/* ---------------------------------------------------------
   基本情報
   --------------------------------------------------------- */

#contents .ole-info {
	width: 100%;
	overflow: hidden;
	border: 1px solid #ddd;
	border-radius: 8px;
}

#contents .ole-info-row {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	width: 100%;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #ddd;
}

#contents .ole-info-row:last-child {
	border-bottom: 0;
}

#contents .ole-info-label {
	padding: 16px 18px;
	background: #f5f6f3;
	color: #555;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.6;
}

#contents .ole-info-value {
	min-width: 0;
	padding: 16px 20px;
	background: #fff;
	color: #333;
	font-size: 14px;
	line-height: 1.7;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#contents .ole-info-value a {
	color: #557f35;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#contents .ole-info-value a:hover {
	text-decoration: none;
}


/* ---------------------------------------------------------
   主な出展品
   --------------------------------------------------------- */

#contents .ole-product {
	padding: 22px 25px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
}

#contents .ole-product p {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.8;
}


/* ---------------------------------------------------------
   PR
   --------------------------------------------------------- */

#contents .ole-text {
	position: relative;
	padding: 25px 30px;
	border-radius: 8px;
	background: #f7f8f5;
}

#contents .ole-text::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	border-radius: 4px 0 0 4px;
	background: #789b52;
	content: "";
}

#contents .ole-text p {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 15px;
	line-height: 2;
}


/* ---------------------------------------------------------
   商品画像
   --------------------------------------------------------- */

#contents .ole-product-image {
	padding: 25px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	text-align: center;
}

#contents .ole-product-image a {
	display: block;
}

#contents .ole-product-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	transition: opacity 0.25s ease;
}

#contents .ole-product-image a:hover img {
	opacity: 0.75;
}

#contents .ole-product-image p {
	margin: 12px 0 0;
	padding: 0;
	color: #888;
	font-size: 11px;
	line-height: 1.5;
}


/* ---------------------------------------------------------
   戻るボタン
   --------------------------------------------------------- */

#contents .ole-back {
	margin: 50px 0 0;
	text-align: center;
}

#contents .ole-back a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 230px;
	padding: 14px 25px;
	border: 1px solid #789b52;
	border-radius: 30px;
	background: #789b52;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none;
	transition: all 0.25s ease;
}

#contents .ole-back a:hover {
	background: #fff;
	color: #789b52;
}

#contents .ole-back a span {
	font-size: 18px;
}


/* =========================================================
   タブレット
   ========================================================= */

@media screen and (max-width: 900px) {

	#contents .ole-detail {
		max-width: 100%;
		padding-right: 20px;
		padding-left: 20px;
	}

	#contents .ole-exhibitor-header {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 25px;
	}

	#contents .ole-image-frame {
		min-height: 200px;
		padding: 20px;
	}

	#contents .ole-image-frame img {
		max-height: 175px;
	}

	#contents .ole-exhibitor-name {
		padding: 28px;
	}

	#contents .ole-exhibitor-name h1 {
		font-size: 23px;
	}

	#contents .ole-info-row {
		grid-template-columns: 160px minmax(0, 1fr);
	}

}


/* =========================================================
   スマートフォン
   ========================================================= */

@media screen and (max-width: 600px) {

	#contents .ole-detail {
		width: 100%;
		padding-right: 12px;
		padding-left: 12px;
		padding-bottom: 45px;
	}


	/* ページタイトル */

	#contents .ole-page-title {
		margin: 22px 0 25px;
	}

	#contents .ole-page-title h2 img {
		max-width: 90%;
	}


	/* 出展者ヘッダー */

	#contents .ole-exhibitor-header {
		display: flex;
		flex-direction: column;
		gap: 20px;
		align-items: stretch;
		margin-bottom: 35px;
	}


	/* メイン画像 */

	#contents .ole-main-image {
		width: 100%;
	}

	#contents .ole-image-frame {
		min-height: 0;
		padding: 20px;
		border-radius: 8px;
	}

	#contents .ole-image-frame img {
		width: auto;
		max-width: 180px;
		max-height: 180px;
	}


	/* 出展者名 */

	#contents .ole-exhibitor-name {
		padding: 20px 18px;
		border-left-width: 4px;
		border-radius: 0 8px 8px 0;
	}

	#contents .ole-label {
		margin-bottom: 9px;
		padding: 5px 11px;
		font-size: 9px;
	}

	#contents .ole-exhibitor-name h1 {
		font-size: 20px;
		line-height: 1.6;
	}

	#contents .ole-exhibitor-name p {
		margin-top: 6px;
		font-size: 11px;
	}


	/* セクション */

	#contents .ole-section {
		margin-bottom: 32px;
	}

	#contents .ole-section-title {
		gap: 8px;
		margin-bottom: 13px;
		padding-bottom: 9px;
		padding-left: 9px;
		border-left-width: 4px;
	}

	#contents .ole-section-title span {
		font-size: 9px;
	}

	#contents .ole-section-title h3 {
		font-size: 18px;
	}


	/* 基本情報 */

	#contents .ole-info {
		border-radius: 6px;
	}

	#contents .ole-info-row {
		display: block;
		border-bottom: 1px solid #ddd;
	}

	#contents .ole-info-label {
		padding: 8px 12px 2px;
		font-size: 10px;
		line-height: 1.5;
	}

	#contents .ole-info-value {
		padding: 3px 12px 12px;
		font-size: 13px;
		line-height: 1.7;
	}


	/* 主な出展品 */

	#contents .ole-product {
		padding: 17px;
		border-radius: 6px;
	}

	#contents .ole-product p {
		font-size: 14px;
		line-height: 1.8;
	}


	/* PR */

	#contents .ole-text {
		padding: 18px 20px;
		border-radius: 6px;
	}

	#contents .ole-text::before {
		width: 3px;
	}

	#contents .ole-text p {
		font-size: 13px;
		line-height: 1.9;
	}


	/* 商品画像 */

	#contents .ole-product-image {
		padding: 12px;
		border-radius: 6px;
	}

	#contents .ole-product-image img {
		width: 100%;
		max-width: 100%;
	}

	#contents .ole-product-image p {
		margin-top: 9px;
		font-size: 10px;
	}


	/* 戻る */

	#contents .ole-back {
		margin-top: 35px;
	}

	#contents .ole-back a {
		width: 100%;
		min-width: 0;
		padding: 12px 18px;
		font-size: 12px;
	}

}


/* =========================================================
   小型スマートフォン
   ========================================================= */

@media screen and (max-width: 375px) {

	#contents .ole-detail {
		padding-right: 10px;
		padding-left: 10px;
	}

	#contents .ole-exhibitor-name h1 {
		font-size: 18px;
	}

	#contents .ole-info-value {
		font-size: 12px;
	}

	#contents .ole-text p {
		font-size: 12px;
	}

}

/* =========================================================
   OLE 2026
   商品画像スライダー
   ========================================================= */

#contents .ole-product-image {
	position: relative;
	width: 100%;
	padding: 25px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	text-align: center;
}


/* ---------------------------------------------------------
   スライダー
   --------------------------------------------------------- */

#contents .ole-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
}

#contents .ole-slides {
	position: relative;
	width: 100%;
}


/* ---------------------------------------------------------
   スライド
   --------------------------------------------------------- */

#contents .ole-slide {
	display: none;
	width: 100%;
}

#contents .ole-slide.active {
	display: block;
}


/* 商品画像 */

#contents .ole-slide img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 500px;
	height: auto;
	margin: 0 auto;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

#contents .ole-slide a:hover img {
	opacity: 0.75;
}


/* ---------------------------------------------------------
   前へ・次へ
   --------------------------------------------------------- */

#contents .ole-slider-prev,
#contents .ole-slider-next {
	position: absolute;
	top: 50%;
	z-index: 10;

	display: none;

	align-items: center;
	justify-content: center;

	width: 44px;
	height: 44px;

	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 50%;

	background: rgba(70, 70, 70, 0.7);
	color: #fff;

	font-family: Arial, sans-serif;
	font-size: 30px;
	font-weight: normal;
	line-height: 1;

	cursor: pointer;

	transform: translateY(-50%);

	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

#contents .ole-slider-prev:hover,
#contents .ole-slider-next:hover {
	background: rgba(70, 70, 70, 0.95);
}

#contents .ole-slider-prev {
	left: 10px;
}

#contents .ole-slider-next {
	right: 10px;
}


/* ---------------------------------------------------------
   複数画像の場合
   --------------------------------------------------------- */

#contents .ole-product-image.is-slider
	.ole-slider-prev,
#contents .ole-product-image.is-slider
	.ole-slider-next {
	display: flex;
}


/* ---------------------------------------------------------
   ドット
   --------------------------------------------------------- */

#contents .ole-slider-dots {
	display: none;

	align-items: center;
	justify-content: center;

	gap: 8px;

	margin-top: 15px;
}

#contents .ole-product-image.is-slider
	.ole-slider-dots {
	display: flex;
}

#contents .ole-slider-dots button {
	width: 9px;
	height: 9px;

	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 50%;

	background: #ccc;

	cursor: pointer;

	transition:
		width 0.2s ease,
		height 0.2s ease,
		background 0.2s ease;
}

#contents .ole-slider-dots button.active {
	width: 11px;
	height: 11px;
	background: #789b52;
}


/* ---------------------------------------------------------
   説明
   --------------------------------------------------------- */

#contents .ole-image-note {
	margin: 12px 0 0;
	padding: 0;

	color: #888;
	font-size: 11px;
	line-height: 1.5;
}


/* =========================================================
   スマートフォン
   ========================================================= */

@media screen and (max-width: 600px) {

	#contents .ole-product-image {
		padding: 12px;
		border-radius: 6px;
	}


	#contents .ole-slide img {
		width: 100%;
		max-width: 100%;
		max-height: none;
		height: auto;
	}


	#contents .ole-slider-prev,
	#contents .ole-slider-next {
		width: 34px;
		height: 34px;

		font-size: 24px;
	}


	#contents .ole-slider-prev {
		left: 6px;
	}

	#contents .ole-slider-next {
		right: 6px;
	}


	#contents .ole-slider-dots {
		gap: 6px;
		margin-top: 10px;
	}


	#contents .ole-slider-dots button {
		width: 7px;
		height: 7px;
	}


	#contents .ole-slider-dots button.active {
		width: 9px;
		height: 9px;
	}


	#contents .ole-image-note {
		font-size: 10px;
	}

}