/* 基本レイアウト */

html { margin: 0; padding: 0; }
form { margin: 0; padding: 0; }
a { text-decoration: underline; }
a img { border: 0; }


/* 見出し */

h1, h2, h3, h4, h5, h6 { font-weight: bold; }
h1, h2, h3, h4, h5, h6, ol, ul, pre, blockquote
{
    margin: 0;
}


/* リンク色（ページ全体） */

a { color: #0000ff; text-decoration: underline; }
a:hover { color: #ff9900; }


/* リンク色（サイトタイトル） */

#header a { color: #666; text-decoration: none; }
#header a:hover { color: #ff9900; }


/* 表示補助 */

.pkg {
    position: static;
    display: block;
    clear: both;
    padding: 10px;
}
* html .pkg { display: inline-block; }
/* no ie mac \*/
* html .pkg { height: 1%; }
.pkg { display: block; }
/* */


/* ページレイアウト */

body {
    width: 780px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    font-size: 0.8em;
    color: #666;
    background: #f5f5f5;
    line-height: 1.5;
    font-family: "ＭＳ Ｐゴシック";
    position: relative;
}

/* ヘッダー（レイアウト） */

#header {
    position: relative;
    margin: 0;
    width: 780px; /* necessary for ie win */
    height: 190px;
    background: #f5f5f5;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
    text-align: left;
}

/* ヘッダー（サイトタイトル） */

#header h1
{
    margin: 0;
    font-size: 26px;
    font-weight: normal;
    line-height: 1.25;
    position:absolute; top: 30px; left:10px;
    font-family: "ヒラギノ角ゴ8","HGS創英角ｺﾞｼｯｸUB", "ヒラギノ角ゴ Pro W8";
}

#header p
{
    margin: 0;
    padding: 0;
    color: #999;
    font-size: 12px;
    line-height: 1.25;
    position:absolute; bottom:3px; left: 10px;
}


/* メインコンテンツ全体 基本レイアウト*/

#container
{
    position: relative;
    width: 780px;
    _width: 778px;
    margin: 0;
    padding: 0;
    text-align: center;
    background: #fff ;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

/* メインコンテンツ基本レイアウト（記事部分） */

#main
{
    display: inline; /* ie win bugfix */
    position: relative;
    float: right;
    min-height: 1px;
    text-align: left;
    width: 545px; 
    margin: 10px;
    padding: 0;
}

#main p a
{
    color: #666;
    text-decoration: none;
    cursor: text;
}

/* メインコンテンツ基本レイアウト（サイドメニュー） */

#side
{ 
    display: inline; /* ie win bugfix */
    position: relative;
    float: left;
    min-height: 1px;
    text-align: left;
    width: 190px;
    padding: 0;
    margin: 10px;
}


/* 記事部分レイアウト */


/* 記事部分見出し */

#main h2 {
    /* ie win (5, 5.5, 6) bugfix */
    p\osition: relative;
    width: 100%;
    w\idth: auto;
    margin: 15px 0 5px;
    height: 30px;
    line-height: 1.25;
    padding-top: 5px;
    font-size: 1.1em;
    font-weight: bold;
    clear: both;
    background: #f5f5f5;
    border-top: 1px dotted #8bbde4;
    border-bottom: 1px dotted #8bbde4;
}

#main h2 a { text-decoration: none; }

.f-navi { margin: 5px 0; text-align: left; clear: both; }
.f-navi a { color: #0000ff; text-decoration: underline; }

/* フッター */

#footer
{
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 780px;
    _width: 778px; 
    height: 50px;
    text-align: center;
    font-size: 0.8em;
    clear: both;
    background: #ccc;
    color: #fff;
}

#footer p
{ 
    font-size: 1em;
    text-align: center;
    color: #666;
    padding-top: 20px;
}

#footer-navi a { color: #666; }

/* サイドメニュー内部 */



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

li
{
    width: 190px; 
    display: block;
    line-height: 20px;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
    text-decoration: none;
    color: #666;
    border-bottom: 1px solid #ccc;
}

li a
{
    _width: 190px; 
    font-size: 0.9em;
    padding: 5px 3px 5px 10px;
    color: #666;
    display: block;
    line-height: 1.5;
    margin: 2px 0;
    background-color: #fff8dc;
    border-left: 5px solid #dcdcdc;
    text-decoration: none;
}

li a:hover
{
    background-color: #ffffcc;
    color: #ff6600;
}

.sidetitle
{
    width: 190px;
    height: 30px;
    color: #fff;
    background: #ccc;
    border-top: 1px dotted #8bbde4;
    border-bottom: 1px dotted #8bbde4;
    line-height: 30px;
    margin: 0px;
    text-indent: 10px;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    display: block; 
}
