@charset "utf-8";



/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--base-color: #fff;					/*テンプレートの土台となる色（主に背景カラー）*/
	--base-inverse-color: #323232;		/*上のbase-colorの対となる色（主にテキストカラー）*/

	--primary-color: #bc0b14;			/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #323232;	/*上のprimary-colorの対となる色*/

	--space-large: 8vw;			/*主に余白の一括管理用。画面幅100%＝100vwです。*/
}


/*fadeInのキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*fadeOutのキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes fadeOut {
	0% {opacity: 1;}
	100% {opacity: 0;visibility: hidden;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}

html,body {
	font-size: 13px;	/*基準となるフォントサイズ*/
	height: 100%;
}

	/*画面幅1200px以上の追加指定*/
	@media screen and (min-width:1000px) {

	html, body {
		font-size: 14px;
	}

	}/*追加指定ここまで*/

	/*画面幅1600px以上の追加指定*/
	@media screen and (min-width:1600px) {

	html, body {
		font-size: 1vw;
	}

	}/*追加指定ここまで*/


body {
	margin: 0;padding:0;
	font-family: "Noto Sans JP", "Hiragino Mincho Pro", "MS PMincho", serif;	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 500;
	-webkit-text-size-adjust: none;
	background: var(--base-color);		/*varは背景色のことで冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。冒頭で指定しているbase-inverse-colorを読み込みます。*/
	line-height: 2;		/*行間*/
}

/*リセット他*/
figure {margin: 0;}
dd {margin: 0;}
nav ul {list-style: none;}
nav,ul,li,ol {margin: 0;padding: 0;}
section li {margin-left: 1rem;}

/*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*/
input {font-size: 1rem;}

/*section*/
section {
	overflow-x: hidden;
	padding: var(--space-large);	
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	text-decoration: none;	/*下線を消す*/
	opacity: 0.9;			/*色を90%だけ出す*/
}


/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
  position: fixed;
  z-index: 1000;
  top: 8px;              /* 画面上から少し離す */
  left: 50%;
  transform: translateX(-50%);
 padding: 0 16px;

  width: calc(100% - 8px); /* 左右に余白 */
  max-width: 1440px;

  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 48px;

  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}


	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {
  header {
    height: 64px;
    padding: 0 16px;
  }


	}/*追加指定ここまで*/


/*ロゴ画像*/
#logo img {
  display: block;
  height: 32px;     /* ← SP用 */
  width: auto;      /* ← 比率保持 */
  max-height: 100%;
}

#logo {
	margin: 0;padding: 0;
		/*ロゴの左側に空ける余白*/
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {
  #logo img {
    height: 40px;
  }
}
/*追加指定ここまで*/


/*ヘッダー内メニュー
---------------------------------------------------------------------------*/

header nav {
  margin-left: auto;
 flex-shrink: 0;
}

/*900px未満では非表示*/
header nav ul {display: none;
white-space: nowrap;
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
		
	/*メニューブロック全体の設定*/
	header > nav > ul {
		margin-right: 100px;	/*ハンバーガーアイコンに重ならないように余白*/
		display: flex;			/*横並びにする*/
	}

	/*メニュー１個あたりの設定*/
	header nav li a {
		display: block;text-decoration: none;
		font-size: 1.1rem;		/*文字サイズ90%*/
		padding: 0.5rem 1rem;	/*メニュー内の余白。上下、左右へ。*/
	}
	
	/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
		padding-right: 0.5rem;	/*右に空ける余白*/
	}

	}/*追加設定ここまで*/


/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
header nav ul ul,
.small-screen #menubar ul ul {
	animation: fadeIn 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}



/*ヘッダー内メニューのCTA
---------------------------------------------------------------------------*/
.header-cta {
  display: flex;
  gap: 6px;
　margin-left: 16px;
}

.cta-btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: #111;
  background: #fff;
  border: 1px solid #111;
  border-radius: 6px;
}

.cta-primary {
  background: #D11C2C;
  color: #fff;
 border: none;
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指示*/
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
}

/*メニューブロック内のロゴ画像の幅*/
#menubar .logo {
	width: 200px;
}


