@media screen and (max-width:768px) {
	#template01 .leaf_top {
		left: -200px;
		top: -110px;
	}
	#template01 .leaf_bottom{
		right: -200px;
		bottom: -100px;
	}
}
@media screen and (max-width:560px) {
	#main .header {
		width:100%;
		padding-top:30px;
	}
	.template_wa13{
		overflow-x: hidden;
	}

	#main .h { font-size:18px; }

	.c-header .info {
		text-align:left;
	}

	.c-header .img {
		width:90%;
	}
	.form table {
		width:100%;
	}
	.form table .l { width:49%; }
	.form table .m { width:2%; }
	.form table .r { width:49%; }

	.sp-none { display:none; }
}

@media screen and (max-width:560px) {
	.invitation_text1 { font-size: 13px !important; }
	.invitation_text2 { font-size: 13px !important; }
	.gift_text, .gift_text2, .gift_text3 { padding-left:5px; padding-right: 5px; }
	.gift_text { font-size: 13px !important; }
	.gift_text2 { font-size: 13px !important; }

	.template_wa4 .invitation_inner3 {
		width: calc(100% - 20px);
	}
	.template_wa4 .gift_inner2{
		width: calc(100% - 20px);
	}
	.gift_inner{
		padding-bottom: calc(40px + constant(safe-area-inset-bottom)) !important;
		padding-bottom: calc(40px + env(safe-area-inset-bottom)) !important;
	}
}