@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: "Yu Gothic", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    -webkit-text-size-adjust: none;
    background: var(--bg-color);
    color: var(--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を読み込みます。*/
}
/* エッチング技術のセクションだけ上に詰める */
section.etching-section {
	margin-top: 0;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: inherit;
    transition: 0.3s;
}

/*マウスオン時*/
a:hover {
    color: #aaa;
    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;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダー*/
header {
    display: flex;
	justify-content: space-between;
	gap: 2rem;
	height: 80px;		/*ヘッダーの高さ。お好みで。*/
	margin-bottom: 3px;	/*下に3pxのスペースを空ける。*/
	padding-left: var(--content-space-s);	/*左の余白。theme.cssのcontent-space-sを読み込みます*/
}

/*ロゴ画像*/
header .logo {margin: 0;flex-shrink: 0;display: flex;align-items: center;}	/*ロゴ画像を縦中央に*/
header .logo img {
	display: block;
	width: 400px;	/*ロゴの幅*/
}


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;	/*#menubar(100)の下、ページの上*/
	top: 0;left: 0;
	width: 100%;height: 100%;
	background: rgba(0,0,0,0.3);	/*半透明の黒。お好みで濃さを調整。*/
}

/*noscroll（メニュー表示中のスクロール禁止用）*/
body.noscroll {
	overflow: hidden;
}


/*大きな端末で見たメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar {
	font-size: clamp(0.75rem, 1.2vw, 1.0rem);
	font-weight: bold;
	display: flex;
	white-space: nowrap;
}

/*ナビゲーション*/
.large-screen #menubar > nav {
	display: flex;
}

/*メニュー一覧*/
.large-screen #menubar > nav > ul {
	display: flex;
	align-items: center;/*半透明の黒。お好みで濃さを調整。*/
	gap: clamp(0.8rem, 2vw, 2rem);
	white-space: nowrap;
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	white-space: nowrap;
}

.large-screen #menubar li a {
	display: block;
	text-decoration: none;
	transition: color 0.3s;
	white-space: nowrap;
}

/*トップ階層のリンクだけ縦いっぱい＋文字を中央に*/
.large-screen #menubar > nav > ul > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	white-space: nowrap;
}

/*マウスオン時の文字色*/
.large-screen #menubar > nav > ul > li > a:hover {
	color: #aaa;
}


/*お問い合わせボタン*/
.large-screen #menubar > nav > ul > li.btn > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	padding: 0.3rem clamp(0.6rem, 1.2vw, 1.2rem);
	white-space: nowrap;
}

.large-screen #menubar > nav > ul > li.btn > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;

	/* 左右の余白も画面幅に合わせて縮小 */
	padding: 0.3rem clamp(0.6rem, 1.2vw, 1.2rem);

	/* メニューと同じ基準で文字サイズを縮小 */
	font-size: inherit;

	white-space: nowrap;
}


/*ボタンのアイコン*/
.large-screen #menubar .btn i {
	margin-right: 0.4em;
	font-size: 1.3em;
	line-height: 1;
}

.large-screen #menubar > nav > ul > li.btn {
	display: flex;
	align-items: center;
	margin-right: clamp(10px, 1vw, 15px);
}


/*日本語と英語表記の設定
---------------------------------------------------------------------------*/
.large-screen #menubar > nav > ul > li.btn > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;

	/* 左右の余白も画面幅に合わせて縮小 */
	padding: 0.3rem clamp(0.6rem, 1.2vw, 1.2rem);

	/* メニューと同じ基準で文字サイズを縮小 */
	font-size: inherit;

	white-space: nowrap;
}

.lang-switch a {
    color: #333;
    text-decoration: none;
}

.lang-switch a:hover {
    text-decoration: underline;
}

.lang-switch {
    display: inline-block;
    vertical-align: middle;
 }

.large-screen #menubar .lang-switch {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
}

