/* =========================================================
   style.css 整理版
   作成日: 2026-07-03
   ========================================================= */

@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("theme.css");
@import url("inview.css");


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {right: -200px;}
	100% {right: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html {
	font-size: clamp(13px, 0.29vw + 11.9px, 16px);	/*画面幅375px〜1400pxの間で、13px〜16pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	-webkit-text-size-adjust: none;
	background: var(--bg-color);	/*背景色。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}


/*section
---------------------------------------------------------------------------*/
section {
	padding: 0 var(--content-space-l);	/*上下、左右へのsection内の余白。左右については、theme.cssの--content-space-lを読み込みます。*/
	margin: var(--content-space-l) 0;	/*上下、左右へのsectionの外側にとるマージン。上下については、theme.cssの--content-space-lを読み込みます。*/
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
	text-decoration: none;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.2s both;  /*0.2(2つ目の数字)秒待機後、0.2(1つ目の数字)秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}





/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
}


/* large-screen / small-screen 判定前のメニューちらつき防止 */
body:not(.large-screen):not(.small-screen) #menubar {
	display: none;
}




/*---------------------------------------------------------------------------
header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
header {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	height: 84px;
	margin-bottom: 3px;
	padding-left: var(--content-space-s);
	background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

header .logo {
	margin: 0;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

header .logo img {
	display: block;
	width: 200px;
}

/* メニューもヘッダー内で安定させる */
#menubar {
	position: relative;
	z-index: 100000;
}

/* 固定ヘッダー分の余白 */
body.home {
	padding-top: 84px;
}

body.home .mainimg {
	margin-top: 0;
}

/* メイン画像をトップらしく表示 */
.mainimg .image {
	height: calc(100vh - 84px);
	min-height: 560px;
}

.mainimg .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ヘッダーメニューの文字を固定 */
header #menubar nav > ul > li > a {
	font-family: var(--base-font) !important;
	font-weight: 700 !important;
	font-size: 0.85rem !important;
	line-height: 1 !important;
	color: #0b1f36 !important;
	filter: none !important;
	transition: color .2s ease, background-color .2s ease;
}

header #menubar nav > ul > li > a:hover,
header #menubar nav > ul > li > a:focus,
header #menubar nav > ul > li > a:active {
	color: #005bac !important;
	filter: none !important;
}





/*大きな端末で見たメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar {
	font-size: 0.85rem;	/*文字サイズ85%*/
	font-weight: bold;
	display: flex;	/*flexにして高さを下層へ自動で伝える*/
}
.large-screen #menubar > nav {
	display: flex;
}
.large-screen #menubar > nav > ul {
	display: flex;
	gap: 1.5rem;	/*メニュー同士に空けるスペース。1.5文字分。*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li a {
	display: block;text-decoration: none;
}

/*トップ階層のリンクだけ縦いっぱい＋文字を中央に（ドロップダウン内リンクは対象外）*/
.large-screen #menubar > nav > ul > li > a {
	display: flex;
	align-items: center;	/*文字を天地中央に*/
	height: 100%;	/*ヘッダーの高さいっぱいに*/
}

/*ボタン*/
.large-screen #menubar .btn a {
	border-bottom-left-radius: 30px;	/*左下だけ角を丸く*/
}

.large-screen #menubar .btn a{
    background:#003b8f;
    color:#fff !important;
    padding:0 28px;
    border-radius:0;
    border-bottom-left-radius:30px;
    font-weight:700;
}

/*ボタンのアイコン*/
.large-screen #menubar .btn i {
	margin-right: 0.4em;	/*アイコンとテキストの間に空けるスペース*/
	font-size: 1.5em;		/*アイコンサイズ*/
	line-height: 1;
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.large-screen #menubar ul ul {
	text-shadow: none;
	position: absolute;z-index: 100;
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	background: #ffffff;      /* 白・透過なし */
	color: #0b1f36;           /* 濃いネイビー文字 */
	padding: 0.5rem 1rem;
	border-radius: 3px;
	margin-top: 3px;
	border: 1px solid #dbe5ef;
}

/*マウスオン時*/
.large-screen #menubar ul ul a:hover {
	background: #005bac;
	color: #fff !important;
}

/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 50%;	/*画面の半分の幅*/
	height: 100%;
	padding: 100px var(--content-space-l) 50px;	/*上下に100px、左右にtheme.cssのcontent-space-lで指定しているサイズ、下に50pxの余白*/
	background: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}

.small-screen #menubar {display: none;}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.small-screen #menubar {
		width: 100%;	/*幅を100%に*/
	}

	}/*追加指定ここまで*/


/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
	border-radius: 5px;		/*角を少し丸くする*/
	background: #fff;		/*背景色*/
	color: #333;			/*文字色*/
}

/*ボタン*/
.small-screen #menubar .btn a {
	border: none;
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}
/*ボタンのアイコン*/
.small-screen #menubar .btn i {
	margin-right: 1em;	/*アイコンとテキストの間に空けるスペース*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	margin-left: 2rem;		/*左に２文字分のスペースを空ける*/
	padding: 0.5rem 1.5rem;	/*メニュー内の余白。上下に0.5文字分、左右に1.5文字分。*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";		/*このアイコンを使う*/
	margin-right: 1em;		/*アイコンとメニューテキストとの間に空けるスペース。1文字分。*/
	font-size: 0.7em;		/*アイコンサイズ。70%*/
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}


/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#menubar ul ul {display: none;}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	border-bottom-left-radius: 10px;	/*左下の角だけ丸くする*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: var(--primary-inverse-color);	/*線の色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;	/*背景色。*/
}
#menubar_hdr.ham span {
	background: #fff;	/*線の色。*/
}

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}



/*---------------------------------------------------------------------------
メイン画像
---------------------------------------------------------------------------*/
.mainimg * {
	margin: 0;
	padding: 0;
}

/*メイン画像ブロック全体*/
.mainimg {
	width: 100%;
	position: relative;
	overflow: hidden;
}

/*左側に黒グラデーションを重ねる*/
.mainimg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;

	background: linear-gradient(
		90deg,
		rgba(3,22,41,.88) 0%,
		rgba(3,22,41,.75) 32%,
		rgba(3,22,41,.42) 52%,
		rgba(3,22,41,.08) 75%,
		rgba(3,22,41,0) 100%
	);
}

/*画像ブロック*/
.mainimg .image {
	height: calc(100vh - 84px);
	min-height: 560px;
	position: relative;
}

/*画像*/
.mainimg .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/*テキストブロック（写真の上に重ねる）*/
.mainimg .text {
	position: absolute;
	left: 0;
	top: 0;
	width: 45%;
	height: 100%;
	z-index: 2;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2rem;
	padding-left: 5vw;
}

/*見出し*/
.mainimg .text h1 {
	font-weight: 500;
	font-size: clamp(30px, 3.5vw, 54px);
	line-height: 1.5;
	letter-spacing: 0.1em;
}

/*説明文*/
.mainimg .text p {
	font-size: 0.9rem;
}

/*ボタンブロック*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 1.1rem;
}

/*画面幅700px以下の追加指定*/
@media (max-width:700px) {

	.mainimg {
		display: flex;
		flex-direction: column-reverse;
	}

	.mainimg::before {
		display: none;
	}

	.mainimg .image {
		height: auto;
		min-height: 0;
	}

	.mainimg .text {
		position: static;
		width: 100%;
		padding: 2rem 1rem;
		align-items: center;
		text-align: center;
		color: #0b1f36;
		background: #fff;
	}

	.mainimg .text h1 br {
		display: none;
	}

}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.mainimg .slide-indicators {
    text-align: center;
	position: absolute;
	z-index: 3;
	width: 100%;
	bottom: 2vw;	/*ボタンの配置場所*/
	left: 0px;
}
/*１個あたり*/
.mainimg .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;	/*未アクティブ時のボタン色*/
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.mainimg .indicator.active {
    background: #d00000;	/*アクティブ時のボタン色*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字とSVG矢印を横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	text-decoration: none;
	background: var(--primary-color);		/*背景色。theme.csのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.csのprimary-inverse-colorを読み込みます。*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのprimary-colorを読み込みます。*/
	padding: 0.4rem 1.5rem;	/*上下に0.4文字分、左右に1.5文字分の余白*/
	font-weight: bold;		/*太字に*/
}

/*背景が白いタイプのボタン*/
.btn.inverse a {
	background: var(--primary-inverse-color);	/*背景色。theme.csのprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。theme.csのprimary-colorを読み込みます。*/
}

/*「→」のみのボタン*/
.btn-arrow a {
	display: block;text-decoration: none;
	padding-right: 0.5rem;
}

/*矢印アイコン（SVG・共通）*/
.arrow {
	display: inline-block;
	width: 2em;					/*矢印ブロック全体の長さ。文字サイズに連動*/
	height: 0.5em;				/*矢印の高さ*/
	vertical-align: middle;
	fill: none;
	stroke: currentColor;		/*親の文字色を継ぐ*/
	stroke-width: 1;			/*線の太さ。明朝・細字に合わせて細め*/
	stroke-linecap: square;
	stroke-linejoin: miter;
	overflow: visible;
	transition: transform 0.35s ease;
}

/*マウスオン時に矢印が右に動く*/
a:hover .arrow {
	transform: translateX(6px);
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
}


/*main
---------------------------------------------------------------------------*/
main {
	container-type: inline-size;
}

/*h2*/
main h2 {
	line-height: 1.5;
	display: flex;
	flex-direction: column-reverse;
	gap: 0.8rem;
	letter-spacing: 0.1em;
	margin-top: 0;
	font-weight: 500;	/*テキストの太さ。200〜900指で定可能。*/
}

/*上のライン*/
main h2::before {
	content: "";
	display: block;
	width: 3rem;	/*幅。3文字分。お好みで。*/
	height: 1px;	/*高さ。お好みで。*/
	background: var(--primary-color);	/*線の色。theme.cssのprimary-colorを読み込みます。*/
}

/*ライン無しにしたい場合*/
main h2.no-border::before {
	display: none;
}

/*センタリング時*/
main h2.c {
	width: fit-content;
	margin-inline: auto;
	text-align: center;
}

/*センタリング時のライン*/
main h2.c::before {
	margin-inline: auto;
}

/*h2内のspan*/
main h2 span {
	display: block;
	font-size: 0.7rem;	/*文字サイズ70%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*main内で使用するul,ol要素（リストタグ）*/
main ul,main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}



#link1 .top-lead,
#link1 .top-lead p {
	color: rgba(255,255,255,.86) !important;
}

#link1 .top-title span {
	color: #4da3ff !important;
}

/*---------------------------------------------------------------------------
flex1（OUR STRENGTHSのブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.flex1 {
	display: flex;	/*横並びに*/
	align-items: center;	/*上下中央に配置*/
	gap: 6vw;		/*テキストと写真の間に空けるスペース。画面幅の6%。*/
}

/*逆配置*/
.flex1.reverse {
	flex-direction: row-reverse;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.flex1,
	.flex1.reverse {
		flex-direction: column;	/*縦積みに*/
		align-items: flex-start;
	}

	}/*追加指定ここまで*/


/*画像ブロック*/
.flex1 .image {
	width: 50%;	/*幅。お好みで。*/
	position: relative;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.flex1 .image {
		width: 100%;
	}

	}/*追加指定ここまで*/



