/*********************
** Default Settings **
*********************/

* {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-family: 'ＭＳ Ｐゴシック', 'ヒラギノ角ゴ Pro W3', 'Osaka', 'MS PGothic', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url(./images/body_bg.jpg);
    background-repeat: repeat;
    font-size: 13px;
    font-family: 'ＭＳ Ｐゴシック', 'ヒラギノ角ゴ Pro W3', 'Osaka', 'MS PGothic', sans-serif;
}

img {
    border: none;
}

h1 {
    margin: 0 0 15px 60px;
    padding-left: 15px;
    width: 500px;
    height: 30px;
    line-height: 30px;
    font-style: italic;
    font-size: 22px;
    background-image: url(./images/h1_bg.gif);
    background-repeat: repeat-x;
}


/****************
** Page Layout **
****************/

#container {
    margin: 0 auto;
    width: 815px;
    background-color: #FFFFFF;
    background-image: url(./images/container_bg.gif);
    background-repeat: repeat;
    border-left: solid 1px #A49A81;
    border-right: solid 1px #A49A81;
}

#head, #pagebody, #foot {
    clear: both;
    width: 815px;
}

#head {
    height: 259px;
    background-image: url(./images/head_bg.jpg);
    background-repeat: no-repeat;
}

#foot {
    padding-top: 30px;
}

#main {
    display: inline;  /* for IE Bug */
    float: right;
    padding-top: 20px;
    width: 674px;
}

#side {
    float: left;
    width: 141px;
}


/***********************************
** Detail Layout (For Base Frame) **
***********************************/

div#head-title {
    padding-top: 226px;
}

div#foot-text {
    border-top: solid 1px #958B7F;
    height: 50px;
    text-align: center;
    line-height: 30px;
    background-image: url(./images/foot_bg.gif);
    background-repeat: repeat;
}

div#foot-text p {
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
}

div#counter{
    float: right;
}


/*********************************
** Detail Layout (for Page) **
**********************************/

td#top-mainimg {
    width: 450px;
    height: 338px;
    background-image: url(./images/mms2top.jpg);
    background-repeat: no-repeat;
}

td#top-mainimg:hover {
    background-image: url(./images/mms2top_2.jpg);
    background-repeat: no-repeat;
}

div.main-content {
    margin: 0 0 0 70px;
    width: 514px;
}

table.all {
    margin: 3px 0 0 24px;
    border: 2px solid #0030AA;
    border-collapse: collapse;
    text-align: center;
    vertical-align: top;
    width: 450px; 
    height: 100px;
    background-image: url(./images/members_bg.gif);
    background-repeat: repeat;
    font-size: 9pt;
    color: #6a4030;
}

td.all_name {
    width: 130px;
}

td.all_img {
    width: 120px;
}

td.all_detail {
    width: 170px;
}

div#links-content p {
    margin: 10px 0;
}

div#links-content p a {
    line-height: 22px;
}

h2.red, h2.blue, h2.orange, h2.yellow {
    margin: 0 0 15px 0px;
    padding-left: 20px;
    width: 280px;
    height: 25px;
    line-height: 25px;
    font-size: 16px;
    background-repeat: repeat-x;
}

h2.red{
    background-image: url(./images/h2_bg_red.gif);
}

h2.blue {
    background-image: url(./images/h2_bg_blue.gif);
}

h2.orange {
    background-image: url(./images/h2_bg_orange.gif);
}

h2.yellow {
    background-image: url(./images/h2_bg_yellow.gif);
}
