@charset "utf-8";

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

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

/*Font Noto Sans JPの読み込み
---------------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400&display=swap");

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


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

}

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

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

	}/*画面幅900px以上の追加指定ここまで*/


body {
	font-family: noto-sans-cjk-jp, "Noto Sans JP", sans-serif;
	font-weight: 300;
	/*font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #eeeff1;	/*背景色*/
	color: #000;		/*文字色*/
	line-height: 2;		/*行間*/
	animation: opa1 0.3s 0.5s both;	/*0.5秒の間だけ非表示にし、その後0.3秒かけてフェードイン表示。上部のメインメニューのデフォルトが一瞬見えてしまうのを回避する為の応急措置です。*/
}

/*リセット*/
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;}
section + section {
	margin-top: 3rem;
}


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

/*マウスオン時*/
a:hover {
	opacity: 1.0;	/*色を100%だけ出す*/
	color: #000000;	/*文字色*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	max-width: 3200px;				/*サイトの最大幅。これ以上広がらない。*/
	margin: 0 auto;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: flex-end;  /*寄せ*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	border-radius: 0px;				/*角を丸くする指定*/
	padding: 0 60px;				/*ヘッダー内の余白。上下、左右への順番。*/
	height: 70px;					/*ヘッダーの高さ*/
	position: fixed;				/*スクロールしても動かないようにする指定。*/
	z-index: 1;						/*スクロール中、コンテンツの上になるように*/
	margin: 0px;					/*headerの外側にとるスペース*/
	width: calc(100%);		/*pxの値は、上のmargin(両サイドなので２倍)を合計した数字です。*/
	/*box-shadow: 5px 5px 15px rgba(0,0,0,0.15);	ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒のことで0.15は色が15%出た状態。*/
	background: linear-gradient(#ffd200, rgba(255,210,0,1.0));	/*背景グラデーション。255,255,255は白のことで0.7は色が70%出た状態。*/
}

header #logo {
	margin-right: auto;
}

/*トップページ以外のヘッダーブロック*/
body:not(.home) header {
	background: linear-gradient(#ffd200, rgba(255,210,0,1.0));	/*背景グラデーション。230,230,230は白に近いグレーのことで0.7は色が70%出た状態。*/
}

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

	/*ヘッダーブロック*/
	header {
		padding: 0 35px;	/*ヘッダー内の余白。上下、左右への順番。20px*/
		height: 50px;		/*ヘッダーの高さ*/
	}

	}/*画面幅600px以下の追加指定ここまで*/


/*ロゴ*/
#logo img {display: block;}
#logo {
	width: 210px;	/*ロゴ画像の幅*/
}


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

#mainimg01,#mainimg02,#mainimg03,#mainimg04,#mainimg05,#mainimg06,#mainimg07,#mainimg08,#mainimg09,#mainimg10,#mainimg11,#mainimg12,#mainimg13 {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

#mainimg p {
	position: absolute;
    bottom: 10px;
    left: 50px;
	font-weight: 200;
	font-size: 3.0em;
	color: #000;
	line-height: 1.2em;
}

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

	#mainimg p {
		position: absolute;
    	bottom: 5px;
    	left: 30px;
		font-weight: 200;
		font-size: 1.8em;
		color: #000;
		line-height: 1.2em;
	}

	}/*画面幅600px以下の追加指定ここまで*/


