@charset "utf-8";
/* CSS Document */

#bkdmosi {
	margin:auto;
	width:770px;
}

#bkdmosi a {
	text-decoration: none;
	overflow: hidden;
	color: #ff3b00;
}

a img {
	border:none;
}

#bkdmosiheader {
	width:770px;
	height:102px;
	background:url(images/header_bg.jpg) 0 0 no-repeat;
	position: relative;
}

#bkdmosih1 {
	position: absolute;
	top: 35px;
	left: 141px;
}

#bkdmosiheader .pbutton {
	position: absolute;
	right: 30px;
	bottom: 0px;
}

#bkdmosimain {
	clear: both;
	width: 770px;
	background: #f8f8f8 url(images/main_bg.gif) repeat-y;
	text-align:center;
}

.read {
	text-align: left;
	margin: 18px;
}

.line {
	width: 770px;
	height: 7px;
	margin: 0;
	padding: 0;
	background: url(images/main_line.gif) no-repeat;
}

.saitenkekka {
	width:724px;
	margin:auto;
	padding:18px 0;
}

#bkdmosipresent {
	width: 770px;
	height: 231px;
	background: url(images/footer_bg.gif) no-repeat;
	position: relative;
}

.red {
	color: #ff3b00;
}

.happyou {
	width:724px;
	text-align:center;
	margin:20px 20px 40px 20px;
}

.mogikaisetsu {
	width:724px;
	margin:auto;
}

@media (max-width: 767px) {
	#bkdmosi {
		width: 100vw;
	}
	#bkdmosiheader {
		width: 100vw;
		height: calc(100vw * 0.13246);
		background-size: 100% auto;
	}
	#bkdmosih1 {
		top: 35%;
		left: 20%;
	}
	#bkdmosih1 img {
		width: 180px;
		height: auto;
	}
	#bkdmosiheader .pbutton {
		right: 1%;
	}
	#bkdmosiheader .pbutton a img {
		width: 96px;
		height: auto;
	}
	#bkdmosimain,
	#bkdmosimain .line {
		width: 100vw;
	}
	.happyou {
		width: 90vw;
		margin: 0 auto;
	}
	.happyou img,
	.read img,
	.saitenkekka img,
	.mogikaisetsu img,
	.saitenkekka img {
		width: 100%;
		height: auto;
	}
	.bakadai iframe {
		width: 100vw;
		height: calc(100vw * 2.278);
	}
	.saitenkekka {
		width: 90vw;
	}
	#bkdmosipresent {
		width: 100vw;
		height: calc(100vw * 0.3);
		background-size: 100% auto;
	}
	.mogikaisetsu {
		width: 100vw;
	}

}
