/*
Theme Name: cpmalurio
Theme URI: https://cp.malurio.com/
Description: Standalone corporate WordPress theme for 株式会社副島工業.
Author: Malurio
Version: 1.0.0
Text Domain: cpmalurio
*/

:root {
	--hm-ink: #17202c;
	--hm-muted: #596777;
	--hm-line: #d9e0e7;
	--hm-soft: #f4f7f9;
	--hm-paper: #ffffff;
	--hm-accent: #c8212b;
	--hm-accent-dark: #991b22;
	--hm-navy: #233448;
	--hm-blue: #2f6f9f;
	--hm-green: #407769;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	color: var(--hm-ink);
	background: var(--hm-paper);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

.hm-site {
	background: var(--hm-paper);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
	letter-spacing: 0;
}

.hm-container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.hm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(217, 224, 231, .9);
	background: rgba(255, 255, 255, .98);
	backdrop-filter: blur(12px);
}

.hm-header__shell {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 34px;
	width: min(1180px, calc(100% - 36px));
	margin-inline: auto;
	padding: 8px 0 14px;
}

.hm-header__content {
	flex: 1 1 auto;
	display: grid;
	justify-items: end;
	align-content: start;
	gap: 8px;
	min-width: 0;
}

.hm-header__top {
	border-bottom: 0;
}

.hm-header__top p {
	margin: 0;
	padding: 0;
	color: var(--hm-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	text-align: right;
}

.hm-header__top strong {
	color: var(--hm-ink);
}

.hm-header__top a {
	color: inherit;
	text-decoration: none;
}

.hm-header__top a:hover {
	color: var(--hm-green);
}

.hm-header__utility {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.hm-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--hm-ink);
	font-size: 25px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	letter-spacing: .02em;
}

.hm-header__phone span {
	font-size: 25px;
	line-height: 1;
}

.hm-header__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 24px;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
}

.hm-header__contact:hover {
	background: var(--hm-green);
}

.hm-header__main {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.hm-logo {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	white-space: nowrap;
}

.hm-logo img {
	display: block;
	width: 340px;
	height: auto;
	image-rendering: auto;
}

.hm-lang {
	display: inline-flex;
	align-items: center;
	position: relative;
	width: 42px;
	height: 42px;
	min-height: 42px;
}

.hm-lang__icon,
.hm-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hm-ink);
	cursor: pointer;
}

.hm-lang__icon {
	width: 42px;
	height: 42px;
	pointer-events: none;
	color: var(--hm-ink);
}

.hm-lang__icon svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: #444;
	stroke-width: 1.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hm-lang__icon text {
	fill: #333;
	stroke: none;
	font-family: Arial, "Noto Sans JP", sans-serif;
	font-size: 8px;
	font-weight: 400;
	letter-spacing: 0;
}

.hm-google-translate-element {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 42px;
	height: 42px;
	overflow: hidden;
	opacity: .01;
}

.hm-google-translate-element .goog-te-gadget {
	width: 42px !important;
	height: 42px !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.hm-google-translate-element .goog-te-gadget span,
.hm-google-translate-element .goog-logo-link {
	display: none !important;
}

.hm-google-translate-element select.goog-te-combo {
	width: 42px !important;
	max-width: none;
	height: 42px !important;
	min-height: 42px;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--hm-ink);
	font-family: Arial, "Noto Sans JP", Meiryo, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
}

.hm-google-translate-element select.goog-te-combo option {
	color: #222;
	background: #fff;
	font-family: Arial, "Noto Sans JP", Meiryo, sans-serif;
	font-size: 13px;
	font-weight: 400;
}

.hm-lang:hover .hm-lang__icon,
.hm-lang:focus-within .hm-lang__icon {
	color: var(--hm-green);
}

.goog-te-banner-frame,
iframe.skiptranslate {
	display: none !important;
}

body {
	top: 0 !important;
}

.hm-menu-toggle {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
}

