@charset "UTF-8";
/***** BASIC *****/

body {
	font-size: 100%;
	text-align: center;
	color: #585858;
	margin: 0 auto;
	padding: 0;
	font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',sans-serif;
	background: url("../img/bg.png") 0 0 repeat;
}

* {
	line-height: 1.6;
}
/***** style of text *****/

html {
	padding: 0;
	margin: 0;
}

p {
	padding: 5px;
	margin: 0;
	text-align: right;
}

hr {
	margin-bottom: 1em;
}

p, ul, ol, dl, table, pre {
	font-size: 1em;
}

img {
	padding: 10px 10px 0 10px;
	vertical-align: bottom;
	border: 0;
}

iframe {
	border: 0;
}
/***** style of layout *****/

#wrap {
	text-align: left;
	width: 1020px;
	background-color: #fff;
	margin: 0 auto ;/* 左右に[auto]を指定することで、真ん中に寄る */
	padding: 0 ;/* 上下左右の余白を0にしておく */
}
/* ヘッダー内パーツ */

#headerMain{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	width: 1020px;
	float: left;
	z-index: 2;
}

#headerMain h1{
	color: #666666;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 3px;
	margin-left: 25px;
	padding-top: 15px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	text-align: left;
	font-weight: bold;
	line-height: 1.6;
	font-size: 1em;
}

#headerLogo{
	width: 1020px;
	float: left;
}

#headerLogo a{
	display: block;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	text-indent: -9999px;
	overflow: hidden;
	height: 100px;
	background-image: url(../img/tony-kansai-title.png);
	background-position: center left;
	background-repeat: no-repeat;
}

h2 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 2em 0.5em 1em 0.5em;
	padding: 10px ;/* 上下左右に10pxの余白 */
	font-family: "メイリオ","sans-serif";
	border-left: 10px solid #44617b;/* 枠線色　紺鼠 こんねず */
}

#main{
	width: 650px;
	font-size: 1em;
	margin: auto;
	text-align: left;
	margin-bottom: 1.5em;
}

#main ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#main li {
	margin: 0 0 15px 5px;
	list-style-type: none;
	padding-left: 16px;
}

#menu {
	width: 650px;
	font-size: 1em;
	margin: auto;
	text-align: left;
}

#menu ul {
	margin-bottom: 1em ;/* 他のブロックとのスペース */
	padding: 0 0 10px 0;
	list-style: none;
}

#menu li {
	padding-left: 1.5em;
	line-height: 1.6;
}

#menu ul a:hover {
	background: url("../img/list03.gif") no-repeat;
	color: #ff8000;
	border-bottom: 1px solid #ff8000;
}

#menu li a {
	text-decoration: none;
	padding-left: 1em;
	background: url("../img/list02.gif") no-repeat;
}

#footer {
	height: 70px;
	font-size: 0.9em;
	color: #666666;
	border-top: 5px solid #44617b;/* 枠線 */
	text-align: center ;/* テキスト、画像の真ん中寄せ */
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em ;/* 他のブロックとのスペース */
	margin-bottom: 0 ;/* 他のブロックとのスペース */
	padding: 2em ;/* 上下の余白 */
	background: #ebebeb;
}
/***** style of Link *****/

#main a {
	text-decoration: none;
}

#main a:link {
	color: #02506c;
	text-decoration: none;
}

#main a:visited {
	color: #02445e;
	text-decoration: none;
}

#main a:hover {
	color: #ff8000;
	border-bottom: 1px solid #fb5a04;
}
/*-------------------------------------------------
// ナビゲーション横幅20%のボタンを5つ横並びに配置
-------------------------------------------------*/

/*================================================
 *  フッター
 ================================================*/

footer {
	clear: both;
	color: #666666;
	border-top: 5px solid #44617b;/* 枠線 */
	text-align: center ;/* テキスト、画像の真ん中寄せ */
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em ;/* 他のブロックとのスペース */
	margin-bottom: 0 ;/* 他のブロックとのスペース */
	padding: 2em ;/* 上下の余白 */
	background: #ebebeb;
}

.footmenu {
	width: 100%;
	padding: 20px 0 0 0;
	overflow: hidden;
}

.footmenu ul {
	position: relative;
	float: left;
	left: 50%;
	margin: 0;
	padding: 0;
}

.footmenu li {
	position: relative;
	left: -50%;
	float: left;
	list-style: none;
	margin: 0;
	padding: 0 15px;
	font-size: 0.9em;
	text-align: center;
}

.footmenu a {
	color: #333;
	text-decoration: none;
}

.footmenu a:hover {
	color: #ff8000;
	text-decoration: none;
}

.copyright {
	clear: both;
	padding: 20px 0;
	font-size: 0.9em;
	text-align: center;
	color: #efede9;
	text-decoration: none;
}

.copyright a{
	text-decoration: none;
}/* =======================================================
  レスポンシブル設定
======================================================= */
@media screen and (max-width:634px) {
  body{
  min-width: 100%;
  background-image: none;
}
iframe {
  width: 100%;
  background-image: none;
overflow:hidden;
  float: none;
}

/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/
#wrap{
  width: 100%;
  background-image: none;
overflow:hidden;
  float: none;
}
#header{
  width: 100%;
  height: auto;
  padding-bottom: 5px;
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-bottom-color: #44617b;
overflow:hidden;
}
/* smpヘッダー内パーツ */

#headerMain{
width: 100%;
float: none;
}
#headerMain h1{
	margin: 0;
	padding-left: 0.5em;
	padding-right: 0;
	padding-top: 0.5em;
	padding-bottom: 0;
	line-height: 1.6;
	font-size: 1em;
	}

#headerLogo{
	width: 100%;
	float: none;
	margin-left: auto;
	margin-right: auto;
	}
#headerLogo a{
	display: block;
	max-width: 100%;
	background-size: contain;
	background-position: top center;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 3px;
	margin-left: auto;
	background-image: url(../img/tony-kansai-title_smp.png);
	}

#wrap img{
	height: auto;
	width: 100%;
	padding: 0;
	margin: auto;
	}
#navi {
	height: auto;
	width: 100%;
	padding: 0;
	margin: auto;
	}
#main{
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	float: none;
	padding-bottom: 20px;
	overflow:hidden;
}

#main h2 {
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0.5em 0.5em 0.5em;
	padding: 5px ;/* 上下左右に5pxの余白 */
	border-left: 8px solid #44617b;/* 枠線色　紺鼠 こんねず */
}

#main li {
	margin: 0 0 1em 0;
	list-style-type: none;
	padding-left: 0.5em;
}


#menu {
	max-width: 100%;
	margin: auto;
	text-align: left;
	float: none;
	padding-bottom: 20px;
	line-height: 160%;

}

#menu li {
	padding-left: 0.5em;
	line-height: 1.6;
}

.layout #main{
padding-top: 5px;
}
table {
	width: 100%;
	overflow:hidden;
  }

#footer{
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	float: none;
	height: auto;
	overflow:hidden;

}


/*--------------------------------------------------------
  デザイン設定
--------------------------------------------------------*/
/* 背景設定 */

body.layout{
	background-image : none;
}



/*--------------------------------------------------------
  共通パーツデザイン設定
--------------------------------------------------------*/
}