@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: #009eee;		/*ヘッダーの背景色など*/
	--secondary-color: #0085c9;		/*bg1などで使っているサブ的な色*/
    --primary-text-color: #fff;	/*主に、上の２つのカラーを背景色に使った際の文字色*/
}


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

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

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

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


body {
	font-family: 'Arial',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ ゴシック', sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #fefefe;	/*背景色*/
	color: #000000;		/*文字色*/
	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: 3000px;	/*サイトの最大幅。これ以上広がらない。*/
	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;
	
	width: 150px;	/*ロゴ画像の幅*/
}

	/*画面幅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(#ffc000, #ffa800);/*背景グラデーション*/
	color: #000000;	/*文字色*/
	border-radius: 3px;	/*角を丸くする指定*/
	padding: 0.5rem 1.5rem;	/*上下に0.5文字分、左右に1.5文字分、ボタン内に余白を作る*/
}




/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.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;	/*メニュー同士の余白*/
}/*メニューブロック初期設定
---------------------------------------------------------------------------*/
#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 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%;
}


/*コンテンツ（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: 2em;		/*下に空けるスペース。ここのfont-sizeの2文字分。*/
}

/*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文字分。*/
}


/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#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: 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
---------------------------------------------------------------------------*/
/*質問*/
.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;}

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

.Qa-Box {
  width: 80%;
  margin: 0 auto;
}

.Qa-Box .Qa {
  padding: 20px 0;
  border-bottom: 1px solid #c8c8c8;
}

.Qa-Box .Qa dt,
.Qa-Box .Qa dd {
  display: flex;
  align-items: baseline;
  margin: 15px 0;
}

.Qa-Box .Qa dt p {
  margin: 0;
  padding-left: 15px;
  font-weight: bold;
  width: 100%;
}

.Qa-Box .Qa dd p {
  margin: 0;
  padding-left: 15px;
  width: 100%;
}

.Qa-Box .Qa:last-of-type {
  border-bottom: none;
}

.Qa-Box .Qa dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #6699b7;
  width: 2em;
  height: 2em;
}

.Qa-Box .Qa dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #d65556;
  width: 2em;
  height: 2em;
}

@media screen and (max-width: 960px) {
  .Qa-Box {
    width: 95%;
  }
}
.text-red {
  color: orange;
}

.text-underline {
  background-image: linear-gradient(0, orange, orange); /* 線の色 */
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: 100% 100%; /* 高さ */
}
shadow-button {
   background: linear-gradient(to bottom, #ffffff, #cccccc);
   border: 1px solid #999999;
   box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
   padding: 10px 20px;
   cursor: pointer;
}
shadow-button:active {
   box-shadow: none;
   transform: translateY(2px);
}

/* 吹き出し */
.balloon-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}
.balloon {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
  line-height: 1.6;
}
.balloon.left {
  background: #f0f0f0;
  align-self: flex-start;
}
.balloon.right {
  background: #d6f5ff;
  align-self: flex-end;
}

/* 強調文字 */
.highlight-red {
  color: #ff3333;
  font-weight: bold;
}
.highlight-blue {
  color: #007bff;
  font-weight: bold;
}

/* POINT枠 */
.point-box {
  border: 2px solid #007bff;
  padding: 10px;
  border-radius: 10px;
  margin: 20px 0;
  background: #eef6ff;
  font-weight: bold;
}

/* 比較エリア */
.compare {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
  flex-wrap: wrap;
}
.compare-box {
  width: 40%;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.compare-box.yellow {
  background: #fff7cc;
  border: 2px solid #ffcc00;
}
.compare-box.green {
  background: #e0ffe0;
  border: 2px solid #00cc66;
}
/* ページ切り替え用 */
.page {
  display: none;
  transition: opacity 0.5s;
}
.page.active {
  display: block;
  opacity: 1;
}

/* ボタン */
.nav-buttons {
  margin-top: 30px;
  text-align: center;
}
.nav-buttons button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.nav-buttons button:hover {
  background-color: #0056b3;
}

/* 吹き出し */
.balloon-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}
.balloon {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
  line-height: 1.6;
}
.balloon.left {
  background: #f0f0f0;
  align-self: flex-start;
}
.balloon.right {
  background: #d6f5ff;
  align-self: flex-end;
}

/* 強調文字 */
.highlight-red {
  color: #ff3333;
  font-weight: bold;
}
.highlight-blue {
  color: #007bff;
  font-weight: bold;
}