.large-screen #menubar .lang-switch a {
    color: #333;
    text-decoration: none;
}

.large-screen #menubar .lang-switch a:hover {
    color: #999;
}
.large-screen #menubar .lang-switch .inactive {
    color: #aaa;
}

/* スマホでも言語表示を出す */
.small-screen #menubar .lang-switch {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
}

/* スマホでは「/」を完全に非表示 */
.small-screen #menubar .lang-switch .language-separator {
    display: none !important;
}

/* 選択していない言語を薄くする */
.small-screen #menubar .lang-switch .inactive {
    color: #aaa;
}

/* JPとENの間隔 */
.small-screen #menubar .lang-switch a:last-child {
    margin-left: 15px;
}



/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.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(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-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: #999;;	
	color: #fff;
}
/*ボタンのアイコン*/
.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: #ffd700;	/*背景色。*/
}
#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 .slide picture {display: block;width: 100%;height: 100%;}

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

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {
	
	.mainimg {
		display: flex;
		flex-direction: column-reverse;	/*縦積み。上下を入れ替える。*/
	}
	
	}/*追加指定ここまで*/


/*3枚の画像を入れるボックス*/
.mainimg .image {
	position: relative;
}

/*３枚の画像の共通設定*/
.mainimg .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。１枚が表示される時間はjsで指定できます。*/
	overflow: hidden;
}

/*１枚目画像*/
.mainimg .img1 {
	position: relative;width: 100%;height: auto;
}

/*画像全般*/
.mainimg .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;			/*画像をコンテナのサイズに合わせてクリップ*/
    object-position: center;	/*画像の中心を基準に*/
	transform: scale(1);		/*開始時点での画像サイズ。100%。*/
	transform-origin: center;
	will-change: transform;
}

/*徐々に拡大*/
.mainimg .slide.zoom img {
	transform: scale(1.07);	/*終了時点での画像サイズ。107%。*/
}

/*テキストブロック（写真の上に重ねる）*/
.mainimg .text {
	position: absolute;
	left: 0px;
	width: 45%;		/*テキストブロックの幅。お好みで。*/
	height: 100%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2rem;
	padding-left: 5vw;	/*左に5%の余白をあける*/
}

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

	/*テキストブロックは写真の下に通常配置で並べる*/
	.mainimg .text {
		position: static;
		width: 100%;
		padding: 2rem 1rem;
		align-items: center;
		text-align: center;
	}

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


/*日本語見出し*/
.mainimg .text h1 {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "MS PMincho", serif;
    font-weight: 500;    /* 太字 */
    font-size: max(18px, 5vw);
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.mainimg .text h1 span {
    letter-spacing:  -0.15em;
}

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

	/*見出しの改行を無効にして１行にする*/
	.mainimg .text h1 br {
		display: none;
	}
		
/* 英語見出し */
.mainimg .text h1.title-en {
    white-space: nowrap;
    font-size: max(22px, 6vw);
}
		
		

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


/*説明文*/
.mainimg .text p {
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*ボタンブロック*/
.btn-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
}

.btn-container > .btn {
	margin: 0;
	width: auto;
	white-space: nowrap;
	font-size: 0.9rem;
}

.btn-container > .btn a {
	white-space: nowrap;
	font-size: 0.9rem;
}



/* 関連会社
---------------------------------------------------------------------------*/

.related-companies {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  align-items: flex-start !important;
}

.related-companies a {
  display: block !important;
  flex: 0 0 250px !important;
  width: 250px !important;
  max-width: 250px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  border: none !important;
}

.related-companies img {
  display: block !important;
  width: 250px !important;
  max-width: 250px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* スマホ*/


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

  .related-companies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .related-companies a {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }

  .related-companies img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

}
/*エッチング技術（追加項目）
---------------------------------------------------------------------------*/


.effects-overlay1-parts {
	display: flex;
	justify-content: center;
	gap: 2rem; /* 写真1と写真2の間隔 */
}

.effects-overlay1-parts .list-parts {
	flex: 0 1 35%;
	position: relative;
	overflow: hidden;
}

.effects-overlay1-parts .list-parts > img {
	display: block;
	width: 100%;
	height: auto;
}


/* マウスオン用の黒い幕 */
.effects-overlay1-parts .list-parts::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0,0,0,0.6);
	transition: transform 0.3s 0.1s;
}