/* メイン画像
--------------------------------------------------------------------------- */
/* ブロック全体 */
#mainimg {
	background: var(--base-color) url("../images/lp/mainimg_sh.jpg") no-repeat center center / cover;
	width: 100%;
	padding-top: 150%; /* アスペクト比2:3（3÷2=1.5） */
	position: relative;
	overflow: hidden;
}

/* 画面420px以上の追加指定 */
@media screen and (min-width: 420px) {
	#mainimg {
		background: var(--base-color) url("../images/lp/mainimg.jpg") no-repeat center center / cover;
		padding-top: 56.25%; /* アスペクト比16:9（9÷16=0.5624） */
	}
}
/* 追加指定ここまで */

#mainimg > div {
	position: absolute;
	top: 60px; /* header分を確保 */
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 画面420px以上の追加指定 */
@media screen and (min-width: 420px) {
	#mainimg > div {
		left: var(--space-large);
		align-items: flex-start;
		justify-content: center;
	}
}
/* 追加指定ここまで */

/* テキストのブロック */
#mainimg p {
	margin: 0;
}

#mainimg .text {
	font-size: 28px; /* 文字サイズ */
	font-weight: 800; /* 太字 */
	line-height: 1.7; /* 行間 */
	text-align: center; /* センタリング */
}

#mainimg .text-small {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.7;
	text-align: center;
}

/* 画面420px以上の追加指定 */
@media screen and (min-width: 420px) {
	#mainimg .text {
		text-align: left; /* 左寄せ */
		font-size: 3.6vw;
	}
}
/* 追加指定ここまで */

/* ボタン */
#mainimg .btn {
	font-size: 1rem;
	font-weight: 600;
	margin-top: 3vw;
	display: flex;
	gap: 1rem;
}

#mainimg .btn a {
	display: block;
	text-decoration: none;
	padding: 0.8rem 2rem;
	margin-bottom: 10px;
}

/* マウスオン時 */
#mainimg .btn a:hover {
	opacity: 1;
	transform: scale(1.05);
}

/* 画面420px以上の追加指定 */
@media screen and (min-width: 420px) {
	#mainimg .btn {
		font-size: 1.4vw;
	}

	#mainimg .btn a {
		margin: 0;
		padding: 0.6rem 3rem;
	}
}
/* 追加指定ここまで */

/* 1つ目のボタン（資料請求） */
#mainimg .btn p:nth-of-type(1) a {
	background: var(--base-inverse-color);
	color: #ffffff;
}

/* 2つ目のボタン（お問い合わせ） */
#mainimg .btn p:nth-of-type(2) a {
	background: var(--primary-color);
	color: #ffffff;
	letter-spacing: 0.1em;
}

/* ボタン内のアイコン */
#mainimg .btn i {
	transform: scale(1.4);
	padding-right: 0.8rem;
}

/* main（メインコンテンツ）
--------------------------------------------------------------------------- */
main {
	flex: 1 0 auto;
	overflow-x: hidden;
}

/* h2見出し（共通） */
main h2 {
	margin: 0;
	padding: 0;
	font-size: 1.7rem;
	font-weight: 800;
	margin-bottom: 5vw;
	display: flex;
	flex-direction: column-reverse;
	letter-spacing: 0.1em;
	position: relative;
}

/* 画面700px以上の追加指定 */
@media screen and (min-width: 700px) {
	main h2 {
		font-size: 2.4rem;
	}
}
/* 追加指定ここまで */

/* h1見出し（共通） */
main h1 {
	margin: 0;
	padding: 0;
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 5vw;
	display: flex;
	flex-direction: column-reverse;
	letter-spacing: 0.1em;
	position: relative;
}

/* 画面700px以上の追加指定 */
@media screen and (min-width: 700px) {
	main h3 {
		font-size: 2.6rem;
	}
}
/* 追加指定ここまで */

/* テキストをセンタリングする場合 */
main h2.c,
main h1.c {
	align-items: center;
}

/* h2内のspan（小文字） */
main h2 span {
	font-size: 0.85rem;
	opacity: 0.5;
	font-weight: normal;
}

/* h2内のimg画像 */
h2 img {
	width: 100px;
	transform: rotate(-10deg);
	position: absolute;
	left: -10px;
	top: -40px;
}