/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar a {display: block;text-decoration: none;}
/*#menubar ul {list-style: none;margin: 0;padding: 0;font-family: "Font Awesome 5 Free";}*/
#menubar ul {list-style: none;margin: 0;padding: 0;font-family: noto-sans-cjk-jp, "Noto Sans JP", sans-serif, "Font Awesome 5 Free";}
#menubar.d-n, #menubar_hdr.d-n, #menubar .ddmenu_parent ul {display: none;}
#menubar.d-b {display: block;}
#menubar_hdr.d-b {display: flex;}
#menubar {
	position: relative;z-index: 1;	/*スライドショーがある場合に下に隠れないようにするため*/
	font-size: 18px;	/*文字サイズ。端末サイズで文字サイズが変わると不具合が出る場合があるので、ここで統一しています。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

/*ドロップダウンメニューのリンクタグ*/
#menubar .ddmenu {
	cursor: default;	/*リンク要素のカーソルを矢印に変更しておく*/
}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	content: "\f078";	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	font-weight: bold;	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
	display: inline-block;
	transform: scale(0.7);	/*元々のサイズの70%に。*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
.p #menubar > nav > ul {
	display: flex;		/*flexボックスを使う指定*/
	/* margin-right: 20px;	左側にとるスペース。ロゴとの間の間隔を調整します。*/
	font-size: 0.85rem;	/*文字サイズ。85%。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

/*メニュー１個あたりの設定*/
.p #menubar a {
	padding: 10px;	/*メニュー同士の余白*/
	color: #fff;		/*文字色*/
}

.p #menubar a:hover {
	color: #aaaaaa;		/*文字色*/
}

/*現在表示中（current）のメニュー*/
.p #menubar li.current > a {
	color: #aaaaaa;	/*文字色*/
}

/*カテゴリメニューブロック*/
#catmenubar .sort-btn {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*子要素の折り返し指定*/
	/* margin-right: 20px;	左側にとるスペース。ロゴとの間の間隔を調整します。*/
	font-size: 1.0rem;	/*文字サイズ。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	margin-bottom: 30px; /*カテゴリメニュー下の間隔*/
}

/*wrap*/
.wrap{
  flex-wrap: wrap;
}

/*メニュー１個あたりの設定*/
#catmenubar a {
	padding: 10px;	/*メニュー同士の余白*/
	color: #333333;		/*文字色*/
}

#catmenubar a:hover {
	color: #aaaaaa;		/*文字色*/
}

/*現在表示中（current）のメニュー*/
#catmenubar li.active > a {
	color: #aaaaaa;	/*文字色*/
}
	/*画面幅768 600px以下の追加指定*/
	@media screen and (max-width:768px) {
	
	#catmenubar a {
		font-size: 1.0rem;	/*文字サイズ。%。*/
		padding: 10px;	/*メニュー同士の余白*/
	}
	}
	@media screen and (max-width:600px) {
	
	#catmenubar a {
		font-size: 0.9rem;	/*文字サイズ。80%。*/
		padding: 5px;	/*メニュー同士の余白*/
	}
	}




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

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


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.d-b {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 70px 40px 10px;			/*ブロック内の余白。上、左右、下。*/
	background: rgba(245,245,245,0.9);		/*背景色。0,0,0は黒の事で0.9は色が90%出た状態。*/
	text-align: left;					/*内容をセンタリング*/
	animation: animation1 0.2s both;	/*animation.cssのanimation1を実行する。0.2sは0.2秒の事。*/
	color: #000;						/*文字色*/
}

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

/*メニュー文字設定*/
.s #menubar .sub {
	color: #999;
	font-size: 0.9em;
}


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

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {
	
	#mainimg {
	position: absolute;
	left: 0px;
	top: 50px;
	width: 100%;
	height: 100%;
}
	
	/*３本バーを囲むブロック*/
	#menubar_hdr {
		right: 20px;		/*右からの配置場所指定*/
		top: 0px;			/*上からの配置場所指定*/
	}
	
	}/*画面幅600px以下の追加指定ここまで*/
	
	
/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;			/*アニメーションにかける時間。0.3秒。*/
	border-top: 2px solid #777;	/*バーの色。線の幅、線種、色*/
}

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

/*×印が出ている状態の設定。※１本目のバー。*/
#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;	/*２本目は使わないので非表示にする*/
}


/*コンテンツ（フッター関連「以外」を囲むブロック）
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
	flex: 1;
	padding: 30px;	/*コンテンツ内の余白*/
}

#madaal-contents {
	position: absolute;
	padding: 1%;
	width: 100%;
	height: auto;
	background: #ffffff;
	opacity: 1.0;
}