/* POINT枠 */
.point-box {
  border: 2px solid #007bff;
  padding: 10px;
  border-radius: 10px;
  margin: 20px 0;
  background: #eef6ff;
  font-weight: bold;
}

/* 比較エリア */
.compare {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
  flex-wrap: wrap;
}
.compare-box {
  width: 40%;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.compare-box.yellow {
  background: #fff7cc;
  border: 2px solid #ffcc00;
}
.compare-box.green {
  background: #e0ffe0;
  border: 2px solid #00cc66;
}



.cp_box1 {
  width: auto;
  margin: 30px auto;
}
.cp_box1 input {
  display: none;
}
/*続きを読むボタン*/
.cp_box1 label {
  font-weight: bold;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  margin: auto;
  padding: 0.3em 1em;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  color: #da3c41;
  border: 2px solid #da3c41;
  border-radius: 3px;
}
/*＋マーク*/
.cp_box1 label::after {
  position: absolute;
  content: '';
  right: 16px;
  width: 16px;
  height: 16px;
  background: #da3c41;
  clip-path: polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%);
}
.cp_box1 label:hover::after {
  color: #ffffff;
}
/*hover*/
.cp_box1 label:hover {
  transition: all 0.3s;
  color: #ffffff;
  background: rgba(218, 60, 65 ,0.7);
}
.cp_box1 label:hover::after {
  background: #ffffff;
}
/*-マーク*/
.cp_box1 input:checked ~ label::after {
  background: #da3c41;
  clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
}
/*hover*/
.cp_box1 input:checked ~ label:hover::after {
  background: #ffffff;
}
.cp_box1 div.cp_container1 {
  position: relative;
  z-index: 10;
  overflow: hidden;
  height: 0;
  margin-top: -1px;
}
.cp_box1 input:checked ~ div.cp_container1 {
  transition: height 0.5s ease-in-out;
}
/* 高さを設定 */
.cp_box1 input:checked ~ div.cp_container1 {
  height: auto;
}





.cp_box2 {
  width: auto;
  margin: 30px auto;
}
.cp_box2 input {
  display: none;
}
/*続きを読むボタン*/
.cp_box2 label {
  font-weight: bold;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  margin: auto;
  padding: 0.3em 1em;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  color: #da3c41;
  border: 2px solid #da3c41;
  border-radius: 3px;
}
/*＋マーク*/
.cp_box2 label::after {
  position: absolute;
  content: '';
  right: 16px;
  width: 16px;
  height: 16px;
  background: #da3c41;
  clip-path: polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%);
}
.cp_box2 label:hover::after {
  color: #ffffff;
}
/*hover*/
.cp_box2 label:hover {
  transition: all 0.3s;
  color: #ffffff;
  background: rgba(218, 60, 65 ,0.7);
}
.cp_box2 label:hover::after {
  background: #ffffff;
}
/*-マーク*/
.cp_box2 input:checked ~ label::after {
  background: #da3c41;
  clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
}
/*hover*/
.cp_box2 input:checked ~ label:hover::after {
  background: #ffffff;
}
.cp_box2 div.cp_container2 {
  position: relative;
  z-index: 10;
  overflow: hidden;
  height: 0;
  margin-top: -1px;
}
.cp_box2 input:checked ~ div.cp_container2 {
  transition: height 0.5s ease-in-out;
}
/* 高さを設定 */
.cp_box2 input:checked ~ div.cp_container2 {
  height: auto;
}



