/* CSS Document */




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

	header

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



#header .inner::before {
	position: absolute; content: "";
	width: 100%; height: 1px; 
	top: 5px;
	background-image: linear-gradient(to right, #a07f76, #a07f76 4px, transparent 4px, transparent 8px);
	background-size: 8px 1px;
	background-repeat: repeat-x;
}
#header .inner::after {
	position: absolute; content: "";
	width: 100%; height: 1px; 
	bottom: 5px;
	background-image: linear-gradient(to right, #a07f76, #a07f76 4px, transparent 4px, transparent 8px);
	background-size: 8px 1px;
	background-repeat: repeat-x;
}



/*------------------------------ h1見出しテキスト：非表示 ------------------------------*/
header h1 {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/*------------------------------ ロゴ ------------------------------*/
#header_logo{
	position: relative;
	width: 440px;
	top: 80px;
	left: 20px;
	background: url("../images/nav_bg.png") no-repeat;
	background-size: 440px 83px;
	text-align: center;
	z-index: 4;
}
#header_logo img{
	position: relative;
	top: -53px;
	margin-left: 4px;
	width: 100px;
	height: 101px;
}





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

	nav

============================================================================*/
nav {
	position: absolute;
	top: 0;
	right: 2.5%;
}
nav ul {
	height: 88px;
	display: flex;
	align-items: center;
	gap: 30px;
}
nav li a {
	position:relative;
	display: block;
	font-size: 14px;
	color: var(--color-brown);
	font-family: "Rosarivo", cursive;
}




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



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


















@media screen and (max-width:640px) {
	header {
		display:none;
	}

	/*------------------------------ h1 ------------------------------*/
	#sp_header h1{
		position:relative;
		top: 0;
		width:100%;
		font-size: 10px;
		color: #FFF;
		line-height: 25px;
		height: 25px;
		background: var(--color-beige);
		letter-spacing: 0;
		text-align: center;
	}


	/*------------------------------ ロゴ ------------------------------*/
	#sp_header_logo {
		position: absolute;
		height: 60px;
		width: 100%;
		min-width: 400px;
		z-index: 2;
		background: #FFF;
		text-align: center;
	}
	#sp_header_logo img {
		position: relative;
		top: 15px;
		z-index: 999;
		width: 70px;
		height: auto;
	}
	#sp_header_logo::before {
		position: absolute; content: "";
		width: 100%; height: 1px; 
		bottom: 5px; left: 0;
		background-image: linear-gradient(to right, #a07f76, #a07f76 3px, transparent 3px, transparent 6px);
		background-size: 6px 1px;
		background-repeat: repeat-x;
	}
	#sp_header_logo::after {
		position: absolute; content: "";
		background: url("../images/nav_bg.png") no-repeat top center;
		background-size: 300px auto;
		width: 100%; height: 60px;
		left: 0; top: 50px;
	}
}




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

	navi

============================================================================*/
.sp_navi {
	display:block;
    position:fixed;
    top: 36px;
    right: 10px;
    width: 75px;
    height: 75px;
    background: #FFF;
    border-radius: 100%;
    box-sizing: border-box;
    border: 1px solid var(--color-beige);
	z-index: 9998;
}
.sp_navi::after {
	content: "MENU";
	position:absolute;
	top:40px;
	right:18px;
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 11px;
	color: #666;
	letter-spacing: 1.2px;
	z-index: 99998;
}



.sp_navi dl dt {
	display:block;
	cursor:pointer;
	padding: 0 4%;
}
.sp_navi dl dd {
	position: fixed;
	display: none;
	background: rgba(233, 139, 62, 0.4);
	width: 100%;
	min-width: 100vw;
	height: calc( 100% + 10px );
    min-height: calc( 100vh + 10px );
	transition: all 0.5s ease-in-out;
	z-index: 9998;
    top: -10px;
}
.sp_navi dl dd.active {
	display: block;
	animation: slidenav 0.5s forwards;
}
@keyframes slidenav{
  from { right: -100%;}
  to { right: 0%;}
}



.sp_navi ul{
	position: absolute;
	display: block;
	right: -100%;
	width: 95%;
	height: 100%;
	padding: 20px 6% 100px;
	box-sizing: border-box;
	background: url("../images/top_img03.png") no-repeat center top , url("../images/bg01.jpg") no-repeat center top;
	background-size: 160% auto , cover;
	z-index: 9998;
	transition: all 0.5s ease-in-out;
	overflow: scroll;
}
.sp_navi ul.active {
	right: 0%;
	animation: slidenav 0.5s forwards;
}




.sp_navi ul li {
	position: relative;
	width:100%;
	text-align: center;
	line-height: 3;
	transition: 0.3s ease-out;
}
.sp_navi ul li a {
	color: #FFF;
	font-family: "Rosarivo", "Shippori Mincho", serif;
	font-size: 14px;
}






/*１つ目のliはロゴ*/
.sp_navi ul li:first-of-type {
	width:100%;
	margin-bottom: 40px;
	padding-top: 30px;
}
.sp_navi ul li:first-of-type img {
    width: 70px;
    height: auto;
}
.sp_navi ul li:first-of-type::before {
	display: none;
}
.sp_navi ul li:first-of-type:hover {
	padding-left: 0;
}




/*--------------------------- ハンバーガーボタン ---------------------------*/
.sp_navi dt a {
    display: block;
    width: 46px;
    height:46px;
    position: absolute;
    top:7px;
    right: 15px;
    z-index: 9999999;
}
.sp_navi dt a span {
    position: absolute;
    display: block;
    width: 32px;
    height: 1px;
    left: 9px;
    background: #666;
    transition: all 0.4s;
}
.sp_navi dt a span:first-child {
    top: 14px;
}
.sp_navi dt a span:nth-child(2) {
    margin-top: -1px;
    top: 50%;
}
.sp_navi dt a span:last-child {
    bottom: 14px;
}
.sp_navi dt a.active span:first-child {
    transform: translateY(8px) rotate(45deg);
	background: #FFF;
}
.sp_navi dt a.active span:nth-child(2) {
    opacity: 0;
}
.sp_navi dt a.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
	background: #FFF;
}



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

	デザイン変更　

============================================================================*/
.sp_navi dd li:nth-of-type(2) { /*HOME*/
}
.sp_navi dd li:nth-of-type(9) { /*区切り線の一つ手前*/
	border-bottom: 1px solid rgba(255,255,255,.1);
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.sp_navi dd li:nth-of-type(13) { /*区切り線の一つ手前*/
	border-bottom: 1px solid rgba(255,255,255,.1);
	padding-bottom: 20px;
	margin-bottom: 20px;
}


	
	








