@charset "utf-8";


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


/*animation1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@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を読み込みます。*/
	font-weight: 300;
	-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: var(--content-space-v, var(--content-space-l)) var(--content-space-l);	/*上下、左右へのsection内の余白。上下はtheme.cssのcontent-space-v（無い場合はcontent-space-l）、左右はcontent-space-lを読み込みます。上下のセクションが隣り合うと、2つ分の余白になります。*/
}

/*section内の最初と最後の要素のマージンはリセット（余白はsectionのpaddingで管理する為）*/
section > :first-child {margin-top: 0;}
section > :last-child {margin-bottom: 0;}


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

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

/*「→」アイコン付きのリンク。マウスオンで矢印を少し右に動かす。*/
a .fa-arrow-right {
	display: inline-block;
	transition: transform 0.3s;
}
a:hover .fa-arrow-right {
	transform: translateX(4px);	/*右に動かす距離*/
}


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

/*２カラム時（左にheader、右に#contents）*/
#container.c2 {
	flex-direction: row;
	align-items: flex-start;
	background: var(--primary-light-color);	/*左側（header部分）の背景色。theme.cssのprimary-light-colorを読み込みます。*/
	color: var(--primary-light-inverse-color);	/*左側（header部分）の文字色。theme.cssのprimary-light-inverse-colorを読み込みます。*/
}

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

	/*２カラム時（縦積みに戻す）*/
	#container.c2 {
		flex-direction: column;
		align-items: stretch;
	}

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


/*header（ロゴやメニューが入った左側のブロック）
---------------------------------------------------------------------------*/
header {
	position: sticky;	/*スクロールしても左側に残す*/
	top: 0;
	width: 250px;		/*ヘッダーの幅*/
	flex-shrink: 0;
	height: 100vh;
	overflow-y: auto;	/*中身が画面の高さより長い時は、header内でスクロール*/
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 2rem 0;
}

/*ロゴ画像*/
header .logo {margin: 0;text-align: center;}
header .logo img {
	width: 150px;	/*ロゴの幅。お好みで。*/
}

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

	header {
		position: static;
		width: auto;
		flex-direction: row;
		align-items: center;
		height: 70px;	/*ハンバーガーアイコンと同じ高さ*/
		padding: 0 var(--content-space-l);
	}
	header .logo img {
		width: 100px;
	}

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


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#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 {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	flex: 1;
}

/*メニュー１個あたり*/
.large-screen #menubar nav a {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.7rem 2rem;	/*上下に0.7文字分、左右に2文字分の余白*/
	text-decoration: none;
	font-size: 0.9rem;	/*文字サイズ90%*/
	border-left: 3px solid transparent;
}

/*マウスオン時と、現在表示中のメニュー（current）*/
.large-screen #menubar nav a:hover,
.large-screen #menubar nav li.current a {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	border-left-color: var(--primary-color);	/*左の線の色。theme.cssのprimary-colorを読み込みます。*/
}

/*メニューのアイコン*/
#menubar nav i {
	width: 1.2em;
	text-align: center;
	color: var(--primary-color);	/*アイコンの色。theme.cssのprimary-colorを読み込みます。*/
}

/*お問い合わせボタン*/
#menubar .btn {
	margin: 0 1rem;
}
#menubar .btn a {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

/*メニュー下の情報ブロック（キャッチと会社情報）*/
#menubar .info {
	margin-top: auto;	/*一番下に配置*/
	padding: 2rem 2rem 0;
	font-size: 0.75rem;	/*文字サイズ75%*/
	line-height: 1.8;
	border-top: 1px solid var(--primary-light-border-color);	/*上の線。theme.cssのprimary-light-border-colorを読み込みます。*/
}
#menubar .info p {
	margin: 0 0 1rem;
}

/*キャッチ*/
#menubar .info .catch {
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-size: 1.2rem;
	line-height: 1.6;
}

/*会社名*/
#menubar .info .name {
	font-weight: bold;
	margin-bottom: 0.5rem;
}