/* 画面700px以上の追加指定 */
@media screen and (min-width: 700px) {
	h2 img {
		width: 140px;
		left: 40px;
	}
}
/* 追加指定ここまで */



/*フッター
---------------------------------------------------------------------------*/
footer {
	background: #ffffff;		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	padding: 2rem;	/*フッター内の余白。2文字分。*/
	display: flex;
	flex-direction: column-reverse;
}

/*フッター直下の1つ目ブロック（ロゴやSNSアイコンが入ったブロック）*/
footer div:nth-of-type(1) {
    text-align: center;
}

/*フッター直下の２つ目ブロック（メニューブロック）*/
footer div:nth-of-type(2) {
    flex: 1;
    display: flex;
    gap: 2rem;	/*このブロック内の直下のブロック同士に空ける余白。４文字分。*/
}


	/*画面700px以上の追加指定*/
	@media screen and (min-width:700px) {

	footer {
		flex-direction: row;
		gap: 4rem;		/*フッター内の直下のブロック同士に空ける余白。４文字分。*/
		padding: 4rem;	/*フッター内の余白。４文字分。*/
	}

	/*フッター直下の1つ目ブロック（ロゴやSNSアイコンが入ったブロック）*/
	footer div:nth-of-type(1) {
		text-align: left;
		width: 30%;	/*幅*/
	}

	/*フッター直下の２つ目ブロック（メニューブロック）*/
	footer div:nth-of-type(2) {
		justify-content: flex-end;	/*ブロックを右に寄せる。この行を削除すれば、ロゴ画像の方によります。*/
		gap: 4rem;	/*このブロック内の直下のブロック同士に空ける余白。４文字分。*/
	}

	}/*追加指定ここまで*/


footer ul {
	margin: 0;padding: 0;list-style: none;
	margin-bottom: 2rem;
}


/*Copyright部分*/
footer small {
	display: block;
	padding-top: 2rem;	/*SNSアイコンとコピーライトの間の余白調整*/
}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	justify-content: center;
	gap: 1rem;	/*アイコン同士のマージン的な要素。１文字分。*/
}

	/*画面700px以上の追加指定*/
	@media screen and (min-width:700px) {
	
	.icons {
		justify-content: flex-start;
	}

	}/*追加指定ここまで*/