.cp_box3 {
  width: auto;
  margin: 30px auto;
}
.cp_box3 input {
  display: none;
}
/*続きを読むボタン*/
.cp_box3 label {
  font-weight: bold;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  margin: auto;
  padding: 0.3em 1em;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  color: #da3c41;
  border: 2px solid #da3c41;
  border-radius: 3px;
}
/*＋マーク*/
.cp_box3 label::after {
  position: absolute;
  content: '';
  right: 16px;
  width: 16px;
  height: 16px;
  background: #da3c41;
  clip-path: polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%);
}
.cp_box3 label:hover::after {
  color: #ffffff;
}
/*hover*/
.cp_box3 label:hover {
  transition: all 0.3s;
  color: #ffffff;
  background: rgba(218, 60, 65 ,0.7);
}
.cp_box3 label:hover::after {
  background: #ffffff;
}
/*-マーク*/
.cp_box3 input:checked ~ label::after {
  background: #da3c41;
  clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
}
/*hover*/
.cp_box3 input:checked ~ label:hover::after {
  background: #ffffff;
}
.cp_box3 div.cp_container3 {
  position: relative;
  z-index: 10;
  overflow: hidden;
  height: 0;
  margin-top: -1px;
}
.cp_box3 input:checked ~ div.cp_container3 {
  transition: height 0.5s ease-in-out;
}
/* 高さを設定 */
.cp_box3 input:checked ~ div.cp_container3 {
  height: auto;
}
/*list（worksページで使っている横長ブロック）
---------------------------------------------------------------------------*/
/*ボックスの設定*/
#contents .list1 {
	position: relative;
	border-radius: 5px;				/*角丸の指定。ほんの少し角が丸くなります。*/
	overflow: hidden;				/*角丸から内容が飛び出ないよう、飛び出た部分を非表示にする指定*/
	display: flex;
	align-items: center;			/*中のブロックの縦並びの揃え方*/
	background: #70b0eb;		/*背景色*/
	color: #fff;			/*文字色*/
	margin: 0 3% 30px;		/*ボックスの下に空けるスペース。上、左右、下への順番。*/
}
/*リンクテキストの文字色*/
#contents .list1 a {
	color: #fff;
}
/*ボックス内のh4（見出し）タグ*/
#contents .list1 h4 {
	margin-bottom: 20px;	/*下のテキストとの間に空けるスペース*/
	font-size: 140%;		/*文字サイズ*/
}
/*ボックス内のp（段落）タグ*/
#contents .list1 p {
	padding: 0;		/*余白のリセット*/
}
/*ボックス内のfigure画像*/
#contents .list1 figure {
	width: 50%;		/*画像の幅*/
}
/*「class="text"」を指定したブロック。テキストブロック。*/
#contents .list1 .text {
	width: 40%;		/*ブロックの幅。下のpaddingの5%とも連動するので変更の際は注意して下さい。*/
	padding: 2% 5%;	/*上下、左右へのブロック内の余白*/
}

/*偶数目のブロックの設定（画像とテキストブロックが左右交互に入れ替わる設定です。全部同じむきがよければこのブロックを削除します。）*/
#contents .list1:nth-of-type(even) .text {
	order: 1;
}

/*装飾文字の設定（共通）*/
#contents .list1::before {
	font-size: 18vw;
	line-height: 1;
	position: absolute;
	color: rgba(255,255,255,0.15);	/*文字色。255,255,255は白のことで、0.15は色が15%出た状態のこと。*/
	font-family: 'Tangerine', cursive;	/*冒頭で読み込んだGoogle Fontsを適用する指定*/
}
/*奇数番目のブロックの文字の配置場所指定*/
#contents .list1:nth-of-type(odd)::before {
	left: -60px;
	top: -40px;
}
/*偶数番目のブロックの文字の配置場所指定*/
#contents .list1:nth-of-type(even)::before {
	right: 0px;
	top: -40px;
}
/*１つ目ブロックに表示させるテキスト*/
#contents .list1:nth-of-type(1)::before {
	content: "　0";
}
/*２つ目ブロックに表示させるテキスト*/
#contents .list1:nth-of-type(2)::before {
	content: "01";
}
/*３つ目ブロックに表示させるテキスト*/
#contents .list1:nth-of-type(3)::before {
	content: "02";
}
/*4つ目ブロックに表示させるテキスト*/
#contents .list1:nth-of-type(4)::before {
	content: "03";
}
/*5つ目ブロックに表示させるテキスト*/
#contents .list1:nth-of-type(5)::before {
	content: "04";
}
/*6つ目ブロックに表示させるテキスト*/
#contents .list1:nth-of-type(6)::before {
	content: "05";
}


/*ボックス内のボタン（共通）*/
.btn1 a {
	display: block;
	text-decoration: none;
	border: 1px solid #fff;		/*枠線の幅、線種、色*/
	text-align: center;			/*テキストをセンタリング*/
	padding: 10px 30px;			/*上下、左右へのボタン内の余白*/
	margin: 40px auto 0;		/*上、左右、下へのボックスの外側への余白*/
}
/*ボタンのマウスオン時（共通）*/
.btn1 a:hover {
	background: #fff;	/*背景色*/
	color: #70b0eb !important;		/*文字色*/
}


/* タブ全体を囲むコンテナの設定 */
--------------------------------------------------------*/
.tab-switch {
    --tab-color:#757F96;/*タブの色を指定する*/
    display: flex; /* タブを横並びに */
    flex-wrap: wrap; /* 幅に応じて折り返し */
    max-width: 1100px; /* コンテナの最大幅を指定 */
    margin: auto;/* コンテナの中央寄せ */
    justify-content: center;/* タブの中央寄せ */
    gap:5px;/* タブ間の余白 */
}