/*メニュー（小さな端末）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.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 nav a {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
	border-radius: 5px;		/*角を少し丸くする*/
	text-decoration: none;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}

/*お問い合わせボタン*/
.small-screen #menubar .btn {
	margin: 0 0 2rem;
}
.small-screen #menubar .btn a {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	border-color: var(--accent-color);
	padding: 1rem 2rem;
}

/*情報ブロック*/
.small-screen #menubar .info {
	padding: 2rem 0 0;
	border-top-color: var(--primary-border-color);
}


/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#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 .slide picture {display: block;width: 100%;height: 100%;}

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

/*３枚の画像の共通設定（２枚目以降は１枚目の上に重ねます）*/
.mainimg .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。１枚が表示される時間はjsで指定できます。*/
	overflow: hidden;
	pointer-events: none;	/*表示中のスライドだけクリックできるようにします*/
}

/*１枚目画像（変更不要）。ここがメイン画像の高さを作ります。*/
.mainimg .slide:first-child {
	position: relative;
	width: 100%;
	height: auto;
	opacity: 1;
}

/*表示中のスライド（変更不要）*/
.mainimg .slide.active {
	opacity: 1;
	pointer-events: auto;
}

/*画像全般（変更不要）*/
.mainimg .slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;			/*画像をコンテナのサイズに合わせてクリップ*/
	object-position: center;	/*画像の中心を基準に*/
}

/*徐々に拡大（不要な場合はこのブロックごと削除して下さい）*/
.mainimg .slide.zoom img {
	transform: scale(1.07);	/*終了時点での画像サイズ。107%。お好みで調整して下さい。*/
}

/*現在表示中（インジケーター）のボタン*/
.mainimg .slide-indicators {
	text-align: center;
	position: absolute;
	z-index: 3;
	width: 100%;
	bottom: 1vw;	/*ボタンの配置場所*/
	left: 0px;
}
.mainimg .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: rgba(255,255,255,0.5);	/*未アクティブ時のボタン色。255,255,255は白のことで0.5は色が50%出た状態。*/
	box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 1px 4px rgba(0,0,0,0.4);	/*細いフチ線と影。白っぽい画像の上でも見えるように。*/
	border-radius: 5px;
	margin: 0 5px;
	cursor: pointer;
	transition: 0.3s;
}
.mainimg .indicator.active {
	width: 24px;	/*アクティブ時は横長にする*/
	background: #fff;	/*アクティブ時のボタン色*/
}

/*大きな端末で、左側（headerとの境目）に入れるライン*/
.large-screen .mainimg {
	border-left: 4px solid var(--primary-color);	/*線の幅、線種、var以降は色の指定で、theme.cssのprimary-colorを読み込みます。*/
}

/*画像の上に重ねる色（写真全体に均一にかけています）*/
.mainimg .slide::before {
	content: "";
	position: absolute;z-index: 1;
	inset: 0;
	background: rgba(0,0,0,0.5);	/*0,0,0は黒の事で0.5は色が50%出た状態。数字を大きくすると暗く、小さくすると明るくなります。*/
}


/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロックの基本設定（中央配置がデフォルト）*/
.mainimg .slide .text {
	position: absolute;z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 1.5rem;
	margin: 0 var(--content-space-l);	/*余白。上下は0、左右にはtheme.cssのcontent-space-lのサイズを読み込みます。*/
	color: #fff;	/*文字色*/
}

/*テキストブロックを左に配置させたい場合*/
.mainimg .slide .text.left {
	align-items: flex-start;
	text-align: left;
}

/*テキストブロックを右に配置させたい場合*/
.mainimg .slide .text.right {
	align-items: flex-end;
	text-align: right;
}

/*テキストブロックを中央に配置させたい場合*/
.mainimg .slide .text.center {
	align-items: center;
	text-align: center;
}

/*h2（大きな文字）*/
.mainimg .text h2 {
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-weight: 500;
	font-size: max(24px, 4.5vw);
	line-height: 1.4;
	letter-spacing: 0.05em;
}

