body{
	color:#333333;
	font-family: 'メイリオ', 'Meiryo', "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic Pro W3", "ＭＳ Ｐゴシック", sans-serif;
	font-size:14px;
    background-color: #fff;
    text-align:left;
    line-height:1.6;
    min-width: 1000px;
}

div#wrapper{
	background-color: #fff;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#content {
  display: table;
  table-layout:fixed;
  margin: 110px auto 20px;
}
div#content:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    font-size: 0;
    visibility: hidden;
}

  #column-left, #column-right {
    display: table-cell;
  }

  #column-left {
    margin-right: 10px;
    
  }
  
  #column-right {
    margin-left: 10px;
  }

  @media screen and (max-width: 1540px) {
    #column-left, #column-right {
      display: none;
    }
  }

  #column-left .ad-banner, #column-right .ad-banner {
    display: block;
    height: 600px;
    margin: auto;
    overflow: hidden;
    width: 160px;
    //background-color:#cccccc;
  }
  
  #main_area {
    display: table-cell;
    vertical-align: top;
    max-width:1220px;
	min-width: 980px;
	padding:0 10px;
	position: relative;
	z-index: 0;
  }
  @media screen and (min-width: 1221px) {
  		#main_area {
  			width:1220px;
  		}
  }

    #column-main {
      min-height: 600px;
      //width: 795px;
      width: 100%;
      margin-right : -200px;
    }
    #column-inner {
    	margin-right: 200px;
    	min-height: 600px;
   		/*max-width:1040px;*/
		width: 1000px;
	}
    
    #column-side {
      width: 160px;
    }
    
      #column-side .ad-banner {
        height: 600px;
        width: 160px;
      }
      
      #column-side .ad-banner:first-child {
        margin-bottom: 14px;
      }
      
div#sidebar {
    width: 160px;
    float: right;
    margin-left: 40px;
}
.pagetop {
   float:right;
}

a{
	text-decoration: none;
}
a:link{
	color:#333333;
    text-decoration: none;
}
a:visited{
	color:#333333;
}
a:hover{
	/*color:#00598D !important;*/
	text-decoration: underline;
}
a:hover img{
	opacity:0.6;
}
#ms_main a:visited {
	color:#79349d;
}
@media screen and (max-width: 1220px) {
    #column-side {
      display: none;
    }
  }

/*table {
    width: 100%;
    border: 1px solid #cccccc;
    background-color: #f5f5f5;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
td {
    background-color: #ffffff;
    padding: 10px 15px;
    border: 1px solid #cccccc;
}
th {
    padding-top: 10px;
    padding: 10px 15px;
    width: 200px;
    border: 1px solid #cccccc;
}*/
@media print {
  a[href]:after {
    content: "";
  }
  abbr[title]:after {
    content: "";
  }
	footer,nav, #column-right, #column-left,.ad-banner, .footer_overlay,#head_ad,.ad_area,.header_radio,#control,.pagetop,.fdadtxt {
		display: none;
	} 
	#content {
		margin: 0 auto 20px;
		table-layout: fixed;
	}
}