/* 測器ビル画像 */
.flex1 .building-image img {
	width: 400px;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

/*画像左下の装飾テキスト*/
.flex1 .image span {
	position: absolute;
	bottom: -0.6em;	/*画像に対しての下からの配置。マイナスがついているので本来と逆の方向に。*/
	left: -0.4em;	/*画像に対しての左からの配置。マイナスがついているので本来と逆の方向に。*/
	font-size: clamp(2rem, 6vw, 5rem);	/* 画面幅で滑らかに伸縮（最小2rem〜最大5rem） */
	line-height: 1;
	opacity: 0.1;	/*色を10%だけ出す。お好みで。*/
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
}

/*テキストブロック*/
.flex1 .text {
	flex: 1;
}


#link1 .btn {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

#link1 .btn a {
	min-width: 220px;
	justify-content: center;
}




/*---------------------------------------------------------------------------
list1（「事業内容」「私たちの強み」のブロック）
---------------------------------------------------------------------------*/
.list1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list1 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
	gap: 1.5rem;		/*ボックス同士の間に空けるスペース。1.5文字分。*/
}

	/*画面幅600px以下の追加指定*/
	@media (max-width:600px) {
	
	/*で1列に*/
	.list1 {
		grid-template-columns: minmax(0, 1fr);
	}

	}/*追加指定ここまで*/


/*ボックス１個あたり*/
.list1 .list {

	display: flex;
	flex-direction: column;
	gap: 1rem;	/*ボックス直下のブロック同士に空けるスペース。1文字分。*/
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	border-radius: 5px;	/*角を少しだけ丸く*/
	padding: 1rem;		/*ボックス内の余白*/
}


/*テキストボックス*/
.list1 .list .text {
	flex: 1;
	display: flex;
	flex-direction: column;	/*テキストボックス内を縦積みに*/
	gap: 0.5rem;	/*見出しと説明文の間に空けるスペース。0.5文字分。*/
}

/*h4見出し*/
.list1 .list h4 {
	font-size: 1.1rem;	/*文字サイズ1.1倍。*/
	line-height: 1.5;
}

/*説明文*/
.list1 .list p {
	line-height: 1.5;	/*行間を少し狭く*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*ボタン*/
.list1 .list .btn a {
	display: block;
	text-align: center;
}

/*写真ではなくアイコンで使う場合*/
.list1 .list .image.icon {
	margin: 0 auto;
	text-align: center;
	width: 4rem;		/*幅。4文字分。*/
	line-height: 4rem;	/*高さ。4文字分。*/
	border-radius: 50%;	/*円形に*/
	background: var(--primary-color);		/*背景色。thtme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。thtme.cssのprimary-inverse-colorを読み込みます。*/
}
/*アクセントカラー版*/
.list1 .list .image.icon.accent {
	background: var(--accent-color);		/*背景色。thtme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);		/*文字色。thtme.cssのaccent-inverse-colorを読み込みます。*/
}
/*アイコンサイズ。1.5倍。*/
.list1 .list .image.icon i {
	font-size: 1.5rem;
}



/* 事業内容カードの本文を見える色に */
.service-card p {
	color: #334155;
}

/* 品質セクションの本文色 */
.top-quality p,
.top-quality li {
	color: #334155;
}


.service-more-box {
    padding: 2.5rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.04);
}

.service-more-box .en {
    color: #5fb3ff;
    font-weight: 700;
    letter-spacing: .18em;
    margin: 0 0 1rem;
}

.service-more-box h3 {
    font-size: 1.55rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-more-box h3::before {
    display: none;
}

.service-more-box p {
    color: rgba(255,255,255,.9);
    line-height: 2;
}

.service-more-box .btn {
    margin-top: 2rem;
}

.service-more-box .btn a {
    background: #fff;
    color: #003b8f;
    border-color: #fff;
}

.service-more-box .btn a:hover {
    background: #5fb3ff;
    color: #fff;
    border-color: #5fb3ff;
}






/*---------------------------------------------------------------------------
list2（「GROUP NETWORK」ブロック）
---------------------------------------------------------------------------*/
.list2 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list2 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
	gap: 5rem;		/*ボックス同士の間に空けるスペース。5文字分。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.list2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));	/*2列*/
		gap: 1rem;	/*ボックス同士の間に空けるスペース。1文字分。*/
	}

	}/*追加指定ここまで*/


/*ナンバー*/
.list2 .no {
	text-align: center;
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	font-size: 1.5rem;			/*文字サイズ。1.5倍。*/
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
}

/*アイコンブロック*/
.list2 .image {
	width: 4rem;		/*幅。4文字分。*/
	line-height: 4rem;	/*高さ。4文字分。*/
	border-radius: 50%;	/*円形にする*/
	text-align: center;
	margin: 0 auto;
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-colorを読み込みます。*/
}
/*アイコン*/
.list2 .image i {
	font-size: 1.5rem;	/*アイコンサイズ。1.5倍。*/
}

/*文章*/
.list2 .text {
	text-align: center;	/*テキストをセンタリング。*/
}
.list2 .text p {
	font-size: 0.8em;	/*文字サイズ。親要素の80%。*/
	line-height: 1.5;	/*行間*/
}

/*最後のリスト以外に「▷」アイコンを入れる*/
.list2 > div:not(:last-child)::after {
	font-family: "Font Awesome 6 Free";
	content: "\f0da";	/*Font Awesomeのこのマークを表示させます*/
	font-weight: 900;
	position: absolute;
	right: -3rem;	/*アイコンを入れ替えたり、サイズを変更する際は、ここを微調整してみてください。*/
	top: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.5;	/*色を50%だけ出す*/
	line-height: 1;
	font-size: 1.5rem;	/*アイコンサイズ。1.5倍。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.list2 > div:not(:last-child)::after {
		content: "";	/*アイコンを消す*/
	}

	}/*追加指定ここまで*/




/*---------------------------------------------------------------------------
bg-image1（フッターの上にあるCONTACTブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.bg-image1 {
	display: flex;	/*横並びに*/
	gap: 1rem;
	margin-inline: calc(-1 * var(--content-space-l));
	background: var(--primary-light-color);	/*背景色。thtme.cssのprimary-light-colorを読み込みます。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 {
		flex-direction: column;	/*縦積みに*/
		padding: var(--content-space-l);
	}

	}/*追加指定ここまで*/


/*画像ブロック*/
.bg-image1 .image {
	width: 50%;	/*幅。お好みで。*/
	position: relative;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 .image {
		width: 100%;
		position: static;
	}

	}/*追加指定ここまで*/


/*画像*/
.bg-image1 .image img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mask-image: linear-gradient(to right, transparent, black 50%);/*グラデーションマスク。くっきり画像を出したいなら、この行と、下の１行をまとめて削除。*/
	-webkit-mask-image: linear-gradient(to right, transparent, black 50%);
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 .image img {
		position: static;
		mask-image: none;/*グラデーションのマスク解除*/
		-webkit-mask-image: none;
	}
	
	}/*追加指定ここまで*/


/*テキストブロック*/
.bg-image1 .text {
	flex: 1;
	padding: 5rem 2rem 4rem var(--content-space-l);	/*テキストの余白。上に5文字分、右に2文字分、下に4文字分、左はtheme.cssのcontent-space-lを読み込みます。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 .text {
		padding: 0;
	}

	}/*追加指定ここまで*/


/*ボタンブロック*/
.bg-image1 .btn-container p {margin: 0;padding: 0;}
.bg-image1 .btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;		/*2個以上ボタンを並べた場合の、間に空けるスペース。*/
}




/*free1（色々なレイアウト用）
---------------------------------------------------------------------------*/
/*ボックス内のh4*/
.free1 h4{
	margin: 0;
	font-size: 1.1rem;
}

/*画像の影をつける場合*/
.shadow {
	box-shadow: 4vw 4vw rgba(0,0,0,0.05);	/*右へ、下へ、0,0,0は黒のことで0.05は5%だけ色が出た状態。*/
}

/*画像と文字を囲むブロック*/
.free1 .list {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr)); /* 12等分 */
	gap: 5vw; /*要素間の隙間。画面幅100% = 100vwです。お好みで。*/
	margin-bottom: 5vw;	/*下に空けるスペース。お好みで。*/
	grid-auto-flow: dense;
}
.free1 .list:last-child {
  margin-bottom: 0;	/*最後のブロックの下マージンをなくす*/
}

/*imageとtextの設定*/
.free1 .image,
.free1 .text {
	align-self: center;
	position: relative;
}

/*画像をグリッド幅いっぱいに広げる*/
.free1 img {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: block;
}

/*imageのみの設定*/
.free1 .image {
	grid-column: 1 / -1;
}

/*textのみの設定*/
.free1 .text {
	grid-column: 1 / -1;
}

/*image-wide（横長で使う場合）*/
.free1 .image-wide {
	grid-column: 1 / -1;
}

/*image-01*/
.free1 .image-01 {
	grid-column: 8 / -1;
}
/*.text-01*/
.free1 .text-01 {
	grid-column: 1 / 8;
}
/*image-01（左右入れ替え用）*/
.free1 .list.reverse .image-01 {
	grid-column: 1 / 6;
}
/*text-01（左右入れ替え用）*/
.free1 .list.reverse .text-01 {
	grid-column: 6 / -1;
}

/*image-02*/
.free1 .image-02 {
	grid-column: 1 / 10;
}
/*text-02*/
.free1 .text-02 {
	grid-column: 1 / 10;
}
/*image-02（左右入れ替え用）*/
.free1 .list.reverse .image-02 {
	grid-column: 4 / -1;
}
/*text-02（左右入れ替え用）*/
.free1 .list.reverse .text-02 {
	grid-column: 4 / -1;
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {

	/*画像と文字を囲むブロック*/
	.free1 .list {
		display: block;
		margin-bottom: 3rem;
	}
	
	}/*追加指定ここまで*/


/*フッター
---------------------------------------------------------------------------*/
footer ul {list-style: none;margin: 0;padding: 0;}
footer p {margin: 0;}
footer a {text-decoration: none;}

/*フッターボックス全体（1カラム）*/
footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 3rem;			/*footer直下のボックスの間に空けるスペース。２文字分。*/
	font-size: 0.8rem;	/*文字サイズ80%*/
	padding: var(--content-space-s);	/*ボックス内の余白。theme.cssのcontent-space-sを読み込みます。*/
	border-top: 1px solid var(--bg-border-color);	/*上の線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
}

/*ロゴの最大幅*/
footer .logo {
	max-width: 150px;
}

/*footer内アイコンの右マージン（電話アイコン、メールアイコン等）*/
footer i {
	margin-right: 0.5rem;
}

/*footer内の各ブロック共通レイアウト（縦並び）*/
footer > div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/*フッターメニュー*/
footer .menu {
	flex-direction: row;	/*縦並びから横並びに上書き*/
	gap: 3vw;	/*中身（ulメニュー等）同士の間に空けるスペース。3%。*/
}

/*メニューの見出し*/
footer .title {
	font-weight: bold;
	margin-bottom: 0.5em;
}

/*Copyright部分（常に全カラムまたいで中央配置）*/
footer small {
	width: 100%;
	display: block;
	text-align: center;
	font-size: 0.8rem;
}



/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;display: block;
	background: rgba(0,0,0,0.5);
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: 900;
	margin-right: 0.5em;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1-border-parts
---------------------------------------------------------------------------*/
.bg1-border-parts {
	border-top: 1px solid var(--bg-border-color);		/*上の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
}

/*bg1-parts
---------------------------------------------------------------------------*/
.bg1-parts {
	background: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
}

/*bg1-primary-light-parts
---------------------------------------------------------------------------*/
.bg1-primary-light-parts {
	background: var(--primary-light-color);		/*背景色。theme.cssのprimary-light-colorを読み込みます。*/
	color: var(--primary-light-inverse-color);	/*文字色。theme.cssのprimary-light-inverse-colorを読み込みます。*/
}

/*bg1-light
---------------------------------------------------------------------------*/
.bg1-light-parts {
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*背景色。theme.cssのlight-inverse-colorを読み込みます。*/
}

/*bg-parts（bg1-primary-parts、bg1-light-parts、bg1-accent-partsとセットで使います）
---------------------------------------------------------------------------*/
.bg-parts {
	padding-top: var(--content-space-l);		/*ボックス内の上に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
	padding-bottom: var(--content-space-l);	/*ボックス内の下に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
}

/*背景色が続く場合に隙間を空けない*/
.bg-parts + .bg-parts {
	margin-top: calc(-1 * var(--content-space-l)) !important;
}


/*section内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x-parts {
	--bleed-x: var(--content-space-l);	/*エイリアスに*/
	width: calc(100% + (var(--bleed-x) * 2));	/*section内容の幅＋両サイドpadding（対象要素の幅）*/
	margin-left: calc(var(--bleed-x) * -1);
	margin-right: calc(var(--bleed-x) * -1);
	max-width: none;
}


/*左右によせる専用
---------------------------------------------------------------------------*/
.bleed-left-parts {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}
.bleed-right-parts {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}


/*その他
---------------------------------------------------------------------------*/
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.mt0 {margin-top: 0px !important;}
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.7);color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.85em;}
.large {font-size: 1.6em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}

