﻿◆CSS






/* ------------------------------
   #menuList
------------------------------ */

    #menuList{

    }

/* ------------------------------
   MEDIAQUERIES LAYOUT
------------------------------ */
@media only screen and (max-width: 800px) {
    #menuList ul {
        width: 100%;
    }
?
    #menuList ul li {
        width: 20%;
    }
}

/* ------------------------------
   MEDIAQUERIES[SP]LAYOUT
------------------------------ */
@media only screen and (max-width: 768px) {
    #menuList {
        display: none;
    }

    #menuOverlay {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.6);
        display: none;
        position: fixed;
        z-index: 98;
    }
?
    #switchBtnArea {
        width: 100%;
        height: 60px;
        background: #3c3c3c;
        border-bottom: #aaa 1px solid;
        position: relative;
    }
?
    #switchBtnArea #switchBtn {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        display: block;
        background: #a7a7a7;
        position: absolute;
        border-radius: 5px;
        z-index: 98;
    }
?
    #switchBtnArea #switchBtn span {
        left: 20%;
        width: 60%;
        height: 4px;
        display: block;
        position: absolute;
        background-color: #a7a7a7;
        border-radius: 5px;
        transition: all 0.2s linear;
    }
    #switchBtnArea #switchBtn span:nth-of-type(1) {
        top: 10px;
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    #switchBtnArea #switchBtn span:nth-of-type(2) {
        top: 18px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    #switchBtnArea #switchBtn span:nth-of-type(3) {
        bottom: 10px;
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
?
    #switchBtnArea #switchBtn.btnClose {
        background: transparent;
    }
    #switchBtnArea #switchBtn.btnClose span:nth-of-type(1) {
        top: 18px;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #switchBtnArea #switchBtn.btnClose span:nth-of-type(2) {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    #switchBtnArea #switchBtn.btnClose span:nth-of-type(3) {
        bottom: 18px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
?
    #rwdMenuWrap {
        top: 0;
        left: -1000px;
        width: 200px;
        height: 100%;
        background: #3c3c3c;
        overflow: auto;
        position: fixed;
        z-index: 98;
    }
?
    #rwdMenuWrap ul {
        width: 100%;
    }
?
    #rwdMenuWrap ul li {
        width: 100%;
        border-bottom: #aaa 1px solid;
    }
?
    #rwdMenuWrap ul li a {
        padding: 15px 20px;
        text-align: left;
        display: block;
        background: #ebebeb;
        position: relative;
    }
?
    #rwdMenuWrap ul li a:after {
        content: '';
        margin-top: -4px;
        top: 50%;
        right: 15px;
        width: 8px;
        height: 8px;
        color: #888;
        font-size: 1em;
        font-weight: bold;
        line-height: 1.2em;
        display: block;
        position: absolute;
        border-top: 2px solid #b0b0b0;
        border-right: 2px solid #b0b0b0;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
?
    #contents {
        width: 100%;
    }
?
    #contents p {
        padding: 0 20px 2em 20px;
    }
}

/*/////////上枠//////////*/

    #switchBtnArea {
        width: 100%;
        height: 60px;
        background: #ffffff;
        border-bottom: #a7a7a7 1px solid;
        position: fixed;
        z-index: 98;
display: block;
    }

/*/////////メニューアイコン//////////*/

    #switchBtnArea #switchBtn {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        display: block;
        background: #eeeeee;
        position: absolute;
        border-radius: 5px;
        z-index: 98;
    }

    #switchBtnArea #switchBtn span {
        left: 20%;
        width: 60%;
        height: 4px;
        display: block;
        position: absolute;
        background-color: #000000;
        border-radius: 5px;
        transition: all 0.2s linear;
    }
    #switchBtnArea #switchBtn span:nth-of-type(1) {
        top: 10px;
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    #switchBtnArea #switchBtn span:nth-of-type(2) {
        top: 18px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    #switchBtnArea #switchBtn span:nth-of-type(3) {
        bottom: 10px;
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    #switchBtnArea #switchBtn.btnClose {
        background: transparent;
    }
    #switchBtnArea #switchBtn.btnClose span:nth-of-type(1) {
        top: 18px;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #switchBtnArea #switchBtn.btnClose span:nth-of-type(2) {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    #switchBtnArea #switchBtn.btnClose span:nth-of-type(3) {
        bottom: 18px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }


/*/////////展開時のメニュー背景//////////*/

    #rwdMenuWrap {
        top: 0;
        left: -270px;
        width: 270px;
        height: 100%;
        background: #a7a7a7;
        position: fixed;
        z-index: 100;
	overflow: hidden;
    }

    #rwdMenuWrap ul {
        width: 100%; /*展開時リンク範囲*/
    }

    #rwdMenuWrap ul li {
        width: 100%; /*展開時リンク範囲*/
        border-bottom: #dddddd 1px solid;
    }
/* ------------------------------
???CLEARFIX ELEMENTS
------------------------------ */
#menuList > ul:before,
#menuList > ul:after {
    content: " ";
    display: table;
}
#menuList > ul:after {clear: both;}
#menuList > ul {*zoom: 1;}
