
/* Scss Document */
#key { background-image: url(../img/cake/key.jpg); }

#sec1 {
	background: url(../img/cake/sec1-deco.png) top center no-repeat;
	text-align: center;
	padding-bottom: 90px;
}

#sec1 h2 { padding-top: 70px; }

#sec1 .text { margin-top: 35px; }

#sec1 .slide { margin-top: 50px; }

#sec1 .slide .bx-pager {
	position: absolute;
	top: 0;
	right: 0;
	width: 171px;
	padding: 0;
}

#sec1 .slide .bx-pager div { margin-bottom: 20px; }

#sec1 .slide .bx-pager div a {
	width: 171px;
	height: 104px;
	display: block;
	position: relative;
}

#sec1 .slide .bx-pager div a:after {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 3px solid #f35c8b;
	opacity: 0;
	transition: all .5s;
	border-radius: 10px;
}

#sec1 .slide .bx-pager div a:hover:after, #sec1 .slide .bx-pager div a.active:after { opacity: 1; }

#sec1 .slide .bx-pager div:nth-of-type(1) a { background: url(../img/cake/sec8-thum_01.png); }

#sec1 .slide .bx-pager div:nth-of-type(2) a { background: url(../img/cake/sec8-thum_02.png); }

#sec1 .slide .bx-pager div:nth-of-type(3) a { background: url(../img/cake/sec8-thum_03.png); }

#sec1 .slide .bx-pager div:nth-of-type(4) a { background: url(../img/cake/sec8-thum_04.png); }

#sec1 .button { margin-top: 50px; }

#sec2 {
	background: url(../img/cake/sec2-deco.png) top center no-repeat;
	text-align: center;
	padding-bottom: 70px;
}

#sec2 h2 { padding-top: 0; }

#sec2 .text { margin-top: 35px; }

#sec2 .slide { margin-top: 50px; }

#sec2 .slide .bx-pager {
	position: absolute;
	top: 0;
	right: 0;
	width: 171px;
	padding: 0;
}

#sec2 .slide .bx-pager div { margin-bottom: 20px; }

#sec2 .slide .bx-pager div a {
	width: 171px;
	height: 104px;
	display: block;
	position: relative;
}

#sec2 .slide .bx-pager div a:after {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 3px solid #f35c8b;
	opacity: 0;
	transition: all .5s;
	border-radius: 10px;
}

#sec2 .slide .bx-pager div a:hover:after, #sec2 .slide .bx-pager div a.active:after { opacity: 1; }

#sec2 .slide .bx-pager div:nth-of-type(1) a { background: url(../img/cake/sec2-thum_01.png); }

#sec2 .slide .bx-pager div:nth-of-type(2) a { background: url(../img/cake/sec2-thum_02.png); }

#sec2 .slide .bx-pager div:nth-of-type(3) a { background: url(../img/cake/sec2-thum_03.png); }

#sec2 .slide .bx-pager div:nth-of-type(4) a { background: url(../img/cake/sec2-thum_04.png); }

#sec2 .button { margin-top: 50px; }

#sec3 {
	padding: 157px 0;
	text-align: center;
	background: url(../img/cake/sec3-bg.jpg) top center no-repeat;
	background-size: cover;
	position: relative;
	opacity: 1;
	transition: all .5s;
}

#sec3:hover { opacity: .7; }

#sec3 a {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
}

#sec4 {
	margin-top: 70px;
	text-align: center;
}

#sec4 .button { display: inline-block; }

/* --------------------------------------------------------------------------------------
   タブレット
--------------------------------------------------------------------------------------- */

@media(max-width:980px) and (min-width: 767px) {
	
	#sec1 { background-size: 194% auto; }
	
	#sec1 .slide .bx-pager,
	#sec2 .slide .bx-pager {
		top: 103%;
		width: 100%;
	}
	
	#sec1 .button,
	#sec2 .button { margin-top: 18%; }
	
	#sec4 { margin-top: 5%; }
}

/* --------------------------------------------------------------------------------------
   スマホ
--------------------------------------------------------------------------------------- */

@media (max-width: 766px) {
	
	#sec1 .text br,
	#sec2 .text br { display: none; }
	
	#sec1 { background-size: 194% auto; }
	
	#sec1 .slide .bx-pager,
	#sec2 .slide .bx-pager {
		top: 103%;
		width: 105%;
	}
	
	#sec1 .slide .bx-pager div,
	#sec2 .slide .bx-pager div {
		margin-left: 2%;
		margin-bottom: 0;
		width: 21%;
	}
	
	#sec1 .slide .bx-pager div a,
	#sec2 .slide .bx-pager div a {
		width: 100%;
		padding-bottom: 62%;
		height: auto;
		display: block;
		background-size: cover !important;
	}
	
	#sec1 .button,
	#sec2 .button { margin-top: 18%; }
	
	#sec3 { padding: 16% 0; }
	
	#sec4 { margin-top: 5%; }
}