@charset "UTF-8";
/* CSS Document */

header {
	position: relative;
}
header img {
	width:30%;
	min-width: 140px;
}
 
/*ロゴの大きさを調整*/
/*#logo img {
  width:30%;
}*/
/*#mail {
	width: 100%;
}*/
#mail img {
	max-width: 50px;
	padding:4px 100px 0 0;
}

nav{
 width: 100%;
 max-width: 1000px;
 height: 70px;
 position: fixed;
 background: #FFFFFF;
}
 
.drawer{
 display: flex;
 flex-direction: row;
 align-items: center;
 justify-content: space-between;
 position: relative;
 height: 70px;
	/*width: 600px;*/
 padding: 0 1.3em;
}
 
/*ナビゲーション部分*/
 
.menu ul li a {
  display:block;
  font-weight:bold;
	font-size: 1.5rem;
  padding: 1.5em;/* 初期値2em 2回目(0.2em 1em) */
  border-bottom: 1px dotted #CCC;
  color:#333;
  text-decoration:none;
}
 
 
.menu ul li a:hover {
	background-color:rgba(0,0,0,0.5);
	color:orange;
}
 
 
.menu{
 
  text-align:center;
  background-color:rgba(255,255,255,0.95);
  transition: 0.5s ease;/*滑らかに表示*/
  -webkit-transform: translateX(100%);/*画面より100%外へ押し出し非表示にさせる*/
 
/*  transform: translateX(-100%);/*右から出す場合は、マイナス100%としてください*/
 
}
 
/*OPEN時の動き*/
.menu.open {
 -webkit-transform: translateX(0%);
 transform: translateX(0%);/*メニューを元の位置へ戻す*/
 
}
 
/*トグルボタンのスタイルを指定*/
.Toggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 3;
    right:15px;
}
 
.Toggle span {
    display: block;
    position: absolute;
    width: 50px;
    border-bottom: solid 4px #333;
    -webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
    transition: .35s ease-in-out;			/*変化の速度を指定*/
 
}
 /*各ボーダー少しずつずらす*/
.Toggle span:nth-child(1) {
    top:5px;
}
 .Toggle span:nth-child(2) {
    top: 18px;
}
 .Toggle span:nth-child(3) {
    top: 32px;
}
.Toggle.active span:nth-child(1) {
    top: 18px;
/* 1番目のspanをマイナス45度に */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

h1 img {
	margin-top: 70px;
}

/*----------------------------------ここからPCモニターの記述-----------*/
@media screen and (min-width: 890px) /* 前回600px */{
 
/*ロゴの大きさを調整*/
	#logo img{
		max-width: 50%;
		max-height: 80%;
	}	/* 66px */
	nav{
		display: flex;
	}
	.Toggle{
		display: none;
	}
	.menu{
		width: 100%;
		font-size:1em;
		background-color: transparent;
		margin:-10px 10px;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
	.menu ul{
		 height: 60px;
		 display: flex;
		 flex-wrap: wrap;
		 justify-content: flex-end;
		 align-items: center;
	}
	.menu ul li a{
		 padding: 0 1em;
		 border-bottom: none;
	}
	.menu ul li a:hover{
		background-color:transparent;
	}
	#mail {
		display: none;
	}
}