@charset "utf-8";
/*
Version: 1.1
Author: Naoto Ohara
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display:block;
}
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; text-decoration:none }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

/* End of Reset CSS

fonts.css from the YUI Library: developer.yahoo.com/yui/ */

body { font:13px/1.231 sans-serif; /*font-size:small;*/ } /* hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/*
 * HTML5 Boilerplate - minimal base styles
 */

body, select, input, textarea {
  color: #444;
}
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }
ul, ol { margin-left: 0; }
ul, ol { list-style-type: none; }
nav ul, nav li { margin: 0; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {
  padding: 15px;
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red;
 -webkit-box-shadow: 0px 0px 5px red;
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

/* By default the selection color is pink */
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

/*
   your style begins here
*/


body{
font: 14px Verdana, Arial,'ãƒ’ãƒ©ã‚®ãƒŽè§’ã‚´ Pro W3','Hiragino Kaku Gothic Pro',Osaka,'ï¼­ï¼³ ï¼°ã‚´ã‚·ãƒƒã‚¯', sans-serif;
text-align:center;
}

.wrapper{
  margin:auto;
  width:940px;
  text-align:left;
  z-index:1;
}

.ui-widget-content .wrapper {
	width: 850px;
}

input[type="text"],input[type="password"],input#name,input.text, input.horse_name_forward{
  border:1px solid #ae8351;
  height: 28px;
  padding: 3px 3px;
  font-size:120%;
  width:300px;
}
input.f_login1,input.f_login2{
  width:170px;
  height:28px;
  padding:5px 3px;
}
#header-container{
  background:transparent url("../img/common/bg_header.gif") repeat-x left top;
  height:96px;
  z-index:200;
}

.fl{
  float:left;
}
.fr{
  float:right;
}

.ac{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  display:block;
}

#lang_select{
  margin-top:40px;
  font-size:90%;
}
  #lang_select a{
    color:#666633;
  }

#member_setting{
  position:absolute;
  top:0px;
  right:0px;
  padding:10px;
  /* width:500px;
  height:18px; */
  background:transparent url("../img/common/bg_member_setting.png") no-repeat left bottom;
  color:#eee;
  font-size:90%;
}
  #member_setting a{
    color:#eee;
    text-decoration:underline;
  }
  #member_setting ul{
    float:right;
  }
    #member_setting ul li{
      float:left;
      padding:0 15px;
      background:transparent url("../img/common/arrow_white.png") no-repeat left center;
    }

#menu{
  line-height:36px;
  font-size:16px;
}
  #menu ul{
    background:transparent url("../img/common/devider.gif") no-repeat left center;
    padding-left:1px;
  }
  #menu li{
    float:left;
  }
    #menu li a{
      color:white;
      display:block;
      padding:0 10px;
      background:transparent url("../img/common/devider.gif") no-repeat right center;
    }

#main {
  background:#ecf8ef;
  border-left:1px solid #047700;
  border-right:1px solid #047700;
  padding-bottom:10px;
  z-index:1;
}

#main2 {
  background:#ecf8ef;
  border: 1px solid #047700;
  padding-bottom:10px;
  z-index:1;
}


  .main-top{
    padding:15px 0 0;
    width:570px;
    text-align:left;
  }
  .main-top h2{
    text-align:left;
    font-size:110%;
    padding-bottom:10px;
  }
  .main-top p{
    margin-bottom:10px;
    font-size:90%;
  }
  #eyecatch{
    background:transparent url("../img/top/bg_main.jpg") no-repeat left top;
    height:432px;
    position:relative;
  }
    #top-login{
      background:transparent url("../img/top/bg_main_login.png") no-repeat left top;
      width:330px;
      height:405px;
      position:absolute;
      right:13px;
      top:13px;
    }
    #top-login p{
      margin:30px;
    }
    #top-login table{
      margin:0 auto;
    }
    #top-login table th{
      font-weight:normal;
      text-align:right;
      vertical-align:middle;
    }
    #top-login table td{
      padding:5px;
    }
    #top-login .register{
      display:block;
      margin:30px 18px 0;
      width:293px;
    }
    #top-msg{
