@charset "UTF-8";


/* CSS Document */

.drawer ul {
	margin-top: 50px;
  list-style: none;
}



.drawer li a{
    margin: 0 0 0 -0px;
    display: block;
    width: 15%;
    font-size: 16px;
    padding: 15px;
    font-weight: bold;
    color: #000000;
    padding-left: 25px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px;
}


.drawer li a:hover{
    color: #FFBE00;
}

.nav_gaiyou{
	background-image: url(img/icon_company_b.png);
}

.nav_rinen{
	background-image: url(img/icon_rinen_b.png);
}

.nav_access{
	background-image: url(img/icn_map_b.png);
}

.nav_contact{
	background-image: url(img/icn_mail_b.png);
}


/*ドロワーメニューのClose時のスタイルシート*/
.drawer {
    width: 100%;
    padding: 0px;
    z-index: 9999;
    float: left;
    position: fixed;
    top: 0px;
    left: 0px;
}

.side_logo{
	width: 15%;
	margin-top: 5%;
	margin-left: 5%;
}


/*ドロワーメニューの開閉ボタンPCは非表示*/
.drbtn {
  position: fixed;
  top:−999px;
  right: -50px;
  width: 50px;
  height: 50px;
  -webkit-transition:ease .5s;
  transition:ease .5s;
  cursor:pointer;
  align-items: flex-end;
  display: flex;
  justify-content: center;
  font-size: 10px;
  padding-bottom: 2px;
  z-index: 10000;
}

/*ハンバーガーボタンを作るスタイルシート*/
.hambarg {
  position: absolute;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  height: 2px;
  width: 30px;
  background: #5c6b80;
  -webkit-transition: ease .5s;
  transition: ease .5s;
}
.hambarg:nth-child(1) {
    top: 20%;
    left: 50%;
}
.hambarg:nth-child(2) {
    top: 40%;
    left: 50%;
}
.hambarg:nth-child(3) {
    top: 60%;
    left: 50%;
}

/*ドロワーメニューをOPENにするスタイルシート*/
.drawer.action {
  -webkit-transform:translateX(0);
  transform:translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
 
/*ボタンをドロワーメニュー内に表示*/
.drbtn.action {
  right: 0;
}
 
/*ハンバーガーボタンを"×"に変える*/
.action .hambarg:nth-child(1) {
    top: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(45deg);
    transform: translate(-50%,-50%) rotate(45deg);
  }
.action .hambarg:nth-child(2) {
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    opacity: 0;
  }
.action .hambarg:nth-child(3) {
    top: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(-45deg);
    transform: translate(-50%,-50%) rotate(-45deg);
  }



/* ここまでメニュー */


@media only screen and (max-width: 670px) {
	
	
	.drawer {
  position:fixed;
  top:0;
  left:0;
  width: 300px;
  height: 100%;
  padding: 50px 0px;
		background-color: rgba(255,255,255,0.75);
  -webkit-transform: translateX(-300px);
  transform: translateX(-300px);
  -webkit-transition:ease .5s;
  transition:ease .5s;
  z-index:9999;
}
	
	.drawer li a{
    width: 80%;
}
	
	.side_logo{
	width: 40%;
	margin-top: 5%;
	margin-left: 30%;
}

	
	
	.drbtn {
  position: fixed;
  top:0;
  right: -50px;
  width: 50px;
  height: 50px;
  -webkit-transition:ease .5s;
  transition:ease .5s;
  cursor:pointer;
  align-items: flex-end;
  display: flex;
  justify-content: center;
  font-size: 10px;
  padding-bottom: 2px;
  z-index: 10000;
}
	
}