/*大きな画面の場合*/
.large-screen .ws {width: 50%;}
.large-screen .sh {display: none;}
.large-screen .pc {display: block;}

/* =========================================================
   光陽測器トップページ
========================================================= */

:root {
	--koyo-navy: #072542;
	--koyo-blue: #005bac;
	--koyo-light: #f4f7fb;
	--koyo-line: #dbe5ef;
	--koyo-text: #0b1f36;
}


/* 共通 */
.top-section {
	padding: 5rem var(--content-space-l);
	margin: 0;
}

/* トップページ共通見出し */
.top-section h2,
.top-title,
.faq-box h2 {
	display: block;
	text-align: center;
	color: var(--koyo-text);
	font-size: clamp(28px, 3vw, 42px);
	letter-spacing: .08em;
	line-height: 1.5;
}

.top-section h2::before,
.top-title::before,
.faq-box h2::before {
	display: none !important;
	content: none !important;
}

.top-section h2 span,
.top-title span,
.faq-box h2 span {
	display: block;
	color: var(--koyo-blue);
	font-size: .78rem;
	letter-spacing: .16em;
	margin-top: .5rem;
}

.top-section h2::after,
.top-title::after,
.faq-box h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	background: var(--koyo-blue);
	margin: 1rem auto 0;
}

/* 紺背景セクションの見出し */


.top-lead {
	text-align: center;
	color: #38506a;
	margin-bottom: 2rem;
}

.center {
	text-align: center;
}

.top-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-width: 180px;
	padding: .8rem 1.5rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid currentColor;
}

.top-btn.primary {
	background: #003b8f;
	color: #fff !important;
	border-color: #003b8f;
}

.top-btn.outline {
	background: rgba(255,255,255,.05);
	color: #fff !important;
	border-color: rgba(255,255,255,.65);
}

.top-btn.white {
	color: #fff !important;
	border-color: rgba(255,255,255,.55);
	background: rgba(255,255,255,.05);
}

.white-btn {
	background: #fff;
	color: #003b8f !important;
	border-color: #fff;
}

/* メインビジュアル */
.top-hero {
	min-height: 620px;
	margin: 0;
	padding: 84px 0 0;
	display: flex;
	align-items: center;
	background:
		linear-gradient(90deg, rgba(3,22,41,.88) 0%, rgba(3,22,41,.72) 38%, rgba(3,22,41,.15) 72%),
		url("../images/mainimg.jpg") center/cover no-repeat;
	color: #fff;
}

.top-hero-text {
	width: min(1180px, 92%);
	margin: 0 auto;
}

.top-hero-text .en {
	color: #9dc8f6;
	letter-spacing: .15em;
	font-size: .78rem;
	margin-bottom: 1rem;
}

.top-hero h2 {
	font-size: clamp(38px, 5vw, 72px);
	line-height: 1.45;
	letter-spacing: .08em;
	margin: 0 0 1.8rem;
	color: #fff !important;
	text-align: left;
}

.top-hero h2::after {
	content: "";
	display: block;
	width: 120px;
	height: 2px;
	background: #5fb3ff;
	margin-top: 1.5rem;
}

.top-hero p {
	font-size: clamp(15px, 1.25vw, 18px);
	font-weight: 700;
	line-height: 2;

}

.top-hero-btns {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}


/* メイン画像のボタン hover */

.mainimg .btn a {
	transition: background-color .3s, color .3s, border-color .3s;
}

/* 会社概要を見る：通常 */
.mainimg .btn:not(.inverse) a {
	background: #003b8f;
	color: #fff;
}

/* 両方：hover */
.mainimg .btn a:hover,
.mainimg .btn.inverse a:hover {
	background: #2f6fb5 !important;
	color: #fff !important;
	border-color: #2f6fb5 !important;
}


/* 強み4つ */
.top-points {
	margin: 0;
	padding: 2rem var(--content-space-l);
	background: #fff;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.point {
	text-align: center;
	padding:3rem 2rem;
	border-right: 1px solid var(--koyo-line);
}

.point:last-child {
	border-right: none;
}

#link1 .top-title {
	color: #fff;
}

#link1 .top-title span {
	color: #5fb3ff;
}


/* 選ばれる理由ボタン */
.flex1 .btn a {
	background: #fff;
	color: #003b8f !important;
	border: 1px solid #003b8f;
	transition: .3s;
}

/* カーソルを乗せた時 */
.flex1 .btn a:hover {
	background: #2f6fb5;
	color: #fff !important;
	border-color: #2f6fb5;
}

/* 通常時の矢印 */
.flex1 .btn a .arrow {
	stroke: #003b8f;
	transition: .3s;
}

/* カーソルを乗せた時の矢印 */
.flex1 .btn a:hover .arrow {
	stroke: #fff;
}




/* アイコン丸 */
.point-icon{

	width:88px;
	height:88px;

	margin:0 auto 1.4rem;

	border:1px solid #b8d4f5;
	border-radius:50%;

	display:flex;
	align-items:center;
	justify-content:center;

}


/* SVG */
.point-icon img{

width:38px;
height:38px;

}

.point h3 {
	color: #003b8f;
	margin: 0 0 .5rem;
}

.point p {
	font-size: .9rem;
	line-height: 1.7;
	margin: 0;
	color: #334155 !important;
}

/* 事業内容 */
.top-services {
	background: #072542;
	padding: 5rem var(--content-space-l);
}



.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2.5rem;
}

.service-card {
	background: #fff;
	border: 1px solid #e1e8f0;
	box-shadow: 0 8px 22px rgba(0,37,80,.06);
	transition: .25s;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.service-card img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
}


.service-card h3 {
	margin: 1.15rem 1.15rem .6rem;
	color: #003b8f;
	font-size: 1.05rem;
}

.service-card p {
	margin: 0 1.15rem 1rem;
	line-height: 1.65;
	font-size: .88rem;
}

.service-card a {
	display: block;
	margin: 0 1.15rem 1.15rem;
	color: #003b8f;
	font-weight: 700;
	text-decoration: none;
	font-size: .9rem;
}

.service-card a::after {
	content: " →";
}


.service-more-box h3{
    color:#fff;
    font-size:2rem;
    line-height:1.5;
    margin:0 0 1rem;
    font-weight:700;
}



/* 事業内容を詳しく見る hover */
.service-more-box .btn a {
	transition: background-color .3s, color .3s, border-color .3s;
}

.service-more-box .btn a:hover {
	background: #2f6fb5 !important;
	color: #fff !important;
	border-color: #2f6fb5 !important;
}




/* 事業内容の見出し */
.top-services h2 {
	color: #fff;
}

.top-services h2 span {
	color: #5fb3ff;
}

.top-services h2::after {
	background: #5fb3ff;
}


/* 営電グループ */
.top-group {
	background: #fff;
	text-align: center;
}

.top-group .top-title {
	text-align: center;
}

.top-group .top-title::after {
	margin-left: auto;
	margin-right: auto;
}

.top-group .top-lead {
	text-align: center;
	color: #003b8f;
	font-weight: 700;
	line-height: 2;
	margin-bottom: 2.5rem;
}

.group-flow {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
	align-items: stretch;
	max-width: 1180px;
	margin: 0 auto;
}

.group-flow div {
	height: 150px;
	border: 1px solid #ccd9e8;
	background: #fff;
	display: grid;
	place-items: center;
	text-align: center;
	position: relative;
	color: #003b8f;
	font-weight: 700;
	padding: .8rem;
}

.group-flow div:not(:last-child)::after {
	content: "▶";
	position: absolute;
	right: -1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #003b8f;
	font-size: .75rem;
}

.group-flow img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: .8rem;
	font-size: 2rem;
}



.group-flow span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.group-flow small {
    font-size: .72rem;
    color: #666;
}

.group-btn-wrap {
    display: block;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.group-btn-wrap .top-link {
    display: inline-block;
    background: #fff;
    color: #003b8f !important;
    border: 1px solid #003b8f;
    padding: 0.8rem 1.6rem;
    font-weight: 700;
    text-decoration: none;
}

.group-btn-wrap .top-link:hover {
    background: #003b8f;
    color: #fff !important;
}


/* 生産設備 */
.top-equipment {
	margin: 0;
	padding: 4rem var(--content-space-l);
	background: linear-gradient(135deg, #00295d 0%, #061b32 100%);
	color: #fff;
}

.equipment-head {
	display: flex;
	align-items: end;
	gap: 2rem;
	margin-bottom: 2rem;
}

.top-equipment h2 {
	color: #fff;
	text-align: left;
	margin: 0;
}

.top-equipment h2 span {
	color: #5fb3ff;
}

.top-equipment h2::before,
.top-equipment h2::after {
	display: none;
}

.top-equipment p {
	margin: 0;
}

.equipment-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
}

.equipment-grid figure {
	margin: 0;
	background: rgba(255,255,255,.08);
}

.equipment-grid img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
}

.equipment-grid figcaption {
	text-align: center;
	font-weight: 700;
	line-height: 1.6;
	padding: .75rem .5rem;
}

.top-btn.outline.white {
	transition: .3s;
}



/* 生産設備一覧を見る hover */
.top-btn.outline.white:hover {
	background: #fff;
	color: #003b8f !important;
	border-color: #fff;
}





/* =================================================
品質への取り組みのブロック
================================================= */
.top-quality {
	display: grid;
	grid-template-columns: 50% 50%;
	align-items: stretch;
	padding: 0;
	background: #f6f9fc;
	overflow: hidden;
}

