@charset "UTF-8";

/*====================================
       header
======================================*/

/*SPOBY logo*/
.h-logo{
  margin-right: auto;
}

/* 項目ごとの幅 */
.h-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
}


.header {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0;
  z-index: 999;
  background: #fff;
  padding: 15px;
  transition: all 1s;
}


.header.hide{
  transform:translateY(-140px);
}

.header .container {
  max-width: 1300px;
}



/* お問い合わせボタン */

.header .h-btn {
  background-color: #fff;
  font-size: 1.4rem;
  width: 173px;
  height: 50px;
  font-weight: 600;
  text-align: center;
  border-radius: 30px;
  color: #0066cc;
  border: solid 2px #0066cc;
  line-height: 50px;
}

.header .h-btn:hover {
	opacity: .5;
}

.header .h-btn div{
	padding-right: 5px;
}

.header .h-btn span {
	display: block;
	width: 8px;
	height: 8px;
	border-top: 2px solid #0066cc;
  	border-right: 2px solid #0066cc;
  	transform: rotate(45deg);
}


.nav_menu{
margin-right: 50px;
}
.nav_menu_list{
display: inline-block;
padding-left: 30px;
}
.nav_menu_list a{
color: #0066cc;
}
.nav_menu_list a:hover{
opacity: .5;
}

.nav_menu_list span{
	opacity: 0;
	position: absolute;
}

.nav_menu_list span .recdis{
	display: block;
	opacity: 1;
	transition: .5s;
}

.nav_menu_list span:last-of-type{
	bottom: -30px;
}


@media screen and (max-width: 768px) {
   
	.nav_menu{
display: flex;
flex-flow: column;
text-align: left;
margin-left: 60px;
margin-top: 100px;
}
.nav_menu_list{
font-size: 1.8rem;
padding: 20px 0;
margin-top: 0px;
}

.buger_menu{
position: relative;
width: 30px;
height: 30px;
z-index: 999;
margin-left: 20px;
}
.buger_menu span{
position: absolute;
display: block;
background: #0066cc;
width: 30px;
height: 2px;
transition: all .5s 0s;
}
.buger_menu span::nth-of-type(1){
top: 5px;
}
.buger_menu span:nth-of-type(2){
top: 13px;
}
.buger_menu span:nth-of-type(3){
top: 25px;
}
.buger_menu.active span:nth-of-type(1){
transform: translateY(5px) rotate(-45deg);
top: 5px
}
.buger_menu.active span:nth-of-type(2){
opacity: 0;
}
.buger_menu.active span:nth-of-type(3){
transform: translateY(5px) rotate(45deg);
top: 5px
}
.navigation{
	position: fixed;
	display: block;
	top: 0;
	right: -120%;
	width: 100%;
	height: 100vh;
	background: rgba(255,255,255,97%);
	transition: all .6s;
	-webkit-transition: all .6s;
	-ms-transition: all .6s;
	-moz-transition: all .6s;
}
.asw{
right: -10%;
z-index: 999;
}
	
	
/* ハンバーガーメニュー */

  .header {
    top: 0px;
  }
  .header .h-logo {
    max-width: 126px;
    line-height: 1;
  }
  .header .h-btn {
    font-size: 1rem;
    width: 140px;
    height: 38px;
    line-height: 38px;
	margin-left: 10px;
  }
}

@media screen and (max-width: 340px){
  .header .h-btn {
    font-size: .5rem;
	line-height: 18px;
  }
}
