@charset "UTF-8";
/* ==========================================================================
   店舗詳細ページ(Figma VD 7/3 > 店舗詳細_auショップ亀有 準拠)
   ========================================================================== */

.page-hero__sub {
	font-weight: 500;
}

.store-container {
	max-width: 972px;
	margin-inline: auto;
	padding-inline: 20px;
}

.store-detail {
	padding-block: 80px 100px;
}

/* --------------------------------------------------------------------------
   店舗ヘッダー(タグ+ロゴ+店名)
   -------------------------------------------------------------------------- */
.store-detail__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	height: 24px;
	padding-inline: 12px;
	background: #f1f1f1;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: #555555;
}

.store-detail__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.store-detail__head img {
	width: 146px;
	height: auto;
}

.store-detail__name {
	font-size: 30px;
	font-weight: 500;
	line-height: 40px;
	color: var(--color-heading);
}

/* --------------------------------------------------------------------------
   店舗情報2カラム(説明+情報表 / 写真)
   -------------------------------------------------------------------------- */
.store-detail__columns {
	display: flex;
	gap: 48px;
	margin-top: 48px;
}

.store-detail__info {
	flex: 0 0 384px;
}

.store-detail__desc {
	font-size: 14px;
	line-height: 25px;
	color: var(--color-text-sub);
	text-align: justify;
}

.store-detail__table {
	margin-top: 20px;
	border-top: 1px solid #e4e4e4;
	border-bottom: 1px solid #e4e4e4;
	padding-block: 8px;
}

.store-detail__table > div {
	display: flex;
	gap: 20px;
	padding: 12px;
}

.store-detail__table > div:nth-child(even) {
	background: #f9f9f9;
}

.store-detail__table dt {
	flex: 0 0 64px;
	font-size: 13px;
	font-weight: 500;
	line-height: 22px;
	color: #666666;
}

.store-detail__table dd {
	font-size: 14px;
	line-height: 22px;
	color: var(--color-text-sub);
}

.store-detail__photo {
	flex: 1;
}

.store-detail__photo img {
	width: 100%;
	height: 360px;
	object-fit: cover;
	border-radius: 8px;
}

/* バナー系画像(ARUHI等)は切り抜かず全体表示 */
.store-detail__photo--contain img {
	object-fit: contain;
	background: #ffffff;
	border: 1px solid #e4e4e4;
}

/* --------------------------------------------------------------------------
   アクセスマップ
   -------------------------------------------------------------------------- */
.store-detail__map {
	margin-top: 48px;
}

.store-detail__map-title {
	font-size: 18px;
	font-weight: 500;
	line-height: 22px;
	color: var(--color-heading);
}

/* Googleマップの埋め込み枠。デザインの地図枠(高さ380px・角丸8px)に合わせ、
   iframe 側の width/height 属性は CSS で上書きして幅いっぱいに広げる */
.store-detail__map-embed {
	height: 380px;
	margin-top: 16px;
	/* 読み込み前・ブロック時に枠が透明にならないよう下地を敷く */
	background: #ecedeb;
	border-radius: 8px;
	overflow: hidden;
}

.store-detail__map-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.store-detail__map-note {
	margin-top: 12px;
	text-align: right;
}

.store-detail__map-link {
	font-size: 13px;
	font-weight: 500;
	line-height: 19px;
	color: #a71427;
}

/* --------------------------------------------------------------------------
   一覧へ戻る
   -------------------------------------------------------------------------- */
.store-detail__back {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.btn-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 258px;
	height: 50px;
	background: #ffffff;
	border: 1px solid var(--color-heading);
	border-radius: 4px;
	font-size: 15px;
	font-weight: 500;
	color: var(--color-heading);
}

.btn-back::before {
	content: "←";
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {
	/* 情報+写真の2カラム → 縦積み(写真は比率で高さを決める) */
	.store-detail__columns {
		flex-direction: column-reverse;
		gap: 32px;
	}

	.store-detail__info {
		flex: none;
	}

	/* 縦積みでは比率通りだと画像が大きくなりすぎるので高さを打ち止めにする */
	.store-detail__photo img {
		height: auto;
		aspect-ratio: 500 / 360;
		max-height: 360px;
	}
}

@media (max-width: 768px) {
	.store-detail {
		padding-block: 48px 64px;
	}

	.store-detail__head {
		flex-wrap: wrap;
		gap: 10px;
		margin-top: 16px;
	}

	.store-detail__head img {
		width: 120px;
	}

	.store-detail__name {
		font-size: 22px;
		line-height: 32px;
	}

	.store-detail__columns {
		margin-top: 32px;
	}

	.store-detail__desc {
		line-height: 1.9;
	}

	.store-detail__table > div {
		gap: 12px;
		padding: 10px 8px;
	}

	.store-detail__table dt {
		flex-basis: 56px;
		font-size: 12px;
	}

	.store-detail__table dd {
		font-size: 13px;
	}

	.store-detail__map,
	.store-detail__back {
		margin-top: 32px;
	}

	.store-detail__map-embed {
		height: 260px;
	}

	.btn-back {
		width: 100%;
		min-width: 0;
	}
}