.quality-text {
	padding: 4rem 5vw 4rem 7vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.quality-images {
	width: 100%;
	height: 430px;
	overflow: hidden;
	align-self: center;
}

.quality-images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* スマホ */
@media (max-width: 700px) {

	.top-quality {
		grid-template-columns: 1fr;
	}

	.quality-text {
		padding: 3.5rem 6vw;
	}

	.quality-images {
		height: 280px;
	}

	.quality-images img {
		height: 100%;
	}
}


/* =================================================
対応分野のブロック
================================================= */

.top-fields {
	background: #072542;
}

/* 見出し「対応分野」 */
.top-fields .top-title {
	color: #fff;
}

/* 英字「FIELDS」 */
.top-fields .top-title span {
	color: #5fb3ff;
}

/* 見出し下の線 */
.top-fields .top-title::after {
	background: #5fb3ff;
}

/* 説明文 */
.top-fields .top-lead {
	color: rgba(255,255,255,.86);
}


.field-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
}

.field-grid figure {
	margin: 0;
	background: #003b8f;
	overflow: hidden;
}

.field-grid img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	opacity: 1;
	transition: .3s;
}

.field-grid figure:hover img {
	transform: scale(1.04);
}

.field-grid figcaption {
	background: #003b8f;
	color: #fff;
	text-align: center;
	padding: .8rem;
	font-weight: 700;
}

/* 電子計測器の商品写真 */
.field-grid .field-product {
	background: #eef2f6;
}

.field-grid .field-product img {
	object-fit: cover;
	background: #eef2f6;
	padding: 0;
}



/* スマホ */
@media (max-width: 700px) {
	.field-grid {
		grid-template-columns: 1fr;
	}

	.field-grid img {
		height: 200px;
	}
}



/* FAQ + お問い合わせ */
.top-bottom {
	display: grid;
	grid-template-columns: 38% 1fr;
	gap: 2rem;
	background: #fff;
}

.faq-box h2 {
	margin-top: 0;
}

.faq-box details {
	border-bottom: 1px solid #dce5ef;
	padding: .85rem 0;
}

.faq-box summary {
	cursor: pointer;
	color: #082b55;
	font-weight: 700;
}

.faq-box p {
	margin: .7rem 0 0;
	line-height: 1.7;
	color: #334155;
}

.contact-box {
	background: linear-gradient(135deg, #003b8f 0%, #061b32 100%);
	color: #fff;
	padding: 2.5rem;
}

.contact-box h2 {
	color: #fff;
	text-align: left;
	margin-top: 0;
	font-size: clamp(22px, 2.2vw, 32px);
}

.contact-box h2::after {
	display: none;
}

.contact-box p {
	line-height: 2;
}

.contact-inner {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.tel {
	font-size: 1.8rem;
	font-weight: 700;
}

.tel span {
	display: block;
	font-size: .8rem;
	font-weight: 400;
}



a.top-btn.white-btn {
	transition: .3s;
}



a.top-btn.white-btn:hover {
	background: #2f6fb5;
	color: #fff !important;
	border-color: #2f6fb5;
}



/* レスポンシブ */
@media (max-width: 1100px) {
	.service-grid,
	.field-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.equipment-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.top-points {
		grid-template-columns: repeat(2, 1fr);
	}

	.point:nth-child(2) {
		border-right: none;
	}
}






@media (max-width: 800px) {
	.top-hero {
		min-height: 520px;
		padding-top: 70px;
	}

	.top-points,
	.top-group,
	.top-quality,
	.top-bottom {
		grid-template-columns: 1fr;
	}

	.service-grid,
	.field-grid,
	.equipment-grid {
		grid-template-columns: 1fr;
	}

	.group-flow {
		grid-template-columns: repeat(2, 1fr);
	}

	.group-flow div:not(:last-child)::after {
		display: none;
	}

	.quality-images {
		grid-template-columns: 1fr;
	}

	.quality-images img {
		height: 230px;
	}

	.equipment-head {
		display: block;
	}
}

@media (max-width: 600px) {
	header .logo img {
		width: 210px;
	}

	.top-section {
		padding: 3.5rem 1rem;
	}

	.top-hero h2 {
		font-size: 34px;
	}

	.top-hero p br {
		display: none;
	}

	.top-points {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.point {
		border-right: none;
		border-bottom: 1px solid var(--koyo-line);
	}

	.point:last-child {
		border-bottom: none;
	}
}



/*-------------------------------------------------
 recruit page(採用情報のページ)
---------------------------------------------------------------------------*/

.recruit-hero {
    margin: 0;
    padding: 100px 0 0;
    height: 320px;
}

.recruit-hero-text {
    padding-left: 7vw;
    color: #fff;
}

.recruit-hero-text p {
    color: #5fb3ff;
    letter-spacing: .18em;
    font-weight: 700;
}

.recruit-hero-text h1 {
    font-size: clamp(38px, 5vw, 68px);
    letter-spacing: .12em;
    line-height: 1.1;
    margin: 0;
}

.recruit-hero-text h1::after {
    content: "";
    display: block;
    width: 110px;
    height: 2px;
    background: #5fb3ff;
    margin-top: 1.5rem;
}

.recruit-section {
    padding: 5rem var(--content-space-l);
    margin: 0;
    background: linear-gradient(180deg, #07294b 0%, #041f3a 100%);
}

.recruit-title {
    text-align: center;
    color: #0b1f36;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: .08em;
}

.recruit-title span {
    display: block;
    color: #6ec1ff;
    font-size: .78rem;
    letter-spacing: .16em;
    margin-top: .5rem;
}

.recruit-message h2 {
    color: #002d6b;
    font-size: clamp(24px, 2.4vw, 36px);
    margin-top: 0;
}

.recruit-message h2,
.recruit-status h2,
.recruit-contact h2 {
    font-size: clamp(24px, 2.4vw, 36px);
}

.recruit-message h2::before,
.recruit-message h2::after,
.recruit-status h2::before,
.recruit-status h2::after,
.recruit-contact h2::before,
.recruit-contact h2::after {
    display: none;
    content: none;
}


.recruit-lead {
    max-width: 850px;
    margin: 2rem auto;
    text-align: center;
    line-height: 2;
    color: #26384d;
}

.recruit-message {
    max-width: 920px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #dbe5ef;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,37,80,.06);
}

.recruit-message h3 {
    color: #002d6b;
    font-size: clamp(24px, 2.4vw, 36px);
}

.recruit-message p {
    line-height: 2;
    color: #222 !important;
    font-size: 1.05rem;
}

.recruit-grid {
    max-width: 1100px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.recruit-status {
    max-width: 900px;
    margin: 4rem auto;
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #dbe5ef;
}

.recruit-status h2 {
    text-align: center;
    color: #0b1f36;
    margin-top: 0;
}

.recruit-status table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #9fb3c8;
}

.recruit-status th,
.recruit-status td {
    padding: 1rem;
    border-bottom: 1px solid #9fb3c8;
}

.recruit-status th {
    width: 35%;
    background: #eef3f8;
    color: #003b8f;
    text-align: left;
}

.recruit-status td {
    color: #222 !important;
    font-weight: 600;
}

.recruit-contact {
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #003b8f 0%, #061b32 100%);
    color: #fff;
    text-align: center;
}

.recruit-contact h2 {
    color: #fff;
    margin-top: 0;
}

.recruit-contact p {
    line-height: 2;
}

.recruit-contact .btn a {
    background: #fff;
    color: #003b8f;
    border-color: #fff;
}

@media (max-width: 800px) {
    .recruit-grid {
        grid-template-columns: 1fr;
    }

    .recruit-hero {
        height: 360px;
        padding-top: 90px;
    }

    .recruit-section {
        padding: 3.5rem 1rem;
    }

    .recruit-status th,
    .recruit-status td {
        display: block;
        width: 100%;
    }

    .recruit-status th {
        border-bottom: none;
    }
}


/* リクルートページ：ボタンのホバー */
.recruit-contact .btn a:hover {
    background: #00a0e9;
    color: #fff;
    border-color: #00a0e9;
}


/* リクルートページの見出し下線を消す */
.recruit-status h2::after,
.recruit-contact h2::after {
	display: none;
	content: none;
}


/*-------------------------------------------------
	service page（事業内容のページ）
-------------------------------------------------*/



/*-------------------------------------------------
	事業内容ページ ヒーロー
-------------------------------------------------*/

.service-hero {
	margin: 0;
	min-height: 520px;
	padding: 120px 0 0;

	background:
		linear-gradient(
			90deg,
			rgba(5,26,48,.96) 0%,
			rgba(5,26,48,.90) 38%,
			rgba(5,26,48,.45) 62%,
			rgba(5,26,48,.05) 100%
		),
		url("../images/service.jpg") center center / cover no-repeat;

	display: flex;
	align-items: flex-start;
}

.service-hero-text {
	width: 55%;
	max-width: 760px;
	padding-top: 30px;
	padding-left: 7vw;
	padding-right: 2rem;
	color: #fff;
}

/* 英語 */
.service-hero-text .service-en {
	margin: 0 0 1rem;
	color: #5fb3ff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .18em;
}

/* 事業内容 */
.service-hero-text h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .1em;
}

.service-hero-text h1::before {
	display: none;
	content: none;
}

.service-hero-text h1::after {
	content: "";
	display: block;
	width: 110px;
	height: 2px;
	margin-top: 1.4rem;
	background: #5fb3ff;
}

.service-hero-text h1 {
	color: #fff;
	text-shadow: 0 3px 12px rgba(0,0,0,.4);
}

/* 説明文 */
.service-hero-lead {
	max-width: 680px;
	margin: 2rem 0 0;
	color: rgba(255, 255, 255, .94);
	font-size: 1rem;
	line-height: 2;
}

.service-hero-lead p {
	color: #fff;
	font-weight: 700;
	line-height: 2.1;
	text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.service-hero-lead p + p {
	margin-top: 1rem;
}


/* タブレット */
@media (max-width: 900px) {

	.service-hero-text {
		width: 68%;
	}
}


/* スマートフォン */
@media (max-width: 600px) {

	.service-hero {
		min-height: 520px;
		padding-top: 90px;
		background:
	linear-gradient(
		90deg,
		rgba(5,26,48,.96) 0%,
		rgba(5,26,48,.90) 38%,
		rgba(5,26,48,.45) 62%,
		rgba(5,26,48,.05) 100%
	),
	url("../images/service-main.jpg") center center / cover no-repeat;
	}

	.service-hero-text {
		width: 100%;
		max-width: none;
		padding: 2rem 1.5rem;
	}

	.service-hero-text h1 {
		font-size: 38px;
	}

	.service-hero-lead {
		font-size: .95rem;
		line-height: 1.9;
	}
}


/* ページ内共通見出し
   日本語 → 英語 → 下線
---------------------------------------------------------------------------*/
.service-section-title {
	display: block;
	margin: 0 0 2rem;
	color: #fff;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .08em;
	text-align: center;
}

.service-section-title::before {
	display: none !important;
	content: none !important;
}

.service-section-title span {
	display: block;
	margin-top: .75rem;
	margin-bottom: .8rem;
	color: #5fb3ff;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .18em;
}

.service-section-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 2px;
	margin: 0 auto;
	background: #5fb3ff;
}


/* 白背景用の見出し */
.service-section-title.dark {
	color: #082b55;
}

.service-section-title.dark span {
	color: #005bac;
}

.service-section-title.dark::after {
	background: #005bac;
}


/* リード部分
---------------------------------------------------------------------------*/
.service-lead {
	max-width: none;
	margin: 0;
	padding: 5rem var(--content-space-l);
	background: #072542;
	text-align: center;
}

.service-lead p {
	max-width: 920px;
	margin: 0 auto;
	color: rgba(255,255,255,.95);
	font-size: 1rem;
	line-height: 2.1;
}


/* 一貫対応の流れ
---------------------------------------------------------------------------*/
.service-flow-section {
	max-width: none;
	margin: 0;
	padding: 5rem var(--content-space-l);
	background: #f5f9fc;
}

.service-flow {
	max-width: 1180px;
	margin: 2.5rem auto 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}

.service-flow div {
	position: relative;
	min-height: 64px;
	padding: 1rem .5rem;
	background: #005bac;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 700;
	line-height: 1.4;
}

.service-flow div:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -18px;
	z-index: 2;
	transform: translateY(-50%);
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
	border-left: 18px solid #005bac;
}


/* 各工程を囲む部分
---------------------------------------------------------------------------*/
.service-detail {
	max-width: 1180px;
	margin: 4rem auto;
	padding: 0 2rem;
}


/* 各工程 */
.service-detail-item {
	display: grid;
	grid-template-columns: 42% minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	margin-bottom: 1.5rem;
	padding: 2rem;
	background: #f5f9fc;
}

.service-detail-item:last-child {
	margin-bottom: 0;
}


/* 偶数番は写真を右側に */
.service-detail-item.reverse {
	grid-template-columns: minmax(0, 1fr) 42%;
}

.service-detail-item.reverse .image {
	grid-column: 2;
	grid-row: 1;
}

.service-detail-item.reverse .text {
	grid-column: 1;
	grid-row: 1;
}


/* 工程写真 */
.service-detail-item .image img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}


/* 01と基板実装を横並び */
.service-heading {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	margin-bottom: 1.4rem;
}


/* 工程番号 */
.service-no {
	flex-shrink: 0;
	margin: 0;
	color: #7fc3f3;
	font-family: var(--accent-font), var(--base-font);
	font-size: clamp(42px, 5vw, 70px);
	font-weight: 800;
	line-height: 1;
}


/* 工程名 */
.service-heading h2 {
	display: block;
	margin: 0;
	color: #082b55;
	font-size: clamp(27px, 2.7vw, 39px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .04em;
}

.service-heading h2::before,
.service-heading h2::after {
	display: none !important;
	content: none !important;
}


/* 工程説明文 */
.service-description,
.service-detail-item .service-description {
	margin: 0;
	color: #222 !important;
	font-size: 1rem;
	font-weight: 400;
	line-height: 2;
	opacity: 1;
}


/* 対応内容 */
.service-detail-item ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;
}

.service-detail-item li {
	padding: .8rem 1rem;
	border: 1px solid #cddcea;
	background: #fff;
	color: #082b55;
	font-weight: 700;
	line-height: 1.5;
}

.service-detail-item li::before {
	content: "✓";
	margin-right: .55em;
	color: #005bac;
}


/* 対応分野
---------------------------------------------------------------------------*/
.service-fields {
	max-width: 1080px;
	margin: 5rem auto;
	padding: 3rem;
	border: 1px solid #cfe3f7;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0,40,90,.08);
	text-align: center;
}

.service-fields p {
	max-width: 760px;
	margin: 0 auto;
	color: #222;
	line-height: 2;
}

.service-field-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: .75rem;
	margin: 2rem 0 0;
	padding: 0;
}