/* 各タブボタンの設定 */
.tab-switch > label {
    flex: 1 1 auto; /* タブが均等に幅をとるが、幅を超えると折り返す */
    min-width: 70px; /* 各タブの最小幅を指定 */
    order: -1; /* 上部に表示する */
    min-width: 70px; /* 各タブの最小幅 */
    padding: .7em 1em; /* 上下左右の内側余白 */
    border:1px solid var(--tab-color);/* 枠線 */
    color: var(--tab-color); /* 文字色 */
    text-align: center; /* 文字を中央揃え */
    cursor: pointer; /* ポインターを指アイコンに変更 */
    border-radius:99px;/* 角の丸み */
}

/* タブボタンのホバーおよび選択状態のスタイル */
.tab-switch > label:hover,
.tab-switch label:has(:checked) {
    background-color:var(--tab-color); /* ホバー/選択時の背景色 */
    color: #fff; /* ホバー/選択時の文字色 */
}

/* ラジオボタン自体は非表示 */
.tab-switch input {
    display: none; /* 見た目に表示されないようにする */
}

/* タブコンテンツのスタイル */
.tab-switch > div {
    display: none; /* 初期状態では非表示 */
    width: 100%; /* コンテンツ幅を全体に */
    padding: 1.5em 1em; /* 内側余白 */
}

/* 選択されたタブのコンテンツを表示 */
.tab-switch label:has(:checked) + div {
    display: block; /* 選択されたタブに対応するコンテンツを表示 */
}

.centered-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.centered-text p {
  margin: 1em 0;
  font-size: 1.1em;
  line-height: 1.6;
}

blockquote {
    position: relative;
    padding: 0px 10px 5px 40px;
    box-sizing: border-box;
    font-style: italic;
    color: #464646;
    background: #f0f7ff;
    border-top: solid 3px #a5d7ff;
}

blockquote:before{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 30px;
    text-align: center;
    content: "\f10d";
    font-family: FontAwesome;
    color: #FFF;
    font-size: 18px;
    line-height: 30px;
    background: #a5d7ff;
    font-weight: 900;
}

blockquote p {
    position: relative;
    padding: 0;
    margin: 10px 0;
    z-index: 3;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}
.balloon5 {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.balloon5 .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon5 .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.balloon5 .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative; 
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}

.says p {
  margin: 0;
  padding: 0;
}

.idou {
  text-align: center;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.idou a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  border-radius: 24px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* 前のページボタン */
.idou a.prev {
  background-color: #f0a0a0;
  color: #fff;
}

/* 表を真ん中にそろえる */
.center-image {
  text-align: center;
}

.


#contents {
  padding: 0 5%; /* 左右に5%の余白を追加 */
  box-sizing: border-box;
}

.details {
	border-top: 2px solid #009eee;
	border-left: 2px solid #009eee;
	border-right: 2px solid #009eee;
	&:last-of-type {
		border-bottom: 2px solid #009eee;
	} 
}
.details-summary {
	position: relative;
	display: block;
	padding: 20px;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	background-color: #009eee;
	&:hover {
		cursor: pointer;
		opacity: 0.8;
	}
	.btn {
		position: absolute;
        top: 37%;
        left: 10%;
        width: 18px;
        height: 18px;
        transform-origin: center center;
        transition-duration: 0.2s;

        &:before,
        &:after {
            content: "";
            background-color: #fff;
            border-radius: 10px;
            width: 18px;
            height: 4px;
            position: absolute;
            top: 7px;
            left: 0;
            transform-origin: center center;
        }
        &:before {
            width: 4px;
            height: 18px;
            top: 0;
            left: 7px;
        }
    }
	&.is-active {
		.btn {
			-webkit-transform: rotate(-180deg);
			transform: rotate(-180deg);
			&:before {
            	content: none;
        	}	
		}
    }
}

.details-summary::-webkit-details-marker {
	display: none;
}

.details-content {
	padding: 20px;
	p {
		margin: 0 0 20px;
		color: #000;
		font-size: 18px;
		text-align: left;
		&:last-of-type {
			margin: 0 0 0;
		}
	}
}



svg a:hover path {
  fill: red;        /* 色を赤に変える */
  opacity: 0.8;     /* 透明度を少し濃くする */
  cursor: pointer;  /* マウスカーソルを「クリックできる手の形」にする */
}

