@charset "utf-8";



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

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@500&display=swap');

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

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



/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	margin: 0;padding: 0;
	font-size: 13px;	/*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
	overflow-x: hidden;
}

body {
	font-family: 'M PLUS 1', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #ffffff;	/*背景色*/
	color: #777;			/*文字色*/
	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%;}

/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}

/*他*/
section + section {
	margin-top: 30px;
}

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

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


/*container
---------------------------------------------------------------------------*/
#container {
	margin: 0 auto;
	max-width: 1800px;	/*サイトの最大幅*/
}


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

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

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

	/*ヘッダーブロック*/
	header {
		padding: 0 20px;	/*ヘッダー内の余白。上下、左右への順番。*/
		height: 60px;		/*ヘッダーの高さ*/
		margin: 10px;		/*headerの外側にとるスペース*/
		width: calc(100% - 20px);	/*pxの値は、上のmargin(両サイドなので２倍)を合計した数字です。*/
	}
  
	}/*画面幅600px以下の追加指定ここまで*/


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


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

#mainimg2 {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
  background: url(../images/1.jpg) no-repeat center center / 100%;	/*背景色、背景画像の読み込み、最後の100%は画像幅。*/
}

#sine {
width: 35%;	/*幅。#menubarと数字を合わせる。*/
	position: absolute;
  left:32%;                /* 左からの位置指定 */
	top: 85px;	/*header #innerに対して上から25pxの場所に配置*/
}


/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar a {display: block;text-decoration: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;font-family: "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;	/*文字サイズ。端末サイズで文字サイズが変わると不具合が出る場合があるので、ここで統一しています。*/
}

/*ドロップダウンメニューのリンクタグ*/
#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-left: 30px;	/*左側にとるスペース。ロゴとの間の間隔を調整します。*/
	font-size: 0.85rem;	/*文字サイズ。85%。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

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

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


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.p #menubar ul ul {
	position: absolute;z-index: 100;
	border-radius: 10px;	/*角を丸くする指定*/
	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: 100px 20px 20px;			/*ブロック内の余白。上、左右、下。*/
	background: rgba(0,0,0,0.9);		/*背景色。0,0,0は黒の事で0.9は色が90%出た状態。*/
	text-align: center;					/*内容をセンタリング*/
	animation: animation1 0.2s both;	/*animation.cssのanimation1を実行する。0.2sは0.2秒の事。*/
	color: #fff;						/*文字色*/
}

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


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

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {
	
	/*３本バーを囲むブロック*/
	#menubar_hdr {
		right: 20px;		/*右からの配置場所指定*/
		top: 12px;			/*上からの配置場所指定*/
	}
    
  #sine {
	top: 55px;	/*header #innerに対して上から25pxの場所に配置*/
}
	
	}/*画面幅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 #fff;			/*バーの色を変更*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#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;	/*コンテンツ内の余白*/
}

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

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

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


/*main
---------------------------------------------------------------------------*/
main {
	margin: 5px;	/*ブロック内の余白*/
}
/*main2
---------------------------------------------------------------------------*/

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

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

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

/*右側の装飾文字の設定*/
#contents h3 .small {
	font-size: 0.8em;
	opacity: 0.7;
	margin-right: 1rem;
  vertical-align: -5px;
}
    
/*listブロック
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*１個あたりのボックス設定*/
.list {
	display: flex;				/*flexボックスを使う指定*/
	flex-direction: column;		/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	width: 48%;				/*幅*/
	margin-right: 4%;		/*右側に空けるスペース*/
	margin-bottom: 2em;		/*ボックスの下に空けるスペース。２文字分。*/
	position: relative;		/*NEWアイコンを絶対配置させる為に必要な指定*/
	overflow: hidden;		/*NEWアイコンが飛び出ないようにする指定*/
}

/*２の倍数のlistブロックへの追加設定*/
.list:nth-of-type(2n) {
	margin-right: 0;	/*右側の余白をなくす*/
}

/*ボックス内のh4タグ*/
.list h4 {
	margin: 0;
	color: #eda700;	/*文字色*/
}
.list h4 a {
	color: #eda700;	/*リンクテキストの文字色*/
}

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

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

/*list内のボタン*/
.list .btn a {
	display: block;text-decoration: none;
	background: #eda700;	/*背景色*/
	color: #333;			/*文字色*/
	text-align: center;		/*文字をセンタリング*/
	padding: 10px 5px;		/*上下、左右へのボタン内の余白*/
	margin-top: 10px;		/*ボタンの上にとるスペース*/
}

/*左上のアイコン*/
.list .icon {
	position: absolute;		/*relativeを持っている親要素に対して絶対配置する指示*/
	left: 0px;				/*左からの配置場所*/
	top: 0px;				/*上からの配置場所*/
	background: #eda700;	/*背景色*/
	font-size: 11px;		/*文字サイズ*/
	width: 100px;			/*幅*/
	padding-top: 30px;		/*文字の上に空ける余白*/
	text-align: center;		/*テキストをセンタリング*/
	color: #333;			/*文字色*/
	transform: rotate(-45deg) translate(-15px, -40px);	/*左に45度回転、右に-15px、上に-40px移動。マイナスがついてる場合は逆側に移動します。*/
}

