/*
Theme Name: MEC Industry v0.9.７
Author: MEC Industry Dev Team
Description: Custom WordPress theme migrated from static markup.
Version: 0.9.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: mec-industry
*/

/*
 * Phase 1 base styles only.
 * Detailed styles are migrated in the next phase.
 */

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	width: 100%;
}

body {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	color: #1a1a1a;
	background: #fff;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}

body.mobile-nav-open {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	overflow: hidden;
}

.header-nav-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.header-nav-dropdown-trigger {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	font: inherit;
	color: inherit;
	cursor: default;
	appearance: none;
	-webkit-appearance: none;
}

.header-nav-dropdown:hover .header-nav-dropdown-trigger,
.header-nav-dropdown:focus-within .header-nav-dropdown-trigger {
	cursor: default;
}

.header-nav-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	background: #fff;
	border: 1px solid #d4d4d8;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 120;
}

.header-nav-dropdown:hover .header-nav-dropdown-menu,
.header-nav-dropdown:focus-within .header-nav-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-nav-dropdown-link {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
}

.header-nav-dropdown-link:hover,
.header-nav-dropdown-link:focus-visible {
	background: #fafafa;
	color: #000;
}
