

/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 18px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fff;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {/*border-collapse:collapse;*/font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.2s;	/*マウスオン時の移り変わるまでの時間設定。0.2秒。*/
}
a:hover {
	color: #666666;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*コンテナー（ホームページを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 1500px;	/*slide.cssの「#mainimg, #subimg」と設定と合わせる*/
	margin: 0 auto;
	border-top: 4px solid #666666;	/*一番上に入っているアクセントライン。幅、線種、色。*/
}

/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: relative;z-index: 1;
	height: 140px;	/*ヘッダーの高さ*/
	background: #fff;	/*背景色*/
}
/*ロゴ画像*/
header #logo img {
	width: 300px;	/*画像幅*/
	position: absolute;
	left: 3%;		/*ヘッダーに対して左から3%の場所に配置*/
	top: 38px;	/*ヘッダーに対して上から38pxの場所に配置*/
}

/*ヘッダー内メニュー（「資料請求・お問い合わせ」と「見学のお申し込み」ボタン）
色などの他の指定は下の方の「a.btn1」で指定しています。
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#headermenu {
	position: absolute;
	right: 3%;		/*headerに対して右から3%の場所に配置*/
	bottom: 15px;	/*headerに対して下から15pxの場所に配置*/
}
/*メニュー１個あたり*/
#headermenu li {
	float: left;	/*左に回り込み*/
	margin-left: 10px;	/*メニュー同士の余白*/
}
#headermenu li a.btn1 {
	padding: 0px 15px 0px 30px;	/*上、右、下、左へのボックス内の余白*/
}

/*btn1
---------------------------------------------------------------------------*/
/*btn1共通*/
a.btn1 {
	text-decoration: none;display: inline-block;
	background: #666666 url(../images/arrow1.png) no-repeat 15px center;	/*古いブラウザ用*/
	background: #666666 url(../images/arrow1.png) no-repeat 15px center / 6px;	/*背景色、背景の矢印画像の読み込み、左から15pxの場所に配置。幅を6pxに。*/
	color: #FFF !important;
	border: 1px solid #666666;	/*枠線の幅、線種、色*/
	border-radius: 2px;			/*角丸のサイズ。ほんの少しだけ角を丸くしています。*/
	transition: all 0.3s;
}
/*マウスオン時*/
a.btn1:hover{
	background: #999999 url(../images/arrow1.png) no-repeat 15px center / 6px;
	position: relative;
	top: 2px;
	left: 2px;
}
/*contents内のbtn1。主にinfo.htmlやservice.htmlで使っています。*/
#contents a.btn1 {
	padding: 0px 35px 0px 50px;	/*上、右、下、左へのボックス内の余白*/
	letter-spacing: 0.2em;		/*文字間隔を広くとる設定*/
}

/*文字サイズ変更ボタン（※文字サイズを「大」にした時の設定はchange.cssで行う）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
#fsize {
	position: absolute;
	right: 3%;		/*ヘッダーブロックに対して右から3%の場所に配置*/
	top: 0px;		/*ヘッダーブロックに対して上から0pxの場所に配置*/
	width: 250px;	/*ブロック幅*/
	background: #fff;	/*背景色*/
	box-shadow: 0px 0px 8px rgba(0,0,0,0.2);	/*影の設定。右へ、下へ、ぼかし幅。rgbaは色設定で0,0,0は黒。0.2は20%色がついた状態の事。*/
	border-radius: 0px 0px 5px 5px;	/*角丸のサイズ。左上、右上、右下、左下への順。*/
	line-height: 50px;	/*高さ*/
	padding: 10px 0px;	/*上下、左右へのボックス内の余白*/
}
/*「文字サイズ」のテキスト*/
#fsize p {
	float: left;
	font-size: 18px;	/*文字サイズ*/
	padding: 0 20px;	/*上下、左右への余白*/
}
/*文字サイズボタン１個あたり*/
#fsize ul li {
	float: left;	/*左に回り込み*/
}
#fsize ul a {
	overflow: hidden;display: block;text-decoration: none;text-align: center;
	color: #fff;	/*文字色*/
}
/*「小」ボタン設定*/
#fsize ul li#small a::before {
	display: block;
	content: "小";		/*「小」の文字を出力*/
	font-size: 18px;	/*文字サイズ*/
	background: #666666;	/*背景色*/
	width: 40px;		/*幅*/
	line-height: 40px;	/*高さ*/
	margin-top: 5px;
	margin-right: 10px;
}
/*「大」ボタン設定*/
#fsize ul li#large a::before {
	display: block;
	content: "大";		/*「大」の文字を出力*/
	font-size: 30px;	/*文字サイズ*/
	background: #ccc;	/*背景色*/
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
}
/*マウスオン時の「大」ボタン設定*/
#fsize ul li#large a:hover::before {
	background: #666666;	/*背景色*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	clear: both;position: relative;z-index: 1;
	margin-left: 5%;	/*左に空けるスペース*/
	margin-top: 8%;		/*上に空けるスペース。この部分にイメージ画像が表示されます。*/
}
/*トップページのメニューブロック*/
body.home #menubar {
	margin-top: 40%;	/*上に空けるスペース。この部分にスライドショーが表示されます。*/
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;	/*左に回り込み*/
	width: 15%;		/*メニュー幅*/
	margin: 0 0.4%;	/*0.4%はメニュー同士の左右間の余白。*/
}
#menubar li a {
	display:  block;text-decoration: none;position: relative;
	text-align: center;	/*内容をセンタリング*/
	padding: 15px 0;	/*上下、左右へのボックス内の余白*/
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: rgba(255,255,255,0.85);	/*背景色。255,255,255は白の事で0.85は85%色がついた状態の事。*/
}
/*飾り文字*/
#menubar li span {
	display: block;
	font-size: 60%;		/*文字サイズ*/
	color: #666666;		/*文字色*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる設定*/
}
/*飾り文字のマウスオン時、現在表示中(current)時*/
#menubar li a:hover span,
#menubar li.current a span {
	color: #fff;		/*文字色*/
}
/*メニュー下の「▼」マーク。吹き出し風に。*/
#menubar li.current a span::after {
	content: "▼";	/*このテキストを表示します。他の文字に変えてもらっても構いませんが機種依存文字は化ける場合があるので使わない。*/
	color: #666666;	/*色*/
	font-size: 20px;	/*サイズ*/
	position: absolute;
	bottom: -22px;	/*下側に22px下げる*/
	left: 45%;		/*左から45%の場所に配置*/
}
/*マウスオン時と、現在表示中(current)メニューの設定*/
#menubar li a:hover,
#menubar li.current a {
	background: #666666;	/*背景色*/
	color: #fff;		/*文字色*/
	padding: 15px 0;	/*上下、左右へのボックス内の余白*/
}
/*スマホ用メニューを表示させない*/
#menubar-s {display: none;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}

