@charset "UTF-8";
/* ==========================================================================
   MAP PAGE STYLES
   遠州さんち染め織りMAP
   ========================================================================== */

/* ベーススタイル */
body {
	background-color: #fcfcf8; /* 和紙のようなごく薄い生成り */
}

a {
	transition: opacity 0.3s ease;
}

a:hover {
	opacity: 0.7;
	text-decoration: none;
}

/* メインビジュアル */
.mainVisual--map {
	/* 優しいパステルカラーのグラデーション */
	background: url(../images/about/textile/map/mainVisual.png) no-repeat;
	position: relative;
	border-bottom: 5px solid #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mainVisual--map::before {
	/* チェック柄のオーバーレイ（遠州綿紬風） */
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		linear-gradient(rgba(255, 255, 255, 0.3) 2px, transparent 2px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
	background-size: 20px 20px;
	opacity: 0.5;
}

.mainVisual--map h2 {
	color: #fff;
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mainVisual--map h2 small {
	color: #fff;
	font-weight: 500;
}

/* セクションタイトル */
.sectionTitle {
	font-size: 1.8rem;
	font-weight: bold;
	color: #d81b60; /* ピンク */
	margin: 80px 0 40px;
	padding-bottom: 10px;
	border-bottom: none;
	position: relative;
	text-align: center;
}

/* マーカー風の下線 */
.sectionTitle::after {
	content: "";
	display: block;
	width: 60px;
	height: 6px;
	background: #ffe082; /* 黄色いマーカー */
	margin: 10px auto 0;
	border-radius: 3px;
	opacity: 0.8;
}

.sectionTitle strong {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: #00bcd4; /* 水色 */
	letter-spacing: 0.2em;
	margin-bottom: 5px;
}

.sectionTitle em {
	font-style: normal;
}

/* ==========================================================================
   関連ページリンク
   ========================================================================== */
.map-nav {
	margin-bottom: 50px;
	margin-top: 30px;
}

.map-nav__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.map-nav__list li {
	flex: 1;
	min-width: 0;
}
.map-nav__list li a {
	color: #333;

}

.map-nav__item {
	display: block;
	background: #fff;
	border: 1px solid #B2DFDB;
	color: #26C6DA;
	text-decoration: none;
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
	border-radius: 10px;
}

.map-nav__item:hover {
	opacity: 0.85;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	color: #333;
}

.map-nav__img {
	width: 100%;
	overflow: hidden;
}

.map-nav__img img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	display: block;
}

.map-nav__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	font-size: 0.9rem;
	font-weight: bold;
}

.map-nav__label i {
	font-size: 1rem;
	color: #26C6DA;
	flex-shrink: 0;
	margin-left: 8px;
}

/* ==========================================================================
   エリア別イラストマップ
   ========================================================================== */
.areaMap {
	margin-bottom: 70px;
}

.areaMap__list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.areaMap__item {
	flex: 1 1 300px;
	max-width: 380px;
	background: #fff;
	border-radius: 20px; /* 丸みを強く */
	box-shadow: 0 10px 25px rgba(0,0,0,0.05);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 2px solid #f0f0f0;
}

.areaMap__item:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	border-color: #b2dfdb;
}

.areaMap__item h3 {
	background: #fff;
	color: #555;
	padding: 15px 20px;
	font-size: 1.2rem;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 2px dashed #eee; /* 破線で優しく */
}

