/*クリック範囲用*/
.hamburger {
    display: block;
    width: 56px;
    height: 3.3rem;
    position: fixed;
    top: 0rem;
    right: 0rem;
    transform: translateY(50%);
    z-index: 10000;
    -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: 749px) {
    .hamburger {
        display: none;
    }
}


@media screen and (max-width: 540px) {
    .hamburger {
        right: -1rem;
        padding: 0px;
    }
}

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

.hamburger__icon,
.hamburger__icon:before,
.hamburger__icon:after {
    display: block;
    width: 2rem;
    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: #33;
}

.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;
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); //背景色
    -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;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.fat-nav li {
    list-style-type: none;
    text-align: center;
    padding: 10px;
    font-size: 1.4em; //文字サイズ
}

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

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