@charset "utf-8";

/* サクッと麻雀パズル 紹介ページ用スタイル
   ゲーム本編の世界観に合わせる。タイトル画面の紫〜桃の夕景、金の装飾、
   プレイ画面の翡翠の龍、そして象牙色の麻雀牌。この4色で組み立てている。 */

:root {
	/* 明るい配色。ゲーム内の紫・金・翡翠・桃を、クリーム地の上で使えるよう淡くしている。 */
	--bg: #fffaf2;
	--bg-2: #fff0e2;
	--surface: #ffffff;
	--surface-2: #fff6ea;
	--border: #f0d9bd;

	--gold: #f0a51f;
	--gold-deep: #b9740f;
	--gold-line: rgba(224, 160, 40, .45);

	--jade: #17a077;
	--pink: #e0508c;
	--red: #d1443f;
	--red-deep: #9e2b28;

	--text: #3b2a5e;
	--muted: #6e6289;
	--link: #c0561a;

	--shadow: 0 10px 28px rgba(120, 70, 30, .14);

	/* 牌 */
	--tile-face: #f7f1e4;
	--tile-face-dark: #ddd2ba;
	--tile-side: #b9ac91;
	--m-green: #2f8f5b;
	--m-blue: #2f6bbf;
	--m-red: #c8452f;
	--m-gold: #d98a2b;

	--radius: 16px;
	--gap: 24px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--bg);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.9;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--link);
	text-underline-offset: .2em;
}

a:hover {
	color: var(--pink);
}

.wrap {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}

.wrap-narrow {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 24px;
}

/* 金の縁取り。ゲーム内 UI のパネルと同じ質感を出すための共通指定。 */
.gold-frame {
	border: 1px solid var(--gold-line);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .8),
		var(--shadow);
}

/* ============ スクロール連動の出現 ============ */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ============ ヘッダー ============ */
/* ヒーローのグラデーション開始色と揃え、ヘッダーとの継ぎ目を消す */
.site-header {
	position: relative;
	z-index: 3;
	padding: 22px 0;
	background: #ffeaf1;
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.studio {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
}

.studio img {
	width: 40px;
	border-radius: 11px;
	display: block;
}

.studio span {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .1em;
	white-space: nowrap;
	color: var(--text);
}

/* ============ ヒーロー ============ */
/* 夕焼けの桃色から、クリームへ抜ける明るい空 */
.hero {
	position: relative;
	padding: 40px 0 100px;
	overflow: hidden;
	background:
		radial-gradient(900px 520px at 78% 10%, rgba(255, 190, 120, .45), transparent 62%),
		radial-gradient(760px 520px at 8% 80%, rgba(120, 220, 190, .28), transparent 62%),
		linear-gradient(180deg, #ffeaf1 0%, #fff3e6 55%, var(--bg) 100%);
}

/* 空に散るきらめき。金色の小さな光をやわらかく置く。 */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(3px 3px at 12% 22%, rgba(240, 165, 31, .6), transparent),
		radial-gradient(3px 3px at 78% 14%, rgba(240, 165, 31, .5), transparent),
		radial-gradient(2.4px 2.4px at 42% 9%, rgba(224, 80, 140, .4), transparent),
		radial-gradient(2.4px 2.4px at 88% 40%, rgba(240, 165, 31, .45), transparent),
		radial-gradient(2.4px 2.4px at 28% 52%, rgba(23, 160, 119, .35), transparent),
		radial-gradient(3px 3px at 62% 62%, rgba(240, 165, 31, .4), transparent);
	pointer-events: none;
}

.hero .wrap {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 48px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 6px 18px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid var(--gold-line);
	border-radius: 999px;
	color: var(--gold-deep);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
}

.badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold);
	animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(242, 193, 78, .55);
	}

	70%,
	100% {
		box-shadow: 0 0 0 10px rgba(242, 193, 78, 0);
	}
}

.hero-title-row {
	display: flex;
	align-items: center;
	gap: 18px;
}

.hero-app-icon {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 22%;
	box-shadow: 0 8px 20px rgba(120, 70, 30, .25);
}

/* タイトルはゲームのロゴに寄せた金のグラデーション。明るい地でも沈まないよう、
   下端を朱に寄せて白い縁を付ける。背景クリップした文字には text-shadow が
   乗らないので drop-shadow で影を付ける。 */
