/* スマートフォン用CSS */
@media screen and (max-width: 896px) {

body{
	width:device-width;
	margin:0px;
	padding:0px;
	font-family: "A1 Mincho", serif;
	/*font-family: "Meiryo","MS PGothic","Yu Gothic","Hiragino Kaku Gothic ProN", sans-serif;*/
	background:#ffffff;
	color:#222222;
	font-size:11pt;
	line-height:130%;
	overflow-x: hidden;/*横スライダしないように*/
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

#all {
	width:device-width;
	text-align:left;
	margin:0px;
	padding:0px;
}
/*-------------------------------
back緑
-------------------------------*/
.ccc{
	width: 100%;	  /*全体の幅を指定する*/ 
	background-color: #EBF0FA;
	margin: 0px;
	padding: 30px 0px 30px 0px;
	/*text-align: center;   全体を真ん中揃えにする。*/
}
/*-------------------------------
back緑
-------------------------------*/
.fff{
	width: 100%;	  /*全体の幅を指定する*/ 
	background-color: #fff;
	margin: 0px;
	padding: 30px 0px 30px 0px;
	/*text-align: center;   全体を真ん中揃えにする。*/
}
/*-------------------------------
backグレー
-------------------------------*/
.eee{
	width: 100%;	  /*全体の幅を指定する*/ 
	background-color: #f7f9f9;
	margin: 0px 0px 0px 0px;
	padding: 60px 0px 60px 0px;
	/*text-align: center;   全体を真ん中揃えにする。*/
}

.frame1200 {
	width: 100%;	  /*全体の幅を指定する*/ 
	margin: 0px 0px 0px 0px;
	text-align: center;   /*全体を真ん中揃えにする。*/
}
.frame800 {
	width: 100%;	  /*全体の幅を指定する*/ 
	margin: 0px 0px 0px 0px;
	text-align: center;   /*全体を真ん中揃えにする。*/
}
#content {
	margin: 60px 0px 0px 0px;    /*マージンの指定をする、ブラウザ対策*/
	text-align: center;   /*全体を真ん中揃えにする。*/
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

#content h1 {
	font-weight: bold !important;
	margin: 0px 0px 20px 0px;
	padding: 150px 0px 50px 0px;
	/*height: 300px;*/
	color: #FFF;
	font-size:25px;
	text-align: center;
}

#content h2 {
	margin: 30px 0px 10px 0px;
	padding: 0px 0px 0px 0px;
	font-size:25px;
	line-height: 170%;
	color: #0D3F98;
	font-weight: bold !important;
	text-align: center;
}

#content h3 {
	margin: 30px 0px 10px 0px;
	padding:5px;
	font-size:24px;
	line-height: 170%;
	color: #333;
	text-align: center;
	font-weight: bold !important;
}
#content h3 A         { color: #333; TEXT-DECORATION: none;}
#content h3 A:link    { color: #333; TEXT-DECORATION: none;}
#content h3 A:visited { color: #333; TEXT-DECORATION: none;}
#content h3 A:hover   { color: #ff3300; TEXT-DECORATION: none;}

#content h4 {
	margin: 10px 0px;
	padding: 5px 5px 5px 5px;
	font-size:18px;
	color: #333;
	text-align: center;
	line-height: 170%;
	font-weight: bold;
	/*border-bottom: 1px dashed #666;*/
}

#content h5 {
	margin: 5px 0px;
	padding: 10px 10px 0px 10px;
	font-size:17px;
	color: #333;
	line-height: 120%;
	text-align: left;
	font-weight: bold;
	/*border-bottom: 1px dashed #333;
	border: 1px solid #62595E;
	border-radius: 4px;
	background: #fff;*/
}
#content h5 A         { color: #333; TEXT-DECORATION: none;}
#content h5 A:link    { color: #333; TEXT-DECORATION: none;}
#content h5 A:visited { color: #333; TEXT-DECORATION: none;}
#content h5 A:hover   { color: #ff3300; TEXT-DECORATION: none;}

