@charset "UTF-8";
/* =====================================================================
   AQUAIGNIS inc. コーポレートサイト（aquaignis-company.jp）静的版
   共通スタイル

   ・元サイトは WordPress（SWELL）＋ Smart Slider 3。これはその見た目を
     素の HTML / CSS / JS で再現したもの（リニューアル作業用のベース）
   ・ブレイクポイントは aquaignis.jp の新フォーマットに合わせて 590 / 900
       SP      : 〜589px
       tablet  : 590〜899px（基本はSPレイアウト）
       PC      : 900px〜
   ・色は :root の変数で管理
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Geomanist";
	src: url("../fonts/Geomanist-Medium.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Geomanist";
	src: url("../fonts/Geomanist-Black.otf") format("opentype");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--fontJa: "Hiragino Sans", "ヒラギノ角ゴシック", "Noto Sans JP", sans-serif;
	--fontEn: "Geomanist", "Helvetica Neue", Arial, sans-serif;
	--fontEnCond: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;

	--colorText: #333;
	--colorBg: #fff;
	--colorBlack: #000;
	--colorDark: #1D2E3A;      /* 濃色（ヒーロー下地・カバー下地・ボタン・文字） */
	--colorBeta: #28333E;      /* 10-12 ベタ面：TOP 最初のイントロ・フッター */
	--colorGray: #c7c7c7;      /* Coming soon カード */
	--colorBtn: #abb8bb;       /* 採用サイトボタン */

	--container: 1240px;
	--containerPad: 44px;
	--sectionPadPc: 64px;
	--sectionPadSp: 30px;
	--titleGapPc: 80px;        /* 英字見出し〜本文 */
	--titleGapSp: 50px;

	--headerH: 54px;
	--headerPadX: 28px;
	--headerTop: 20px;

	--easeOut: cubic-bezier(.19, 1, .22, 1);
}

/* ---------- Reset (最小限) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--fontJa);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.8;
	color: var(--colorText);
	background: var(--colorBg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
input, textarea { font: inherit; color: inherit; }
.visuallyHidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* PC / SP 出し分け */
@media screen and (min-width: 900px) { .spOnly { display: none !important; } }
@media screen and (max-width: 899px) { .pcOnly { display: none !important; } }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--containerPad);
}
.section {
	padding: var(--sectionPadPc) 0;
}
.section[id] { scroll-margin-top: 20px; }

/* 見出し（英字＋日本語）
   元サイトは SVG 画像（PC：幅 248px・高さ 71px ＝ 英字キャップハイト 29.8px ＋ 余白 25px ＋ 日本語 16px）。
   Geomanist Black はキャップハイト 0.70em / アセント 0.75em なので、
   line-height:1 に上下のネガティブマージンを付けて英字の箱をキャップハイトぴったりにしている */
.sectionTitle {
	text-align: center;
	margin-bottom: 85px;
}
.sectionTitle .en {
	display: block;
	font-family: var(--fontEn);
	font-weight: 900;
	font-size: 42.5px;
	line-height: 1;
	margin: -.05em 0 -.25em;
	letter-spacing: -.035em;
	text-transform: uppercase;
}
.sectionTitle .ja {
	display: block;
	margin-top: 25px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .3em;
	text-indent: .3em;
	line-height: 1;
}

/* 中央寄せ本文（1行ずつ改行するタイプ） */
.centerText { text-align: center; font-size: 16px; }
.centerText p { line-height: 1.8; }
.centerText p + p { margin-top: 16px; }