/*h2内のspan（上の小さな文字）*/
.mainimg .text h2 span {
	display: block;
	font-size: 0.3em;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}

/*p（説明テキスト部分）*/
.mainimg .text p {
	font-size: 1rem;
}

/*ボタンブロック（ボタンが１つの場合も、このブロックで囲みます）*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;	/*2個以上ボタンを並べた場合の、間に空けるスペース。*/
}

/*右側の縦の英字（BUSINESS × TECHNOLOGY × PEOPLE）*/
.mainimg .side-text {
	position: absolute;z-index: 1;
	top: 2rem;
	right: 2rem;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	line-height: 1.6;
	text-align: center;
	color: #fff;
}

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

	/*説明文、右側の英字を非表示に*/
	.mainimg .text p:not(.btn),
	.mainimg .side-text {
		display: none;
	}

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


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

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

/*アクセントカラーのボタン*/
.btn.accent a {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border: 1px solid var(--accent-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのaccent-colorを読み込みます。*/
}


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

/*２カラム時の#contents（右側のブロック）*/
#container.c2 #contents {
	min-width: 0;	/*中身が大きくてもはみ出さないように*/
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}
#container.c2 main {
	flex: 1;
}


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

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

/*h2*/
main h2 {
	margin: 0 0 1rem;
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-weight: 500;
	font-size: 2rem;	/*文字サイズ。2倍。*/
	line-height: 1.5;
}

/*h2内のspan（上の英語）*/
main h2 span {
	display: block;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*「詳しく見る」などのリンク*/
.more a {
	text-decoration: none;
	font-size: 0.85rem;
}
.more i {
	margin-left: 0.5rem;
}


/*２カラム（.c2をつけたブロックを左右2列に）
---------------------------------------------------------------------------*/
main .c2 {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: 3rem;
}
main .c2 > div > :last-child {
	margin-bottom: 0;
}
main .c2 > div:first-child {
	flex-shrink: 0;	/*左側（見出し側）は縮めない*/
}

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

	main .c2 {
		flex-direction: column;	/*縦積みに*/
		align-items: stretch;
	}

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


/*list1（「サービス」「導入事例」ブロック）
---------------------------------------------------------------------------*/
.list1 * {margin: 0;padding: 0;}

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

/*2列にする場合（事例紹介ページ）*/
.list1.col2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));	/*2列*/
}

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

	.list1, .list1.col2 {
		grid-template-columns: 1fr;	/*1列*/
	}

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

/*ボックス１個あたり*/
.list1 .list {
	display: flex;
	flex-direction: column;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);	/*ボックスの影。0,0,0は黒のことで0.2は20%色が出た状態。*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	border-radius: 5px;	/*角を少し丸くする*/
	overflow: hidden;
}

/*画像ブロック*/
.list1 .image {
	position: relative;
}
.list1 .image a {
	display: block;
	overflow: hidden;
}
.list1 .image img {
	display: block;
	transition: 0.5s;	/*マウスオンにかける時間。0.5秒。*/
}
.list1 .image a:hover img {
	transform: scale(1.05);	/*マウスオン時の拡大率。105%。*/
}

/*テキストボックス*/
.list1 .text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 2.5rem 1.5rem 1.5rem;	/*上はアイコンが重なる分を多めに*/
}

/*説明文*/
.list1 .text p {
	font-size: 0.85rem;	/*文字サイズ85%*/
	line-height: 1.8;
}

/*「詳しく見る」を一番下に*/
.list1 .text .more {
	margin-top: auto;
	padding-top: 0.5rem;
}

/*タグ（「製造業」など）*/
.list1 .tag, .free1 .tag {
	align-self: flex-start;
	padding: 0 0.5rem;
	font-size: 0.75rem;	/*文字サイズ75%*/
	background: var(--primary-light-color);	/*背景色。theme.cssのprimary-light-colorを読み込みます。*/
	color: var(--primary-light-inverse-color);	/*文字色。theme.cssのprimary-light-inverse-colorを読み込みます。*/
}

