@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url("inview.css");



/*テーマカラーの定義（CSS変数）
ここのカラーコードを変更するだけで、テンプレートのテーマカラーが変わります。
---------------------------------------------------------------------------*/
:root {
    --primary-color: #1d2948;
    --secondary-color: #fff;
}



/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}



/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	height: 100%;
	font-size: 13px;	/*基準となるフォントサイズ。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	html, body {
		font-size: 16px;	/*基準となるフォントサイズ。*/
	}

	}/*追加指定ここまで*/


body {
	font-family: 'M PLUS Rounded 1c', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: var(--secondary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: #666;		/*文字色*/
	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;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #9ea3b0;	/*文字色*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
	text-decoration: none;		/*下線を消す*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
}

/*トップページ以外のコンテナー*/
body:not(.home) #container {
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}


/*コンテンツ（main要素を囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	max-width: 1800px;	/*サイトの最大幅。これ以上広がらない。*/
	margin: auto 0;
}


/*ヘッダー
---------------------------------------------------------------------------*/
/*トップページのヘッダー*/
.home header {
	position: relative;overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

/*トップページ以外のヘッダー*/
body:not(.home) header {
	height: 80px;					/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	padding: 0 5%;					/*上下、左右へのヘッダー内の余白*/
}

/*ロゴ共通*/
#logo img {display: block;}

/*トップページのロゴ*/
.home #logo {
	margin: 0;padding: 0;
	width: 300px;	/*ロゴの幅*/
	position: absolute;z-index: 1;
	top: 50%;							/*天地左右中央に配置する為の指定*/
	left: 50%;							/*天地左右中央に配置する為の指定*/
	transform: translate(-50%, -50%);	/*天地左右中央に配置する為の指定*/
}
/*トップページのロゴ*/
.home #logo1 {
	margin: 0;padding: 0;
	width: 300px;	/*ロゴの幅*/
	position: absolute;z-index: 1;
	top: 51%;							/*天地左右中央に配置する為の指定*/
	left: 54%;							/*天地左右中央に配置する為の指定*/
	transform: translate(-50%, -50%);	/*天地左右中央に配置する為の指定*/
}
/*トップページのロゴ*/
.home #logo2 {
	margin: 0;padding: 0;
	width: 300px;	/*ロゴの幅*/
	position: absolute;z-index: 1;
	top: 51%;							/*天地左右中央に配置する為の指定*/
	left: 58%;							/*天地左右中央に配置する為の指定*/
	transform: translate(-50%, -50%);	/*天地左右中央に配置する為の指定*/
}

/*トップページ以外のロゴ*/
body:not(.home) #logo img {
	height: 80px;	/*ロゴの高さ。ハンバーガーメニューの場所がずれないように、headerの高さと、ロゴの高さを固定しています。*/
}

/*動画*/
video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 50%;
    min-height: 50%;
}



/*メインブロック
---------------------------------------------------------------------------*/
main {
	padding: 5%;	/*メインブロック内の余白*/
}

/*ブロック内のh2*/
main h2 {
	color: var(--primary-color);		/*css冒頭で指定しているテーマカラーを読み込みます*/
	font-family: 'Comfortaa', 'M PLUS Rounded 1c', cursive;	/*冒頭で読み込んでいるGoogleFontsを使う指定*/
	font-weight: normal;				/*hタグのデフォルトの太字を標準に*/
	font-size: 4rem;					/*文字サイズ。4倍に。*/
	letter-spacing: 0.1em;				/*文字間隔を少し広くとる指定*/
	border-bottom: 1px solid rgba(29,41,72,0.2);	/*下線の幅、線種、色。255,255,255は白のことで0.2は色が20%出た状態*/
	padding: 0 0 1rem;				/*h2内の余白。上、左右、下への順番。*/
}

/*ブロック内のh2内のspan*/
main h2 span {
	display: block;
	font-size: 0.3em;	/*文字サイズ。上のh2のサイズの20%。*/
	margin-top: -1em;	/*少し上に移動させる*/
}