.icons i {
	font-size: 30px;	/*アイコンサイズ*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;
	display: block;
	background: rgba(0,0,0,0.9);
	text-align: right;
	padding: 0.5rem 1rem;
	color: #ccc;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}


/*FAQ
---------------------------------------------------------------------------*/

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {

	.faq {
		font-size: 1.2rem;	/*文字サイズを120%*/
	}

	}/*追加指定ここまで*/

/*質問*/
.faq dt {
	display: flex;
	align-items: flex-start;
	border-radius: 3px;		/*角を少しだけ丸く*/
	margin-bottom: 1rem;	/*下に空けるスペース。質問ブロック同士の余白です。*/
	background: var(--base-color);		/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	padding: 1rem;	/*ブロック内の余白。１文字分。*/
}

/*「Q」アイコン*/
.faq dt::before {
	font-family: "Font Awesome 6 Free";
	content: "\51";	/*アイコン画像の指定*/
	margin-right: 0.5rem;	/*右側に空けるスペース*/
	background: var(--primary-inverse-color);	/*背景色。冒頭のprimary-inverse-colorを読み込みます。*/
	color: #ffffff;				/*文字色。冒頭のprimary-colorを読み込みます。*/
	border-radius: 50%;	/*角を丸くする*/
	width: 30px;		/*幅*/
	line-height: 30px;	/*高さ*/
	text-align: center;
	flex-shrink: 0;
	margin-top: 0.2em;	/*微調整*/
}

/*回答*/
.faq dd {
	padding: 0 1rem 1rem 3.7rem;	/*ボックス内の余白。上、右、下、左への順番。*/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}


/*btn1（ボタン）
---------------------------------------------------------------------------*/
.btn1 a {
	text-shadow: none;display: block;text-decoration: none;
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	font-size: 1.4rem;		/*文字サイズ。140%に。*/
	padding: 0.5rem 2rem;	/*ボタン内の余白。上下、左右へ。*/
	border-radius: 100px;	/*角を丸くする*/
	text-align: center;		/*テキストをセンタリング*/
}

/*bg-primary-colorの上で使う場合*/
.bg-primary-color .btn1 a {
	background: var(--primary-inverse-color);		/*背景色。冒頭のprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);	/*文字色。冒頭のprimary-colorを読み込みます。*/
}

/*マウスオン時*/
.btn1 a:hover {
	opacity: 1;
	transform: scale(1.05);	/*105%に拡大*/
	background: var(--primary-inverse-color);	/*背景色。冒頭のprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。冒頭のprimary-colorを読み込みます。*/
}

/*bg-primary-colorの上で使う場合*/
.bg-primary-color .btn1 a:hover {
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
}

/*矢印アイコン*/
.btn1 a::after {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指示*/
	content: "\f0a9";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-left: 0.5em;		/*アイコンとテキストとの間に空けるスペース*/
}


/*bg-primary-color
---------------------------------------------------------------------------*/
.bg-primary-color {
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}


/*bg1
---------------------------------------------------------------------------*/
.bg1 {
	background: #7f7f7f;	/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	color: var(--base-color);	/*文字色。冒頭のbase-colorを読み込みます。*/
}


/*bg2
---------------------------------------------------------------------------*/
.bg2 {
	background: #f2f2f2;	/*背景色*/
}


/*bg3
---------------------------------------------------------------------------*/
.bg3 {
	background: #fff;	/*背景色*/
}


/*bg4
---------------------------------------------------------------------------*/
.bg4 {
	background: #f2f2f2;	/*背景色*/
}


/*パターン背景
---------------------------------------------------------------------------*/
/*bg-pattern1*/
.bg-pattern1 {
	background-image: url("../images/bg_pattern1.png");	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;	/*サイズ*/
}

/*bg-pattern2*/
.bg-pattern2 {
	background-image: url("../images/bg_pattern2.png");	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;	/*サイズ*/
}

/*bg-pattern3*/
.bg-pattern3 {
	background-image: url("../images/bg_pattern3.png");	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;	/*サイズ*/
}


/*ボックス下部を三角形（▼）にする場合。三角形の高さ自体はmask-imageのd=の中にある２つの「95」という数値で変更できます。小さいほど角度が大きくなります。
---------------------------------------------------------------------------*/
.arrow {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,95 L50,100 L0,95 Z' fill='%23000000'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {

	/*三角形の高さの再設定。95を90に変更しています。*/
	.arrow {
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,90 L50,100 L0,90 Z' fill='%23000000'/%3E%3C/svg%3E");
		padding-bottom: 150px;
	}
	

	}/*追加指定ここまで*/


/*背景色が切れているのが見えないように微調整*/
.arrow + section {
	padding-top: calc(var(--space-large) + 150px);
	margin-top: -150px;
}


/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 3vw;	/*ブロックの間に空けるマージン的な指定*/
	}

	}/*追加指定ここまで*/


/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
	margin-bottom: 3rem;	/*ボックスの下に空けるスペース*/
	position: relative;
	border-radius: 5px;	/*角を少しだけ丸く*/
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
	box-shadow: 2px 5px 5px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒のことで0.1は色が10%出た状態。*/
	padding: 2rem;	/*ボックス内の余白。２文字分。*/
}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;	/*下に空けるスペースをなくす*/
	}

	}/*追加指定ここまで*/


/*bg-black内のボックスへの追加設定*/
.list-grid1 .list.bg-black {
	background: #d6d6d6;	/*背景色*/
}

/*引用符（“）の装飾*/
.list-grid1 .list h4.kazari::before {
	content: "“";	/*わかりづらいですが、中央にあるのが引用符でこの文字を出力しています。*/
	position: absolute;
	left: -1rem;	/*左からの配置場所。マイナスがつくので本来とは逆向きに移動。*/
	top: -40px;		/*上からの配置場所。マイナスがつくので本来とは逆向きに移動。*/
	opacity: 0.2;	/*透明度。色を20%出す。*/
	font-size: 60px;	/*文字サイズ*/
	line-height: 1;
}

