/* AMANECER = dawn: a quiet night, and one colour — the first light (apricot). */
:root {
	color-scheme: dark;
	--night: #0f0f11;
	--plum: #16151a;
	--accent: #e9b88f;
	--orange: #e9b88f;
	--sun: #f3d7b8;
	--ink: #f4f1ec;
	--mute: #96938d;
	--dawn: linear-gradient(100deg, #f6e2ca 0%, #e9b88f 60%, #d69c78 100%);
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
	background: var(--night);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	overflow-x: hidden;
}
/* Break Japanese lines only at punctuation, not in the middle of a word. */
p,
h1,
h2,
li,
figcaption {
	word-break: keep-all;
	overflow-wrap: anywhere;
}
a {
	color: inherit;
}
.sp {
	display: none;
}
@media (max-width: 720px) {
	.sp {
		display: inline;
	}
}

/* The sky: a slow sunrise glow behind everything. */
.sky {
	position: fixed;
	inset: -20vmax;
	z-index: -1;
	background:
		radial-gradient(50vmax 30vmax at 70% 105%, #e9b88f1c, transparent 70%),
		radial-gradient(36vmax 24vmax at 15% 20%, #8c94a812, transparent 70%),
		linear-gradient(180deg, var(--night) 0%, var(--plum) 100%);
	animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
	from { transform: translate3d(0, 0, 0) rotate(0deg); }
	to { transform: translate3d(-4vmax, -3vmax, 0) rotate(6deg); }
}

/* Header */
.top {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: max(14px, env(safe-area-inset-top)) clamp(18px, 5vw, 56px) 14px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: #0f0f11cc;
}
.mark {
	text-decoration: none;
	font-weight: 900;
	letter-spacing: 0.22em;
	font-size: 14px;
}
.mark span {
	margin-left: 0.7em;
	font-weight: 400;
	letter-spacing: 0.12em;
	color: var(--mute);
}
.pill {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid #ffffff2e;
	color: var(--sun);
	font-weight: 700;
}

main > section {
	padding: 0 clamp(18px, 5vw, 56px);
	max-width: 1180px;
	margin: 0 auto;
}

/* 1. Hero */
.hero {
	min-height: calc(100svh - 60px);
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	grid-template-areas:
		"copy phone"
		"cta phone";
	align-content: center;
	column-gap: 40px;
	padding-top: 24px !important;
	padding-bottom: 48px !important;
}
.hero-copy {
	grid-area: copy;
	align-self: end;
}
.hero-cta {
	grid-area: cta;
	align-self: start;
}
.hero-phone {
	grid-area: phone;
}
.eyebrow {
	margin: 0 0 18px;
	font-size: 12px;
	letter-spacing: 0.2em;
	color: var(--mute);
}
.eyebrow i {
	display: inline-block;
	width: 22px;
	height: 1px;
	margin: 0 12px;
	vertical-align: middle;
	background: var(--orange);
}
h1 {
	margin: 0;
	font-size: clamp(54px, 9vw, 128px);
	line-height: 1.02;
	letter-spacing: -0.045em;
	font-weight: 900;
}
h1 em,
.big em {
	font-style: normal;
	background: var(--dawn);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shine 6s ease-in-out infinite alternate;
}
@keyframes shine {
	from { background-position: 0% 0; }
	to { background-position: 100% 0; }
}
.lead {
	margin: 24px 0 0;
	font-size: clamp(15px, 1.5vw, 19px);
	line-height: 1.8;
	color: #d6d2cb;
}

.cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}
.cta.center {
	justify-content: center;
}
.btn {
	font: inherit;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 56px;
	padding: 10px 26px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn small {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	opacity: 0.75;
}
.btn.primary {
	border: 0;
	color: #141416;
	background: var(--ink);
	box-shadow: 0 10px 30px -14px #e9b88f66;
}
.btn.ghost {
	color: var(--ink);
	background: #ffffff0d;
	border: 1px solid #ffffff33;
}
.btn:hover {
	transform: translateY(-2px);
}
.btn.primary:hover {
	box-shadow: 0 14px 36px -12px #e9b88f8c;
}

/* A phone showing the vertical result. */
.hero-phone {
	position: relative;
	justify-self: center;
	animation: float 6s ease-in-out infinite;
}
@keyframes float {
	0%, 100% { transform: translateY(0) rotate(-3deg); }
	50% { transform: translateY(-14px) rotate(-1deg); }
}
.phone {
	position: relative;
	width: clamp(220px, 26vw, 330px);
	aspect-ratio: 9 / 16;
	border-radius: 34px;
	padding: 8px;
	background: linear-gradient(160deg, #2a2a2e, #121214);
	box-shadow:
		0 0 0 1px #ffffff1c,
		0 40px 90px -20px #000,
		0 0 120px -40px #e9b88f55;
}
.phone video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 27px;
	display: block;
	background: #ddd;
}
.phone.small {
	width: 100%;
	border-radius: 22px;
	padding: 5px;
}
.phone.small video {
	border-radius: 18px;
}
.tag {
	position: absolute;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	padding: 7px 12px;
	border-radius: 8px;
	background: #0f0f11cc;
	border: 1px solid #ffffff22;
	color: var(--ink);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.tag::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 8px;
	border-radius: 50%;
	vertical-align: 1px;
	background: var(--orange);
}
.tag-a {
	top: 12%;
	left: -18%;
}
.tag-b {
	bottom: 14%;
	right: -22%;
}

/* Sports words sliding by. */
.marquee {
	overflow: hidden;
	padding: 18px 0;
	border-block: 1px solid #ffffff14;
	background: #0f0f1199;
}
.marquee div {
	display: flex;
	width: max-content;
	animation: slide 28s linear infinite;
}
.marquee span {
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 900;
	font-style: italic;
	letter-spacing: 0.02em;
	padding: 0 0.6em;
	color: transparent;
	-webkit-text-stroke: 1px #ffffff26;
}
.marquee span:nth-child(3n + 1) {
	color: #ffffffd9;
	-webkit-text-stroke: 0;
}
@keyframes slide {
	to { transform: translateX(-50%); }
}

/* 2. Before / After */
.compare {
	padding-top: 96px !important;
	padding-bottom: 40px !important;
}
.kicker {
	margin: 0 0 28px;
	font-size: clamp(30px, 7.6vw, 80px);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	white-space: nowrap;
	overflow-wrap: normal;
	display: flex;
	align-items: center;
	gap: 0.3em;
}
.kicker b {
	font-weight: 300;
	color: var(--mute);
}
.grad {
	background: var(--dawn);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.pair {
	display: grid;
	grid-template-columns: 1fr clamp(150px, 22vw, 280px);
	gap: clamp(14px, 3vw, 36px);
	align-items: center;
}
.pair figure {
	margin: 0;
}
.wide video {
	width: 100%;
	display: block;
	border-radius: 18px;
	box-shadow: 0 30px 80px -30px #000;
}
.pair figcaption {
	margin-top: 12px;
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--mute);
}
.tall figcaption {
	color: var(--ink);
}
.note {
	margin: 28px 0 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--mute);
}

/* 3. Steps */
.steps {
	padding-top: 96px !important;
	padding-bottom: 96px !important;
}
.steps ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid #ffffff22;
}
.steps li {
	padding: 26px 0 0;
	display: grid;
	gap: 6px;
}
.steps li + li {
	padding-left: clamp(16px, 3vw, 40px);
	border-left: 1px solid #ffffff22;
}
.steps b {
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--orange);
}
.steps span {
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 900;
	letter-spacing: -0.02em;
}
.steps small {
	font-size: 13px;
	color: var(--mute);
}

