/* Nekotronic customizations on top of Ethereal (HTML5 UP) */

/* ---------- Palette (sky + cat-logo orange) ---------- */
:root {
	--navy: #081530;
	--blue: #1a56d6;
	--sky: #35c8ff;
	--orange: #ff8a1f;
	--gold: #ffc24a;
}

body:after {
	background-color: #081530;
	background-image: url("../../images/overlay.png"), linear-gradient(180deg, #0a1f55 0%, #081530 100%);
	background-repeat: repeat, no-repeat;
	background-size: 128px 128px, cover;
}

.panel > *.color0 {
	background-image: url("../../images/overlay.png"), linear-gradient(135deg, #071a45 0%, #1646b8 55%, #2fb6f5 100%);
	background-size: 128px 128px, auto;
}
.panel > *.color1 {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #0f2f78 0%, #1a56d6 100%);
	background-size: 128px 128px, auto;
	background-color: #123a8c;
}
.panel > *.color2 {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #e8650f 0%, #ffa63d 100%);
	background-size: 128px 128px, auto;
	background-color: #e8731a;
}
.panel > *.color3 {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #086286 0%, #12a3cc 100%);
	background-size: 128px 128px, auto;
	background-color: #0b7ea6;
}
.panel > *.color4 {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #0a1a40 0%, #07102a 100%);
	background-size: 128px 128px, auto;
	background-color: #0a1530;
}
.panel > *.color1-alt {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #0d2a6c 0%, #1646b8 100%);
	background-size: 128px 128px, auto;
	background-color: #0f3282;
}
.panel > *.color2-alt {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #d95a0a 0%, #f0902c 100%);
	background-size: 128px 128px, auto;
	background-color: #de6a14;
}
.panel > *.color3-alt {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #07566f 0%, #0e8fb5 100%);
	background-size: 128px 128px, auto;
	background-color: #0a7092;
}
.panel > *.color4-alt {
	background-image: url("../../images/overlay.png"), linear-gradient(160deg, #0c1e4a 0%, #091632 100%);
	background-size: 128px 128px, auto;
	background-color: #091632;
}

.button.primary.color1, input[type="submit"].primary.color1 { color: #123a8c !important; }
.button.primary.color2, input[type="submit"].primary.color2 { color: #c2530a !important; }
.button.primary.color3, input[type="submit"].primary.color3 { color: #0b7ea6 !important; }
.button.primary.color4, input[type="submit"].primary.color4 { color: #0a1530 !important; }
#contact input[type="submit"].primary { color: #0a1530 !important; }

#wrapper > .copyright { color: rgba(255, 255, 255, 0.55); }
#wrapper > .copyright a { color: inherit; }

/* ---------- Japanese typography ---------- */
body, input, select, textarea, h1, h2, h3, h4, h5, h6, .button, input[type="submit"] {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}
body, input, select, textarea { font-weight: 400; line-height: 1.85; letter-spacing: 0.02em; }
h1, h2, h3, h4, h5, h6, .button, input[type="submit"] { text-transform: none; letter-spacing: 0.06em; font-weight: 700; }
h1.major, h2.major, h3.major { text-transform: none; letter-spacing: 0.08em; }
h1.major { line-height: 1.35; }
strong, b { font-weight: 700; color: #fff; }

.eyebrow {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.35em !important;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 0.6rem 0;
}
.lead {
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.6;
	color: #fff;
}

/* ---------- Fixed top navigation ---------- */
#topnav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.7rem 1.6rem;
	background: linear-gradient(180deg, rgba(6, 14, 36, 0.8), rgba(6, 14, 36, 0));
	pointer-events: none;
}
#topnav > * { pointer-events: auto; }
#topnav a { border: 0; color: #fff; }
#topnav .brand { display: flex; align-items: center; font-weight: 700; letter-spacing: 0.12em; font-size: 0.85rem; }
#topnav .brand img { height: 2rem; width: auto; margin-right: 0.6rem; filter: drop-shadow(0 0 6px rgba(255, 170, 60, 0.6)); }
#topnav nav { display: flex; align-items: center; }
#topnav nav a { font-size: 0.7rem; letter-spacing: 0.12em; margin-left: 1.4rem; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
#topnav nav a:hover { opacity: 1; color: var(--gold); }
#topnav nav a.cta { border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 2rem; padding: 0.25rem 1rem; }
#topnav nav a.cta:hover { background: #fff; color: #123a8c; }

/* ---------- Splash (first page) ---------- */
.panel.splash {
	position: relative;
	width: 100vw;
	min-width: 100vw;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 50%, rgba(255, 140, 30, 0.2) 0%, rgba(255, 140, 30, 0) 55%), #000;
}
.panel.splash .splash-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.panel.splash .splash-inner img {
	height: 70vh;
	max-width: 80vw;
	width: auto;
	object-fit: contain;
	filter: blur(2px) drop-shadow(0 0 3rem rgba(255, 150, 40, 0.45));
	animation: splash-in 2.2s ease-out both, splash-float 7s ease-in-out 2.2s infinite alternate;
}
@keyframes splash-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes splash-float { from { transform: translateY(0); } to { transform: translateY(-1.2rem); } }
.panel.splash .scroll-hint {
	position: absolute;
	bottom: 2.2rem;
	right: 3rem;
	min-width: 0;
	border: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.7rem;
	letter-spacing: 0.35em;
	display: flex;
	align-items: center;
}
.panel.splash .scroll-hint:hover { color: var(--gold); }
.panel.splash .scroll-hint i { margin-left: 0.8rem; font-size: 1.4rem; animation: hint-nudge 1.4s ease-in-out infinite; }
.panel.splash .scroll-hint i:before { font-style: normal; }
@keyframes hint-nudge { 0%, 100% { transform: translateX(0); opacity: 0.5; } 50% { transform: translateX(0.6rem); opacity: 1; } }

/* ---------- Hero ---------- */
.panel.banner { position: relative; }
.panel.banner .content { z-index: 2; }
.panel.banner h1.major { font-size: 2.6em; }
.panel.banner .image img { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, 1%); } }

.panel > .cells { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; min-width: 0; }
.cells i {
	position: absolute;
	left: var(--x); top: var(--y);
	width: var(--s); height: var(--s);
	border: 1px solid rgba(120, 220, 255, 0.6);
	background: rgba(80, 200, 255, 0.14);
	box-shadow: 0 0 1.2rem rgba(80, 200, 255, 0.35);
	animation: drift var(--d) ease-in-out infinite alternate;
}
@keyframes drift {
	from { transform: translate(0, 0) rotate(0deg); opacity: 0.35; }
	to   { transform: translate(1.6rem, -2.4rem) rotate(25deg); opacity: 0.95; }
}

/* ---------- Spotlight panels: readable text over images ---------- */
.panel.spotlight .content {
	background: linear-gradient(135deg, rgba(7, 16, 40, 0.82), rgba(10, 30, 80, 0.7));
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 0 3rem rgba(0, 0, 0, 0.35);
}
.panel.spotlight h2.major { font-size: 1.8em; }

.badges { list-style: none; padding: 0; margin: 1rem 0 0 0; display: flex; flex-wrap: wrap; }
.badges li {
	padding: 0.2rem 0.9rem;
	margin: 0 0.6rem 0.6rem 0;
	border: 1px solid var(--gold);
	border-radius: 2rem;
	color: var(--gold);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

/* ---------- Vision pillars ---------- */
.pillars { list-style: none; padding: 0; margin: 0; display: flex; align-items: flex-start; }
.pillars li { width: 15rem; margin: 0 2rem 0 0; padding: 0; }
.pillars .icon { display: block; margin-bottom: 1rem; }
.pillars .icon:before {
	display: block; width: 4.5rem; height: 4.5rem; line-height: 4.5rem; text-align: center;
	border-radius: 50%; font-size: 1.8rem;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 2rem rgba(53, 200, 255, 0.35);
	transition: transform 0.3s, box-shadow 0.3s;
}
.pillars li:hover .icon:before { transform: scale(1.08) rotate(-4deg); box-shadow: inset 0 0 0 2px #fff, 0 0 2.4rem rgba(255, 194, 74, 0.7); }
.pillars h3 { margin-bottom: 0.4rem; font-size: 1.1em; }
.pillars p { font-size: 0.9em; margin-bottom: 0; }

/* ---------- Numbers ---------- */
.stats { list-style: none; padding: 0; margin: 0; display: flex; align-items: flex-start; }
.stats li { margin: 0 3rem 0 0; padding: 0; min-width: 9rem; }
.stats .num {
	display: block;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 4rem; font-weight: 700; line-height: 1.1;
	background: linear-gradient(135deg, #fff 10%, var(--sky) 60%, var(--gold) 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.stats .num small { font-size: 0.45em; margin: 0 0.1em; -webkit-text-fill-color: inherit; }
.stats .cap { display: block; margin-top: 0.4rem; font-size: 0.85em; line-height: 1.6; border-top: 2px solid var(--orange); padding-top: 0.6rem; }

/* ---------- Cards (business / team / invest) ---------- */
.card, .person, .invest-box {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 0.6rem;
	padding: 2rem;
	transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.card:hover, .person:hover { transform: translateY(-0.3rem); background: rgba(255, 255, 255, 0.2); box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25); }
.card .icon:before { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.card h3 { font-size: 1.1em; }
.card.highlight { background: rgba(255, 255, 255, 0.95); border-color: #fff; }
.card.highlight, .card.highlight p { color: #3a2a1a; }
.card.highlight h3, .card.highlight .icon { color: #c2530a; }
.card.highlight .icon:before { color: #c2530a; }
.card.highlight .button.primary { background-color: #c2530a; color: #fff !important; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.person { text-align: center; }
.person .photo { width: 9rem; height: 9rem; margin: 0 auto 1.2rem auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--gold), 0 0 2rem rgba(255, 194, 74, 0.45); }
.person .photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person h3 { font-size: 1.05em; margin-bottom: 0.2rem; }
.person .role { color: var(--gold); font-size: 0.8em; font-weight: 700; letter-spacing: 0.06em; }
.person p:last-child { font-size: 0.85em; margin-bottom: 0; text-align: left; }

.invest-box { max-width: 30rem; background: rgba(8, 21, 48, 0.82); border-color: rgba(255, 255, 255, 0.35); }
.invest-box .big {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 3.4rem; font-weight: 700; letter-spacing: 0.12em !important; line-height: 1.1;
	margin-bottom: 0.6rem;
	background: linear-gradient(135deg, var(--gold), var(--orange));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.invest-box .actions { margin-bottom: 0; }
#invest .button.primary { background-color: #fff; }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(1.2rem); transition: opacity 0.8s ease, transform 0.8s ease; }
html.js .reveal[data-delay="1"] { transition-delay: 0.12s; }
html.js .reveal[data-delay="2"] { transition-delay: 0.24s; }
html.js .reveal[data-delay="3"] { transition-delay: 0.36s; }
html.js .reveal[data-delay="4"] { transition-delay: 0.48s; }
html.js .reveal.in { opacity: 1; transform: none; }
.card.reveal.in, .person.reveal.in { transition: opacity 0.8s ease, transform 0.3s, background 0.3s, box-shadow 0.3s; }

@media (prefers-reduced-motion: reduce) {
	.panel.banner .image img, .cells i { animation: none; }
	html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Small screens ---------- */
@media screen and (max-width: 736px) {
	#topnav nav a:not(.cta) { display: none; }
	#topnav { padding: 0.6rem 1rem; }
	.panel.banner h1.major { font-size: 2em; }
	.pillars, .stats { flex-direction: column; }
	.pillars li { width: 100%; margin: 0 0 1.5rem 0; }
	.stats li { margin: 0 0 1.5rem 0; }
	.stats .num { font-size: 3rem; }
	.panel.spotlight .content { background: rgba(7, 16, 40, 0.8); }
	.panel > .cells { display: none; }
	.panel.splash { width: 100%; min-width: 0; min-height: 100vh; }
	.panel.splash .splash-inner img { height: 55vh; }
	.panel.splash .scroll-hint { right: 50%; margin-right: -2.6rem; bottom: 1.5rem; }
	.panel.splash .scroll-hint i { transform: rotate(90deg); animation: none; }
}

/* ---------- Language switch ---------- */
#lang-toggle {
	display: inline-flex;
	align-items: center;
	margin-left: 1.2rem;
	padding: 0.15rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 2rem;
	background: rgba(6, 14, 36, 0.35);
	cursor: pointer;
	height: auto;
	line-height: 1;
	box-shadow: none;
}
#lang-toggle .opt {
	display: block;
	padding: 0.28rem 0.7rem;
	border-radius: 2rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.75);
	transition: background 0.2s, color 0.2s;
}
#lang-toggle:hover .opt { color: #fff; }
html[lang="ja"] #lang-toggle .opt[data-l="ja"],
html[lang="en"] #lang-toggle .opt[data-l="en"] { background: #fff; color: #123a8c; }
html[lang="ja"] #lang-toggle:hover .opt[data-l="ja"],
html[lang="en"] #lang-toggle:hover .opt[data-l="en"] { color: #123a8c; }

/* ---------- English typography ---------- */
html[lang="en"] body, html[lang="en"] input, html[lang="en"] select, html[lang="en"] textarea,
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4, html[lang="en"] .button, html[lang="en"] input[type="submit"] {
	font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html[lang="en"] body, html[lang="en"] input, html[lang="en"] textarea { line-height: 1.6; letter-spacing: 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] .button, html[lang="en"] input[type="submit"] { letter-spacing: 0.04em; }
html[lang="en"] h1.major, html[lang="en"] h2.major, html[lang="en"] h3.major { letter-spacing: 0.03em; }
html[lang="en"] .panel.banner h1.major { font-size: 2.4em; line-height: 1.2; }
html[lang="en"] .lead { line-height: 1.4; }
html[lang="en"] .stats .cap, html[lang="en"] .pillars p, html[lang="en"] .person p:last-child { line-height: 1.5; }

@media screen and (max-width: 736px) {
	#lang-toggle { margin-left: 0.6rem; }
}

/* ======================================================================
   v10082026 additions: concept-image backgrounds + Society 5.0 panel
   ====================================================================== */

/* Concept image layered behind a panel (keeps each panel's own colours) */
.panel { position: relative; }
.panel > .panel-bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	min-width: 0;
	background: var(--bg) center / cover no-repeat;
	opacity: 0.30;
	pointer-events: none;
}
#numbers > .panel-bg { opacity: 0.38; }

/* ---------- Society 5.0 (One Ring theme) ---------- */
.panel.society {
	width: auto;
	background:
		radial-gradient(ellipse at 28% 52%, rgba(120, 78, 20, 0.55) 0%, rgba(40, 24, 6, 0.55) 38%, rgba(0, 0, 0, 0) 72%),
		#000;
	align-items: center;
	overflow: hidden;
}
.society .ring-wrap {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	width: 48rem;
	padding: 3rem 2rem 3rem 6rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.society .ring-wrap:before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 40rem; height: 26rem;
	margin: -13rem 0 0 -19rem;
	background: radial-gradient(ellipse, rgba(255, 170, 40, 0.34) 0%, rgba(255, 140, 20, 0) 68%);
	filter: blur(14px);
	animation: ring-aura 5s ease-in-out infinite alternate;
}
.society .ring {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	max-height: 62vh;
	object-fit: contain;
	filter: drop-shadow(0 0 1.4rem rgba(255, 160, 40, 0.35));
	animation: ring-float 9s ease-in-out infinite alternate, ring-glow 5s ease-in-out infinite alternate;
}
@keyframes ring-float { from { transform: translateY(0) rotate(-1.2deg); } to { transform: translateY(-0.9rem) rotate(0.8deg); } }
@keyframes ring-glow {
	from { filter: drop-shadow(0 0 1rem rgba(255, 150, 30, 0.25)); }
	to   { filter: drop-shadow(0 0 2.6rem rgba(255, 190, 70, 0.6)); }
}
@keyframes ring-aura { from { opacity: 0.55; transform: scale(0.96); } to { opacity: 1; transform: scale(1.06); } }

.society .society-copy {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	width: 38rem;
	padding: 3.5rem 7rem 2rem 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.society .eyebrow { color: #d9a441; }
.rune-line { position: relative; width: 13rem; height: 1px; margin: 0.4rem 0 1.4rem 0; background: linear-gradient(90deg, #d9a441, rgba(217, 164, 65, 0)); }
.rune-line span { position: absolute; left: 0; top: -4px; width: 9px; height: 9px; transform: rotate(45deg); background: #d9a441; box-shadow: 0 0 0.9rem #ffb830; }
.society h2.major {
	font-family: "Cinzel", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
	font-size: 1.7em;
	line-height: 1.5;
	letter-spacing: 0.06em;
	background: linear-gradient(180deg, #fff0c0 0%, #e8b64a 55%, #a8741a 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	text-shadow: none;
}
.society h2.major:after { display: none; }
.society .society-copy p {
	font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, "Times New Roman", serif;
	color: rgba(255, 236, 200, 0.88);
}
.society .soc-foot {
	margin-top: 0.6rem;
	font-family: "Cinzel", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 0.85em;
	letter-spacing: 0.14em;
	color: #d9a441;
}

/* rising embers */
.panel > .embers { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-width: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.embers i {
	position: absolute;
	left: var(--x);
	bottom: -1rem;
	width: var(--s); height: var(--s);
	border-radius: 50%;
	background: #ffc04d;
	box-shadow: 0 0 0.6rem 2px rgba(255, 150, 30, 0.8);
	opacity: 0;
	animation: ember var(--d) linear var(--t) infinite;
}
@keyframes ember {
	0%   { transform: translate(0, 0) scale(1); opacity: 0; }
	10%  { opacity: 0.95; }
	60%  { opacity: 0.55; }
	100% { transform: translate(2.2rem, -85vh) scale(0.4); opacity: 0; }
}

html[lang="en"] .society .society-copy p { line-height: 1.7; }
html[lang="en"] .society h2.major { font-size: 1.55em; letter-spacing: 0.05em; }

@media (prefers-reduced-motion: reduce) {
	.society .ring, .society .ring-wrap:before, .embers i { animation: none; }
	.embers { display: none; }
}

@media screen and (max-width: 736px) {
	.panel.society { flex-direction: column; align-items: stretch; }
	.society .ring-wrap { width: 100%; padding: 3rem 1.5rem 0 1.5rem; }
	.society .ring-wrap:before { width: 100%; margin-left: -50%; }
	.society .ring { max-height: none; }
	.society .society-copy { width: 100%; padding: 1.5rem 1.5rem 3rem 1.5rem; }
	.embers i { animation-name: ember-m; }
	@keyframes ember-m { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(1.2rem, -40rem); opacity: 0; } }
}
