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

/* ===============================
   Header2 TB
   Suifeel brand header
   768px - 1024px
=============================== */

body {
	padding-top: 0;
}

/* Header base */
#header {
	width: calc(100% - 44px);
	height: 62px;
	top: 14px;
	left: 22px;
	right: auto;
	padding: 0 18px 0 24px;
	position: fixed;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	border-radius: 999px;
	transition: 0.35s ease;
}

/* Scroll state */
/* Scroll state */
#header.topHeader {
	top: 10px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 14px 34px rgba(22, 47, 63, 0.13);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

/* Common */
#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: 120px;
	height: auto;
	display: block;
	margin: 0;
	transition: 0.25s ease;
	opacity: 1;
}

#Logo img:hover {
	opacity: 0.78;
}

/* TBではPCナビ非表示 */
#header .links {
	display: none;
}

/* Right area */
#header .main {
	height: 100%;
	display: flex;
	align-items: center;
}

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

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

/* Hamburger */
#header .main ul li > a {
	display: block;
	width: 38px;
	height: 38px;
	text-indent: -9999px;
	position: relative;
	border: none;
}

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

/* Contact button hidden on TB */
.contactlink {
	display: none;
}

/* Drawer menu */
#menu {
	transform: translateX(100%);
	transition: transform 0.45s ease, visibility 0.45s;
	-webkit-overflow-scrolling: touch;

	width: 56%;
	max-width: 520px;
	height: 100%;

	position: fixed;
	top: 0;
	right: 0;
	z-index: 10002;

	visibility: hidden;
	overflow-y: auto;

	background: #ffffff;
	color: #0D0B2B;
	box-shadow: -18px 0 60px rgba(13, 11, 43, 0.14);
}

#menu .menuInner {
	padding: 30px 36px 42px;
	box-sizing: border-box;
}

.menuCloseArea {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 18px;
}

.menuTopArea {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.menuLogo {
	line-height: 1;
}

.menuLogo a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

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

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

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

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

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

#menu .menuGroups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 34px;
}

#menu .menuGroup:last-child {
	grid-column: 1 / -1;
}

.menuGroupTitle {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	color: #7BAFCB;
}

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

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

#menu .links > li a {
	display: block;
	position: relative;
	padding: 19px 34px 18px 0;
	border-bottom: 1px solid rgba(13, 11, 43, 0.10);
	box-sizing: border-box;
}

.hamburgerMenuTitle {
	display: block;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: #0D0B2B;
	line-height: 1.25;
	transition: 0.25s ease;
}

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

#menu .links > li a p {
	font-size: 12px;
	letter-spacing: 0.10em;
	margin: 6px 0 0;
	color: rgba(13, 11, 43, 0.55);
}

#menu .links > li a:hover .hamburgerMenuTitle {
	color: #2f7897;
}

.menuCtaArea {
	display: grid;
	gap: 10px;
	padding-top: 30px;
	padding-bottom: 8px;
}

.menuCta {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(13, 11, 43, 0.18);
	color: #0D0B2B;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-decoration: none;
	box-sizing: border-box;

	transition: 0.25s ease;
}

.menuCta:hover {
	background: rgba(13, 11, 43, 0.04);
}

.menuCtaPrimary {
	background: #0D0B2B;
	border-color: #0D0B2B;
	color: #ffffff;
}

.menuCtaPrimary:hover {
	background: #1A184A;
}

.menuTextLinks {
	display: flex;
	justify-content: center;
	gap: 28px;
	padding-top: 8px;
}

.menuTextLinks a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	letter-spacing: .05em;
	color: rgba(13,11,43,.68);
	text-decoration: underline;
	text-underline-offset: 5px;
}

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

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

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

/* ===============================
   2026-09-15 TB UX refinement
   Wider drawer + stronger hierarchy
=============================== */
#header {
	width: calc(100% - 36px);
	left: 18px;
	top: 12px;
	height: 62px;
	padding: 0 16px 0 22px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(13, 11, 43, 0.07);
	box-shadow: 0 9px 30px rgba(13, 11, 43, 0.06);
	backdrop-filter: blur(18px) saturate(135%);
	-webkit-backdrop-filter: blur(18px) saturate(135%);
}

#header.topHeader {
	top: 9px;
	background: rgba(255, 255, 255, 0.95);
	border-color: rgba(13, 11, 43, 0.08);
	box-shadow: 0 14px 36px rgba(22, 47, 63, 0.12);
}

#menu {
	width: min(78vw, 760px);
	max-width: none;
	background: rgba(255, 255, 255, 0.98);
	border-left: 1px solid rgba(13, 11, 43, 0.07);
}

#menu .menuInner {
	padding: 30px 42px 42px;
}

.menuTopArea {
	position: sticky;
	top: -30px;
	z-index: 2;
	padding: 18px 0 12px;
	margin-bottom: 16px;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

#menu .menuGroups {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 38px;
}

.menuGroupTitle {
	font-size: 10.5px;
	font-weight: 700;
}

#menu .links > li a {
	min-height: 58px;
	padding: 15px 32px 14px 0;
}

.hamburgerMenuTitle {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .035em;
}

#menu .links > li a p {
	font-size: 10.5px;
	letter-spacing: .075em;
	margin-top: 4px;
}

.menuCtaArea {
	padding-top: 24px;
}

@media (max-width: 860px) {
	#menu {
		width: 88vw;
	}

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