.toc-002 {
    margin-bottom: 30px;
    border: 2px solid #2589d0;
    border-radius: 3px;
}

.toc-002 div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #009eee;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}

.toc-002 div::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.toc-002 ol {
    list-style-type: disc;
    margin: 0;
    overflow: hidden;
}

.toc-002 > ol {
    padding: 1em 1em 1em 3em;
}

.toc-002 ol ol {
    margin-top: 5px;
    padding-left: 1.1em;
}

.toc-002 li {
    padding: 5px 0;
    font-weight: 600;
}

.toc-002 ol ol li {
    font-weight: 500;
    font-size: .9em;
}

.toc-002 a {
    color: #333;
    text-decoration: none;
}
戻る
次に進む
×


body{
  padding:50px 0;
}
@mixin pc{
  @media only screen and (min-width: 768px) {
    @content;
  }
}
// start
img{
  max-width:100%;
}
.history {
    position: relative;
 
  margin:0 auto;
  padding:0 15px;
  @include pc{
     width:1000px;
  }
    &:before {
      content: "";
      width: 1px;
      height: 100%;
      background: orange;
      position: absolute;
      transform: translateX(-50%);
     @include pc {
        left: 50%;
      }
    }
    .history__item {
      position: relative;
      display: flex;
      padding: 0 0 35px 20px;
      @include pc {
        padding: 0;
      }
      &:nth-of-type(2n) {
        @include pc{
        justify-content: flex-end;
          }
      }

      &:before {
        content: "";
        width: 8px;
        height: 8px;
        background: orange;
        position: absolute;
        border-radius: 50%;
        left: 0;
        transform: translateX(-50%);
        @include pc {
          left: 50%;
          top: 0;
          width: 10px;
          height: 10px;
        }
      }
      &:last-child {
        padding-bottom: 15px;
       @include pc {
          padding-bottom: 0;
        }
        &:after {
          content: "";
          width: 6px;
          height: 6px;
          background: none;
          position: absolute;
          transform: translateX(-50%) rotate(-45deg);
          border-left: 1px solid orange;
          border-bottom: 1px solid orange;
          bottom: 0;
          left: 0;
          @include pc {
            left: 50%;
            width: 8px;
            height: 8px;
          }
        }
      }
    }
    .history__inner {
      max-width: 450px;
    }

    .history__iamge {
      line-height: 1;
      margin: 0;
      padding: 0;
      img {
        box-shadow: 0 0 15px rgba(#1e1d1d, 0.33);
        display: block;
      }
    }
    .history__text {
      padding-top: 10px;
      letter-spacing: 0.05em;
      @include pc {
        margin-top: 15px;
      }
    }
  }
/* === タイムライン基本レイアウト（スマホ） === */
.timeline {
  position: relative;
  margin-left: 2rem;
  border-left: 2px solid #ccc;
  padding-left: 1rem;
}

.timeline-item {
  position: relative;
  margin-block: 2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: none;
}

.timeline-date {
  font-weight: bold;
  color: #555;
}

.timeline-content {
  margin-top: 0.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #666;
  border-radius: 50%;
}


/* === レスポンシブ：PCでは中央線＋左右交互表示 === */
@media (min-width: 768px) {
  .timeline {
    position: relative;
    padding-left: 0;
    border-left: none;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ccc;
  }

  .timeline-item {
    width: 50%;
    padding: 1rem 2rem;
    box-sizing: border-box;
    position: relative;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
  }

  .timeline-item::before {
    top: 1rem;
    left: auto;
    right: -0.6rem;
  }

  .timeline-item:nth-child(even)::before {
    left: -0.4rem;
    right: auto;
  }
}

.button{
  
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid #000000;
    color: #dc5a45;
    text-decoration: none;
    border-radius: 5px;
}
.button::after{
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    margin-left: 15px;
    background: url(https://irodori-design-web.com/blog_image/3000/icon_arrow-red.svg) no-repeat center center / contain;
}

/* ページ全体の余白をリセット */
html, body {
  margin: 0;
  padding: 0;
}
.underline {
    text-decoration: underline;
}

.box28 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #87cefa;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #87cefa;
    color: #ffffff;
    font-weight: bold;
}
.box28 p {
    margin: 0; 
    padding: 0;
}

body {
font-family: 'Avenir','Helvetica Neue','Helvetica','Noto Sans','Arial','Noto Sans','Hiragino Sans','Noto Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic'  
}

.flex{
    display: flex;
    justify-content: space-between;
}
.flex>p{
    width: 49%;
}
.button-29 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin:0 auto;
    padding: .9em 2em;
    overflow: hidden;
    border: 1px solid #009eee;
    border-radius: 5px;
    background-color: #fff;
    color: #009eee;
    font-size: 1em;
}