/*ブロック内のh3*/
main h3 {
	color: var(--primary-color);	/*css冒頭で指定しているテーマカラーを読み込みます*/
	font-size: 1.3rem;				/*文字サイズ。1.3倍。*/
	border-bottom: 1px solid rgba(29,41,72,0.2);	/*下線の幅、線種、色。255,255,255は白のことで0.2は色が20%出た状態*/
}

	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {
	
	/*ブロック内のh2*/
	main h2 {
		padding: 0 2rem 1rem;	/*h2内の余白。上、左右、下への順番。*/
	}
	
	/*ブロック内のh3*/
	main h3 {
		padding-left: 2rem;		/*左にとる余白*/
		padding-right: 2rem;	/*右にとる余白*/
	}
	
	/*ブロック内のp*/
	main p {
		margin-left: 2rem;	/*左に空けるスペース*/
		margin-right: 2rem;	/*右に空けるスペース*/
	}

	}/*追加指定ここまで*/


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	margin: 0;
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒のことで0.2は色が20%出た状態。*/
	border-radius: 10px;			/*角を丸くする指定*/
	overflow: hidden;
}

/*日付(dt)設定*/
.new dt {
	padding: 1rem 1rem 0;	/*dt内の余白。上、左右、下へ。*/
}

/*記事(dd)設定*/
.new dd {
	padding: 1rem;					/*dd内の余白*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
}

/*日付の横のマーク（共通設定）*/
.new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*奇数行目を背景色を少し濃くする*/
.new dt:nth-of-type(odd),
.new dd:nth-of-type(odd) {
	background: rgba(0,0,0,0.1);
}

/*一番右側の「＞」のアイコン（アイコン自体はhtml側にiタグのFontAwesomeで読み込んでいます）*/
.new dd i {
	font-size: 0.8rem;	/*文字サイズを80%に*/
	margin-left: 2rem;	/*右側に空けるスペース。２文字分。*/
	background: #111;	/*背景色*/
	color: #fff;		/*文字色。アイコンの色です。*/
	width: 2rem;		/*幅*/
	line-height: 2rem;	/*高さ*/
	text-align: center;	/*内容をセンタリング*/
	border-radius: 50%;	/*円形にする*/
}

	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {

	/*お知らせブロック*/
	.new {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}
	
	/*日付(dt)設定*/
	.new dt {
		width: 16rem;	/*幅。16文字分。アイコン分も含んだ幅にします。*/
		padding: 2rem 0 2rem 2rem;		/*上、右、下、左への余白*/
		display: flex;	/*flexボックスを使う指定*/
		justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
	}
	
	/*記事(dd)設定*/
	.new dd {
		padding: 2rem 2rem  2rem 0;		/*上、右、下、左への余白*/
		width: calc(100% - 16rem);		/*「16rem」は上の「.new dt」のwidthの値です。*/
	}
	
	/*日付の横のマーク（共通設定）*/
	.new dt span {
		display: inline-block;	/*表示させる*/
		width: 6rem;			/*幅*/
		background: #555;	/*背景色*/
		color: #fff;			/*文字色*/
		font-size: 0.8rem;		/*文字サイズを80%に。*/
		text-align: center;		/*文字をセンタリング*/
		margin-right: 1rem;		/*アイコンの右側に空けるスペース*/
		align-self: flex-start;	/*高さを間延びさせない指定*/
		line-height: 1.8;		/*行間を少し狭く*/
		position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
		border-radius: 2px;		/*角を丸くする指定*/
	}

	/*icon-bg1設定。サンプルテンプレートでは「メディア」と書いてあるマーク*/
	.new dt span.icon-bg1 {
		background: #940707;	/*背景色*/
	}

	/*icon-bg1設定。サンプルテンプレートでは「イベント」と書いてあるマーク*/
	.new dt span.icon-bg2 {
		background: #0244ed;	/*背景色*/
	}

	}/*追加指定ここまで*/


/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: #1d2948;	/*背景色*/
	color: #fff;		/*文字色*/
	font-size: 0.8em;	/*文字サイズ*/
	padding: 20px;		/*ボックス内の余白*/
	display: flex;		/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: #fff;	/*文字色*/
}

/*リンクテキストのマウスオン時*/
#footermenu a:hover {
	color: #ff6347;	/*文字色*/
}

/*ulタグ（メニューの列単位）*/
#footermenu ul {
	margin: 0;
	padding: 0 5px;
	flex: 1;
	list-style: none;
}

/*title*/
#footermenu .title {
	font-weight: bold;		/*太字にする*/
	color: #ccc;			/*文字色*/
	padding-bottom: 5px;	/*下に空けるスペース*/
}