/*コンテンツ。メニューの下にある白い背景色のブロック。
---------------------------------------------------------------------------*/
#contents {
	clear: both;overflow: hidden;position: relative;
	background: #fff;	/*背景色*/
	padding: 5% 3%;		/*上下、左右へのボックス内の余白*/
	margin: 0 3% 50px;	/*上、左右、下へのボックスの外側への余白*/
}
/*h2タグ*/
#contents h2 {
	clear: both;
	margin-bottom: 40px;	/*下に空けるボックスの外側への余白*/
	font-size: 250%;		/*文字サイズ*/
	text-align: center;		/*文字を中央に*/
	line-height: 1.5;		/*行間を基準より少し狭くする*/
}
/*h2タグ内のspanタグ（英語の飾り文字）*/
#contents h2 span {
	display: block;
	font-size: 40%;	/*文字サイズ*/
	color: #666666;	/*文字色*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる設定*/
}
/*h3タグ*/
#contents h3 {
	clear: both;
	margin-bottom: 30px;	/*下に空けるボックスの外側への余白*/
	text-align: center;		/*文字を中央に*/
	font-size: 130%;		/*文字サイズ*/
	border-radius: 50px;	/*角丸のサイズ。この行を削除すれば通常の長方形になります。*/
	border: 1px solid #666;	/*枠線の幅、線種、色*/
	padding: 0 50px;	/*上下、左右へのボックス内の余白*/
}
/*段落タグ*/
#contents p {
	padding: 0 20px 40px;
}
#contents p + p {
	margin-top: -10px;
}
/*section同士の余白*/
#contents section + section {
	margin-top: 40px;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
/*メインコンテンツ*/
#contents .main {
	float: left;	/*左に回り込み*/
	width: 70%;		/*コンテンツ幅*/
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
/*サブコンテンツ*/
#contents .sub {
	float: right;	/*右に回り込み*/
	width: 25%;		/*コンテンツ幅*/
}
/*サブコンテンツのh2タグ*/
#contents .sub h2 {
	font-size: 120%;	/*文字サイズ*/
	margin-bottom: 10px;
	text-align: left;
}
/*サブコンテンツのh2タグの１文字目への設定*/
#contents .sub h2::first-letter {
	padding-left: 15px;				/*アクセントラインとテキストとの余白*/
	border-left: 3px solid #666666;	/*左のアクセントラインの幅、線種、色*/
}
/*サブコンテンツの段落タグ設定*/
#contents .sub p {
	padding: 0;
	font-size: 90%;
}
/*section同士の余白*/
#contents .sub section + section {
	margin-top: 0px;
}

/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
.sub ul.submenu {
	margin-bottom: 20px;	/*メニューブロックの下に空けるスペース*/
	border-top: solid 1px #dcdcdc;	/*上の線の線種、幅、色*/
}
/*メニュー１個ごとの設定*/
.sub ul.submenu li {
	background: #fff;	/*背景色*/
	border-bottom: solid 1px #dcdcdc;	/*下の線の線種、幅、色*/
}
.sub ul.submenu li a {
	text-decoration: none;display: block;
	padding: 5px 10px;	/*メニュー内の余白。上下、左右への設定。*/
}

/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
.sub .box1 {
	padding: 15px;			/*ボックス内の余白*/
	margin-bottom: 20px;	/*ボックスの下に空けるスペース*/
	background: rgba(0,0,0,0.02);	/*背景色。rgbaは色設定で0,0,0は黒。0.02は2%だけ色がついた状態の事。*/
	border: solid 1px #dcdcdc;	/*線の線種、幅、色*/
	box-shadow: 0px 0px 1px 1px #fff inset;	/*ボックスの影。内側に白のラインを入れる。*/
}
/*box1内のメニューの設定*/
.sub .box1 ul.submenu {
	margin-bottom: 0px;
}

/*ページ内専用メニュー（service.htmlの見出しの下で使っています）
---------------------------------------------------------------------------*/
.nav {
	text-align: center;
	margin-bottom: 40px;
	background: #eee;
	padding: 10px;
}
.nav li {
	display: inline-block;
	padding: 0 10px;
}
.nav li::before {
	content: "> ";
	color: #666666;
}

/*list（info.htmlで利用している各ボックス）
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
.list {
	overflow: hidden;
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
	padding: 30px;	/*ボックス内の余白*/
}
/*ボックス内のh4（見出し）タグ*/
.list h4 {
	font-size: 180%;	/*文字サイズ*/
	color: #666666;	/*文字色*/
}
/*ボックス内のp（段落）タグ*/
.list p {
	padding: 0px 0px 20px !important;
}