.service-field-grid div {
	padding: .9rem .6rem;
	border: 1px solid #cddcea;
	background: #f8fbff;
	color: #082b55;
	font-weight: 700;
	line-height: 1.5;
}

.service-field-grid div::before {
	content: "✓";
	margin-right: .45em;
	color: #005bac;
}


/* お問い合わせ
---------------------------------------------------------------------------*/
.service-contact {
	max-width: 1080px;
	margin: 5rem auto;
	padding: 3rem 2rem;
	background: linear-gradient(
		135deg,
		#003b8f 0%,
		#061b32 100%
	);
	color: #fff;
	text-align: center;
}

.service-contact h2 {
	display: block;
	margin: 0 0 1.5rem;
	color: #fff;
	font-size: clamp(25px, 2.7vw, 38px);
	line-height: 1.6;
	letter-spacing: .06em;
}

.service-contact h2::before,
.service-contact h2::after {
	display: none !important;
	content: none !important;
}

.service-contact p {
	margin: 0;
	color: rgba(255,255,255,.92);
	line-height: 2;
}

.service-contact .btn {
	margin-top: 2rem;
}

.service-contact .btn a {
	border-color: #fff;
	background: #fff;
	color: #003b8f;
}

.service-contact .btn a:hover {
	border-color: #5fb3ff;
	background: #5fb3ff;
	color: #fff;
}


/* タブレット
---------------------------------------------------------------------------*/
@media (max-width: 900px) {

	.service-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-flow div:not(:last-child)::after {
		display: none;
	}

	.service-detail-item,
	.service-detail-item.reverse {
		display: block;
	}

	.service-detail-item.reverse .image,
	.service-detail-item.reverse .text {
		grid-column: auto;
		grid-row: auto;
	}

	.service-detail-item .image {
		margin-bottom: 1.8rem;
	}

	.service-detail-item .image img {
		height: 300px;
	}

	.service-field-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* スマートフォン
---------------------------------------------------------------------------*/
@media (max-width: 600px) {

	.service-hero {
		height: 360px;
		padding-top: 100px;
	}

	.service-hero-text {
		padding: 2rem 1.5rem;
	}

	.service-hero-text h1 {
		font-size: 36px;
	}

	.service-lead,
	.service-flow-section {
		padding: 3.5rem 1rem;
	}

	.service-lead p br {
		display: none;
	}

	.service-flow {
		grid-template-columns: 1fr;
	}

	.service-detail {
		margin: 3rem auto;
		padding: 0 1rem;
	}

	.service-detail-item {
		padding: 1.4rem;
	}

	.service-detail-item .image img {
		height: 220px;
	}

	.service-heading {
		gap: 1rem;
		margin-bottom: 1.2rem;
	}

	.service-no {
		font-size: 45px;
	}

	.service-heading h2 {
		font-size: 27px;
	}

	.service-detail-item ul {
		grid-template-columns: 1fr;
	}

	.service-fields,
	.service-contact {
		margin: 3rem 1rem;
		padding: 2rem 1.3rem;
	}

	.service-field-grid {
		grid-template-columns: 1fr;
	}
}


/*--------------------------------------------------------------------------- 
equipment page(設備)
---------------------------------------------------------------------------*/

.equipment-page {
	background: #071b33;
	color: #fff;
}

.equipment-hero {
	margin: 0;
	min-height: 680px;
	padding: 120px 0 0;
	background:
		linear-gradient(
			90deg,
			rgba(5,26,48,.96) 0%,
			rgba(5,26,48,.9) 38%,
			rgba(5,26,48,.45) 62%,
			rgba(5,26,48,.05) 100%
		),
		url("../images/equipment_hero.jpg") center center / cover no-repeat;
	display: flex;
	align-items: flex-start;
}

.equipment-hero-text {
	width: 52%;
	padding-left: 7vw;
	padding-top: 30px;
	color: #fff;
}

.equipment-en {
	color: #5fb3ff;
	letter-spacing: .18em;
	font-size: .75rem;
	font-weight: 700;
	margin-bottom: 1.4rem;
}

.equipment-hero-text h1 {
	font-size: clamp(40px, 5vw, 62px);
	letter-spacing: .12em;
	line-height: 1.2;
	margin: 0 0 1.5rem;
}

.equipment-hero-text h1::after {
	content: "";
	display: block;
	width: 110px;
	height: 2px;
	background: #5fb3ff;
	margin-top: 1.5rem;
}

.equipment-hero-text h2 {
	font-size: clamp(28px, 3vw, 46px);
	line-height: 1.5;
	letter-spacing: .08em;
	margin: 5rem 0 2rem;
}

.equipment-lead {
	font-weight: 700;
	line-height: 2.1;
	color: #fff;
	margin-bottom: 1.5rem;
}



.equipment-section {
	padding: 5rem var(--content-space-l);
	background: #0b2545;
}




/* 見出し：日本語 → 英語 → 青線 */
.equipment-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.3;
	letter-spacing: .08em;
	margin-bottom: 3rem;
	color: #fff;
}

/* 共通CSSの線を消す */
.equipment-title::before {
	display: none !important;
}

/* 青線を下に表示 */
.equipment-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	background: #5fb3ff;
	margin: 1rem auto 0;
}

.equipment-title span {
	display: block;
	font-size: .8rem;
	color: #5fb3ff;
	letter-spacing: .2em;
	margin-top: .7rem;
}

.equipment-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.equipment-card {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 16px 35px rgba(0,0,0,.22);
	transition: .3s;
}

.equipment-card:hover {
	transform: translateY(-6px);
	background: rgba(255,255,255,.12);
}

.equipment-card img {
	width: 100%;
	height: 260px;
	object-fit: contain;
	background: #fff;
	padding: 10px;
	display: block;
}

.equipment-card-text {
	padding: 1.6rem;
}

.equipment-category {
	color: #5fb3ff;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .08em;
	margin-bottom: .5rem;
}

.equipment-card h3 {
	font-size: 1.35rem;
	margin-bottom: 1rem;
	color: #fff;
}

.equipment-card p {
	line-height: 1.8;
	color: #dce8f5;
}

.equipment-flow {
	padding: 5rem var(--content-space-l);
	background: linear-gradient(180deg, #0b2545, #071b33);
}

.flow-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.flow-item {
	position: relative;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	padding: 1rem 1.8rem;
	color: #fff;
	font-weight: 700;
}

.flow-item:not(:last-child)::after {
	content: "→";
	position: absolute;
	right: -1.1rem;
	color: #5fb3ff;
}

.equipment-strength {
	padding: 5rem var(--content-space-l);
	background: #071b33;
}

.equipment-strength-box {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 24px;
	padding: 4rem 3rem;
}

.equipment-strength-box h2 {
	font-size: clamp(28px, 3vw, 42px);
	margin-bottom: 1.5rem;
}



.equipment-strength-box p {
	line-height: 2;
	color: #dce8f5;
}



/*---------------------------------
設備と技術で、ものづくりを支える
---------------------------------*/

.equipment-strength-box h2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.3;
	margin-bottom: 2rem;
	color: #fff;
}

/* 共通CSSの左側の線を消す */
.equipment-strength-box h2::before {
	display: none !important;
}

/* 下に青線を表示 */
.equipment-strength-box h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	background: #5fb3ff;
	margin-top: 1rem;
}




/*---------------------------------
設備ページ お問い合わせはこちら
---------------------------------*/

.equipment-strength .btn a {
	transition: all .3s ease;
}

.equipment-strength .btn a:hover {
	background: #fff;
	color: #005bac;
	border: 1px solid #005bac;
}




/*-------------------------------------------------
設備画像の拡大表示
-------------------------------------------------*/

.equipment-image-link {
	display: block;
	position: relative;
	cursor: zoom-in;
	overflow: hidden;
	background: #fff;
}

.equipment-image-link img {
	transition: transform .35s ease;
}

.equipment-image-link:hover img {
	transform: scale(1.03);
}

.equipment-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	transition:
		opacity .3s ease,
		visibility .3s ease;
}

.equipment-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.equipment-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(3, 15, 29, .72);
	backdrop-filter: blur(3px);
}

.equipment-modal-window {
	position: relative;
	z-index: 1;
	width: min(760px, 88vw);
	max-height: 85vh;
	padding: 22px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
	text-align: center;
	transform: scale(.92) translateY(15px);
	opacity: 0;
	transition:
		transform .35s ease,
		opacity .35s ease;
}