/*ボックス内のh4見出し*/
.list-grid1 .list h4 {
	font-size: 1.4rem;	/*文字サイズを140%に*/
	line-height: 1.6;	/*行間*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	position: relative;
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.9rem;	/*文字サイズを90%に*/
	line-height: 1.6;	/*行間*/
	font-weight: normal;
}

/*bg-black内のp要素への追加設定*/
.list-grid1 .list.bg-black p {
	color: #999;	/*文字色*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure.icon {
	margin: 0 auto;
	width: 100px;		/*画像サイズ*/
	margin-top: -40px;	/*本来の場所より上にずらす*/
}

/*bg1内のfigureへの追加設定*/
.bg1 .list-grid1 .list figure.icon {
	filter: grayscale(100%) brightness(90%);	/*画像をグレースケールにし、明るさも少し暗くする。そのままの画像色を出したければこの１行を削除。*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*ボックス内のfigure画像*/
	.list-grid1 .list figure.icon {
		width: 150px;		/*画像サイズ*/
		margin-top: -50px;	/*本来の場所より上にずらす*/
	}

	}/*追加指定ここまで*/



/*list-c2（お問い合わせ、資料請求）
---------------------------------------------------------------------------*/
.list-c2 > a {
    text-decoration: none;
    display: block;
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	/*２つのボックスを囲むボックス*/
	.list-c2 {
		display: flex;	/*横並びにする*/
		gap: 2vw;		/*ブロックの間に空けるマージン的な指定*/
	}

	}/*追加指定ここまで*/


/*ボックス１個あたり*/
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: #fff;		/*文字色*/
	text-shadow: 0px 0px 10px rgba(0,0,0,0.6);	/*テキストの影。右へ、下へ、ぼかす量、0,0,0は黒のことで0.6は色が出た状態。*/
	padding: 5rem 2rem;	/*上下、左右へのボックス内の余白*/
	margin: 1rem 0;		/*上下、左右へのマージン*/
	border-radius: 30px;	/*角を丸くする指定*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	.list-c2 > * {
		flex: 1;
	}
	.list-c2 .list {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.list-c2 > a .list {
		height: 100%;
	}
	
	/*1つ目のボックス（お問い合わせ）*/
	.list-c2 .list:nth-of-type(1) {
		border-radius: 0px 30px 30px 0px;	/*角丸の上書き。左上、右上、右下、左下への順番。*/
	}
	
	/*2つ目のボックス（資料請求）*/
	.list-c2 .list:nth-of-type(2) {
		border-radius: 30px 0px 0px 30px;	/*角丸の上書き。左上、右上、右下、左下への順番。*/
	}
	
	}/*追加指定ここまで*/


/*左側ボックスの背景*/
.list-c2 .list.image1 {
	background: url("../images/bg_contact.jpg") no-repeat center center / cover;
}

/*右側ボックスの背景*/
.list-c2 .list.image2 {
	background: url("../images/bg_request.jpg") no-repeat center center / cover;
}

/*h4見出し*/
.list-c2 h4 {
	line-height: 1.2;	/*行間を狭く*/
	font-family: "Jost", sans-serif;	/*フォント指定*/
	font-optical-sizing: auto;
	font-weight: 300;	/*フォントの太さ。100〜900の間で指定が可能。大きいほど太くなります。*/
}

/*h4見出し内のメインテキスト（main-text）*/
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;		/*文字サイズ。3倍。*/
	padding-top: 1.5rem;	/*上に空ける余白*/
	padding-bottom: 3rem;	/*下に空ける余白*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	.list-c2 h4 .main-text {
		font-size: 4rem;	/*文字サイズ。4倍。*/
	}

	}/*追加指定ここまで*/


/*テキスト*/
.list-c2 .list .text {
	position: relative;z-index: 1;
	font-size: 0.85rem;	/*文字サイズ85%*/
}

