@charset "utf-8";

/*トップページ ここから*/
.page-top main{
	padding-top: 0;
}
.top{
	width: 100%;
	height: auto;
	background-color: #fafafa;
}
.top .baskervville{
	font-family: 'Baskervville', serif;
}

/*=== オープニングアニメーション ===*/
body.is-opening{
	overflow: hidden;
}
/* 再訪時（初回訪問済み）はオープニングを描画前に非表示にしてチラつきを防ぐ */
html.is-opening-skip .opening{
	display: none !important;
}
.opening{
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	bottom: auto;
	left: 0;
	right: 0;
	z-index: 9999;
	background-color: #151f46;
	transition: transform 0.6s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.opening.is-up{
	transform: translateY(-100%);
}
.opening_inner{
	width: auto;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* 導入テキスト（Noto Serif JP Bold 15 / 字間0.15em） */
.opening_text{
	width: auto;
	margin: 0;
	font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'YuMincho', 'Yu Mincho', serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1;
	letter-spacing: 0.15em;
	text-indent: 0.15em;
	color: #ffffff;
	text-align: center;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.opening.is-text .opening_text{
	opacity: 1;
	transform: translateY(0);
}
.opening_logo{
	width: 320px;
	height: auto;
	margin-top: 35px;
	display: block;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.opening.is-logo .opening_logo{
	opacity: 1;
	transform: translateY(0);
}
.opening_logo img{
	width: 100%;
	height: auto;
	display: block;
}

/* 共通ボタン矢印・枠線ボタンホバーは admin.css（.arrow / .*_btn）へ集約 */

/*=== メインビジュアル ===*/
.top .mv{
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	margin: 0 auto;
	display: block;
	position: relative;
	overflow: hidden;
}
/* タブレット縦持ちのみ：ヒーローは画面全体を覆わず、PCデザイン(1440×825)の比率で表示 */
@media only screen and (min-width: 768px) and (orientation: portrait) and (pointer: coarse){
	.top .mv{
		height: auto;
		min-height: 0;
		aspect-ratio: 1440 / 825;
	}
}
.top .mv_slider{
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}
.top .mv_slider .swiper-slide{
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.top .mv_slider .swiper-slide img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.top .mv_catch{
	width: 263px;
	height: auto;
	margin: 0 auto;
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	z-index: 2;
}
.top .mv_catch img{
	width: 100%;
	height: auto;
	display: block;
}
.top .mv_logo{
	width: 220px;
	height: auto;
	margin: 0 auto;
	display: block;
	position: absolute;
	/* キャッチ(高さ408px)を画面中央に置いた下端＋デザインの間隔72px */
	top: calc(50% + 276px);
	left: 0;
	right: 0;
	z-index: 2;
}
.top .mv_logo img{
	width: 100%;
	height: auto;
	display: block;
}
.top .mv_pagination{
	width: auto;
	height: auto;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: auto;
	bottom: 48px;
	left: 0;
	right: 0;
	z-index: 2;
}
.top .mv_pagination .swiper-pagination-bullet{
	width: 8px;
	height: 8px;
	margin: 0 6px !important;
	display: block;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.5);
	opacity: 1;
}
.top .mv_pagination .swiper-pagination-bullet-active{
	background-color: #ffffff;
}
/*オープニング後のヒーロー演出：ロゴ→キャッチ→ドットの順に表示*/
.top .mv_logo,
.top .mv_catch,
.top .mv_pagination{
	opacity: 0;
}
.top .mv.is-ready .mv_logo{
	opacity: 1;
	transition: opacity 0.5s ease;
}
.top .mv.is-ready .mv_catch{
	opacity: 1;
	transition: opacity 0.5s ease;
}
.top .mv.is-ready .mv_pagination{
	opacity: 1;
	transition: opacity 0.5s ease 0.4s;
}
.top .mv_recruit{
	width: 200px;
	height: auto;
	display: block;
	position: fixed;
	top: auto;
	bottom: 24px;
	right: 23px;
	z-index: 90;
	border: 2px solid #0e2155;
	border-radius: 8px;
	background-color: #ffffff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
/* ヒーロー演出の完了後に表示（PC/SP共通・JSで.is-past-mv付与） */
.top .mv_recruit.is-past-mv{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.top .mv_recruit.is-hidden{
	display: none;
}
.top .mv_recruit_close{
	width: 26px;
	height: 26px;
	padding: 0;
	display: block;
	position: absolute;
	top: -13px;
	right: -13px;
	border: 0;
	border-radius: 50%;
	background-color: #151f46;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.top .mv_recruit_close::before,
.top .mv_recruit_close::after{
	content: '';
	width: 11px;
	height: 1px;
	background-color: #ffffff;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}
.top .mv_recruit_close::before{
	transform: rotate(45deg);
}
.top .mv_recruit_close::after{
	transform: rotate(-45deg);
}
.top .mv_recruit_link{
	width: 100%;
	height: auto;
	padding: 12px;
	display: block;
}
.top .mv_recruit_img{
	width: 100%;
	height: auto;
	display: block;
}
.top .mv_recruit_img img{
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}
.top .mv_recruit_body{
	width: 100%;
	height: auto;
	margin: 10px 0 0;
	display: block;
	text-align: center;
}
.top .mv_recruit_en{
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0.1em;
	color: #0e2155;
	display: block;
}
.top .mv_recruit_ttl{
	margin-top: 6px;
	font-size: 18px;
	line-height: 1;
	color: #0f0f0f;
	display: block;
}
.top .mv_recruit_more{
	margin-top: 8px;
	font-size: 11px;
	line-height: 1;
	color: #0e2155;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.top .mv_recruit_more::after{
	content: '';
	width: 16px;
	height: 16px;
	background-color: #0e2155;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M3 1.5 L5.5 4 L3 6.5' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 8px 8px;
	border-radius: 50%;
	display: block;
}

/*=== 4つの力 STRENGTH ===*/
.top .strength{
	width: 100%;
	height: auto;
	padding: 102px 0 62px;
	background-color: #f4f4f4;
	display: block;
}
.top .strength_head{
	width: 100%;
	height: auto;
	text-align: center;
}
.top .strength_en{
	margin-left: -14px;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0.13em;
	color: #0e2155;
}
.top .strength_ttl{
	margin-top: 28px;
	font-size: 32px;
	line-height: 41px;
	letter-spacing: 0.05em;
	color: #0f0f0f;
}
.top .strength_lead{
	margin-top: 25px;
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 0.05em;
	color: #000000;
}
/*SP専用の改行（PCでは無効）*/
.top .strength_lead_brsp{ display: none; }
.top .strength_block{
	width: 1280px;
	height: auto;
	margin: 78px auto 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.top .strength_block_txt{
	width: 360px;
	height: auto;
	margin: 0 70px;
	display: block;
	text-align: center;
	flex-shrink: 0;
}
.top .strength_block_img{
	width: 780px;
	height: auto;
	display: block;
	flex-shrink: 0;
}
/*テキスト左のブロック(技術力・対応力)はデザイン上テキスト列がやや上寄せのため補正*/
.top .strength_block:not(.strength_block--rev) .strength_block_txt{
	transform: translateY(-12px);
}
/*各ブロックのテキスト列 縦位置をデザインに個別合わせ込み*/
.top .strength_head + .strength_block .strength_block_txt{
	transform: translateY(-7px);
}
.top .strength_gray + .strength_block .strength_block_txt{
	transform: translateY(-15px);
}
.top .strength_gray + .strength_block + .strength_block--rev .strength_block_txt{
	transform: translateY(-4px);
}
.top .strength_block_img img{
	width: 780px;
	height: 520px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}
.top .strength_block_en{
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0.13em;
	color: #0e2155;
}
.top .strength_block_ttl{
	margin-top: 24px;
	font-size: 40px;
	line-height: 41px;
	letter-spacing: 0.05em;
	color: #0f0f0f;
}
.top .strength_block_sub{
	margin-top: 33px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.05em;
	color: #0e2155;
}
.top .strength_block_sub2{
	margin-top: 37px;
	font-size: 18px;
	line-height: 32px;
	letter-spacing: 0.05em;
	color: #0e2155;
}
.top .strength_block_desc{
	margin-top: 32px;
	font-size: 14px;
	line-height: 25px;
	letter-spacing: 0.05em;
	color: #5a5959;
}
.top .strength_block_sub2 + .strength_block_desc{
	margin-top: 16px;
}
.top .strength_block_btn{
	width: 219px;
	height: 58px;
	margin: 34px auto 0;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #0e2155;
	border-radius: 29px;
	font-size: 15px;
	line-height: 1;
	color: #0e2155;
	position: relative;
}
/* 文字数が多く矢印に重なるボタン（モノづくり社員・働く環境）は幅を広げる */
.top .strength_block_btn--wide{
	width: 280px;
}
/* ホバー時の文字色白（admin.cssの共通ホバーが .top .xxx_btn{color:#0e2155} に同詳細度で負けるため .top付きで上書き） */
@media only screen and (min-width: 768px){
	.top .strength_block_btn:hover,
	.top .company_btn:hover{
		color: #ffffff;
	}
}
.top .strength_gray{
	width: 100%;
	height: auto;
	margin: 103px 0 0;
	padding: 77px 0 90px;
	background-color: #ededed;
	display: block;
}
.top .strength_gray .strength_block{
	margin-top: 0;
}
.top .strength_gray + .strength_block{
	margin-top: 90px;
}
.top .strength_block + .strength_block{
	margin-top: 99px;
}
.top .strength_equip{
	width: 1280px;
	height: auto;
	margin: 79px auto 0;
	display: block;
	text-align: center;
}
.top .strength_equip_ttl{
	font-size: 24px;
	line-height: 41px;
	letter-spacing: 0.05em;
	color: #0f0f0f;
}
.top .strength_equip_list{
	width: 100%;
	height: auto;
	margin: 18px auto 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.top .strength_equip_list li{
	width: 230px;
	height: auto;
	display: block;
}
.top .strength_equip_img{
	width: 230px;
	height: 230px;
	display: block;
	border-radius: 50%;
	overflow: hidden;
}
.top .strength_equip_img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.top .strength_equip_list p{
	margin-top: 22px;
	font-size: 15px;
	line-height: 1;
	color: #0f0f0f;
}

/* RECRUIT ブロックは admin.css（.recruit*）へ集約・inc/recruit_inc.php で出力 */

/*=== 会社概要 COMPANY ===*/
.top .company{
	width: 100%;
	height: auto;
	padding: 89px 0 84px;
	background-color: #f4f4f4;
	display: block;
}
.top .company_head{
	width: 100%;
	height: auto;
	text-align: center;
}
.top .company_en{
	margin-left: -14px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.13em;
	color: #0e2155;
}
.top .company_ttl{
	margin-top: 28px;
	font-size: 32px;
	line-height: 41px;
	letter-spacing: 0.05em;
	color: #0f0f0f;
}
.top .company_body{
	width: 1280px;
	height: auto;
	margin: 51px auto 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 61px;
}
.top .company_img{
	width: 640px;
	height: auto;
	display: block;
	flex-shrink: 0;
}
.top .company_img img{
	width: 640px;
	height: auto;
	border-radius: 12px;
	display: block;
}
.top .company_txt{
	width: 565px;
	height: auto;
	display: block;
	flex-shrink: 0;
}
.top .company_lead{
	font-size: 24px;
	line-height: 1.8;
	letter-spacing: 0.04em;
	color: #0e2155;
}
.top .company_desc{
	margin-top: 21px;
	font-size: 15px;
	line-height: 31px;
	letter-spacing: 0.05em;
	color: #5a5959;
}
.top .company_btn{
	width: 219px;
	height: 58px;
	margin: 36px 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #0e2155;
	border-radius: 29px;
	font-size: 15px;
	line-height: 1;
	color: #0e2155;
	position: relative;
}

/*=== ブログ BLOG ===*/
.top .blog{
	width: 100%;
	height: auto;
	padding: 84px 0 100px;
	background-color: #fafafa;
	display: block;
}
.top .blog_inner{
	width: 1280px;
	height: auto;
	margin: 14px auto 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.top .blog_head{
	width: 258px;
	height: auto;
	display: block;
	flex-shrink: 0;
}
.top .blog_en{
	margin-left: 5px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.13em;
	color: #0e2155;
}
.top .blog_ttl{
	margin-top: 28px;
	font-size: 32px;
	line-height: 41px;
	letter-spacing: 0.05em;
	color: #0f0f0f;
}
.top .blog_more{
	margin-top: 44px;
	font-size: 15px;
	line-height: 1;
	color: #0e2155;
	display: inline-block;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.top .blog_list{
	width: 1021px;
	height: auto;
	margin-top: -4px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-shrink: 0;
}
.top .blog_card{
	width: 319px;
	height: auto;
	display: block;
}
.top .blog_card_img{
	width: 319px;
	height: 213px;
	display: block;
	overflow: hidden;
	border-radius: 12px;
}
.top .blog_card_img.is-empty{
	background-color: #e6e6e6;
}
.top .blog_card_img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.top .blog_card_date{
	margin-top: 20px;
	font-size: 14px;
	line-height: 1;
	color: #5a5959;
	display: block;
}
.top .blog_card_ttl{
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.7;
	color: #000000;
	display: block;
	transition: color .35s ease;
}
/* ホバーで色変更＋下線 */
.top .blog_card a:hover .blog_card_ttl{
	color: #10359b;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
/*トップページ ここまで*/


/* ============================================================
   SP（〜767px） TOP
   ============================================================ */
@media only screen and (max-width: 767px){
	/* ===== ヒーロー（画面全体を覆う） ===== */
	.top .mv{
		height: 100vh;
		height: 100svh;
		min-height: 600px;
	}
	/* PCキャッチ画像は非表示、SPは専用キャッチ画像 */
	.top .mv_catch{ display: none; }
	.top .mv_catch_sp{
		display: block;
		width: 198px;
		height: auto;
		margin: 0 auto;
		position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		transform: translateY(-50%);
		z-index: 2;
		opacity: 0;
	}
	.top .mv.is-ready .mv_catch_sp{
		opacity: 1;
		transition: opacity 0.5s ease;
	}
	.top .mv_catch_sp img{
		width: 100%;
		height: auto;
		display: block;
	}
	/* ロゴ・ドットは下端寄せ */
	.top .mv_logo{
		width: 174px;
		top: auto;
		bottom: 96px;
	}
	.top .mv_pagination{
		top: auto;
		bottom: 48px;
		justify-content: center;
	}
}


/* ---- SP TOP: STRENGTH ---- */
@media only screen and (max-width: 767px){
	.top .strength{ padding: 68px 0 42px; }
	.top .strength_head{ padding: 0 27px; }
	.top .strength_en{ margin-left: -16px; font-size: 14px; letter-spacing: 0.1em; }
	.top .strength_ttl{ margin-top: 12px; font-size: 25px; line-height: 1.4; }
	.top .strength_lead{ margin-top: 16px; font-size: 15px; line-height: 29px; letter-spacing: normal; }
	.top .strength_lead_brsp{ display: inline; }
	.top .strength_desc_brpc{ display: none; }

	/* 各ブロック: 画像上・テキスト下・中央 */
	.top .strength_block{
		width: 100%;
		margin: 0;
		padding: 0 27px;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.top .strength_block_txt{
		width: 100%;
		margin: 0;
		transform: none;
	}
	/* PCの縦位置補正(translateY)を無効化 */
	.top .strength_block:not(.strength_block--rev) .strength_block_txt,
	.top .strength_head + .strength_block .strength_block_txt,
	.top .strength_gray + .strength_block .strength_block_txt,
	.top .strength_gray + .strength_block + .strength_block--rev .strength_block_txt{
		transform: none;
	}
	.top .strength_block_img{
		order: -1;
		width: 100%;
	}
	.top .strength_block_img img{
		width: 100%;
		height: auto;
		aspect-ratio: 320 / 213;
		border-radius: 6px;
	}
	.top .strength_block_en{ margin-top: 29px; font-size: 14px; letter-spacing: 0.1em; }
	.top .strength_block_ttl{ margin-top: 16px; font-size: 30px; line-height: 1.2; }
	.top .strength_block_sub{ margin-top: 29px; font-size: 16px; }
	.top .strength_block_sub2{ margin-top: 25px; font-size: 18px; line-height: 1.7; }
	.top .strength_block_desc{ margin-top: 23px; font-size: 14px; line-height: 25px; }
	.top .strength_block_sub2 + .strength_block_desc{ margin-top: 14px; }
	.top .strength_block_btn{ margin-top: 27px; }

	.top .strength_head + .strength_block{ margin-top: 61px; }
	.top .strength_block + .strength_block{ margin-top: 60px; }

	/* グレー帯 */
	.top .strength_gray{ margin-top: 54px; padding: 62px 0 54px; }
	.top .strength_gray .strength_block{ margin-top: 0; }
	.top .strength_gray + .strength_block{ margin-top: 64px; }

	/* 主要設備一覧: 2列 */
	.top .strength_equip{ width: 100%; margin-top: 52px; padding: 0 27px; }
	.top .strength_equip_ttl{ font-size: 20px; line-height: 1.3; }
	.top .strength_equip_list{
		flex-wrap: wrap;
		justify-content: space-between;
		margin-top: 31px;
		row-gap: 24px;
	}
	.top .strength_equip_list li{ width: 47%; }
	.top .strength_equip_img{ width: 100%; height: auto; margin: 0 auto; }
	.top .strength_equip_list p{ margin-top: 14px; font-size: 14px; line-height: 20px;}
}


/* ---- SP TOP: COMPANY / BLOG ---- */
@media only screen and (max-width: 767px){
	/* 会社概要 */
	.top .company{ padding: 50px 0 54px; }
	.top .company_head{ padding: 0 27px; }
	.top .company_en{ margin-left: 0; font-size: 16px; letter-spacing: 0.1em; }
	.top .company_ttl{ margin-top: 20px; font-size: 25px; line-height: 1.4; }
	.top .company_body{
		width: 100%;
		margin-top: 28px;
		padding: 0 27px;
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 34px;
	}
	.top .company_img{ width: 100%; }
	.top .company_img img{ width: 100%; height: auto; aspect-ratio: 320 / 225; border-radius: 6px; }
	.top .company_txt{ width: 100%; }
	.top .company_lead{ font-size: 20px; line-height: 1.7; text-align: center; }
	.top .company_desc{ margin-top: 15px; font-size: 15px; line-height: 30px; text-align: left; }
	.top .company_btn{ margin: 28px auto 0; }

	/* ブログ */
	.top .blog{ padding: 64px 0 33px; }
	.top .blog_inner{
		width: 100%;
		margin-top: 0;
		padding: 0 27px;
		flex-direction: column;
		align-items: stretch;
	}
	.top .blog_head{ width: 100%; text-align: center; }
	.top .blog_en{ margin-left: -16px; font-size: 16px; letter-spacing: 0.1em; }
	.top .blog_ttl{ margin-top: 14px; font-size: 25px; }
	.top .blog_more{ margin-top: 16px; }
	.top .blog_list{
		width: 100%;
		margin-top: 48px;
		flex-direction: column;
		align-items: stretch;
		gap: 36px;
	}
	.top .blog_card{ width: 100%; }
	.top .blog_card_img{ width: 100%; height: auto; aspect-ratio: 320 / 213; }
	.top .blog_card_date{ margin-top: 16px; }
	.top .blog_card_ttl{ margin-top: 13px; }
}