.equipment-modal.is-open .equipment-modal-window {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.equipment-modal-image {
	display: block;
	width: 100%;
	max-height: 68vh;
	object-fit: contain;
	background: #fff;
}

.equipment-modal-caption {
	margin: 14px 0 0;
	color: #0b1f36;
	font-weight: 700;
	line-height: 1.6;
}

.equipment-modal-close {
	position: absolute;
	top: -16px;
	right: -16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #005bac;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
	transition: background .2s ease;
}

.equipment-modal-close:hover {
	background: #071b33;
}

body.modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {

	.equipment-modal {
		padding: 20px;
	}

	.equipment-modal-window {
		width: 94vw;
		padding: 14px;
	}

	.equipment-modal-close {
		top: -12px;
		right: -8px;
		width: 38px;
		height: 38px;
		font-size: 26px;
	}

	.equipment-modal-caption {
		font-size: .9rem;
	}
}



/* responsive
---------------------------------------------------------------------------*/

@media (max-width: 900px) {

	.equipment-list {
		grid-template-columns: repeat(2, 1fr);
	}

}

@media (max-width: 600px) {

	.equipment-hero {
		min-height: 620px;
		padding-top: 100px;
		background-position: center center;
	}

	.equipment-hero-text {
		width: 100%;
		padding: 2rem;
	}

	.equipment-hero-text h2 {
		margin-top: 3rem;
	}

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

	.flow-list {
		flex-direction: column;
	}

	.flow-item {
		text-align: center;
	}

	.flow-item:not(:last-child)::after {
		content: "↓";
		right: auto;
		left: 50%;
		bottom: -1.4rem;
		transform: translateX(-50%);
	}

	.equipment-strength-box {
		padding: 3rem 1.5rem;
	}

}



/*---------------------------------------------------------------------------
form-simple(お問い合わせページ)
---------------------------------------------------------------------------*/
.contact-form-block {
    width: 100%;
}

.form-global-error {
    border: 1px solid #f0c2c2;
    background: #fff4f4;
    color: #9b2e2e;
}

.js-ajax-form[hidden] {
    display: none !important;
}

.form-row + .form-row {
    margin-top: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    font-weight: 700;
    line-height: 1.5;
}

.required-badge {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    background: #d94c4c;
    vertical-align: middle;
}

.contact-form-inner input[type="text"],
.contact-form-inner input[type="email"],
.contact-form-inner input[type="file"],
.contact-form-inner select,
.contact-form-inner textarea {
    width: 100%;
    appearance: none;
    border: 1px solid #d6dbeb;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: #fff;
    font: inherit;
    line-height: 1.6;
    color: #222;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.contact-form-inner input[type="file"] {
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.contact-form-inner input[type="file"]::file-selector-button {
    margin-right: 0.9rem;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: #eef2ff;
    color: #2f55d4;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-form-inner textarea {
    resize: vertical;
    min-height: 12em;
}

.contact-form-inner input[type="text"]:focus,
.contact-form-inner input[type="email"]:focus,
.contact-form-inner input[type="file"]:focus,
.contact-form-inner select:focus,
.contact-form-inner textarea:focus {
    outline: none;
    border-color: #5d7bff;
    box-shadow: 0 0 0 4px rgba(93, 123, 255, 0.12);
}

.select-inline-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.select-inline {
    width: 100%;
}

.check-group,
.radio-group {
    display: grid;
    gap: 0.7rem;
}

.check-item,
.radio-item,
.check-single {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.6;
}

.check-item input,
.radio-item input,
.check-single input {
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.form-help-text,
.form-file-reset-text {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.form-row.is-error input[type="text"],
.form-row.is-error input[type="email"],
.form-row.is-error input[type="file"],
.form-row.is-error select,
.form-row.is-error textarea {
    border-color: #d94c4c;
    background: #fff8f8;
}

.form-row.is-error .form-label,
.form-row.is-error .check-single,
.form-row.is-error .check-item,
.form-row.is-error .radio-item {
    color: #972f2f;
}

.form-error-text {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #b23838;
}

.form-actions {
    margin-top: 1.8rem;
	text-align: center;
}

/*個人情報同意チェックを中央寄せ*/
.form-row.js-privacy-row .check-single {
	display: flex;
	width: fit-content;
	margin: 0 auto;
	align-items: center;
	gap: 0.5rem;
}

/*送信ボタン*/
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13em;
    min-height: 56px;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #2f55d4 0%, #5d7bff 100%);
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(47, 85, 212, 0.18);
}

.submit-button:hover {
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .contact-form-inner {
        border-radius: 22px;
    }

    .select-inline-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .js-date-select-group[data-date-mode="ymd"] .select-inline-group {
        grid-template-columns: 1fr;
    }

    .submit-button {
        width: 100%;
        min-width: 0;
    }
}

/*郵便番号・都道府県はPCで少し短くする*/
@media (min-width: 768px) {

	.h-adr input[name="postal_code"],
	.h-adr input[name="address_pref"] {
		width: min(100%, 10rem);
	}

}

/*プルダウンを見た目でわかりやすくする*/
.h-adr select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.6rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 0.8rem auto;
	cursor: pointer;
}





/* ---------------------------------------------------------------------------
strength page(選ばれる理由)
---------------------------------------------------------------------------*/

.strength-hero {
    margin: 0;
    padding: 120px 0 0;
    height: 520px;
    background:
        linear-gradient(90deg, rgba(5,26,48,.92) 0%, rgba(5,26,48,.82) 42%, rgba(5,26,48,.2) 70%),
        url("../images/strength-main.jpg") center/cover no-repeat;
    display: flex;
    align-items: flex-start;
}

.strength-hero-text {
    padding-left: 7vw;
    padding-top: 30px;
    color: #fff;
}
.strength-hero-text h1 {
    font-size: clamp(34px, 4vw, 64px);
    line-height: 1.35;
    letter-spacing: .08em;
    margin: 0 0 1.5rem;
}

.strength-hero-text h1::after {
    content: "";
    display: block;
    width: 110px;
    height: 2px;
    background: #5fb3ff;
    margin-top: 1.5rem;
}

.strength-hero-text p {
    font-weight: 700;
    line-height: 2;
}

.strength-wrap {
    max-width: 1180px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.strength-item {
    display: grid;
    grid-template-columns: 90px 1fr 42%;
    gap: 2rem;
    align-items: center;
    background: #f5f9fc;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.strength-item.reverse {
    grid-template-columns: 42% 90px 1fr;
}

.strength-item.reverse .strength-image {
    grid-column: 1;
    grid-row: 1;
}

.strength-item.reverse .strength-num {
    grid-column: 2;
    grid-row: 1;
}

.strength-item.reverse .strength-text {
    grid-column: 3;
    grid-row: 1;
}

.strength-num {
    font-size: clamp(40px, 5vw, 72px);
    color: #7fc3f3;
    font-weight: 800;
    line-height: 1;
    font-family: var(--accent-font), var(--base-font);
}

.strength-text h2 {
    display: inline-block;
    font-size: clamp(24px, 2.4vw, 36px);
    margin: 0 0 .5rem;
    padding-bottom: .25rem;
    color: #082b55;
    line-height: 1.4;
    border-bottom: 2px solid #5fb3ff;
}

.strength-text h2::before {
    display: none;
}


.strength-text h3 {
    font-size: 1.15rem;
    margin: 0 0 1rem;
    color: #005bac;
}

.strength-text p {
    line-height: 2;
    margin: 0;
    color: #222;
}

.strength-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.strength-cta {
    max-width: 1080px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #cfe3f7;
    box-shadow: 0 6px 20px rgba(0,40,90,.08);
    text-align: center;
}

.strength-cta h2 {
    color: #082b55;
    margin-bottom: 1.5rem;
}

.strength-cta ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
}

.strength-cta li {
    border: 1px solid #cddcea;
    padding: .8rem;
    color: #082b55;
    font-weight: 700;
    background: #f8fbff;
}

.strength-cta li::before {
    content: "✓";
    color: #005bac;
    margin-right: .5em;
}

/* responsive */
@media (max-width: 900px) {
    .strength-item,
    .strength-item.reverse {
        display: block;
    }

    .strength-num {
        margin-bottom: 1rem;
    }

    .strength-image {
        margin-top: 1.5rem;
    }

    .strength-cta ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .strength-hero {
        height: 360px;
    }

    .strength-hero-text {
        padding: 2rem;
    }

    .strength-wrap {
        padding: 0 1rem;
    }

    .strength-item {
        padding: 1.5rem;
    }

    .strength-image img {
        height: 200px;
    }

    .strength-cta {
        padding: 1.5rem;
    }

    .strength-cta ul {
        grid-template-columns: 1fr;
    }
}




/* 選ばれる理由ページ：ボタン hover */
.strength-cta .btn a {
    transition: .3s;
}

.strength-cta .btn a:hover {
    background: #5fb3ff;
    color: #fff;
    border-color: #5fb3ff;
}



/*---------------------------------------------------------------------------
会社概要のページ
---------------------------------------------------------------------------*/



/*テーブル（ta1-parts）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1-parts caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白。上下に0.2文字分、左右に1文字分。*/
	margin-bottom: 1rem;	/*下に空けるスペース。１文字分。*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}
/*.bg1-primary-partsの上で使う場合*/
.bg1-primary-parts .ta1-parts caption {
	background: #333;	/*背景色*/
	color: #fff;		/*文字色*/
}

/*テーブルブロック設定*/
.ta1-parts {
	table-layout: fixed;
	border-top: 1px solid var(--bg-border-color);	/*テーブルの一番上の線。幅、線種、varは色の設定でtheme.cssのborder-colorを読み込みます。。*/
	width: 100%;
	margin-bottom: 2rem;	/*テーブルの下に空けるスペース。２文字分。*/
	background: #fff;	/*背景色*/
	color:#222;		/*文字色*/
}

/*tr（１行分）タグ設定*/
.ta1-parts tr {
	border-bottom: 1px solid var(--bg-border-color);	/*テーブルの下線。幅、線種、varは色の設定でtheme.cssのborder-colorを読み込みます。。*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1-parts th, .ta1-parts td {
	padding: 1rem;		/*ボックス内の余白。１文字分。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1-parts th {
	width: 13rem;		/*幅。13文字分。*/
	text-align: left;	/*左よせにする*/
	background: #dfe4ea;		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: #003b8f;	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}
/*.bg1-light-partsの上で使う場合*/
.bg1-light-parts .ta1-parts th {
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/* 会社概要テーブルの見出し帯を使わない */
.ta1-parts caption {
    display: none;
}



/*タイムライン（沿革）
---------------------------------------------------------------------------*/
/*リスト全体*/
ul.ui-tools-timeline1 {
	list-style: none;
	position: relative;
	padding-left: 28px;	/*ドット＋線の分の左余白。ul.ui-tools-timeline1 li::beforeと、「28」の部分を揃えておく。*/
}

/*縦線*/
ul.ui-tools-timeline1::before {
	content: "";
	position: absolute;
	left: 8px;	/*ドットの中心に合わせる*/
	top: 0;
	bottom: 0;
	width: 2px;	/*線の太さ*/
	background: var(--bg-border-color);	/*線の色。theme.cssのbg-border-colorを読み込みます。*/
}

/*各項目*/
ul.ui-tools-timeline1 li {
	position: relative;
	padding-bottom: 2rem;	/*項目間の余白。2文字分。*/
	line-height: 1.8;		/*行間*/
}
ul.ui-tools-timeline1 li:last-child {
	padding-bottom: 0;	/*最後の項目は下余白なし*/
}

/*ドット（丸マーカー）*/
ul.ui-tools-timeline1 li::before {
	content: "";
	position: absolute;
	top: 0.6em;		/*テキスト位置に合わせた微調整*/
	left: -28px;	/*左からの配置。マイナスがついているので、右に移動する。ul.ui-tools-timeline1の「28」の数字を揃えておく。*/
	width: 14px;	/*ドットの幅*/
	height: 14px;	/*ドットの高さ*/
	border-radius: 50%;	/*円形にする*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	border: 2px solid var(--bg-color);	/*背景色で内側に隙間を作る*/
	box-shadow: 0 0 0 2px var(--primary-color);	/*外側の輪郭線*/
}

/*年号*/
ul.ui-tools-timeline1 li .year-parts {
	display: block;
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 1.3rem;	/*文字サイズ1.3倍*/
	font-weight: bold;	/*太字*/
	color: #4da3ff;	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	line-height: 1.4;	/*行間*/
}


/*primaryカラー（デフォルトと同じなのでそのまま）*/

/*lightカラー*/
ul.ui-tools-timeline1.light-parts li::before {
	background: var(--light-color);
	box-shadow: 0 0 0 2px var(--light-color);
}
ul.ui-tools-timeline1.light-parts li .year-parts {
	color: var(--light-inverse-color);
}
ul.ui-tools-timeline1.light-parts::before {
	background: var(--light-border-color);
}

/*accentカラー*/
ul.ui-tools-timeline1.accent-parts li::before {
	background: var(--accent-color);
	box-shadow: 0 0 0 2px var(--accent-color);
}
ul.ui-tools-timeline1.accent-parts li .year-parts {
	color: var(--accent-color);
}

/*bg-parts上での色調整（暗い背景向け）---*/

/*縦線を半透明の白に*/
.bg1-parts ul.ui-tools-timeline1::before,
.bg1-primary-parts ul.ui-tools-timeline1::before,
.bg1-accent-parts ul.ui-tools-timeline1::before {
	background: rgba(255,255,255,0.3);
}

/*bg1-parts上のドット。borderを背景色と同じにして隙間を作る。*/
.bg1-parts ul.ui-tools-timeline1 li::before {
	background: #fff;
	border-color: var(--bg-inverse-color);
	box-shadow: 0 0 0 2px #fff;
}
/*bg1-primary-parts上のドット*/
.bg1-primary-parts ul.ui-tools-timeline1 li::before {
	background: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px #fff;
}
/*bg1-accent-parts上のドット*/
.bg1-accent-parts ul.ui-tools-timeline1 li::before {
	background: #fff;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px #fff;
}

/*年号テキスト*/
.bg1-parts ul.ui-tools-timeline1 li .year-parts,
.bg1-primary-parts ul.ui-tools-timeline1 li .year-parts,
.bg1-accent-parts ul.ui-tools-timeline1 li .year-parts {
	color: inherit;
	opacity: 0.85	/*透明度。色が85%出た状態。*/
}



/*---------------------------------------------------------------------------
アクセス
---------------------------------------------------------------------------*/

/*全体*/
.ui-tools-access1-parts {
	display: flex;
	align-items: center;
	gap: 6vw;
}

/*左側*/
.ui-tools-access1-parts .text-parts {
	flex: 1;
	display: grid;
	row-gap: 2rem;
}

/*1項目*/
.ui-tools-access1-parts .access-item {
	display: grid;
	grid-template-columns: 3.2rem 1fr;
	grid-template-rows: auto auto;
	column-gap: 1.2rem;
	row-gap: .35rem;
	align-items: center;
}

/*アイコン*/
.ui-tools-access1-parts .access-icon {
	grid-column: 1;
	grid-row: 1 / 3;

	width: 3.2rem;
	height: 3.2rem;

	display: flex;
	align-items: center;
	justify-content: center;
}

/*SVG*/
.ui-tools-access1-parts .access-icon img {
	display: block;
	width: 2.4rem;
	height: 2.4rem;
	object-fit: contain;
}

/*見出し*/
.ui-tools-access1-parts .access-item h4 {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.5;
}

/*説明*/
.ui-tools-access1-parts .access-item p {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
	line-height: 1.8;
}

/*地図*/
.ui-tools-access1-parts .image-parts {
	width: 50%;
}

.ui-tools-access1-parts .image-parts iframe {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 0;
	filter: grayscale(100%);
	transition: .4s;
}

.ui-tools-access1-parts .image-parts iframe:hover {
	filter: grayscale(0);
}


/*スマホ*/
@media (max-width:700px){

	.ui-tools-access1-parts{
		flex-direction:column;
		align-items:stretch;
		gap:3rem;
	}

	.ui-tools-access1-parts .image-parts{
		width:100%;
	}

	.ui-tools-access1-parts .access-item{
		grid-template-columns:2.8rem 1fr;
		column-gap:.9rem;
	}

	.ui-tools-access1-parts .access-icon{
		width:2.8rem;
		height:2.8rem;
	}

	.ui-tools-access1-parts .access-icon img{
		width:2.1rem;
		height:2.1rem;
	}

}



/*-------------------------------------------------
	会社ページ共通見出し
-------------------------------------------------*/

.section-title {
	margin: 0 0 2.5rem;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 日本語見出し */
.section-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

/* 英語 */
.section-title span {
	display: block;
	margin-top: 0.7rem;
	color: #5fb3ff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
}

/* 見出し下のアンダーバー */

.section-title::before {
	display: none;
}

.section-title::after {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	background: #5fb3ff;
	margin-top: 1rem;
}



/*---------------------------------------------------------------------------
quality page（品質への取り組み）
---------------------------------------------------------------------------*/

.quality-page {
	background: #071b33;
	color: #fff;
}


/*---------------------------------------------------------------------------
ヒーロー
---------------------------------------------------------------------------*/

.quality-hero {
	margin: 0;
	min-height: 620px;
	padding: 120px 0 0;
	background:
		linear-gradient(
			90deg,
			rgba(5,26,48,.96) 0%,
			rgba(5,26,48,.88) 40%,
			rgba(5,26,48,.38) 70%,
			rgba(5,26,48,.08) 100%
		),
		url("../images/quality_hero.jpg") center center / cover no-repeat;
	display: flex;
	align-items: flex-start;
}

.quality-hero-text {
	width: 55%;
	padding-left: 7vw;
	padding-top: 30px;
	color: #fff;
}

/* QUALITY */
.quality-hero-text > p:first-child {
	margin: 0 0 .8rem;
	color: #5fb3ff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .18em;
}

/* 品質への取り組み */
.quality-hero-text h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .12em;
}

.quality-hero-text h1::after {
	content: "";
	display: block;
	width: 110px;
	height: 2px;
	margin-top: 1.5rem;
	background: #5fb3ff;
}

/* すべての工程に〜 */
.quality-hero-text h2 {
	margin: 4rem 0 1.8rem;
	color: #fff;
	font-size: clamp(22px, 2.4vw, 34px);
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: .05em;
}

/* 共通CSSのh2装飾を解除 */
.quality-hero-text h2::before,
.quality-hero-text h2::after {
	content: none !important;
	display: none !important;
}

/* ヒーロー説明文 */
.quality-hero-lead {
	max-width: 620px;
	margin: 0;
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 700;
	line-height: 2.1;
	letter-spacing: 0 !important;
}


/*---------------------------------------------------------------------------
共通セクション
---------------------------------------------------------------------------*/

.quality-section,
.quality-ms,
.quality-message {
	padding: 5rem var(--content-space-l);
}


/*---------------------------------------------------------------------------
QUALITY CONTROL
---------------------------------------------------------------------------*/

.quality-lead {
	max-width: 1000px;
	margin: 0 auto 3rem;
	text-align: center;
}

.quality-lead-heading {
	width: 100%;
	margin-bottom: 3rem;
	text-align: center;
}

/* 日本語タイトル */
.quality-lead-heading h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(30px, 3.5vw, 46px);
	line-height: 1.35;
	white-space: nowrap;
}

/* 英語タイトル */
.quality-lead-heading .en {
	margin: .7rem 0 0;
	color: #5fb3ff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .18em;
}

/* 見出し下の青い線 */
.quality-lead-heading::after {
	content: "";
	display: block;
	width: 110px;
	height: 2px;
	margin: 1.5rem auto 0;
	background: #5fb3ff;
}

/* 共通CSSの見出し装飾を解除 */
.quality-lead-heading::before,
.quality-lead-heading h2::before,
.quality-lead-heading h2::after {
	content: none !important;
	display: none !important;
}

/* QUALITY CONTROL 本文 */
.quality-lead > p {
	max-width: 900px;
	margin: 0 auto;
	color: #dce8f5;
	line-height: 2;
	text-align: center;
}


/*---------------------------------------------------------------------------
品質管理カード
---------------------------------------------------------------------------*/

.quality-grid {
	max-width: 1200px;
	margin: 4rem auto 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.4rem;
}

.quality-card {
	position: relative;
	min-height: 285px;
	padding: 2.8rem 2rem 2rem;
	overflow: hidden;
	background:
		linear-gradient(
			145deg,
			rgba(255,255,255,.11),
			rgba(255,255,255,.045)
		);
	border: 1px solid rgba(95,179,255,.22);
	border-radius: 18px;
	box-shadow: 0 14px 30px rgba(0,0,0,.15);
	transition:
		transform .3s ease,
		border-color .3s ease,
		background .3s ease,
		box-shadow .3s ease;
}

/* カード上部の青いライン */
.quality-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background:
		linear-gradient(
			90deg,
			#5fb3ff 0%,
			rgba(95,179,255,0) 85%
		);
}

/* カード下部の大きな番号 */
.quality-card::after {
	position: absolute;
	right: .8rem;
	bottom: -.8rem;
	color: rgba(95,179,255,.07);
	font-size: 7rem;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}

.quality-card:nth-child(1)::after {
	content: "01";
}

.quality-card:nth-child(2)::after {
	content: "02";
}

.quality-card:nth-child(3)::after {
	content: "03";
}

.quality-card:nth-child(4)::after {
	content: "04";
}

/* HTMLに残っている小さい番号を非表示 */
.quality-card > span {
	display: none;
}

.quality-card:hover {
	transform: translateY(-8px);
	background:
		linear-gradient(
			145deg,
			rgba(255,255,255,.15),
			rgba(255,255,255,.07)
		);
	border-color: rgba(95,179,255,.55);
	box-shadow: 0 22px 42px rgba(0,0,0,.25);
}

.quality-card h3 {
	position: relative;
	z-index: 1;
	margin: 0 0 1.2rem;
	color: #fff;
	font-size: 1.3rem;
	line-height: 1.5;
}

.quality-card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #dce8f5;
	font-size: .95rem;
	line-height: 1.9;
}

/* アイコン */
.quality-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 2rem;
	border-radius: 50%;
	background: #0b4fc7;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 22px rgba(0,0,0,.2);
}