/*マウスオン用のアニメーション*/
.list-c2 .list::before {
	content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;
	background: rgba(0,0,0,0.6);		/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.3s 0.1s;	/*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
}
.list-c2 .list:hover::before {
	transform: translateY(100%);	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}





/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: var(--base-inverse-color);	/*背景色*/
	color: var(--base-color);				/*文字色*/
	margin-bottom: 0.8rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	width: 100%;				/*幅*/
	border-top: 2px solid #ccc;	/*テーブルの一番上の線。幅、線種、色*/
	margin-bottom: 0.8rem;		/*テーブルの下に空けるスペース。２文字分。*/
}
/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #ccc;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 td, .ta1 th {
	word-break: break-all;
	background: var(--base-color);		/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	text-align: left;	/*左よせにする*/
	padding: 0.3rem;	/*余白*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 25%;			/*幅*/
	text-align: center;	/*テキストをセンタリング*/
}


/*テーブル（プラン）　※基本的な設定は上のta1で設定
---------------------------------------------------------------------------*/
.ta1.plan, .ta1.plan td, .ta1.plan th {
	text-align: center;
	border: 3px solid #7f7f7f;	/*テーブルの枠線の幅、線種、varは色のことで冒頭のbase-inverse-colorを読み込みます*/
	padding: 0.5rem;
}

	/*画面幅801px以上の追加指定*/
	@media screen and (min-width:801px) {

	.ta1.plan, .ta1.plan td, .ta1.plan th {
		font-size: 1.2rem;
		padding: 2rem 1rem;
	}

	}/*追加指定ここまで*/


/*一番左側の縦列の幅*/
.ta1.plan th:first-child,
.ta1.plan td:first-child {
    width: 12rem;	/*目安としては約12文字分。*/
}

/*１行目のプランブロック*/
.ta1.plan th {
	width: auto;
	position: relative;
	overflow: hidden;
}

/* 左から1つ目の「エコノミープラン」の見出し（th）に背景色を設定 */
.ta1.plan th:nth-child(1) {
	background: #7f7f7f;
}
/* 左から2つ目の「エコノミープラン」の列（td）に背景色を設定 */
.ta1.plan td:nth-child(1) {
	background: #F7F7F7;
}

/* 左から2つ目の「エコノミープラン」の見出し（th）に背景色を設定 */
.ta1.plan th:nth-child(2) {
	background: #F7F7F7;
}
/* 左から2つ目の「エコノミープラン」の列（td）に背景色を設定 */
.ta1.plan td:nth-child(2) {
	background: #ffffff;
}

/* 左から3つ目の「エコノミープラン」の見出し（th）に背景色を設定 */
.ta1.plan th:nth-child(3) {
	background: #D11C2C;
}
/* 左から3つ目の「エコノミープラン」の列（td）に背景色を設定 */
.ta1.plan td:nth-child(3) {
	background: #FDEEED;
}


	/*画面幅800px以下の追加指定*/
	@media screen and (max-width:800px) {

	.scroll .ta1.plan {width: 700px;}
	.scroll {overflow-x: auto;}

	}/*追加指定ここまで*/


/*調整用スタイル
---------------------------------------------------------------------------*/
.padding0 {
	padding: 0 !important;
}
.padding-lr0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}