/*アイコン*/
.list1 .icon {
	position: absolute;
	left: 1.5rem;
	bottom: -25px;	/*半分だけ画像の下にはみ出させる*/
	width: 50px;
	line-height: 50px;
	text-align: center;
	border-radius: 50%;	/*円形に*/
	background: var(--primary-light-color);	/*背景色。theme.cssのprimary-light-colorを読み込みます。*/
	color: var(--primary-color);	/*アイコンの色。theme.cssのprimary-colorを読み込みます。*/
	font-size: 1.2rem;	/*アイコンサイズ*/
	pointer-events: none;
}

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

/*ボックス全体*/
.list2 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
}

/*ボックス１個あたり*/
.list2 .list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 0 2rem;
	text-align: center;
}

/*２個目以降のボックスの左に区切り線*/
.list2 .list + .list {
	border-left: 1px solid var(--light-border-color);	/*線の色。theme.cssのlight-border-colorを読み込みます。*/
}

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

	.list2 {
		grid-template-columns: 1fr;	/*1列*/
		gap: 3rem;
	}
	.list2 .list + .list {
		border-left: none;
	}

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

/*アイコン*/
.list2 .icon {
	width: 80px;
	line-height: 80px;
	border-radius: 50%;	/*円形に*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--primary-color);	/*アイコンの色。theme.cssのprimary-colorを読み込みます。*/
	font-size: 1.8rem;	/*アイコンサイズ*/
}

/*見出し*/
.list2 h4 {
	font-size: 1.1rem;
}

/*見出しの番号*/
.list2 h4 span {
	margin-right: 0.5rem;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*説明文*/
.list2 p {
	font-size: 0.85rem;	/*文字サイズ85%*/
	line-height: 1.8;
}


/*free1（画像と文章を左右交互に並べるブロック。下層ページで使用）
---------------------------------------------------------------------------*/
/*画像と文字を囲むブロック*/
.free1 .list {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));	/*12等分*/
	grid-auto-flow: dense;
	align-items: center;
	gap: 3rem;	/*画像と文章の間に空けるスペース。3文字分。*/
	margin-bottom: 5rem;	/*下に空けるスペース。5文字分。*/
}
.free1 .list:last-child {
	margin-bottom: 0;
}

/*画像（左）と文章（右）*/
.free1 .image {
	grid-column: 1 / 6;
}
.free1 .text {
	grid-column: 6 / -1;
}

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

/*画像*/
.free1 img {
	display: block;
	width: 100%;
	border-radius: 5px;	/*角を少し丸くする*/
}

/*タグ（事例紹介ページ）*/
.free1 .tag {
	display: inline-block;
	margin-bottom: 0.5rem;
}

/*見出し*/
.free1 h3 {
	margin-top: 0;
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-weight: 500;
	font-size: 1.5rem;	/*文字サイズ1.5倍*/
}

/*サービス名の番号*/
.free1 h3 span {
	margin-right: 1rem;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*「主な支援内容」*/
.free1 h4 {
	margin-bottom: 0;
	font-size: 0.9rem;
}

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

	/*縦積みに*/
	.free1 .list {
		display: block;
	}
	.free1 .image {
		margin-bottom: 1.5rem;
	}

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


/*free2（横幅いっぱいの画像と、番号付きの文章を縦に並べるブロック）
---------------------------------------------------------------------------*/
.free2 .list {
	margin-bottom: 5rem;	/*下に空けるスペース。5文字分。*/
}
.free2 .list:last-child {
	margin-bottom: 0;
}

/*画像*/
.free2 .image img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 2;	/*画像の縦横比。お好みで。*/
	object-fit: cover;
}

/*文章ブロック（番号と文章を横並びに）*/
.free2 .text {
	display: flex;
	gap: 2rem;
	margin-top: 2rem;
}

