@charset "shift-jis"; /* ------------------------------------------------------- * Date : 2008/03 * File : navi.css * Copyright 2008 MAC InterNet All Rights Reserved. ------------------------------------------------------- */ /* *00 base *01 header *02 globalNavi *03 contents_layout *04 contents_box *05 clearfix *06 reset *07 link */ /*----------------------------------------------- *00 base -------------------------------------------------*/ body{ margin:0px; padding:0px; line-height:1.5; background-color: #ffffff; font-size:12px; background-color: #ECECEC; } #base { width: 820px; background-image: url(./preset_images/bg_main.gif); margin-right: auto; margin-left: auto; } #wrap{ width:800px; margin:0px auto; } #header { padding: 0px; margin: 0 auto; width: 800px; position: relative; height:auto; clear: both; } #logo{ margin-top: 0px; margin-left: 10px; position: absolute; width: 321px; height: 63px; clear: both; } #logo a{ padding-top: 63px; padding-left: 0px; display: block; overflow: hidden; width: 100%; height: 0 !important; height /**/: 63px; background:url(./preset_images/logo.gif) left top no-repeat; } /*----------------------------------------------- *01 header -------------------------------------------------*/ #head_navi { width:400px; margin-right:10px; margin-top: 10px; float:right; padding-right: 0px; font-size: 12px; text-align:right; clear:both; } /*----------------------------------------------- *02 globalNavi -------------------------------------------------*/ .gnavi { position: absolute; top:68px; text-align: center; width: 800px; height: 35px; clear:both; } .gnavi ul { list-style-type: none; width: 800px; height: 35px; padding-left:0px; } .gnavi li { float: left; width: 200px; } .gnavi li a { display: block; overflow: hidden; width: 100%; height: 0 !important; height /**/: 35px; padding-top: 35px; background:url(./preset_images/gnavi.gif); } /* 通常*/ #nav01 a { background-position: 0 0; } #nav02 a { background-position: -200px 0; } #nav03 a { background-position: -400px 0; } #nav04 a { background-position: -600px 0; } /* 現在位置 */ #nav01 a:hover { background-position: 0 -35px; } #nav02 a:hover { background-position: -200px -35px; } #nav03 a:hover { background-position: -400px -35px; } #nav04 a:hover { background-position: -600px -35px; } /* オンマウス */ #nav01 a:hover { background-position: 0 -35px; } #nav02 a:hover { background-position: -200px -35px; } #nav03 a:hover { background-position: -400px -35px; } #nav04 a:hover { background-position: -600px -35px; } #gnavi_sub_bg { width:800px; position:relative; left:0px; top:35px; height:25px; position: absolute; clear:both; background:url(./preset_images/g_menu_sub.gif); } #gnavi_sub { display:none; font-size:14px; width:800px; position:relative; left:0px; height:25px; position: absolute; clear:both; padding-top:2px; } /*----------------------------------------------- *03 contents_layout -------------------------------------------------*/ #contents_top{ width:800px; margin:0px auto; margin-top:73px; position: relative; } #contents_top_l{ width:230px; margin:0px auto; float:left; } .contents_top_l{ margin:0 0 5px 0; } #contents_top_r{ width:555px; margin-left:10px; margin:0px auto; float:right; } /*----------------------------------------------- *04 contents_box -------------------------------------------------*/ /*------*04_00 lineup------*/ .lineup_box { width:220px; background-image: url(./preset_images/bg_lineup_bg.jpg); background-repeat: repeat-y; text-align:center; margin-left:9px; } /*------*04_01 comment------*/ #president_box { width: 538px; clear: both; border: 1px solid #9ACD04; margin-top: 0px; background-image: url(./preset_images/bg_president_column.jpg); background-repeat: no-repeat; background-position: top; } #president_box p { margin:10px; } /*------*04_02 campain------*/ #campain_box { width: 540px; padding: 30px 0 0 0; text-align: left; background:url(./preset_images/bg_pickup.gif) no-repeat; clear: both; margin:20px 20px 0 0; } /*------*04_03 news------*/ #news_box { width: 540px; padding: 35px 0 0 0; text-align: left; background:url(./preset_images/bg_news.gif) no-repeat; clear: both; margin:18px 20px 0 0; } #news_box .news_list{ padding:0; position: relative; } #news_box .news_list li{ list-style-type:none; padding:0 0 0 25px; margin:6px 0 0 0; background:url(./preset_images/news_icon.jpg) no-repeat 0px 5px; } /*------*04_04 partner------*/ .partner { width:750px; border: solid #cccccc 1px; margin-top:10px; clear: both; height:auto; padding:8px; position:relative; background-color:#eeeeee; text-align:center; margin:0 auto; } /*------*04_05 footer------*/ .footer{ width:800px; border-top: solid #4EB47B 5px; border-bottom: solid #999999 1px; background-color: #ffffff; text-align: center; clear: both; height:auto; padding-top:4px; } /*------*04_06 ir------*/ #ir_box { width: 538px; clear: both; border: solid #cccccc 1px; margin-top: 15px; font-size: 14px; background-image: url(./preset_images/bg_ir_box.jpg); background-repeat: repeat-y; background-position: top; } #ir_box p { margin:10px; } /*----------------------------------------------- *05 clearfix -------------------------------------------------*/ .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { display: inline-table; min-height: 1%; } /* Hides from IE-mac \*/ * html .clearfix { height: 1%; } .clearfix { display: block; background-color: #FF3366; } /*----------------------------------------------- *06 reset -------------------------------------------------*/ /*h1,h2,h3,h4,h5,h6,p,ol,ul,li,dl,dt,dd,form{ margin:0px; padding:0px; }*/ ul{ margin:0px; padding:0px; } img{ border:none; } .clear{ clear:both; font-size:0px; line-height:0px; } /*----------------------------------------------- *07 link -------------------------------------------------*/ a:link { color: #000066;text-decoration: none;} a:visited { color: #000066;text-decoration: none;} a:active { color: #000066;text-decoration: none;} a:hover { color: #000066;text-decoration: underline;}