/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #D11C2C !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb-space-large {margin-bottom: var(--space-large) !important;}
.look {line-height: 1.5 !important; display: inline-block;padding: 5px 10px;background: rgba(0,0,0,0.1);border: 1px solid rgba(0,0,0,0.3);border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.inline-block {display: inline-block !important;}
.relative {position: relative;}
.marker {background: linear-gradient(transparent 50%, #ffcccc 0%);}
pre {white-space: pre-wrap;word-wrap: break-word;overflow-wrap: break-word;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/


/*CTAボタン白
---------------------------------------------------------------------------*/
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;

  padding: 16px 16px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-sizing: border-box;
}

/* テキスト側 */
.cta-text {
  max-width: 60%;
}

.cta-lead {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: #333132;
}

.cta-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #333132;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0px;
  white-space: nowrap;

  transition: opacity 0.2s ease;
}

.cta-btn:hover {
  opacity: 0.85;
}

/* グレーボタン */
.cta-btn-gray {
  background: #6b6b6b;
  color: #ffffff;
}

/* 赤ボタン */
.cta-btn-red {
  background: #c00000;
  color: #ffffff;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-text {
    max-width: 100%;
  }

  .cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/*CTAボタン黒
---------------------------------------------------------------------------*/
.cta-box-black {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;

  padding: 16px 16px;
  background: #333132;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-sizing: border-box;
}

/* テキスト側 */
.cta-text-black {
  max-width: 60%;
}

.cta-lead-black {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.cta-title-black {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

/* グレーボタン */
.cta-btn-white {
  background: #ffffff;
  color: #333132;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .cta-box-black {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-text-black {
    max-width: 100%;
  }

  .cta-buttons-black {
    width: 100%;
    flex-direction: column;
  }
}

/*フロー
---------------------------------------------------------------------------*/

.steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  margin: 60px auto;
  max-width: 1200px;
}

.step {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 20px 20px;
  text-align: center;
  width: 100%;
  position: relative;
}

/* ボックス間の線 */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 30px;
  height: 2px;
  background: #d0d0d0;
  transform: translateY(-50%);
}

.step-icon {
  margin-bottom: 12px;
}

.step-icon img {
  width: 100px;     /* ← お好みで */
  height: auto;
  display: block;
  margin: 0 auto;  /* 中央寄せ */
}

.step-num {
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.step-btn {
  margin-top: 16px;
  padding: 8px 16px;
  border: none;
  background: #333;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .steps {
    flex-direction: column;
  }

  .step::after {
    display: none;
  }
}

/* summaryのデフォルト矢印を消す */
.step-details summary {
  list-style: none;
  cursor: pointer;
}
.step-details summary::-webkit-details-marker {
  display: none;
}

/* ボタン見た目 */
.step-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 5px;
  background: #333;
  color: #fff;
  font-size: 14px;
}

/* 選択肢 */
.step-options {
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.step-options li {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 14px;
  background: #fafafa;
}

/* 開いたら文言変更 */
.step-details[open] .step-btn::after {
  content: "（閉じる）";
  font-size: 12px;
  margin-left: 6px;
}

/*フローボタン
---------------------------------------------------------------------------*/
.flow-cta {
  text-align: center;
  margin: 40px auto 0; /* フローとの距離 */
}

.flow-cta-btn {
  display: inline-block;
  width: 100%;
  max-width: 520px;   /* 横長 */
  padding: 16px 0;
  background: #c80000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0px;
  letter-spacing: 0.1em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.flow-cta-btn:hover {
  background: #a00000;
  transform: translateY(-2px);
}


/*技術一覧
---------------------------------------------------------------------------*/

/* 一覧全体の背景（ここだけ角丸） */
.tech-list-wrapper {
  margin: 16px auto;      /* 上下余白を小さく */
  max-width: 1400px;      /* 横幅を広げる */
  padding: 0 16px;        /* 画面端対策（重要） */
}

.tech-list {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px;
}

@media (max-width: 1024px) {
  .tech-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tech-list {
    grid-template-columns: 1fr;
  }
}

/* 各カテゴリブロック */
.tech-item {
  text-align: left;
}

/* アイコン */
.tech-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

/* カテゴリ名 */
.tech-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* 技術リスト */
.tech-detail {
  padding-left: 1em;
  margin: 0;
}

.tech-detail li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
}


/*事例
---------------------------------------------------------------------------*/
/* =========================
   3列レイアウト
========================= */
.case-section {
  padding: 60px 0;
}

.case-list {
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
 padding: 0 32px;
}

/* =========================
   カード
========================= */
.case {
 padding: 20px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;

  /* ← ボタン位置揃え用 */
  display: flex;
  flex-direction: column;
}

.case img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* =========================
   テキスト
========================= */
.case-no {
  font-size: 14px;
  color: #D11C2C;
  letter-spacing: 0.1em;
  margin: 0;              /* ← 追加 */
}

.case-title {
  font-size: 18px;
  margin: 2px 0;          /* ← 上下まとめて制御 */
}

.case-industry {
  font-size: 13px;
  color: #777;
  margin: 0 0 8px 0;      /* ← 上をゼロに */
}

.case-summary {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;              /* ← 追加 */
}


/* =========================
   details / summary
========================= */
.case-details {
  margin-top: auto; /* ← ボタンを下揃え */
}

.case-details summary {
  list-style: none;
  cursor: pointer;
}

.case-details summary::-webkit-details-marker {
  display: none;
}

/* =========================
   ボタン
========================= */
.case-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
  padding: 12px 0;
  background: #c80000;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* 文言切替 */
.case-details[open] .case-btn::after {
  content: "（閉じる）";
  font-size: 12px;
  margin-left: 6px;
  padding-bottom: 0;
}

/* =========================
   展開エリア（修正版）
========================= */
.case-detail-body {
  margin-top: 8px;

  /* 見た目 */
  background: #f8f8f8;
  border-radius: 6px;

  /* アニメーション制御 */
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition:
    max-height 0.45s ease,
    padding 0.3s ease;

  /* 文字崩れ防止 */
  writing-mode: horizontal-tb;
  word-break: normal;
}

/* open時 */
.case-details[open] .case-detail-body {
  max-height: 1200px; /* 内容量に応じて十分大きく */
  padding: 16px;
}

/* =========================
   内部要素
========================= */
.case-detail-body section {
  margin-bottom: 16px;
}

.case-detail-body h5 {
  font-size: 15px;
  font-weight: bold;
  color: #c62828;
  margin-bottom: 8px;
  border-left: 4px solid #c62828;
  padding-left: 8px;
}

.case-detail-body p {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  max-width: 100%;
}


/* =========================
   SP
========================= */
@media screen and (max-width: 768px) {
  .case-list {
    grid-template-columns: 1fr;
  }

  .case:has(details[open]) {
    grid-column: auto;
  }
}


/*設備
---------------------------------------------------------------------------*/

/* =========================
   全体
========================= */
.cleanroom {
  padding: 80px 0;
}

/* =========================
   クリーンルーム紹介
========================= */
.cleanroom-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.intro-image img {
  width: 100%;
  border-radius: 12px;
}

.label {
  display: inline-block;
  padding: 4px 12px;
  background: #e60012;
  color: #fff;
  font-size: 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.intro-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.intro-text p {
  line-height: 1.8;
}

/* =========================
   クリーンルーム特徴
========================= */
.cleanroom-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px; /* ← ここが基準の行間 */
  margin-bottom: 24px;
}

.feature-item {
  text-align: left;
}

.feature-item img {
  width: 64px;
  margin-bottom: 8px;
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   会社紹介
========================= */
.company-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px; /* ← ②と同じ余白 */
}

.data-item h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
 margin-bottom: 0px;
}

