@charset"UTF-8";

/*レイアウト*/
.inner{
    width: 960px;
    margin: 0 auto;
}

body{
    font-family:
    'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

h1{
    font-size: 2.5em;
    font-weight: bold;
}

p{
    line-height: 24px;
}


body{
    background-color: #eeeeee;
}

a:hover{
    opacity: 0.7;
}

/*ヘッダー*/
#header{
    color: blue;
    font-size: 18px;
    padding: 10px 0;
    margin-bottom: -16px;
    background-color:skyblue;
}

#header .inner{
    display:table;
}

#logo{
    width: 260px;
    display:table-cell;
    vertical-align:middle;
}

#logoname{
    margin-left: 50px;
    display:table-cell;
    vertical-align:middle;
}
    
/*グローバルナビゲーション*/
#nav{
    list-style-type: none;
    height: 36px;
    background: blue;
}

#nav li{
    position: relative;
    float: left;
    width: 150px;
    background: blue; 
    border-right: white 1px solid;
}
 
#nav li a{
    display: block;
    color: white;
    text-decoration: none;
    padding: 6px 0;
    text-align: center;
}

#homenav{
    width: 147px;
    border-left: white 1px solid;
}
    
#nav li a:hover{
    color: white;
}

#nav1{
    list-style-type: none;
    position: absolute;  
    top: 36px;　　 /*←掲示板の子メニューの位置*/
    left: 0;
    height: 0;
    background: blue;
    display: none;
    z-index: 1;
}

#nav2{
    list-style-type: none;
    position: absolute;  
    top: 12px;    /*←掲示板「以外」の子メニューの位置*/
    left: 0;
    height: 0;
    background: blue;
    display: none;
}

#nav li ul li{
    border-top: white 1px solid;
}
  
#nav li:hover ul{
    background: blue;
}

/*パンクズ*/
#pankuzu li{
    display: inline;
    list-style-type: none;
    text-decoration: none;
}

/*コンテンツエリア*/
#contents{
    width: 960px;
    margin: 0 auto;
    padding: 0 10px 0 10px;  
}

#contents li{
    list-style-type:none;
}

/*左サイドメニュー*/
#side{
    float: left;
    width: 235px;
}

#sidemenu li{
    position: relative;
    border: 2px solid blue;
    border-radius: 10px;
    padding: 10px 5px;
    margin: 15px 0;
    background: ghostwhite;
    z-index: 0;
}

#sidemenu a{
    text-align: center;
    text-decoration: none;
    font-size: 1.1em;
    display: block;
}


/*メインコンテンツ*/
#main{
    float:right;
    width: 700px;
    margin-left: 25px;
}

#title{
    background: skyblue;
    border-left: blue 3px solid;
    text-align: center;
    margin: 5px 0px;
    padding: 5px 0px; 
    background-position: left top;
}

#comment{
    padding: 20px 10px;
    font-size: 1.2em;
}

#history{
    font-size: 1.5em;
    border-bottom: blue 2px solid;
    padding-left: 5px;
}

#staff{
    font-size: 1.5em;
    border-bottom: blue 2px solid;
    padding-left: 5px;
}

#generationmeeting{
    font-size: 1.5em;
    border-bottom: blue 2px solid;
    padding-left: 5px;
}

#consent{
    font-size: 1.5em;
    border-bottom: blue 2px solid;
    padding-left: 5px;
}

#subconsent{
    font-size: 1.5em;
    border-bottom: blue 2px solid;
    padding-left: 5px;
}

#materialin{
    display: block;
    background:ghostwhite;
    padding: 10px;
    margin: 40px;
}

#materialin a{
    font-size: 1.2em;
    text-decoration: none;
    font-weight: bold;
    }

#stafftable{
    padding-left: 100px;
}

#stafftable td{
    padding-left: 50px;
}

/*フッター*/
#footer{
    padding: 10px 10px;
    background: skyblue;
    clear: both;
    overflow: hidden;
}

#footer li{
    float: left;
}

#footer ul{
    list-style-type: none;
}

#footer a{
    display: block;
    margin-right:18px;
    text-decoration: none;
    color: blue;
}

#footer a:hover{
    border-bottom: 1px solid;
}

/* ウィンドウの右側に表示する場合 */
#page-top {
    position: fixed;/* 位置を固定 */	
    bottom: 20px;/* 下から20pxの位置 */
    right:20px;/* 右から20pxの位置 */
    font-size: 90%;/* フォントサイズ */
}

#page-top a {
	display: block ;/* インライン要素をブロック形式で表示 */
	width: 60px;/* ボックスの幅 */
	padding: 20px 10px;/* 上下の余白 */
  	color: black;/* 文字の色 */
        text-align: center;/* 行揃え中央 */
  	background:lightcyan; /* 背景色 */
  	border-radius: 20px;/* ボックスの角の丸み */
        border: blue 1px dotted;
        text-decoration: none;
}

#page-top a:hover {
        background: /* 背景色 */powderblue;
	opacity:0.7;/* ボックスの透明度 */
	color: #333;/* 文字の色 */
}

