@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url("inview.css");



/*テーマカラーの定義（CSS変数）
ここのカラーコードを変更するだけで、テンプレートのテーマカラーが変わります。
---------------------------------------------------------------------------*/
:root {
    --primary-color: #fff;		/*ヘッダーの背景色など*/
    /*--primary-color: #e4d3e5;		/*ヘッダーの背景色など*/
	--secondary-color: #d9c7db;		/*bg1などで使っているサブ的な色*/
    --primary-text-color: #555;	/*主に、上の２つのカラーを背景色に使った際の文字色*/
}


/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	font-size: 13px;	/*基準となるフォントサイズ。*/
}

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

		html, body {
			font-size: 16px;	/*基準となるフォントサイズ。*/
		}

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


body {
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	-webkit-text-size-adjust: none;
	background: #fefefe;	/*背景色*/
	color: #696a6a;		/*文字色*/
	line-height: 2;		/*行間*/
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

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


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

/*マウスオン時*/
a:hover {
	opacity: 0.8;	/*色を80%だけ出す*/
}


/*sectionとarticleの余白
---------------------------------------------------------------------------*/
main > section,
main > article {
	padding: 2% 5%;	/*上下、左右への余白*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 1800px;	/*サイトの最大幅。これ以上広がらない。*/
	margin: 0 auto;
	overflow-x: hidden;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header a {color: inherit;}
header {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているテーマカラーを読み込みます*/
	text-align: center;
	padding: 20px 5% 20px 5%;		/*ヘッダー内の余白。上、右、下、左への順番。*/
}


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

	/*ヘッダーブロック*/
	header {
		display: flex;					/*flexボックスを使う指定*/
		justify-content: space-between;	/*並びかたの種類の指定*/
		align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
		padding-right: 65px;			/*ヘッダー内の右側の余白の上書き。。*/
	}

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


/*ロゴ*/
#logo img {display: block;}
#logo {
	margin: 0;
	margin-bottom: 5%;	/*下に空けるスペース。お問い合わせボタンがロゴの下にくるので、その間の余白調整です。*/
	width: 180px;	/*ロゴ画像の幅*/
}

	/*画面幅400px以上の追加指定*/
	@media screen and (min-width:400px) {
	
	/*ロゴ*/
	#logo {
		margin-bottom: 0;	/*下に空けるスペースをなくす*/
	}	

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


/*header右側のボタン
---------------------------------------------------------------------------*/
/*ボタンブロック*/
header .btn {
	padding: 0; margin: 0;
	list-style: none;
}

/*ボタン１個あたり*/
header .btn li a {
	display: block;text-decoration: none;
	background: linear-gradient(#773688, #552577);/*背景グラデーション*/
	color: #fff;	/*文字色*/
	border-radius: 3px;	/*角を丸くする指定*/
	padding: 0.5rem 1.5rem;	/*上下に0.5文字分、左右に1.5文字分、ボタン内に余白を作る*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;color: #773688;}

.large-screen #menubar {display: block;flex: 1;}
.small-screen #menubar.display-block {display: block;}

#menubar_hdr.display-none {display: none;}

.ddmenu_parent ul {display: none;}

a.ddmenu {cursor: default;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesome Free版を使う指定*/
	content: "\f078";	/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 1em;	/*アイコンとテキストとの間に空けるスペース*/
	font-size: 0.8rem;		/*文字サイズを80%に*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;	/*横並びにする*/
	margin-left: 30px;	/*左側にとるスペース。ロゴとの間の間隔を調整します。*/
	font-size: 0.9rem;	/*文字サイズ。90%。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}
.large-screen #menubar li a {
	padding: 10px;	/*メニュー同士の余白*/
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	border-radius: 10px;	/*角を丸くする指定*/
	overflow: hidden;
	text-align: center;		/*文字をセンタリング*/
	color: #fff;			/*文字色*/
}

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	color: inherit;
	background: rgba(0,0,0,0.7);	/*背景色。0,0,0は黒のことで0.7は色が70%出た状態*/
	padding: 10px 20px;				/*上下、左右へのメニュー内の余白*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;			/*ブロック内の余白。上、左右、下。*/
	background: rgba(0,0,0,0.9);		/*背景色*/
	text-align: center;					/*内容をセンタリング*/
	animation: animation1 0.2s both;	/*animation1を実行する。0.2sは0.2秒の事。*/
	color: #fff;						/*文字色*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar a {
	color: inherit;
	padding: 10px;		/*メニュー内の余白*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 10px;			/*右からの配置場所指定*/
	top: 20px;				/*上からの配置場所指定*/
	padding: 16px 14px;		/*上下、左右への余白*/
	width: 46px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;			/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	background: var(--primary-color);
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 2px solid var(--primary-text-color);	/*バーの色。線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 20px;						/*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}


/*スライドショー（vegasを使用）
ここでは、20:9の画像比率（9÷20=0.45）を読み込む指定を行なっています。
異なる画像比率にしたい場合、#mainimg-boxのpadding-topの数字を変更します。もし2:1にするなら50%です。
---------------------------------------------------------------------------*/
#mainimg-box {
	width: 100%;
	height: 0;
	padding-top: 45%;
	position: relative;
	z-index: -1;
}
#mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
#mainimg-box_recruit {
	width: 100%;
	height: 0;
	padding-top: 45%;
	position: relative;
	z-index: -1;
}
#mainimg_recruit {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*コンテンツ（mainの１つ外側のブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
}