#content h6 {
	margin: -10px 0px 20px 0px;
	padding:5px;
	font-size:16px;
	line-height: 100%;
	color: #333;
	text-align: center;
	font-weight: bold !important;
}

#content p {
	margin: 0px;
	padding:0px 15px 10px 15px;
	font-size:16px;
	line-height: 180%;
	color: #333333;
	text-align: center;
}
#content p A         { color:#62595E; text-decoration:none;}
#content p A:link    { color:#62595E; text-decoration:none;}
#content p A:visited { color:#62595E; text-decoration:none;}
#content p A:hover   { color:#ff3300; text-decoration:none;}

/*--------------------------------
仕切り線
--------------------------------*/
.sen{
	margin: 0px 0px 20px 0px;
	border:none;
	border-top: 1px dashed #333;
	width: 100%;
}

/*--------------------------------
NEWS一覧ページ
--------------------------------*/
/*日付*/
.newsday {
	margin: 0px;
	padding:10px 10px 0px 10px;
	font-size:16px;
	line-height: 170%;
	color: #333;
	text-align: left;
}
.day A         { color:#333; text-decoration: none;}
.day A:link    { color:#333; text-decoration: none;}
.day A:visited { color:#333; text-decoration: none;}
.day A:hover   { color:#ff3300; text-decoration: none;}

/*タイトル*/
.newsti {
	margin: 0px;
	padding: 5px 10px 10px 10px;
	font-size:20px;
	line-height: 150%;
	color: #000000;
	/*color: #0D3F98;*/
	text-align: left;
}
.newsti A         { color:#000000; text-decoration: none;}
.newsti A:link    { color:#000000; text-decoration: none;}
.newsti A:visited { color:#000000; text-decoration: none;}
.newsti A:hover   { color:#ff3300; text-decoration: none;}

/*--------------------------
テーブルレイアウト
--------------------------*/
#content table.type01 {
	margin: 20px 0px 20px 0px;
	width:93%;
	border-collapse: separate;
	border-spacing: 0;
	text-align: left;
	line-height: 1.5;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	font-size:14px;
}

/*---------------------------------
画像にマウスを載せると色が薄くなる
---------------------------------*/
a:hover img {
	 opacity: 0.5;
	 filter: alpha(opacity=50);
	 -moz-opacity: 0.5;
}

img{
	max-width: 100%;
	height: auto;
}

/*--------------------------------
2個のCSS
--------------------------------*/
.box2{
	width: 100%;
	margin: 0px;
	padding: 10px 0px;
	/*text-align: center;
	background-color: #fff;
	border:solid 1px #ccc;*/
}
.box2 img {
	margin: 0px;
	padding: 0px;
}
/*--------------------------------
3個のFOOTERのCSS
--------------------------------*/
.box3{
	width: 100%;
	margin: 0px;
	padding: 50px 0px 0px 0px;
	font-size:15px;
	line-height: 160%;
	color: #fff;
}
.box3 img {
	margin: 0px;
	padding: 0px;
}
.box3 A         { color:#fff; text-decoration:none;}
.box3 A:link    { color:#fff; text-decoration:none;}
.box3 A:visited { color:#fff; text-decoration:none;}
.box3 A:hover   { color:#ff3300; text-decoration:none;}
/*----------------------------------------------------
画像(右)と文章の記述
----------------------------------------------------*/
.rwdbox{
	margin: 0px;
}
.lefttop{
	margin: 0px;
	padding: 10px 15px;
	width:90%;
	text-align:left;
	line-height: 180%;
	font-size:15px;
}
.lefttop a{
	float:left;
	font-size:12px;
	line-height: 150%;
	color: #fff;
	text-decoration: none;
}
.lefttop a:hover{
	color:#ff3300;
	text-decoration: none;
}
.rightbottom{
	margin: 0px;
	padding: 10px;
	width: 90%;
	text-align:left;
	line-height: 150%;
	font-size:15px;
}
.rightbottom a{
	float:left;
	font-size:15px;
	line-height: 150%;
	color: #fff;
	text-decoration: none;
}
.rightbottom a:hover{
	color:#ff3300;
	text-decoration: none;
}
.rwdbox img{
	padding: 5px;
	max-width: 95%;
}
/*--------------------------------
topへボタン
---------------------------------*/
#topbutton {
	/* ▼表示位置を画面の右下に固定 */
	position: fixed; /* ←表示場所を固定 */
	bottom: 0px;   /* ←下端からの距離 */
	right: 5px;    /* ←右端からの距離 */
	width: 30px;     /* ←横幅 */
	height:54px;
	
	/* ▼最初は非表示にしておく */
	display: none;
	
	/* ▼配色・配置・文字の装飾など */
	background-color: #999; /* ←背景色 */
	opacity: 0.75;             /* ←透明度 */
	border-radius: 5px;       /* ←角丸の半径 */
	text-align: center;    /* ←文字の位置 */
	font-size: 80%;       /* ←文字サイズ */
	font-weight: bold;     /* ←文字の太さ */
	margin: 0px;    /* ←外側の余白 */
	padding: 0px;  /* ←内側の余白 */
}
#topbutton a {
	/* ▼リンクの装飾 */
	color: white;          /* ←文字色 */
	text-decoration: none; /* ←下線なし */
}
#topbutton a:hover {
	/* ▼マウスが載ったときの装飾 */
	color: #333333;              /* ←文字色 */
	text-decoration: underline; /* ←下線あり */
}

/*--------------------------------
フッター
--------------------------------*/
#foot {
	margin: 0px 0px 0px 0px;
	padding:  0px 0px 0px 0px;
	/*height: 100px;*/
	clear: both;
	background-color: #000000;
	/*background-color: #0D3F98;*/
}

#foot p {
	font-size: 10px;
	color: #FFFFFF;
	font-weight: normal;
	margin: 0px;
	padding: 10px 5px 0px 5px;
}


#foot p A:link    { color:#FFFFFF; text-decoration:none;}
#foot p A:visited { color:#FFFFFF;text-decoration:none;}
#foot p A:hover   { color:#ff3300; text-decoration:none;}

/*--------------------------------
スライド
--------------------------------*/
#slide {
	margin: 0px 0px 0px 0px;
	padding:  0px 0px 0px 0px;
	position: relative; /* can either be relative, absolute or fixed. If position is not set (i.e. static), it would be set to "relative" by script */
	overflow: hidden; /* to bound the empty top space created by inner element's top margin */
	width:100%;
	/*min-height: 400px;*/
	background-color: #999;
}
.slide-inner-content {
	position: relative; /* if position is not set, the script will set it to 'relative'. */
	z-index: 2; /* if z-index is not set, the script will set it to '2'. */
	margin: 0px;
	padding: 0px;
	/*max-width: 600px;*/
	color: #fff;
	text-align: center;
	font-size: 1.5em;
}
.slide-inner-content h1 {
	font-size: 2.5em;
	margin: 0;
}
/*--------------------------------
お問合せページを囲む
--------------------------------*/
.cube{
	/* border-style: solid;ボーダーを実線に */
	/* border-width: 1px;ボーダー線の太さを1pxに  */
	/*border-color: #0D3F98; ボーダー線の色を指定 */
	/* border-radius: 2px 2px 2px 2px;    囲い四角の四隅に丸みをつける  */ 
	padding: 0px 0px;/* 文字と四角の間に余白をつくる  */
	/* margin-left : 1px;左隣りの文字とのスペースを2pxつくる  */
	/* margin-right: 1px;右隣りの文字とのスペースを2pxつくる  */
	/* vertical-align: 3%;  上下のずれを微修正；少し上に移動  */
	color:#fff;
	background-color: #000000;/* 背景に色を付ける  */       
	/*background-color: #0D3F98;/* 背景に色を付ける  */       
}

.cube a:hover{
	color:#fff;
	/* background-color: #fff;背景に色を付ける  */       
}

/*--------------------------------
非表示
--------------------------------*/
.pc {
	display:none;
}
#logo {
	display:none;
}
.bn {
	display:none;
}
}