@charset "utf-8";





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


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

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

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

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


body {
	font-family: "serif","ヒラギノ丸ゴ Pro", "Hiragino Maru 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 {display: block; margin: 0 auto;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%;	/*上下、左右への余白*/
	font-family: serif;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#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:500px) {

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

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


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

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

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


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

/*ボタン１個あたり*/
header .btn li a {
	display: block;text-decoration: none;
	background: slategray;
	color: #fff;	/*文字色*/
	padding: 0.5rem 1.5rem;	/*上下に0.5文字分、左右に1.5文字分、ボタン内に余白を作る*/
	font-family: serif;
}

/*btn1、btn2共通*/
.btn1 a, .btn2 a {
	display: block;
	text-decoration: none;
	padding: 0.8rem 2rem;	/*上下、左右へのボタン内の余白*/
	margin-top: 2rem;		/*ボタンの上に2文字分のスペースを空ける*/
	text-align: center;		/*テキストをセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	box-shadow: 0px 10px 30px rgba(0,0,0,0.1);	/*ボタンの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.1は色が10%出た状態*/
	font-family: serif;
}
/*マウスオン時（btn1、btn2共通）*/
.btn1 a:hover, .btn2 a:hover {
	letter-spacing: 0.2rem;	/*文字間隔を少し広げる*/
	box-shadow: none;		/*ボタンの影を消す*/
}

/*btn1への追加設定*/
.btn1 a {
	color: var(--primary-color);	/*文字色。冒頭のprimary-colorを読み込みます。*/
	background: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

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

.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;	/*メニュー同士の余白*/
	font-family: serif;
	font-size: 18px;
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.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.3s ease-in-out;	/*animation1を実行する。0.3sは0.3秒の事。*/
	color: #fff;						/*文字色*/
	font-family: serif;
}

/*メニュー１個あたりの設定*/
.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{
	position:relative;
	aspect-ratio: 20 / 9; /* 比率だけで高さが決まる */
	overflow: hidden;
  }
  #mainimg{
	position:absolute;
	inset:0;
  }

@media (min-width:500px){
	#mainimg-box{
		margin-top: 80px;
	}
}
/*コンテンツ（mainの１つ外側のブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
}


/*mainブロック
---------------------------------------------------------------------------*/
/*ブロック内のh2見出し*/
main h2 {
	text-align: center;		/*文字をセンタリング*/
	font-size: 2.8rem;		/*文字サイズ。bodyで指定しているfont-sizeの2.8倍。*/
	font-weight: normal;	/*h要素のデフォルトの太字を標準にする指定*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	margin-bottom: 1.5em;		/*下に空けるスペース。ここのfont-sizeの2文字分。*/
	font-family: serif;
}

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

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


/*フッター設定
---------------------------------------------------------------------------*/
footer a {color: inherit;text-decoration: none;}
footer small {font-size: 100%;}

footer {
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: #fff;	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	font-size: 0.85rem;	/*文字サイズ85%*/
	padding: 5vw;		/*余白*/
	font-family: serif;
}

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

	footer {
		display: flex;
		justify-content: space-between;
	}

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



/*ロゴが入ったブロック*/
footer .image {
	width: 200px;	/*ボックス幅*/
	text-align: center;	/*中身をセンタリング*/
}

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

	footer .image {
		width: auto;	/*ボックス幅*/
	}
	footer .image img {
		width: 80px;
	}

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

/*ロゴ*/
footer .logo {
	opacity: 1;	/*透明度。色を50%だけ出す設定。全部出したいならこの１行は削除。*/
	margin: 0 auto;
	width: 100px;
}

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

	footer .text {
		display: flex;	/*CompanyとFollow Usを横並びにする*/
		gap: 5rem;	/*CompanyとFollow Usの間の余白。５文字分。*/
	}

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


/*h4見出し（CompanyとFollow Usのテキスト部分*/
footer h4 {
	font-weight: 200;	/*太さを細くする*/
	font-size: 1.2rem;	/*文字サイズを120%*/
}

/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）*/
.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;
}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;	/*アイコン同士のマージン的な要素。１文字分。*/
}
.icons i {
	font-size: 30px;	/*アイコンサイズ*/
}

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

/*ボックス内の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: 30%;		/*画像の幅*/
		}
		
		/*画像を右に配置する場合*/
		.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;	/*折り返す指定*/
}

/*日付(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
---------------------------------------------------------------------------*/
/*質問*/

dl.flow-chart{
	max-width: 100%;
	width: 1008px;
	margin: 0 auto 1.5em;
	counter-reset: item;
}
.flow-chart dt {
	margin-bottom: 1rem;	/*下に空けるスペース*/
	background: #fff;		/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 2em;		/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
	display: flex;
	align-items: center;
	font-size: 20px;
}
@media (max-width:600px){
	.flow-chart dt{
		padding: 1em;
		flex-direction: column;
		justify-content: center;
	}
}
.flow-ttl{
	margin-bottom: 0;
}
@media (max-width:600px){
	.flow-ttl{
		margin-bottom: .5em;
	}
}
.flow-chart dt .flow-ttl::before {
	font-family: serif;
	counter-increment: item; /* カウンターを進める */
	content: counter(item) ". "; /* 数字を表示 */
	font-weight: bold;
	padding-right: 1rem;
	width: auto;
}