/*mainブロック
---------------------------------------------------------------------------*/
/*ブロック内のh2見出し*/
main h2 {
	text-align: center;		/*文字をセンタリング*/
	font-size: 2.2rem;		/*文字サイズ。bodyで指定しているfont-sizeの2.2倍。*/
	color: rgba(179,94,197,1.00);
	font-weight: normal;	/*h要素のデフォルトの太字を標準にする指定*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	margin-bottom: 2em;		/*下に空けるスペース。ここのfont-sizeの2文字分。*/
	/* border-bottom: 1px solid #d1d3d3;	/*下線の幅、線種、色*/
}

/*h2の装飾文字部分*/
main h2 span {
	display: block;
	font-size: 0.3em;		/*文字サイズ。親要素（上のh2のfont-size）の30%。*/
	opacity: 0.5;			/*透明度。50%だけ色を出す指定。*/
	letter-spacing: 0.2em;	/*文字間隔を広くとる*/
}

/*h2の文字を左寄せで下線を引くタイプ*/
main h2.normal {
	text-align: left;	/*文字を左寄せ*/
	font-size: 1.6rem;	/*文字サイズ。bodyで指定しているfont-sizeの2倍。*/
	font-weight: bold;
	border-bottom: 1px solid #d1d3d3;	/*下線の幅、線種、色*/
	margin-top: 1em;
	margin-bottom: 0.5em;	/*下に空けるスペース。ここのfont-sizeの2文字分。*/
}

/*h2の文字を左寄せで下線を引くタイプ*/
main h2.normal_c {
	text-align: center;	/*文字を左寄せ*/
	font-size: 2.0rem;	/*文字サイズ。bodyで指定しているfont-sizeの2倍。*/
	font-weight: bold;
	margin-top: 30px;
	border-bottom: none;	/*下線の幅、線種、色*/
	margin-bottom: 0.5em;	/*下に空けるスペース。ここのfont-sizeの2文字分。*/
}

/* イラスト付きh2専用 */
main h2.h2_illust {
  position: relative;
  padding-right: 90px; /* 右にイラスト分の余白 */
}

/* 共通イラスト設定 */
main h2.h2_illust::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;   /* サイズ調整OK */
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* 犬 */
main h2.h2_illust.dog::after {
  background-image: url("../images/asagao_dog.png");
}

/* 猫 */
main h2.h2_illust.cat::after {
  background-image: url("../images/asagao_cat.png");
}

/* うさぎ */
main h2.h2_illust.rabbit::after {
  background-image: url("../images/asagao_rabbit.png");
}

/* トラ */
main h2.h2_illust.tiger::after {
  background-image: url("../images/asagao_tiger.png");
}

/* クマ */
main h2.h2_illust.bear::after {
  background-image: url("../images/asagao_bear.png");
}

.text_rinen{
    font-size: 150%;
}


@media screen and (max-width:899px) {
main h2 {
	text-align: center;		/*文字をセンタリング*/
	font-size: 1.8rem;		/*文字サイズ。bodyで指定しているfont-sizeの2.8倍。*/
	font-weight: normal;	/*h要素のデフォルトの太字を標準にする指定*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	margin-bottom: 1em;		/*下に空けるスペース。ここのfont-sizeの2文字分。*/
	/* border-bottom: 1px solid #d1d3d3;	/*下線の幅、線種、色*/
}
main h2.normal {
	text-align: left;	/*文字を左寄せ*/
	font-size: 1.3rem;	/*文字サイズ。bodyで指定しているfont-sizeの2倍。*/
	border-bottom: 1px solid #d1d3d3;	/*下線の幅、線種、色*/
	margin-bottom: 0.5em;	/*下に空けるスペース。ここのfont-sizeの2文字分。*/
}
main h2.normal_c {
	text-align: center;	/*文字を左寄せ*/
	font-size: 1.6rem;	/*文字サイズ。bodyで指定しているfont-sizeの2倍。*/
	/* border-bottom: 1px solid #d1d3d3;	/*下線の幅、線種、色*/
	margin-top: 20px;
	margin-bottom: 0.5em;	/*下に空けるスペース。ここのfont-sizeの2文字分。*/
}
.text_rinen{
    font-size: 110%;
}

}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
	margin: 0;
	padding: 20px;		/*ブロック内の余白*/
	text-align: center;	/*テキストを中央に*/
	font-size: 0.8rem;	/*文字サイズ。bodyのfont-sizeの80%です。*/
}

/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;	/*簡易的に横並びにする*/
	padding: 0 10px;		/*上下、左右への余白*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	background: var(--primary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているテーマカラーを読み込みます*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*横長タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-normal .list {
	padding: 2rem 0;	/*上下、左右へのボックス内の余白*/
}

/*ボックス内のfigure画像*/
.list-normal .list figure {
	margin-bottom: 1rem;	/*画像の下に空けるスペース*/
}
/*ボックス内のh4タグ*/
.list-normal .list h4 {
	margin: 0;				/*デフォルトマージンを一旦リセット*/
	margin-bottom: 0.5em;	/*下に少し余白を作る*/
	font-size: 1.3rem;		/*文字サイズ。bodyで指定しているfont-sizeの1.3倍。*/
}

/*ボックス内のpタグ*/
.list-normal .list p {
	margin: 0;			/*デフォルトマージンを一旦リセット*/
	font-size: 0.9rem;	/*文字サイズ。bodyで指定しているfont-sizeの0.9倍。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	.list-normal .list div {
		flex: 1;
	}

	/*ボックス１個あたり*/
	.list-normal .list {
		display: flex;	/*flexボックスを使う指定*/
		align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	}

	/*ボックス内のfigure画像*/
	.list-normal .list figure {
		margin-bottom: 0;	/*下に空けるスペースをリセットする*/
		width: 40%;			/*画像の幅*/
		margin-right: 2rem;	/*画像の右側に空けるスペース*/
	}

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


/*お客様の声で使っているボックス（2カラムブロック（※900px未満では１カラム））
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.list-half .list {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 5rem;	/*ボックスの下に5文字分のスペースを空ける*/
}