/*番号*/
.free2 .num {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 4rem;	/*文字サイズ4倍*/
	line-height: 1;
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*見出し*/
.free2 h3 {
	margin-top: 0;
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-weight: 500;
	font-size: 1.5rem;	/*文字サイズ1.5倍*/
}

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

	.free2 .image img {
		aspect-ratio: 16 / 9;
	}
	.free2 .text {
		flex-direction: column;	/*縦積みに*/
		gap: 1rem;
	}

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


/*YouTube・Google Map用
---------------------------------------------------------------------------*/
.iframe1 {
	width: 100%;
	aspect-ratio: 16 / 9;	/*アスペクト比。お好みで。*/
	position: relative;
	overflow: hidden;
}
.iframe1 iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*step（「ご支援の流れ」ブロック。番号付きの工程案内）
---------------------------------------------------------------------------*/
.step1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.step1 {
	display: flex;
	flex-direction: column;
	gap: 0;
	font-size: 0.9rem;	/*文字サイズ90%*/
	counter-reset: step-counter;	/*CSSカウンターをリセット。番号の自動採番に使用。*/
}

/*ステップ１個あたり*/
.step1 .step {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;	/*番号とテキストの余白。1.5文字分。*/
	padding: 1.5rem 0;	/*上下に1.5文字分の余白、左右はゼロ。*/
	border-bottom: 1px solid var(--bg-border-color);	/*区切り線。色はtheme.cssのbg-border-colorを読み込みます。*/
	counter-increment: step-counter;	/*CSSカウンターを1ずつ増やす*/
}
.step1 .step:last-child {
	border-bottom: none;	/*最後のステップは区切り線なし*/
}

/*bg1-light-parts上の区切り線色*/
.bg1-light-parts .step1 .step {
	border-bottom-color: var(--light-border-color);
}

/*bg-parts上の区切り線色（暗い背景向け）*/
.bg1-parts .step1 .step,
.bg1-primary-parts .step1 .step,
.bg1-accent-parts .step1 .step {
	border-bottom-color: rgba(255,255,255,0.2);	/*白の半透明*/
}

/*番号（丸い円の中にCSSカウンターで自動採番）*/
.step1 .step .num {
	flex-shrink: 0;		/*番号が縮まないようにする*/
	width: 50px;	/*円の幅*/
	height: 50px;	/*円の高さ*/
	border-radius: 50%;	/*円形にする*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 1.3rem;	/*文字サイズ1.3倍*/
	font-weight: bold;	/*太字*/
}

/*番号の中身をCSSカウンターで自動表示*/
.step1 .step .num::before {
	content: counter(step-counter);
}

/*bg-parts上の番号色調整（暗い背景向け）*/
.bg1-parts .step1 .step .num,
.bg1-primary-parts .step1 .step .num,
.bg1-accent-parts .step1 .step .num {
	background: rgba(255,255,255,0.2);	/*白の半透明*/
	color: #fff;
}

/*テキストエリア（番号の横）*/
.step1 .step .text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;	/*テキスト要素同士の余白。0.3文字分。*/
	padding-top: 0.2rem;	/*番号の中心に合わせる微調整。0.2文字分。*/
}

/*ステップ名（h4）*/
.step1 .step h4 {
	font-size: 1.05rem;	/*文字サイズ1.05倍*/
	line-height: 1.5;	/*行間*/
}

/*説明テキスト*/
.step1 .step p {
	font-size: 0.85rem;	/*文字サイズ85%*/
	line-height: 1.8;	/*行間*/
	opacity: 0.8;	/*透明度。色が80%出た状態。*/
}

/*ステップ画像（任意。画像なしでもOK）*/
.step1 .step .img {
	width: 120px;	/*画像の幅*/
	flex-shrink: 0;	/*画像が縮まないようにする*/
	border-radius: 8px;	/*角を丸くする*/
	overflow: hidden;
}
.step1 .step .img img {
	width: 100%;
	aspect-ratio: 1 / 1;	/*正方形*/
	object-fit: cover;	/*コンテナいっぱいにカバー、余分な部分はカット*/
	display: block;
}

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

	/*ステップ画像を非表示*/
	.step1 .step .img {
		display: none;
	}

	/*番号を小さくする*/
	.step1 .step .num {
		width: 40px;	/*円の幅を小さく*/
		height: 40px;	/*円の高さを小さく*/
		font-size: 1.1rem;	/*文字サイズ1.1倍*/
	}

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