/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.8rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
	background: #111;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*リンクテキスト*/
footer a {text-decoration: none;color: #fff;}

/*著作部分*/
footer .pr {display: block;}



/*２列並びのバナー風ブロック
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.list-banner .list {
    display: grid;			/*gridを使う指定*/
    place-items: center;	/*天地左右の中央に中身を配置する*/
    position: relative;		/*h4を重ねる為の指定*/
	border-radius: 0px 100px 0px 100px;	/*角を丸くする指定。左上、右上、右下、左下の順番。この行を削除すれば通常の長方形になります。*/
	overflow: hidden;
	margin-bottom: 2rem;	/*ボックスの下に空けるスペース*/
}
	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {
	
	/*listブロックを囲む外側のボックス*/
	.list-banner {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。3列にしたければrepeat(3, 1fr)とする。*/
		gap: 2rem;		/*マージン的な指定*/
	}


	/*listブロックを囲む外側のボックス*/
	.list-banner1 {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: repeat(1, 1fr);	/*2列にする指定。3列にしたければrepeat(3, 1fr)とする。*/
		gap: 2rem;		/*マージン的な指定*/
	}
		
	/*ボックス１個あたりの設定*/
	.list-banner .list {
		margin-bottom: 0;
	}

	/*ボックス１個あたりの設定*/
	.list-banner1 .list {
		margin-bottom: 0;
	}

	}/*追加指定ここまで*/


/*ボックス内のh4*/
.list-banner .list h4 {
	position: absolute;z-index: 1;
	font-weight: normal;
	text-align: center;
	color: #fff;			/*文字色*/
	font-size: 2rem;		/*文字サイズ。２倍。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}


/*ボックス内のh4*/
.list-banner1 .list h4 {
	position: absolute;z-index: 1;
	font-weight: normal;
	text-align: center;
	color: #fff;			/*文字色*/
	font-size: 2rem;		/*文字サイズ。２倍。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}


/*ボックス内のh5*/
.list-banner .list h5 {
	position: absolute;z-index: 1;
	font-weight: normal;
	text-align: center;
	color: #1d2948;			/*文字色*/
	font-size: 2.5rem;		/*文字サイズ。２倍。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

/*ボックス内のh4内のspan（小さな文字）*/
.list-banner .list h4 span {
	display: block;
	font-size: 0.4em;	/*文字サイズ。親要素の40%。*/
}

/*ボックス内のh4内のspan（小さな文字）*/
.list-banner .list h5 span {
	display: block;
	font-size: 0.4em;	/*文字サイズ。親要素の40%。*/
}


/*画像*/
.list-banner .list figure {
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-banner .list:hover figure {
	transform: scale(1.1);	/*1.1倍に拡大*/
}


/*list-square（portfolioのlightboxで使っています）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-square {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*ボックス１個あたりの設定*/
.list-square .list {
	position: relative;
	overflow: hidden;
	height: 0;				/*正方形にトリミングする為の指定なので変更しないで下さい*/
	width: 23%;				/*幅*/
	padding-top: 23%;		/*正方形にトリミングする為の指定です。上のwidthの数値と合わせておけばOK。*/
	border-radius: 10px;	/*角を丸くする指定。通常の四角形がよければこの１行削除。*/
	margin: 1%;				/*ボックス同士に空けるスペース*/
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}
/*以下も画像を正方形にトリミングする為の指定なので変更しない。*/
.list-square .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-square .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-square .list img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}



/*ボックス１個あたりの設定*/
.list-square .list1 {
	position: relative;
	overflow: hidden;
	height: 0;				/*正方形にトリミングする為の指定なので変更しないで下さい*/
	width: 23%;				/*幅*/
	padding-top: 23%;		/*正方形にトリミングする為の指定です。上のwidthの数値と合わせておけばOK。*/
	margin: 1%;				/*ボックス同士に空けるスペース*/
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*以下も画像を正方形にトリミングする為の指定なので変更しない。*/
.list-square .list1 a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-square .list1 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-square .list1 img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}


/*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%;	/*円形にする*/
}



/*ヘッダー下のメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#header-menu ul {
	padding: 0;
	margin: 0 10px;	/*上下、左右へのブロックの外にとるスペース*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	font-size: 0.8em;	/*文字サイズ。親要素の80%に。*/
}

/*メニュー１個あたりの設定*/
#header-menu ul li a {
	display: block;text-decoration: none;
	padding: 20px 0;	/*上下、左右へのメニュー内の余白*/
}
#header-menu ul li {
	flex: 1;
	text-align: center;	/*中身をセンタリング*/
	margin-right: 10px;	/*メニュー同士の左右間の余白*/
}