.hero h1 {
	margin: 0 0 18px;
	font-size: clamp(30px, 4.4vw, 44px);
	line-height: 1.25;
	letter-spacing: .01em;
	font-weight: 800;
	white-space: nowrap;
	background: linear-gradient(180deg, #ffc93c 0%, #f39a1e 45%, #d9502f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter:
		drop-shadow(0 2px 0 rgba(255, 255, 255, .9))
		drop-shadow(0 8px 14px rgba(160, 80, 20, .28));
}

.hero .tagline {
	margin: 0 0 18px;
	font-size: clamp(18px, 3.4vw, 26px);
	line-height: 1.6;
	font-weight: 700;
	color: var(--text);
}

.hero .tagline em {
	font-style: normal;
	color: var(--jade);
}

.hero .desc {
	margin: 0 0 32px;
	color: #574a78;
	font-size: 15.5px;
}

/* ---- CTA ---- */
.cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.btn-store {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: .02em;
	border: 1px solid var(--gold-line);
	transition: transform .25s ease, box-shadow .25s ease;
}

/* 公開前の状態。ストアURLが決まったら .btn-store.is-live に差し替える。 */
.btn-store.is-soon {
	background: #fff;
	color: var(--gold-deep);
	cursor: default;
}

/* 公開後。ゲーム内の「ゲームスタート」ボタンと同じ赤と金。 */
.btn-store.is-live {
	background: linear-gradient(180deg, #e05a4a, var(--red-deep));
	border-width: 2px;
	border-color: var(--gold);
	color: #fff6dd;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
	box-shadow: 0 10px 26px rgba(209, 68, 63, .35);
}

.btn-store.is-live:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(209, 68, 63, .45);
}

.btn-store svg {
	flex: none;
}

.cta-note {
	color: var(--muted);
	font-size: 13px;
	letter-spacing: .02em;
}

/* ============ ヒーローのプレイ画面 ============ */
/* 最初の画面でプレイの様子が伝わるよう、実際のプレイ画面を金の額縁で見せる。
   少し傾け、牌を角に浮かせて、静止画のスクショでも動きが出るようにしている。 */
.hero-shot-wrap {
	position: relative;
	padding: 18px 10px;
}

.hero-shot {
	margin: 0;
	border: 3px solid var(--gold);
	border-radius: 18px;
	overflow: hidden;
	background: #1c1838;
	box-shadow:
		0 0 0 6px rgba(255, 255, 255, .7),
		0 24px 48px rgba(90, 50, 110, .32);
	transform: rotate(1.5deg);
}

.hero-shot img {
	display: block;
	width: 100%;
	height: auto;
}

.tile.hero-tile {
	z-index: 2;
	width: 52px;
	height: 70px;
}

.tile.hero-tile svg {
	width: 28px;
	height: 38px;
}

.tile.hero-tile.t1 {
	top: -6px;
	left: -8px;
	transform: rotate(-12deg);
	animation-name: float-tilt-l;
}

.tile.hero-tile.t2 {
	right: -6px;
	bottom: -10px;
	animation-delay: .6s;
	animation-name: float-tilt-r;
}

.tile.hero-tile.t3 {
	right: 58px;
	bottom: -24px;
	width: 44px;
	height: 60px;
	animation-delay: 1.2s;
}

.tile.hero-tile.t3 svg {
	width: 24px;
	height: 32px;
}

@keyframes float-tilt-l {

	0%,
	100% {
		transform: rotate(-12deg) translateY(0);
	}

	50% {
		transform: rotate(-12deg) translateY(-7px);
	}
}

@keyframes float-tilt-r {

	0%,
	100% {
		transform: rotate(10deg) translateY(0);
	}

	50% {
		transform: rotate(10deg) translateY(-7px);
	}
}

.tile {
	position: absolute;
	width: 64px;
	height: 86px;
	border-radius: 11px;
	background: linear-gradient(158deg, #fffdf7 0%, var(--tile-face) 42%, var(--tile-face-dark) 100%);
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, .95),
		inset 0 -7px 0 rgba(0, 0, 0, .07),
		0 4px 0 var(--tile-side),
		0 14px 22px rgba(120, 70, 30, .28);
	display: grid;
	place-items: center;
	animation: float 6s ease-in-out infinite;
}

.tile svg {
	width: 34px;
	height: 46px;
	/* currentColor で描かれた絵柄（肉球）の色 */
	color: var(--m-gold);
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-7px);
	}
}

/* ============ セクション共通 ============ */
.section {
	padding: 96px 0;
}