/*トップページ以外のコンテンツブロック*/
body:not(.home) #contents {
	padding-top: 100px;	/*上にとる余白。headerがfixedなので、ここの設定がないとheaderに重なってしまいます。*/
}

#contents_modal {
	padding-top: 20px;	/*モーダルの上余白。*/
}

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {
	
	/*コンテンツブロック*/
	#contents {
		padding: 10px;	/*コンテンツ内の余白*/
	}
	
	/*トップページ以外のコンテンツブロック*/
	body:not(.home) #contents {
		padding-top: 70px;	/*上にとる余白 100*/
	}
	
	#contents_modal {
	padding-top: 20px;	/*モーダルの上余白。*/
}

	}/*画面幅600px以下の追加指定ここまで*/


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
	margin: 0 3%;	/*ブロックの外側に空けるスペース*/
}


/*h2タグ
---------------------------------------------------------------------------*/
/*h2タグ全体*/
#contents h2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 1rem;		/*h2の外側にとるスペース。上、左右、下への順番。*/
	font-size: 1.3rem;		/*文字サイズ*/
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	border-bottom: 2px solid #ffd200;	/*薄い色の線の幅、線種、色*/
}

#contents_modal h2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 2rem;		/*h2の外側にとるスペース。上、左右、下への順番。*/
	font-size: 1.0rem;		/*文字サイズ*/
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	border-bottom: 2px solid #ffd200;	/*薄い色の線の幅、線種、色*/
}

/*アクセントラインの設定*/
#contents_moda h2 .uline {
	display: inline-block;
	position: relative;
	padding: 10px 1rem;	/*h2内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 2px solid #ffd200;	/*濃い色の線の幅、線種、色*/
}


/*h3タグ
---------------------------------------------------------------------------*/
#contents h3 {
	margin: 0 0 1rem;	/*h3の外側にとるスペース。上、左右、下への順番。*/
	font-size: 1.2rem;	/*文字サイズ*/
	padding: 10px 1rem;	/*h3内の余白。上下、左右への順番。*/
	border-bottom: 2px solid #ddd;	/*薄い色の線の幅、線種、色*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
}

/*pタグ
---------------------------------------------------------------------------*/
#contents p {
	margin: 0 1rem 2rem;	/*pの外側にとるスペース。上、左右、下への順番。*/
}

/*微調整*/
#contents p + p {
	margin-top: -1rem;	/*段落が続いた場合に、少し上に詰める。*/
}


/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#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 {
	background: rgba(0,0,0,0.05);	/*バックに色追加。*/
	font-size: 0.8rem;		/*文字サイズ。bodyのfont-sizeの80%です。*/
	text-align: left;		/*内容をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	padding: 20px 60px;			/*ボックス内の余白*/
}

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {
	
	footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの80%です。*/
	padding: 20px 20px;			/*ボックス内の余白*/
	}


	}/*画面幅600px以下の追加指定ここまで*/


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

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



/*.slickブロック
---------------------------------------------------------------------------*/
.slick-list .splide__list {
	position: relative;
	background: #ffffff;
}

#madaal-contents .slider-for .splide__list {
	padding: 2% 2% 2% 2%;
}

/*splide用*/
.splide__slide img {
  width: 100%;
  height: 100%;
}

.splide__slide {
  opacity: 1.0;
}

.splide__slide.is-active {
  opacity: 1.0;
}

.splide__list .imgnone {
	display: none;
}

.imgact {
}


