/*
Template: jin
Theme Name: jin-child
Author: CrossPiece
Version: 1.03
*/

:root {
	--utakata-ink: #e9fbff;
	--utakata-muted: #a5c9d8;
	--utakata-line: rgba(159, 230, 255, 0.2);
	--utakata-blue: #64d8ff;
	--utakata-aqua: #a7fff1;
	--utakata-bg: #020816;
	--utakata-bg-2: #061c32;
	--utakata-panel: rgba(6, 25, 43, 0.74);
}

body.home,
body.front-page {
	background: var(--utakata-bg);
	color: var(--utakata-ink);
}

body.home #wrapper,
body.front-page #wrapper,
body.home #scroll-content,
body.front-page #scroll-content {
	background: transparent;
}

.utakata-home {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 18% 12%, rgba(100, 216, 255, 0.18), transparent 26rem),
		radial-gradient(circle at 88% 4%, rgba(167, 255, 241, 0.13), transparent 23rem),
		linear-gradient(180deg, #020816 0%, #06172a 42%, #03101d 100%);
	color: var(--utakata-ink);
	font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	letter-spacing: 0;
}

.utakata-home::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

.utakata-shell {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.utakata-hero {
	position: relative;
	min-height: calc(100vh - 88px);
	padding: 96px 0 72px;
	display: grid;
	align-items: center;
	border-bottom: 1px solid var(--utakata-line);
}

.utakata-hero .utakata-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
	gap: 56px;
	align-items: center;
}

.utakata-kicker {
	margin: 0 0 14px;
	color: var(--utakata-aqua);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0;
}

.utakata-hero h1 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(46px, 7vw, 92px);
	line-height: 0.96;
	font-weight: 800;
	letter-spacing: 0;
	text-shadow: 0 0 34px rgba(100, 216, 255, 0.36);
}

.utakata-lead {
	width: min(620px, 100%);
	margin: 28px 0 0;
	color: var(--utakata-muted);
	font-size: 18px;
	line-height: 2;
}

.utakata-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.utakata-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.utakata-button:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.utakata-button--primary {
	background: linear-gradient(135deg, var(--utakata-blue), var(--utakata-aqua));
	color: #02111f;
	box-shadow: 0 14px 32px rgba(100, 216, 255, 0.24);
}

.utakata-button--ghost {
	border: 1px solid var(--utakata-line);
	color: var(--utakata-ink);
	background: rgba(255, 255, 255, 0.04);
}

.utakata-hero__visual {
	position: relative;
	min-height: 420px;
}

.utakata-orbit {
	position: absolute;
	inset: 16px;
	display: grid;
	place-items: center;
}

.utakata-orbit__core {
	width: min(64vw, 310px);
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.84), transparent 0 10%, rgba(167, 255, 241, 0.28) 18%, transparent 47%),
		radial-gradient(circle at 50% 60%, rgba(20, 83, 129, 0.84), #020816 68%);
	box-shadow:
		inset 0 0 44px rgba(167, 255, 241, 0.28),
		0 0 72px rgba(100, 216, 255, 0.26);
}

.utakata-orbit__ring {
	position: absolute;
	width: min(78vw, 390px);
	aspect-ratio: 1;
	border: 1px solid rgba(167, 255, 241, 0.3);
	border-radius: 50%;
	transform: rotate(-18deg) scaleY(0.58);
	box-shadow: 0 0 28px rgba(100, 216, 255, 0.16);
}

.utakata-orbit__drop {
	position: absolute;
	width: 18px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(233, 251, 255, 0.86);
	box-shadow: 0 0 22px rgba(167, 255, 241, 0.68);
}

.utakata-orbit__drop--one {
	top: 54px;
	right: 92px;
}

.utakata-orbit__drop--two {
	left: 82px;
	bottom: 72px;
	width: 12px;
	opacity: 0.75;
}

.utakata-bubbles span {
	position: absolute;
	bottom: -80px;
	width: 10px;
	aspect-ratio: 1;
	border: 1px solid rgba(167, 255, 241, 0.42);
	border-radius: 50%;
	animation: utakata-rise 12s linear infinite;
}

