@charset 'UTF-8';

body {
	background-color: #fff;
	background-image: url("../img/bg.jpg");
	background-attachment: fixed;
	background-position: center top;
	background-repeat: no-repeat;
	text-align: center;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,Verdana,'ＭＳ Ｐゴシック',sans-serif;
	font-size: 13px;
	color: #999999;
	line-height: 1;
	min-width: 240px;
}


#wrap {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
	padding: 0 10px;
}


#header {
	text-align: center;
	padding-top: 20px;
	position: relative;
	margin-bottom: 40px;
}
#header #world {
	position: absolute;
	right: 0;
	top: 20px;
}
#header #world img {
	width: 100px;
}


#main {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}
#main #left {
	width: 210px;
	background-color: #edfbff;
	border-radius: 8px;
	padding: 10px 5px;
}
#main #left #inlinebase {
	height: 100%;
}
#main #left #inlinebase iframe {
	border: none;
	background-color: transparent;
	height: 100%;
	width: 200px;
	overflow-x: hidden;
}
#main #right {
	width: calc(100% - 210px - 10px);
}
.newsbase {
	height: 16px;
	border-radius: 16px;
	margin: 10px 0 20px;
}
@media (max-width:1024px) {
	.newsbase {
		height: calc(16 / 1024 * 100vw);
		border-radius:  calc(16 / 1024 * 100vw);
	}	
}
.newsbase#newsbase1 {
	background-color: #e4007f;
}
.newsbase#newsbase2 {
	background-color: #19b1f6;
}
.newsbase#newsbase3 {
	background-color: #f8b656;
}
.newsbase#newsbase4 {
	background-color: #da57d8;
}

#scfes {
	margin-bottom: 20px;
}

#footer {
	padding-top: 10px;
	padding-bottom: 10px;
}
#copyright {
	text-align: center;
	color: #383838;
	font-size: 12px;
	line-height: 1.2;
}



@media (max-width:640px) {
	#header {
		padding-top: 40px;
		margin-bottom: 20px;
	}
	#header > img {
		width: calc(389 / 640 * 100vw);
		min-width: 180px;
	}
	#header #world {
		top: 10px;
	}
	#header #world img {
		width: 75px;
	}
	#main {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	#main #left {
		order: 1;
		width: 100%;
	}
	#main #left #inlinebase iframe {
		display: block;
		height: 300px;
		width: 100%;
		max-width: 440px;
		margin: 0 auto;
	}
	#main #right {
		width: 100%;
		margin-bottom: 30px;
	}
	.newsbase {
		height: 6px;
		border-radius: 6px;
		margin: 5px 0 10px;
	}
	#scfes {
		margin-bottom: 10px;
	}
	#copyright {
		font-size: 10px;
	}

}