/* エリアラベルの色分け */
.areaMap__item:nth-child(1) .areaMap__label { background: #ffcc80; color: #fff; } /* A: オレンジ */
.areaMap__item:nth-child(2) .areaMap__label { background: #81d4fa; color: #fff; } /* B: 水色 */
.areaMap__item:nth-child(3) .areaMap__label { background: #a5d6a7; color: #fff; } /* C: 緑 */

.areaMap__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.4rem;
	font-weight: bold;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.areaMap__item h3 em {
	display: block;
	font-size: 0.85rem;
	font-weight: normal;
	font-style: normal;
	color: #888;
	margin-left: auto;
}

.areaMap__item figure {
	margin: 0;
	padding: 20px;
	background: #fff;
}

.areaMap__item figure img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* ==========================================================================
   店舗一覧（テーブル形式）
   ========================================================================== */
.shopList {
	margin-bottom: 20px;
}

.shopList__area {
	margin-bottom: 30px;
}

/* アコーディオン開閉スタイル */
.shopList__areaTitle {
	font-size: 1.4rem;
	color: #444;
	padding: 15px 20px;
	margin-bottom: 0; /* 下のマージンを削除（開いたときにテーブルとくっつけるため） */
	display: flex;
	align-items: center;
	gap: 15px;
	border-bottom: 2px solid #b2dfdb; /* 水色ライン */
	cursor: pointer; /* クリック可能にする */
	position: relative;
	background-color: #fff;
	border-radius: 10px;
	transition: background-color 0.3s;
}

.shopList__areaTitle:hover {
	background-color: #f0fdfc;
}

/* エリアタイトル装飾 */
.shopList__areaTitle::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #26c6da;
	box-shadow: 0 0 0 4px #e0f7fa;
}

/* 開閉アイコン */
.shopList__areaTitle::after {
	content: "\f078"; /* FontAwesome chevron-down */
	font-family: "FontAwesome";
	font-weight: normal;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: #26c6da;
	transition: transform 0.3s ease;
}

/* 開いている状態 */
.shopList__areaTitle.is-open::after {
	transform: translateY(-50%) rotate(180deg);
}

.shopList__areaTitle.is-open {
	border-radius: 10px 10px 0 0;
	border-bottom: 2px solid #b2dfdb;
}

/* タグスタイル */
.shopList__tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-left: 10px;
}

.tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.4;
}

.tag--buy {
	background: #ec407a; /* ピンク */
}

.tag--visit {
	background: #ffa726; /* オレンジ */
}

/* テーブルスタイル */
.table-responsive {
	display: none; /* 初期状態は非表示（アコーディオンで開く） */
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 0;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
	border: 1px solid #eee;
	border-top: none;
}

.shopList__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 0.95rem;
	min-width: 1024px;
	display: table !important;
}

.shopList__table thead {
	display: table-header-group !important;
}

.shopList__table tbody {
	display: table-row-group !important;
}

.shopList__table tr {
	display: table-row !important;
}

.shopList__table tr.is-hidden {
	display: none !important;
}

.shopList__table th {
	background: #f1f8e9; /* 薄い緑 */
	color: #558b2f;
	font-weight: bold;
	padding: 18px 20px;
	text-align: left;
	white-space: nowrap;
	border-bottom: 2px solid #dcedc8;
	font-size: 1em;
	display: table-cell !important;
}

.shopList__table td {
	padding: 18px 20px;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: middle;
	color: #555;
	line-height: 1.6;
	font-size: 1em;
	display: table-cell !important;
}

.shopList__table tr:last-child td {
	border-bottom: none;
}

.shopList__table tr:nth-child(even) {
	background: #fdfdfd;
}

.shopList__table tr:hover {
	background: #fffde7; /* ホバー時は薄い黄色 */
}

/* カラム幅調整（6列） */
.shopList__table th:nth-child(1) { width: 28%; }
.shopList__table th:nth-child(2) { width: 18%; }
.shopList__table th:nth-child(3) { width: 18%; }
.shopList__table th:nth-child(4) { width: 10%; text-align: center; } /* リンク */
.shopList__table th:nth-child(5) { width: 14%; } /* 連絡先 */
.shopList__table th:nth-child(6) { width: 12%; text-align: center; } /* マップ */

.shopList__table td:nth-child(4),
.shopList__table td:nth-child(6) {
	text-align: center;
}


/* 連絡先列 */
.shopList__tel {
	font-size: 0.9rem;
	white-space: nowrap;
	color: #555;
}

/* 絞り込みボタン */
.shopList__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 30px;
}