/*      background:transparent url("../img/top/msg_main.png") no-repeat left top;*/
      width:374px;
      height:126px;
      position:absolute;
      left:30px;
      bottom:30px;
      text-indent:-9999px;
      overflow:hidden;
    }
    #top-content{
      width:920px;
      margin:0px 10px;
    }
  #eyecatch_menu{
    background:transparent url("../img/menu/menu.jpg") no-repeat left top;
    height:432px;
    position:relative;
  }
    #eyecatch_menu a.search{
      background:transparent url("../img/menu/btn_menu_search.png") no-repeat left top;
      height:88px;
      width:293px;
      position:relative;
      display:block;
      overflow:hidden;
      text-indent:-9999px;
      position:absolute;
      right:20px;
      bottom:20px;
    }
    #eyecatch_menu a:hover.search{
      background-position:0 -88px;
    }
  #search_bamei{
    position:absolute;
    right:15px;
    top:110px;
    z-index:50;
    width:310px;
  }
    #search_bamei .text{
      width:200px;
      height:28px;
      float:left;
    }
    #search_bamei .submit{
      background:transparent url("../img/form/btn_search_bamei.png") no-repeat left top;
      height:28px;
      width:89px;
      position:relative;
      display:block;
      overflow:hidden;
      text-indent:-9999px;
      border:none;
      margin-left:15px;
      float:right;
      cursor:pointer;
    }
  #news{
    margin:10px;
    width:921px;
    height:33px;
    background:url("../img/common/bg_news.gif") no-repeat left top;
  }
  dl{
    width:921px;
    line-height:33px;
    color:#666;
  }
  dt{
    float:left;
    width:100px;
    padding:0 0 0 10px;
    clear:both;
    font-weight:bold;
  }
  dd{
    width:800px;
    margin-left:100px;
    padding:0 0 0 10px;
  }
  .examples{
    width:891px;
    margin:10px 25px;
  }
  .ranking{
    border:1px solid #047700;
    width:638px;
    text-align:left;
  }
  .update{
    border:1px solid #047700;
    width:268px;
    text-align:left;
  }
    .ranking-header, .update-header{
      height:35px;
      background:url("../img/common/bg_ranking_header.gif") repeat-x left top;
      line-height:36px;
    }
      .ranking-header h3, .update-header h3{
        font-size:120%;
        float:left;
        margin:0 20px;
      }
    .ranking table, .update table{
      width:100%;
      clear:both;
      background:#fff;
      font-family: Osaka,'ï¿½Í£ï¿½ ï¿½Ð¥ï¿½ï¿½ï¿½ï¿½Ã¥ï¿½',sans-serif;
    }
      .ranking table td, .update table td{
        padding:10px;
        vertical-align:middle;
      }
      .ranking table .rank{
        width:6%;
        text-align:right;
        font-weight:bold;
        font-size:140%;
        font-family:"Trebuchet MS";
      }
      .ranking table .name{
        width:55%;
      }
      .ranking table .name a{
        float:left;
        font-size:120%;
      }
      .ranking table .parent{
        width:39%;
      }
        .ranking table .parent a{
          line-height:20px;
        }
        .ranking table .parent .father, .ranking table .parent .mother{
          text-indent:-9999px;
          width:12px;
          height:10px;
          display:block;
          overflow:hidden;
          float:left;
          margin:5px 10px 5px 0;
          line-height:20px;
        }
        .ranking table .parent .father{
          background:url("../img/common/ranking_father.gif") no-repeat left top;
        }
        .ranking table .parent .mother{
          background:url("../img/common/ranking_mother.gif") no-repeat left top;
        }


#honba_info, #honba_godai{
  padding-top:15px;
}
  #honba_info h1, #honba_godai h1{
    font-size:140%;
    font-weight:bold;
    margin-bottom:10px;
    line-height:35px;
  }
  #honba_info h4{
    margin:5px;
  }
  #honba_info div, #honba_info table{
    width:100%;
  }
  #table_family, #honba_export, #table_godai{
    width:100%;
    margin:10px auto;
  }
  .txt_type{
    font-size:70%;
    text-decoration:none;
  }
  a.btn_godai{
    background:transparent url("../img/closed/btn_godai.gif") no-repeat left top;
    height:35px;
    width:150px;
    position:relative;
    display:block;
    overflow:hidden;
    text-indent:-9999px;
    border:none;
    margin-left:15px;
    float:left;
  }
  a:hover.btn_godai{
    background-position:0 -35px;
  }
  #table_family th{
    width:5%;
  }
    #table_family th.male{
      color:#003399;
    }
    #table_family th.female{
      color:#ff3366;
    }
  #table_family td.name{
    width:25%;
  }
  #table_family td.fork{
    width:5%;
    vertical-align:middle;
  }
  #table_shoyuu{
    width:100%;
    margin:10px auto;
  }
  #table_shoyuu th{
    background-color:#025E11;
    padding:3px;
    border:3px solid #F8F3EC;
    color:#fff;
    width:20%;
    font-size:90%;
  }
  #table_shoyuu td{
    padding:3px;
  }
  #table_godai{
    font-size:90%;
    font-family: Osaka,'ï¿½Í£ï¿½ ï¿½Ð¥ï¿½ï¿½ï¿½ï¿½Ã¥ï¿½',sans-serif;
  }
    #table_godai .td_godai_m{
      background:#DFEAFE;
    }
    #table_godai .td_godai_f{
      background:#FFECF0;
    }
  #tabnav{
    margin:10px auto 20px;
  }
  #tabnav table th, #tabnav table td, #honba_export table th, #honba_export table td, #table_godai td{
    padding:3px;
  }
  #tabnav table th, #honba_export table th{
    background:#025E11;
    color:#fff;
    border:3px solid #fff;
  }