/* ---------- Header ---------- */
.siteHeader {
	position: fixed;
	top: var(--headerTop);
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--headerH);
	padding: 0 var(--headerPadX);
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #000;
	transition: opacity .5s ease, transform .5s ease, color .3s ease;
}
html.isHeaderHidden .siteHeader {
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
}
html[data-header-tone="dark"] .siteHeader { color: #fff; }
.siteHeader .logo { display: block; line-height: 0; }
.siteHeader .logo img {
	height: 22px;
	width: auto;
}
.siteHeader .logo .logoWhite { display: none; }
html[data-header-tone="dark"] .siteHeader .logo .logoBlack { display: none; }
html[data-header-tone="dark"] .siteHeader .logo .logoWhite { display: block; }

/* ハンバーガー */
.menuBtn {
	position: relative;
	width: 40px;
	height: 40px;
	margin-right: -8px;
}
.menuBtn span,
.menuBtn span::before,
.menuBtn span::after {
	position: absolute;
	left: 50%;
	width: 22px;
	height: 1px;
	background: currentColor;
	content: "";
	transform: translateX(-50%);
	transition: transform .3s ease, opacity .3s ease;
}
.menuBtn span { top: 50%; }
.menuBtn span::before { top: -6px; }
.menuBtn span::after { top: 6px; }
body.isMenuOpen .menuBtn { opacity: 0; pointer-events: none; }

/* ---------- Drawer（メニュー） ---------- */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 2000;
	visibility: hidden;
	pointer-events: none;
}
.drawer.isOpen { visibility: visible; pointer-events: auto; }
.drawerOverlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .35);
	opacity: 0;
	transition: opacity .4s ease;
}
.drawer.isOpen .drawerOverlay { opacity: 1; }
.drawerPanel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(40vw, 580px);
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(32px, 4vw, 48px);
	padding: 80px 24px 40px;
	transform: translateX(100%);
	transition: transform .5s var(--easeOut);
	overflow-y: auto;
}
.drawer.isOpen .drawerPanel { transform: none; }
.drawerClose {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 44px;
	height: 44px;
}
.drawerClose::before,
.drawerClose::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 1px;
	background: #000;
}
.drawerClose::before { transform: translate(-50%, -50%) rotate(45deg); }
.drawerClose::after { transform: translate(-50%, -50%) rotate(-45deg); }
.drawerLogo img { width: 180px; height: auto; margin: 0 auto; }
.drawerNav ul {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(22px, 2.6vw, 30px);
}
.drawerNav a {
	font-family: var(--fontEn);
	font-weight: 900;
	font-size: 13px;
	letter-spacing: .06em;
	line-height: 1;
	position: relative;
	padding-bottom: 4px;
}
.drawerNav a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s var(--easeOut);
}
.drawerNav a:hover::after { transform: scaleX(1); }
.drawerCopy {
	font-family: var(--fontEnCond);
	font-size: 10px;
	letter-spacing: .04em;
	line-height: 1.6;
	text-align: center;
	color: #555;
}

/* ---------- Footer ---------- */
.siteFooter {
	background: var(--colorBeta);
	color: #fff;
	padding: 50px;
}
.siteFooter .footerLogo img { height: 22px; width: auto; }
.siteFooter .footerBottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-top: 76px;
}
.footerNav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: 11px;
	letter-spacing: .04em;
	line-height: 1;
}
.footerNav a { display: inline-block; }
.footerNav a + a::before {
	content: "|";
	display: inline-block;
	margin: 0 .9em;
	opacity: .6;
}
.footerNav a:hover { text-decoration: underline; }
.footerCopy {
	font-family: var(--fontEnCond);
	font-size: 11px;
	letter-spacing: .02em;
	line-height: 1;
	white-space: nowrap;
}
.siteFooter .footerSp { display: none; }

/* ---------- Buttons ---------- */
.btnRound {
	display: inline-block;
	min-width: 219px;
	padding: 11.6px 21.2px;
	border-radius: 10px;
	background: var(--colorBtn);
	color: #fff;
	font-size: 14.4px;
	letter-spacing: 0;
	text-align: center;
	line-height: 1.8;
	transition: background-color .25s, color .25s;
}
.btnRound:hover { background: var(--colorDark); }

/* =====================================================================
   SP / tablet（〜899px）
   ===================================================================== */
@media screen and (max-width: 899px) {
	:root {
		--containerPad: 25px;
		--headerPadX: 34px;   /* 実機スクショ実測：ロゴ左 34px、ハンバーガー右 24px */
		--headerTop: 10px;
	}
	.section { padding: var(--sectionPadSp) 0; }
	/* SP の見出し SVG は高さ 38px（英字 16px ＋ 余白 10.5px ＋ 日本語 11.5px） */
	.sectionTitle { margin-bottom: var(--titleGapSp); }
	.sectionTitle .en { font-size: 23px; }
	.sectionTitle .ja { margin-top: 18px; font-size: 12px; letter-spacing: .25em; text-indent: .25em; }
	.centerText { font-size: 15px; }
	.centerText p { line-height: 1.9; }
	.centerText p + p { margin-top: 0; }
	.centerText p { line-height: 1.9; }

	.siteHeader .logo img { height: 15px; } /* 実機で約 138×15px */
	.menuBtn span, .menuBtn span::before, .menuBtn span::after { width: 20px; }
	.menuBtn span::before { top: -5px; }
	.menuBtn span::after { top: 5px; }

	.drawerPanel {
		width: min(72vw, 360px);
		gap: 30px;
		padding: 70px 20px 40px;
	}
	.drawerClose { top: 14px; right: 14px; }
	.drawerLogo img { width: 180px; }
	.drawerNav ul { gap: 24px; }
	.drawerNav a { font-size: 12px; }

	.siteFooter { padding: 50px 30px 30px; }
	.siteFooter .footerPc { display: none; }
	.siteFooter .footerSp {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 36px;
	}
	.siteFooter .footerSp .footerNav {
		justify-content: center;
		font-size: 10px;
	}
	.siteFooter .footerSp .footerLogo img { height: 20px; margin: 0 auto; }
	.siteFooter .footerSp .footerCopy {
		margin-top: 12px;
		font-size: 10px;
		text-align: center;
	}
}