/*list2（service.htmlで利用している各ボックス）
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
.list2 {
	position: relative;
	float: left;	/*左に回り込み*/
	width: 30%;		/*ボックス幅*/
	margin: 0 1.5% 40px;	/*上、左右、下へ、ボックスの外側に空けるスペース*/
	text-align: center;		/*内容を中央よせ*/
}
@media(max-width: 768px){
	.list2 {
		position: relative;
		float: none;	/*左に回り込み*/
		width: 100%;		/*ボックス幅*/
		margin: 0 auto 40px;	/*上、左右、下へ、ボックスの外側に空けるスペース*/
		text-align: center;		/*内容を中央よせ*/
	}
}
/*ボックス内の画像*/
.list2 figure {
	margin-bottom: 20px;	/*画像の下に空けるスペース*/
}
.list2 figure a:hover{
	opacity: 0.8;	/*マウスオン時。透明度80%にする。*/
}
/*ボックス内のh4（見出し）タグ*/
.list2 h4 {
	position: absolute;
	top: 0px;	/*list2ボックスの上から0pxの場所に配置*/
	width: 100%;	/*幅*/
	background: #000;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.7);	/*背景色。0,0,0は黒の事で0.7は70%色がついた状態。*/
	color: #fff;	/*文字色*/
}
/*ボックス内のp（段落）タグ*/
.list2 p {
	padding: 0px !important;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;		/*文字を中央に*/
	font-size: 70%;			/*文字サイズ*/
	background: #666666;	/*背景色*/
}
/*リンクテキスト*/
footer a {color: #fff;}
footer a:hover {color: #fff;}
/*著作部分*/
footer .pr {display: block;}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	box-sizing: border-box;
	width: 100%;
	max-width: 1320px;
	margin: auto;
	overflow: hidden;
	padding: 20px 3%;	/*フッター右側のロゴマークの設定。*/
	background-image: url(../images/icon_logo.png);
	background-repeat: no-repeat;
	background-position: right center;
}
/*１行分の設定*/
#footermenu ul {
	float: left;	/*左に回り込み*/
	width: 18%;		/*幅*/
	padding-right: 1%;	/*左に空ける余白*/
	padding-left: 1%;	/*右に空ける余白*/
	text-align: left;
	line-height: 1.7;	/*行間を狭くする*/
}
@media(max-width:768px){
	#footermenu {
		padding-bottom: 190px;	/*上下、左右へのボックス内の余白*/
		background-size: 150px;
		background-position: center bottom 30px;
	}
	#footermenu ul {
		width: calc((100% - 6%) / 3);		/*幅*/
	}
}
/*class="title"とつけた場合の設定*/
#footermenu ul li.title a {
	font-weight: bold;	/*太字にする*/
	opacity: 1;	/*色が100%出た状態にする。この指定がないと、下の0.7が適用される。*/
	font-size: 120%;
}
/*リンクテキストの設定*/
#footermenu li a {
	text-decoration: none;
	//opacity: 0.7;	/*透明度。70%の色がついた状態。*/
	transition: all 0.3s;
	padding: 2px;
	display: inline-block;
	border-radius: 3px;
}
/*リンクのマウスオン時*/
#footermenu li a:hover {
	opacity: 1;		/*透明度。100%の色がついた状態。*/
	background: #ccc;
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #333;	/*背景色*/
	color: #fff;		/*文字色*/
	padding-bottom: 170px;
}
#copyright a {text-decoration: none;}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*見出しを含まないお知らせブロック*/
#new dl {
	background: #eee;	/*背景色*/
	padding: 20px;		/*ブロック内の余白*/
	border-radius: 4px;	/*角丸のサイズ*/
}
/*日付設定*/
#new dt {
	float: left;
	width: 9em;		/*幅*/
	color: #666666;	/*文字色*/
	letter-spacing: 0.1em;
}
/*記事設定*/
#new dd {
	padding-left: 9em;
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption, .ta2 caption {
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: left;		/*文字を左寄せ*/
	background: #cce6f6;	/*背景色*/
	font-weight: bold;		/*太字に*/
	padding: 10px;	/*ボックス内の余白*/
}
/*ta1,ta2共通設定*/
.ta1,
.ta2 {
	width: 96%;
	table-layout: fixed;
	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の左側ボックス*/
.ta1 th {
	width: 150px;	/*幅*/
	text-align: center;	/*センタリング*/
	background: #f0f0f0;	/*背景色*/
	font-weight: normal;
}
/*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%;
}

/*よく頂く質問ページ
---------------------------------------------------------------------------*/
/*ブロック全体*/
.faq {
	padding: 0px 20px;	/*上下、左右への余白*/
}
/*質問の設定*/
.faq dt {
	color: #666666;	/*文字色*/
	padding-top: 15px;
	margin-bottom: 10px;
}
/*回答の設定*/
.faq dd {
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	overflow: hidden;
	padding-bottom: 15px;
}
/*「Q」と「A」のマーク共通設定*/
.faq dt::before,
.faq dd::before {
	margin-right: 5px;display: inline-block;text-align: center;
	width: 30px;		/*幅*/
	line-height: 30px;	/*高さ*/
}
/*「Q」のマーク追加設定*/
.faq dt::before {
	content: "Q";			/*「Q」の文字を出力する設定*/
	background: #666666;	/*背景色*/
	color: #fff;			/*文字色*/
}
/*「A」のマーク追加設定*/
.faq dd::before {
	content: "A";		/*「A」の文字を出力する設定*/
	background: #999;	/*背景色*/
	color: #fff;		/*文字色*/
}

/*inputボタンにclass="btn"をつけた場合の設定
---------------------------------------------------------------------------*/
#contents input[type="submit"].btn,
#contents input[type="button"].btn,
#contents input[type="reset"].btn {
	padding: 5px 10px;		/*上下、左右へのボックス内の余白*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	font-size: 20px;		/*文字サイズ*/
	border-radius: 3px;		/*角丸のサイズ*/
	background: #eee;		/*背景色*/
}
/*マウスオン時の設定*/
#contents input[type="submit"].btn:hover,
#contents input[type="button"].btn:hover,
#contents input[type="reset"].btn:hover {
	border: 1px solid #999;	/*枠線の幅、線種、色*/
	background: #fff;		/*背景色*/
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;		/*文字サイズ*/
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*ページの上部へボタン「↑」設定
---------------------------------------------------------------------------*/
@keyframes scroll {0% {opacity: 0;}100% {opacity: 1;}}
body .nav-fix-pos-pagetop a {display: none;}
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	z-index: 99;
	position: fixed;
	bottom: 20px;	/*下から20pxの場所に配置*/
	right: 3%;		/*右から3%の場所に配置*/
	background: #666;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.6);	/*背景色。0,0,0は黒の事。0.6は60%色がついた状態。*/
	color: #fff;	/*文字色*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	animation-name: scroll;	/*上のアニメーションで指定しているkeyframesの名前（scroll）*/
	animation-duration: 1S;	/*アニメーションの実行時間*/
	animation-fill-mode: forwards;	/*アニメーションの完了後、最後のキーフレームを維持する*/
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #999;	/*背景色*/
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #ccc;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb50 {margin-bottom: 50px !important;}
.p0 {padding:0 !important;}
.clear {clear: both;}
ul.disc {padding: 0em 20px 40px 40px;list-style: disc;}
.color1, .color1 a {color: #666666 !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.l {text-align: left !important;}
.w50 {overflow: hidden;width: 50%;}
.fl {float: left;}
img.fl {float: left;width:30%;margin-right: 20px;margin-bottom: 20px;}
.fr {float: right;}
img.fr {float: right;width:30%;margin-left: 20px;margin-bottom: 20px;}
.big1 {font-size: 40px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}
.ofh {overflow: hidden;}



/*画面幅1040px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1040px){

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	font-size: 70%;	/*メニューのテキストが段落ちするので、文字サイズを縮小する。*/
}

}