/* マウスオンで黒い幕が消える */
.effects-overlay1-parts .list-parts:hover::before {
	transform: translateY(100%);
}

/* スマホ：タップしたら黒い幕が消える （追加項目）*/
.effects-overlay1-parts .list-parts.is-active::before {
    transform: translateY(100%);
}




.equipment-title {
	margin-bottom: 0 !important;
}



/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.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: #696969;		/*背景色。theme.csのprimary-colorを読み込みます。*/
	color: #fff;	/*文字色。theme.csのprimary-inverse-colorを読み込みます。*/
	border: 1px solid #696969;
	padding: 0.4rem 1.5rem;	/*上下に0.4文字分、左右に1.5文字分の余白*/
	font-weight: bold;		/*太字に*/
}

/*背景が白いタイプのボタン*/
.btn.inverse a {
	background: #fff;	/*背景色。theme.csのprimary-inverse-colorを読み込みます。*/
	color: #696969;　/*文字色。theme.csのprimary-colorを読み込みます。*/
	border: 1px solid #696969;
}

/*「→」のみのボタン*/
.btn-arrow a {
	display: block;text-decoration: none;
	padding-right: 0.5rem;
	color: var(--primary-color);	/*矢印の色。theme.cssのprimary-colorを読み込みます。*/
}

/*矢印アイコン（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: 600;	/*テキストの太さ。200〜900指で定可能。*/
}
main h2.c {
	font-weight: 600;
}

/*上のライン*/
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;
}


/* list3（工程）
---------------------------------------------------------------------------*/

.list3 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1.5rem;
	row-gap: 5rem;

	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.list3 * {
	margin: 0;
	padding: 0;
}

.list3 .list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border: 1px solid var(--bg-border-color);
	border-radius: 5px;
	padding: 1rem;
}

/* 数字 */
.list3 .list .image.icon {
	margin: 0 auto;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #555555;
	color: var(--primary-inverse-color);

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

	font-size: 1.5rem;
	font-weight: bold;
}

/* ③・④・⑤を1列にする */
.list3 .list:nth-child(3),
.list3 .list:nth-child(4),
.list3 .list:nth-child(5) {
	grid-column: 1 / -1;
}

/* 写真 */
.list3 .process-images {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.list3 .process-images img {
	display: block;
	width: 100%;
	height: auto;
}

/* ④は写真2枚 */
.list3 .list:nth-child(4) .process-images {
	grid-template-columns: repeat(2, 1fr);
}

/* ⑤は写真1枚 */
.list3 .list:nth-child(5) .process-images {
	grid-template-columns: 1fr;
	max-width: 600px;
	margin: 0 auto;
}

.list.inview > p {
    text-align: center;
}

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

	.list3 .list:nth-child(3),
	.list3 .list:nth-child(4),
	.list3 .list:nth-child(5) {
		grid-column: auto;
	}

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

/*list1（私たちのつよみ）
---------------------------------------------------------------------------*/
.list1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list1 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
	column-gap: 1.5rem;
	row-gap: 5rem;		/*上段と下段の間隔*/
	
	max-width: 1200px;  /* ← 横幅を最大1000pxにする */
	width: 100%;
	margin: 0 auto;     /* ← 中央寄せ */
}

	/*画面幅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;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background:#555555;
	color: var(--primary-inverse-color);

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

	font-size: 1.5rem;
	font-weight: bold;
	
}

/*アクセントカラー版*/
.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.0rem  !important;
}

