@charset "utf-8";

/* ==========================================================================
   ぶらり大阪"景観"ウォーク リニューアル版 共通スタイル（v2・独立版）
   machi_aruki.css / main_menu.css（サイト共通パーツ、2020年サブサイトが依存）には
   一切依存しない、完全に独立したスタイルシートです。
   ========================================================================== */

.mw-page {
	--mw-blue: #0071c5;
	--mw-blue-dark: #005594;
	--mw-navy: #1c2a3f;
	--mw-gold: #b6902c;
	--mw-bg: #f5f7fa;
	--mw-border: #e5e9ef;
	--mw-text: #2b2f36;
	--mw-text-light: #6b7280;

	max-width: 1040px;
	margin: 0 auto;
	padding: 24px 20px 64px;
	color: #2b2f36;
	color: var(--mw-text);
}

.mw-page,
.mw-page * {
	box-sizing: border-box;
}

.mw-page ol,
.mw-page ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-indent: 0;
}

.mw-page li {
	margin: 0;
	text-indent: 0;
}

.mw-page li::before,
.mw-page li::after {
	content: none;
}

.mw-page img {
	max-width: 100%;
}

.mw-page a {
	text-decoration: none;
}

/* ---- リード文 ---- */

.mw-lead {
	font-size: 15px;
	line-height: 1.9;
	margin: 0 0 28px;
}

/* ---- ヒーロー（チラシ画像 + 概要）2カラム ---- */

.mw-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 32px;
}

.mw-hero__media {
	position: relative;
	display: block;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(20, 30, 60, 0.16);
	align-self: start;
}

.mw-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .5s ease;
}

.mw-hero__media:hover img {
	transform: scale(1.03);
}

.mw-hero__badge {
	position: absolute;
	right: 12px;
	bottom: 12px;
	background: rgba(15, 23, 42, 0.78);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 999px;
}

.mw-hero__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 4px 0;
}

.mw-hero__eyebrow {
	display: inline-block;
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--mw-blue);
	background: rgba(0, 113, 197, 0.08);
	border-radius: 999px;
	padding: 5px 14px;
}

.mw-hero__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--mw-navy);
}

.mw-facts {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mw-facts li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.mw-facts .mw-icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0, 113, 197, 0.1);
	color: var(--mw-blue);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mw-facts .mw-icon svg {
	width: 16px;
	height: 16px;
}

.mw-cta {
	display: inline-block;
	align-self: flex-start;
	background: linear-gradient(90deg, #0071c5, #005594) !important;
	background: linear-gradient(90deg, var(--mw-blue, #0071c5), var(--mw-blue-dark, #005594)) !important;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 15px;
	padding: 15px 30px;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(0, 113, 197, .32);
	transition: transform .2s ease, box-shadow .2s ease;
}

.mw-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(0, 113, 197, .4);
}

.mw-cta-note {
	font-size: 12px;
	line-height: 1.7;
	color: var(--mw-text-light);
	margin-top: -6px;
}

/* ---- コース（立寄り一覧） ---- */

.mw-route {
	border-top: 1px solid var(--mw-border);
	padding-top: 24px;
	margin-bottom: 32px;
}

.mw-route__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--mw-navy);
	margin: 0 0 16px;
}

.mw-route__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mw-route__list li {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--mw-bg);
	border-radius: 999px;
	padding: 8px 16px 8px 8px;
	font-size: 13px;
	line-height: 1.4;
}

.mw-route__num {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--mw-blue);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mw-route__list li.is-start .mw-route__num,
.mw-route__list li.is-goal .mw-route__num {
	background: var(--mw-navy);
	font-size: 10px;
}

.mw-route__list a {
	color: var(--mw-navy);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease;
}

.mw-route__list a:hover {
	border-color: var(--mw-blue);
}

/* ---- フォトギャラリー（大きめ・写真を主役に） ---- */

.mw-gallery {
	margin-bottom: 32px;
}

.mw-gallery__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--mw-navy);
	margin: 0 0 16px;
}

.mw-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.mw-gallery__item {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(20, 30, 60, 0.12);
}

.mw-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform .5s ease;
}

.mw-gallery__item:hover img {
	transform: scale(1.06);
}

.mw-video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	border-radius: 14px;
	overflow: hidden;
	margin-top: 16px;
	box-shadow: 0 8px 20px rgba(20, 30, 60, 0.12);
}

.mw-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---- クイックリンク／ナビ ---- */

.mw-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-bottom: 20px;
}

.mw-links__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--mw-bg);
	border-radius: 14px;
	padding: 18px;
	color: var(--mw-text) !important;
	transition: background-color .2s ease, transform .2s ease;
}

.mw-links__card:hover {
	background: #eaeef4;
	transform: translateY(-2px);
}

.mw-links__card-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(182, 144, 44, 0.16);
	color: var(--mw-gold);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mw-links__card-icon svg {
	width: 16px;
	height: 16px;
}

.mw-links__card-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--mw-navy);
}

.mw-links__card-desc {
	font-size: 12px;
	line-height: 1.6;
	color: var(--mw-text-light);
}

.mw-nav {
	display: flex;
	gap: 12px;
}

.mw-nav a {
	flex: 1;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--mw-navy) !important;
	background: var(--mw-bg);
	border-radius: 999px;
	padding: 12px 16px;
	transition: background-color .2s ease;
}

.mw-nav a:hover {
	background: #e9edf3;
}

/* ---- 過去コース一覧（course/index.html） ---- */

.mw-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.mw-archive-grid__card {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(20, 30, 60, 0.1);
	transition: transform .2s ease, box-shadow .2s ease;
}

.mw-archive-grid__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(20, 30, 60, 0.16);
}

.mw-archive-grid__card img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.mw-archive-grid__card-label {
	display: block;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mw-navy) !important;
	text-align: center;
	background: var(--mw-bg);
}

/* ---- モバイル追従の申し込みバー ---- */

.mw-sticky-cta {
	display: none;
}

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

@media screen and (min-width: 761px) {
	.mw-hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: center;
	}

	.mw-hero__title {
		font-size: 27px;
	}

	.mw-gallery__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.mw-links {
		grid-template-columns: 1fr 1fr;
	}

	.mw-archive-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media screen and (max-width: 850px) {
	.mw-page {
		padding: 20px 16px 96px;
	}

	.mw-nav {
		flex-direction: column;
	}

	.mw-sticky-cta {
		display: block;
		position: fixed;
		left: 14px;
		right: 14px;
		bottom: calc(45px + 12px + env(safe-area-inset-bottom));
		z-index: 96;
		text-align: center;
		background: linear-gradient(90deg, #0071c5, #005594) !important;
		background: linear-gradient(90deg, var(--mw-blue, #0071c5), var(--mw-blue-dark, #005594)) !important;
		color: #ffffff !important;
		font-size: 14px;
		font-weight: 700;
		padding: 13px 16px;
		border-radius: 999px;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	}
}

@media screen and (max-width: 480px) {
	.mw-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mw-hero__title {
		font-size: 20px;
	}
}