.flow-chart dt .flow-img {
	width: 40%;
	margin-left: auto;
	aspect-ratio: 20 / 9;
	overflow: hidden;
}

@media (max-width:600px){
	.flow-chart dt .flow-img {
		width: 100%;
	}
}

.flow-chart dt span img{
	width: 100%;
}

/*回答*/
.flow-chart dd {
	position: relative; 
	padding: 5px 1rem 30px 3rem; /* 下の余白は矢印分を確保 */
	margin-bottom: 0.5em;
  }
  
  .flow-chart dd::after {
	content: "";
	position: absolute;
	bottom: 5px;   /* padding-bottom内に収める位置 */
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 12px solid #ccc; /* 矢印の色 */
  }
  
  .flow-chart dd:last-of-type::after {
	display: none; /* 最後は矢印を非表示 */
  }
/*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;
	font-family: serif;
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-size: 25px;
	padding: 10px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #555;		/*背景色*/
	margin-bottom: 15px;
	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;}

	}/*追加指定ここまで*/
/* スライド領域を前面に & 親いっぱいに貼り付ける */
#mainimg-box { position: relative; z-index: -1; }             /* 背面に沈まないように */
#mainimg { position: relative; width: 100%; height: 100%; }  /* aspect-ratio 方式なら高さが渡る */
@media (max-width:600px){
	#mainimg-box{
		width: 100%;
		height: 100vh;
	}
}
/* Vegas の内側を必ず親いっぱいに張る（保険） */
#mainimg.vegas-container{ position:absolute; inset:0; }
#mainimg .vegas-slide,
#mainimg .vegas-slide-inner{
  position:absolute;
  inset:0;
  width:100%; 
  height:100%;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transform: translateZ();
}
/* OSが「動きを減らす」でも Vegas は動かす */
@media (prefers-reduced-motion: reduce) {
	#mainimg .vegas-slide-inner {
	  animation-duration: 10000ms !important;   /* JSの animationDuration と揃える */
	  animation-iteration-count: infinite !important;
	  /* 必要なら */
	  animation-play-state: running !important;
	}
  }
  /* ---- Vegas の Ken Burns を強制で動かす ---- */
#mainimg .vegas-animation-kenburns {
	animation: vegasKenburns 10000ms linear infinite both !important;
  }
  
  /* もし vegas.min.css の keyframes が効いていない場合に備えて自前定義 */
  @keyframes vegasKenburns {
	0%   { transform: scale(1.15); }
	100% { transform: scale(1); }
  }

/* 入ってくる側（見える） */
#mainimg .vegas-transition-blur-in{
	opacity: 1 !important;
	filter: blur(0) !important;
	transition: opacity 1200ms, filter 1200ms !important;
  }
  
  /* 出ていく側（ぼかして消える） */
  #mainimg .vegas-transition-blur-out{
	opacity: 0 !important;
	filter: blur(20px) !important; /* ぼかし強度は好みで */
	transition: opacity 1200ms, filter 1200ms !important;
  }
  /* ---- blur での切替を確実にする ---- */
#mainimg .vegas-transition-blur {
	opacity: 0;                 /* 出ていく側を薄く＆ぼかし */
	filter: blur(18px);
	transition: opacity 1200ms, filter 1200ms;  /* JSの transitionDuration と合わせる */
  }
  
  #mainimg .vegas-transition-blur-in {
	opacity: 1;                 /* 入ってくる側はハッキリ */
	filter: blur(0);
	transition: opacity 1200ms, filter 1200ms;
  }
  
  

  /* specialセクション */
  .special figure a{
	display: inline-block;
	width: 100%;
	aspect-ratio: 20 / 9;
	overflow: hidden;
  }

  .special figure a img{
	width: 100%;
  }
/* specialセクション */
.list figure a{
	display: inline-block;
	width: 100%;
	aspect-ratio: 20 / 9;
	overflow: hidden;
  }

  .list figure a img{
	width: 100%;
	object-position:0 -40px;
  }
  .hero-copy{
	position: absolute;
	inset: 0;               /* 全面に広げる */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;             /* スライドより上 */
	pointer-events: none;
  }
  
  .hero-copy img{
	max-width: 30%;         /* 適宜サイズ調整 */
	height: auto;
	opacity: 0;
	filter: blur(30px);
	transform: scale(1.05);
	transition: all 1s ease 0.3s;
  }

  @media (max-width:600px){
	.hero-copy img{
		max-width: 50%;
	}
  }
  
  /* blurstyle が付いたら表示 */
  .hero-copy.blurstyle img{
	opacity: 1;
	filter: blur(0);
	transform: scale(1);
  }
  

section.policy{
	text-align: center;
}

.policy h2{
	margin-bottom: 1em;
}

.policy h2 img{
	width: 60px;
}