.quality-icon img {
	width: 38px;
	height: 38px;
	display: block;
}

.quality-card h3 {
	position: relative;
	z-index: 1;
	margin: 0 0 1.6rem;
	color: #fff;
	font-size: 1.8rem;
	line-height: 1.4;
	text-align: center;
}

.quality-card h3::after {
	content: "";
	display: block;
	width: 60px;
	height: 2px;
	background: #5fb3ff;
	margin: 1rem auto 0;
}

.quality-card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #dce8f5;
	font-size: 1rem;
	line-height: 2;
	text-align: center;
}




/*---------------------------------------------------------------------------
品質フロー画像
---------------------------------------------------------------------------*/

.quality-flow {
	max-width: 900px;
	margin: 0 auto;
	padding: 1.5rem;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.quality-flow img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}


/*---------------------------------------------------------------------------
マイクロソルダリング
---------------------------------------------------------------------------*/

.quality-ms {
	padding: 6rem var(--content-space-l);
	background: #0b223d;
}

.quality-ms-heading {
	max-width: 1200px;
	margin: 0 auto 3.5rem;
	text-align: center;
}

/* 日本語タイトル */
.quality-ms-heading h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(30px, 3.5vw, 46px);
	line-height: 1.35;
}

/* 英語タイトル */
.quality-ms-heading .en {
	margin: .7rem 0 0;
	color: #5fb3ff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .18em;
}

