@import url("reset.css");
@charset "UTF-8";

/* 共用 --------------------------------------------- */

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
	/* border: 1px solid black; */
}

html,body{
    width: 100%;
    height: 100%;
}

img{
    display: block;
}


/* 內容 --------------------------------------------- */

.wrapper{
	margin-top: 60px;
	display: flex;
	justify-content: center;

	background-image: url('../images/bg.svg');
	background-repeat: repeat;
	background-size: 50px;
}

article{
	width: 1200px;
	display: flex;
	justify-content: center;
	z-index: 8;
}

.content{
	margin: 130px 0;
}

h1{
	font-size: 50px;
	font-weight: bold;
	letter-spacing: 5px;
	text-align: center;
	padding: 20px 50px 24px;
	border: 3px solid #333;
	border-radius: 55px;
	background-color: #fff;
}

h3{
	font-size: 35px;
	font-weight: normal;
	letter-spacing: 2px;
	line-height: 65px;
	text-align: center;
	padding: 30px 50px;
	margin-bottom: 20px;
}

img{
	width: 635px;
	height: auto;
	margin: 0 auto;
}

.bg_deco{
	width: 100%;
	height: 300px;
	background-color: #56c4be59;
	position: absolute;
	bottom: 0px;
}


/* PC --------------------------------------------- */

@media screen and (max-width:1200px){
	article{
		width: 100%;
}

}

/* Pad --------------------------------------------- */


@media screen and (max-width:767px){
	.content{
		width: 90%;
		margin: 200px 0;
	}
	h1{
		width: 95%;
		margin: 0 auto;
		font-size: 40px;
		padding: 15px 50px 20px;
		border: 3px solid #333;
		border-radius: 55px;
	}

	h3{
		font-size: 30px;
		line-height: 56px;
		padding: 25px 50px;
		margin-bottom: 20px;
	}

	.bill img{
		width: 95%;
	}

	.bg_deco{
		width: 100%;
		height: 300px;
		position: absolute;
		bottom: 0px;
	}
}


/* Phone --------------------------------------------- */

@media screen and (max-width:540px){
	h3{
		font-size: 26px;
		line-height: 54px;
	}
}

@media screen and (max-width:480px){
	.content{
		margin: 150px 0;
	}
	h1{
		font-size: 27px;
		line-height: 35px;
		letter-spacing: 2px;
		padding: 15px 10px;
	}	
	h3{
		font-size: 21px;
		line-height: 36px;
		padding: 20px 0 ;
	}
	.bg_deco{
		height: 225px;
	}
}



