// ============================== // style info :レイアウト // ============================== // header // ------------------------------ header { background: $midsilver; box-shadow: 0 4px 4px rgba($black,.2); position: fixed; width: 100%; z-index: 10; .header_utility { background: $darkgrey; @include clearfix; padding: .2em 1em; color: $white; height: 20px; box-sizing: border-box; .siteid { @include fs(12); font-weight: 400; float: left; @include ltXXS { span { display: none; } }; } .regist { float: right; a { @include fs(12); color: $white; } } } .header_inner { @include clearfix; padding: 1em 1em; .header_logo { display: block; float: left; width: 130px; @include ltXXS { width: 120px; }; } .header_button { float: right; a, span { display: block; width: 46px; float: left; margin-left: 6px; cursor: pointer; @include ltXXS { width: 38px; }; img { border-radius: 4px; } } } } } // spnav // ------------------------------ .spnav { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: $midgrey; box-shadow: 0 0 10px rgba($black,.2); color: $white; @include fs(16); transition-property: right; transition-timing-function: ease-in-out; transition-duration: .3s; overflow-y: scroll; z-index: 20; &.open { right: 0; } a { color: $white; } .closeBtn { position: absolute; top: 30px; right: 10px; width: 46px; float: right; img { border-radius: 4px; } } .welcome_message { @include fs(12); padding: .2em 10px; margin-bottom: 10px; // border-bottom: 1px solid rgba($black,.2); background: rgba($darkgrey,.5); } .usernav { width: 180px; a { display: block; padding: .4em 10px; } } .partition { background: rgba($darkgrey,.5); padding: .6em 10px; margin-top: 20px; } .nav_category { span { display: block; padding: 0 10px 0 40px; border-bottom: 1px solid rgba($black,.2); position: relative; height: 50px; line-height: 50px; background-size: 30px 30px; background-position: 5px 10px; background-repeat: no-repeat; &.icon_butsudan { background-image: url(../img/common/icon_butsudan.png); } &.icon_butsugu { background-image: url(../img/common/icon_butsugu.png); } &.icon_bonchouchin { background-image: url(../img/common/icon_bonchouchin.png); } @include fontAwesomeAfter('\f067',$grey,inherit); &::after { position: absolute; top: 50%; right: 10px; margin-top: -.4em; } &.open::after { content: '\f068'; } } .sub { display: none; background: rgba($black,.2); a { display: flex; align-items: center; padding: 0 20px 0 15px; border-bottom: 1px solid rgba($black,.2); position: relative; min-height: 40px; line-height: 1.6; @include fontAwesomeAfter('\f054',$grey,80%); &::after { position: absolute; top: 50%; right: 10px; margin-top: -.4em; } } &.col-2 { @include clearfix; li { width: 50%; float: left; box-sizing: border-box; &:nth-child(2n) { border-left: 1px solid rgba($black,.2) } } } } } .nav_guide { @include fs(12); margin-bottom: 20px; a { display: block; padding: 0 10px; border-bottom: 1px solid rgba($black,.2); position: relative; height: 35px; line-height: 35px; @include fontAwesomeAfter('\f054',$grey,80%); &::after { position: absolute; top: 50%; right: 10px; margin-top: -.4em; } } } } // main // ------------------------------ #main-content { margin-top: 86px; @include ltXXS { margin-top: 78px; }; } // footer // ------------------------------ #footer_utility { .guide_area { .footer_nav { @include clearfix; padding: 0 10px; @include fs(16); li { float: left; width: 50%; a { color: $baseFontColor; display: block; padding: 1em .4em; background: $midsilver; border: 1px solid $white; position: relative; @include fontAwesomeAfter('\f054',$grey,80%); &::after { position: absolute; top: 50%; right: 10px; margin-top: -.4em; } } } } } } footer { .copyright { background: $sub; color: $white; text-align: center; @include fs(16); padding: .4em 0; margin-top: 10px; } }