/* 見出し下の青い線 */
.quality-ms-heading::after {
	content: "";
	display: block;
	width: 110px;
	height: 2px;
	margin: 1.5rem auto 0;
	background: #5fb3ff;
}

/* 共通CSSの見出し装飾を解除 */
.quality-ms-heading::before,
.quality-ms-heading h2::before,
.quality-ms-heading h2::after {
	content: none !important;
	display: none !important;
}

/* 左：図面、右：説明文 */
.quality-ms-layout {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 5rem;
	align-items: center;
}

/* 左側の図面 */
.quality-ms-figure {
	min-width: 0;
}

.quality-ms-figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* 右側の文章 */
.quality-ms-text {
	min-width: 0;
	margin: 0;
}

.quality-ms-text h3 {
	margin: 0 0 2rem;
	color: #fff;
	font-size: clamp(24px, 2.5vw, 36px);
	line-height: 1.5;
}

.quality-ms-text p {
	margin: 0 0 1.4rem;
	color: #dce8f5;
	line-height: 2;
}

.quality-ms-text p:last-child {
	margin-bottom: 0;
}


/*---------------------------------------------------------------------------
品質メッセージ
---------------------------------------------------------------------------*/

.quality-message {
	text-align: center;
	background: linear-gradient(180deg, #071b33, #061528);
}

.quality-message h2 {
	margin: 0 0 1.5rem;
	color: #fff;
	font-size: clamp(28px, 3.5vw, 46px);
	line-height: 1.35;
}

.quality-message p {
	max-width: 800px;
	margin: 0 auto;
	color: #dce8f5;
	line-height: 2;
}


/*---------------------------------------------------------------------------
responsive
---------------------------------------------------------------------------*/

@media (max-width: 1000px) {

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

}


@media (max-width: 900px) {

	.quality-ms-layout {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.quality-ms-figure {
		max-width: 650px;
		margin: 0 auto;
	}

}


@media (max-width: 700px) {

	.quality-hero {
		min-height: 600px;
		padding-top: 100px;
		background-position: center center;
	}

	.quality-hero-text {
		width: 100%;
		padding: 2rem;
	}

	.quality-hero-text h1 {
		font-size: clamp(32px, 9vw, 44px);
	}

	.quality-hero-text h2 {
		margin-top: 3rem;
		font-size: clamp(20px, 6vw, 28px);
	}

	.quality-hero-lead br {
		display: none;
	}

	.quality-section,
	.quality-ms,
	.quality-message {
		padding: 4rem var(--content-space);
	}

	.quality-lead-heading h2 {
		white-space: normal;
	}

	.quality-ms-heading {
		margin-bottom: 2.5rem;
	}

	.quality-ms-text h3 {
		font-size: 24px;
	}

}


@media (max-width: 600px) {

	.quality-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin-top: 3rem;
	}

	.quality-card {
		min-height: auto;
		padding: 2.2rem 1.5rem;
	}

	.quality-card::after {
		font-size: 5.5rem;
	}

}
/*---------------------------------------------------------------------------
個人情報保護方針ページ
---------------------------------------------------------------------------*/


/* ページ全体
---------------------------------------------------------------------------*/

body.privacy-page {
	background: #fff;
	color: #333;
}

.privacy-page main {
	display: block;
	margin: 0;
	padding: 0;
}


/* ページ上部のタイトル部分
---------------------------------------------------------------------------*/

.privacy-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 420px;
	margin: 0;
	padding: 140px 20px 70px;
	background: #071b33;
	color: #fff;
	text-align: center;
}

.privacy-hero-inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.privacy-hero-en {
	margin: 0 0 12px;
	color: #5fb3ff;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.2em;
}

.privacy-hero h2 {
	position: relative;
	margin: 0;
	padding: 0 0 25px;
	border: none;
	background: none;
	color: #fff;
	font-size: clamp(34px, 5vw, 54px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-align: center;
}

.privacy-hero h2::before {
	display: none;
}

.privacy-hero h2::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	display: block;
	width: 60px;
	height: 3px;
	margin: 0;
	background: #5fb3ff;
	content: "";
	transform: translateX(-50%);
}

.privacy-hero-lead {
	margin: 28px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1rem;
	line-height: 1.9;
	letter-spacing: 0.03em;
}


/*---------------------------------------------------------------------------
個人情報保護方針ページのフッター
---------------------------------------------------------------------------*/

body.privacy-page footer {
	background: #071b33;
	color: #fff;
}

body.privacy-page footer p,
body.privacy-page footer small {
	color: #fff;
}

body.privacy-page footer a {
	color: #fff;
}

body.privacy-page footer a:hover {
	color: #5fb3ff;
}

body.privacy-page .footer-privacy-link {
	margin-top: 15px;
}

body.privacy-page .footer-privacy-link a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

body.privacy-page .footer-privacy-link a:hover {
	color: #5fb3ff;
	opacity: 1;
}


/* 本文エリア
---------------------------------------------------------------------------*/

.privacy-content {
	margin: 0;
	padding: 80px 20px 100px;
	background:#071b33;
}

.privacy-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1050px;
	margin: 0 auto;
	padding: 70px 80px;
	background: #fff;
	box-shadow: 0 10px 35px rgba(0, 30, 70, 0.08);
}

.privacy-intro {
	margin: 0 0 55px;
	color: #444;
	font-size: 1rem;
	line-height: 2.1;
}


/* 各項目
---------------------------------------------------------------------------*/

.privacy-section {
	margin: 0;
	padding: 38px 0;
	border-top: 1px solid #dce4ec;
}

.privacy-section:last-of-type {
	border-bottom: 1px solid #dce4ec;
}

.privacy-section h3 {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 22px;
	padding: 0;
	border: none;
	background: none;
	color: #071b33;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.privacy-section h3::before,
.privacy-section h3::after {
	display: none;
}

.privacy-mark {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #071b33;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.05em;
}

.privacy-section p {
	margin: 0;
	color: #444;
	font-size: 1rem;
	line-height: 2;
}

.privacy-section p + p {
	margin-top: 18px;
}


/* 利用目的のリスト
---------------------------------------------------------------------------*/

.privacy-section ul {
	box-sizing: border-box;
	margin: 22px 0;
	padding: 24px 30px 24px 52px;
	background: #f4f7fa;
}

.privacy-section li {
	margin: 0 0 9px;
	color: #444;
	font-size: 1rem;
	line-height: 1.8;
}

.privacy-section li:last-child {
	margin-bottom: 0;
}


/* 添付資料についての注記
---------------------------------------------------------------------------*/

.privacy-note {
	box-sizing: border-box;
	margin-top: 24px !important;
	padding: 20px 24px;
	border-left: 4px solid #2878c8;
	background: #f4f7fa;
}


/* お問い合わせ先
---------------------------------------------------------------------------*/

.privacy-contact-box {
	box-sizing: border-box;
	padding: 28px 32px;
	background: #f4f7fa;
}

.privacy-contact-box p {
	margin: 0 0 10px;
}

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

.privacy-company-name {
	color: #071b33 !important;
	font-size: 1.05rem !important;
	font-weight: 700;
}

.privacy-contact-box a {
	color: #2878c8;
	text-decoration: none;
}

.privacy-contact-box a:hover {
	text-decoration: underline;
}


/* 制定日
---------------------------------------------------------------------------*/

.privacy-date {
	margin-top: 35px;
	text-align: right;
}

.privacy-date p {
	margin: 0;
	color: #666;
	font-size: 0.9rem;
	line-height: 1.8;
}


/* ホームへ戻るボタン
---------------------------------------------------------------------------*/

.privacy-back-button {
	margin-top: 55px;
	text-align: center;
}

.privacy-back-button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 230px;
	padding: 15px 32px;
	border: 1px solid #071b33;
	background: #071b33;
	color: #fff;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
}

.privacy-back-button a:hover {
	background: #fff;
	color: #071b33;
}





/* フッターの個人情報保護方針リンク
---------------------------------------------------------------------------*/

.footer-privacy-link {
	margin-top: 15px;
}

.footer-privacy-link a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-privacy-link a:hover {
	opacity: 0.7;
}


/* タブレット
---------------------------------------------------------------------------*/

@media screen and (max-width: 900px) {

	.privacy-hero {
		min-height: 380px;
		padding: 130px 20px 65px;
	}

	.privacy-content {
		padding: 65px 20px 85px;
	}

	.privacy-inner {
		padding: 60px 50px;
	}

}


/* スマートフォン
---------------------------------------------------------------------------*/

@media screen and (max-width: 700px) {

	.privacy-hero {
		min-height: 330px;
		padding: 110px 20px 55px;
	}

	.privacy-hero-en {
		font-size: 0.75rem;
	}

	.privacy-hero h2 {
		padding-bottom: 20px;
		font-size: 30px;
		letter-spacing: 0.05em;
	}

	.privacy-hero h2::after {
		width: 50px;
		height: 3px;
	}

	.privacy-hero-lead {
		margin-top: 24px;
		font-size: 0.92rem;
		line-height: 1.8;
	}

	.privacy-content {
		padding: 45px 15px 65px;
	}

	.privacy-inner {
		padding: 40px 24px;
		box-shadow: 0 6px 24px rgba(0, 30, 70, 0.07);
	}

	.privacy-intro {
		margin-bottom: 35px;
		font-size: 0.95rem;
		line-height: 2;
	}

	.privacy-section {
		padding: 30px 0;
	}

	.privacy-section h3 {
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 18px;
		font-size: 1.05rem;
		line-height: 1.6;
	}

	.privacy-mark {
		width: 42px;
		height: 42px;
		font-size: 0.75rem;
	}

	.privacy-section p {
		font-size: 0.95rem;
		line-height: 1.95;
	}

	.privacy-section ul {
		margin: 18px 0;
		padding: 20px 20px 20px 42px;
	}

	.privacy-section li {
		font-size: 0.95rem;
	}

	.privacy-note {
		padding: 18px;
	}

	.privacy-contact-box {
		padding: 22px 20px;
	}

	.privacy-date {
		text-align: left;
	}

	.privacy-back-button {
		margin-top: 40px;
	}

	.privacy-back-button a {
		width: 100%;
		min-width: 0;
	}

}


/* 画面幅がかなり小さい端末
---------------------------------------------------------------------------*/

@media screen and (max-width: 400px) {

	.privacy-inner {
		padding: 35px 18px;
	}

	.privacy-section h3 {
		gap: 10px;
		font-size: 1rem;
	}

	.privacy-mark {
		width: 38px;
		height: 38px;
	}

	.privacy-section ul {
		padding-left: 36px;
	}

}