<style type="text/css">

/* layout */
#egift{
	padding: 0 5%;
}

#egift p{
	line-height: 1.6;
}

#egift img{
 width: 100%;
 max-width: 100%;
 margin: auto;
}

#egift .egift__wrap{
 max-width: 600px;
 margin: auto;
}
#egift .egift__inner{
	margin-bottom: 60px;
}

/* .egift__lead */
#egift .egift__lead{
 	margin-top: 30px;
	margin-bottom: 40px;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: pace-between;
	justify-content: space-between;
}

#egift .egift__lead .egift__lead--text{
 width: 70%;
}

#egift .egift__lead .egift__lead--img{
 width: 30%;
	text-align: center;
}


#egift .egift__lead .egift__lead--img img{
	max-width: 114px;
 margin-top: -10px;
}

/* .egift__ttl */

#egift .egift__ttl{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: pace-between;
	justify-content: space-between;
	align-items:center;
	color: #846e42;
	line-height: 1;
	padding: 0 35px;
	width: 100%;
 height: 68px;
 background: url(https://www.sleep-magniflex.jp/pic-labo/egiftPage_ttl_bk.png) no-repeat;
  background-size: contain;
	margin-bottom: 50px;
}

#egift .egift__ttl .egift__ttl--text{
	font-size: 29px;
 font-weight: 600;
}

#egift .egift__ttl .egift__ttl--text img{
	width: 35px;
	margin-right: 10px;
}

#egift .egift__ttl .egift__ttl--sub{
	font-size: 16px;
 font-weight: 600;
	margin-top: 15px;
}

/* .egift__about */
#egift .egift__about--wrap{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: pace-between;
	justify-content: space-between;
}

#egift .egift__about--box{
	width: 48%;
	padding: 35px 25px 70px;
	text-align: center;
	position: relative;
}

#egift .egift__about--sender{
	background-color: #fffbef;
	border: 2px solid #efebda;
}

#egift .egift__about--receiver{
	background-color: #fcf6f2;
	border: 2px solid #efe0da;
}

#egift .egift__about--box h5{
	height: 2px;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
  align-items: center;
	position: relative;
  top: -37px;
	margin: 0 15px;
}

#egift .egift__about--sender h5{
	background: #fffbef;
}

#egift .egift__about--receiver h5{
	background: #fcf6f2;
}

#egift .egift__about--icon{
	width: 45px;
	margin-top: -10px;
	margin-right: 15px;
	margin-left: -10px;
}

#egift .egift__about--ttl{
	font-size: 23px;
	font-weight: 600;
	color: #49422f;
}

#egift .egift__about--text{
	color: #49422f;
	text-align: left;
}

#egift .egift__about--btnWrap{
	position: absolute;
	bottom: 25px;
	left: 0;
	right: 0;
	margin: auto;
}

#egift .egift__about--btn{
	text-align: center;
	position: relative;
  display: inline-block;
}

#egift .egift__about--btn::before{
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-color: #846e42;
	margin: 3px;
	position: absolute;
}

#egift .egift__about--btn a{
 line-height: 1;
 padding: 8px 40px 9px 30px;
	display: inline-block;
	background-color: #fff;
	border: 2px solid #846e42;
	color: #846e42;
	font-size: 90%;
	font-weight: 600;
	position: relative;
}

#egift .egift__about--btn a:hover{
	margin-right: -3px;
  margin-bottom: -3px;
	transition-duration: 0.2s;
}

#egift .egift__about--btn a::before{
	content: '';
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-top: solid 2px #846e42;
	border-right: solid 2px #846e42;
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 10px;
}

#egift .egift__about--marker{
	font-weight: 600;
	display: inline-block;
	background: linear-gradient(transparent 60%, #e5c028 0%);
}

#egift .egift__step .egift__step--text .small{
	  font-size: 11px;
    line-height: 1.2;
    display: inline-block;
    margin-top: 5px;
}

#egift .egift__list{
	text-align: center;
	margin-top: -20px;
	position: relative;
}

#egift .egift__list a{
	text-align: center;
	display: inline-block;
	color: #fff;
	background-color: #49422f;
	padding: 14px 60px 16px 40px;
	position: relative;
}

#egift .egift__list a:hover{
opacity: 0.7;
}