/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

/*ヘッダー
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo img {
	top: 20px;	/*上から20pxの場所に配置*/
}

/*btn1
---------------------------------------------------------------------------*/
/*contents内のbtn1。主にinfo.htmlやservice.htmlで使っています。*/
#contents a.btn1 {
	padding: 0px 20px;	/*上、右、下、左へのボックス内の余白*/
	letter-spacing: normal;		/*文字間隔を初期設定に戻す*/
	background: #666666 url(none);
	padding: 5px 10px;	/*上、右、下、左へのボックス内の余白*/
	font-size: 120%;
	width: 90%;
	margin: auto;
}

/*文字サイズ変更ボタン（※文字サイズを「大」にした時の設定はchange.cssで行う）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
#fsize {
	display: none;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。
透明(opacity: 0;)から色をつける(opacity: 1;)までの指定。*/
@keyframes menubar {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/*スマホ用メニューブロック*/
#menubar-s {
	display: block;overflow: hidden;
	position: fixed;
	z-index: 2;
	top: 0px;
	width: 100%;
	background: rgba(0,0,0,0.8);	/*背景色*/
	border-top: 1px solid #fff;		/*上の線の幅、線種、色*/
	animation-name: menubar;		/*上のkeyframesの名前*/
	animation-duration: 0.5s;	/*アニメーションの実行時間。0.5秒。*/
	animation-fill-mode: both;	/*待機中は最初のキーフレームを、完了後は最後のキーフレームを維持*/
}
/*メニュー１個あたりの設定*/
#menubar-s li a {
	display: block;text-decoration: none;
	padding: 15px;	/*メニュー内の余白*/
	border-bottom: 1px solid #fff;	/*下の線の幅、線種、色*/
	color: #fff;	/*文字色*/
	font-size: 20px;
}
/*説明表記（飾り文字）*/
#menubar-s li a span {
	display: block;
	font-size: 12px;	/*文字サイズ*/
	color: #999;	/*文字色*/
}
/*PC用メニューを非表示にする*/
#menubar {display: none;}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: fixed;
	z-index: 2;
	top: 20px;		/*上から20pxの場所に配置*/
	right: 3%;	/*右から3%の場所に配置*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}
/*アイコン共通設定*/
#menubar_hdr.close,
#menubar_hdr.open {
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
}
/*三本バーアイコン*/
#menubar_hdr.close {
	background: #666666 url(../images/icon_menu.png) no-repeat center top/50px;	/*背景色、背景画像の読み込み、画像の上半分（３本マーク）を表示。幅は50px。*/
}
/*閉じるアイコン*/
#menubar_hdr.open {
	background: #666666 url(../images/icon_menu.png) no-repeat center bottom/50px;	/*背景色、背景画像の読み込み、画像の下半分（×マーク）を表示。幅は50px。*/
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	margin-top: 8%;	/*上に空けるスペース。この部分にイメージ画像が表示されます。*/
}
body.home #contents {
	margin-top: 40%;	/*上に空けるスペース。この部分にスライドショーが表示されます。*/
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#contents .main, #contents .sub {
	float: none;
	width: auto;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n #sub,body.s-n #footermenu,.m-n {display: none;}
.big1 {font-size: 20px;}
.w50 {overflow: hidden;width: auto;}
.fl {float: none;}
.fr {float: none;}
.sh {display:block;}
.pc {display:none;}

}



/*画面幅700px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:700px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 15px;	/*文字サイズ*/
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*h3タグ*/
#contents h3 {
	padding: 0 20px;	/*上下、左右へのボックス内の余白*/
}

}



/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;	/*文字サイズ*/
}

/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: static;
	height: auto;
}
/*ロゴ画像*/
header #logo img {
	width: 240px;	/*画像幅*/
	position: static;
	padding: 20px 3%;
}

/*ヘッダー内メニュー（「資料請求・お問い合わせ」と「見学のお申し込み」ボタン）
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#headermenu {
	position: static;
	overflow: hidden;
	padding-bottom: 10px;
}
/*メニュー１個あたり*/
#headermenu li a.btn1 {
	display: block;
	margin-bottom: 5px;
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*h2タグ*/
#contents h2 {
	font-size: 150%;	/*文字サイズ*/
	margin-bottom: 20px;	/*下に空けるボックスの外側への余白*/
}
/*h3タグ*/
#contents h3 {
	font-size: 100%;	/*文字サイズ*/
	margin-bottom: 20px;/*下に空けるボックスの外側への余白*/
	line-height: 1.5;	/*行間を少し狭くする*/
}
/*段落タグ*/
#contents p {
	padding: 0px 0px 20px;	/*上、左右、下への段落タグ内の余白*/
	line-height: 1.5;		/*行間を少し狭くする*/
}
/*section同士の余白*/
#contents section + section {
	margin-top: 20px;
}

/*btn1
---------------------------------------------------------------------------*/
/*contents内のbtn1。主にinfo.htmlやservice.htmlで使っています。*/
#contents a.btn1 {
	padding: 5px 10px;	/*上、右、下、左へのボックス内の余白*/
	font-size: 120%;
	width: 90%;
	margin: auto;
}

/*list（info.htmlで利用している各ボックス）
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
.list {
	padding: 10px;	/*ボックス内の余白*/
}

/*list2（service.htmlで利用している各ボックス）
---------------------------------------------------------------------------*/
/*ボックス内のh4（見出し）タグ*/
.list2 h4 {
	//display: none;	/*スペースが狭くなって見出しの下に画像が隠れてしまうので、見出しを非表示にする。*/
}

/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption, .ta2 caption {
	padding: 5px;	/*ボックス内の余白*/
}
/*ta1,ta2共通設定*/
.ta1,
.ta2 {
	width: 100%;
	margin: 0 0 30px;
}
.ta1, .ta1 td, .ta1 th,
.ta2, .ta2 td, .ta2 th {
	padding: 5px;	/*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 100px;
}

/*inputボタンにclass="btn"をつけた場合の設定
---------------------------------------------------------------------------*/
#contents input[type="submit"].btn,
#contents input[type="button"].btn,
#contents input[type="reset"].btn {
	font-size: 12px;		/*文字サイズ*/
}

