@charset "Shift_JIS"; /* ================================================ * * 全体設定 * * ================================================ */ /* 全称セレクタでリセット */ * { margin: 0; padding: 0; font-style : normal; font-weight : normal; font-size: 100%; } /* 全体設定 */ body { color: #FFF0F5; background: #FFF0F5; text-align: center; line-height: 1.5; } /* ================================================ * * 主なブロック要素設定 * * ================================================ */ dl, p { padding: 0.25em; } /* ================================================ * * ページレイアウト(各ページ共通) * * ================================================ */ /* ------------------------------------------------ */ /* ページの整形 */ #container { text-align: left; background: #F5DEB3; margin: 0; padding: 0; width: 100%; } /* ------------------------------------------------ */ /* ヘッダー */ #header { width: 100%; height: 80px; margin: 0; padding: 0; background: #8B0000; } /* ------------------------------------------------ */ /* メイン */ #main { width: 60%; position: absolute; top: 81px; left: 20%; background: #FFF0F5; margin: 0; padding: 0; height: 3480px; /* 表示の都合上表記。適宜削除して下さい。 */ } /* ------------------------------------------------ */ /* メニュー部分 */ #menu { margin: 0; padding: 0; width: 20%; height: 3500px; /* 表示の都合上表記。適宜削除して下さい。 */ } /* 一番目(左側)のメニュー */ #first { position: absolute; top: 80px; left: 0; } /* ニ番目(右側)のメニュー */ #second { position: absolute; top: 80px; left: 80%; width: 200px; } /* ------------------------------------------------ */ /* フッター */ #footer { width: 100%; height: 60px; background: #8B0000; margin: 0; padding: 0; }