/* CSS Document */




/*============================================================================

	header

============================================================================*/
#header{
	position: absolute;
	width:100%;
	height: 130px;
    z-index: 999;
}
@media screen and (max-width:640px) {
    #header{
        min-width:400px;
        height: 160px;
		overflow: hidden;
    }
}




/*------------------------------ h1見出しテキスト ------------------------------*/
header h1{
	position: relative;
	top: 20px;
	padding-left: 3%;
	font-size: 10px;
	color: #fff;
}



/*------------------------------ ロゴ ------------------------------*/
#header_logo{
	position:absolute;
	padding-left: 3%;
	top:60px;
	z-index: 99;
}
#header_logo img{
	width: 70px;
}
#header_logo .logo_c{
	display: none;
}






/*============================================================================

	nav

============================================================================*/
nav {
	position: relative;
}
nav ul{
	margin-top: 20px;
	margin-right: 30px;
	text-align: right;
}
nav li {
	position:relative;
	display: inline-block;
	margin: 0 12px;
}
nav li a {
	position:relative;
	display: block;
	font-size: 15px;
	color: #FFF;
}
nav li:hover a {
	color: rgba(255,255,255,.6);
}
nav li:last-of-type a {
	padding: 4px 30px;
	border: 1px solid #FFF;
	background: #FFF;
	border-radius: 30px;
	transition: 0.3s ease-out;
	font-size: 14px;
	color: #3b2517;
}
nav li:last-of-type:hover a {
	color: #FFF;
	background: none;
}



/*------------------------------ ホバーのボーダー ------------------------------*/
nav li a::before{
    position: absolute;
	left: 0;
	right:0;
	bottom: -6px;
	width:100%;
	height:1px;
	margin:auto;
	background-color: #FFF;
	transition: 0.15s  ease-out;
	transform: scaleX(0);
	content: "";
	z-index: 1;
}
nav li a:hover::before{
	transform: scaleX(1);
}
nav li:last-of-type a:hover::before{
	transform: scaleX(0);
}



/*------------------------------ PC＊スクロール後設定 ------------------------------*/
#header.HeightMin{
	position: fixed;
	min-width: auto;
	height:85px;
	animation: DownAnime 0.5s forwards;
	z-index: 99999;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-170px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

#header.HeightMin h1{
	display: none;
}
#header.HeightMin #header_logo{
	top: 30px;
}
#header.HeightMin #header_logo .logo_w{
	display: none;
}
#header.HeightMin #header_logo .logo_c{
	display: block;
}
#header.HeightMin nav {
	margin-top: 30px;
}
#header.HeightMin nav li a {
	color: #3b2517;
}
#header.HeightMin nav li a::before{
	background-color: #d3914b;
}
#header.HeightMin nav li:last-of-type a {
	border: 1px solid #3b2517;
	background: none;
}
#header.HeightMin nav li:last-of-type:hover a {
	color: #FFF;
	background: #3b2517;
}






/*============================================================================

	▼▽▼▽▼▽▼▽▼▽ここからSP用▼▽▼▽▼▽▼▽▼▽

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


/*============================================================================

	header

============================================================================*/
header {
	display:none;
}

/*------------------------------ h1 ------------------------------*/
.ham_nav h1{
	position:relative;
	top: 0;
	width:100%;
	box-sizing: border-box;
	font-size: 10px;
	line-height: 25px;
	height: 25px;
	background: rgba(38,24,17,.8); /*342720*/
	text-align: center;
	letter-spacing: 0;
	color: #FFF;
}

	
	
	

/*============================================================================

	navi

============================================================================*/
nav{
	display:none;
}
.ham_nav {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	min-width: 400px;
	z-index: 9998;
}
.ham_nav dl{
}
.ham_nav dl dt {
	cursor:pointer;
}
.ham_nav dl dd {
	position: absolute;
	right: -100%;
	width: 100%;
	height: 1000px;
	background: rgba(25,66,30,.5);
	transition: all 0.5s ease-in-out;
	text-align: center;
	z-index: 9999;
}
.ham_nav dl dd.active {
	right: 0%;
}
.ham_nav ul{
	position: absolute;
	right: -100%;
	width: 90%;
	min-width: 300px;
	height: 1000px;
	padding-top: 70px;
	background: #e6e2de;
	transition: all 0.5s ease-in-out;
	z-index: 99999;
}
.ham_nav ul.active {
	right: 0%;
}
	
	
/*------------------------------ ナビ ------------------------------*/
.ham_nav ul li {
	position: relative;
	line-height:2.7;
}
.ham_nav ul li a {
    font-size: 17px;
    display: block;
}
	
	
/*------------------------------ ロゴ ------------------------------*/
.ham_nav ul li:first-child {
    margin-bottom: 30px;
}
.ham_nav ul li img {
    width: 140px; 
    height: auto;
    margin: 0 auto;
}
	
/*------------------------------ btn　お問い合わせ ------------------------------*/
.ham_nav li:last-of-type a {
	width: 80%;
    margin: 30px auto;
    padding-left: 0;
    background: #573b1f; 
    color: #FFF;
    text-align: center;
    border-radius: 50px;
    line-height: 55px;
    height: 55px;
    border: none;
}

	
	

/*------------------------------ ハンバーガー ------------------------------*/
.ham_nav dt a {
    position: absolute;
    display: block;
    top: 40px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: #476b4b;
    border-radius: 50%; 
    z-index: 9999999;
    transition: all 0.3s;
}
.ham_nav dt a span {
    position: absolute;
    display: block;
    left: 19px;
    width: 22px;
    height: 2px;
    background: #e6e2de;
    transition: all 0.4s;
}
.ham_nav dt a span:first-child {
    top: 22px;
}
.ham_nav dt a span:nth-child(2) {
    top: 29px;
}
.ham_nav dt a span:last-child {
    top: 36px;
    transition-delay: 0s;
}
.ham_nav dt a.active span:first-child {
	top: 29px;
    transform: rotate(45deg);
}
.ham_nav dt a.active span:nth-child(2) {
	left: -40px;
    opacity: 0;
}
.ham_nav dt a.active span:last-child {
	top: 29px;
    transform: rotate(-45deg);
}
	
	
}






