/* GN修正 */
/* ._nav._prev a,div._pagenator ._nav._next span,div._pagenator ._nav._next a */
._ec_component div._pagenator ._nav._prev span,._ec_component div._pagenator,._ec_component _nav._prev a,._ec_component div._pagenator ._nav._prev a,._ec_component div._pagenator ._nav._next span,._ec_component div._pagenator ._nav._next a {
	display:block;
	color:#001960;
	font-weight:bold;
	line-height:30px;
	text-align:center;
	background:unset;
	border:unset;
	padding:0;
}
._ec_component ._pagenator ._nav._page {
	display:block;
}
._ec_component ._searchresults>._items>._item,._searchresults>._items>._item {
	width: 190px;
}
/* GN修正 */
/* タブ機能のスタイル */
.gs_tab_group {
	margin:20px 0;
	border:1px solid #ddd;
	border-radius:5px;
	overflow:hidden;
}
.gs_tab_buttons {
	display:flex;
	background-color:#f8f9fa;
	border-bottom:1px solid #ddd;
}
.gs_tab_button {
	flex:1;
	padding:12px 20px;
	background:none;
	border:none;
	cursor:pointer;
	font-size:14px;
	font-weight:500;
	color:#666;
	transition:all 0.3s ease;
	border-right:1px solid #ddd;
}
.gs_tab_button:last-child {
	border-right:none;
}
.gs_tab_button:hover {
	background-color:#e9ecef;
	color:#333;
}
.gs_tab_button.gs_active {
	background-color:#007bff;
	color:white;
	font-weight: bold;
}
/* モーダルオーバーレイ */
#gs_modal_overlay {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.5);
	z-index:9999;
	display:flex;
	justify-content:center;
	align-items: center;
}
/* モーダルコンテナ */
#gs_modal_container {
	background:white;
	border-radius:8px;
	width:85%;
	height:85%;
	max-height:90%;
	overflow:hidden;
	position:relative;
	box-shadow:0 4px 20px rgba(0,0,0,0.3);
	display:flex;
	flex-direction: column;
}
/* モーダルヘッダー */
.gs_modal_header {
	padding:15px 20px;
	border-bottom:1px solid #eee;
	display:flex;
	justify-content:flex-end;
	flex-shrink: 0;
}
/* クローズボタン */
#gs_modal_close {
	background:none;
	border:none;
	font-size:24px;
	cursor:pointer;
	color:#666;
	padding:0;
	width:30px;
	height:30px;
	display:flex;
	align-items:center;
	justify-content:center;
}
#gs_modal_close:hover {
	color: #333;
}
/* モーダルボディ */
.gs_modal_body {
	display:flex;
	flex-direction:column;
	flex:1;
	overflow:hidden;
	min-height: 0;
}
/* 左側：メイン画像 */
.gs_modal_left {
	flex:1;
	min-width:auto;
	margin: auto;
}
.gs_modal_image img {
	width:100%;
	height:auto;
	display: block;
}
/* 右側：商品リスト */
.gs_modal_right {
	flex:1;
	min-width:auto;
	padding: 20px;
	overflow-y: auto;
}
/* モーダルタイトル */
.gs_modal_title {
	font-size:18px;
	font-weight:bold;
	margin-bottom:20px;
	color: #333;
}
/* 商品リストコンテナ */
.gs_products_container {
	margin-bottom:20px;
}
.gs_products_list {
	display:flex;
	overflow-x:auto;
	scroll-behavior:smooth;
	-webkit-overflow-scrolling:touch;
	scrollbar-width:thin;
	scrollbar-color:#888 #f1f1f1;
	padding:10px 0;
	gap:15px;
	scroll-snap-type:x mandatory;
}
.gs_products_list::-webkit-scrollbar {
	height:6px;
}
.gs_products_list::-webkit-scrollbar-track {
	background:#f1f1f1;
	border-radius:3px;
}
.gs_products_list::-webkit-scrollbar-thumb {
	background:#888;
	border-radius:3px;
}
.gs_products_list::-webkit-scrollbar-thumb:hover {
	background: #555;
}
/* 商品アイテム */
.gs_product_item {
	text-align:center;
	flex:0 0 auto;
	min-width:120px;
	max-width:150px;
	scroll-snap-align:start;
}
.gs_product_link {
	text-decoration:none;
	color:inherit;
	display:block;
}
.gs_product_link:hover {
	opacity:0.8;
}
.gs_product_image {
	margin-bottom:8px;
}
.gs_product_img {
	width:100%;
	height:120px;
	object-fit:cover;
	border-radius:4px;
}
.gs_product_name {
	font-size:12px;
	color:#333;
	line-height:1.3;
	word-break: break-word;
}
/* インスタ情報 */
.gs_instagram_info {
	margin-bottom:15px;
	padding-top:15px;
	border-top:1px solid #eee;
}
.gs_instagram_source {
	font-size:12px;
	color:#666;
	margin-bottom:5px;
}
.gs_instagram_user {
	font-size:14px;
}
.gs_photo_by {
	color:#333;
}
.gs_user_link {
	color:#0066cc;
	text-decoration:none;
}
.gs_user_link:hover {
	text-decoration: underline;
}
/* キャプション */
.gs_caption {
	padding-top:15px;
	border-top:1px solid #eee;
}
.gs_caption_text {
	font-size:14px;
	line-height:1.5;
	color:#333;
	margin:0;
	white-space: pre-line;
}
/* モーダルフッター */
.gs_modal_footer {
	padding:15px 20px;
	border-top:1px solid #eee;
	display:flex;
	justify-content:space-around;
	align-items:center;
	flex-shrink:0;
	background-color:#f8f9fa;
}
.gs_modal_footer>div {
	width:50%;
	text-align:center;
	padding:1rem;
}
.gs_modal_footer>div>a {
	width:100%;
}
.gs_instagram_user {
	font-size:14px;
}
.gs_user_link {
	color:#0066cc;
	text-decoration:none;
}
.gs_user_link:hover {
	text-decoration:underline;
}
.gs_instagram_post_link {
	font-size:14px;
}
.gs_media_link {
	color:#0066cc;
	text-decoration:none;
}
.gs_media_link:hover {
	text-decoration: underline;
}
/* レスポンシブ対応 */
/* スマホ用スタイル（デフォルト） */
.gs_modal_body {
	flex-direction:column;
}
.gs_modal_left,.gs_modal_right {
	min-width:auto;
}
.gs_products_list {
	display:flex;
	overflow-x:auto;
	scroll-behavior:smooth;
	-webkit-overflow-scrolling:touch;
	scrollbar-width:thin;
	scrollbar-color:#888 #f1f1f1;
	padding:10px 0;
	gap:15px;
	scroll-snap-type:x mandatory;
}
.gs_product_img {
	height: 100px;
}
/* PC用スタイル（768px以上） */
@media screen and (min-width:768px) {
	.gs_modal_body {
		flex-direction:row;
	}
	.gs_modal_left,.gs_modal_right {
		min-width:300px;
	}
	.gs_product_img {
		height: 120px;
	}
}
/* スマホ用スタイル（767px以下） */
@media screen and (max-width:767px) {
	.gs_modal_body {
		flex-direction:column;
	}
	.gs_modal_left,.gs_modal_right {
		min-width:auto;
	}
	.gs_product_img {
		height: 100px;
	}
}