@import url(font-awesome.min.css);

/* =========================================================
   Suifeel Header / SP
   Premium mobile navigation
   2026-09-15
========================================================= */

body {
	padding-top: 0;
}

/* ---------------------------------------------------------
   Floating header
--------------------------------------------------------- */
#header {
	width: calc(100% - 24px);
	height: 58px;
	position: fixed;
	top: 10px;
	left: 12px;
	right: 12px;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px 0 18px;
	box-sizing: border-box;
	border: 1px solid rgba(13, 11, 43, 0.07);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 8px 28px rgba(13, 11, 43, 0.06);
	backdrop-filter: blur(18px) saturate(135%);
	-webkit-backdrop-filter: blur(18px) saturate(135%);
	transition: top .35s ease, background .35s ease, box-shadow .35s ease;
}

#header.topHeader {
	top: 8px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 12px 32px rgba(13, 11, 43, 0.10);
}

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

#header ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Logo */
#Logo {
	position: static;
	display: flex;
	align-items: center;
	height: 100%;
}

#Logo a {
	display: flex;
	align-items: center;
}

#Logo img {
	width: 108px;
	height: auto;
	display: block;
	margin: 0;
	filter: brightness(0) saturate(100%) invert(11%) sepia(17%) saturate(1158%) hue-rotate(161deg) brightness(94%) contrast(92%);
}

/* PC navigation hidden */
#header .links {
	display: none;
}

/* Hamburger */
#header .main,
#header .main ul,
#header .main ul li {
	display: flex;
	align-items: center;
	height: 100%;
	margin: 0;
	padding: 0;
}

#header .main ul li > a {
	display: block;
	width: 40px;
	height: 40px;
	position: relative;
	border: 0;
	text-indent: -9999px;
}

#header .main ul li > a::before {
	content: "\f0c9";
	font-family: FontAwesome;
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 21px;
	font-weight: normal;
	color: #173246;
	text-indent: 0;
}

.contactlink {
	display: none;
}

/* ---------------------------------------------------------
   Drawer
   SP is intentionally ONE COLUMN.
--------------------------------------------------------- */
#menu {
	width: calc(100% - 24px);
	height: calc(100dvh - 20px);
	max-height: calc(100dvh - 20px);
	position: fixed;
	top: 10px;
	right: 12px;
	z-index: 10002;
	visibility: hidden;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	transform: translateX(calc(100% + 24px));
	transition: transform .42s cubic-bezier(.22,.61,.36,1), visibility .42s;
	box-sizing: border-box;
	border: 1px solid rgba(13, 11, 43, 0.07);
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0%, rgba(109, 191, 231, .10), transparent 26%),
		radial-gradient(circle at 0% 100%, rgba(109, 191, 231, .06), transparent 28%),
		#ffffff;
	color: #0D0B2B;
	box-shadow: -12px 18px 52px rgba(13, 11, 43, 0.18);
}

body.is-menu-visible #menu {
	transform: translateX(0);
	visibility: visible;
}

#menu .menuInner {
	width: 100%;
	padding: 0 24px 30px;
	box-sizing: border-box;
}

/* Sticky menu header */
.menuTopArea {
	position: sticky;
	top: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 94px;
	margin: 0 -6px 18px;
	padding: 0 6px;
	box-sizing: border-box;
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.menuLogo,
.menuLogo a {
	display: flex;
	align-items: center;
	line-height: 1;
}

.menuLogo a {
	min-height: 44px;
}

.menuLogo img {
	width: 124px;
	height: auto;
	display: block;
}

.menuCloseArea {
	display: flex;
	justify-content: flex-end;
	margin: 0;
}

.menuClose {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-right: 30px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .15em;
	color: #0D0B2B;
	text-decoration: none;
}

.menuClose::before,
.menuClose::after {
	content: "";
	position: absolute;
	right: 1px;
	top: 50%;
	width: 21px;
	height: 1px;
	background: #0D0B2B;
}

.menuClose::before { transform: rotate(45deg); }
.menuClose::after  { transform: rotate(-45deg); }

/* ---------------------------------------------------------
   Navigation groups
--------------------------------------------------------- */
#menu .menuGroups {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* reset TB 2-column rule */
	gap: 28px;
	width: 100%;
}

#menu .menuGroup,
#menu .menuGroup:last-child {
	grid-column: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.menuGroupTitle {
	position: relative;
	margin: 0 0 4px;
	padding: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .14em;
	color: #6BA9C8;
}

.menuGroupTitle::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 42px;
	height: 1px;
	background: rgba(107, 169, 200, .45);
}

#menu .links {
	list-style: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

#menu .links > li {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	text-align: left;
}

#menu .links > li a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-height: 64px;
	padding: 11px 34px 10px 0;
	box-sizing: border-box;
	border-bottom: 1px solid rgba(13, 11, 43, .10);
	text-decoration: none;
}

.hamburgerMenuTitle {
	display: block;
	max-width: calc(100% - 6px);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: .035em;
	color: #0D0B2B;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

#menu .links > li a p {
	display: block;
	margin: 4px 0 0;
	font-size: 9.5px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: .11em;
	color: rgba(13, 11, 43, .48);
	text-transform: uppercase;
}

#menu .links > li a::after {
	content: "›";
	position: absolute;
	top: 50%;
	right: 2px;
	transform: translateY(-52%);
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	color: rgba(13, 11, 43, .32);
}

/* ---------------------------------------------------------
   Conversion actions
--------------------------------------------------------- */
.menuCtaArea {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	padding: 30px 0 4px;
}

.menuCta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	padding: 0 22px;
	box-sizing: border-box;
	border: 1px solid rgba(13, 11, 43, .18);
	border-radius: 999px;
	background: rgba(255,255,255,.68);
	box-shadow: 0 8px 20px rgba(13,11,43,.04);
	color: #0D0B2B;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .07em;
	text-align: center;
	text-decoration: none;
}

.menuCtaPrimary {
	border-color: #0D0B2B;
	background: #0D0B2B;
	box-shadow: 0 12px 26px rgba(13,11,43,.16);
	color: #ffffff;
}

.menuTextLinks {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding-top: 5px;
}

.menuTextLinks a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .05em;
	color: rgba(13,11,43,.62);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.menuTextLinks a + a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 14px;
	transform: translateY(-50%);
	background: rgba(13,11,43,.14);
}

/* Wrapper */
#wrapper {
	margin: 0 auto;
	max-width: 100%;
	opacity: 1;
	transition: opacity .35s ease;
}

body.is-menu-visible #wrapper {
	opacity: .12;
}

/* Small phones */
@media (max-width: 380px) {
	#menu {
		width: calc(100% - 16px);
		right: 8px;
		top: 8px;
		height: calc(100dvh - 16px);
		max-height: calc(100dvh - 16px);
		border-radius: 24px;
	}

	#menu .menuInner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.menuTopArea {
		min-height: 84px;
	}

	.menuLogo img {
		width: 116px;
	}

	#menu .menuGroups {
		gap: 24px;
	}

	#menu .links > li a {
		min-height: 60px;
	}

	.hamburgerMenuTitle {
		font-size: 15px;
	}
}