.policy p{
	font-size: 18px;
	font-family: serif;
}

.policy .btn1{
	width: 30%;
	margin: 0 auto;
}

@media (max-width:600px){
	.policy .btn1{
		width: auto;
	}
}

#contents{
	margin-top: 80px;
}

.sekou .btn1 .look{
	border-radius: 0;
	border: none;
}

/*list-yoko-scroll（お客様の声）
---------------------------------------------------------------------------*/
.list-yoko-scroll * {margin: 0; padding: 0;font-family: serif;}

/*横スクロールブロック全体*/
.list-yoko-scroll {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;	/* Firefox用 */
	scroll-snap-type: x mandatory; /* スナップスクロールを有効にする */
	margin-right: calc(-1 * var(--space-large));	/*右マージンをなくす為にネガティブマージンで相殺*/
	padding-bottom: 3vw;	/*下に空ける余白*/
}
.list-yoko-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge用 */
}

/*ブロック内の１個あたり*/
.list-yoko-scroll .list {
	width: 60%;		/*ブロック１個の幅。お好みで変更して下さい。*/
	flex-shrink: 0;
	scroll-snap-align: start;
	padding: 1rem;		/*ブロック内の余白。1文字分。*/
	position: relative;
	display: flex;
	flex-direction: column;
}

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

	/*ブロック内の１個あたり*/
	.list-yoko-scroll .list {
		width: 28%;		/*ブロック１個の幅。お好みで変更して下さい。*/
		padding: 2rem;		/*ブロック内の余白。２文字分。*/
	}

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


/*テキストブロックが高さを目一杯とる指定*/
.list-yoko-scroll .list .text {
	flex: 1;
}

/*ブロックのカギカッコ（共通）*/
.list-yoko-scroll .list::before,.list-yoko-scroll .list::after {
	content: "";
	position: absolute;
	width: 30px;	/*カギカッコの幅。お好みで。*/
	height: 10px;	/*カギカッコの高さ。お好みで。*/
	border: 0.5px solid var(--primary-color);	/*線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
}

/*左上のカギカッコへの追加指示*/
.list-yoko-scroll .list::before {
	left: 0px;	/*左からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	border-right: none;		/*右の線を消す*/
	border-bottom: none;	/*下の線を消す*/
}

/*右上のカギカッコへの追加指示*/
.list-yoko-scroll .list::after {
	right: 0px;		/*右からの配置場所*/
	bottom: 0px;	/*下からの配置場所*/
	border-top: none;	/*上の線を消す*/
	border-left: none;	/*左の線を消す*/
}

/*faq内のh4見出し（「とても満足です。」のところ）*/
.list-yoko-scroll h4 {
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
}

/*faq内のp段落（「とても満足です。」の下のテキスト）*/
.list-yoko-scroll p {
	font-size: 0.9rem;	/*文字サイズを90%に*/
}

/*お客様の名前*/
.list-yoko-scroll .name {
	text-align: right;	/*右に寄せる*/
}

/*お客様の写真*/
.list-yoko-scroll .name img {
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	object-fit: cover;
	object-position: center;
	border-radius: 50%;	/*円形にする。この１行を削除すれば正方形になります。*/
	margin-left: 20px;	/*写真の左に空けるスペース*/
}

.title-mark{
	width: 60px;
}

#koe-achive .list-yoko-scroll{
	display: block;
}

#koe-achive .list-yoko-scroll .list{
	margin: 0 auto;
	margin-bottom: 1.5em;
}

/* contact-form */


.wpcf7-form p {
	margin-bottom: 1rem;
  }

  .wpcf7-form label{
	display: block;
	max-width: 600px;
	margin: 0 auto;
  }
  
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
	width: 100%;
	max-width: 600px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
  }
  
  .wpcf7-form input[type="submit"] {
	display: block;
	width: 30%;
	margin: 0 auto;
	border: none;
	background-color: #fff;
	transition: all .3s ease-in-out;
	text-decoration: none;
	padding: 0.8rem 2rem;	/*上下、左右へのボタン内の余白*/
	margin-top: 2rem;		/*ボタンの上に2文字分のスペースを空ける*/
	text-align: center;		/*テキストをセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	box-shadow: 0px 10px 30px rgba(0,0,0,0.1);	/*ボタンの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.1は色が10%出た状態*/
	font-family: serif;
	color: var(--primary-color);
  }
  
  .wpcf7-form input[type="submit"]:hover {
	letter-spacing: 0.2rem;	/*文字間隔を少し広げる*/
	box-shadow: none;		/*ボタンの影を消す*/
  }
  
  /* 投稿本文内の画像を横幅で統一 */
.post-content img {
	width: 800px;      /* 横幅を揃える（必要に応じて変更） */
	max-width: 100%;   /* 画面が狭い時はレスポンシブに縮む */
	height: auto;      /* 縦横比は維持 */
	display: block;
	margin: 0 auto 1.5rem; /* 中央寄せ＋下に余白 */
  }
  
  .post-content h2{
	background-color:var(--primary-color);
	color: #fff;
	font-size: 2rem;
  }