/*スタッフ紹介用。画像を円形にくり抜く。*/
.list figure.circle {
	border-radius: 50%;	/*円形にする。画像が長方形だと正円になりません。*/
	overflow: hidden;	/*円形から飛び出ている部分を非表示に*/
}

/*.c3スタイル（3カラム）*/
.list-container.c3 .list {
	width: 30%;				/*幅*/
	margin-right: 5%;		/*右側に空けるスペース*/
}

/*３の倍数のlistブロックへの追加設定*/
.list-container.c3 .list:nth-of-type(3n) {
	margin-right: 0;	/*右側の余白をなくす*/
}

/*list-column（トップページで使っている３列ブロック）
---------------------------------------------------------------------------*/
/*カラムブロック全体を囲むボックス*/
#contents .list-column-container {
	display: flex;
	justify-content: space-between;	/*中のブロックの横並びの揃え方*/
	flex-wrap: wrap;				/*中のブロックを自動で折り返す*/
	margin: 0 3%;
}
/*１カラムあたりの設定*/
#contents .list-column {
	display: flex;
	flex-direction: column;			/*中のブロックを並べる向きの指定。これは縦に並べる意味。*/
	width: 100%;						/*ブロック幅*/
	margin-bottom: 10px;			/*ブロックの下に空ける余白*/
	background: #666;				/*背景色*/
	color: #fff;					/*文字色*/
	border-radius: 10px;				/*角丸の指定。ほんの少し角が丸くなります。*/
	overflow: hidden;				/*角丸から内容が飛び出ないよう、飛び出た部分を非表示にする指定*/
}
/*リンクテキストの文字色*/
#contents .list-column a {
	color: #fff;
}
#contents .list-column h4 {
	font-size: 110%;		/*文字サイズ*/
}
#contents .list-column h5 {
	font-size: 110%;		/*文字サイズ*/
	background: #006eb6;/*背景色*/
  padding: 0.5em;/*文字まわり（上下左右）の余白*/
	margin-bottom: 5px;
}
/*ボックス内のp（段落）タグ*/
#contents .list-column p {
  font-size: 90%;		/*文字サイズ*/
  padding: 2%;			/*ブロック内の余白*/
}
/*「class="text"」を指定したブロック。テキストブロック。*/
#contents .list-column .text {
  font-size: 90%;		/*文字サイズ*/
	padding: 2%;			/*ブロック内の余白*/
	flex: 1 0 auto;
}

/*IEバグ対応*/
#contents .list-column figure {
	min-height: 0%;
}
.col4{
		font-size: 15px;
		text-align: center;
	margin-bottom: 30px;
	}

.col4 li{
		display: inline-block;
		width: 23%;
		padding: 0 0 0 1%;
		vertical-align: top;
		text-align: left;
	font-weight: bold;
	}
.col4 li span{
		font-size: 90%;
	font-weight: normal;
	}

/*inputボタン
---------------------------------------------------------------------------*/
#contents input[type="submit"].btn,
#contents input[type="button"].btn,
#contents input[type="reset"].btn {
	-webkit-appearance: none;
	outline: none;
	padding: 5px 20px;		/*上下、左右へのボックス内の余白*/
	border: 1px solid #333;	/*枠線の幅、線種、色*/
	font-size: 130%;		/*文字サイズ*/
	border-radius: 10px;		/*角丸のサイズ*/
	background: #a10808;		/*背景色*/
	color: #fff;			/*文字色*/
}
/*マウスオン時の設定*/
#contents input[type="submit"].btn:hover,
#contents input[type="button"].btn:hover,
#contents input[type="reset"].btn:hover {
	border: 1px solid #333;	/*枠線の幅、線種、色*/
	background: #c9caca;		/*背景色*/
	color: #333;			/*文字色*/
}

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

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

#footermenu h3 {
	text-align: center;	/*テキストを中央に*/
	font-size: 1.3rem;		/*文字サイズ*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
	border-bottom: 2px solid #ddd;	/*薄い色の線の幅、線種、色*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	text-align: center;		/*内容をセンタリング*/
	padding: 5px;			/*ボックス内の余白*/
}

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

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


/*価格。plan.htmlで使っています。
---------------------------------------------------------------------------*/
.price {
	display: inline-block;
	background: #eda700;	/*背景色*/
	color: #333;		/*文字色*/
	font-size: 0.8em;	/*文字サイズを親要素の80%に*/
	padding: 0 10px;	/*上下、左右へのブロック内の余白*/
	margin-left: 20px;	/*左に空けるスペース*/
	border-radius: 3px;	/*角を丸くする指定*/
}


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

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

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f059";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	color: #eda700;			/*アイコンの色*/
	padding-right: 1em;		/*アイコンとテキストの間の余白*/
}

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

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

.faq dt span {text-indent: 0;}


