@charset "UTF-8";

/*	******************************
	PRESTIGE INTERNATIONAL
	Miho Ssasaki
	update: 2026.08.24
	version: 1.1
	******************************	*/

/* header / menu 専用の変数。
   色味は parent.css のトークン（--color-*）を再利用し、
   parent.css に無いレイアウト値のみ新規定義しています。 */
:root {
	--header-height: 64px;
	--header-bg: var(--color-white);
	--header-text: var(--color-text);
	--menu-bg: var(--color-white);
	--menu-text: var(--color-text);
	--menu-accent: var(--color-accent);
	--menu-border: #e5e5e5;
	--trigger-line: var(--color-black);
	--z-header: 100;
}


/* ------------------------------
   header
   ------------------------------ */
#header {
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	background: var(--header-bg);
	color: var(--header-text);
	z-index: var(--z-header);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#header h1 {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
}

#header h1 a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

#header h1 img {
	height: 32px;
	width: auto;
	flex-shrink: 0;
}

#header h1 .header-title-text {
	flex: 1 1 auto;
	min-width: 120px;
}

#header img {
	border-radius: 0;
}

/* ------------------------------
   hamburger trigger button
   ------------------------------ */
.menu-trigger {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	color: inherit;
	font-size: inherit;
	text-align: center;
	cursor: pointer;
	transition: none;
	z-index: calc(var(--z-header) + 1);
}

/* parent.css の button:hover / button::after（矢印）を明示的に打ち消す */
.menu-trigger:hover {
	background: transparent;
	border-color: transparent;
}

.menu-trigger::after {
	content: none;
}

.menu-trigger__line {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--trigger-line);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-trigger__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* trigger -> X animation when menu is open */
body.menu-open .menu-trigger__line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
body.menu-open .menu-trigger__line:nth-child(2) {
	opacity: 0;
}
body.menu-open .menu-trigger__line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------
   menu (mobile: slide-in drawer)
   ------------------------------ */
#menu {
	box-sizing: border-box;
	position: fixed;
	top: var(--header-height);
	right: 0;
	width: min(80vw, 320px);
	height: calc(100vh - var(--header-height));
	background: var(--menu-bg);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	z-index: var(--z-header);
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

body.menu-open #menu {
	transform: translateX(0);
}

body.menu-open {
	overflow: hidden;
}

#menu ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

#menu li {
	border-bottom: 1px solid var(--menu-border);
}

#menu a {
	display: block;
	padding: 16px 20px;
	color: var(--menu-text);
	text-decoration: none;
	font-size: 15px;
}

#menu a:hover,
#menu a:focus-visible {
	background: rgba(0, 0, 0, 0.04);
	color: var(--menu-accent);
}

/* keyboard focus visibility (accessibility) */
.menu-trigger:focus-visible,
#menu a:focus-visible {
	outline: 2px solid var(--menu-accent);
	outline-offset: 2px;
}

/* push page content below the fixed header */
body {
	padding-top: var(--header-height);
}

/* PC幅でも余白だけ少し広げる（ハンバーガー表示は維持） */
@media (min-width: 768px) {
	#header {
		padding: 0 24px;
	}
}

/* respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
	.menu-trigger__line,
	#menu {
		transition: none;
	}
}

html {
	scroll-padding-top: var(--header-height);
}