.list1 .list .image.icon {
	width: 50px;
	height: 50px;
}



/*list2（設備について）
---------------------------------------------------------------------------*/
.list2 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list2 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
	gap: 1.5rem;		/*ボックス同士の間に空けるスペース。1.5文字分。*/
	
		max-width: 1200px;  /* ← 横幅を最大1000pxにする */
	width: 100%;
	margin: 0 auto;     /* ← 中央寄せ */

}

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

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


/*ボックス１個あたり*/
.list2 .list {
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*ボックス直下のブロック同士に空けるスペース。1文字分。*/
		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;
}


/*テーブル（ta2）お問い合わせフォーム
---------------------------------------------------------------------------*/
.ta2 {
    width: 70%;
    margin: 0 auto 30px;
    background: #fff;
    color: #474a4d;
    border-collapse: collapse;
    table-layout: fixed;
}

/* th, td 共通 */
.ta2 th,
.ta2 td {
    border: 1px solid #474a4d;
    padding: 10px;
    word-break: break-word;
    box-sizing: border-box;
}

/* 左列（見出し） */
.ta2 th {
    text-align: center;
    font-weight: normal;
    background-color: #f0f0f0;
}

/* 右列（入力欄） */
.ta2 td {
    text-align: left;
}

/* 入力フィールド（すべて統一） */
.ta2 input[type="text"],
.ta2 input[type="email"],
.ta2 textarea,
.ta2 select {
    width: 100%;
    max-width: 100%;
    padding: 4px;
    box-sizing: border-box;
}

/* 個人情報取扱 文言ボックス */
.privacy-box {
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #999;
    font-size: 12px;
    padding: 8px;
    box-sizing: border-box;
    background: #fff;
}

/* 同意チェックボックス中央揃え */
   text-align: center;
}

.ta2 td.agree label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}


/* スマホ用：お問い合わせフォームを縦並びにする */
@media screen and (max-width: 767px) {

    .ta2 {
        width: 100%;
    }

    .ta2,
    .ta2 tbody,
    .ta2 tr,
    .ta2 th,
    .ta2 td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .ta2 th {
        text-align: left;
        background: #f0f0f0;
        border-bottom: none;
    }

    .ta2 td {
        border-top: none;
    }

 /* スマホでも同意欄は中央 */
    .ta2 td.agree {
        text-align: center;
    }
}


/*flex1（「SERVICES」と「PEOPLE」で使用。）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.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 .image img {
	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;
}


/*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;
	}
	
	}/*追加指定ここまで*/


/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショー全体を囲むブロック*/
.slideimg {
	overflow-x: hidden;
}

/*スライドショーが２段続く場合に、上下間に1文字分のスペースを空ける。*/
.slideimg + .slideimg {
	margin-top: 1rem;
}

/*画像たちを囲むブロック*/
.slideimg .img {
	display: flex;
	overflow: hidden;
}

/*段違いに配置（偶数版目だけ上に２文字分のスペースをとる）*/
.slideimg .img div:nth-of-type(even) {
	margin-top: 2rem;
}

/*画像1個あたり*/
.slideimg .img > div {
	padding: 0 0.5rem;	/*左右で合計1remぶんの見た目余白*/
}

/*右から左へ、左から右へ、のアニメーション*/
.slideimg .rtl, .slideimg .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.slideimg .rtl {animation-name: slide-rtl;}
.slideimg .ltr {animation-name: slide-ltr;}

@keyframes slide-rtl {
0% {transform: translateX(0);}
100% {transform: translateX(-50%);}
}

@keyframes slide-ltr {
0% {transform: translateX(-50%);}
100% {transform: translateX(0);}
}




/*フッター
---------------------------------------------------------------------------*/
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: 350px;
}

/*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;
}


/*会社概要などの表
---------------------------------------------------------------------------*/
/* ボックス全体 */
.list-table-parts .text-parts {
	flex: 1;
	padding: 1.2rem 0 1.2rem 1.2rem;
	font-weight: 500;
}