.hm-menu-toggle span {
	position: absolute;
	left: 4px;
	width: 32px;
	height: 1.5px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.hm-menu-toggle span:nth-child(1) {
	top: 10px;
}

.hm-menu-toggle span:nth-child(2) {
	top: 19px;
}

.hm-menu-toggle span:nth-child(3) {
	top: 28px;
}

.hm-menu-toggle[aria-expanded="true"] span:nth-child(1) {
	top: 19px;
	transform: rotate(45deg);
}

.hm-menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.hm-menu-toggle[aria-expanded="true"] span:nth-child(3) {
	top: 19px;
	transform: rotate(-45deg);
}

.hm-nav {
	flex: 1 1 auto;
	justify-content: flex-end;
	flex-wrap: wrap;
	display: flex;
	align-items: center;
	gap: 0;
	row-gap: 6px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	font-size: 14px;
	font-weight: 800;
	min-width: 0;
}

.hm-nav ul,
.hm-footer__links ul {
	display: contents;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-nav li,
.hm-footer__links li {
	display: contents;
}

.hm-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 0;
	color: var(--hm-ink);
	text-decoration: none;
	white-space: normal;
	text-align: center;
	line-height: 1.25;
	overflow-wrap: anywhere;
	max-width: 220px;
}

.hm-nav a + a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 24px;
	background: var(--hm-line);
	transform: translateY(-50%) skewX(-16deg);
}

.hm-nav li + li a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 24px;
	background: var(--hm-line);
	transform: translateY(-50%) skewX(-16deg);
}

.hm-nav a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 2px;
	background: transparent;
}

.hm-nav a:hover {
	background: transparent;
	color: var(--hm-green);
}

.hm-nav a:hover::after,
.hm-nav a[aria-current="page"]::after,
.hm-nav .current-menu-item > a::after {
	background: var(--hm-green);
}

.hm-nav a[aria-current="page"],
.hm-nav .current-menu-item > a {
	color: var(--hm-green);
}

.hm-nav__contact {
	background: transparent;
	color: var(--hm-ink) !important;
}

.hm-hero {
	position: relative;
	min-height: calc(88vh - 72px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--hm-navy);
}

.hm-hero__media,
.hm-hero__shade {
	position: absolute;
	inset: 0;
}

.hm-hero__media {
	background-position: center right;
	background-size: cover;
	transform: scale(1.01);
}

.hm-hero__shade {
	background:
		linear-gradient(90deg, rgba(15, 24, 35, .92) 0%, rgba(15, 24, 35, .72) 42%, rgba(15, 24, 35, .14) 100%),
		linear-gradient(0deg, rgba(15, 24, 35, .42), rgba(15, 24, 35, .08));
}

.hm-hero__content {
	position: relative;
	z-index: 1;
	padding: 96px 0 122px;
	color: #fff;
}

.hm-eyebrow {
	margin: 0 0 14px;
	color: var(--hm-accent);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	text-transform: uppercase;
}

.hm-section--dark .hm-eyebrow,
.hm-hero .hm-eyebrow {
	color: #ff6b75;
}

.hm-hero h1 {
	max-width: 720px;
	margin: 0;
	font-size: clamp(40px, 7vw, 84px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: 0;
}

.hm-hero__lead {
	max-width: 620px;
	margin: 28px 0 0;
	color: rgba(255, 255, 255, .88);
	font-size: 18px;
	line-height: 1.9;
}

.hm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.hm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 4px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.hm-button--primary {
	background: var(--hm-accent);
	color: #fff;
}

.hm-button--primary:hover {
	background: var(--hm-accent-dark);
	color: #fff;
}

.hm-button--ghost {
	border-color: rgba(255, 255, 255, .58);
	color: #fff;
}

.hm-button--ghost:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.hm-section {
	padding: 92px 0;
}

.hm-page-hero {
	padding: 110px 0 84px;
	background:
		linear-gradient(90deg, rgba(35, 52, 72, .94), rgba(35, 52, 72, .78)),
		var(--hm-page-hero-bg, url("assets/images/fire-protection-hero.png")) center right / cover no-repeat;
	color: #fff;
}

.hm-breadcrumb {
	border-bottom: 1px solid var(--hm-line);
	background: #fff;
}

.hm-breadcrumb__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	color: var(--hm-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.hm-breadcrumb a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--hm-muted);
	text-decoration: none;
}