.button-29:hover {
    background-color: transparent;
    color: #fff;
}

.button-29::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #009eee;
    content: '';
    transition: width .3s ease;
}

.button-29:hover::before {
    width: 100%;
}

.button-29::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #009eee;
    border-right: 2px solid #009eee;
    content: '';
}

.button-29:hover::after {
    border-color: #fff;
}

/* solid002 */
.button_solid002 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #6bb6ff;
    filter: drop-shadow(0px 2px 4px #ccc);
    border-radius: 3px;
    border-radius: 50px;
}
.button_solid002 a:after {
    position: absolute;
    top: 50%;
    right: 20px;
    transition: 0.2s ease-in-out;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transform: translateY(-50%);
}
.button_solid002 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}



ここから

/* scroll-snap対応横スクロールカルーセル */
.scroll-carousel {
  max-width: 70%;
  margin: 50px auto;
  padding:40px;
}

.carousel-title {
  font-size: 1em;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  padding: 10px 0 10px 0;
  /* scroll-snapの核心設定 */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* スクロールバーのカスタマイズ */
  scrollbar-width: thin;
  scrollbar-color: #bdc3c7 #ecf0f1;
 scroll-padding-left: 13%;
}

/* Webkit系ブラウザ用スクロールバースタイル */
.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background: #ecf0f1;
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #bdc3c7;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #95a5a6;
}

.scroll-item {
  flex: 0 0 580px; /* 固定幅で横スクロール対応 */
  height: 30%;
  background:#d7ebfe
;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  /* scroll-snap設定 */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scroll-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.scroll-item:hover .item-image {
  transform: scale(1.1);
}

.item-info {
  padding: 8px;
  text-align: center;
}

.item-title {
  font-size: 0.8em;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  line-height: 1;
}

.item-price {
  font-size: 1em;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}


.scroll-hint1 {
  text-align: center;
  margin-top: 10px;
  color: #666666
;
  font-size: 0.8em;
  animation: pulse 2s infinite;
}

.scroll-hint2 {
  text-align: center;
  margin-top: 0px;
  color: #000000;
  font-size: 1.2em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .scroll-item {
    flex: 0 0 500px;
    height: 200px;
  }

   .item-info {
    padding: 15px;
  }

  .item-title {
    font-size: 1.1em;
  }

  .item-price {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .scroll-carousel {
    padding: 20px 10px;
  }

  .scroll-container {
    gap: 15px;
  }

  .scroll-item {
    flex: 0 0 320px;
    height: 320px;
  }

  .carousel-title {
    font-size: 1.6em;
  }
}

/* タッチデバイス向け最適化 */
@media (hover: none) and (pointer: coarse) {
  .scroll-container {
    /* タッチデバイスでのスクロール性能向上 */
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 20px;
  }

  .scroll-item:hover {
    /* タッチデバイスではホバー効果を無効化 */
    transform: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }

  .scroll-item:hover .item-image {
    transform: none;
  }
}

.breadcrumb-001 {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  font-size: .9em;
}

.breadcrumb-001 li {
  display: flex;
  align-items: center;
}

/* aタグをクリック領域にする */
.breadcrumb-001 a {
  display: inline-flex;
  align-items: center;
  padding: 6px 6px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

/* 家アイコンは a に付ける */
.breadcrumb-001 li:first-child a::before {
  content: '';
  width: 1em;
  height: 1em;
  margin-right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23333333'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none; /* 念のため */
}

/* 矢印 */
.breadcrumb-001 li:not(:last-child)::after {
  content: '';
  width: .3em;
  height: .3em;
  margin-left: 10px;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  transform: rotate(45deg);
  pointer-events: none;
}

.breadcrumb-001 a:hover {
  text-decoration: underline;
}


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

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

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

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


body {
  font-family: "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴシック",
               "Yu Gothic", "游ゴシック", Meiryo, sans-serif;
  -webkit-text-size-adjust: none;
  background: #fefefe;
  color: #000;
  line-height: 2;
}


.heading-31 {
  border-bottom: 3px solid #1E90FF; /* 水色の線 */
  padding-bottom: 5px;             /* 文字と線の間隔 */
  margin-bottom: 20px;             /* 下の余白 */
}