.utakata-bubbles span:nth-child(1) { left: 8%; animation-delay: 0s; }
.utakata-bubbles span:nth-child(2) { left: 26%; width: 18px; animation-delay: 2s; animation-duration: 16s; }
.utakata-bubbles span:nth-child(3) { left: 64%; width: 14px; animation-delay: 4s; }
.utakata-bubbles span:nth-child(4) { left: 78%; width: 24px; animation-delay: 1s; animation-duration: 18s; }
.utakata-bubbles span:nth-child(5) { left: 90%; width: 8px; animation-delay: 6s; }

@keyframes utakata-rise {
	from {
		transform: translateY(0);
		opacity: 0;
	}
	12%,
	82% {
		opacity: 0.65;
	}
	to {
		transform: translateY(-110vh);
		opacity: 0;
	}
}

.utakata-section {
	position: relative;
	padding: 88px 0;
	border-bottom: 1px solid var(--utakata-line);
}

.utakata-section h2 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.25;
	letter-spacing: 0;
}

.utakata-section h3 {
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 20px;
	line-height: 1.45;
	letter-spacing: 0;
}

.utakata-section p {
	color: var(--utakata-muted);
	line-height: 1.9;
}

.utakata-split {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 56px;
	align-items: start;
}

.utakata-split > p {
	margin: 0;
	font-size: 17px;
}

.utakata-section__head {
	margin-bottom: 30px;
}

.utakata-tool-grid,
.utakata-feature-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.utakata-tool-card,
.utakata-feature-list > div {
	border: 1px solid var(--utakata-line);
	border-radius: 8px;
	background: var(--utakata-panel);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.utakata-tool-card {
	min-height: 250px;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

.utakata-tool-card__tag {
	width: fit-content;
	margin-bottom: 20px;
	padding: 5px 10px;
	border: 1px solid rgba(167, 255, 241, 0.24);
	border-radius: 999px;
	color: var(--utakata-aqua);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.utakata-tool-card p {
	margin: 0;
}

.utakata-tool-card a {
	margin-top: auto;
	color: var(--utakata-aqua);
	font-weight: 700;
	text-decoration: none;
}

.utakata-feature-list > div {
	padding: 26px;
}

.utakata-feature-list p {
	margin: 0;
}

.utakata-cta {
	text-align: center;
	background: linear-gradient(180deg, rgba(100, 216, 255, 0.08), rgba(2, 8, 22, 0));
}

.utakata-cta p {
	width: min(640px, 100%);
	margin: 18px auto 30px;
}

body.home footer,
body.front-page footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 10%, rgba(100, 216, 255, 0.1), transparent 18rem),
		#020816;
}

body.home footer::before,
body.front-page footer::before {
	content: "";
	position: absolute;
	top: 18px;
	right: 28px;
	width: 92px;
	aspect-ratio: 1;
	background: url("assets/utakata-logo-dark.png") center / contain no-repeat;
	opacity: 0.38;
	filter: drop-shadow(0 0 18px rgba(100, 216, 255, 0.32));
	pointer-events: none;
}

@media (max-width: 860px) {
	.utakata-hero {
		min-height: auto;
		padding: 72px 0 56px;
	}

	.utakata-hero .utakata-shell,
	.utakata-split,
	.utakata-tool-grid,
	.utakata-feature-list {
		grid-template-columns: 1fr;
	}

	.utakata-hero__visual {
		min-height: 300px;
		order: -1;
	}

	.utakata-lead {
		font-size: 16px;
	}

	body.home footer::before,
	body.front-page footer::before {
		width: 64px;
		top: 12px;
		right: 14px;
		opacity: 0.28;
	}
}

@media (max-width: 520px) {
	.utakata-shell {
		width: min(100% - 28px, 1120px);
	}

	.utakata-hero {
		padding-top: 52px;
	}

	.utakata-actions {
		flex-direction: column;
	}

	.utakata-button {
		width: 100%;
	}

	.utakata-section {
		padding: 64px 0;
	}
}
