@import "method.less"; /* * ■ Values * ■ Method * ■ Layout * #header * #navi * #contents * #main * #sidebar * #footer * ■ Main */ /* ====================================================== ■ Values ====================================================== */ @width: 900px; @mode: kaigo; @boder_base: 1px solid #999; @boder_base_color: #E5F4F4; /* ====================================================== ■ Layout ====================================================== */ /* ======================common======================= */ body { background: url(../images/bg_top.png) repeat-x; font-family:Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif; line-height: 1.5em; } /* ======================header======================= */ #header { width: @width; height: 147px; margin: 0 auto; position: relative; h1 { position: absolute; top: 9px; left: 0; font-size: 12px; font-weight: 400; } ul#header_navi { position: absolute; top: 9px; right: 0; font-size: 12px; font-weight: 400; li { margin-left: 8px; padding-left: 11px; background: url(../images/list_icon.jpg) no-repeat 0 3px; float: left; a { text-decoration: none; color: #000; } } } #description { position: absolute; top: 90px; left: 45px; font-weight: bold; color: blue; } #logo { position: absolute; top: 115px; left: 0; font-size: 250%; font-weight: bold; font-style: italic; img { width: 35px; margin-right: 10px; } } #info { position: absolute; top: 50px; right: 0; li { line-height: 120%; text-align: center; } li.freedial { font-size: 25px; font-weight: bold; img { margin-right: 10px; } } li.message { padding: 5px 0; border-top: 1px solid #000; border-bottom: 1px solid #000; } } } /* =======================navi======================== */ #navi { width: @width; margin: 0 auto; margin-top: 15px; .clearfix; position: relative; ul { height: 48px; li { &#navi_home { position: absolute; top: 0; left: 0; } &#navi_ahcc { position: absolute; top: 0; left: 150px; height: 48px; } &#navi_function { position: absolute; top: 0; left: 300px; } &#navi_colmun { position: absolute; top: 0; left: 450px; } &#navi_access { position: absolute; top: 0; left: 600px; } &#navi_contact { position: absolute; top: 0; left: 750px; } ul { position: absolute; top: 48px; z-index: 2; height: auto; margin-top: 0; display: none; li.sub_menu { a { width: 150px; padding: 10px 0; display: block; text-align: center; border: 1px solid #FFF; border-top: none; font-size: 80%; color: #FFF; text-decoration: none; background: url(../images/sub_menu.png); &:hover { background: url(../images/sub_menu_on.png); } } } } } } } /* =====================contents====================== */ #contents { width: @width; margin: 0 auto; margin-top: 10px; .clearfix; #main_visual { margin-bottom: 30px; } } /* =======================main======================== */ #main { width: 600px; float: left; } /* ======================sidebar====================== */ #sidebar { width: 280px; float: right; h2 { widht: 255px; height: 26px; padding: 4px 0 0 25px; background: url('../images/bg_side.gif') no-repeat; color: #FFF; } ul { li { width: 278px; padding: 3px 0; background: url('../images/yajirushi.gif') no-repeat 20px 10px; border-left: 1px solid #354169; border-right: 1px solid #354169; border-bottom: 1px dashed #939393; &.border_none { border-bottom: none; } &.last_item { border-bottom: 1px solid #354169; } a { width: 243px; padding-left: 35px; display: block; color: #354169; text-decoration: none; } } } p { margin: 10px 0; } } /* ======================footer======================= */ #footer { margin-top: 40px; background: #264163; #footer_inner { width: @width; margin: 0 auto; padding: 15px 0; .clearfix; p { float: left; color: #FFF; font-size: 10px; font-weight: 700; line-height: 100%; } ul { float: right; font-size: 12px; font-weight: 700; li { margin-left: 15px; padding-right: 5px; border-right: 1px solid #FFF; float: left; line-height: 100%; a { text-decoration: none; color: #FFF; } } } } } /* ====================================================== ■ Main ====================================================== */ #main { h2 { width: 589px; height: 28px; margin-bottom: 20px; padding-top: 7px; padding-left: 10px; background: url(../images/bg_title_h2.png) no-repeat; color: white; font-weight: bold; } h3 { width: 587px; height: 21px; margin-bottom: 10px; padding-left: 10px; background: url(../images/bg_title_h3.png) no-repeat; color: #03727B; font-weight: bold; } h4 { font-weight: bold; } p { margin-bottom: 20px; } .totop { text-align: right; } .accordion { p { display: none; } } ol { margin: 0 0 30px 35px; li { list-style-type: decimal; } } ul.archives { margin-left: 45px; margin-bottom: 50px; li { line-height: 200%; list-style-type: disc; } } ul.health_food { margin-bottom: 30px; text-align: center; li { display: inline; } } table { width: 599px; margin-bottom: 30px; border: @boder_base; border-bottom: none; caption { margin-top: 10px; } tr { th, td { padding: 10px; font-size: 80%; border-bottom: @boder_base; vertical-align: middle; } th { width: 150px; background: @boder_base_color; border-right: @boder_base; } } } #promise { margin-bottom: 30px; border: @boder_base; p { margin: 30px; font-size: 30px; } dt { margin: 0 10px 10px; color: #007277; } dd { margin: 0 30px 10px; } } &.home { h2 { width: 602px; height: 34px; margin: auto; padding: 0; background: none; } ul { li { padding: 5px 10px; border-bottom: 1px dashed #939393; span.date { color: #354169; } span.entry_title { margin-left: 30px; } } } } }