body {
	font-size: 10pt;
	line-height: 140%;
	color: #292929;
	background-image: url('com/bg.jpg');
	background-repeat: repeat;
	background-attachment: fixed;
	margin: 0px;
	padding: 0px;
	text-align:center;
}

::selection {
    background: #008080; /* Safari */
}
::-moz-selection {
    background: #008080; /* Firefox */
}



a:link {	/* 未訪問リンク（link＞visited＞hover＞activeの順に記述すること */
	color : #006160;
}
a:visited {	/* 既訪問リンク（link＞visited＞hover＞activeの順に記述すること */
	color : #006160;
}
a:hover {	 /* リンク部分にカーソルを置いたときのスタイル（link＞visited＞hover＞activeの順に記述すること */
	color : #00FFFF ;
}
a {
	text-decoration: none;
}
a img {
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
a:hover img {
    opacity: 0.5;
    filter: alpha(opacity=60);
}



div#headerline {
	background-color: #292929;
	background-image: -moz-linear-gradient(left, #333333, #ffffff 50%, #333333);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#333333', endColorstr='#ffffff');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#333333', endColorstr='##ffffff')";
	background-image: -webkit-gradient(linear, left top, right bottom, from(#333333), color-stop(0.5, #ffffff), to(#333333));
	background-image: linear-gradient(left, #000000, #ffffff);
	height: 3px;
	/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/
   text-indent:-9999px;
}


div#header {
	background-image:url('com/header.jpg') ;
	background-repeat: repeat-x;
	height: 50px;
	margin:0px 0px 15px 0px;
	padding: 0px;
	-webkit-box-shadow: 0px 1px 5px 0px #282828;
	box-shadow: 0px 1px 5px 0px #282828;
}

ul#menu {
   margin: 0px; /* ul内部の左端余白を消す(IE) */
   padding: 0px; /* ul内部の左端余白を消す(Fx,Op) */
   position:relative;
   left: 22%;
   float:left;
}
ul#menu li {
   list-style-type: none; /* 先頭記号を消す */
   float: left; /* リスト項目を横方向に並べる */
   margin: 0px 0px; /* 各項目周囲の余白 */
   padding: 0px; /* 枠線と内容の距離をゼロに */
   height: 50px ;
   position:relative;
   float:left;
}
ul#menu li a {
   text-decoration: none;
   display: block;
   padding: 0px;
}
ul#menu li a:hover {
	image:  url('com/menu_home_on.jpg') ;
   color: white;
}
p.aftermenu {
   clear: left;
}


a#onhome {
   display: block;
   width: 83px;
   height: 50px;
   text-indent:-9999px;
   background-image: url("com/menu_home.jpg");
}
a#onhome:hover {
   background-image: url("com/menu_home_on.jpg"); 
}

a#ongallary {
   display: block;
   width: 120px;
   height: 50px;
   text-indent:-9999px;
   background-image: url("com/menu_gallary.jpg"); 
}
a#ongallary:hover {
   background-image: url("com/menu_gallary_on.jpg"); 
}

a#oninfo {
   display: block;
   width: 120px; 
   height: 50px; 
   text-indent:-9999px;
   background-image: url("com/menu_info.jpg");
}
a#oninfo:hover {
   background-image: url("com/menu_info_on.jpg");
}

a#onblog {
   display: block;
   width: 120px; 
   height: 50px; 
   text-indent:-9999px;
   background-image: url("com/menu_blog.jpg"); 
}
a#onblog:hover {
   background-image: url("com/menu_blog_on.jpg");
}

div#toppic {
	margin: 2px;
	padding: 0px;
	width: 825px;
	height: 300px;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

div#box {
    color: #fff;
    padding: 1px;
    width: 831px;
    height: 306px;
    margin: auto;
    background: #eee;
    border: 1px solid #999999;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
      /* IE以外なら丸角も！ */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

hr.line {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    margin-top: 2px;
    margin-bottom: 0px;
}

h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color:#292929;
	padding: 0px 0px 1px 0px;
	border-bottom: 2px groove #ccc;
	margin-bottom: 5px;
	margin-top: 200px;
	text-shadow: 0px 1px 0px #ECEFF0;
}

h3 {
	font-size: 18px;
	color: #663300;
	float: right;
	width: 117px;
	text-shadow: 0px 1px 0px #ECEFF0;
}

h5 {
	font-size: 11px;
	font-weight: 500;
	color: #292929;
	display: inline;
	margin-top: 40px;
}

h6 {
	font-size: 11px;
	display: inline;
	font-weight: 500;
	margin-top: 0px;
	margin-bottom: 15px;
}




p {
	font-family: 'Montserrat', sans-serif;
	font-size: 10pt;
	margin: 0px;
	padding: 0px;
}



div#down-contents {
	width:840px;
	height: 600px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}




div#left {
	width: 200px;
	margin: 5px 0px 20px 0px;
	float: left;
}

.proficon {
	margin: 0px 5px 5px 0px;
	float: left;
	width: 73px;
}

a#icon { 
	margin: 0px 4px 0px 4px;
	padding: 0px;
	border: none;
	display: inline-block;
	width: 33px;
	height: 33px;
	}
a#icon:hover {
	background: #339999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

}



div#prof {
	clear: left;
	width: 200px;
	padding: 5px 0px 0px 0px;
	font-size: 11pt;
}


div#center {
	width: 365px;
	margin: 5px 10px 20px 10px;
	float: left;
}


div#right {
	width: 240px;
	margin: 5px 0px 20px 0px;
	float: left;
}


div#footer {
	background-image:url('com/footer.jpg') ;
	background-repeat: repeat;
	width: 100%;
	height: 60px;
	margin:40px 0px 0px 0px;
	padding: 0px;
	clear: left;
	bottom: 0px;
	position: fixed;

}

a#page-up {
	background: url("com/footer_top.png");
	width: 40px;
	height: 40px;
	text-indent:-9999px;
	display: block;
	position: fixed;
	bottom: 58px;
	right: 10px;
} 

a#page-up:hover {
   background-image: url("com/footer_top_on.png"); 
}



.tdftad {
	bottom: 0px;
	position: fixed;
}




