:root {
	--ink: #16131a;
	--ink-soft: #4a4550;
	--muted: #8a8490;
	--line: #e9e4ea;
	--bg: #ffffff;
	--bg-soft: #faf6f7;
	--accent: #d6336c;
	--accent-dark: #a8204f;
	--accent-soft: #fbe3ec;
	--font-en: "Bebas Neue", "Noto Sans JP", sans-serif;
	--font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--header-h: 80px;
	--radius: 20px;
	--container: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-ja);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .04em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	font-weight: 700; font-size: 15px; letter-spacing: .08em;
	border: 0; cursor: pointer; transition: transform .25s, background-color .25s, box-shadow .25s;
}
.btn--primary {
	padding: 18px 40px; border-radius: 999px;
	background: var(--accent); color: #fff;
	box-shadow: 0 10px 30px -10px rgba(214, 51, 108, .7);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--pill { padding: 10px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; }
.btn--pill:hover { background: var(--accent-dark); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner {
	height: 100%; padding-inline: 32px;
	display: flex; align-items: center; justify-content: space-between;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--ink); color: #fff; font-family: var(--font-en); font-size: 24px; line-height: 1; padding-top: 3px;
}
.logo__text { font-family: var(--font-en); font-size: 28px; letter-spacing: .12em; line-height: 1; padding-top: 4px; }

.global-nav { display: flex; align-items: center; gap: 40px; }
.global-nav ul { display: flex; gap: 32px; }
.global-nav ul a { position: relative; font-size: 14px; font-weight: 500; }
.global-nav ul a::after {
	content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s;
}
.global-nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

/* ---------- KV ---------- */
.kv {
	position: relative; min-height: 100svh; display: flex; align-items: center;
	padding: calc(var(--header-h) + 40px) 0 120px; overflow: hidden; background: var(--bg-soft);
}
.kv__bg { position: absolute; inset: 0; pointer-events: none; }
.kv__orb { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .9; animation: float 12s ease-in-out infinite; }
.kv__orb--1 { width: 46vw; height: 46vw; right: -8vw; top: -6vw; background: radial-gradient(circle at 30% 30%, #ffd6e2, #f28cab 60%, transparent 72%); }
.kv__orb--2 { width: 26vw; height: 26vw; right: 26vw; bottom: -8vw; background: radial-gradient(circle at 40% 40%, #ffe9d6, #f6b894 55%, transparent 72%); animation-delay: -4s; }
.kv__orb--3 { width: 16vw; height: 16vw; right: 6vw; bottom: 10vw; background: radial-gradient(circle at 40% 40%, #fff, #e8d4f2 55%, transparent 72%); animation-delay: -8s; }
@keyframes float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-2vw, 2vw) scale(1.05); }
}

.kv__inner { position: relative; }
.kv__title {
	margin: 0 0 28px; font-family: var(--font-en); font-weight: 400;
	font-size: clamp(80px, 15vw, 200px); line-height: .9; letter-spacing: .02em;
}
.kv__title span { display: block; }
.kv__title span:last-child { color: var(--accent); }
.kv__lead { font-size: clamp(17px, 2vw, 22px); font-weight: 700; margin-bottom: 44px; }
.kv__scroll {
	position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
	font-family: var(--font-en); font-size: 15px; letter-spacing: .2em; padding-bottom: 56px;
}
.kv__scroll::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 48px; background: var(--ink);
	transform-origin: top; animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
	0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; }
	51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Section common ---------- */
.section { padding: 140px 0; }
.section-title { margin: 0 0 56px; display: flex; flex-direction: column; gap: 4px; font-weight: 400; }
.section-title__en { font-family: var(--font-en); font-size: clamp(56px, 9vw, 110px); line-height: .95; letter-spacing: .02em; }
.section-title__ja { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--accent); }
.section-title__ja::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title--light { color: #fff; }
.section-title--light .section-title__ja { color: #ffb3c9; }

.section-intro { max-width: 760px; margin-bottom: 64px; color: var(--ink-soft); }
.section-intro__catch { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--ink); line-height: 1.6; }

/* ---------- Service ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
	position: relative; padding: 44px 36px; border-radius: var(--radius);
	background: #fff; border: 1px solid var(--line);
	transition: transform .35s, box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(22, 19, 26, .25); border-color: transparent; }
.card__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-en); font-size: 44px; color: var(--accent-soft); line-height: 1; }
.card__icon {
	width: 56px; height: 56px; padding: 13px; margin-bottom: 28px; border-radius: 50%;
	background: var(--accent-soft); stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.card__en { margin-bottom: 4px; font-family: var(--font-en); font-size: 20px; letter-spacing: .1em; color: var(--muted); }
.card__title { margin: 0 0 16px; font-size: 22px; }
.card__text { font-size: 15px; color: var(--ink-soft); }

/* ---------- Brand ---------- */
.brand { background: var(--ink); color: rgba(255, 255, 255, .82); }
.brand__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.brand__visual {
	position: relative; aspect-ratio: 1; border-radius: 50%;
	display: grid; place-content: center; text-align: center; gap: 8px;
	background: radial-gradient(circle at 30% 25%, #ffd6e2 0%, #f28cab 35%, #d6336c 70%, #7a1638 100%);
	box-shadow: 0 40px 80px -30px rgba(214, 51, 108, .6);
}
.brand__visual::before {
	content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
}
.brand__logo { font-family: var(--font-en); font-size: clamp(72px, 10vw, 140px); line-height: .9; color: #fff; letter-spacing: .08em; }
.brand__tag { font-family: var(--font-en); font-size: 18px; letter-spacing: .3em; color: rgba(255, 255, 255, .85); }
.brand__catch { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.6; color: #fff; margin-bottom: 28px; }

/* ---------- About ---------- */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin-bottom: 80px; }
.about__catch { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.55; }
.about__catch em { font-style: normal; color: var(--accent); }
.about__text { color: var(--ink-soft); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.values__item { display: flex; flex-direction: column; padding: 32px 24px 0; border-left: 1px solid var(--line); }
.values__item:first-child { border-left: 0; padding-left: 0; }
.values__en { font-family: var(--font-en); font-size: 48px; line-height: 1; color: var(--accent); }
.values__ja { font-weight: 700; margin-top: 8px; }

/* ---------- Company ---------- */
.company .container { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.company .section-title { grid-column: 1 / -1; }
.company-table { margin: 0; border-top: 2px solid var(--ink); }
.company-table > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.company-table dt { font-weight: 700; }
.company-table dd { margin: 0; color: var(--ink-soft); }
.company-table dd li::before { content: "・"; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 360px; background: var(--bg-soft); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, #2a1420 0%, var(--ink) 60%); color: rgba(255, 255, 255, .85); }
.contact__inner { max-width: 760px; }
.contact__lead { margin-bottom: 40px; }
.contact-form { display: grid; gap: 22px; padding: 48px; border-radius: var(--radius); background: #fff; color: var(--ink); }
.contact-form__row { display: grid; gap: 8px; }
.contact-form label { font-weight: 700; font-size: 15px; }
.contact-form .req { margin-left: 10px; padding: 2px 8px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 11px; vertical-align: 2px; }
.contact-form input,
.contact-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
	background: var(--bg-soft); font: inherit; color: inherit; transition: border-color .2s, background-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.contact-form .btn { margin-top: 10px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-weight: 700; }
.notice--ok { background: #e3f6ea; color: #17633a; }
.notice--ng { background: #fde6e6; color: #9b1c1c; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; background: #0d0b0f; color: rgba(255, 255, 255, .7); font-size: 14px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.logo--footer { color: #fff; margin-bottom: 20px; }
.logo--footer .logo__mark { background: var(--accent); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__copy { margin: 28px 0 0; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .45); }

.pagetop {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px;
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.kv .reveal:nth-child(2) { --delay: .12s; }
.kv__lead.reveal { --delay: .3s; }
.kv .btn.reveal { --delay: .45s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.kv__orb, .kv__scroll::after { animation: none; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	:root { --header-h: 64px; }
	/* backdrop-filter は固定配置のメニューを header 内に閉じ込めてしまうため外す */
	.site-header.is-scrolled { backdrop-filter: none; background: #fff; }
	.site-header__inner { padding-inline: 16px; }
	.logo__text { font-size: 24px; }

	.nav-toggle {
		position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 6px;
		width: 44px; height: 44px; padding: 0 10px; border: 0; background: transparent; cursor: pointer;
	}
	.nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	.global-nav {
		position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 40px;
		background: rgba(255, 255, 255, .97); opacity: 0; visibility: hidden; transition: .3s;
	}
	.global-nav.is-open { opacity: 1; visibility: visible; }
	.global-nav ul { flex-direction: column; align-items: center; gap: 24px; }
	.global-nav ul a { font-size: 18px; }

	.section { padding: 96px 0; }
	.cards { grid-template-columns: 1fr; }
	.brand__inner, .about__grid, .company .container { grid-template-columns: 1fr; gap: 48px; }
	.brand__visual { max-width: 360px; width: 100%; margin-inline: auto; }
	.company .container { gap: 40px; }
	.company .section-title { margin-bottom: 16px; }
}

@media (max-width: 600px) {
	.container { width: calc(100% - 32px); }
	.kv { padding-bottom: 140px; }
	.kv__orb--1 { width: 90vw; height: 90vw; right: -40vw; }
	.kv__orb--2 { width: 50vw; height: 50vw; }
	.kv__orb--3 { width: 30vw; height: 30vw; }
	.btn--primary { padding: 16px 32px; }
	.values { grid-template-columns: 1fr; }
	.values__item, .values__item:first-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.company-table > div { grid-template-columns: 1fr; gap: 4px; }
	.contact-form { padding: 28px 20px; }
	.site-footer__nav { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
}
