#tab {
	margin-right:-20px;
	margin-bottom:30px;
}
#tab li {
	width:510px;
	margin-right:10px;
	float:left;
	cursor:pointer;
}
#tab li.tab1 {
	background: url(../img/wedding/tab1_off.png) no-repeat left top;
}
#tab li.tab2 {
	background: url(../img/wedding/tab2_off.png) no-repeat left top;
}
#tab li img {
	filter:alpha(opacity=0);
	-moz-opacity:0.00 ;
	opacity:0.00 ;
}

#tab li.selected img {
	filter:alpha(opacity=100) !important;
	-moz-opacity:1.00 !important;
	opacity:1.00 !important;
}


.wedding_container {
	margin-right:-56px;
	margin-bottom:20px;
}
.wedding_container li {
	width:236px;
	height:282px;
	line-height:1;
	margin-right:28px;
	margin-bottom:28px;
	float:left;
	background:#FFF;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	text-align:center;	
	cursor:pointer;
}
.wedding_container li dl {
	padding:15px 13px;	
}
.wedding_container li dt {
	font-size:11px;
	color:#000;
	margin-bottom:10px;	font-family: 'Muli', sans-serif;
}
.wedding_container li dd img {
	display:block;
	margin-bottom:10px;
}
.wedding_container li dd {
	font-size:11px;
	font-family: 'Muli', sans-serif;
	color:#666;
}
.page {
	margin:auto;	
}
.page li {
	width:30px;
	height:30px;
	text-align:center;
	line-height:30px;
	border:#000 2px solid;
	float:left;
	margin:0 10px;
	font-family: 'Muli', sans-serif;
}
.page li.selected {
	background:#000;
}
.page li a {
	display:block;	
}
.page li.selected a {
	color:#FFF !important;	
}

#wedding_left {
	float:left;
	width:696px;	
}
#wedding_left ul {
	margin-right:-78px;	
}
#wedding_left li {
	float:left;
	margin:0 39px 39px 0;
	overflow:hidden;
	position:relative;
	z-index:0;
}
#wedding_left li.zoom {
	cursor:pointer;
}
#wedding_right {
	float:right;
	width:270px;	
}

#wedding_right .section {
	
	margin-bottom:40px;
	
}


#wedding_right .section img {
	margin-bottom:15px;
}
#wedding_right .section dt {
	display:block;
	line-height:0;
	margin-bottom:10px;
	padding-bottom:10px;
	border-bottom:#ccc solid 1px;
	text-indent:-9999px;
}
#wedding_right .section dd {
	display:block;
	font-size:11px;
	color:#666;
}


#overlay {
	position:fixed;
	top:0;
	left:0;
	z-index:10;
	width:100%;
	height:0%;
	background:#000;
	text-align:center;
	display:none;
	overflow:hidden;
}

#close {
	position:fixed;
	right:15px;
	top:15px;
	z-index:11;	display:none;cursor:pointer;
}
#next {
	position:fixed;
	right:15px;
	top:15px;
	z-index:11;	display:none;cursor:pointer;
}
#prev {
	position:fixed;
	left:15px;
	top:15px;
	z-index:11;	display:none;cursor:pointer;
}
#overlay .preloader {
	background:url(/img/loading2.gif) center center no-repeat ;
	display:block;
	
}
.main_copy {
	padding-top:30px;
	margin-bottom:60px;
}
.main_copy p {
	display:block;
	text-align:center;
	line-height:0;	
	margin-bottom:50px;
	
}
.main_copy ul {
	margin-right:-160px;
}
.main_copy li {
	float:left;
	width:320px;
	margin-right:35px;	
}
.main_copy li dt {
	display:block;
	line-height:0;
	margin-bottom:15px;
	padding-bottom:10px;
	border-bottom:#ccc solid 1px;	
}
.main_copy li dd {
	display:block;
	font-size:12px;
	color:#666;
}
#contents {
	min-height:600px;	
}
.name1 {
	background:url(../img/rest/r_name1.png) no-repeat ;
	height:14px;
}
.name2 {
	background:url(../img/rest/r_name2.png) no-repeat ;
	height:14px;
}
.name3 {
	background:url(../img/rest/r_name1.png) no-repeat ;
	height:14px;
}
.name4 {
	background:url(../img/rest/c_name4.png) no-repeat ;
	height:14px;
}

@media only screen and (max-width:738px){
#tab {
	margin-right:0px;
	margin-bottom:30px;
	
}
#tab li {
	width:50%;
	height:55px;
	text-align:center;
	overflow:hidden;
	margin-right:0px;
	float:left;
	border-top:2px solid #000;
	border-bottom:2px solid #000;
	box-sizing: border-box;
}
#tab li img {
	display:none;
}
#tab li.selected img {
	display:none;
}
#tab li a {
	display:block;
	height:55px;
}
#tab li.tab1 {
	background: url(../img/sp/t_2.png) no-repeat center top;
	background-size:74px 110px;
	border-right:2px solid #000;
}
#tab li.tab1.selected {
	background: url(../img/sp/t_2.png) no-repeat center -55px #000;
	background-size:74px 110px;
	border-right:2px solid #000;
}
#tab li.tab2 {
	background: url(../img/sp/t_3.png) no-repeat center top;
	background-size:74px 110px;
	
}
#tab li.tab2.selected {
	background: url(../img/sp/t_3.png) no-repeat center -55px #000;
	background-size:74px 110px;
	
}
.main_copy {
	padding-top:30px;
	margin-bottom:30px;
}
.main_copy p {
	display:block;
	text-align:center;
	line-height:0;	
	margin-bottom:30px;
	
	
}
.main_copy p img {
	width:300px;
	height:auto;	
}
.main_copy ul {
	margin-right:-160px;
}
.main_copy li {
	float:none;
	width:auto;
	margin:0 10px 30px 10px;	
}
.main_copy ul {
	margin-right:0px;
}	
.main_copy li dt {
	zoom:.7;
}
#wedding_left {
	float:none;
	width:100%;
	margin-bottom:40px;
}
#wedding_left ul {
	margin:0 10px 0 10px;	
}
#wedding_left ul li {
	display:block;
	width:100%;
	margin:0 !important;
}
#wedding_left ul li img {
	width: 100%;
   
}
#wedding_left li.zoom {
	margin:10px;
	float:left;
	margin:0 !important;
	padding:5px;
	width:33%;
	box-sizing: border-box;
}
#wedding_right {
	float:none;
	width:auto;
	display:block;
	clear:both;
	margin:0 10px;
}
.section > span img {
	min-width: 100%;
   height: auto;
}
}