/* CSS Document */
#header_wrap #hd_nav a#hd_ceremony:link {
	background-position: -76px -40px;
}



#title {
	float: left;
	width: 45%;
	background-image: url(../img/title_bg.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
}
#title h2 {
	background-image: url(../img/ceremony/title.jpg);
	background-repeat: no-repeat;
	text-indent: -99999px;
	height: 41px;
	margin-top: 100px;
}
#title p {
	padding-top: 50px;
	width: 100%;
}


#mainimg_02 {
	float: right;
	width: 50%;
}

#ceremony_wrap,
#history_wrap,
#link_wrap {
	background-image: url(../img/line.png);
	background-repeat: repeat-x;
	padding-top: 17px;
	margin-top: 30px;
	margin-bottom: 50px;
}
#link_wrap {
	margin-bottom: 0px;
}
#ceremony_wrap h3 {
	background-image: url(../img/ceremony/t_ceremony.jpg);
	background-repeat: no-repeat;
	text-indent: -99999px;
	height: 23px;
	margin-bottom: 12px;
}
#history_wrap h3 {
	background-image: url(../img/ceremony/t_history.jpg);
	background-repeat: no-repeat;
	text-indent: -99999px;
	height: 22px;
	margin-bottom: 12px;
}
#link_wrap h3 {
	background-image: url(../img/ceremony/t_link.jpg);
	background-repeat: no-repeat;
	text-indent: -99999px;
	height: 23px;
	margin-bottom: 12px;
}
#link_wrap p {
	margin-bottom: 12px;
}

.img_wrap {
	float: left;
	width: 42%;
}
.text_wrap {
	width: 52%;
	float: right;
}
.link_img {
	float: left;
	width: 23%;
	padding-right: 1%;
	padding-left: 1%;
}
.link_img p {
	text-align: center;
	padding-top: 3px;
}


/*背景画像の場合、retina.jsが非対応のためcssでretinaに対応*/
@media all and (-webkit-min-device-pixel-ratio: 2) {

#title  {
	background-image: url(../img/title_bg_-2X.jpg);
	-webkit-background-size: 49px 77px; /* WebKit */
	background-size: 49px 77px; /* WebKit以外 */
}
#title h2  {
	background-image: url(../img/ceremony/title_-2X.jpg);
	-webkit-background-size: 84px 41px; /* WebKit */
	background-size: 84px 41px; /* WebKit以外 */
}
#ceremony_wrap,
#history_wrap,
#link_wrap {
	background-image: url(../img/line_-2X.png);
	-webkit-background-size: 900px 7px; /* WebKit */
	background-size: 900px 7px; /* WebKit以外 */
}
#ceremony_wrap h3 {
	background-image: url(../img/ceremony/t_ceremony_-2X.jpg);
	-webkit-background-size: 91px 23px; /* WebKit */
	background-size: 91px 23px; /* WebKit以外 */
}
#history_wrap h3 {
	background-image: url(../img/ceremony/t_history_-2X.jpg);
	-webkit-background-size: 206px 22px; /* WebKit */
	background-size: 206px 22px; /* WebKit以外 */
}
#link_wrap h3 {
	background-image: url(../img/ceremony/t_link_-2X.jpg);
	-webkit-background-size: 156px 23px; /* WebKit */
	background-size: 156px 23px; /* WebKit以外 */
}

}



@media screen and (max-width: 830px) {

#title h2 {
	margin-top: 50px;
}

}


/*iPadまでPCと同じ　それ以下のサイズは回り込み解除*/
@media screen and (max-width: 765px) {

#title {
	float: none;
	width: 100%;
	height: auto;
	background-image: none;
}
#title h2 {
	margin-top: 0px;
}
#title p {
	padding-top: 10px;
}
#mainimg_02 {
	float: none;
	width: 100%;
	padding-top: 10px;
}

}



@media screen and (max-width: 480px) {

#title {
	padding-left: 10px;
	padding-right: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}
#title h2 {
	background-image: none;
	text-indent: 0px;
	height: auto;
	font-size: x-large;
	font-weight: normal;
}

#mainimg_02 {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}

#ceremony_wrap,
#history_wrap,
#link_wrap {
	background-image: none;
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
#ceremony_wrap h3,
#history_wrap h3,
#link_wrap h3 {
	background-image: none;
	text-indent: 0px;
	height: auto;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	font-weight: normal;
	background-color: #DCD7C9;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	font-size: 16px;
}

.img_wrap,
.text_wrap {
	float: none;
	width: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

#link_wrap p {
	padding-left: 10px;
	padding-right: 10px;
}
#link_img_wrap {
	padding-left: 5px;
	padding-right: 5px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}
.link_img {
	width: 48%;
}


}