/*バナー　1カラム*/
.banner1 {
	padding: 0px;
	width: 1000px;
	margin: 0 auto 20px;

}
div.banner1 a {
	float:left;
}
div.banner1 a:last-of-type {
	margin-bottom: 0px;
}
div.banner1 a img{
	margin: 0 0 20px;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;

}
div.banner1 a:hover img{
	opacity: .7;
}



/* バナー　2カラム フレックスボックス */
.banner2 {
	padding: 0px;
	clear: both;
	width: 1000px;
	margin: 0 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
}
.banner2 a img{
	-webkit-flex-basis: 490px;
	    -ms-flex-preferred-size: 490px;
			flex-basis: 490px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	margin: 0 0 20px;
}
.banner2 a:hover img{
	opacity: .7;
}

/* バナー　3カラム　フレックスボックス */
.banner3{
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	width: 1000px;
	margin: 0 auto 20px;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
			-webkit-flex-wrap: wrap;
			-ms-flex-wrap: wrap;
				flex-wrap: wrap;
}
.banner3 a img{
	-webkit-flex-basis: 320px;
	    -ms-flex-preferred-size: 320px;
	        flex-basis: 320px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.banner3 a:hover img{
	opacity: .7;
}

/* テキストバナー　1カラム */
.banner1_text{
	width:1000px;
	margin: 0 auto 20px;
	padding: 10px 0;
	background-color: #000;
	border: 1px solid #525252;
	box-sizing: border-box;
}
.banner1_text p{
	font-family: "Sawarabi Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG 明朝 E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	-webkit-transform: rotate(.03deg);
	    -ms-transform: rotate(.03deg);
	        transform: rotate(.03deg);
	font-size: 2.2rem;
	text-align: center;
	letter-spacing: 0.2em;
	margin: 0;

}
.banner1_text p a{
	display: block;
	width: 100%;
	padding: 10px 0;
}
.banner1_text p a:link, .banner1_text p a:visited, .banner1_text p a:hover {
	color: #fff;
}


/*フェア*/
#fair {
	float: left;
	width: 340px;
	padding: 0px;
	margin-top: 0px;
	margin-right: 30px;
	margin-bottom: 20px;
	margin-left: 0px;
}
div#fair div.box {
	background-color: #000;
	margin: 0px;
	clear: both;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
}

div#fair div.box a img{
margin-bottom: 15px;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}

div#fair div.box a:hover img{
	opacity: .7;
}


/*おすすめ*/
#osusume {
	float: left;
	width: 630px;
	background-color:#000;
	margin-bottom:20px;
}
div#osusume h3 {
	margin-bottom:10px;
}
div#osusume div.box{
	height:280px; /*おすすめ全体の高さはこの値を調整*/
	color:#dfdfdf;
	-webkit-box-sizing:border-box;
	        -moz-box-sizing:border-box;
		 box-sizing:border-box;
	padding: 0 0 0 280px;
	margin: 0 20px 20px;
	display: flex;
	align-content: center;
	flex-wrap: wrap;
}


/*おすすめ　背景画像*/
.bg_sairoku, .bg_dejiofu, .bg_wakudoki, .bg_youshi{
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 580px 400px;
}
.bg_sairoku{background-image: url("/?originalUrl=https%3A%2F%2Fwww.axis-publication.com%2Fimg%2Fosusume_bg_sairoku.jpg");}
.bg_dejiofu{background-image: url("/?originalUrl=https%3A%2F%2Fwww.axis-publication.com%2Fimg%2Fosusume_bg_dejiofu.jpg");}
.bg_wakudoki{background-image: url("/?originalUrl=https%3A%2F%2Fwww.axis-publication.com%2Fimg%2Fosusume_bg_wakudoki.jpg");}
.bg_youshi{background-image: url("/?originalUrl=https%3A%2F%2Fwww.axis-publication.com%2Fimg%2Fosusume_bg_youshi.jpg");}

/*おすすめ　テキスト*/
div#osusume div.box h4{
	font-weight: bold;
	font-size: 1.6rem;
	line-height: 150%;
	margin-bottom:15px;
	flex-basis: 100%;
}
div#osusume div.box p{
	text-align:justify;
	margin-bottom:5px;
	line-height:140%;
	flex-basis: 100%;
}

/*おすすめ　リンク　赤背景*/
div#osusume div.box p a{
	background-color: #880005;
	display: block;
	padding: 7px 10px;
	color: #fff;
	text-align:center;
	margin: 10px 0 0 120px;
	-webkit-transition: background-color 0.3s ease-out;
	transition: background-color 0.3s ease-out; /*滑らかに変化*/
}
div#osusume div.box p  a:link a:visited{
	background-color: #880005;
	color: #c2c2c2;
}
div#osusume div.box p  a:hover{
	background-color: #D40007;
	color: #FFFFFF;
}
div#osusume div.box p a:after{
	content:" ▶";
	font-size:0.8rem;
}
/*おすすめ　リンク　緑背景*/
div#osusume div.box p a.green{
	background-color: #267400;
	-webkit-transition: background-color 0.3s ease-out;
	transition: background-color 0.3s ease-out; /*滑らかに変化*/
}
div#osusume div.box p  a.green:link a.green:visited{
	background-color: #267400;
	color: #c2c2c2;
}
div#osusume div.box p  a.green:hover{
	background-color: #36a400;
	color: #FFFFFF;
}

/*お知らせ*/
#oshirase{
	width: 1000px;
	height: 200px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	padding: 10px 25px;
	border-top: 3px solid #5C0000;
	clear: both;
	background-color: #000000;
	margin-bottom:20px;
}
#oshirase h3{
	width: 222px;
	float:left;
}
#oshirase_box{
	float: left;
	width: 75%;
	height: 167px;
	border-left: 1px solid #525252;
	padding-left: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	overflow: hidden;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
}
#oshirase_box ul li{
	border-bottom: 1px dashed #525252;
	padding:11px 0px 0px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
#oshirase_box ul li a{
	display:block;
}
#oshirase_box ul li:hover{
	background-color: #880005;
}
/*お知らせ　日付*/
#oshirase_box ul li span{
	background-color: #880005;
	font-weight: bold;
	padding: 3px 15px 2px;
	margin:0px 18px 0px 30px;
	float: left;
	color: #C2C2C2;

	-webkit-transition: background-color 0.3s ease-out;

	transition: background-color 0.3s ease-out;
}
#oshirase_box ul li:hover span{
	background-color: #000;
}
/*お知らせ　テキスト*/
#oshirase_box ul li p{
	padding-top: 3px;
	color: #C2C2C2;
}



/*下段バナー*/

#banner_shita {
	width: 1000px;
	margin: 0 0 40px;
	display: -webkit-flex;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	        -moz-box-pack: justify;
	         -ms-flex-pack: justify;
	     justify-content: space-between;
}
div#banner_shita a img{
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

div#banner_shita a:hover img{
	opacity: .7;
	-webkit-opacity: .7;
	-moz-opacity: .7;
	filter: alpha(opacity=70); /* IE lt 8 */
	-ms-filter: “alpha(opacity=70)”; /* IE 8 */
}

/* トップページ お知らせ用 */
.fancybox-slide--iframe .fancybox-content {
	width: 1000px;
	height: 800px;
	max-height: 85%;
	margin: 0;
	padding: 0;
}

@media (max-width: 991px) {
	.fancybox-slide--iframe .fancybox-content {
		max-width: 85%;
	}
}
@media (min-width: 992px) {
	.fancybox-slide--iframe .fancybox-content {
		max-width: 60%;
	}
}