/*最後のメニューへの追加指定*/
#header-menu ul li:last-child {
	margin-right: 0;	/*右側のマージンをなくす*/
}

/*１つ目メニュー*/
#header-menu ul li:nth-of-type(1) a {
	border-bottom: 5px solid #162f80;	/*下線の幅、線種、色*/
	color: #162f80;						/*文字色*/
}

/*２つ目メニュー*/
#header-menu ul li:nth-of-type(2) a {
	border-bottom: 5px solid #162f80;	/*下線の幅、線種、色*/
	color: #162f80;						/*文字色*/
}

/*３つ目メニュー*/
#header-menu ul li:nth-of-type(3) a {
	border-bottom: 5px solid #162f80;	/*下線の幅、線種、色*/
	color: #162f80;						/*文字色*/
}

/*４つ目メニュー*/
#header-menu ul li:nth-of-type(4) a {
	border-bottom: 5px solid #162f80;	/*下線の幅、線種、色*/
	color: #162f80;						/*文字色*/
}

/*アイコン*/
#header-menu i {
	display: block;
	font-size: 2em;	/*文字サイズ。親要素の２倍にする。*/
}

/*アイコンのマウスオン時*/
#header-menu a:hover i {
	animation: up1 0.8s both;	/*animation.cssの、up1を実行する。0.8sは0.8秒の事。*/
}

/*背景色パターン
---------------------------------------------------------------------------*/
.bg1 {
	background: #eee;
}
.bg2 {
	background: #bbe0e8;
}
.bg3 {
	background: #ffce2b;
}
.bg3 h2 {
	color: #555;
}
/*bg4 くすり
---------------------------------------------------------------------------*/
.bg4 {
	background: #f4f2ea url(../images/bg4.jpg);	/*背景色、背景画像の読み込み*/
}

/*inner共通
---------------------------------------------------------------------------*/
.inner {
	max-width: 1200px;	/*サイトの最大幅　※下の方の「画面幅1200px以上の設定」にも関連するので変更の際は注意して下さい。*/
	margin: 0 auto;
}
/*3カラム利用時--------------------------------------------*/
.c3 .list {
	float: left;	/*左に回り込み*/
	padding: 2%;	/*ボックス内の余白の上書き*/
	width: 25.3%;	/*幅*/
}
/*h4タグ*/
.c3 .list h4 {
	font-size: 110%;
}
/*p段落タグ*/
.c3 .list p {
	font-size: 80%;
	height: 7.2em;	/*上の「.list p」の「1.8」×「表示させたい行数」を設定。7.2だと4行分になる。*/
}
/*右下の「→」マークを少し小さく設定しなおす*/
.c3 .list a::before {
	width: 20px;
	line-height: 20px;
	font-size: 12px;
}
/*テーブル
---------------------------------------------------------------------------*/
/*ta1,ta2共通設定*/
.ta1,
.ta2 {
	width: 96%;
	margin: 0 2% 30px;
}
.ta1, .ta1 td, .ta1 th,
.ta2, .ta2 td, .ta2 th {
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	line-height: 2;
	padding: 10px;	/*ボックス内の余白*/
	word-break: break-all;
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi,
.ta2 th.tamidashi {
	width: auto;
	text-align: left;	/*左よせ*/
	background: #cce6f6;	/*背景色*/
	font-weight: bold;
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 150px;	/*幅*/
	text-align: center;	/*センタリング*/
	background: #f0f0f0;	/*背景色*/
	font-weight: normal;
}
/*ta1の左側ボックスに画像を入れた場合の設定*/
.ta1 th img {
	width: 100%;
}
/*ta2の左側ボックス*/
.ta2 th {
	background: #fffeba;	/*背景色*/
}
/*ta2の右側ボックス*/
.ta2 td {
	text-align: center;	/*センタリング*/
}
/*料金ページの追加設定（CMS用）*/
.ta1.price td {
	text-align: right;
}
.ta1.price tr.total th {
	background: #b7e0ee;
	font-size: 150%;
}
.ta1.price tr.total td {
	background: #deeff4;
	font-weight: bold;
	font-size: 150%;
}

/*btnの設定
---------------------------------------------------------------------------*/
a.btn1, a.btn2 {
	display: inline-block;text-decoration: none;
	letter-spacing: 0.1em;
	border-radius: 3px;
	padding: 5px 30px;
	font-size: 1.2em;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.2);
}
a.btn1 {
	background: #ff9436;
	color: #444;
}
a.btn2 {
	background: #e58882;
	color: #fff;
}
.radius {
	border-radius: 100px !important;
}
a.btn1 i, a.btn2 i {
	margin-left: 20px;
}
a:hover.btn1, a:hover.btn2 {
	transform: scale(1.03);
	filter: brightness(1.1);
}

