@charset "UTF-8";

body{
	font-family:'Open Sans', sans-serif;
	font-size:16px;
	color: #000;
	background-color: #fff;
	margin: 0;
}

/*--------header-----------*/

.inner{
	position: relative;
	margin: 0 auto;}

header{
	background-image: url(../images/top-sp.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
	background-size: cover;
	height: 100vh;}

h1{
	position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 10px auto auto;
	height: 90px;
    width: 155px;}

h1 span{
	display: none;
}

.btn_menu{
	display: block;}

#pc_nav{
	display: none;}

#nav {
    width: 160px;
    height: 100%;
    transition: all 0.2s;
    transform: translate(312px);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    background-color: #FFF;
	font-size: 18px;
	padding: 90px 0 0 0;
	list-style-type: none;}

#nav.open {
    transform: translate(0);}

#nav li{
	list-style-type: none;}

#nav a{
	color: #000;
	display: block;
	padding: 5px 20px;
	text-decoration: none;
	font-weight: bold;
	font-size: 18px;
	line-height: 40px;
	transition: all .3s;}

#nav a:hover{
	-webkit-transform: rotate(-10deg);
	-ms-transform: rotate(-10deg);
	transform: rotate(-10deg);}

#icon{
	display: none;}

#h_icon{
	display: block;
	overflow: hidden;
	padding: 0;}

#h_icon a{
	display: block;
	float: left;
	padding: 16px;}


/*   ボタンタグ設定   */
   button {
    display: block;
    background: none;
    border: none;
    padding: 0;
    width: 42px;
    color: #333;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1001;
    text-align: center;
    outline: none;
  }
  /*   ハンバーガーボタン3本線   */
  button span.bar {
    display: block;
    height: 2px;
    background-color: #333;
    margin: 10px 0;
    transition: all 0.2s;
    transform-origin: 0 0;
  }
  button .close {
    letter-spacing: 0.08em;
    display: none;
  }
  button .menu {
    display: block;
  }
  /*  メニューアクティブ時  */
  button.active span.bar {
    width: 49px;
  }
  button.active .bar1 {
    transform: rotate(30deg);
  }
  button.active .bar2 {
    opacity: 0;
  }
  button.active .bar3 {
    transform: rotate(-30deg);
  }
  button.active .menu {
    display: none;
  }
  button.active .close {
    display: block;
  }


h2{
	margin: 0;
	position: fixed;
	top: 30%;
	left: 51%;
	transform: translate(-50%, -50%);
	font-family: "Sawarabi Gothic";
	font-size: 20px;
	font-weight: normal;
	letter-spacing: 0.1em;
	color: #545454;}


@media screen and (min-width: 480px) {
	
	.inner{
		position: relative;
		margin: 0 auto;}
}
@media screen and (min-width: 768px) {
	
	header{
	background: url(../images/top-pc.jpg) no-repeat;
	background-size: cover;
	
	}
	
	h1{
		line-height: 0.3;}

	h1 span{
		display: inline-block;
		color: #000;
		font-size: 14px;
		width: 160px;}
	
	#icon{
		display: block;
		float: left;
		position: absolute;
		top: 0;
		right: 10px;}

	#icon{
		margin-top: 30px;
		padding-left: 195px;}

	#icon a{
		margin-left: 5px;}
	
	#icon a:hover{
		position:relative;
		top:3px;
		left:3px;}
	
	nav{
		position: fixed;
		top: 85px;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 900px;}

	#pc_nav{
		display: block;
		width: 900px;
		overflow: hidden;
		padding: 0;
		margin: 115px auto 5px;}

	#pc_nav li{
		float: left;
		list-style-type: none;}

	#pc_nav a {
		display: block;
		float: left;
		text-decoration: none;
		color: #000;
		width: 145px;
		height: 36px;
		text-align: center;
		font-size: 20px;
		font-weight: bold;
		transition: all .3s;}

	#pc_nav a:hover {
		font-size: 23px;
-webkit-transform: rotate(-10deg);
-ms-transform: rotate(-10deg);
transform: rotate(-10deg);}

	.btn_menu{
		display: none;}

	h2{
		top: 195px;
	}
	
}