@CHARSET "UTF-8";


/*=======================================*/
/* margin, paddingの初期化               */
/*=======================================*/
* {
  margin: 0px;
  padding: 0px;
  border: none;
}


/*=======================================*/
/* .clearfix                             */
/*=======================================*/
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix { display: inline-table; }
/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */

img { border: none; }


/*=======================================*/
/* ul共通設定                            */
/*=======================================*/
ul { list-style-type: none; }


/*=======================================*/
/* 縦100%設定                            */
/*=======================================*/
html, body { height: 100%; font-size: small; }
body { background-color: #fff; }
body > #wrapper { min-height: 100%; }

body {
  color: #333;
  font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","MS Pゴシック", "MS P Gothic",sans-serif;
  background-color: #ffffff;
  background-image: url("../imgs/bg.png");
  background-repeat: repeat-x;
}

/*=======================================*/
/* a共通設定                             */
/*=======================================*/
a:link    { text-decoration: none; color: #3498db; }
a:visited { color: #9b59b6; }
a:hover   { color: #e74c3c; }

*=======================================*/
/* table共通設定                        */
*=======================================*/
table { border-collapse: collapse; }

table input[type="button"] {
  width: 110px;
  padding: 8px;
  background-color: #ddd;
}

table input[type="submit"] {
  width: 110px;
  padding: 8px;
  background-color: #ddd;
}

/*=======================================*/
/* #wrapper                              */
/*=======================================*/
#wrapper {
  background-color: #fff;
  width: 960px;
  margin: auto;
}

/*=======================================*/
/* #header                               */
/*=======================================*/
#header {
  width: 900px;
  margin: auto;
}

#header header {
  position: relative;
  height: 130px;
}

#header h1 {
  font-size: 22px;
  padding-top: 10px;
}

#header h1 a {
  color: #333;
  text-decoration: none;
}

#header h1 a:hover { color: #3498DB; }

#header p {
  font-size: 12px;
  margin-left: 15px;
}

#header nav {
  position: absolute;
  width: 900px;
  height: 40px;
  top: 80px;
  left: 0px;
}

#header nav ul {
  height: 40px;
  padding: 4px 0;
  margin: auto;
}

#header nav:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

#header nav li {
  width: 124px;
  height: 40px;
  margin-left: 3px;
  text-align: center;
  text-indent: -9999px;
  overflow: hidden;
  float: left;
}

#header nav li:first-child {
  margin-left: 0;
  margin-right: 14px;
}

#header nav li.crnt a {
  color: #666666;
  width: 124px;
  height: 40px;
  padding-top: 0px;
  background-position: 0 0;
  cursor: default;
}

#header nav li a {
  color: #fff;
  width: 124px;
  height: 40px;
  padding-top: 0px;
  display: block;
  text-decoration: none;
  background-position: 0 80px;
}

#header nav li a:hover        { background-position: 0 40px; }
#header nav li.crnt a:hover   { background-position: 0 0; }
#header nav li:nth-child(1) a { background-image: url("../imgs/menu/menu_1.png"); }
#header nav li:nth-child(2) a { background-image: url("../imgs/menu/menu_2.png"); }
#header nav li:nth-child(3) a { background-image: url("../imgs/menu/menu_3.png"); }
#header nav li:nth-child(4) a { background-image: url("../imgs/menu/menu_4.png"); }
#header nav li:nth-child(5) a { background-image: url("../imgs/menu/menu_5.png"); }
#header nav li:nth-child(6) a { background-image: url("../imgs/menu/menu_6.png"); }
#header nav li:nth-child(7) a { background-image: url("../imgs/menu/menu_7.png"); }

#header p.logo {
  position: absolute;
  top: 10px;
  right: 0;
}

/*=======================================*/
/* #contents                             */
/*=======================================*/
#contents {
  width: 900px;
  /*min-height: 438px;*/
  margin: auto;
  margin-top: 15px;
}

#contents h2 {
  font-size: 18px;
  border-top: solid 3px #e74c3c;
  background-color: #eee;
  margin-bottom: 10px;
  padding: 5px;
}

#contents h3 {
  border-bottom: solid 3px #aaaaaa;
}

#contents p.nodata {
  text-align: left;
}

/*=======================================*/
/* #footer                               */
/*=======================================*/
#footer {
  width: 896px;
  height: 30px;
  margin: auto;
  margin-top: 15px;
  padding-top: 20px;
}

#footer p {
  font-size: 14px;
  text-align: center;
}

/*=======================================*/
/* #sns                                  */
/*=======================================*/
#sns {
  height: 35px;
}

#sns div {
  float: left;
}

#sns .fb {
 width: 159px;
 height: 25px;
}

#sns div:nth-of-type(2) iframe.twitter-share-button {
  height: 25px!important;
  width: 78px!important;
}

#sns div.gp {
  height: 25px!important;
  width:130px!important;
}

#sns div:nth-of-type(4) {
  width: 120px;
}

/*=======================================*/
/* #banner                               */
/*=======================================*/
#banner {
  width: 200px;
  min-height: 300px;
  float: right;
}

#banner ul  { text-decoration: none; }
#banner li  { margin-bottom: 3px; }
#banner img { width: 200px; }