/*h4タグ*/
.slick-list h4 {
	margin-top: 5px;
	margin-bottom: 0px;
	font-size: 1.2em;	/*文字サイズを120%に*/
	font-weight: 200;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

/*h3タグ*/
.slick-list h3 {
	display: flex;
	position: relative;		/*ulineを配置する為に必要な指定*/
	margin: 0 0 1rem;	/*h3の外側にとるスペース。上、左右、下への順番。*/
	text-align: left;
	font-size: 1.2rem;	/*文字サイズ*/
	padding: 5px 0rem;	/*h3内の余白。上下、左右への順番。*/
	border-bottom: 2px solid #ddd;	/*薄い色の線の幅、線種、色*/
	font-weight: 200;	/*デフォルトの太字を標準に*/
}

/*右側の装飾文字の設定*/
.slick-list h3 .subtext {
/*	border: 1px solid #aaa;*/
	margin: 0 0 0 auto;
	padding-top: 5px;
	font-size: 1.0rem;
	opacity: 1.0;
}

#main-carousel h3 {
	margin: 0 0 1rem;	/*h3の外側にとるスペース。上、左右、下への順番。*/
	text-align: left;
	font-size: 1.0rem;	/*文字サイズ*/
	padding: 1rem 0rem;	/*h3内の余白。上下、左右への順番。*/
	border-bottom: 2px solid #ddd;	/*薄い色の線の幅、線種、色*/
	font-weight: 200;	/*デフォルトの太字を標準に*/
}

/*pタグ*/
.slick-list p {
	margin-bottom: 20px;
	text-align: left;
	font-size: 1.0em;
	line-height: 1.5;	/*行間を少し狭く*/
}

#main-carousel p {
	margin-bottom: 10px;
	text-align: left;
	F
	font-size: 0.9em;	/*文字サイズを90%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}

	/*画面幅660px以下の追加指定*/
	@media screen and (max-width:768px) {
	/*h3タグ*/
	.slick-list .splide__list h3 {
		margin: 0 0 1.0rem;	/*h3の外側にとるスペース。上、左右、下への順番。*/
		text-align: left;
		font-size: 1.0rem;	/*文字サイズ*/
		padding: 5px 0rem;	/*h3内の余白。上下、左右への順番。*/
		border-bottom: 1px solid #ddd;	/*薄い色の線の幅、線種、色*/
		font-weight: 200;	/*デフォルトの太字を標準に*/
	}

	/*pタグ*/
	.slick-list .splide__list p {
		margin-bottom: 0px;
		text-align: left;
		font-size: 0.9em;	/*文字サイズを90%に*/
		line-height: 1.2;	/*行間を少し狭く*/
	}
	
	}


/*.listブロック共通
---------------------------------------------------------------------------*/
.list0 .list1 .list2 .list3 .list4 {
	position: relative;
	text-decoration: none;
}

/*figure画像*/
.list0 .list1 .list2 .list3 .list4 figure {
	margin-bottom: 2rem;
}

/*１列タイプのボックス TOP用
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}
	
.list-grid .list0 {
	margin-bottom: 0.3rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 5px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	width: 100%;			/*幅。1列になります。*/
	/*border: solid 1px;*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-grid .list0 h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 10 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

.list-grid .list0 h4 .uline {
	display: inline-block;
	position: relative;
	width: 100%;		/*全幅*/
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-grid .list0 {
		width: 100%;			/*幅。1列になります。*/
	}
	
	/*ボックス内のh4タグ*/
	.list-grid .list0 h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	}

	.list-grid .list0 h4 .uline {
	display: inline-block;
	position: relative;
	width: 15rem;
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
	}

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

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

	/*2の倍数目のボックスの右側のマージンをなくす
	.list-grid .list:nth-of-type(1n) {
		margin-right: 0;
	}*/

	/*ボックス内のtextブロック*/
	.list-grid .list0 .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/



