/* =============================================
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
============================================= */
*,*::before,*::after{box-sizing:border-box}*:not(dialog){margin:0}@media (prefers-reduced-motion:no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}

ul, ol { list-style: none; padding-left: 0; margin: 0; }

:root {
	--bg: #ffffff;
	--text: #545454;
	--muted: #6b7280;
	--brand-start: #00c1ff;
	--brand-end: #fc7eaf;
	--ring: rgba(39, 176, 255, 0.35);
	/* 上部（バナー+ヘッダー+余白）と下部（CTA群+注釈）の概算確保量 */
	--space-above: 136px; /*上部: バナー＋header＋hero周り上余白 */
	--space-below: 210px; /*下部: CTA群＋注釈の確保 */
}

html, body {
	height: 100%;
}
body {
	margin: 0;
	font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', Meiryo, sans-serif;
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background-color: #fff;
	line-height: 1.6;
}
.contents{
	max-width: 480px;
	margin: 0 auto;
	background: var(--bg);
	min-height: 100lvh;
	min-height: 100dvh;
	min-height: 100vh;
	min-block-size: 100lvh;
	min-block-size: 100dvh;
	padding-bottom: max(env(safe-area-inset-bottom), 0px);
}
@media (min-width: 768px) {
	.contents {
		filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
	}
}
.top-banner {
	padding: 8px 10px;
	background: #d4f2ff;
	display: grid;
	grid-template-columns: 1fr 6fr 3fr;
	align-items: center;
	gap: 5px;
}
.top-banner__left {
	display: contents;
	align-items: center;
}
.top-banner__icon {
	width: clamp(32px, 8vw, 44px);
	aspect-ratio: 1 / 1;
	border-radius: 22%;
	overflow: hidden;
}
.top-banner__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.top-banner__text {
	font-size: 0.8rem;
	line-height: 1.25;
	font-weight: 700;
	min-width: 0;
	margin: 0;
}
.top-banner__cta {
	justify-self: end;
	white-space: nowrap;
	padding: 0.5rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--brand-end);
	color: #fff;
	letter-spacing: .5px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.75rem;
}
.header {
	padding: 20px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.logo img {
	max-width: 130px;
	height: auto;
	width: 100%; 
}
.hero {
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	flex-direction: column;
}
.hero-card {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	/* ビューポート高から上部/下部の概算を引いた残りに収める（CSSのみ近似） */
	height: clamp(240px, calc(100vh - var(--space-above) - var(--space-below)), 68vh);
}
.hero img { 
	width: 100%; 
	display: block; 
	height: 100%;
	object-fit: cover; /* 余白を作らず縦横比維持でトリミング */
	object-position: 50% 20%; /* 被写体をやや上寄せ */
}
.hero .copy {
	text-align: center;
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	width: calc(100% - 48px);
	color: #fff;
	text-shadow: 0 0 10px rgba(0,0,0,.75);
	font-weight: 400;
	line-height: 1.5;
	font-size: clamp(32px, 6vw, 40px);
	letter-spacing: 1.5px;
}
.cta-wrap {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
.cta {
	display: grid;
	place-items: center;
	--h: 64px;
	height: var(--h);
	min-width: 320px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	letter-spacing: 2px;
	font-weight: 600;
	font-size: 22px;
	background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
	cursor: pointer;
	transition: transform .06s ease, box-shadow .2s ease;
	text-decoration: none;
}
.notes{
	margin:20px 0 0;
	text-align: center;
}
.notes__text {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.7;
}
.store-link{
	margin-top: 20px;
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
}
.store-link__item{
	display: block;
	width: clamp(7rem,18vw,8rem);
}
.section02 {
	padding: 70px 16px 30px;
	background: #fff;
}
.section02-inner{
	padding-right: clamp(10px, 3vw, 28px);
	padding-left: clamp(10px, 3vw, 28px);
}
.section02 picture{
	padding: 40px 20px;
}
.section02 h2{
	font-size: clamp(18px, 9vw, 30px);
	letter-spacing: 1.5px;
	line-height: 1.3;
}
.section02 h2 > span{
	width: 100%;
	display: flex;
	justify-content: center;
	color: transparent;
}
.section02 h2 span:first-child{
	font-size: clamp(16px, 7vw, 24px);
	line-height: 1.7;
}
.linear-grad{
	background-image: linear-gradient(96deg, #00c1ff 15%, #9a7eff 51%, #fc7eaf 87%);
	background-clip: text;
}
.footer {
	padding: 50px 0 0;
	color: #9aa3af;
	font-size: 12px;
	text-align: center;
}
.footer-link{
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 30px;
}
.footer-link > li > a{
	color: var(--text);
}

/* svh対応端末ではsvhを優先して計算（モバイルSafariのUI表示差を吸収） */
@supports (height: 1svh) {
	.hero-card {
		height: clamp(240px, calc(100svh - var(--space-above) - var(--space-below)), 68svh);
	}
}

/* 低背（縦が短い）端末向けに圧縮: 〜740px */
@media (max-height: 740px) {
	:root { --space-above: 124px; --space-below: 195px; }
	.header { padding: 14px 16px; }
	.hero .copy { bottom: 28px; font-size: clamp(24px, 5vw, 32px); width: calc(100% - 40px); }
	.cta-wrap { margin-top: 16px; }
	.cta { --h: 56px; min-width: 300px; font-size: 20px; letter-spacing: 1.5px; }
	.store-link { margin-top: 14px; gap: 8px; }
	.store-link__item { width: clamp(6.6rem,16vw,7.2rem); }
	.notes { margin-top: 12px; }
	.notes__text { font-size: 11px; }
}

/* さらに低背: 〜680px（iPhone SE相当） */
@media (max-height: 680px) {
	:root { --space-above: 112px; --space-below: 165px; }
	.header { padding: 10px 16px; }
	.hero { padding: 0 14px 0; }
	.hero .copy { bottom: 22px; font-size: clamp(27px, 4.6vw, 28px); width: calc(100% - 32px); }
	.cta { --h: 52px; min-width: 280px; font-size: 18px; letter-spacing: 1.2px; }
	.store-link { margin-top: 12px; gap: 8px; }
	.store-link__item { width: clamp(6.2rem,15vw,6.8rem); }
	.notes__text { font-size: 10.5px; }
}
