@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu {
	display:none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:1px solid #FFF;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before{
	display: none;
    color: #000;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#spicon.m_active span:nth-child(1) {
    /*border-color: #FFF;*/
}
#spicon.m_active span:nth-child(3) {
    /*border-color: #FFF;*/
}
#spicon.m_active:before {
    /*color: #FFF;*/
}
/* 開閉後の背景の色 */
#center_box {
    background-color: #fcfbf6;
}

/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:30px;
	top:40px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:max-content;
	height:70px;
    background-color: #759450;
	border-radius:12px;
    padding: 20px 0 20px 24px;
	z-index:9999;
	cursor:pointer;
    display: flex;
	align-items: center;
    justify-content: space-between;
	transition: 0.3s ease;
}
#spicon:before {
    content: "MENU";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
	transition: all .4s;
}
#spicon span {
	width:100%;
	transition: all .4s;
}
.sp_icon_border {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	width: 30px;
	height: 20px;
}

.sp_icon_text {
	color: #FFF;
	font-size: 18px;
	border-left: 1px solid rgba(255,255,255,0.5);
	width: 135px;
	height: 100%;
	text-align: center;
	margin-left: 24px;
	position: relative;
}
.sp_icon_text:after {
	content: "MENU";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	white-space: nowrap;
	transition: 0.3s ease;
}
#spicon.m_active .sp_icon_text:after {
	content: "CLOSE";
}
#spicon:hover {
	background-color: #d86c5d;
}
#spicon.m_active {
	background-color: #d86c5d;
}
/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
    transform: translateY(-10px) rotate(-135deg);
}
#spicon.m_active:before {
    content: "CLOSE";
}

/**************************************
	メニューオープン
***************************************/
#open_menu {
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	position:fixed;
	z-index:9990;
	top:0;
	left:0;
	width:100%;
}
#open_menu:after {
    content: "";
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}
/***********/
#center_box {
	position:fixed;
	right:0;
	top:0;
	width:600px;
	margin:0;
	height:100%;
	display:block;
	overflow-y:scroll;
	padding:150px 40px;
    z-index: 500;
    transform: translateX(100%);
    transition: .5s ease
}
#center_box.is-open {
    transform: translateX(0);
    pointer-events: auto
}
.sp_width {
    width: 80%;
    margin: 0 auto
}
.sp_width a {
    color: inherit;
    font-size: 20px;
    transition: .3s ease
}
.sp_width li:nth-child(n+2) {
    margin-top: 50px
}
.sp_width .now a {
    color: #50a9a0
}
/**************************************
	MENUの中身
***************************************/

.sp_menu ul {
	display: flex;
	flex-direction: column;
	gap: 35px;
}
.sp_menu a {
	color: inherit;
	font-size: 22px;
	position: relative;
	transition: 0.3s ease;
}
.sp_menu .sp_web a {
	color: #d86c5d;
}
.sp_menu a:before {
	content: "";
	background-color: #759450;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	transition: 0.3s ease;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	opacity: 0;
}
.sp_menu .sp_web a:before {
	background-color: #d86c5d;
}

.sp_menu a:hover {
	padding-left: 25px;
}
.sp_menu a.active {
	padding-left: 25px;
}
.sp_menu a:hover:before {
	opacity: 1;
}
.sp_menu a.active:before {
	opacity: 1;
}

.sp_tel_flex {
	display: none;
}
.pc_tel {
}

.sp_tel_absolute {
	position: absolute;
	top: 40px;
	left: 40px;
	font-size: 20px;
	color: #FFF;
	background-color: #759450;
	border-radius: 12px;
	width: 260px;
	text-align: center;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 3px;
	letter-spacing: 0.06em;
}
.pc_tel {
	font-size: 24px;
}
.pc_tel span {
	margin-right: 5px;
	font-size: 16px;
}
.sp_tel_absolute a {
	color: inherit;
}


@media only screen and (max-width: 1024px){
	#sp_box {
		display:block;
	}    

	#spicon {
		right:30px;
	}

}

@media only screen and (max-width: 768px){
/**************************************
	ハンバーガーアイコン
***************************************/
	#spicon {
		right:20px;
		top:15px;
		height:60px;
		padding: 10px 0 10px 15px;
	}
	.sp_icon_border {
		width: 25px;
		height: 17px;
	}

	.sp_icon_text {
		font-size: 15px;
		width: 80px;
		margin-left: 15px;
		position: relative;
	}
	.sp_icon_text:after {
		content: "MENU";
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
		white-space: nowrap;
		transition: 0.3s ease;
	}
	#spicon:hover {
		background-color: #759450;
	}
	#spicon.m_active {
		background-color: #d86c5d;
	}
	/* ボタンを押した後のボタンのスタイル */
	#spicon.m_active span:nth-child(3) {
		transform: translateY(-8px) rotate(-135deg);
	}
	/***************/
	#center_box {
		width:88%;
		padding:130px 30px;
	}
	.sp_menu ul {
		gap: 30px;
	}
	.sp_menu a {
		font-size: 21px;
		white-space: nowrap;
	}
	.sp_tel_absolute {
		top: 15px;
		left: 34px;
		font-size: 17px;
		height: 60px;
		width: 140px;
	}
	.sp_tel_flex {
		display: flex;
		gap: 10px;
	}
	.pc_tel {
		display: none;
	}
	.sp_tel_flex span{
		flex-shrink: 0;
	}
	.sp_tel_flex img{
		width: 17px;
		flex-shrink: 0;
		height: auto;
		position: relative;
		top: -2px;
	}



}


