﻿body{
    width:900px;
    margin:auto;
    font-family:Meiryo;
    font-size:13px;
}

#iMainSec
{
    width:800px;
    margin-left:50px;
}
header form{
    text-align:right;
}
header form input{
    font-size:10px;
}

#iLangBox
{
    text-align:right;
}
#iLangBox a
{
    font-family:Meiryo;
    font-size:12px;
    text-decoration:none;
    color:#acaccc;

    margin-right:3px;
}
#iCompanyTitle
{
    display:inline-block;
    text-align:left;
    font-family:Garamond;
    font-weight:bold;
    font-size:28px;
    line-height:80%;
    width:600px;
}
header img{
    width:50px;
    height:50px;
    margin-top:-10px;
    padding-bottom:10px;
    display:inline-block;
    vertical-align:middle;
    float:left;
}
#iCompanySubTitle
{
    margin-top:-5px;
    font-family:'Times New Roman';
    display:inline-block;
    font-size:12px;
    margin-bottom:5px;
}
menu
{
    padding:0;
    margin:0;
    height:30px;
    width:800px;
    margin-top:10px;
}
menu ul
{
    padding:0;
    margin-left:0;
    margin-bottom:0px;
    width:800px;
    height:100%;
    list-style-type:none;
}
menu a
{
    font-family:Meiryo;
    text-decoration:none;
}
menu ul li{
    display:inline-block;
    width:18%;
    height:100%;
    float:left;
    margin-left:0;

    padding-left:1px;
    padding-right:1px;
    border-right-color:gray;
    border-right-style:solid;
    border-right-width:1px;
}
menu ul li a{
    display:inline-block;
    vertical-align:middle;
    width:100%;
    height:28px;
    padding-top:2px;
    text-align:center;
    color:#000000;
}
    menu ul li a:hover {
        background-color:#61e95f;
        color:#ffffff;
    }
menu ul li a[tabindex="0"]{
    display:inline-block;

    width:100%;
    height:28px;
    padding-top:2px;
    text-align:center;
    background-color:gray;
}
#iNothing{
    color:rgba(255, 255, 255 , 1);
    position:absolute;
    top:35px;
    left:560px;
    font-family:'Times New Roman';
    font-size:24px;
    z-index:18;
}
#iChathJap{
    color:rgba(255, 255, 255 , 1);
    position:absolute;
    top:220px;
    left:70px;
    font-family:Meiryo;
    font-size:14px;
    z-index:18;
}
#iChathEng{
    color:rgba(255, 255, 255 , 1);
    position:absolute;
    top:240px;
    left:60px;
    font-family:'Times New Roman';
    font-size:14px;
    z-index:18;
}
#iMenuBoxBox
{
    width:800px;
    
    margin:auto;
    margin-top:0px;
    position:absolute;
    z-index:20;
}
#iImgAndChatBox > img
{
    width:700px;
    height:250px;
    left:50px;
    top:25px;

    position:absolute;
    border-radius:5px;
}
.CSubMenu
{
    width:100%;
    display:block;
    height:0px;
    overflow:hidden;
    border-radius:4px;
    background-color:#a5a5a5;

    color:#ffffff;
    border-bottom-color:#f0f0f0;
    margin:2px;
    margin-top:0px;
    background: #000000;
	background-color:rgba(0,0,0,0.5);

    font-family:Meiryo;
}
.CSubMenu >ul >li{
    margin-top:1em;

}
.CSubMenu a{

    color:#ffffff;
    text-decoration:none;
    line-height:1.2em;
}
.CSubMenu a:hover{

    color:#80ffa0;
    text-decoration:none;
    line-height:1.2em;
}

#iFirstBlank{
    height: 60px;
}

#iCCBox{
    width:100%;
    height:300px;
    margin-top:2px;

    background-image:url(dairy2.jpg);
    background-color:#a0a0ff
}
#iNewsBox > img{
     width:600px;
     height:550px;
     position:absolute;
     z-index:0;
     
     margin-left:200px; 
     margin-right:0px;
     margin-bottom:0px;
}
#iNewsBox{
    margin-left:20px;

    width:800px;
    height:600px;
    margin-top:20px;
    overflow:hidden;
    background-color:rgba(0,0,0,0);

}

#iNewsBox > section{
    display:inline-block;
    position:absolute;

    z-index:1;
    width:220px;
    height:220px;
    margin-left:16px;
    margin-right:16px;
    margin-top:16px;
    margin-bottom:16px;
    border-radius:4px;

    overflow:hidden;
    color:#ffffff;
    background-color:rgba(80 , 130 , 110 , 0.8);
}
#iNewsBox > section:hover{

    background-color:rgba(40 , 90 , 120 , 0.7);
}
#iNewsBox ul{
    padding-left:2em;
    color:#ffffff;
    position:relative;
    z-index:1;
}
#iNewsBox >section >ul{
    list-style:none;
    padding-left:1em;

    color:#ffffff;
}
#iNewsBox  li ul li:hover{
    font-weight:bold;
}
#iNewsBox  a{
    color:#ffffff;
    text-decoration:none;

}
#iNewsBox  a:hover{
    color:#ffff80;
    text-decoration:none;

}
#iNewsBox  a:after{
    content:" >";
    color:#80ffff;
    text-decoration:none;

}
#iFotInf{
    height:25px;
    width:100%;
}
#iRights{
    font-family:Meiryo;
    display:inline-block;
    width:300px;
    text-align:right;
    font-size:10px;
    margin-top:16px;
    height:30px;
    
}

footer{
    font-family:HGPGothicM;
    width:100%;
    height:40px;
    margin-top:20px;
    border-top-width:3px;
    border-top-style:dotted;
    border-top-color:#a0a0ff;

    position:relative;
    z-index:9;
}

footer ul{
    font-size:14px;
    height:22px;
    display:inline-block;
    list-style:none;
    padding:0;
    width:600px;
    margin-top:10px;
    float:left;
}
footer ul li{
    text-align:center;
    height:100%;
    float:left;
    margin:0;
    padding-left:1px;
    padding-right:1px;
    width:18%;
    display:inline-block;
    border-right-color:#000000;
    border-right-width:1px;
    border-right-style:solid;
}
footer ul li:hover{

}
footer ul li a{
    line-height:22px;

    display:inline-block;
    width:100%;
    text-decoration:none;
    color:#202020;
}
footer ul li a:hover{
    background-color:#80f080;

    color:#2020a0;
}