/*よく頂く質問ページ
---------------------------------------------------------------------------*/
/*ブロック全体*/
.faq {
	padding: 0px;	/*余白*/
}
/*「Q」と「A」のマーク共通設定*/
.faq dt::before,
.faq dd::before {
	width: 20px;		/*幅*/
	line-height: 20px;	/*高さ*/
}

/*その他
---------------------------------------------------------------------------*/
.ws,.wl {width: 94%;}
.big1 {font-size: 16px;}
img.fl {margin-right: 5px;margin-bottom: 5px;}
img.fr {margin-left: 5px;margin-bottom: 5px;}
ul.disc {padding: 0em 0px 20px 18px;}

}








/*202010追加
---------------------------------------------------------------------------*/
.flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.cf {
	position: relative;
}
.cf::after {
	content: "";
	display: block;
	clear: both;
}
.catch {
	text-align: center;
}
.catch .main_bottom {
	display: table;
	width: 100%;
	padding: 40px 0 40px;
}
.catch .main_bottom .main_left {
	display: table-cell;
	vertical-align: middle;
	width: 55%;
}
.catch .main_bottom img {
	display: block;
	margin: auto;
}
.catch .main_bottom .main_right {
	display: table-cell;
	vertical-align: middle;
	width: 45%;
	padding: 20px;
	box-sizing: border-box;
}
@media(max-width:768px){
	.catch .main_bottom {
		display: block;
		width: 100%;
		padding: 30px 0 20px;
	}
	.catch .main_bottom .main_left {
		display: block;
		width: 100%;
	}
	.catch .main_bottom .main_right {
		display: block;
		width: 100%;
	}
}
#contents .catch p {
	text-align: left;
	padding: 20px 30px;
	line-height: 1.6;
}
#reason {
	margin-top: 40px;
}
#reason * {
	box-sizing: border-box;
}
.top-reason {
	width: 100%;
	max-width: 1080px;
	margin: auto;
	padding: 1rem;
	text-align: center;
}
.top-reason .reason-box {
	width: 100%;
	max-width: 950px;
	margin: auto;
}
.top-reason .reason-box > div {
	width: calc((100% - 60px) / 3);
	background: #fff;
	margin: 0 auto 1rem;
	padding: 15px 15px;
	border: solid 1px #0f68a6;
	box-sizing: border-box;
	box-shadow: 1px 1px 2px #aaa;
}
.top-reason h4 {
	background: #0d69a8;
	color: #fff;
	margin-bottom: 15px;
	padding: 10px 10px;
	line-height: 1.4;
}
#contents .top-reason p {
	color: #084584;
	line-height: 1.4;
	text-align: left;
	padding: 20px 0 10px;
}
.top-reason p img {
	display: block;
	margin: 0 auto 10px !important;
}
@media(max-width:768px){
	.top-reason .reason-box > div {
		width: 100%;
		min-height: auto;
		margin: 0 auto 1rem;
		padding: 10px;
	}
}

#contents #reason h3 ,
#contents #voice h3 {
    border: none;
}
#voice {
	text-align: center;
	color: #fff;
	padding-top: 1;
	padding-right: rem;
	padding-bottom: 1;
	padding-left: rem;
}
#voice * {
	box-sizing: border-box;
}
.top-voice {
	width: 100%;
	max-width: 1080px;
	margin: auto;
}
.top-voice.sub-page {
	margin-top: 20px;
}
.top-voice h3 {
	padding: 10px 10px 20px;
}
.top-voice.sub-page h3 {
	padding: 8px 8px 12px;
}
.link-btn {
	margin-top: 20px;
}
.link-btn a {
	transition: all 0.3s;
}
.link-btn a:hover {
	opacity: 0.8;
}

.lower #contents {
    padding-top: 10%;
}
.lower #contents h2 {
    clear: both;
    margin-bottom: 80px;
    font-size: 200%;
    text-align: center;
    line-height: 1.5;
}
.lower #contents h2 span {
    margin-top: 5px;
}
.box_style4 ,
.box_style2 ,
.box_style1 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 20px auto;
}
.box_style1 > div {
	width: calc((100% - 30px) / 2);
	padding: 10px 0;
}
.box_style2 > div {
	width: calc((100% - 100px) / 2);
	padding: 10px 0;
	position: relative;
}
.box_style2 > div img {
	display: block;
	margin: auto;
}
.box_style2 > div.box_style2_bar {
	width: 100px;
	position: relative;
}
.box_style2 > div.box_style2_bar::after {
	content: "";
	width: 1px;
	height: 100%;
	border-right: dashed 1px #000;
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	margin: auto;
}
.box_style2 .flex > div {
	width: 50%;
}
.box_style4 .image {
	width: 35%;
	text-align: center;
}
.box_style4 .info {
	width: 65%;
}
#contents .box_style4 .info p {
	padding: 15px 0 0;
	line-height: 1.6;
}
@media(max-width:990px){
	.box_style2 .flex > div {
		width: 100%;
	}
}
@media(max-width:768px){
	.box_style4 .image ,
	.box_style4 .info {
		width: 100%;
	}
	.box_style2 > div.box_style2_bar {
		display: none;
	}
	.box_style2 .flex > div ,
	.box_style2 > div ,
	.box_style1 > div {
		width: 100%;
	}
}
#contents .box_style2 > div p {
	line-height: 1.6;
	padding: 10px 0;
}
#contents .box_style2 .flex > div p {
	padding: 20px 10px 0;
}
#contents .box_style1 > div p {
	padding-bottom: 0;
	text-align: center;
	line-height: 1.4;
	font-weight: bold;
}
.lower #contents .contents_box {
	margin-top: 40px;
}
.lower #contents .contents_box h3 {
	border-radius: 0;
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
}
.title_sub {
    display: block;
    font-size: 125%;
    color: #666666;
    letter-spacing: 0.2em;
    text-align: center;
	margin-bottom: -20px;
}
.lower #contents p + p {
    margin-top: 0;
}
.lower #contents p.contents_text {
    margin-top: 15px;
    line-height: 1.6;
    letter-spacing: -1px;
    text-align: left;
}

.contents_list {
	border: solid 1px #000;
	padding: 15px;
	margin-bottom: 30px;
}
.contents_list ul {
	text-align: center;
	width: 100%;
	max-width: 980px;
	margin: auto;
}
.contents_list li {
	display: inline-block;
	padding: 5px 30px 5px 0;
}
.lower.inner #contents {
	max-width: 1320px;
	margin: auto;
}