.arrow-text {
  color: #e60012;
  font-weight: bold;
  margin-right: 8px;
  line-height: 1;
}


.data-item p {
  font-size: 14px;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {
  .cleanroom-intro {
    grid-template-columns: 1fr;
  }

  .cleanroom-features {
    grid-template-columns: 1fr;
  }
}

/* =========================
   資料請求
========================= */
/* =========================
   全体
========================= */
.wpcf7 {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  color: #111;
}

/* =========================
   グリッド
========================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

/* 共通フォームアイテム */
.form-item,
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

/* フル幅 */
.form-group.full {
  grid-column: 1 / -1;
}

/* =========================
   ラベル
========================= */
.form-item label,
.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 必須 */
.required {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  background: #000;
  color: #fff;
}

/* =========================
   input / textarea
========================= */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  box-sizing: border-box;
}

.wpcf7 textarea {
  min-height: 200px;
  resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #bbb;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #000;
}

/* 文字数カウント */
.note {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
  display: block;
  text-align: right;
}

/* =========================
   プライバシー
========================= */
.privacy {
  margin-top: 48px;
  font-size: 13px;
  line-height: 1.8;
  color: #333;
}

.privacypolicy-txt-ttl {
  font-weight: 700;
  margin-bottom: 12px;
}

.privacy ul {
  padding-left: 1.2em;
}

/* =========================
   ラジオ
========================= */
.radio-group {
  margin-top: 48px;
}

.radio-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.radio-wrap {
  display: flex;
  gap: 32px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.wpcf7 input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #111;
}

/* =========================
   送信ボタン
========================= */
.submit-btn {
  margin-top: 48px;
}

.wpcf7-submit {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  padding: 20px;
  font-size: 16px;
  cursor: pointer;
}

.wpcf7-submit:hover {
  opacity: 0.85;
}

/* =========================
   エラー
========================= */
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #d11c2c;
  margin-top: 6px;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

#mainimg {
  overflow: hidden;
}