@charset "shift_jis";
/*2カラム*/
/* ================ */
#icatch {
	width: 690px;
	height: 293px;
	position: static;
}
#slide-container {
	position: relative;
	width: inherit;
	height: inherit;
	background-color: #fff;
	overflow: hidden;
}
.item {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.item a {
	display: block;
}
.item .background img {
	max-width: 690px; /* to avoid max-width: 100% of Twitter Bootstrap */
}
.foreground {
	position: absolute;
}
.foreground .element {
	position: relative;
	left: 10px;
	width: 475px;
	color: #fff;
}
.background {
	position: absolute;
	overflow: hidden;
}
.background .overlay {
	position: absolute;
	height:30px;
	bottom:0px;
	width:100%;
	text-align:right;
	background-color: rgba(0,0,0,0.5); 
	padding-right:20%;
}

.foreground .element.title {
	top: 269px;
	font-size: 16px;
	text-align:left;
}
.ui-loader {
	display: none;
}

/* controller */
#slide-container .controller .pager-demo{ position:absolute; top:125px; z-index:9999; }
#slide-container .controller .prev{ left:3px;}
#slide-container .controller .next{ right:3px;}

#icatch_oss {
	margin: 20px auto;
	width: 940px;
	height: 520px;
	position: static;
}
.oss_top {
	width: 100%;
	overflow: hidden;
	height: 500px;
	border: 1px #C0C0C0 solid;
}
/*
#btn {
	width: 940px;
	height: 400px;
	border-width: 0;
	margin-top: 3px;
	z-index: 0;
}
*/
/* ========ふきだし======== */
.hukidasi {
	position: absolute;
	height: 260px;
	width: 260px;
	margin-left: 640px; /*	right:40px;*/;
	margin-top: 60px;
	background-color: rgba(0,0,0,0.4);
	z-index: 1;
	padding: 10px;
}
.class1Mes {
	width: 250px;
	height: 250px;
	clip: rect(0px 220px 250px 0px);
}
#MaMes {
	width: 250px;
	height: 250px;
	line-height: 22px;
	font-size: 15px;
}
#sub .grid .subimg {
	float: none;
	width: 235px;
	margin: 5px auto;
	display: block;
}
.telbox {
	border: 1px dotted gray;
	width: 100%;
	margin-top: 10px;
	padding-top: 10px;
}
.telbox img {
	margin-left: 7px;
	margin-right: 4px;
	vertical-align: middle;
	width: 30px;
}
.telbox p {
	margin: 0px 7px;
	font-size: 14px;
}
/* ========タブ======== */
.tabs li {
	font: 12px verdana,"メイリオ","ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}
.tabs li a {
	padding: 8px 14px;
}
@media only screen and (max-width:480px){
.tabs li a {
	padding: 10px 0px;
	font-size: 12px;
	width: 33.3%;
	overflow: hidden;
	white-space: nowrap;
}
}
/* ========おすすめIF======== */
.top_oss_if {
	border: 0px;
	overflow: hidden;
	margin-bottom: 10px;
	vertical-align: top;
	width: 100%;
}
.seo_txt {
	background-color: #eee;
	padding: 15px;
}
/******************************************************/
/* モニター幅960px以下 */
@media only screen and (max-width:960px){
#icatch, #btn {
	width: 100%;
	height: 42.5vw;
}
.hukidasi {
	margin-left: 550px;
	margin-left: calc(100vw - 300px);
	margin-top: 4vw;
}
#icatch_oss {
	width: 94%;
	height: 50vw;
}
.oss_top {
	width: 100%;
	height: 45%;
	height: calc(50vw - 20px);
}
#main {
	float: left;
	width: 560px;
	width: calc(100vw - 290px);
}
#sub {
	float: right;
	width: 235px;
}
#sub .grid {
	width: 100%;
	float: none;
	padding-bottom: 30px;
}
}
/******************************************************/
/* iPad 縦 */
@media only screen and (max-width:768px){
#icatch, #btn {
	display: none;
}
.hukidasi {
	display: none;
}
#icatch_oss {
	display: none;
}
.oss_top {
	display: none;
}
#main {
	float: none;
	width: 100%;
}
#sub {
	float: none;
	width: 100%;
}
#sub .grid {
	padding-bottom: 20px;
	width: 49%;
	float: left;
	margin: 0 2px;
}
}
/******************************************************/
/* iPad  */
@media only screen and (max-width:480px){
#sub .grid {
	padding-bottom: 20px;
	width: 99%;
	float: none;
	margin: 0 2px;
}
}