/*狭い幅
---------------------------------------------------------------------------*/
.narrow {
	max-width: 900px;	/*最大幅。お好みで。*/
	margin-inline: auto;	/*中央に配置*/
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 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を読み込みます。*/
}

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

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

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

/*th（左側）のみの設定*/
.ta1 th {
	width: clamp(8rem, 22vw, 13rem);	/*幅。8文字分〜13文字分の間で、画面幅に応じて自動調整。真ん中の22vwは画面幅の22%。*/
	text-align: left;	/*左よせにする*/
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}


/*news（お知らせ）
---------------------------------------------------------------------------*/
dl.news * {margin: 0;padding: 0;}

/*日付*/
dl.news dt {
	display: flex;
}

/*アイコン*/
dl.news dt span {
	display: inline-block;
	line-height: 1;
	width: 6rem;	/*幅*/
	padding: 0.3rem 0;	/*上下に0.3文字分、左右に0の余白*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	text-align: center;
	transform: scale(0.8);	/*サイズを80%に*/
	border-radius: 3px;		/*角を少し丸く*/
}
/*アイコン（primary背景色の上でアイコンが同化しないように）*/
.bg1-primary-parts dl.news dt span {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}

/*アイコンを目立たせる場合（accent-color）*/
dl.news dt span.accent-color {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}
/*アイコンを目立たせる場合（accent背景色の上でアイコンが同化しないように）*/
.bg1-accent-parts dl.news dt span.accent-color {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}

	/*画面幅900px以上の追加指定*/
	@media (min-width: 900px){

	dl.news {
		display: grid;
		grid-template-columns: max-content minmax(0, 1fr);	/*日付幅は最大の文字数幅に自動調整し、右側テキストは残り一杯使う。*/
		align-items: start;
	}

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


/*contact（「お問い合わせ」ブロック）
---------------------------------------------------------------------------*/
#contact {
	padding-top: 5rem;
	padding-bottom: 5rem;
	background: linear-gradient(rgba(20,20,20,0.8), rgba(20,20,20,0.8)), url("../images/contact-bg.jpg") no-repeat center bottom / cover;	/*背景画像（contact-bg.jpg）の上に、黒系を80%重ねています。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}

/*ボタンを並べるブロック*/
#contact .btn-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

#contact .btn-container .btn {
	margin: 0;
}

/*ボタン内のアイコン*/
#contact .btn i {
	margin-right: 0.5rem;
}
#contact .btn i.fa-arrow-right {
	margin: 0 0 0 0.5rem;
}


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

/*フッターボックス全体*/
footer {
	display: flex;	/*横並びにする*/
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2rem 3rem;	/*上下に2文字分、左右に3文字分のスペース*/
	padding: 3rem var(--content-space-l) 1rem;	/*上は3文字分、左右はtheme.cssのcontent-space-lを読み込み、下は1文字分の余白。*/
	font-size: 0.8rem;	/*文字サイズ80%*/
	border-top: 1px solid var(--bg-border-color);	/*上の線。theme.cssのbg-border-colorを読み込みます。*/
}

/*ロゴ*/
footer .logo {
	margin-right: auto;	/*メニューを右に寄せる*/
}
footer .logo img {
	width: 150px;	/*ロゴの幅。お好みで。*/
}

/*フッターメニュー*/
footer .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 3rem;
}
footer .menu a {
	text-decoration: none;
}

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

/*Copyright部分*/
footer small {
	display: block;
	width: 100%;	/*幅を100%に*/
	padding-top: 1rem;
	border-top: 1px solid var(--bg-border-color);	/*上の線。theme.cssのbg-border-colorを読み込みます。*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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-color: var(--bg-inverse-color);	/*背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*文字色。theme.cssのbg-colorを読み込みます。*/
}

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


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


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


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


/*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;}
.look .color-check {color: #ffe14d !important;}	/*黒背景の.look内では黄色に*/
.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.8em;}
.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;}