.hm-breadcrumb a:hover {
	color: var(--hm-green);
}

.hm-breadcrumb__home {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.hm-breadcrumb__separator {
	color: #9aa5b1;
}

.hm-breadcrumb [aria-current="page"] {
	color: var(--hm-ink);
}

.hm-page-hero h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(36px, 5vw, 66px);
	line-height: 1.12;
	letter-spacing: 0;
}

.hm-page-hero p:not(.hm-eyebrow) {
	max-width: 680px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: 17px;
	line-height: 1.9;
}

.hm-section--soft {
	background: var(--hm-soft);
}

.hm-section--dark {
	background: var(--hm-navy);
	color: #fff;
}

.hm-split,
.hm-company,
.hm-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: 64px;
	align-items: start;
}

.hm-section h2 {
	margin: 0;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: 0;
}

.hm-copy p,
.hm-company__lead,
.hm-contact__lead {
	margin: 0;
	color: var(--hm-muted);
	font-size: 17px;
	line-height: 2;
}

.hm-section--dark .hm-company__lead {
	color: rgba(255, 255, 255, .75);
}

.hm-section-head {
	max-width: 760px;
	margin-bottom: 34px;
}

.hm-section-head--row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}

.hm-section-lead {
	max-width: 780px;
	margin: 18px 0 0;
	color: var(--hm-muted);
	font-size: 16px;
	line-height: 1.9;
}

.hm-stats {
	position: relative;
	z-index: 2;
	margin-top: -46px;
	padding-bottom: 34px;
}

.hm-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.hm-stat {
	min-height: 118px;
	padding: 22px;
	border: 1px solid rgba(217, 224, 231, .92);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(23, 32, 44, .12);
}

.hm-stat span {
	display: block;
	color: var(--hm-blue);
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.05;
}

.hm-stat p {
	margin: 10px 0 0;
	color: var(--hm-muted);
	font-size: .85rem;
	font-weight: 800;
	line-height: 1.5;
}

.hm-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.hm-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.hm-card,
.hm-detail-card {
	min-height: 258px;
	padding: 28px;
	border: 1px solid var(--hm-line);
	border-radius: 8px;
	background: var(--hm-paper);
}

.hm-card__number {
	display: block;
	margin-bottom: 34px;
	color: var(--hm-blue);
	font-size: 13px;
	font-weight: 800;
}

.hm-card h3,
.hm-feature h3,
.hm-detail-card h2 {
	margin: 0 0 14px;
	font-size: 22px;
	line-height: 1.35;
}

.hm-card p,
.hm-feature p,
.hm-area__lead,
.hm-detail-card p {
	margin: 0;
	color: var(--hm-muted);
	font-size: 15px;
	line-height: 1.9;
}

.hm-work-types {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.hm-work-types span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--hm-line);
	border-radius: 4px;
	background: #fff;
	color: var(--hm-ink);
	font-size: 14px;
	font-weight: 700;
}

.hm-work-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.hm-work-card {
	overflow: hidden;
	border: 1px solid var(--hm-line);
	border-radius: 8px;
	background: #fff;
}

.hm-work-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--hm-soft);
}

.hm-work-card div {
	padding: 18px;
}

.hm-work-card span {
	display: inline-flex;
	margin-bottom: 10px;
	padding: 5px 8px;
	border-radius: 4px;
	background: rgba(47, 111, 159, .1);
	color: var(--hm-blue);
	font-size: 12px;
	font-weight: 800;
}

.hm-work-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.35;
}

.hm-work-card h3 a {
	text-decoration: none;
}

.hm-work-card h3 a:hover {
	color: var(--hm-green);
}

.hm-work-card p {
	margin: 0;
	color: var(--hm-muted);
	font-size: 14px;
	line-height: 1.7;
}

.hm-work-detail {
	display: grid;
	gap: 28px;
}

.hm-work-detail__image {
	width: 100%;
	max-height: 620px;
	border-radius: 8px;
	object-fit: cover;
}

