/*クリック範囲用*/
.hamburger {
    display: block;
    position: fixed;
    top: 2.5rem;
    right: 2.2rem;
    z-index: 100000;
    padding: 16px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

@media screen and (min-width: 540px) {
    .hamburger {
        display: none;
    }
}


@media screen and (max-width: 540px) {
    .hamburger {
        top: 2.5rem;
        margin-right: 1.5rem;
        transform: translateY(-50%);
        right: 0px;
        padding: 0px;
    }
}

/*ハンバーガーアイコン*/
.hamburger__icon {
    position: relative;
}

.hamburger__icon,
.hamburger__icon:before,
.hamburger__icon:after {
    display: block;
    width: 32px;
    border-radius: 5px;
    height: 2px;
    background-color: #222;
    -moz-transition-property: background-color, -moz-transform;
    -o-transition-property: background-color, -o-transform;
    -webkit-transition-property: background-color, -webkit-transform;
    transition-property: background-color, transform;
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

.hamburger__icon:before,
.hamburger__icon:after {
    position: absolute;
    content: "";
}

.hamburger__icon:before {
    top: -10px;
}

.hamburger__icon:after {
    top: 10px;
}

.hamburger.active .hamburger__icon {
    background-color: transparent;
}

.hamburger.active .hamburger__icon:before,
.hamburger.active .hamburger__icon:after {
    background-color: #000;
}

.hamburger.active .hamburger__icon:before {
    -moz-transform: translateY(10px) rotate(45deg);
    -ms-transform: translateY(10px) rotate(45deg);
    -webkit-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active .hamburger__icon:after {
    -moz-transform: translateY(-10px) rotate(-45deg);
    -ms-transform: translateY(-10px) rotate(-45deg);
    -webkit-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
}

.fat-nav {
    top: 0;
    left: 0;
    z-index: 9999;
    font-weight: bold;
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1); //背景色
    -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.fat-nav__wrapper {
    width: 100%;
    height: 100%;
    display: table;
    table-layout: fixed;
}

.fat-nav.active {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.fat-nav ul {
    display: table-cell;
    padding: 0;
    padding-top: 10rem;
    width: 80%;
    margin: auto;
}

.fat-nav li {
    list-style-type: none;
    text-align: left;
    padding: 10px;
    font-size: 1.4em;
}

.fat-nav li,
.fat-nav li a {
    color: #333; //文字色
}

.fat-nav li a {
    text-decoration: none;
}