/* 4. Privacy */
.private {
	max-width: none !important;
	padding-top: clamp(80px, 14vw, 160px) !important;
	padding-bottom: clamp(80px, 14vw, 160px) !important;
	text-align: center;
	background:
		radial-gradient(55% 70% at 50% 100%, #e9b88f17, transparent 70%);
}
.big {
	margin: 0;
	font-size: clamp(44px, 8vw, 112px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.04em;
}
.small {
	margin: 28px auto 0;
	font-size: 15px;
	line-height: 1.9;
	color: #d6d2cb;
}

/* 5. Price */
.price {
	padding-top: 96px !important;
	padding-bottom: 40px !important;
}
.price ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.price li {
	padding: 26px 24px 28px;
	border-radius: 22px;
	background: #ffffff0a;
	border: 1px solid #ffffff1a;
}
.price li.best {
	position: relative;
	background:
		linear-gradient(#18171b, #18171b) padding-box,
		var(--dawn) border-box;
	border: 1px solid transparent;
}
.price li.best::before {
	content: "おすすめ";
	position: absolute;
	top: -12px;
	right: 18px;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 999px;
	color: #141416;
	background: var(--accent);
}
.price b {
	display: block;
	font-size: clamp(40px, 5vw, 60px);
	font-weight: 900;
	letter-spacing: -0.03em;
}
.price li span {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--mute);
}

/* 6. Last call */
.last {
	padding-top: clamp(96px, 14vw, 160px) !important;
	padding-bottom: clamp(96px, 14vw, 160px) !important;
	text-align: center;
}

footer {
	display: flex;
	justify-content: space-between;
	padding: 22px clamp(18px, 5vw, 56px) max(28px, env(safe-area-inset-bottom));
	border-top: 1px solid #ffffff14;
	font-size: 12px;
	color: var(--mute);
}
footer a {
	text-decoration: none;
}

.toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translate(-50%, 20px);
	margin: 0;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--night);
	font-size: 14px;
	font-weight: 700;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s, transform 0.25s;
}
.toast.show {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* Sections rise in as they scroll into view (main.js adds .in). */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
	opacity: 1;
	transform: none;
}

@media (max-width: 720px) {
	.hero {
		grid-template-columns: 1fr;
		grid-template-areas:
			"copy"
			"phone"
			"cta";
		min-height: auto;
		row-gap: 36px;
		padding-top: 28px !important;
	}
	h1 {
		font-size: clamp(50px, 15vw, 72px);
	}
	.lead {
		margin-top: 16px;
		font-size: 15px;
	}
	.phone {
		width: min(58vw, 260px);
	}
	.hero-cta {
		margin-top: 0;
	}
	.tag-a {
		left: -14%;
	}
	.tag-b {
		right: -14%;
	}
	.cta .btn {
		flex: 1 1 100%;
	}
	.pair {
		grid-template-columns: 1fr;
	}
	.pair .tall {
		width: 58%;
		margin: -64px 0 0 auto;
		position: relative;
		z-index: 1;
	}
	.pair .tall figcaption {
		text-align: right;
	}
	.steps ol,
	.price ul {
		grid-template-columns: 1fr;
	}
	.steps li + li {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid #ffffff22;
		margin-top: 22px;
	}
	.steps li {
		grid-template-columns: 54px 1fr;
		align-items: baseline;
	}
	.steps small {
		grid-column: 2;
	}
	.price ul {
		gap: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sky,
	.hero-phone,
	.marquee div,
	h1 em,
	.big em {
		animation: none;
	}
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
