/**
 * 共通スタイル
 * 全ページで使うベース・ヘッダー・共通レイアウト
 */

body {
	margin: 0;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	color: #222222;
	background-color: #fdfdfd;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* ヘッダー */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	min-height: 100px;
	display: flex;
	align-items: center;
	background: linear-gradient(180deg,
			rgba(110, 184, 224, 0.92) 0%,
			rgba(74, 159, 212, 0.92) 50%,
			rgba(46, 139, 199, 0.92) 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 100px;
	margin: 0 auto;
	padding: 0px 24px;
	box-sizing: border-box;
}

.site-header__logo {
	margin: 0;
	line-height: 1;
}

.site-header__logo img {
	width: 100%;
	max-width: clamp(13.75rem, 8.438rem + 26.56vw, 40.313rem);
	height: auto;
}

/* ハンバーガーボタン（768px以下で表示、common では非表示） */
.site-header__hamburger {
	display: none;
}

.site-header__menu-list {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu-list a {
	display: inline-block;
	white-space: nowrap;
	font-size: 28px;
	font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
	transition: opacity 0.2s ease;
}

.site-header__menu-list a:hover,
.site-header__menu-list a:focus {
	opacity: 0.85;
}

/* 表示中ページのメニューは青文字 */
.site-header__menu-list .current-menu-item a {
	color: #0f3193;
}

/* 右端固定CTA（採用情報はこちら）※画面幅に合わせてサイズ可変 */
.fv__cta {
	position: fixed;
	top: 50%;
	right: 0;
	width: clamp(56px, 5.5vw, 70px);
	height: clamp(240px, 28vw, 300px);
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(90deg, #f4692d 0%, #ffbb5c 100%);
	box-shadow:
		inset 0 -2px 4px #8c3d1b,
		inset 0 4px 4px rgba(255, 243, 217, 0.8);
	border-radius: 20px 0 0 20px;
	text-decoration: none;
	pointer-events: auto;
	transition: opacity 0.2s ease;
	z-index: 50;
}

.fv__cta:hover,
.fv__cta:focus {
	opacity: 0.9;
}

.fv__cta-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: clamp(0.875rem, 1vw + 0.5rem, 1.375rem);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.2em;
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 共通：各ページのメインコンテンツ枠 */
.main-content,
.page-recruit,
.page-company,
.page-business,
.page-equipment,
.page-contact,
.page-privacy,
.page-blog,
main.single-post {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 20px;
}

/* サブページ（会社概要・事業内容・保有設備・お知らせ・お問い合わせ・個人情報保護方針等）：グローバルメニューの下に画像が透けるよう一番上から配置（トップ同様） */
.page-company,
.page-business,
.page-equipment,
.page-blog,
.page-contact,
.page-privacy,
main.single-post {
	max-width: none;
	margin: 0;
	padding: 0;
	margin-top: -150px;
}

/* サブページヘッダー（キャッチコピーなし・ページ名 JP/EN）※一覧・詳細で高さを揃えるため固定 */
.page-header {
	position: relative;
	min-height: 520px;
	height: 520px;
}

.page-header__image-wrap {
	position: relative;
	height: 520px;
	min-height: 520px;
	overflow: hidden;
}

.page-header__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.page-header__overlay {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 16px 5% 16px 54px;
	pointer-events: none;
	background: linear-gradient(90deg, #ffffff 1.71%, rgba(255, 255, 255, 0.5) 77.3%, rgba(255, 255, 255, 0) 100%);
	width: 100%;
	max-width: 600px;
	margin-bottom: 50px;
	box-sizing: border-box;
}

.page-header__title {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 12px;
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	color: #0f3193;
}

.page-header__title-ja {
	font-size: 48px;
	font-size: 3rem;
}

.page-header__title-sep {
	font-size: 36px;
	font-size: 2.25rem;
	font-weight: 500;
	opacity: 0.8;
}

.page-header__title-en {
	font-size: 28px;
	font-size: 1.75rem;
}

/* 全ページ共通：リード文を太字 */
.page-contact__lead,
.page-business__lead,
.page-equipment__lead,
.equipment-section__lead,
.recruit-environment__lead,
.recruit-technology__lead,
.recruit-waiting__lead {
	font-weight: 700;
}

.page-company__body,
.page-business__body,
.page-equipment__body,
.page-blog__body,
.page-contact__body,
.page-privacy__body,
.single-post__body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 20px 64px;
}

/* 共通タグ（事業内容・保有設備で使用） */
.content-tag {
	padding: 8px 18px;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	color: #0f3193;
	line-height: 1.4;
	background: #e6f3f7;
	border-radius: 24px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* セクションタイトル（2パターン：下線・両サイドに線） */
.section-title {
	margin: 0 0 40px;
	font-size: 36px;
	font-size: 2.25rem;
	font-weight: 700;
	color: #0f3193;
	line-height: 1.3;
}

.section-title--underline .section-title__inner {
	display: inline-block;
}

.section-title--underline .section-title__inner::after {
	display: block;
	content: "";
	margin-top: 8px;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #ffbb5c 0%, rgba(255, 187, 92, 0) 100%);
	border-radius: 2px;
}

.section-title--sides {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* 左側の線：透明（左端）→ オレンジ（文字側） */
.section-title--sides::before {
	content: "";
	flex: 1;
	height: 3px;
	min-height: 3px;
	background: linear-gradient(90deg, rgba(255, 187, 92, 0) 0%, #ffbb5c 100%);
	border-radius: 2px;
}

/* 右側の線：オレンジ（文字側）→ 透明（右端） */
.section-title--sides::after {
	content: "";
	flex: 1;
	height: 3px;
	min-height: 3px;
	background: linear-gradient(90deg, #ffbb5c 0%, rgba(255, 187, 92, 0) 100%);
	border-radius: 2px;
}

.section-title__text {
	padding: 0 12px;
	white-space: nowrap;
}

.section-title--center {
	text-align: center;
}

.section-title--tight {
	margin-bottom: 20px;
}

.section-title--tight.section-title--underline .section-title__inner::after {
	margin-top: 12px;
}

.section-title--small {
	font-size: 28px;
	font-size: 1.75rem;
}

/* フッター */
.site-footer {
	margin-top: 100px;
	background: linear-gradient(180deg, #5a75c2 0%, #0f3193 100%);
	box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.site-footer__upper {
	padding: 48px 20px 40px;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	max-width: 1400px;
	margin: 0 auto;
}

.site-footer__brand {
	flex: 0 1 auto;
}

.site-footer__logo {
	margin: 0 0 12px;
	line-height: 1;
}

.site-footer__logo img {
	width: 100%;
	max-width: clamp(18.75rem, 14.438rem + 21.56vw, 40.313rem);
	height: auto;
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

.site-footer__address {
	margin: 16px 0 0;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.8;
	font-style: normal;
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.site-footer__nav {
	flex: 0 1 auto;
}

.site-footer__menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 48px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu a {
	display: inline-block;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #ffffff;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
	transition: opacity 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus {
	opacity: 0.85;
}

.site-footer__bottom {
	padding: 16px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	text-align: center;
}

.site-footer__copyright {
	margin: 0;
	font-size: 12px;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.5;
	color: #ffffff;
}

/* トップに戻るボタン（全ページ共通・丸アイコンのみ） */
.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	color: #ffffff;
	text-decoration: none;
	background: linear-gradient(180deg, #5a75c2 0%, #0f3193 100%);
	border: none;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(15, 49, 147, 0.35);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.back-to-top__icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.back-to-top:hover,
.back-to-top:focus {
	opacity: 0.95;
	color: #ffffff;
	transform: translateY(-2px);
}

.back-to-top.is-hidden {
	opacity: 0;
	pointer-events: none;
}