/* 1行 */
.list-table-parts .list-parts {
	display: flex;
	border-bottom: 1px dashed var(--bg-border-color);
}

.list-table-parts .list-parts:last-child {
	border-bottom: none;
}

/* 左側（項目名） */
.list-table-parts .time-parts {
	width: 200px;
	flex-shrink: 0;
	padding: 1.2rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: var(--primary-color);
}

/* 右側（内容） */
.list-table-parts .text-parts {
	flex: 1;
	padding: 1.2rem 0 1.2rem 1.2rem;
}

/* 通常テキスト */
.list-table-parts .text-parts p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.8;
}

 /* 役員リスト */
.list-table-parts .text-parts ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.list-table-parts .text-parts li {
	display: flex;
	margin-bottom: 0.6rem;
	font-size: 1rem;
	line-height: 1.8;
	font-weight: 500;
}

.list-table-parts .text-parts li:last-child {
	margin-bottom: 0;
}

.list-table-parts .text-parts .position {
	width: 150px;
	font-weight: 600;
	flex-shrink: 0;
}

.list-table-parts .text-parts .name {
	flex: 1;
}

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

	.list-table-parts .time-parts {
		width: 80px;
		font-size: 0.95rem;
	}

}

/* 代表メッセージ：右側の写真 */
.message-photo {
	width: 25%;
	flex-shrink: 0;
	padding: 1.2rem 5rem 1.2rem 2rem;
}

.message-photo img {
	width: 100%;
	height: auto;
	display: block;
}

/* スマホ */
@media screen and (max-width: 768px) {
	.message-photo {
		width: 30%;
		padding: 1rem 0 1rem 1rem;
	}

	.message-photo img {
		width: 100%;
		height: auto;
	}
}

/*所在地
---------------------------------------------------------------------------*/
.list-table-parts .company-parts {
	display: flex;
	border-bottom: 1px dashed var(--bg-border-color);	
}


.list-table-parts .company-parts.no-border {
	border-bottom: none;
}

/* 左側（項目名） */
.list-table-parts .company-parts .time-parts {
	width: 200px;
	flex-shrink: 0;
	padding: 1.2rem 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	font-weight: bold;
	color: var(--primary-color);
}

/* 右側 */
.list-table-parts .company-parts .text-parts {
	flex: 1;
	padding: 1.2rem 0 1.2rem 1.2rem;
	font-weight: bold;
}

/* 会社情報 */
.list-table-parts .company-parts .text-parts p {
	margin: 0 0 1.2rem;
	font-size: 1rem;
	line-height: 1.8;
}

/* 写真＋マップ */
.list-table-parts .company-media {
	display: flex;
	gap: 20px;
	width: 100%;
}

/* 写真 */
.list-table-parts .company-image {
	width: 40%;
	flex-shrink: 0;
}

.list-table-parts .company-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Googleマップ */
.list-table-parts .company-map {
	flex: 1;
}

.list-table-parts .company-map iframe {
	display: block;
	width: 100%;
	height: 300px;
	border: 0;
}

/* スマホ */
@media screen and (max-width: 767px) {

	.list-table-parts .company-parts {
		display: block;
	}

	.list-table-parts .company-parts .time-parts {
		width: 100%;
		padding: 1rem 0;
		justify-content: flex-start;
	}

	.list-table-parts .company-parts .text-parts {
		padding: 0 0 1.2rem;
	}

	.list-table-parts .company-media {
		display: block;
	}

	.list-table-parts .company-image,
	.list-table-parts .company-map {
		width: 100%;
	}

	.list-table-parts .company-map {
		margin-top: 20px;
	}

	.list-table-parts .company-map iframe {
		height: 300px;
	}

}

/*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;}
.rfid-text {padding-left: 100px;}
	

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