.section-alt {
	background: var(--bg-2);
	border-block: 1px solid rgba(224, 160, 40, .22);
}

.section-head {
	margin: 0 0 56px;
	text-align: center;
}

/* 下の .section-head p の max-width を受けるため、左右 auto で中央に置く */
.section-head .eyebrow {
	margin: 0 auto 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	color: var(--gold-deep);
}

.section-head h2 {
	margin: 0 0 18px;
	font-size: clamp(24px, 4.6vw, 34px);
	line-height: 1.4;
	letter-spacing: .01em;
}

/* 見出し下の金の飾り罫 */
.section-head h2::after {
	content: "";
	display: block;
	width: 96px;
	height: 2px;
	margin: 16px auto 0;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-head p {
	max-width: 620px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 15px;
}

/* ============ 特徴 ============ */
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
}

.feature {
	padding: 30px 32px;
	background: var(--surface);
	border: 1px solid var(--gold-line);
	border-radius: var(--radius);
	box-shadow: 0 6px 18px rgba(120, 70, 30, .09);
	transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.feature:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.feature .icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	background: linear-gradient(160deg, #fff3d2, #ffe2b0);
	border: 1px solid rgba(224, 160, 40, .4);
	border-radius: 14px;
	color: var(--gold-deep);
}

.feature h3 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.5;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
}

/* 先頭の2枚を横長にして、均一なカードの羅列にしない */
@media (min-width: 861px) {

	.feature:nth-child(1),
	.feature:nth-child(2) {
		display: flex;
		align-items: flex-start;
		gap: 28px;
		grid-column: span 3;
	}

	.feature:nth-child(1) .icon,
	.feature:nth-child(2) .icon {
		margin-bottom: 0;
		width: 60px;
		height: 60px;
		flex: none;
	}

	.feature:nth-child(1) h3,
	.feature:nth-child(2) h3 {
		font-size: 21px;
	}
}

/* ============ 旅路 ============ */
/* ゲーム内の旅路マップに合わせ、街を金の縁の丸で表し、点線でつなぐ。
   6 つ目以降の街と次の旅は伏せ、「まだ先がある」ことだけを見せる。 */
.chapter {
	position: relative;
	max-width: 940px;
	margin: 0 auto;
	padding: 34px 36px 38px;
	border-radius: var(--radius);
}

.chapter.is-now {
	background:
		radial-gradient(520px 220px at 90% 0%, rgba(120, 200, 230, .22), transparent 70%),
		var(--surface);
	border: 1px solid var(--gold-line);
	box-shadow: var(--shadow);
}