/*h4見出し*/
.list-half .list h4 {
	margin: 0;			/*デフォルトマージンを一旦リセット*/
	font-size: 1.5rem;	/*文字サイズ。bodyで指定しているfont-sizeの1.5倍。*/
}

/*画像ブロック共通*/
.list-half .image-l img, .list-half .image-r img {
	border-radius: 10px;	/*角を丸くする指定。*/
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

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

		/*２カラムを囲むブロック*/
		.list-half .list {
			flex-direction: row;			/*子要素を横並びにする*/
			justify-content: space-between;	/*並びかたの種類の指定*/
			align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
		}
		
		/*画像ブロック共通*/
		.list-half .image-l, .list-half .image-r {
			width: 40%;		/*画像の幅*/
		}
		
		/*画像を右に配置する場合*/
		.list-half .image-r {
			margin-left: 2rem;	/*画像の左側に空けるスペース*/
		}
		
		/*画像を左に配置する場合*/
		.list-half .image-l {
			order: -1;
			margin-right: 2rem;	/*画像の右側に空けるスペース*/
		}

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

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


/*ハウスメーカーからのお礼のブロック*/
.list-half .list-re {
	background: #e7f1f1;	/*背景色*/
	margin-top: -2rem;		/*上につめる*/
	margin-bottom: 5rem;	/*ボックスの下に5文字分のスペースを空ける*/
	padding: 2rem;			/*ブロック内の余白。*/
	font-size: 0.9rem;		/*文字サイズ。bodyで指定しているfont-sizeの0.9倍。*/
	border-radius: 10px;	/*角を丸くする指定*/
	position: relative;		/*下のbefore要素を絶対配置する為に必要な指定*/
}
.list-half .list-re::before {
	content: "▲";				/*この文字（▲マーク）を出力します*/
	font-size: 30px;			/*矢印（▲）のサイズ*/
	color: #e7f1f1;				/*色*/
	position: absolute;			/*絶対配置する*/
	top: -1.2em;				/*上からの配置場所の指定*/
	left: calc(50% - 0.5em);	/*左からの配置場所の指定*/
	transform: scale(1.5, 0.8);	/*大きさを少し横長にする。横に1.5倍、縦に0.8倍です。*/
}


/*３列タイプのボックス（grid）
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid .list {
	position: relative;
    display: grid;	/*gridを使う指定*/
    grid-template-rows: auto 1fr auto;	/*list内の上から２番目のブロック(.text)だけ伸ばし、他は自動。*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
}

/*ボックス内のh4タグ*/
.list-grid .list h4 {
	margin: 0;
}

/*ボックス内のpタグ*/
.list-grid .list .text p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}

/*ボックス内のfigure画像*/
.list-grid .list figure {
	margin-bottom: 1rem;	/*下に空けるスペース*/
}

/*ボタン*/
.list-grid .btn a {
	display: block;text-decoration: none;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color);		/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: var(--primary-text-color);		/*文字色。css冒頭で指定しているテーマカラーを読み込みます*/
	padding: 5px 10px;		/*ボタン内の余白*/
	margin-top: 1rem;		/*ボタンの上に空けるスペース*/
}

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: repeat(3, 1fr);	/*３列にする指定。４列にしたければrepeat(4, 1fr)とする。*/
		gap: 2rem;	/*マージン的な指定。２文字分。*/
	}
	
	/*ボックス１個あたり*/
	.list-grid .list {
		margin-bottom: 0;	/*ボックス同士の上下間に空けるスペースをリセット*/
	}

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


/*「新着情報」ブロック
---------------------------------------------------------------------------*/
/*新着情報ブロック*/
.new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	height: 250px;
	overflow: auto;
}