.hm-work-detail__back {
	margin: 8px 0 0;
}

.hm-works-accordion {
	display: grid;
	gap: 12px;
}

.hm-works-group {
	border: 1px solid var(--hm-line);
	border-radius: 8px;
	background: #fff;
}

.hm-works-group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	cursor: pointer;
	font-size: 18px;
	font-weight: 800;
}

.hm-works-group summary strong {
	flex: 0 0 auto;
	padding: 5px 10px;
	border-radius: 4px;
	background: var(--hm-blue);
	color: #fff;
	font-size: 13px;
}

.hm-works-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 22px;
	margin: 0;
	padding: 0 22px 24px;
	list-style: none;
}

.hm-works-group .hm-work-card-grid {
	padding: 0 22px 24px;
}

.hm-works-list li {
	position: relative;
	padding-left: 16px;
	color: var(--hm-ink);
	font-size: 14px;
	line-height: 1.7;
}

.hm-works-list li::before {
	position: absolute;
	top: .78em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hm-accent);
	content: "";
}

.hm-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.hm-gallery-item {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: var(--hm-line);
}

.hm-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .2s ease;
}

.hm-gallery-item:hover img {
	transform: scale(1.04);
}

.hm-lightbox {
	width: min(920px, calc(100% - 32px));
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
}

.hm-lightbox::backdrop {
	background: rgba(0, 0, 0, .72);
}

.hm-lightbox img {
	display: block;
	width: 100%;
	max-height: 84vh;
	object-fit: contain;
	background: #111;
}

.hm-lightbox__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--hm-ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.hm-work-types--large span {
	min-height: 46px;
	padding-inline: 18px;
	font-size: 15px;
}

.hm-area {
	background:
		linear-gradient(90deg, rgba(47, 111, 159, .1), transparent 46%),
		#fff;
}

.hm-area__grid {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: 64px;
	align-items: start;
}

.hm-area-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.hm-area-list li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	border-left: 4px solid var(--hm-accent);
	background: var(--hm-soft);
	color: var(--hm-ink);
	font-weight: 800;
}

.hm-feature-list {
	border-top: 1px solid var(--hm-line);
}

.hm-feature {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 32px;
	padding: 30px 0;
	border-bottom: 1px solid var(--hm-line);
}

.hm-company-table {
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, .22);
}

