/* CSS Document */




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

	header

============================================================================*/
#header {
	position: absolute;
	width: 100%;
	height: 200px;
	background: #FFF;
}
#header .inner {
	position: relative;
	width: 90%;
	height: inherit;
	margin: 0 auto;
}

/*------------------------------ h1 ------------------------------*/
#header h1 {
	position: absolute;
	top: 33px;
	right: 0;
	font-size: 12px;
}

/*------------------------------ ロゴ ------------------------------*/
#header_logo {
	position: absolute;
	top: 38px;
}
#header_logo img {
	width: 160px;
	height: auto;
}
#header_logo .scroll_logo { display: none;}

/*------------------------------ 住所・電話番号 ------------------------------*/
#header_info {
	position: absolute;
	top: 65px;
	right: 0;
	display: flex;
	align-items: center;
}
#header_add {
	margin-right: 35px;
	font-size: 16px;
}
#header_tel {
	position: relative;
}
#header_tel a {
	color: #222;
	padding-left: 62px;
	font-family: "Lato", sans-serif;
	font-size: 32px;
	letter-spacing: 1px;
}
#header_tel::before {
	position: absolute; content: "";
	left: 17px;
	top: 50%;
	width: 15px; height: 15px;
	background: url("../images/icon01.png") no-repeat 0 0 / 15px 15px;
	transform: translateY(-50%);
	z-index: 2;
}
#header_tel::after {
	position: absolute; content: "";
	left: 0;
	top: 50%;
	width: 50px; height: 50px;
	border-radius: 50%;
	background: var(--color-beige-light);
	box-sizing: border-box;
	border: 2px solid var(--color-beige-light);
	transform: translateY(-50%);
	z-index: 1;
	transition: 0.3s ease-out;
}
#header_tel:hover a {
	color: var(--color-orange);
}
#header_tel:hover::after {
	background: #FFF;
}
@media screen and (max-width:1540px) {
	#header_add {
		font-size: 15px;
	}
}






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

	nav

============================================================================*/
#header nav {
	position: absolute;
	bottom: 32px;
	right: 0;
}
#header nav ul {
	display: flex;
	gap: 30px;
}
#header nav ul li {
	font-size: 16px;
	font-weight: 500;
}
@media screen and (max-width:1540px) {
	#header nav ul li {
		font-size: 15px;
	}
}


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



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


/*----- 非表示 ------*/
#header.HeightMin h1 { display: none;}
#header.HeightMin #header_info { display: none;}

/*----- ロゴ ------*/
#header.HeightMin #header_logo {
	top: 22px;
}
#header.HeightMin #header_logo img {
	width: 220px;
}
#header.HeightMin #header_logo .main_logo { display: none;}
#header.HeightMin #header_logo .scroll_logo { display: block;}

/*----- nav -----*/
#header.HeightMin nav {
	bottom: 26px;
}






/*--------------------------- 	ドロップダウン ---------------------------*/
.has_dropdown {
	position: relative;
}
.dropdown {
	position: absolute;
	top: 150%;
	left: -297px;
	width: 640px;
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	background: var(--color-beige-light);
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px !important;
	z-index: 10;
	transition: 0.3s ease-out;
}
.has_dropdown:hover .dropdown {
	opacity: 1;
	visibility: visible;
}
.dropdown li a {
	display: block;
	padding: 7px 17px;
	color: #222;
	background: #FFF;
	font-size: 15px;
	border-radius: 3px;
}
.dropdown li a::before { 
	display: none;
}
.dropdown li a:hover {
	padding: 7px 22px;
	background: rgba(255,255,255,.6);
}
.has_dropdown::before {
	position: absolute; content: "";
	top: 100%;
	left: 0;
	width: 100%;
	height: 50%;
}










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

/*------------------------------ h1 ------------------------------*/
#sp_header #sp_midashi{
	position:relative;
	top: 0;
	width:100%;
	box-sizing: border-box;
	font-size: 10px;
	color: #000;
	line-height: 25px;
	height: 25px;
	background: var(--color-beige-light);
	padding-left: 4%;
	letter-spacing: 0;
}


/*------------------------------ ロゴ ------------------------------*/
#sp_header_logo {
	position: absolute;
	width: 220px;
	padding-top: 15px;
	margin-left: 4%;
}
#sp_header_logo img {
	position: relative;
	z-index: 999;
}
}




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

	navi

============================================================================*/
.sp_navi {
	display:block;
    position:fixed;
    top: 10px;
    right: 10px;
    width: 75px;
    height: 75px;
    background: #FFF;
    border-radius: 5px;
    box-sizing: border-box;
    border: 1px solid #eee;
	z-index: 9998;
}
.sp_navi::after {
	content: "MENU";
	position:absolute;
	top:44px;
	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(211,194,172,.5);
	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: #fff;
	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%;
	box-sizing: border-box;
	padding-left: 8%;
	border-bottom: 1px solid #ddd;
	line-height: 4;
	transition: 0.3s ease-out;
	color: #999;
	
}
.sp_navi ul li a {
	color: #222;
}
.sp_navi ul li::before {
	position: absolute; content: "";
	top: 29px; left: 5px;
	width: 10px; height: 10px;
	box-sizing: border-box;
	border: 3px solid var(--color-beige);
	border-radius: 100%;
}
.sp_navi ul li a:hover {
	padding-left: 10px;
}



/*下層に入るデザイン*/
.sp_navi dd li.sp_under {
	border-bottom: none;
	border-bottom: 1px dashed #eee;
    line-height: 3.5;
}
.sp_navi dd li.sp_under a {
	position: relative;
    padding-left: 17px;
}
.sp_navi dd li.sp_under::before { 
    display: none;
}
.sp_navi dd li.sp_under a::before { 
    position: absolute; content: "";
    width: 7px; height: 7px;
	background: var(--color-beige);
    border-radius: 100%;
    top: 8px; left: 0px;
}
.sp_navi dd li.sp_under a:hover {
    padding-left: 25px;
}



/*１つ目のliはロゴ*/
.sp_navi ul li:first-of-type {
	width:100%;
	margin-bottom: 20px;
	padding-left: 0;
	border-bottom: 0;
}
.sp_navi ul li:first-of-type a {
	padding-left: 0;
}
.sp_navi ul li:first-of-type img {
    width: 200px;
    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 {
    background: #000;
    transform: translateY(8px) rotate(45deg);
}
.sp_navi dt a.active span:nth-child(2) {
    opacity: 0;
}
.sp_navi dt a.active span:last-child {
    background: #000;
    transform: translateY(-8px) rotate(-45deg);
}





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

	デザイン変更　

============================================================================*/
.sp_navi dd li:nth-of-type(2) { /*HOME*/
}
.sp_navi dd li:nth-of-type(6) { /*親はじめ*/
	border-bottom: 1px dashed #eee;
}
.sp_navi dd li:nth-of-type(18) { /*子おわり*/
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}



	
	





