﻿
/*ボディ基本設定*/
body {
    font-size: 5px; 
    font-family: "メイリオ",sans-serif;
    background: #FFCC00;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*各要素一括IE9以前対応呪文*/
header,article,nav,section,footer {
    display:block;
}

/*角を丸く*/
header,section,nav {
    border-radius: 10px;
}

/*リンク装飾設定*/
a {
    font-size: 150%;
    text-decoration: none;
}
a:link {
    color: #FFCC00;
    text-decoration: none;
    font-weight: bold; 
}
a:visited {
    color: #FFCC00;
}
a:hover {
    color: #FFA500; 
}
a:active {
    color: #000000; 
} 

/*段落内幅確定呪文*/
p {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*ヘッダー*/
header {
    font-size: 40px; 
    float:both;
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    background: #FFFFFF;
}

/*アーティクル*/
article {
    font-size: 30px; 
    color: #FFFFFF;
    float:both;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    background: #FFCC00;
}

/*セクション*/
section {
    font-size: 30px;
    color: #FFFFFF;
    float:both;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    background: #000000;
}

/*ナビ*/
nav {
    font-size: 30px; 
    float:both;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    background: #FFFFFF;
}

/*フッター*/
footer {
    font-size: 30px; 
    float:both;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    background: #FFCC00;
}
