@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap);

*{
	box-sizing: border-box;
}

html{
	scroll-behavior: smooth;
}

body{
	margin: 0;
	font: 16px/1.8 'Noto Sans JP', Arial, Verdana, sans-serif;
	font-weight: 400;
	color: #f7fbf7;
	background: #101415;
	-webkit-text-size-adjust: 100%;
}

a{
	color: #6ee7c8;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

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

#wrapper{
	min-height: 100vh;
	background:
		radial-gradient(circle at 12% 8%, rgba(110,231,200,.18), transparent 28rem),
		radial-gradient(circle at 86% 18%, rgba(255,134,99,.15), transparent 24rem),
		linear-gradient(145deg, #101415 0%, #1b2625 48%, #151819 100%);
}

#content{
	width: 84%;
	min-height: 100vh;
}

#sidebar{
	width: 12%;
	position: fixed;
	top: 0;
	right: 4%;
	z-index: 10;
	background: rgba(16,20,21,.92);
	backdrop-filter: blur(12px);
}

#sidebar h1{
	margin: 0;
	padding: 30px 0;
}

#mainnav ul{
	list-style: none;
	margin: 0;
	padding: 0 0 22px;
}

#mainnav li{
	font-size: 14px;
	padding: 10px 0;
}

#mainnav a{
	color: #f7fbf7;
	font-weight: 700;
	letter-spacing: 0;
}

.hero{
	position: relative;
	min-height: 92vh;
	padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 96px);
	display: grid;
	grid-template-columns: minmax(280px, .95fr) minmax(360px, 1.05fr);
	align-items: center;
	gap: clamp(28px, 6vw, 86px);
	overflow: hidden;
}

.hero:before{
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(16,20,21,.98), rgba(16,20,21,.66) 52%, rgba(16,20,21,.2)),
		url("../images/night-background.png") center right / auto 112% no-repeat;
	opacity: .62;
}

.heroText,
.heroVisual{
	position: relative;
	z-index: 1;
}

.appIcon{
	width: 96px;
	border-radius: 22px;
	margin-bottom: 22px;
	box-shadow: 0 22px 54px rgba(0,0,0,.34);
}

.eyebrow{
	margin: 0 0 8px;
	color: #6ee7c8;
	font-weight: 900;
	text-transform: uppercase;
}

.hero h2{
	margin: 0;
	font-size: clamp(56px, 9vw, 118px);
	line-height: .96;
	font-weight: 900;
	letter-spacing: 0;
}

.heroText p:last-child{
	max-width: 620px;
	margin: 28px 0 0;
	font-size: clamp(18px, 2vw, 24px);
	color: #dbece6;
}

.heroVisual{
	display: grid;
	grid-template-columns: minmax(160px, .72fr) minmax(220px, 1fr);
	align-items: center;
	gap: clamp(18px, 3vw, 34px);
}

.phone{
	margin: 0;
	padding: 14px 14px 22px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
	box-shadow: 0 30px 80px rgba(0,0,0,.42);
	transform: rotate(-4deg);
}

.phone img{
	aspect-ratio: 9 / 16;
	width: 100%;
	object-fit: cover;
	border-radius: 20px;
	filter: saturate(.98) brightness(.9);
}

.phone figcaption{
	margin-top: 14px;
	text-align: center;
	color: #e4fbf2;
	font-weight: 900;
}

.characterCard{
	margin: 0;
	padding: clamp(18px, 3vw, 34px);
	border-radius: 8px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.16);
	box-shadow: 0 22px 64px rgba(0,0,0,.28);
	transform: translateY(34px) rotate(4deg);
}

.characterCard img{
	width: min(320px, 100%);
	margin: 0 auto;
}

section h2{
	width: min(760px, 84%);
	margin: 82px auto 48px;
	font-size: clamp(24px, 3vw, 38px);
	text-align: center;
	font-weight: 900;
}

section h2 span{
	padding-bottom: 18px;
	border-bottom: 4px solid #6ee7c8;
}

.inner,
.innerS{
	width: min(1040px, 84%);
	margin: 0 auto;
	padding-bottom: 76px;
}

.lead{
	max-width: 850px;
	margin: 0 auto 34px;
	text-align: center;
	font-size: clamp(18px, 2vw, 22px);
	color: #dbece6;
}

.features{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.features li{
	min-height: 190px;
	padding: 26px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 8px;
	background: rgba(255,255,255,.08);
}

.features strong{
	display: block;
	margin-bottom: 12px;
	color: #6ee7c8;
	font-size: 22px;
	font-weight: 900;
}

.features span{
	color: #dbece6;
}

#gallery{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

#gallery > li{
	line-height: 0;
	background: #11191a;
}

#gallery > li.wide{
	grid-column: 1 / -1;
}

#gallery .promoPanel{
	line-height: 1.15;
	padding: clamp(42px, 8vw, 96px) clamp(18px, 7vw, 92px);
	color: #141715;
	background:
		linear-gradient(180deg, rgba(255,255,255,.97), rgba(242,249,244,.94)),
		linear-gradient(135deg, #e9fff7, #fff6f0 54%, #f1f7f3);
}