.shopList__filterBtn {
	padding: 10px 24px;
	border: 2px solid #b2dfdb;
	border-radius: 30px;
	background: #fff;
	color: #009688;
	font-weight: bold;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.shopList__filterBtn:hover {
	background: #e0f2f1;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.shopList__filterBtn.is-active {
	background: #009688;
	color: #fff;
	border-color: #009688;
	box-shadow: 0 3px 10px rgba(0,150,136,0.3);
}

/* テーブル内要素 */
.shopList__nameWrapper {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 5px;
}

.shopList__name {
	display: inline-block;
	font-weight: bold;
	font-size: 1.05rem;
	color: #333;
}

.shopList__desc {
	display: block;
	font-size: 0.85rem;
	color: #666;
	margin-top: 5px;
}

/* MAPボタン */
.icon-map {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background: #fff;
	color: #00bcd4;
	text-decoration: none;
	border: 2px solid #00bcd4;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.icon-map:hover {
	background: #00bcd4;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0,188,212,0.3);
}

.icon-map i {
	margin-right: 5px;
}

/* リンクアイコン（HP/Insta） */
.shopList__links {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f5f5f5;
	color: #777;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 1.2rem;
	border: 1px solid #eee;
}

.icon-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	color: #fff;
}

/* HPアイコン */
.icon-link--hp:hover {
	background: #00bcd4;
	border-color: #00bcd4;
}

/* Instagramアイコン */
.icon-link--insta:hover {
	background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
	border-color: transparent;
}

/* リンクがない場合（空） */
.icon-link[href=""] {
	opacity: 0.3;
	pointer-events: none;
	cursor: default;
}

.text-center {
	text-align: center;
}

/* 訪問ルール */
.shopList__rule {
	color: #c62828; /* 注意を引く赤色 */
	font-size: 0.85rem;
	font-weight: bold;
	margin-top: 8px;
	background: #ffebee;
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	line-height: 1.4;
}

.shopList__rule i {
	margin-right: 4px;
}

/* ==========================================================================
   Googleマップ埋め込み
   ========================================================================== */
.googleMap {
	margin-bottom: 70px;
}

.googleMap__wrapper {
	position: relative;
	width: 100%;
	padding-top: 50%;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	border: 4px solid #fff;
}

.googleMap__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}


/* ==========================================================================
   注意書き
   ========================================================================== */
.notice {
	background: #fff;
	border: 2px solid #ffca28;
	border-radius: 15px;
	padding: 25px;
	box-shadow: 0 5px 15px rgba(255, 202, 40, 0.1);
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.notice p {
	margin: 0;
	font-size: 0.9rem;
	color: #555;
	line-height: 1.7;
}

.notice i {
	color: #ffca28;
	font-size: 1.5rem;
	margin-top: -2px;
}

/* 遠州産地振興協議会（電子MAPページ内明記） */
.map-credit {
	margin: 30px 0 30px;
	text-align: center;
	font-size: 0.85rem;
	color: #666;
}


/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media screen and (max-width: 960px) {
	.areaMap__item {
		flex: 1 1 280px;
		max-width: 350px;
	}
}

@media screen and (max-width: 768px) {
	.sectionTitle {
		font-size: 1.5rem;
		margin: 50px 0 30px;
	}
	
	.areaMap__list {
		flex-direction: column;
		align-items: center;
	}
	
	.areaMap__item {
		max-width: 100%;
		width: 100%;
	}
	
	.shopList__areaTitle {
		font-size: 1.2rem;
	}
	
	.shopList__nameWrapper {
		flex-direction: column;
		gap: 2px;
	}

	.shopList__tags {
		margin-left: 0;
		margin-bottom: 5px;
	}
	
	
	.googleMap__wrapper {
		padding-top: 75%;
	}


	.map-nav__list {
		flex-wrap: wrap;
		gap: 12px;
	}

	.map-nav__list li {
		flex: 1 1 calc(50% - 6px);
		min-width: 140px;
	}

	.map-nav__img img {
		height: 90px;
	}

	.shopList__filter {
		gap: 8px;
	}
	
	.shopList__filterBtn {
		padding: 8px 16px;
		font-size: 0.85rem;
	}
}

@media screen and (max-width: 480px) {
	.sectionTitle {
		font-size: 1.3rem;
	}
	
	.sectionTitle strong {
		font-size: 0.8rem;
	}
	
	.tag {
		padding: 2px 8px;
		font-size: 0.65rem;
	}
	
	.areaMap__item h3 {
		flex-wrap: wrap;
	}
	
	.areaMap__item h3 em {
		width: 100%;
		margin-left: 0;
		margin-top: 5px;
	}
	
	/* スマホでのリンクアイコン表示 */
	.shopList__links {
		flex-direction: column;
		gap: 5px;
	}
	
	.icon-link {
		width: 30px;
		height: 30px;
		font-size: 1rem;
	}
}