/*日付(dt)、記事(dd)共通設定*/
.new dt,
.new dd {
	padding: 5px 0;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
.new dt {
	width: 8em;	/*幅。8文字(em)分*/
}

/*日付の横のマーク（共通設定）*/
.new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
.new dd {
	width: calc(100% - 8em);	/*「8em」は上の「.new dt」のwidthの値です*/
}

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

	/*日付(dt)設定*/
	.new dt {
		width: 14em;	/*幅。14文字(em)分。アイコン分も含んだ幅にします。*/
		display: flex;	/*flexボックスを使う指定*/
		justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
	}

	/*日付の横のマーク（共通設定）*/
	.new dt span {
		display: inline-block;	/*表示させる*/
		width: 7em;				/*幅。7文字(em)分。*/
		background: #999;		/*背景色*/
		color: #fff;			/*文字色*/
		font-size: 0.8em;		/*文字サイズを80%に。*/
		text-align: center;		/*文字をセンタリング*/
		margin-right: 1em;		/*アイコンの右側に空けるスペース*/
		align-self: flex-start;	/*高さを間延びさせない指定*/
		line-height: 1.8;		/*行間を少し狭く*/
		position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
		border-radius: 2px;		/*角を丸くする指定*/
	}

	/*icon-bg1設定。サンプルテンプレートでは「施工事例」と書いてあるマーク*/
	.new dt span.icon-bg1 {
		background: #cd0000;	/*背景色*/
	}

	/*icon-bg2設定。サンプルテンプレートでは「キャンペーン」と書いてあるマーク*/
	.new dt span.icon-bg2 {
		background: #006acd;	/*背景色*/
	}

	/*記事(dd)設定*/
	.new dd {
		width: calc(100% - 14em);	/*「14em」は上の「.new dt」のwidthの値です。*/
	}

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


/*FAQ
---------------------------------------------------------------------------*/
/*質問*/
.faq dt {
	border-radius: 3px;		/*枠を角丸にする指定*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	background: #fff;		/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	text-indent: -2rem;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 5px 1em 5px 3em;		/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
    content: "\f059";	/*アイコンのコード*/
	padding-right: 1rem;	/*アイコンとテキストとの間のスペース*/
}

/*回答*/
.faq dd {
	padding: 5px 1rem 30px 3rem;		/*ボックス内の余白**/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}


/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view {
	max-width: 1000px;		/*最大幅*/
	margin: 0 auto 1rem;	/*ブロック要素を中央に配置。下に1文字分のマージンをとる。*/
	text-align: center;		/*画像が小さい場合でもセンタリングされるように*/
}

/*サムネイル全体を囲むブロック*/
.thumbnail {
	display: flex;				/*flexを使う指定*/
	justify-content: center;	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;		/*下に空けるスペース。２文字分。*/
}

/*サムネイル画像*/
.thumbnail img {
	width: 100px;		/*サムネイルの幅*/
	margin: 2px;		/*サムネイル間のスペース*/
	cursor: pointer;	/*リンクタグではないが、クリックできる事をわかりやすくする為にリンクと同じポインターにしておきます。*/
	transition: 0.3s;	/*マウスオンまでにかける時間。3秒。*/
}
.thumbnail img:hover {
	opacity: 0.8;	/*マウスオン時に80%だけ色を出す。つまり薄くなります。*/
}


/*詳細ページ（item.html）で使っている「前のページに戻る」ボタン
---------------------------------------------------------------------------*/
.back {
	text-align: center;
}
.back a {
	text-decoration: none;display: inline-block;
	padding: 0.5rem 2rem;	/*ボタン内の余白。上下、左右。*/
	border-radius: 30px;	/*角を丸くする指定。ある程度大きければ適当でいいです。*/
	background: #eee;		/*背景色*/
}
.back a::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f0d9";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	padding-right: 0.8em;	/*アイコンとテキストの間の余白*/
	font-weight: bold;		/*この設定がないとアイコンが出ない場合があります*/
	opacity: 0.5;			/*色を50%だけ出す*/
}


/*bg1（背景色がついたブロック）
---------------------------------------------------------------------------*/
.bg1 {
	background: var(--secondary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているテーマカラーを読み込みます*/
}

/*リンクテキスト*/
.bg1 a {
	color: inherit;
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 10px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #555;		/*背景色*/
	margin-bottom: 15px;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
	color: #fff;			/*文字色*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #ccc;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	margin: 0 auto 2em;		/*最後の「2em」がテーブルの下に空けるスペースです*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #ccc;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 10px 5px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: #f7f7f7;	/*背景色*/
}


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

	/*テーブル１行目に入った見出し部分（※caption）*/
	.ta1 caption {
		padding: 5px 15px;		/*上下、左右へのボックス内の余白*/
	}

	/*th（左側）、td（右側）の共通設定*/
	.ta1 th, .ta1 td {
		padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
	}

	/*th（左側）のみの設定*/
	.ta1 th {
		width: 20%;		/*幅*/
	}

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


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

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	background: rgba(0,0,0,0.3);	/*背景色。0,0,0は黒の事で0.3は色が30%出た状態。	*/
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	color: #fff;		/*文字色*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.color-theme, .color-theme a {color: var(--secondary-color) !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;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5rem {margin-bottom: 5rem !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; 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;}

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

	.ws {width: 50%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

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

/*調整用スタイル
---------------------------------------------------------------------------*/
.padding0 {
	padding: 0 !important;
}
.padding-lr0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
	display: flex;
}

/*画像*/
.slide-thumbnail1 .img img {
	padding: 5px;	/*画像の余白*/
}
/*タイトル*/
.slide-thumbnail1 .img h3 {
	color: blueviolet;
	font-size: 120%;
	font-weight: bold;
	padding: 0 50 0 0;	/*画像の余白*/
	line-height: 2em;
}
/*テキスト*/
.slide-thumbnail1 .img p {
	width: 80%;
	padding: 0 50 0 0;	/*画像の余白*/
}

@media screen and (max-width:640px) {
	
.slide-thumbnail1 .img {
	width: 200%;	/*画像の幅*/
	height: auto;
}
}

/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl, .slide-thumbnail1 .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.slide-thumbnail1 .rtl {animation-name: slide-rtl;}
.slide-thumbnail1 .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);}
}

/*list-grid1-parts　1列
---------------------------------------------------------------------------*/
.list-grid1-parts1 .list-parts * {margin: 0;padding: 0;}

/*ブロック全体を囲むブロック*/
.list-grid1-parts1 {
	display: grid;
}

/*ボックス１個あたり*/
.list-grid1-parts1 .list-parts {
    display: grid;
	margin: 0 auto;
}

/*ボックス内のh4要素*/
.list-grid1-parts1 .list-parts h4 {
	text-align: center;
	line-height: 1.5em;
	font-size: 1.4em;
	margin-bottom: 1em
}