/*１列タイプのボックス ABOUT用
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}
	
.list-grid .list1 {
	margin-bottom: 0.3rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 5px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	width: 100%;			/*幅。1列になります。*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-grid .list1 h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 10 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

.list-grid .list1 h4 .uline {
	display: inline-block;
	position: relative;
	width: 100%;		/*全幅*/
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-grid .list1 {
		width: 100%;			/*幅。1列になります。*/
	}
	
	/*ボックス内のh4タグ*/
	.list-grid .list1 h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	}

	.list-grid .list1 h4 .uline {
	display: inline-block;
	position: relative;
	width: 16rem;		/*15rem*/
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
	}

	/*ボックス内のpタグ*/
	.list-grid .list1 p {
	margin-left: 18em !important;
	font-size: 1.0em;	/*文字サイズを100%に*/
	line-height: 1.5;	/*行間を少し狭く*/
	}

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

	/*2の倍数目のボックスの右側のマージンをなくす
	.list-grid .list:nth-of-type(1n) {
		margin-right: 0;
	}*/

	/*ボックス内のtextブロック*/
	.list-grid .list1 .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/

/*１列タイプのボックス WORKS一覧用
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}
	
.list-grid .list_works {
	margin-bottom: 0.3rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 5px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	width: 100%;			/*幅。1列になります。*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-grid .list_works h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 10 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

.list-grid .list_works h4 .uline {
	display: inline-block;
	position: relative;
	width: 100%;		/*全幅*/
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
}

/*h3タグ*/
.list-grid .list_works h3 {
	/*display: flex;*/
	display: inline-block;
	position: relative;		/*ulineを配置する為に必要な指定*/
	width: 100%;
	margin: 0 0 0rem;	/*h3の外側にとるスペース。上、左右、下への順番。*/
	text-align: left;
	font-size: 1.2rem;	/*文字サイズ*/
	padding: 5px 0rem;	/*h3内の余白。上下、左右への順番。*/
	border-bottom: 2px solid #ddd;	/*薄い色の線の幅、線種、色*/
	font-weight: 200;	/*デフォルトの太字を標準に*/
}

/*右側の装飾文字の設定*/
.list-grid .list_works h3 .subtext {
/*	border: 1px solid #aaa;*/
	display: block;
	margin: 0 0 0 auto;
	padding-top: 5px;
	font-size: 0.7rem;
	opacity: 1.0;
}


/*pタグ*/
.list-grid .list_works p {
	width: 100%;
	margin-bottom: 20px;
	text-align: left;
	font-size: 1.0em;
	line-height: 1.5;	/*行間を少し狭く*/
}

/*ボックス内のpタグ*/
/*.list-grid .list_works p {
	margin-left: 0rem !important;
	font-size: 1.0em;
	line-height: 1.5;
	width: 100%;
	padding: 1rem 1rem;
	background: #ffffff;	背景色
}*/

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

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-grid .list_works {
		width: 90%;			/*幅。1列になります。*/
		margin: 0 auto;		/*センター合わせ。*/
	}
	
	/*ボックス内のh4タグ*/
	.list-grid .list_works h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 10 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	}

.list-grid .list_works h4 .uline {
	display: inline-block;
	position: relative;
	width: 100%;		/*全幅*/
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
	}

/*h3タグ*/
.list-grid .list_works h3 {
	display: flex;
	position: relative;		/*ulineを配置する為に必要な指定*/
	width: 100%;
	margin: 0 0 1rem;	/*h3の外側にとるスペース。上、左右、下への順番。*/
	text-align: left;
	font-size: 1.2rem;	/*文字サイズ*/
	padding: 5px 0rem;	/*h3内の余白。上下、左右への順番。*/
	border-bottom: 2px solid #ddd;	/*薄い色の線の幅、線種、色*/
	font-weight: 200;	/*デフォルトの太字を標準に*/
}

/*右側の装飾文字の設定*/
.list-grid .list_works h3 .subtext {
/*	border: 1px solid #aaa;*/
	margin: 0 0 0 auto;
	padding-top: 5px;
	font-size: 0.8rem;
	opacity: 1.0;
}

/*pタグ*/
.list-grid .list_works p {
	width: 100%;
	margin-bottom: 20px;
	text-align: left;
	font-size: 1.0em;
	line-height: 1.5;	/*行間を少し狭く*/
}