.hm-company-table div {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.hm-company-table dt {
	color: rgba(255, 255, 255, .62);
	font-weight: 700;
}

.hm-company-table dd {
	margin: 0;
	color: #fff;
}

.hm-info-table {
	margin: 0;
	border-top: 1px solid var(--hm-line);
}

.hm-info-table div {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 24px;
	padding: 22px 0;
	border-bottom: 1px solid var(--hm-line);
}

.hm-info-table dt {
	color: var(--hm-muted);
	font-weight: 800;
}

.hm-info-table dd {
	margin: 0;
	font-weight: 700;
}

.hm-info-table a {
	color: var(--hm-blue);
	text-decoration: none;
}

.hm-company-access {
	display: grid;
	grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
	gap: 42px;
	align-items: start;
}

.hm-company-map {
	overflow: hidden;
	border: 1px solid var(--hm-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(23, 32, 44, .08);
}

.hm-company-map iframe {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 0;
	background: var(--hm-soft);
}

.hm-company-map__body {
	display: grid;
	gap: 14px;
	padding: 18px;
}

.hm-company-map__body p {
	margin: 0;
	color: var(--hm-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.7;
}

.hm-company-map__body .hm-button {
	justify-self: start;
	min-height: 42px;
	padding-inline: 16px;
	font-size: 14px;
}

.hm-contact {
	background: var(--hm-paper);
}

.hm-contact-phone {
	display: grid;
	gap: 30px;
	margin-bottom: 58px;
}

.hm-contact-phone h2,
.hm-contact-form-heading h2 {
	position: relative;
	margin: 0;
	padding-left: 20px;
	color: var(--hm-ink);
	font-weight: 800;
	font-size: 19px;
	line-height: 1.5;
}

.hm-contact-phone h2::before,
.hm-contact-form-heading h2::before {
	content: "";
	position: absolute;
	top: .72em;
	left: 0;
	width: 10px;
	height: 10px;
	border: 3px solid var(--hm-green);
	border-radius: 999px;
	transform: translateY(-50%);
}

.hm-contact-phone__card {
	width: min(600px, 100%);
	margin-inline: auto;
	border: 1px solid var(--hm-line);
	background: #fff;
	text-align: center;
}

.hm-contact-phone__card p {
	margin: 0;
	padding: 22px 18px;
	color: var(--hm-ink);
	font-size: 16px;
	line-height: 1.6;
}

.hm-contact-phone__card a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 82px;
	background: #111;
	color: #fff;
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.hm-contact-phone__card a::before {
	content: "\260E";
	margin-right: 8px;
	font-size: .72em;
}

.hm-contact-form-heading {
	margin-bottom: 32px;
}

.hm-form {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

.hm-form p {
	margin: 0;
}

.hm-form .wpcf7-form > p {
	margin: 0;
}

.hm-form-table {
	border-top: 1px solid var(--hm-line);
}

.hm-form-table > br {
	display: none;
}

.hm-privacy-box + .hm-form-table {
	margin-top: 28px;
}

.hm-form-row {
	display: grid;
	grid-template-columns: 255px minmax(0, 1fr);
	gap: 0;
	align-items: center;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-ink);
	font-size: 15px;
	font-weight: 400;
}

.hm-form-row--message {
	align-items: stretch;
}

.hm-form-label {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding-right: 20px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.hm-form-label em {
	margin-left: 4px;
	color: var(--hm-accent);
	font-style: normal;
	font-weight: 400;
}

.hm-form-field {
	display: block;
	min-width: 0;
	font-size: 15px;
	font-weight: 400;
}

.hm-form-field--short {
	max-width: 220px;
}

.hm-form .wpcf7-form-control-wrap {
	display: block;
}

.hm-form .wpcf7-list-item {
	margin: 0;
}

.hm-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.hm-form textarea,
.hm-form select {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 0;
	border-radius: 0;
	background: #f0f0f0;
	color: var(--hm-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 400;
}

.hm-form textarea {
	min-height: 166px;
	resize: vertical;
}

.hm-privacy-box {
	box-sizing: border-box;
	height: 196px;
	margin: 0;
	padding: 14px 16px;
	overflow-y: auto;
	border: 1px solid var(--hm-line);
	background: #fff;
	color: var(--hm-ink);
	font-size: 15px;
	line-height: 1.75;
}

.hm-privacy-box p {
	margin: 0 0 18px;
}

.hm-privacy-box p:last-child {
	margin-bottom: 0;
}

.hm-form-row--agree,
.hm-form-row:has(.wpcf7-acceptance) {
	display: grid;
	grid-template-columns: 255px minmax(0, 1fr);
	align-items: center;
	gap: 0;
	margin-top: 0;
	padding: 10px 0;
}

.hm-form-row--agree .hm-form-label,
.hm-form-row:has(.wpcf7-acceptance) .hm-form-label {
	flex: 0 0 auto;
	min-height: 30px;
	padding-right: 0;
	white-space: nowrap;
}

.hm-form-row--agree .hm-form-field,
.hm-form-row--agree .wpcf7-form-control,
.hm-form-row--agree .wpcf7-list-item,
.hm-form-row--agree .wpcf7-list-item label,
.hm-form-row:has(.wpcf7-acceptance) .hm-form-field,
.hm-form-row:has(.wpcf7-acceptance) .wpcf7-form-control,
.hm-form-row:has(.wpcf7-acceptance) .wpcf7-list-item,
.hm-form-row:has(.wpcf7-acceptance) .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	width: auto;
	margin: 0;
	color: var(--hm-ink);
	font-weight: 400;
	line-height: 1.5;
	white-space: nowrap;
}

.hm-form-row--agree input[type="checkbox"],
.hm-form-row:has(.wpcf7-acceptance) input[type="checkbox"] {
	appearance: none;
	box-sizing: border-box;
	width: 15px;
	height: 15px;
	margin: 0 7px 0 0;
	border: 1px solid #c8cdd3;
	border-radius: 999px;
	background: #f7f7f7;
	vertical-align: middle;
}

.hm-form-row--agree input[type="checkbox"]:checked,
.hm-form-row:has(.wpcf7-acceptance) input[type="checkbox"]:checked {
	border-color: var(--hm-green);
	background: radial-gradient(circle, var(--hm-green) 0 38%, #fff 42%);
}

.hm-form-submit {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.hm-form input[type="submit"] {
	min-height: 48px;
	min-width: 240px;
	padding: 0 28px;
	border: 0;
	border-radius: 0;
	background: #111;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0;
	cursor: pointer;
}

.hm-form input[type="submit"]:hover {
	background: var(--hm-green);
}

.hm-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: var(--hm-accent);
	font-size: 13px;
}

.hm-form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.7;
}

.hm-recruit-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 64px;
	align-items: start;
}

.hm-cta-band {
	display: grid;
	gap: 16px;
	justify-items: start;
	padding: 42px;
	border-left: 6px solid var(--hm-accent);
	background: #fff;
}

.hm-cta-band h2,
.hm-cta-band p {
	margin: 0;
}

.hm-cta-band p {
	color: var(--hm-muted);
	line-height: 1.9;
}

.hm-footer {
	padding: 58px 0 32px;
	background: #111827;
	color: #fff;
}

.hm-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 42px;
	align-items: start;
}

.hm-logo--footer {
	color: #fff;
}

.hm-logo--footer span {
	color: rgba(255, 255, 255, .62);
}

.hm-footer p {
	max-width: 460px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .72);
	line-height: 1.9;
}

.hm-footer__links {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 12px 28px;
}

.hm-footer__links a {
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
	font-weight: 700;
}

.hm-footer__links a:hover {
	color: #fff;
}

.hm-footer__bottom {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: rgba(255, 255, 255, .58);
}

.hm-mobile-contact {
	display: none;
}

.hm-page-top {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 55;
	display: grid;
	justify-items: center;
	gap: 8px;
	min-width: 96px;
	padding: 16px 12px 14px;
	border: 0;
	background: rgba(255, 255, 255, .94);
	color: var(--hm-navy);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .04em;
	box-shadow: 0 16px 36px rgba(23, 32, 44, .14);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .18s ease, transform .18s ease, color .18s ease;
}

.hm-page-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.hm-page-top:hover {
	color: var(--hm-green);
}

.hm-page-top__icon {
	width: 18px;
	height: 18px;
	border-top: 3px solid currentColor;
	border-left: 3px solid currentColor;
	transform: rotate(45deg);
}

@media (max-width: 900px) {
	.hm-header {
		position: sticky;
	}

	.hm-header__top {
		display: none;
	}

	.hm-header__shell {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 10px 14px;
		align-items: start;
		width: calc(100% - 28px);
		padding: 10px 0 12px;
	}

	.hm-header__content {
		display: grid;
		justify-items: end;
		gap: 8px;
	}

	.hm-header__utility {
		justify-content: flex-end;
		gap: 8px;
	}

	.hm-header__phone {
		font-size: 16px;
		font-weight: 800;
	}

	.hm-header__phone span {
		font-size: 17px;
	}

	.hm-header__main {
		justify-content: flex-end;
	}

	.hm-logo img {
		width: 180px;
	}

	.hm-lang,
	.hm-lang__icon {
		width: 38px;
		height: 38px;
	}

	.hm-lang__icon svg {
		width: 30px;
		height: 30px;
	}

	.hm-google-translate-element,
	.hm-google-translate-element .goog-te-gadget {
		width: 38px !important;
		height: 38px !important;
	}

	.hm-google-translate-element select.goog-te-combo {
		width: 38px !important;
		height: 38px !important;
		min-height: 38px;
	}

	.hm-menu-toggle {
		display: inline-flex;
	}

	.hm-nav {
		display: none;
		margin-top: 10px;
		width: 100%;
		padding: 0;
		border: 0;
		border-top: 1px solid var(--hm-line);
		border-radius: 0;
		background: #fff;
		font-size: 14px;
	}

	.hm-nav.is-open {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hm-nav a {
		justify-content: flex-start;
		min-height: 46px;
		padding: 0 2px;
		border-bottom: 1px solid var(--hm-line);
		border-radius: 0;
		color: #333;
		font-weight: 900;
	}

	.hm-nav a + a::before,
	.hm-nav li + li a::before,
	.hm-nav a::after {
		display: none;
	}

	.hm-nav a:hover {
		background: transparent;
		color: var(--hm-accent);
	}

	.hm-nav__contact {
		background: transparent;
		color: #333 !important;
	}

	.hm-hero {
		min-height: 78vh;
	}

	.hm-hero__shade {
		background: linear-gradient(0deg, rgba(15, 24, 35, .9), rgba(15, 24, 35, .38));
	}

	.hm-hero__media {
		background-position: center;
	}

	.hm-split,
	.hm-company,
	.hm-company-access,
	.hm-contact__grid,
	.hm-service-grid,
	.hm-feature,
	.hm-area__grid,
	.hm-detail-grid,
	.hm-work-card-grid,
	.hm-recruit-grid,
	.hm-footer__grid {
		grid-template-columns: 1fr;
	}

	.hm-section-head--row {
		display: grid;
		align-items: start;
	}

	.hm-stats {
		margin-top: 0;
		padding: 14px 0 0;
		background: var(--hm-soft);
	}

	.hm-stats__grid,
	.hm-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-works-list {
		grid-template-columns: 1fr;
	}

	.hm-section {
		padding: 68px 0;
	}

	.hm-service-grid {
		gap: 14px;
	}

	.hm-feature {
		gap: 10px;
	}

	.hm-area-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-footer {
		padding-bottom: 88px;
	}

	.hm-contact-phone {
		margin-bottom: 44px;
	}

	.hm-form-row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 14px 0;
	}

	.hm-form-label {
		min-height: 0;
		padding-right: 0;
	}

	.hm-form-field--short {
		max-width: none;
	}

	.hm-mobile-contact {
		position: fixed;
		right: 12px;
		bottom: 12px;
		left: 12px;
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		overflow: hidden;
		border-radius: 8px;
		box-shadow: 0 14px 34px rgba(23, 32, 44, .22);
	}

	.hm-mobile-contact a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		background: var(--hm-accent);
		color: #fff;
		font-weight: 800;
		text-decoration: none;
	}

	.hm-mobile-contact a + a {
		border-left: 1px solid rgba(255, 255, 255, .28);
	}

	.hm-page-top {
		right: 14px;
		bottom: 82px;
		min-width: 86px;
		padding: 13px 10px 12px;
		font-size: 12px;
	}
}

@media (max-width: 600px) {
	.hm-container {
		width: min(100% - 28px, 1120px);
	}

	.hm-hero__content {
		padding: 76px 0 90px;
	}

	.hm-hero h1 {
		font-size: 42px;
	}

	.hm-hero__lead,
	.hm-copy p,
	.hm-company__lead,
	.hm-contact__lead {
		font-size: 15px;
		line-height: 1.85;
	}

	.hm-company-table div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.hm-form {
		padding: 0;
	}

	.hm-contact-phone__card p {
		padding: 16px 12px;
		font-size: 14px;
	}

	.hm-contact-phone__card a {
		min-height: 68px;
	}

	.hm-privacy-box {
		height: 180px;
		font-size: 14px;
	}

	.hm-page-hero {
		padding: 72px 0 62px;
	}

	.hm-breadcrumb__inner {
		min-height: 44px;
		font-size: 12px;
	}

	.hm-info-table div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.hm-company-map iframe {
		aspect-ratio: 16 / 11;
	}

	.hm-stat {
		min-height: 102px;
		padding: 16px;
	}

	.hm-stat span {
		font-size: 1.65rem;
	}

	.hm-footer__links {
		grid-template-columns: 1fr;
	}
}