/*ヘッダー内メニュー（「資料請求・お問い合わせ」と「見学のお申し込み」ボタン）
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#headermenu {
	position: absolute;
	right: 3%;		/*header のinnerに対して右から3%の場所に配置*/
	top: 15px;	/*header のinnerに対して下から15pxの場所に配置*/
}
/*メニュー１個あたり*/
#headermenu li {
	float: left;	/*左に回り込み*/
	margin-left: 10px;	/*左側にスペースを空ける*/
	margin-top: 5px;
}
#headermenu li a {
	text-decoration: none;display: inline-block;
	background: #ff8a00;	/*背景色（古いブラウザ用）*/
	background: linear-gradient(#ffa600, #ff8a00);	/*グラデーション*/
	color: #FFF;	/*文字色*/
	padding: 0px 15px;	/*上下、左右へのボックス内の余白*/
	border-radius: 4px;	/*角丸のサイズ*/
	border: 1px solid #ff8a00;	/*枠線の幅、線種、色*/
}
/*マウスオン時*/
#headermenu li a:hover {
	color: #ff8a00;	/*文字色*/
	background: #fff;	/*背景色*/
}

/*トップページのメイン画像
---------------------------------------------------------------------------*/
/*全体を囲むブロック*/
#mainimg {
	width: 100%;
	height: 0;
	padding: 0;
	padding-top: 8.25%;
	position: relative;
	top: 50px;	/*headerのheightの数値と合わせて下さい。*/
	overflow: hidden;
	background: url(../images/mainimg.jpg) no-repeat center center / 100%;	/*背景色、背景画像の読み込み、最後の100%は画像幅。*/
	color: #fff;	/*文字色*/
}

/*テキストブロック*/
#mainimg #text {
	position: absolute;
	left: 3%;		/*mainimgに対して左からの配置場所指定*/
	top: 0px;		/*mainimgに対して上からの配置場所指定*/
	width: 100%;	/*幅*/
	height: 100%;	/*高さ*/
	display: flex;			/*flexボックスを使う指定*/
	align-items: center;	/*垂直揃えの指定。天地中央に配置されるように。*/
}

/*h2見出し*/
#mainimg #text h2 {
	margin: 0;
	font-weight: 500;	/*文字の太さ。数値が大きいほど太くなります。*/
	font-size: 3.8vw;	/*文字サイズ。画面幅に対する単位です。*/
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);	/*テキストの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.7は色が70%出た状態。*/
}

/*pタグ。小文字の説明文。*/
#mainimg #text p.text {
	font-size: 13px;		/*文字サイズ*/
	margin: 0 10px 30px;	/*上、左右、下へのpタグ内の余白*/
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);	/*テキストの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.7は色が70%出た状態。*/
}

/*トップページのメイン画像
---------------------------------------------------------------------------*/
/*テキストブロック*/
#mainimg #text {
	width: 50%;		/*幅*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.color-theme, .color-theme a {color: #dbca9e !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: 0.2em 0.5em;background: rgba(0,0,0,0.3);border: 1px solid #555; border-radius: 3px;word-break: break-all; margin: 1px;}
.small {font-size: 0.6em; letter-spacing: normal !important;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.fs1 {font-size: 2rem;}

/*---------------------------------------------------------------------------
ここから下は画面幅400px以下の追加指定
---------------------------------------------------------------------------*/
@media screen and (max-width:400px) {


/*btnの設定
---------------------------------------------------------------------------*/
a.btn1, a.btn2 {
	padding: 0px 15px;
}
a.btn1 i, a.btn2 i {
	margin-left: 10px;
}
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/