/*ボックス内のpタグ*/
/*.list-grid .list_works p {
	margin-left: 0rem !important;
	font-size: 1.0em;
	line-height: 1.5;
	width: 100%;
	padding: 1rem 1rem;
	background: #ffffff;	背景色
}*/

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

	/*2の倍数目のボックスの右側のマージンをなくす
	.list-grid .list:nth-of-type(1n) {
		margin-right: 0;
	}*/

	/*ボックス内のtextブロック*/
	.list-grid .list_works .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/



/*１列タイプのボックス CONTACT用
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}
	
.list-grid .list_contact {
	margin-bottom: 0.3rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 5px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	width: 100%;			/*幅。1列になります。*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-grid .list_contact h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 10 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

.list-grid .list_contact h4 .uline {
	display: inline-block;
	position: relative;
	width: 100%;		/*全幅*/
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
}

/*ボックス内のpタグ*/
.list-grid .list_contact p {
	margin-left: 0rem !important;
	font-size: 1.0em;	/*文字サイズを80%に*/
	line-height: 1.5;	/*行間を少し狭く*/
	width: 100%;		/*全幅*/
	padding: 1rem 1rem;
	/*background: #ffffff;	背景色*/
}

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

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-grid .list_contact {
		width: 90%;			/*幅。1列になります。*/
		margin: 0 auto;		/*センター合わせ。*/
	}
	
	/*ボックス内のh4タグ*/
	.list-grid .list_contact h4 {
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: 400;
	margin: 10 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	}

.list-grid .list_contact h4 .uline {
	display: inline-block;
	position: relative;
	width: 100%;		/*全幅*/
	padding: 5px 0rem;	/*h4内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 1px solid #cccccc;	/*濃い色の線の幅、線種、色*/
	}
	
	/*ボックス内のpタグ*/
	.list-grid .list_contact p {
	margin-left: 0rem !important;
	padding: 1rem 1rem;
	font-size: 1.0em;	/*文字サイズを80%に*/
	line-height: 1.5;	/*行間を少し狭く*/
	width: 100%;		/*全幅*/
	/*background: #ffffff;	/*背景色*/
	}

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

	/*2の倍数目のボックスの右側のマージンをなくす
	.list-grid .list:nth-of-type(1n) {
		margin-right: 0;
	}*/

	/*ボックス内のtextブロック*/
	.list-grid .list_contact .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/



/*２列タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}
	
.list-grid .list2 {
	margin-bottom: 0.3rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 5px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	width: 50%;			/*幅。2列になります。*/
}

/*ボックス内のh4タグ*/
.list-grid .list2 h4 {
	font-weight: 400;
	margin: 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-grid .list2 {
		width: 50%;			/*幅。2列になります。*/
		margin-right: 0%;	/*右側へのマージン。ボックス同士の左右の余白です。*/
	}
	
	/*2の倍数目のボックスの右側のマージンをなくす*/
	.list-grid .list:nth-of-type(2n) {
		margin-right: 0;
	}

	/*ボックス内のtextブロック*/
	.list-grid .list .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/



/*３列タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

.list-grid .list {
	margin-bottom: 0.3rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 5px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	width: 33.33333%;			/*幅。３列になります。*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-grid .list h4 {
	font-weight: 400;
	margin: 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-grid .list {
		width: 33.33333%;			/*幅。３列になります。*/
		margin-right: 0%;	/*右側へのマージン。ボックス同士の左右の余白です。*/
	}
	
	/*3の倍数目のボックスの右側のマージンをなくす*/
	.list-grid .list:nth-of-type(3n) {
		margin-right: 0;
	}

	/*ボックス内のtextブロック*/
	.list-grid .list .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/