.carper_box1 {
	background: #369bc7;
	padding: 15px;
	box-sizing: border-box;
}
.carper_box1 * {
	box-sizing: border-box;
}
.carper_inner1 .flex {
	background: #fff;
	padding: 10px;
	width: 100%;
	max-width: 1080px;
	margin: auto;
}
.carper_inner1 .flex > div {
	width: calc(100% / 3);
	padding: 5px 10px;
	box-sizing: border-box;
}
@media(max-width:768px){
	.carper_inner1 .flex > div {
		width: 100%;
	}
}
#contents .carper_inner1 .flex > div h3 {
	font-size: 110%;
	border-radius: 15px;
	background: #369bc7;
	color: #fff;
	border: none !important;
	font-weight: bold;
	margin-bottom: 10px;
}
.carper_inner1 .flex > div li {
	list-style-type: disc;
	line-height: 1.6;
}
.carper_inner1 .flex > div ul {
	padding: 10px 0 10px 40px;
}
#contents .carper_inner1 p {
	color: #fff;
	padding: 10px 0 0;
	text-align: center;
	font-size: 130%;
}
.lower #contents h3 {
    clear: both;
    margin-bottom: 30px;
    text-align: center;
    font-size: 130%;
    border-radius: 0;
    border: 1px solid #666;
    padding: 0 20px;
}
.lower #contents h4 {
    color: #369bc7;
    margin-bottom: 30px;
    font-size: 120%;
}
.lower #contents .reason-box h4 ,
.lower #contents .list2 h4 {
    color: #fff;
    margin-bottom: inherit;
}
.section_box {
	margin-top: 40px;
}
.flex_column5 ,
.flex_column2 ,
.flex_column4 ,
.flex_column3_2 ,
.flex_column3 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.flex_column2 > div {
	width: calc((100% - 20px) / 2);
	margin-bottom: 15px;
}
.jirei_box_container .flex_column2 > div {
	width: calc((100% - 100px) / 2);
	margin-bottom: 15px;
}
.flex_column2 > div.item_box {
	width: calc((100% - 20px) / 2);
	margin-bottom: 15px;
}
.flex_column4 > div {
	width: calc((100% - 40px) / 4);
}
.flex_column5 > div {
	width: calc((100% - 50px) / 5);
	margin-bottom: 30px;
}
.flex_column3 > div {
	width: calc((100% - 30px) / 3);
}
.flex_column3_2 > div {
	width: calc((100% - 60px) / 3);
	max-width: 370px;
}
.flex_column3_2 > div img ,
.flex_column3 > div img {
	display: block;
	margin: auto;
}
@media(max-width:990px){
	.flex_column5 > div {
		width: calc((100% - 30px) / 3);
		margin-bottom: 15px;
	}
}
@media(max-width:768px){
	.flex_column4 > div ,
	.flex_column3_2 > div ,
	.flex_column3 > div {
		width: 100%;
		margin-bottom: 10px;
		margin-right: auto;
		margin-left: auto;
	}
	.flex_column2 > div {
		width: calc((100% - 20px) / 2);
	}
	.flex_column5 > div {
		width: calc((100% - 20px) / 2);
		margin-bottom: 15px;
	}
	.jirei_box_container .flex_column2 > div {
		margin-bottom: 60px;
		width: calc((100% - 30px) / 2);
	}
}
#contents .flex_column3_2 p {
	padding: 0;
	text-align: left;
}
#contents .flex_column5 p {
	padding: 0;
	text-align: center;
}
#contents .flex_column3_2 .item_title {
	padding: 15px 0 0;
	font-size: 105%;
	font-weight: bold;
	text-align: center;
}

.item_box p {
	font-size: 90%;
	text-align: center;
	line-height: 1.6;
}
.carper_box2 {
	border: solid 5px #0068b7;
	padding: 0;
	margin-bottom: 30px;
}
#contents .carper_box2 > p {
	background: #0068b7;
	color: #fff;
	padding: 10px;
	margin: 0;
	text-align: center;
	font-size: 120%;
}
.carper_inner2 > .flex > div {
	width: calc((100% - 40px) / 3);
}
@media(max-width:768px){
	.carper_inner2 > .flex > div {
		width: 100%;
	}
}
.num_title img {
	float: left;
	width: 42px;
	display: block;
	padding-right: 15px;
}
#contents .carper_inner2 p.num_title {
	line-height: 1.4;
	border-bottom: solid 1px #000;
	padding: 10px;
	margin: 0;
	font-size: 110%;
}
#contents .carper_inner2 p {
	line-height: 1.4;
	padding: 10px;
	margin: 0;
	font-size: 95%;
}
.carper_inner2 {
	width: 90%;
	max-width: 1080px;
	margin: 30px auto;
}
.item_box img {
	display: block;
	margin: auto;
}

.jirei_box1 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.jirei_inner {
	width: calc((100% - 100px) / 2);
	margin-bottom: 0;
}
@media(max-width:990px){
	.jirei_inner {
		width: 100%;
	}
}
hr.bar {
	margin: 40px auto;
}
#contents .jirei_image p {
	padding: 27px 25px;
}
.jirei_image img {
	display: block;
	margin: auto;
}
.jirei_name {
	background: #369bc7;
	color: #fff;
	text-align: center;
	padding: 10px;
	margin-bottom: 20px;
	font-size: 120%;
}

.coating_box {
	max-width: 1240px;
	margin: auto;
}
.flex_column2 > div.coating_image {
	text-align: center;
}
#contents .flex_column2 > div.coating_text p {
	padding: 5px 15px 15px;
}
@media(max-width:768px){
	.flex_column2 > div.coating_text ,
	.flex_column2 > div.coating_image {
		width: 100%;
	}
}
.lower #contents .sofa_box h4 ,
.lower #contents .coating_box h4 {
    font-size: 125%;
    margin-bottom: 10px;
    margin-top: 30px;
}

