/* ===============================
Reset & Base
=============================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", sans-serif;
	color: #333;
	background-color: #ffffff;
	line-height: 1.8;
}

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

a {
	color: inherit;
	text-decoration: none;
}

.pc {
	display: block;
}

.sp {
	display: none;
}

@media (max-width: 768px) {
	.pc {
		display: none;
	}

	.sp {
		display: block;
	}
}

/* ===============================
Layout
=============================== */

/* ===============================
Header
=============================== */
.site-header {
	position: relative;
	color: #fff;
	transition: transform 0.35s ease;
}

.site-header.hide {
	transform: translateY(-100%);
	transition: transform 0.35s ease;
}

.header-bar {
	position: fixed;
	inset: 0 0 auto 0;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline: max(4%, (100vw - 1040px) / 2);
	z-index: 888;
}

.site-logo img {
	height: 34px;
}

/* ナビ（PC） */
.nav-list {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 14px;
}

.nav-item {
	text-align: center;
}

.nav-item>a,
.nav-parent,
.nav-list>* {
	position: relative;
	padding-bottom: 2px;
	letter-spacing: 0.08em;
	font-size: 13px;
	color: #ffffff;
}

.nav-item:not(.nav-item--cta)>a:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: #fff;
	transition: width 0.2s ease;
}

.nav-item>a:hover::after {
	width: 100%;
}

/* Service ドロップダウン（PC） */
.nav-item--service {
	position: relative;
}

.nav-parent {
	border: none;
	background: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.nav-parent:after {
	content: "";
	display: block;
	height: .625rem;
	background: url(../images/icon_arrow_bottom.svg) center center / contain no-repeat;
	filter: brightness(0) invert(1);
	width: .625rem;
}

.nav-sub {
	position: absolute;
	left: 0;
	min-width: max-content;
	background: rgba(8, 10, 26, 0.96);
	padding: 10px 14px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	text-align: left;
}

.nav-sub li {
	margin-bottom: 4px;
}

.nav-item--service:hover .nav-sub {
	opacity: 1;
	visibility: visible;
}

.nav-sub li a {
	position: relative;
}

.nav-sub li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: #fff;
	transition: width 0.2s ease;
}

.nav-sub li a:hover::after {
	width: 100%;
}

/* CTA */
.nav-item--cta>a {
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	font-size: 12px;
}

.nav-item--cta>a:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* KV 上では白ロゴ */
.header--kv .site-logo img {
	filter: brightness(0) invert(1);
}

.header--kv .nav-item>a,
.header--kv .nav-parent {
	color: #ffffff;
}

.header--scrolled .site-logo img {
	filter: none;
}

/* KV上 */
.header--scrolled .nav-item:not(.nav-item--cta)>a:after {
	background: #333;
}

.header--scrolled .nav-item--cta>a {
	border-color: #333;
}

.header--scrolled .nav-item>a,
.header--scrolled .nav-parent {
	color: #111;
}

.header--scrolled .hamburger-line {
	background: #3c8de4;
}

.header--scrolled .nav-parent:after {
	background: url(../images/icon_arrow_bottom.svg) center center / contain no-repeat;
	filter: none;
}


/* ===============================
Hamburger (SP)
=============================== */
.hamburger {
	display: none;
	width: 28px;
	height: 22px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	position: relative;
	z-index: 1001;
}

.hamburger-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
	mix-blend-mode: multiply;
}

.hamburger-line:nth-child(1) {
	top: 0;
}

.hamburger-line:nth-child(2) {
	top: 10px;
}

.hamburger-line:nth-child(3) {
	bottom: 0;
}

/* ×状態 */
body.nav-open .hamburger-line:nth-child(1) {
	top: 10px;
	transform: rotate(45deg);
}

body.nav-open .hamburger-line:nth-child(2) {
	opacity: 0;
}

body.nav-open .hamburger-line:nth-child(3) {
	bottom: 10px;
	transform: rotate(-45deg);
}

@media (max-width: 768px) {

	.hamburger {
		display: block;
	}

	.hamburger[aria-expanded="true"] .hamburger-line {
		background: #fff;
	}

	.site-nav {
		display: none;
	}

	.site-nav {
		position: fixed;
		inset: 0;
		background: rgba(5, 7, 18, 0.96);
		padding: 8.75rem 1.25rem 3.4375rem;
		transition: opacity 0.25s ease, transform 0.25s ease;
		z-index: 1000;
	}

	body.nav-open .site-nav {
		display: block;
	}

	body.nav-open .site-nav {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.nav-list {
		flex-direction: column;
		gap: 18px;
		width: 100%;
	}

	.nav-sub {
		position: static;
		background: none;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		transition: max-height 0.25s ease;
		text-align: center;
		box-shadow: none;
	}

	.nav-item--service.is-open .nav-sub {
		max-height: 400px;
	}

	.header--scrolled .nav-item>a,
	.header--scrolled .nav-parent {
		color: #fff;
	}

	.header--scrolled .nav-parent:after {
		filter: brightness(0) invert(1);
	}

	.nav-item--cta>a {
		border: none;
	}

	.nav-item>a,
	.nav-parent,
	.nav-list>* {
		font-size: 16px;
	}
}


/* ===============================
section
=============================== */
.section {
	padding: 160px 2%;
	position: relative;
	overflow: hidden;
}

.section-inner {
	width: min(1040px, 90vw);
	margin-inline: auto;
	position: relative;
	z-index: 1;
}

/* ===============================
Message Area
=============================== */
.site-message {
	padding: 120px 2% 140px;
	color: #fff;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.site-message__inner {
	width: min(960px, 90%);
	margin: 0 auto;
}

.site-message .msg-main {
	font-family: "Shippori Mincho B1", serif;
	font-size: clamp(22px, 4vw, 46px);
	font-weight: 600;
	margin-bottom: 20px;
	letter-spacing: 0.04em;
}

.site-message .msg-sub {
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.9;
	opacity: 0.9;
}

/* ===============================
Footer
=============================== */
.site-footer {
	background: #000;
	color: #fff;
	padding: 60px 2% 40px;
	position: relative;
}

.footer-inner {
	width: min(1040px, 92%);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.footer-logo {
	width: 150px;
	margin-bottom: 24px;
	filter: brightness(0) invert(1);
}

.footer-info p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

.footer-info .label {
	display: inline-block;
	width: 42px;
	font-weight: 600;
}

.footer-info .time {
	font-size: 14px;
	margin-left: 42px;
}

.footer-right {
	display: flex;
	align-items: flex-start;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #fff;
	font-size: 14px;
	opacity: 0.85;
	transition: opacity .2s;
}

.footer-links a:hover {
	opacity: 1;
}

.footer-bottom {
	text-align: center;
	margin-top: 40px;
	font-size: 14px;
	opacity: 0.7;
}

/* ===============================
SP
=============================== */
@media (max-width: 768px) {
	.footer-inner {
		flex-direction: column;
		text-align: center;
	}

	.footer-left {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.footer-right {
		flex-direction: column;
		align-items: center;
	}

	.footer-info .label,
	.footer-info .time {
		margin-left: 0;
	}
}


/* GSAP & フォールバック共通の初期状態 */
.js-fade-up {
	opacity: 0;
	transform: translateY(28px);
}

/* フォールバック用（IntersectionObserverのときだけ付く） */
.js-fade-up.is-inview {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.6s ease, transform 0.6s ease;
}