.promoPanel > div{
	max-width: 1120px;
	margin: 0 auto;
}

.promoTitle{
	margin: 0;
	text-align: center;
	font-size: clamp(40px, 7vw, 96px);
	font-weight: 900;
	letter-spacing: 0;
}

.promoTitle strong{
	color: #1fae92;
}

.promoSub{
	width: fit-content;
	max-width: 100%;
	margin: 28px auto 44px;
	padding-bottom: 12px;
	border-bottom: 4px solid #ff8663;
	text-align: center;
	font-size: clamp(18px, 2.4vw, 30px);
	font-weight: 900;
}

.promoStage{
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 72px);
}

.promoStage > img{
	width: 100%;
	max-height: 620px;
	object-fit: contain;
}

.screenshotStrip{
	position: relative;
	width: min(100%, 540px);
	aspect-ratio: 1.06 / 1;
	margin: 0 auto;
	isolation: isolate;
}

.screenshotStrip img{
	aspect-ratio: 440 / 956;
	position: absolute;
	bottom: 4%;
	width: 40%;
	max-height: none;
	object-fit: cover;
	border: 8px solid #151719;
	border-radius: 28px;
	box-shadow: 0 22px 58px rgba(0,0,0,.24);
	transform-origin: bottom center;
}

.screenshotStrip img:nth-child(1){
	left: 0;
	z-index: 1;
	transform: rotate(-6deg);
}

.screenshotStrip img:nth-child(2){
	left: 50%;
	bottom: 7%;
	z-index: 2;
	width: 42%;
	transform: translateX(-50%) translateY(-6%);
}

.screenshotStrip img:nth-child(3){
	right: 0;
	z-index: 1;
	transform: rotate(6deg);
}

.promoList{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.promoList li{
	line-height: 1.45;
	padding: 18px 20px;
	border-radius: 8px;
	background: rgba(31,174,146,.12);
}

.promoList strong{
	display: block;
	margin-bottom: 4px;
	color: #157a69;
	font-size: 20px;
}

.promoBottom{
	margin: 52px 0 0;
	text-align: center;
	font-size: clamp(26px, 4vw, 56px);
	font-weight: 900;
}

.promoBottom strong{
	color: #ff7048;
}

#gallery > li > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#sec03 .inner{
	border-bottom: 1px solid rgba(255,255,255,.22);
}

.col2{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(260px, .8fr) minmax(260px, 1fr);
	gap: 40px;
	align-items: center;
}

.col2 p{
	margin: 0 0 12px;
}

.legalLinks{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.legalLinks a{
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid rgba(110,231,200,.38);
	border-radius: 8px;
	color: #f7fbf7;
	background: rgba(255,255,255,.06);
	font-weight: 700;
}

.developerLogo,
.storeBadge{
	width: 250px;
	max-width: 100%;
	margin: 0 0 18px;
}

.storeBadge{
	opacity: .94;
}

#footer{
	clear: both;
	padding: 38px 10px 58px 0;
	text-align: center;
	font-size: 12px;
	color: #becac6;
}

@media only screen and (max-width: 980px){
	#content{
		width: 100%;
	}

	#sidebar{
		position: sticky;
		width: 100%;
		right: auto;
	}

	#sidebarWrap{
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		padding: 12px 18px;
	}

	#sidebar h1{
		padding: 0;
	}

	#sidebar h1 img{
		width: auto;
		max-height: 24px;
	}

	#mainnav ul{
		display: flex;
		gap: 14px;
		padding: 0;
	}

	#mainnav li{
		padding: 0;
		font-size: 12px;
	}

	.hero{
		grid-template-columns: 1fr;
		min-height: auto;
		padding-top: 54px;
	}

	.heroVisual{
		max-width: 760px;
		margin: 0 auto;
	}

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

@media only screen and (max-width: 640px){
	body{
		font-size: 15px;
	}

	#sidebarWrap{
		align-items: flex-start;
		flex-direction: column;
	}

	#mainnav ul{
		flex-wrap: wrap;
	}

	.hero{
		padding: 36px 18px 54px;
	}

	.hero h2{
		font-size: 56px;
	}

	.heroVisual,
	.promoStage{
		grid-template-columns: 1fr;
	}

	.screenshotStrip{
		max-width: 430px;
		margin: 0 auto;
	}

	.screenshotStrip img{
		border-width: 5px;
		border-radius: 18px;
	}

	.screenshotStrip img:nth-child(2){
		transform: translateX(-50%) translateY(-5%);
	}

	.characterCard{
		transform: none;
	}

	section h2{
		width: 90%;
		margin: 58px auto 34px;
	}

	.inner,
	.innerS{
		width: 90%;
		padding-bottom: 48px;
	}

	#gallery{
		grid-template-columns: 1fr;
	}

	#gallery > li.wide{
		grid-column: auto;
	}

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