/*４列タイプのボックス WORKS用
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

.list-grid .list4 {
	margin-bottom: 0;	/*ボックス同士の下間に空けるスペース*/
	padding: 5px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	width: 50%;			/*幅。2列になります。*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-grid .list4 h4 {
	font-weight: 200;
	margin: 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	overflow: hidden;          /* 溢れた部分を隠す */
	text-overflow: ellipsis;   /* 溢れた部分を「...」にする */
	white-space: nowrap;       /* 1行で表示 */
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-grid .list4 {
		width: 25%;			/*幅。4列になります。*/
		margin-right: 0%;	/*右側へのマージン。ボックス同士の左右の余白です。*/
	}
	
	/*4の倍数目のボックスの右側のマージンをなくす*/
	.list-grid .list4:nth-of-type(4n) {
		margin-right: 0;
	}

	/*ボックス内のtextブロック*/
	.list-grid .list4 .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/


/*４列タイプのボックス grid4
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.grid4 {
		position: relative; /*並び替えの基準点を指定*/
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

.grid4 .list4 {
	position: absolute;
	margin-bottom: 1.5rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 0px;			/*ボックス内の余白*/
	background: #eeeff1;		/*背景色*/
	width: 49.5%;			/*幅。2列になります。*/
	/*box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.grid4 .list4 h4 {
	font-weight: 400;
	margin: 0 0 0.5rem;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

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

/*ボックス内のfigure画像*/
.grid4 .list4 figure {
	margin-bottom: 0rem;	/*下に空けるスペース*/
	margin-right: 0.8rem;	/*右に空けるスペース*/
}

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

	/*listブロック全体を囲むブロック*/
	.grid4 {
		position: relative; /*並び替えの基準点を指定*/
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.grid4 .list4 {
		width: 24.5%;			/*幅。4列になります。*/
		margin-right: 0%;	/*右側へのマージン。ボックス同士の左右の余白です。*/
	}
	
	/*4の倍数目のボックスの右側のマージンをなくす*/
	.grid4 .list4:nth-of-type(4n) {
		margin-right: 0;
	}

	/*ボックス内のtextブロック*/
	.grid4 .list4 .text {
		flex: 1;
	}

	}/*画面幅900px以上の追加指定ここまで*/


/*WORKS用*/
/*各画像の横幅などの設定*/
.grid_works {
		position: relative; /*並び替えの基準点を指定*/
	}
	
.item {
  display: block;
  position: absolute;
  width: 24.5%;/*横並びで4つ表示*/
  z-index: 0;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/*画像の横幅を100%にしてレスポンシブ化*/
.grid_works figure {
  margin-bottom: 0rem;	/*下に空けるスペース*/
  margin-right: 0.7rem;	/*右に空けるスペース*/
}

.grid_works h4 {
	font-weight: 200;
	font-size: 0.8em;	/*文字サイズを80%に*/
	margin: 0 0.5rem 0.7rem 0;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	overflow: hidden;	/* 溢れた部分を隠す */
	text-overflow: ellipsis;	/* 溢れた部分を「...」にする */
	white-space: nowrap;	/* 1行で表示 */
	flex: 1;
	}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {
.item {
  width: 49.5%;/*横並びで2つ表示*/
}
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 1rem;	/*上下、左右へのボックス内の余白*/
}

/*日付(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: 7em;	/*幅。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: #ffd200;	/*背景色*/
	}

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

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

	}/*画面幅900px以上の追加指定ここまで*/


/*FAQ
---------------------------------------------------------------------------*/
/*FAQボックス全体*/
.faq {
	padding: 0 1rem;	/*上下、左右へのボックス内の余白*/
}

/*質問*/
.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";	/*アイコンのコード*/
	color: #ffd200;		/*アイコンの色*/
	padding-right: 1rem;	/*アイコンとテキストとの間のスペース*/
}

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

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


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

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

/*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 {
	font-weight: 300;
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: #fafafa;	/*背景色*/
}

/*td（左側）のみの設定*/
.ta1 td {
	font-weight: 300;
	text-align: left;	/*左よせにする*/
	background: #ffffff;	/*背景色*/
}

	/*画面幅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%;		/*幅*/
		}

	}/*画面幅900px以上の追加指定ここまで*/


/*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;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.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;}
p.img {margin: 0 0 1rem !important;}

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

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

	}/*画面幅900px以上の追加指定ここまで*/