.lower #contents .coating_box .coating_text h4 {
    font-size: 110%;
    margin-bottom: 0;
    margin-top: 0;
}
.coating_box.price_box {
	border: solid 1px #333;
	padding: 20px;
}
.price_table {
	border-top: solid 1px #333;
}
.price_table_inner {
	border-bottom: dashed 1px #333;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}
.price_table_inner .image {
	width: 20%;
	max-width: 78px;
	text-align: center;
}
.price_table_inner > p {
	width: 80%;
}
#contents .flex_column2 > div.coating_text .price_table_inner > p {
	padding: 10px;
	box-sizing: border-box;
	line-height: 1.6;
}
.sofa_box {
	max-width: 1180px;
	margin: auto;
}
#contents .sofa_box p {
	padding: 10px;
	box-sizing: border-box;
	line-height: 1.6;
}
hr.bar2 {
	margin: 20px auto;
}
.flow_box {
	display: flex;
	max-width: 1240px;
	margin: auto;
}
#contents .flow_box p {
	padding: 5px 0 0;
	text-align: left;
	line-height: 1.4;
}
.flow_inner {
	width: calc((100% - 160px) / 3);
	margin-bottom: 20px;
	text-align: center;
}
.arrow_box {
	width: 80px;
	margin-bottom: 20px;
	position: relative;
}
.arrow_box img {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
.flow_inner img {
	width: 303px;
	max-height: 205px;
	object-fit: cover;
}
.arrow_box.pc_hidden {
	display: none;
}
@media(max-width:768px){
	.flow_box {
		display: block;
	}
	.flow_inner {
		width: 100%;
	}
	.arrow_box {
		width: 100%;
		height: 35px;
	}
	.arrow_box img {
		transform: rotate(90deg);
	}
	.arrow_box.pc_hidden {
		display: block;
	}
}

.jirei_table {
	display: table;
	width: 100%;
}
.jirei_table .jirei_box {
	display: table-cell;
	width: 40%;
}
.jirei_table .jirei_box img {
	margin: auto;
	display: block;
}
.jirei_table .arrow {
	display: table-cell;
	width: 20%;
	text-align: center;
	position: relative;
}
.jirei_table .arrow img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 50%;
	max-width: 50px;
}
#contents .jirei_box_container .jirei_table p {
	padding: 0;
	text-align: center;
	color: #369bc7;
}
@media(max-width:768px){
	.jirei_table {
		display: block;
		width: 100%;
	}
	.jirei_table .jirei_box {
		display: block;
		width: 100%;
	}
	.jirei_table .arrow {
		display: block;
		width: 100%;
	}
	.jirei_table .arrow img {
		position: static;
		display: block;
		margin: auto;
		transform: rotate(90deg);
	}
}
.jirei_box_container {
	max-width: 1240px;
	margin: auto;
}
#contents .jirei_box_container p {
	padding: 5px 0;
}

.coating_box.price_box.air {
	margin-bottom: 60px;
}
#contents .coating_box.price_box.air .flex_column2 > div.coating_text .price_table_inner > p {
	padding: 20px 10px;
}
.price_table_inner .text {
    width: 50%;
    font-weight: bold;
    line-height: 1.4;
}
.no_image .price_table_inner > p {
    width: 50%;
    padding: 10px 10px !important;
}

.sofa_box.kabi p span {
	display: block;
	font-weight: bold;
}

.ultra_box .flex_column3 > div {
	border: solid 1px #000;
	border-radius: 5px;
	padding: 15px;
	box-sizing: border-box;
}
#contents .ultra_text1 {
	text-align: center;
	line-height: 1.6;
	padding: 0 0 20px;
}
.ultra_text1 span {
	color: #369bc7;
	font-size: 120%;
}
#contents .ultra_text2 {
	line-height: 1.6;
	padding: 0 0 0;
	font-size: 80%;
}
#contents .ultra_text2 span {
	display: block;
	font-size: 130%;
	font-weight: bold;
}

.company_box {
	max-width: 1080px;
	margin: auto;
	box-sizing: border-box;
}
.company_box * {
	box-sizing: border-box;
}
.company_box table {
	width: 100%;
	margin: auto;
	border-collapse: collapse;
}
.company_box table td {
	width: 80%;
	border: solid 1px #535353;
	padding: 10px;
}
.company_box table td:first-child {
	width: 20%;
	text-align: center;
	background: #ececec;
	font-weight: bold;
}
@media(max-width:768px){
	.company_box table {
		display: block;
		border-bottom: solid 1px #535353;
	}
	.company_box table td {
		width: 100%;
		display: block;
		border-bottom: 0;
	}
	.company_box table td:first-child {
		width: 100%;
		display: block;
	}
}

.contents-post > .flex {
	justify-content: space-between;
}
.before,
.after {
  position: relative;
  padding: 0;
  width: 46%;
  text-align: center;
}
.before::before,
.after::before {
  position: absolute;
  left: 0;
  bottom: 100%;
  display: block;
  text-align: center;
  width: 100%;
}
.before::before {
  content: "Before";
  background: #ccc;
  color: #333;
}
.after::before {
  content: "After";
  background: #ff5656;
  color: #fff;
}
.before::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  text-align: center;
  position: absolute;
  left: 106%;
  top: 0;
  bottom: 0;
  margin: auto;
  border-left: 15px solid red;
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent;
}

.faq .contents-title h3 {
    color: #ff5656;
    border-bottom-color: #ff5656;
    margin-bottom: 0.5rem;
    margin-top: 10px;
    padding-top: 0;
}
.form-table {
    border-top: 1px #535353 solid;
    border-left: 1px #535353 solid;
    border-spacing: 0;
    margin-top: 10px;
    margin-right: 0;
    margin-bottom: 20px;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.form-table th {
	width: 30%;
	padding: 10px;
    padding-right: 4rem;
    border-bottom: 1px #535353 solid;
    border-right: 1px #535353 solid;
    background: #ececec;
    vertical-align: middle;
    position: relative;
	box-sizing: border-box;
}
.form-table td {
	width: 70%;
    padding: 10px;
    border-bottom: 1px #535353 solid;
    border-right: 1px #535353 solid;
    background: #fff;
    vertical-align: middle;
    box-sizing: border-box;
}
@media(max-width:768px){
.form-table th ,
.form-table td {
	width: 100%;
    padding: 10px;
    display: block;
}
}
.required,
.optional {
    position: absolute;
    right: 1rem;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: 25px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding-top: 2px;
    font-size: 70%;
}
.contact-area dl .required,
.contact-area dl .optional {
    position: static;
    display: inline-block;
    margin: 0.1rem 0.3rem;
}

.required {
    background: rgba( 255, 50, 50, 1.0 );
}
.optional {
    background: rgba( 50, 50, 255, 1.0 );
}
.contact-area dl {
	margin: 2rem 0;
}
#form_submit2:empty {
	display: none !important;
}
.contact-area {
	max-width: 1080px;
	margin: auto;
}
#contents form#mailformpro dl dt {
    float: none;
    width: 100%;
    clear: both;
    font-size: 100%;
    padding: 10px 0px;
    text-align: left;
    border-top: none;
    margin: 0px;
}
#contents form#mailformpro dl dd {
    border-top: none;
    margin: 0px;
    padding: 10px;
    font-size: 100%;
    line-height: 1.5em;
    text-align: left;
}
#contents form#mailformpro dl dd p {
    padding: 0;
}
#form_submit {
	text-align: center;
	position: relative;
}