/*ta2設定
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2 caption, .ta2 caption {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: left;		/*文字を左寄せ*/
	background: rgba(0,0,0,0.5);	/*背景色*/
	font-weight: bold;		/*太字に*/
	padding: 5px;	/*ボックス内の余白*/
}
/*ta2テーブル*/
.ta2 {
	width: 94%;
	table-layout: fixed;
	margin: 0 3% 30px;
}
.ta2, .ta2 td, .ta2 th {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;	/*ボックス内の余白*/
	word-break: break-all;
}
/*左側ボックス*/
.ta2 th {
	width: 150px;	/*幅*/
	text-align: center;	/*センタリング*/
	font-weight: normal;
}


/*bg1タイプ
---------------------------------------------------------------------------*/
.bg1 {
	background: #eee;			/*背景色*/
	width: calc(100% + 40px);	/*幅。40pxというのは、paddingの数字(左右なので40px)の事です。*/
	margin-left: -20px;			/*左右の中央になるように左にずらしています*/
	padding: 20px;				/*ボックス内の余白*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #eda700 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.mt30 {margin-top: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #000;border: 1px solid #555; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.6em;}
.pc {display: none;}
/*TEL*/
.tel-link {
color: #000;
font-size: 20px;
font-weight: bold;
text-align: center;
}
.tel2 {
text-align: center;
margin-top: -20px;	
}
.ba18l{
	font-size: 18px;
	font-weight:bold;
}

/*問合せ*/
.tel {
font-size: 16px;
text-align: center;
}
.leed{
	font-size: 112%;
	text-align: center;
	color: #004098;
}
  

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


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 16px;
}

/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*トップページのロゴ*/
.home #logo {
	width: 320px;	/*幅。*/
}

/*main
---------------------------------------------------------------------------*/
main {
	margin: 10px 100px 10px 100px;	/*ブロック内の余白*/
}
  
#mainimg-box {
	padding-top: 41.66%;
}


/*listブロック
---------------------------------------------------------------------------*/
/*１個あたりのボックス設定*/
.list {
	width: 22%;				/*幅*/
	margin-right: 4%;		/*右側に空けるスペース*/
}

/*上の小さな端末用設定の２の倍数ボックスのマージン0を上書き*/
.list:nth-of-type(2n) {
	margin-right: 4%;
}

/*２の倍数のlistブロックへの追加設定。上の2nの指定より後に書かないと2nに上書きされるので注意して下さい。*/
.list:nth-of-type(4n) {
	margin-right: 0;	/*右側の余白をなくす*/
}
  
/*list-column（トップページで使っている３列ブロック）
---------------------------------------------------------------------------*/

/*１カラムあたりの設定*/
#contents .list-column {
	display: flex;
	flex-direction: column;			/*中のブロックを並べる向きの指定。これは縦に並べる意味。*/
	width: 32%;						/*ブロック幅*/
	margin-bottom: 10px;			/*ブロックの下に空ける余白*/
	background: #666;				/*背景色*/
	color: #fff;					/*文字色*/
	border-radius: 10px;				/*角丸の指定。ほんの少し角が丸くなります。*/
	overflow: hidden;				/*角丸から内容が飛び出ないよう、飛び出た部分を非表示にする指定*/
}
  
.tel {
font-size: 22px;
text-align: center;
}



/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar {
	width: 70%;
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*日付(dt)設定*/
#new dt {
	width: 14em;	/*幅。14文字(em)分。*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: inline-block;	/*表示させる*/
	width: 7.5em;			/*幅。7.5文字(em)分。*/
	background: #555;		/*背景色*/
	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;	/*上下の配置バランスの微調整*/
}

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

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


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

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

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


/*bg1タイプ
---------------------------------------------------------------------------*/
.bg1 {
	width: calc(100% + 200px);	/*幅。200pxというのは、paddingの数字(左右なので200px)の事です。*/
	margin-left: -100px;		/*左右の中央になるように左にずらしています*/
	padding: 100px;				/*ボックス内の余白*/
}


/*その他
---------------------------------------------------------------------------*/
.ws {width: 48%;display: inline;}
.sh {display: none;}
.pc {display: block;}.inner-s {
	width: 70%;
	margin: 0 auto;
	padding-left: 15%;
	padding-right: 15%;
}

  
.inner-s {
	width: 70%;
	margin: 0 auto;
	padding-left: 15%;
	padding-right: 15%;
}
/* for table */
#form-tbl {
	margin-left: 1.5em;
}
#form {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
}
#form th, #form td {
	border: 1px solid #fff;
	padding: 8px;
}
#form th {
	white-space: nowrap;
	background: #c9caca;
}
#form td {
	background: #EEE;
}

/* for title */

/* for message */
p.msg {
	color: #004098;
	margin: 2em;
}
span.msg {
	color: #004098;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	#body { margin-left: 0; }
	
	/* 投稿フォーム */
	#form-tbl { margin: 0 auto; text-align: center; }
	#form { width: 96%; margin: 10px auto; }
    #form th, #form td {
    	text-align: left;
		width: 100%;
        display: block;
        padding: 6px 3px;
        border-top: none;
    }
    #form tr:first-child th	{ border-top: 1px solid #666; }
    
	/* 小見出し */
	h2 { margin: 1em 3px; width: 90%; }
	
	/* サンクス */
	p.msg { margin: 1em auto; }
} 



/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}