#egift .egift__list a::before{
	  content: '';
    width: 6px;
    height: 6px;
    margin-top: -5px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 15px;
}

#egift .egift__step{
		position: relative;
		margin-bottom: 90px;
}

#egift .egift__send .egift__step{
		background-color: #fffbef;
    border: 2px solid #efebda;
}

#egift .egift__receive .egift__step{
	  background-color: #fcf6f2;
    border: 2px solid #efe0da;
}

#egift .egift__step--arrow::after{
		content: '';
    border-style: solid;
    border-width: 30px;
    position: absolute;
    bottom: -90px;
    left: 0;
    right: 0;
    height: 0px;
    width: 0px;
    margin: auto;
} 

#egift .egift__send .egift__step--arrow::after{
	border-color: #ede9d9 transparent transparent transparent;
}

#egift .egift__receive .egift__step--arrow::after{
	border-color: #efe8e4 transparent transparent transparent;
}

#egift .egift__step .egift__step--icon{
	width: 80px;
	position: absolute;
	position: absolute;
	top: -30px;
	left: -30px;
}

#egift .egift__step .egift__step--wrap{
	display: flex;
	-webkit-justify-content: pace-between;
  justify-content: space-between;
}

#egift .egift__step .egift__step--text{
	width: 55%;
	padding: 20px 0 20px 40px;
	display: flex;
  align-items: center;
}


#egift .egift__step .egift__step--img{
	width: 45%;
	padding: 0 20px 0 10px;
	display: flex;
  align-items: flex-end;
}

#egift .egift__step .egift__step--img img{
	margin: 0;
}

#egift .egift__step .egift__step--text h5{
text-align: center;
 color: #70603c;
	font-size: 22px;
	font-weight: 600;
	border-bottom: 8px solid #70603c;
	padding-bottom: 15px;
	margin-bottom: 15px;
	line-height: 1.2;
}

#egift .egift__step .egift__step--text p{
	font-size: 15px;
	color: #70603c;
}


/* スマホ */
@media screen and (max-width: 770px) {
	#egift{
   padding: 0 20px;
	}
	/* egift__ttl */
	#egift .egift__ttl{
		background: url(https://www.sleep-magniflex.jp/pic-labo/egiftPage_ttl_bk_sp.png) no-repeat;
		display: flex;
    flex-direction: column;
    justify-content: center;
		background-size: 100% 100%;
		background-position: top center;
		text-align: center;
		position: relative;
		height: auto;
    padding: 15px;
		margin-bottom: 35px;
	}

	#egift .egift__ttl .egift__ttl--text{
		display: block;
		font-size: 22px;
	}

	#egift .egift__ttl .egift__ttl--sub{
		display: block;
		font-size: 13px;
    font-weight: normal;
    margin-top: 5px;
	}

	#egift .egift__ttl .egift__ttl--text img{
		position: absolute;
		width: 40px;
    left: 10px;
    top: 0;
    bottom: 0;
	}

		/* egift__about */
		#egift .egift__about--wrap{
		display: block;
		}

		#egift .egift__about--box{
			width: 100%;
		}

		#egift .egift__about--sender{
			margin-bottom: 50px;
		}

		#egift .egift__about--ttl{
			font-size: 20px;
		}
		#egift .egift__list{
			width: 100%;
		}
		/* egift__step */
		#egift .egift__step{
			margin-bottom: 60px;
		}
		#egift .egift__step .egift__step--wrap{
			display: block;
			padding: 30px 20px 0;
		}
		#egift .egift__step .egift__step--text{
			width: 100%;
			padding: 0;
			display: block;
		}
		#egift .egift__step .egift__step--img{
			width: 100%;
		}
		#egift .egift__step .egift__step--text h5{
			font-size: 18px;
		}
		#egift .egift__step .egift__step--icon{
			top: -30px;
    	left: -15px;
			width: 60px;
		}
		#egift .egift__step .egift__step--img{
			padding: 0 5%;
		}
		#egift .egift__step--arrow::after{
			border-width: 25px;
			bottom: -70px;
		}
		/* egift__list */
		#egift .egift__list a{
		padding: 14px 25px 14px 15px;
		width: 100%;
		}
		#egift .egift__list a::before{
		right: 10px;
		}





}


</style>