/*ボックス内のp要素*/
.list-grid1-parts1 .list-parts p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}
	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts1 {
		grid-template-columns: repeat(1, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


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

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts1 {
		grid-template-columns: repeat(1, 1fr);	/*1列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
		max-width: 500px;
		margin: 0 auto;
	}

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


/*ボックス１個あたり*/
.list-grid1-parts1 .list-parts {
	padding: 1rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #555;			/*文字色*/
    grid-template-rows: auto 1fr;	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	/* box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1-parts1 .list-parts figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


/*ボタン
---------------------------------------------------------------------------*/
.list-grid1-parts1 .btn-parts a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
	padding: 5px 10px;		/*ボタン内の余白*/
	margin-top: 1rem;		/*ボタンの上に空けるスペース*/
}


/*アイコン
---------------------------------------------------------------------------*/
/*共通*/
.list-grid1-parts1 .icon-bg1-parts,
.list-grid1-parts1 .icon-bg2-parts {
	overflow: hidden;
	position: absolute;
	left: -15px;	/*左からの配置場所*/
	top: -15px;		/*上からの配置場所*/
	font-size: 0.7rem;	/*文字サイズ。70%*/
	width: 4em;			/*幅*/
	line-height: 4em;	/*高さ*/
	text-align: center;	/*テキストをセンタリング*/
	border-radius: 50%;	/*円形にする*/
}

/*icon-bg1-parts（サンプルだと「NEW」）*/
.list-grid1-parts1 .icon-bg1-parts {
	background: #ff3535;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2-parts（サンプルだと「UP」）*/
.list-grid1-parts1 .icon-bg2-parts {
	background: #358bff;	/*背景色*/
	color: #fff;			/*文字色*/
}


/*list-grid1-parts　２列
---------------------------------------------------------------------------*/
.list-grid1-parts .list-parts * {margin: 0;padding: 0;}

/*ブロック全体を囲むブロック*/
.list-grid1-parts {
	display: grid;
}

/*ボックス１個あたり*/
.list-grid1-parts .list-parts {
    display: grid;
	position: relative;
}

/*ボックス内のh4要素*/
.list-grid1-parts .list-parts h4 {
	text-align: center;
	line-height: 3em;
	font-size: 1.4em;
}

/*ボックス内のp要素*/
.list-grid1-parts .list-parts p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}
	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts {
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


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

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts {
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


/*ボックス１個あたり*/
.list-grid1-parts .list-parts {
	padding: 1rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #555;			/*文字色*/
    grid-template-rows: auto 1fr;	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	/* box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1-parts .list-parts figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


/*ボタン
---------------------------------------------------------------------------*/
.list-grid1-parts .btn-parts a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
	padding: 5px 10px;		/*ボタン内の余白*/
	margin-top: 1rem;		/*ボタンの上に空けるスペース*/
}


/*アイコン
---------------------------------------------------------------------------*/
/*共通*/
.list-grid1-parts .icon-bg1-parts,
.list-grid1-parts .icon-bg2-parts {
	overflow: hidden;
	position: absolute;
	left: -15px;	/*左からの配置場所*/
	top: -15px;		/*上からの配置場所*/
	font-size: 0.7rem;	/*文字サイズ。70%*/
	width: 4em;			/*幅*/
	line-height: 4em;	/*高さ*/
	text-align: center;	/*テキストをセンタリング*/
	border-radius: 50%;	/*円形にする*/
}

/*icon-bg1-parts（サンプルだと「NEW」）*/
.list-grid1-parts .icon-bg1-parts {
	background: #ff3535;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2-parts（サンプルだと「UP」）*/
.list-grid1-parts .icon-bg2-parts {
	background: #358bff;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*list-grid1-parts ３列
---------------------------------------------------------------------------*/
.list-grid1-parts3 .list-parts * {margin: 0;padding: 0;}

/*ブロック全体を囲むブロック*/
.list-grid1-parts3 {
	display: grid;
}

/*ボックス１個あたり*/
.list-grid1-parts3 .list-parts {
    display: grid;
	position: relative;
}

/*ボックス内のh4要素*/
.list-grid1-parts3 .list-parts h4 {
	text-align: center;
	line-height: 2em;
	font-size: 1.4em;
}

/*ボックス内のp要素*/
.list-grid1-parts3 .list-parts p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 2.0;	/*行間を少し狭く*/
}
	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts3 {
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


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

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts3 {
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


/*ボックス１個あたり*/
.list-grid1-parts3 .list-parts {
	padding: 1rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #555;			/*文字色*/
    grid-template-rows: auto 1fr;	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	/* box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1-parts3 .list-parts figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


/*ボタン
---------------------------------------------------------------------------*/
.list-grid1-parts3 .btn-parts a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
	padding: 5px 10px;		/*ボタン内の余白*/
	margin-top: 1rem;		/*ボタンの上に空けるスペース*/
}


/*アイコン
---------------------------------------------------------------------------*/
/*共通*/
.list-grid1-parts3 .icon-bg1-parts,
.list-grid1-parts3 .icon-bg2-parts {
	overflow: hidden;
	position: absolute;
	left: -15px;	/*左からの配置場所*/
	top: -15px;		/*上からの配置場所*/
	font-size: 0.7rem;	/*文字サイズ。70%*/
	width: 4em;			/*幅*/
	line-height: 4em;	/*高さ*/
	text-align: center;	/*テキストをセンタリング*/
	border-radius: 50%;	/*円形にする*/
}

/*icon-bg1-parts（サンプルだと「NEW」）*/
.list-grid1-parts3 .icon-bg1-parts {
	background: #ff3535;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2-parts（サンプルだと「UP」）*/
.list-grid1-parts3 .icon-bg2-parts {
	background: #358bff;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*list-grid1-parts 4列
---------------------------------------------------------------------------*/
.list-grid1-parts4 .list-parts * {margin: 0;padding: 0;}

/*ブロック全体を囲むブロック*/
.list-grid1-parts4 {
	display: grid;
}

/*ボックス１個あたり*/
.list-grid1-parts4 .list-parts {
    display: grid;
	position: relative;
}

/*ボックス内のh4要素*/
.list-grid1-parts4 .list-parts h4 {
	text-align: center;
	line-height: 3em;
	font-size: 1.4em;
}

/*ボックス内のp要素*/
.list-grid1-parts4 .list-parts p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}
	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts4 {
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}
	/*ボックス内のh4要素*/
	.list-grid1-parts4 .list-parts h4 {
		text-align: center;
		line-height: 2em;
		font-size: 1.1em;
	}

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


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

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts4 {
		grid-template-columns: repeat(4, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


/*ボックス１個あたり*/
.list-grid1-parts4 .list-parts {
	padding: 1rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #555;			/*文字色*/
    grid-template-rows: auto 1fr;	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	/* box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1-parts4 .list-parts figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


/*ボタン
---------------------------------------------------------------------------*/
.list-grid1-parts4 .btn-parts a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
	padding: 5px 10px;		/*ボタン内の余白*/
	margin-top: 1rem;		/*ボタンの上に空けるスペース*/
}


/*アイコン
---------------------------------------------------------------------------*/
/*共通*/
.list-grid1-parts4 .icon-bg1-parts,
.list-grid1-parts4 .icon-bg2-parts {
	overflow: hidden;
	position: absolute;
	left: -15px;	/*左からの配置場所*/
	top: -15px;		/*上からの配置場所*/
	font-size: 0.7rem;	/*文字サイズ。70%*/
	width: 4em;			/*幅*/
	line-height: 4em;	/*高さ*/
	text-align: center;	/*テキストをセンタリング*/
	border-radius: 50%;	/*円形にする*/
}

/*icon-bg1-parts（サンプルだと「NEW」）*/
.list-grid1-parts4 .icon-bg1-parts {
	background: #ff3535;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2-parts（サンプルだと「UP」）*/
.list-grid1-parts4 .icon-bg2-parts {
	background: #358bff;	/*背景色*/
	color: #fff;			/*文字色*/
}


/*テキスト寄せ*/
.c{text-align: center;}
.l{text-align: left;}
.r{text-align: right;}


/*従業員数カウントアップ部分
------------------------------------------------------------------*/
/* レイアウト */
.hero {
  /* position: relative; */
  width: 100%;
  /* aspect-ratio: 16 / 9;          /* 必要に応じて調整。固定高にしたい場合はheightで指定 */
	/* height: 250px; */
  overflow: hidden;
	padding: 30px;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* オーバーレイの箱 */
.hero-stats {
  /* position: absolute;
  left: clamp(16px, 6vw, 80px);
  bottom: clamp(16px, 6vw, 80px); */
	margin: 0 auto;
  color: #fff;
  padding: 20px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  max-width: min(92vw, 520px);
  line-height: 1.2;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* タイポ */
.stat-label {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
	float: left;
}
.stat-number {
  gap: 0.25em;
  line-height: 1;
  margin: 4px 0 6px;
	float: right;
}
.countup {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.stat-unit {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  opacity: 0.95;
}
.stat-note {
  font-size: clamp(12px, 1.4vw, 14px);
  opacity: 0.85;
	clear: both;
}

/* コントラスト確保（白背景の動画にも読みやすく） */
.hero-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events: none;
}

/* 小さめ端末での余白最適化 */
@media (max-width: 480px) {
  .hero-stats {
    right: clamp(16px, 6vw, 80px);
  }
}

/* 動きを控えたい人に配慮 */
@media (prefers-reduced-motion: reduce) {
  .countup {
    transition: none !important;
  }
}

/*PCとスマホで画像配置を変える
---------------------------------------------------------------------------*/
/* コントラスト確保（白背景の動画にも読みやすく） */
.pic_pcsp {
	display: block;
	text-align: center;
}
.pic_pcsp img{
	width: 70%;
}
@media (max-width: 800px) {
.pic_pcsp img{
	width: 100%;
}

}
/* 小さめ端末での余白最適化 */
@media (max-width: 480px) {
  .hero-stats {
    right: clamp(16px, 6vw, 80px);
  }
}



/*背景色(理念)
---------------------------------------------------------------------------*/
.background2-parts {
	background: linear-gradient(45deg, #f9d4e1, #f9f2d4);	/*背景グラデーション。45度の角度。「#f9d4e1」から「#f9f2d4」になる。*/
	color: #555;		/*文字色*/
	padding: 40px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

/*背景色(ご利用にあたって)
---------------------------------------------------------------------------*/
.background3-parts {
	position: relative; /* 疑似要素配置用 */
	background: linear-gradient(45deg, #fdf9fa, #f4e8ef);
	color: #555;
	padding: 40px 40px 60px; /* 下に余白を追加（柄の分） */
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	overflow: hidden; /* はみ出し防止 */
	z-index: 0; /* 基準レイヤー */
}

/* あさがお柄の薄い枠 */
.background3-parts::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 500px; /* 枠の高さ（お好みで調整） */

	background-image: url("../images/bg_asagao.png"); /* あさがお画像 */
	background-repeat: repeat-x;
	background-position: bottom center;
	background-size: auto 100%;

	opacity: 0.35; /* 薄くする（重要） */
	pointer-events: none; /* クリック無効 */
	z-index: 1; /* 背景装飾レイヤー */
}

/*.background3-parts {
/*	background: linear-gradient(45deg, #fdf9fa, #f4e8ef);	/*背景グラデーション。45度の角度。「#f9d4e1」から「#f9f2d4」になる。*/
/*	color: #555;		/*文字色*/
/*	padding: 40px;
/*	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
/*}

/*セクションでフォントを変える
---------------------------------------------------------------------------*/
#mincho_block {
	padding: 40px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}


/*重度訪問介護の対象者　セクション
---------------------------------------------------------------------------*/
/* ▼ 全体レイアウト */
.mhlw-target-section {
  background: #f4f7fc;
  padding: 40px 5%;
	margin: 40px auto;
}

.mhlw-target-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ▼ タイトル */
.mhlw-target-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  border-left: 5px solid #3d7dd8;
  padding-left: 15px;
}

/* ▼ 説明文 */
.mhlw-target-intro {
  font-size: 1rem;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ▼ 大きな枠（各基準） */
.mhlw-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px 28px;
  margin-top: 40px;
  margin-bottom: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

/* ▼ 見出し */
.mhlw-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2e5cad;
  margin-bottom: 15px;
}

/* ▼ 小見出し（三角） */
.mhlw-subbox h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.mhlw-subbox h4::before {
  content: "▶";
  color: #3d7dd8;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.9rem;
}

/* ▼ 箇条書き */
.mhlw-list {
  margin: 0;
  padding-left: 20px;
}

.mhlw-list li {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 0.97rem;
  color: #444;
}

/* ▼ 注意書き */
.mhlw-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
  padding: 10px 14px;
  background: #eef4ff;
  border-left: 4px solid #3d7dd8;
  border-radius: 6px;
}

/* ▼ スマホ用改行 */
.sp-only { display: none; }

/* ▼ タブレット以上の調整 */
@media (min-width: 768px) {
  .mhlw-target-title { font-size: 2.2rem; }
}

/* ▼ スマホ向けレイアウト調整 */
@media (max-width: 480px) {
  .mhlw-target-title { font-size: 1.6rem; }
}


/*スタッフの声　3列枠
---------------------------------------------------------------------------*/
.list-grid1-parts_voice .list-parts * {margin: 0;padding: 0;}

/*ブロック全体を囲むブロック*/
.list-grid1-parts_voice {
	display: grid;
}

/*ボックス１個あたり*/
.list-grid1-parts_voice .list-parts {
    display: grid;
	position: relative;
}

/*ボックス内のp要素*/
.list-grid1-parts_voice .list-parts p {
	font-size: 0.9rem;	/*文字サイズを85%に*/
	line-height: 1.8;	/*行間を少し狭く*/
}
/*ボックス内のp要素*/
.list-grid1-parts_voice .list-parts h3 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", "sans-serif";
	font-weight: normal;
}

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

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts_voice {
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


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

	/*ブロック全体を囲むブロック*/
	.list-grid1-parts_voice {
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


/*ボックス１個あたり*/
.list-grid1-parts_voice .list-parts {
	padding: 1rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #555;			/*文字色*/
    grid-template-rows: auto 1fr;	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1-parts_voice .list-parts figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


/*ボタン
---------------------------------------------------------------------------*/
.list-grid1-parts_voice .btn-parts a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
	padding: 5px 10px;		/*ボタン内の余白*/
	margin-top: 1rem;		/*ボタンの上に空けるスペース*/
}


/*アイコン
---------------------------------------------------------------------------*/
/*共通*/
.list-grid1-parts_voice .icon-bg1-parts,
.list-grid1-parts_voice .icon-bg2-parts {
	overflow: hidden;
	position: absolute;
	left: -15px;	/*左からの配置場所*/
	top: -15px;		/*上からの配置場所*/
	font-size: 0.7rem;	/*文字サイズ。70%*/
	width: 4em;			/*幅*/
	line-height: 4em;	/*高さ*/
	text-align: center;	/*テキストをセンタリング*/
	border-radius: 50%;	/*円形にする*/
}

/*icon-bg1-parts（サンプルだと「NEW」）*/
.list-grid1-parts_voice .icon-bg1-parts {
	background: #ff3535;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2-parts（サンプルだと「UP」）*/
.list-grid1-parts_voice .icon-bg2-parts {
	background: #358bff;	/*背景色*/
	color: #fff;			/*文字色*/
}


/*btn1
---------------------------------------------------------------------------*/
a.btn1-parts {
	display: inline-block;text-decoration: none;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0.3rem 2rem;	/*上下、左右へのボタン内の余白*/
	box-shadow: 1px 2px 3px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.2は色が20%出た状態。*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
	background: #fff;		/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}

/*アイコン*/
a.btn1-parts i {
	padding-left: 1em;	/*アイコンとテキストの間の余白*/
	color: #999;		/*アイコンの色*/
}

/*マウスオン時*/
a:hover.btn1-parts {
	transform: scale(1.03);		/*103%に拡大する*/
}

/*submitボタンの設定*/
input[type="submit"],
input[type="button"] {
	width: 200px;	/*ボタン幅*/
	padding: 10px;	/*ボタン内の余白*/
	margin: 5px;
	border-radius: 30px;	/*角丸のサイズ*/
	background-color: #B20000;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	/* background-image: -webkit-gradient(linear, left top, left bottom, from(#2257BB), to(#0081CC));	/*グラデーション*/
	/* background-image: -webkit-linear-gradient(#2257BB, #0081CC);	/*同上*/
	/* background-image: linear-gradient(#2257BB, #0081CC);			/*同上*/
	-webkit-box-shadow: 0px 2px 5px #bebebe;	/*影の設定。それぞれ右へ、下へ、ぼかし幅、色の設定。*/
	box-shadow: 0px 2px 5px #bebebe;			/*同上*/
	font-size: 14px;	/*文字サイズ*/
	color: #FFF;		/*文字色*/
	border: none;
}
/*submitボタンのマウスオン時の設定*/
input[type="submit"]:hover,
input[type="button"]:hover {
	background-color: rgba(246,102,104,1.00);	/*背景色（古いブラウザだとここの色のみが出ます）*/
	/* background-image: -webkit-gradient(linear, left top, left bottom, from(#0f1bb1), to(#202dd6));	/*グラデーション*/
	/* background-image: -webkit-linear-gradient(#0f1bb1, #202dd6);	/*同上*/
	/* background-image: linear-gradient(#0f1bb1, #202dd6);			/*同上*/
}

/*resetボタンの設定*/
input[type="reset"],
input[type="button"] {
	width: 200px;	/*ボタン幅*/
	padding: 10px;	/*ボタン内の余白*/
	margin: 5px;
	border-radius: 30px;	/*角丸のサイズ*/
	background-color: #B20000;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	/* background-image: -webkit-gradient(linear, left top, left bottom, from(#2257BB), to(#0081CC));	/*グラデーション*/
	/* background-image: -webkit-linear-gradient(#2257BB, #0081CC);	/*同上*/
	/* background-image: linear-gradient(#2257BB, #0081CC);			/*同上*/
	-webkit-box-shadow: 0px 2px 5px #bebebe;	/*影の設定。それぞれ右へ、下へ、ぼかし幅、色の設定。*/
	box-shadow: 0px 2px 5px #bebebe;			/*同上*/
	font-size: 14px;	/*文字サイズ*/
	color: #FFF;		/*文字色*/
	border: none;
}
/*resetボタンのマウスオン時の設定*/
input[type="reset"]:hover,
input[type="button"]:hover {
	background-color: rgba(246,102,104,1.00);	/*背景色（古いブラウザだとここの色のみが出ます）*/
	/* background-image: -webkit-gradient(linear, left top, left bottom, from(#0f1bb1), to(#202dd6));	/*グラデーション*/
	/* background-image: -webkit-linear-gradient(#0f1bb1, #202dd6);	/*同上*/
	/* background-image: linear-gradient(#0f1bb1, #202dd6);			/*同上*/
}

/*btn5
---------------------------------------------------------------------------*/
.btn5-container-parts {
	position: relative;
	z-index: 5;
}
a.btn5-parts {
	text-decoration: none;display: inline-block;
	background: linear-gradient(#995588, #BB77BB);/*背景グラデーション*/
	color: #fff;		/*文字色*/
	padding: 1rem 3rem;	/*ボタン内の余白。上下、左右へ。*/
	font-size: 1.3rem;	/*文字サイズを130%*/
	border-radius: 5px;	/*角を少しだけ丸くする*/
}

/*マウスオン時に少しだけ大きく*/
a.btn5-parts:hover {
	transform: scale(1.02);
}

/*ふきだし*/
.btn5-container-parts .fukidasi-parts {
	background: #fff;	/*背景色*/
	border: 2px solid #BB77BB;	/*枠線の幅、線種、色*/
	padding: 0.2rem 2rem;	/*ふきだし内の余白。上下、左右へ。*/
	border-radius: 100px;	/*角を丸くする指定。大きめであれば適当でOK。*/
	position: absolute;
	top: -30px;	/*ふきだしの位置の設定*/
    left: 50%;
    transform: translateX(-50%);
	box-shadow: 0px 3px 10px rgba(0,0,0,0.2);	/*ふきだしの影。右へ、下へ、ぼかす量、0,0,0は黒色のことで0.2は色が20%出た状態*/
}

/*ふきだしの下の三角形の設定*/
.btn5-container-parts .fukidasi-parts::before {
    content: "";
    position: absolute;
    bottom: -8px;	/*配置場所*/
    left: 50%;
    transform: translateX(-50%) rotate(315deg);
    width: 10px;	/*三角形の幅*/
    height: 10px;	/*三角形の高さ*/
    background: #fff;	/*三角形の色*/
    border-left: 2px solid #BB77BB;		/*枠線の幅、線種、色*/
    border-bottom: 2px solid #BB77BB;	/*枠線の幅、線種、色*/
}

/*角をまんまるにする*/
.btn5-parts.border-radius-parts {
	border-radius: 100px;
}

/*ふきだしを使う場合に上に食い込んでしまうので、それを回避するためのスタイル*/
.btn5-container-parts.mt-parts {
	margin-top: 40px;
}

/*テキスト装飾
------------------------------------------------------------------*/
.text_red{color: #cc0000;}
.text_small_red{color: #cc0000; font-size:80%;}
.text_red_l{color: #cc0000; font-size:150%;}
.text_brown{color: #960;}
.text_brown_s{color: #960; font-size:80%;}
.text_brown_b{color: #960; font-weight:bold; line-height: 1.5em; padding-top: 1em;}
.text_brown_l{color: #960; font-size:150%;}
.text_green{color: #090;}
.text_green1{color: #7CC790;}
.text_green_b{color: #090; font-weight:bold;}
.text_green_l{color: #390; font-size:150%;}
.text_orange{color: #ff6600;}
.text_orange1{color: #CD8E47;}
.text_orange_l{color: #ff6600; font-size:150%;}
.text_yellow{color: #CFBA65;}
.text_blue{
	color: #09b5de;
	font-weight: bold;
	font-size: 110%;
}
.text_blue_l{color:#00F; font-size:140%;}
.text_blue_xl{color:#00F; font-size:200%;}
.text_blue2{
	color: #09b5de;
	font-size: 80%;
}
.text_blue3{
	color: #09b5de;
	font-size: 90%;
}
.text_blue4{
	color: #0000FF;
	font-size: 90%;
}
.text_blue5{
	color: #0000FF;
}
.text_blue5_b{
	color: #0000FF;
	font-weight:bold;
}
.text_blue6{
	color: #5CA2CF;
}
.text_purple{
	color: #B482C1;
}
.text_small{
    font-size: 75%;
	line-height:normal
}
.text_large{
    font-size: 130%;
}
.text_xlarge{
    font-size: 150%;
}
.text_navy{
	color: #000066;
	font-weight: bold;
	font-size: 110%;
}
.text_end{/*下付きテキスト*/
    display: flex;
    align-items: flex-end;
}


/*背景色
------------------------------------------------------------------*/
.bg_blue{background-color: #E4EBF3!important}
.bg_orange{background-color: #F0E8DF!important}
.bg_green{background-color: #EBF7EA!important}
.bg_yellow{background-color: #F8F7EE!important}
.bg_purple{background-color: #F7EDF9!important}
