@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; } } } #logo { position: absolute; top: 50px; left: 0; } #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; } #navi ul li { float: left; } /* =====================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; } #sidebar ul li { margin-bottom: 20px; } /* ======================footer======================= */ #footer { margin-top: 40px; background: #3EBBB0; #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; } 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#btn_area { li { margin: 0 3px; display: inline-block; } } ul.news { li { padding: 5px 10px; border-bottom: 1px dashed #939393; span.date { color: #354169; } span.entry_title { margin-left: 30px; } } } } &.ayumi_sho { #ayumi_shou { text-align: center; } table { border-right: none; th { width: 190px; color: #327C7A; background: #FFF; } td { width: 80px; background: @boder_base_color; border-right: @boder_base; } } } &.ayumi_taxi { #ayumi_taxi { border: @boder_base; margin-bottom: 30px; h3 { height: auto; margin: 30px 0; padding-left: 0; font-size: 200%; font-weight: normal; text-align: center; color: #000; background: none; } dt { margin: 0 10px 10px; color: #007277; } dd { margin: 0 30px 10px; } .caution { color: red; text-align: center; } div#tel { text-align: center; margin-bottom: 20px; } } } &.to_caremanager { #menu { margin-bottom: 20px; .clearfix; ul { li { margin: 0 7px; font-size: 14px; float: left; a { color: #000; padding: 0 2px; text-decoration: none; } } } } #ayumi, #taxi, #bangou { th { background: #EFEFEF; } } #bangou { th { width: 350px; } } div { table { tr { th { width: 150px; color: #327C7A; } } } } } &.care_insurance { .detail { margin-bottom: 30px; padding: 20px 0 20px 10px; border: @boder_base; } } &.privacy { .detail { margin-bottom: 20px; padding: 20px 20px 0; background: #E5F5F5; border: 1px solid #0D968F; h3 { margin-bottom: 20px; background: none; color: #000; font-size: 140%; font-weight: normal; } ol { margin-left: 30px; li { margin-bottom: 20px; list-style-type: decimal; } } } } }