#form_submit2,
#form_submit {
	width: 100%;
	max-width: 300px;
	margin: 0 auto 1rem;
	position: relative;
}
#form_submit2 input,
#form_submit input {
	border-radius: 5px;
}
#form_submit::after {
	content: "▶";
	color: #fff;
	background: #890000;
	width: 30px;
	height:30px;
	position: absolute;
	right: 1rem;
	top: 0;
	bottom: 0;
	margin: auto;
	line-height: 29px;
	border-radius: 50%;
	text-align: center;
}
#form_submit2::after {
	content: "◀";
	color: #fff;
	background: #890000;
	width: 30px;
	height:30px;
	position: absolute;
	left: 1rem;
	top: 0;
	bottom: 0;
	margin: auto;
	line-height: 29px;
	border-radius: 50%;
	text-align: center;
}
#form_submit2:empty::after {
	display: none;
}
.contact-area input[type="submit"] {
  width: 100%;
  display: block;
  border: none;
  background: #fff;
  box-shadow: 0 0 3px 3px #ddd;
  padding: 1rem 1rem;
  font-size: 20px;
}
.contact-area button[type="submit"]:hover ,
.contact-area input[type="submit"]:hover {
  background: #890000 !important;
  color: #fff !important;
}

.contact-area button[type="submit"], 
.contact-area input[type="submit"] {
    width: 100%;
    max-width: 300px;
    margin: auto;
    display: block;
    border: none;
    background: #fff;
    box-shadow: 0 0 3px 3px #ddd;
    padding: 1rem 1rem;
    font-size: 20px;
    border-radius: 5px;
}
input[type="tel"], 
input[type="email"], 
input[type="text"], textarea {
    vertical-align: middle;
    width: 95% !important;
    max-width: 800px !important;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}
select {
    vertical-align: middle;
    width: 95% !important;
    max-width: 300px !important;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}
textarea {
	height: 200px !important;
}
form#mailformpro label.mfp_not_checked {
    padding: 0 !important;
    border: none !important;
}

.lower #newsList > li {
	padding: 0 20px 30px;
	border-bottom: dotted 1px #ccc;
	margin-bottom: 30px;
}
.home #newsList {
	background: #eee;
	padding: 20px;
}
.home #newsList > li {
	display: flex;
	align-items: flex-start;
	padding-top: 5px;
	padding-bottom: 5px;
}
@media(max-width:768px){
	.home #newsList > li {
		display: block;
	}
}
.home .up_ymd {
	color: #666666;
	display: block;
	width: 180px;
	padding-right: 10px;
}
.lower .up_ymd {
	display: block;
	width: 180px;
	padding-right: 10px;
}
.catName {
	display: block;
	width: 150px;
	border: solid 1px #333;
	padding: 0;
	margin-right: 10px;
	text-align: center;
	font-size: 90%;
}
.newMark {
    background: #F00;
    color: #FFF;
    font-size: 70%;
    line-height: 1.5;
    padding: 2px 5px;
    border-radius: 2px;
    margin: 4px 15px 0;
    vertical-align: text-top;
    display: inline-block;
}
@media(max-width:768px){
	.newMark {
	    margin: 1px 15px 0;
	}
}
.detailText * {
	background: transparent !important;
}
.thumbNailWrap:empty {
	display: none;
}

/* Follow Up Footer
-----------------------------------------*/
.follow-up-footer {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 9;
	width: 100%;
	background: rgba(255,255,255,0.7);
}
.follow-up-footer * {
	box-sizing: border-box;
}
.follow-up-container {
	display:-webkit-box;
	display:-moz-box;
	display:box;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:-moz-flex;
	display:flex;
	-webkit-box-lines:multiple;
	-moz-box-lines:multiple;
 	-webkit-flex-wrap:wrap;
 	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items: stretch;
	width: 100%;
	max-width: 940px;
	margin: auto;
	padding: 5px 0;
	position: relative;
}
.follow-up-container a {
	width: 100%;
	max-width: 250px;
	margin: auto;
	border-radius: 5px;
	text-align: center;
	padding: 5px 5px;
}
.follow-up-contact,
.follow-up-tel {
    width: 50%;
}
#footermenu .follow-up-contact a,
#footermenu .follow-up-tel a {
    opacity: 1;
}
#footermenu .follow-up-contact a:hover,
#footermenu .follow-up-tel a:hover {
    opacity: 0.8;
}

@media(max-width:1024px){
	.nav-fix-pos-pagetop a {
		bottom: 16vw !important;
	}
}

.faq_box {
	max-width: 1080px;
	margin: 0 auto 60px;
}
.faq_box h4 {
	margin-bottom: 5px !important;
	border-bottom: dotted 1px;
}

.item_box > img {
	display: block;
	margin: auto;
}

#contents .bio_text1 {
	font-size: 120%;
	color: #369bc7;
	text-align:left;
	line-height: 1.8;
}
#contents .bio_text2 {
	font-size: 95%;
	text-align:left;
	line-height: 1.8;
}
#contents .bio_text3 {
	font-size: 80%;
	text-align:left;
	margin-top: 10px;
}
#contents .bio_text4 {
	text-align:left;
	margin-top: 10px;
	padding: 0 !important;
}
.bio_list {
	
}
.bio_list li {
	text-align: left;
	margin-bottom: 30px;
	padding-left: 40px;
	position: relative;
}
.bio_list li::before {
	content: "";
	width: 30px;
	height: 30px;
	position: absolute;
	left: 3px;
	top: 1px;
	background: url(../images/bio-protect/list.png) no-repeat center center;
	background-size: contain;
}
#contents .bio_jirei p {
	padding: 0;
	margin-bottom: 30px;
}
.bio_jirei img {
	display: block;
	margin: auto;
}
@media(max-width:768px){
	#contents .bio_jirei p {
		padding: 0;
		margin-bottom: 15px;
		text-align: center;
	}
}
