@charset "utf-8";

#header-drawer {
	display: none;
}


/* === SP ====================== */
@media screen and (max-width: 748px) {

#header-drawer {
	display: block;
}
	
	
/* drawer menu */
.drawer-menu {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    padding: 0;
    background: #eee;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: perspective(500px) rotateY(-90deg);
    transform: perspective(500px) rotateY(-90deg);
    opacity: 0;
}

.drawer-menu li {
    text-align: left;
	border-bottom: 1px dotted #999;
	background: #fff;
}
	
.drawer-search {
    background: #eee !important;
    height: 7rem;
	padding: 2rem 0 0 2rem;
}
	
.drawer-search .drawer-search-text {
	border: 2px solid #00AFCC;
	height: 3rem;
	-webkit-border-radius: 5;
	-moz-border-radius: 5;
	border-radius: 5px;
}
	
.drawer-search .drawer-search-btn {
	-webkit-border-radius: 5;
	-moz-border-radius: 5;
	border-radius: 5px;
	font-family: Arial;
	color: #ffffff;
	background: #00AFCC;
	padding: 7px 10px;
	text-decoration: none;
	border: 0;
}

.drawer-search .drawer-search-btn:hover {
	background: #2196de;
	text-decoration: none;
}

.drawer-menu li a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    color: #000;
    -webkit-transition: all .8s;
    transition: all .8s;
	background: url(../images/f-icon-arrow2.png) 15px 15px no-repeat;
	padding-left: 4rem;
}

.drawer-menu li a:hover {
    color: #00AFCC;
	background: #D2F0F6 url(../images/f-icon-arrow1.png) 15px 15px no-repeat;
}

/* checkbox */
.check {
    display: none;
}

/* menu button - label tag */
.menu-btn {
    position: absolute;
    display: block;
    top: -15px;
    right: -15px;
    display: block;
    width: 50px;
    height: 60px;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
	background: rgba(0,175,204,0.7);
}

.bar {
    position: absolute;
    top: 10px;
    left: 5px;
    display: block;
    width: 40px;
    height: 2px;
    background: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
}

.bar.middle {
    top: 20px;
    opacity: 1;
}

.bar.bottom {
    top: 30px;
    -webkit-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    transform-origin: left bottom;
}

.menu-btn__text {
    position: absolute;
    bottom: -0px;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    display: block;
    visibility: visible;
    opacity: 1;
}

.menu-btn:hover .bar {
    background: #fff;
}

.menu-btn:hover .menu-btn__text {
    color: #fff;
}

.close-menu {
    position: fixed;
    top: 0;
    right: 300px;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0);
    cursor: url(../images/cross.png) ,auto;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    visibility: hidden;
    opacity: 0;
}

/* checked */
.check:checked ~ .drawer-menu {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 1;
    z-index: 9998;
}

.check:checked ~ .contents {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    transform: translateX(-300px);
}

.check:checked ~ .menu-btn .menu-btn__text {
    visibility: hidden;
    opacity: 0;
}

.check:checked ~ .menu-btn .bar.top {
    width: 55px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.check:checked ~ .menu-btn .bar.middle {
    opacity: 0;
}

.check:checked ~ .menu-btn .bar.bottom {
    width:55px;
    top: 49px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.check:checked ~ .close-menu {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    background: rgba(0,0,0,.5);
    visibility: visible;
    opacity: 1;
    z-index: 9999;
}
	
}