/*
   tabnav¤À¤È¡Öjquery-ui-1.9.1.custom.min.css#ui-widget-content¡×¤Î±Æ¶Á¤ò¼õ¤±¥ì¥¤¥¢¥¦¥È¤¬ÁÛÄêÄÌ¤ê¤Ë¤Ê¤é¤Ê¤¤¤Î¤Ç¡¢tabnav2¤ò¥³¥Ô¡¼¤·¤Æ»ÈÍÑ
*/
  #tabnav2{
    margin:10px auto 20px;
  }
  #tabnav2 table th, #tabnav2 table td, #honba_export table th, #honba_export table td, #table_godai td{
    padding:3px;
  }
  #tabnav2 table th, #honba_export table th{
    background:#025E11;
    color:#fff;
    border:3px solid #fff;
  }

  .td_line2{
    background:#fff;
    font-size:85%;
  }
  .td_line3{
    background:#fff;
    font-style: normal;
    font-size:120%;
}
  .td_line4{
    font-weight: bold;
    background:#fff;
    font-size:120%;
}
  #tabnavi-gender2 li{
    float:left;
    padding:5px 20px;
  }
    #tabnavi-gender2 li.ui-tabs-selected{
      background:#fff;
      border-top:3px solid #025E11;
    }
    #tabnavi-gender2 li.open a{
    }
    .ui-tabs-hide{
      display:none;
    }
  #honba_info .menu-tail{
    clear:both;
    margin:0;
    height:4px;
    font-size:1%;
    background:#fff;
  }

  #honba_male ul{
    padding-left:10px;
  }
  #honba_male ul li{
    margin:5px;
  }
  #honba_male ul li a{
    font-weight:normal;
  }

  #honba_footer{
    margin:10px auto;
  }



#footer-container{
  background-color:#0e6600;
  color:white;
  font-size:80%;
  padding:10px;
  clear:both;
}

#footer-container a{
  color:white;
}

/*
  Drop down LEVEL ONE
*/
ul.dropdown                         { position: relative; margin:0; padding:0;z-index:70;}
ul.dropdown li                      { font-weight: bold; float: left; zoom: 1;}
ul.dropdown li:last-child a         { border-right: none; } /* Doesn't work in IE */
ul.dropdown li.hover,
ul.dropdown li:hover                { position: relative; background:transparent url("../img/common/bg_menu_hover.gif") repeat-x left top; }
ul.dropdown li.hover a              { color: black; }


/*
  Drop down LEVEL TWO
*/
#menu ul.dropdown ul            { width: 160px; visibility: hidden; position: absolute; top: 100%; left: 0; margin:0; padding:0;background:none;}
#menu ul.dropdown ul li           {
  font-size:90%;
  font-weight: normal;
  background:transparent url("../img/common/bg_menu_hover.gif") repeat-x left top;
  color: #000;
  float: none;
}

                                    /* IE 6 & 7 Needs Inline Block */
#menu ul.dropdown ul li a         { border-right: none; width: 100%; display: inline-block; background-image:none; }

/*
  Drop down LEVEL THREE
*/
ul.dropdown ul ul           { left: 100%; top: 0; }
ul.dropdown li:hover > ul       { visibility: visible; }

/* Clearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;
}
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


table .input {

}

div.err, span.err {
	color: #f00;
}

.flash_error {
  color: red;
}
