/* =========================================================
   GRM single-store専用CSS
   ※ front.css から single-store.php で使用しているもののみ抽出
========================================================= */

/* =========================
   全体ベース
========================= */

.grm-single-store {
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* =========================
   共通セクション
========================= */

.grm-single-section {
	margin-bottom: 48px;
	padding: 28px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* タイトル */

.grm-single-section-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 16px;
	letter-spacing: 0.05em;
}

/* =========================
   ヘッダー
========================= */

.grm-single-header {
	margin-bottom: 32px;
}

.grm-single-store-code {
	font-size: 12px;
	color: #888;
	margin-bottom: 6px;
}

.grm-single-title {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 6px;
}

.grm-single-slug-en {
	font-size: 13px;
	color: #999;
	margin-bottom: 12px;
}

/* チップ */

.grm-mini-chip {
	display: inline-block;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f3f3;
	margin-right: 6px;
}

.grm-mini-chip-sub {
	background: #e9ecef;
}
/* =========================
   画像なしタイトル
========================= */
.grm-nohero-header {
	padding: 40px 20px 20px 0;
	text-align: left;
}

.grm-nohero-title {
	font-size: clamp(22px, 5vw, 32px);
	font-weight: 700;
	color: #111;
	letter-spacing: 0.05em;
	line-height: 1.4;
	margin: 0;
}

/* =========================
   メイン画像
========================= */

.grm-single-main-image {
	overflow: hidden;
	border-radius: 16px;
}

.grm-single-main-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* =========================
   ギャラリー
========================= */

.grm-single-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.grm-single-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.grm-single-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.grm-single-gallery-item:hover img {
	transform: scale(1.05);
}

.grm-single-gallery-caption {
	font-size: 11px;
	padding: 6px;
	color: #666;
}

/* =========================
   コピー
========================= */

.grm-single-main-copy {
	font-size: 16px;
	line-height: 1.8;
	font-weight: 500;
	margin-bottom: 12px;
}

.grm-single-sub-copy {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}

/* =========================
   基本情報
========================= */

.grm-single-info {
	display: grid;
	gap: 12px;
}

.grm-single-info-row {
	display: flex;
	gap: 10px;
	border-bottom: 1px solid #eee;
	padding-bottom: 6px;
}

.grm-single-info-label {
	font-size: 12px;
	color: #999;
	min-width: 80px;
}

.grm-single-info-value {
	font-size: 14px;
}

/* =========================
   MAP
========================= */

.grm-map-iframe {
	width: 100%;
	height: 300px;
	border: none;
	border-radius: 12px;
}

/* =========================
   自由項目
========================= */

.grm-single-free-item {
	margin-bottom: 16px;
}

.grm-single-free-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.grm-single-free-value {
	font-size: 13px;
	color: #555;
}



/* =========================
   レスポンシブ
========================= */

@media (max-width: 768px) {

	.grm-single-title {
		font-size: 24px;
	}

	.grm-single-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.grm-single-section {
		padding: 20px;
	}

}

/* =========================
   ヒーロー（完成版）
========================= */

.grm-hero {
	position: relative;
	height: 60vh;
	min-height: 420px;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 40px;
}

.grm-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ↓ 白背景でも見えるようにする */

.grm-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.65),
		rgba(0,0,0,0.25),
		rgba(0,0,0,0)
	);
}

/* テキスト */

.grm-hero-content {
	position: absolute;
	bottom: 28px;
	left: 28px;
	right: 20px;
}

/* タイトル */

.grm-hero-title {
	font-size: 32px;
	font-weight: 700;
	color: #fff;

	/* ↓これが超重要 */
	text-shadow:
		0 2px 8px rgba(0,0,0,0.4),
		0 1px 2px rgba(0,0,0,0.3);

	line-height: 1.4;
}

/* =========================
   SNS アイコン
========================= */

.grm-sns-icons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 10px 0 20px;
	align-items: center;
}

.grm-sns-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;

	display: flex;
	align-items: center;
	justify-content: center;

	box-shadow: 0 6px 16px rgba(0,0,0,0.18);

	transition: 0.25s;
}

.grm-sns-icon img {
	width: 30px;
	height: 30px;
	display: block;
}

/* hover */

.grm-sns-icon:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

/* =========================
   CTA アイコン（最適バランス）
========================= */
/* HERO内CTA */
.grm-hero-cta {
	display: flex;
	gap: 12px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.grm-cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 28px 0 40px;
	align-items: center;
}

.grm-cta-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;

	display: flex;
	align-items: center;
	justify-content: center;

	box-shadow: 0 6px 16px rgba(0,0,0,0.18);

	transition: 0.25s;
}

.grm-cta-icon img {
	width: 24px;
	height: 24px;
	display: block;
}

/* hover */

.grm-cta-icon:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

/* =========================
   HERO CTA 左縦配置（外出し版）
========================= */

.grm-hero-cta-wrap {
	position: absolute;
	top: 50%;
	left: 0; /* ←ここ修正 */
	transform: translateY(-50%);
	z-index: 20;
}

.grm-hero-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* =========================
   HERO外CTA（完全版）
========================= */

/* 親を基準にする */
.grm-single-store {
	position: relative;
}

/* 外配置 */
.grm-hero-cta-wrap {
	position: absolute;
	top: 300px;
	left: -60px;
	z-index: 100;
}

/* 縦並び */
.grm-hero-cta-wrap .grm-hero-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* 元CTAは非表示（残したまま） */
.grm-hero .grm-hero-cta {
	display: none;
}