/* 行き先は明かさないため、霧がかかったような淡い地と破線の枠にする */
.chapter.is-next {
	margin-top: 56px;
	background:
		radial-gradient(420px 160px at 50% 100%, rgba(255, 255, 255, .9), transparent 70%),
		linear-gradient(180deg, #f3eefb 0%, #fbf3ea 100%);
	border: 1px dashed rgba(110, 98, 137, .45);
}

/* 前の章から道が続いていることを、2 枚のカードをつなぐ点線で表す */
.chapter.is-next::before {
	content: "";
	position: absolute;
	top: -58px;
	left: 50%;
	height: 56px;
	border-left: 3px dotted var(--gold);
}

.chapter-head {
	position: relative;
	text-align: center;
}

.chapter-tag {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 14px;
	border-radius: 999px;
	background: var(--jade);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}

.is-next .chapter-tag {
	background: var(--muted);
}

.chapter h3 {
	margin: 0 0 6px;
	font-size: clamp(20px, 3.6vw, 26px);
	line-height: 1.4;
}

.chapter-head p {
	margin: 0 auto;
	max-width: 560px;
	color: var(--muted);
	font-size: 14.5px;
}

/* 10 の街を 5 つずつ 2 段に並べる */
.route {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 28px 8px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.stop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* 隣の街へ向かう点線。丸の中心の高さに通し、段の右端と最後の街では引かない。 */
.stop::after {
	content: "";
	position: absolute;
	top: 29px;
	left: calc(50% + 34px);
	width: calc(100% - 60px);
	border-top: 3px dotted var(--gold);
}

.stop:nth-child(5n)::after,
.stop:last-child::after {
	display: none;
}

.stop-no {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: linear-gradient(160deg, #4b3a86, #2c2358);
	border: 3px solid var(--gold);
	box-shadow: 0 6px 14px rgba(60, 40, 110, .25);
	color: #ffe6a8;
	font-size: 20px;
	font-weight: 800;
}

.stop-city {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.stop-sub {
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.5;
}

/* まだ明かさない街。ゲーム内の LOCKED と同じく、暗く沈めて伏せる。 */
.stop.is-locked .stop-no {
	background: linear-gradient(160deg, #8d85a3, #6a6282);
	border-style: dashed;
	border-color: rgba(185, 116, 15, .55);
	color: rgba(255, 255, 255, .85);
	box-shadow: none;
}

.stop.is-locked .stop-city {
	color: var(--muted);
	letter-spacing: .1em;
}

.stop.is-locked::after {
	opacity: .5;
}

.route-note {
	margin: 24px 0 0;
	color: var(--muted);
	font-size: 13.5px;
	text-align: center;
}

/* 旅路の下に、実際のマップとステージ選択の画面を並べる */
.chapter-shots {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 32px;
}

.chapter-shots .shot.is-wide {
	grid-column: 1 / -1;
}

/* 下段の2枚は元画像の縦横比が違う（16:10 と約2:1）ため、並べたときに高さが
   揃うよう 16:10 に合わせる。はみ出すのは左右の背景だけで、牌や UI は切れない。 */
.chapter-shots .shot:not(.is-wide) img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* ============ 特徴の途中に挟む画面 ============ */
.feature-split {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: 36px;
	padding: 28px;
	background: var(--surface);
	border: 1px solid var(--gold-line);
	border-radius: var(--radius);
	box-shadow: 0 6px 18px rgba(120, 70, 30, .09);
}

/* 画像を右に置く版。交互に並べて単調にしない */
.feature-split.is-reverse {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.feature-split.is-reverse .shot {
	order: 2;
}

.feature-split .shot {
	box-shadow: 0 10px 24px rgba(120, 70, 30, .16);
}

.feature-split h3 {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.5;
}

.feature-split p {
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
}

/* ============ 動物あつめ ============ */
/* 枠はステージ選択画面のカードに合わせ、紫地に金の縁取りとする。 */
.zukan {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	max-width: 760px;
	margin: 0 auto;
}

.zukan-cell {
	position: relative;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	background: linear-gradient(165deg, #4b3a86, var(--surface));
	border: 2px solid var(--gold-line);
	border-radius: 18px;
	box-shadow: inset 0 1px 0 rgba(255, 235, 180, .25);
	transition: transform .3s ease, border-color .3s ease;
}

.zukan-cell:hover {
	transform: translateY(-4px) rotate(-2deg);
	border-color: var(--gold);
}

/* 4列では 8 枠でちょうど 2 行に収まるため、9 枠目は隠しておく。
   3列になるモバイルでのみ表示して 3 行に揃える。 */
.zukan-cell:nth-child(9) {
	display: none;
}

/* 未発見の枠。集める余地があることを見せる。 */
.zukan-cell.is-locked {
	background: rgba(255, 255, 255, .03);
	border-style: dashed;
	border-color: rgba(242, 193, 78, .3);
	box-shadow: none;
}

.zukan-cell.is-locked::after {
	content: "?";
	font-size: 28px;
	font-weight: 800;
	color: rgba(242, 193, 78, .45);
}

.zukan-cell svg {
	width: 56%;
	height: 56%;
	color: var(--gold);
}

/* 目や鼻はカード地の色で抜く。地の色を変えると破綻するため hover では背景を変えない。 */
.zukan-cell .cut {
	fill: #4b3a86;
}

.zukan-note {
	margin: 24px 0 0;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

/* ============ スクリーンショット ============ */
/* 本作は横画面のため、縦持ちの端末枠ではなく横長のフレームで見せる。 */
.shot {
	margin: 0;
	background: var(--surface);
	border: 2px solid var(--gold-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(120, 70, 30, .18);
	transition: transform .3s ease, border-color .3s ease;
}

.shot:hover {
	transform: translateY(-4px);
	border-color: var(--gold);
}

/* 実機のスクリーンショットをそのままの比率で見せる。切り抜くと端の
   キャラクターや UI が落ちてしまうため、width / height 属性の比率に任せる。 */
.shot img {
	display: block;
	width: 100%;
	height: auto;
}

.shot figcaption {
	padding: 11px 14px;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: .04em;
	text-align: center;
}

/* ============ 課金の説明 ============ */
.iap {
	padding: 34px 38px;
	background: var(--surface);
	box-shadow: 0 6px 18px rgba(120, 70, 30, .09);
	border: 1px solid var(--gold-line);
	border-left: 3px solid var(--gold);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.iap h3 {
	margin: 0 0 14px;
	font-size: 18px;
	color: var(--gold-deep);
}

.iap p {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 14.5px;
}

.iap p:last-child {
	margin-bottom: 0;
}

.iap strong {
	color: var(--text);
}

/* ============ 最終CTA ============ */
.closing {
	padding: 100px 0;
	text-align: center;
	background:
		radial-gradient(700px 300px at 50% 0%, rgba(255, 170, 130, .35), transparent 70%),
		linear-gradient(180deg, #ffeaf1, var(--bg));
}

.closing h2 {
	margin: 0 0 16px;
	font-size: clamp(24px, 5vw, 36px);
	line-height: 1.4;
}

.closing p {
	margin: 0 0 32px;
	color: var(--muted);
	font-size: 15px;
}

.closing .cta-row {
	justify-content: center;
}

/* ============ フッター ============ */
.site-footer {
	padding: 30px 0;
	border-top: 1px solid rgba(224, 160, 40, .3);
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.site-footer .f_nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.site-footer .copy {
	margin: 0;
	letter-spacing: .1em;
}

/* ============ レスポンシブ ============ */
@media (max-width: 860px) {
	.hero {
		padding-bottom: 76px;
	}

	.hero .wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
		text-align: center;
	}

	.hero-title-row {
		justify-content: center;
	}

	.hero .order-visual {
		order: -1;
	}

	.cta-row {
		justify-content: center;
	}

	.section {
		padding: 72px 0;
	}

	.features {
		grid-template-columns: 1fr;
	}

	.iap {
		padding: 26px 24px;
	}

	.hero-shot-wrap {
		max-width: 560px;
		margin: 0 auto;
	}

	.feature-split,
	.feature-split.is-reverse {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 20px;
		text-align: left;
	}

	/* 縦に積むときは、どの特徴も画像を上にそろえる */
	.feature-split.is-reverse .shot {
		order: 0;
	}

	.chapter {
		padding: 28px 20px 32px;
	}

	/* 狭い画面では街を縦に並べ、点線も縦に通す */
	.route {
		grid-template-columns: 1fr;
		gap: 14px;
		max-width: 320px;
		margin-inline: auto;
	}

	.route::before {
		content: "";
		position: absolute;
		top: 24px;
		bottom: 24px;
		left: 23px;
		border-left: 3px dotted var(--gold);
	}

	.stop::after {
		display: none;
	}

	.stop {
		display: grid;
		grid-template-columns: 48px 1fr;
		column-gap: 16px;
		align-items: center;
		text-align: left;
	}

	.stop-no {
		grid-row: span 2;
		width: 48px;
		height: 48px;
		margin: 0;
		font-size: 17px;
	}

	/* 伏せた街はサブタイトルがないので、1 行ぶんで丸と高さを揃える */
	.stop.is-locked .stop-no {
		grid-row: auto;
	}
}

@media (max-width: 560px) {

	/* タイトルは折り返さない指定のため、アイコンと文字を縮めて 1 行に収める */
	.hero-title-row {
		gap: 12px;
	}

	.hero-app-icon {
		width: 56px;
		height: 56px;
	}

	.hero h1 {
		font-size: 26px;
	}

	/* 画面端で牌が切れないよう、飾りの牌を内側に寄せる */
	.tile.hero-tile.t1 {
		left: 0;
	}

	.tile.hero-tile.t2 {
		right: 2px;
	}

	.tile.hero-tile.t3 {
		right: 60px;
	}
	.zukan {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}

	.zukan-cell:nth-child(9) {
		display: grid;
	}

	.chapter-shots {
		grid-template-columns: 1fr;
	}

	.section-head {
		margin-bottom: 42px;
	}
}

/* 動きを減らす設定を尊重する */
@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	.tile,
	.badge::before {
		animation: none;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.feature:hover,
	.zukan-cell:hover,
	.shot:hover,
	.btn-store.is-live:hover {
		transform: none;
	}
}

/* App Storeの既存バナーを縦横比を保って表示する。 */
.appstore-badge {
 display: inline-block;
 flex: none;
 line-height: 0;
 text-decoration: none;
}

.appstore-badge img {
 display: block;
 width: auto;
 height: 60px;
}

.appstore-badge:focus-visible {
 outline: 3px solid var(--gold-deep);
 outline-offset: 6px;
}