@charset "shift_jis";
/* CSS Document */

*{
	margin:0;
	padding:0;
}
html{
    height: 100%;
}
body {
    /* IE7以降,モダンブラウザ用 */
    width: 100%;
    min-width: 800px;
    min-height: 400px;
    /* ここまで */
    height: 100%;
    /*position:relative;*/
	color:#666;
}
#body {
	width: 800px;
	/*height:600px;*/
	/*height: 720px;
	position: absolute;
	bottom: 50%;
	right: 50%;*/
	margin: auto;
}
#main {
	width:800px;
	margin: auto;
	padding: 23px 0 0;
    /*height:600px;*/
	/*height:720px;*/
    /*position:absolute;*/
    /*top:300px;*/
	/*top:360px;
    left: 400px;*/
	background: #F0F0F0 url(img/mfm_top_bg.jpg) no-repeat;
    /*border:black solid 5px;*/
}

#logo {
	/*argin-top:23px;*/
}

#contents {
	padding: 23px 30px 30px;
}

.main-image img {
	display: block;
	width: 100%;
	height: auto;
}

#left {
	/*float:left;
	width:350px;*/
}

/*#menu li {
	list-style-type: none;
	margin:0px;
}*/


ul#menu_all {
	/*position: relative;*/
	/*width:351px;*/
	display: flex;
	flex-wrap: wrap;
	width:100%;
	margin: 0px;
	padding:0px;
	/*height: 330px;*/
	list-style: none;
	overflow: hidden;
}
#menu_all li {
	width: 50%;
	margin: 30px 0 0 0;
	text-align: center;
	box-sizing: border-box;
}
#menu_all li:nth-child(odd) {
	padding-right: 15px;
}
#menu_all li:nth-child(even) {
	padding-left: 15px;
}
ul#menu_all li a {
	/*height: 105px;*/
	/*position: absolute;*/
	overflow: hidden;
	margin: 0;
	padding: 0;
	text-indent: -100em;
	text-decoration: none;
	/*top: 168px;
	width: 351px;*/
}
ul#menu_all li a img {
	display: block;
	width: 100%;
	height: auto;
	transition: all .3s;
}
ul#menu_all li a:hover img {
	opacity: .7;
}
/*html>body ul#menu_all li a {
	height: 105px;
}*/
li#press a{ 
	/*background: transparent url(img/es.gif) no-repeat 0 0;
	top:0px;*/
	}
li#es a{ 
	/*background: transparent url(img/es.gif) no-repeat 0 0;
	top:110px;*/
	}
li#mfm a{
	/*background: transparent url(img/mfm.gif) no-repeat 0 0;
	top:220px;*/
	}
li#mf a{
	/*background: transparent url(img/mf.gif) no-repeat 0 0;
	top:330px;*/
	}

			
li#es a:hover, 
li#mfm a:hover, 	
li#mf a:hover{ 
	background-position: -351px 0px;
	}

#right {
	float:right;
	width:400px;
}

#footer {
	margin-top:30px;
	background:url(img/footerbg.gif) no-repeat;
	height:42px;
	padding:0px 120px 0px 120px;
	/*text-align:center;*/
}
html>body ul#bottomlink li a{
	height: 42px;
}
ul#bottomlink {
	/*position: relative;
	width:560px;
	margin: 0;
	
	list-style: none;
	overflow: hidden;*/
	height: 42px;
	margin:0;
	padding:0
}

ul#bottomlink li a {
	height: 42px;
	/*position: absolute;
	overflow: hidden;
	padding: 0 0 0 0;
	text-indent: -100em;
	text-decoration: none;
	top: 0px;
	width: 145px;*/
}
html>body ul#bottomlink li a{
	height: 42px;
}
#bottomlink {
	text-align:center;
}

#bottomlink li {
	display:inline-block;
	margin:0;
	padding:0;
}
li#campany a{ 
	background:url(img/link.gif) no-repeat 0 0;
	width:140px;
	left:0px;
	}
li#link a{ 
	
	background:url(img/link.gif) no-repeat 0 0;
	background-position:-140px 0px;
	left:140px;
	}
li#contact a{ 
	/*background:url(img/link.gif) no-repeat 0 0;
	background-position:-260px 0px;
	left:260px;*/
	}	
li#blog a{ 
	background:url(img/link.gif) no-repeat 0 0;
	background-position:-410px 0px;
	left:410px;
	}
	
li#campany a:hover{ 
	background:url(img/link2.gif) no-repeat 0 0;
	width:140px;
	left:0px;
	}
li#link a:hover{ 
	
	background:url(img/link2.gif) no-repeat 0 0;
	background-position:-140px 0px;
	left:140px;
	}
li#contact a:hover{ 
	background:url(img/link2.gif) no-repeat 0 0;
	background-position:-260px 0px;
	left:260px;
	}	
li#blog a:hover{ 
	background:url(img/link2.gif) no-repeat 0 0;
	background-position:-410px 0px;
	left:410px;
	}
#copy {
	margin-top:30px;
	margin-bottom: 30px;
	text-align:center;
	font-size:12px;
}

.mfm_fb{background:#EBEBEB; padding:10px; text-align:center;border:1px solid #C9C9C9; color:#0e6cb0;}
.mfm_fb_title{ font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 19px;}
.mr10{margin-right:10px;}
/****************************************

          Button

*****************************************/
.red_bg{ background:#CB0003;}
.pink_bg{ background:#cb405f;}
.blue_bg{ background: #1E92FF;}
.button{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 15px;
	border:1px solid #B0B0B0;
	width:184px /*304px*/;
	padding: .5em 2em .55em;
	color: #fff !important;
	cursor: pointer;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, .4);
	-webkit-border-radius: 5px;
	-moz-border-radius:  5px;
	border-radius: 5px;
	-moz-box-shadow: 0 1px 1px #fff;
	-webkit-box-shadow: 0 1px 1px #fff;
	box-shadow: 0 1px 1px #fff;
	float:left;
	
	text-decoration:none;
}

.button:hover{
	color: #cccc;
}
.button:active{
	position: relative;
	top: 1px;
	color: #fff;
	
}



/****************************************

          Clearfix

*****************************************/


.clearfix:after,
#header:after,
.wrapper:after,
#container:after,
.wp-pagenavi:after,
.image-box:after,
.col-max:after,
.col-min:after { 
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

/* clearfix for ie7 */
.clearfix,
#header,
.wp-pagenavi,
#container,
.wrapper,
.image-box,
.col-max,
.col-min { 
	display: inline-block; 
}

.clearfix,
#header,
.wp-pagenavi,
.wrapper,
#container,
.image-box,
.col-max,
.col-min { 
	display: block; 
}

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearboth{
	display: block;
	clear: both;
}

a.kyukan {
	display: block;
	width: 762px;
	background:#28a7e1;
	color:#FFFFFF;
	margin:5px auto 10px;
	padding:15px 10px;
	text-align:center;
	line-height: 1;
	text-decoration:none;
	font-weight: bold;
}

a.kyukan:hover {
	background:#54c2f4;
	text-decoration:none;
}

#main-contents {
	display: flex;
	flex-wrap: wrap;
}

#new-info {
	width: 420px;
	margin: 30px 30px 0 0;
	padding: 30px;
	background: #efefef;
	border: 1px solid #e2e9ec;
	border-radius: 4px;
	box-sizing: border-box;
	background: linear-gradient(to bottom, #ffffff 0%,#efefef 100%);
}

h1.new-info-title {
	font-size: 18px;
	font-weight: normal;
	color: #28a7e1;
}

.new-info-contents {
	display: flex;
	flex-direction: column;
	margin-top: 30px;
}

.new-info-image {
	width: 50%;
	padding-right: 30px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.new-info-image img {
	display: block;
	width: 100%;
	height: auto;
}

.new-info-text {
	width: 100%;
	margin-top: 30px;
	font-size: 14px;
	line-height: 2rem;;
}

.new-info-link {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	background: #ffffff;
	border-radius: 4px;
	padding: 10px;
}

.new-info-link a, .new-info-link span {
	margin: 0 5px;
}

.new-info-link a {
	display: block;
	color: #ffffff;
	text-decoration: none;
	background: #5985B0;
	padding: 0 10px;
	box-sizing: border-box;
	border-radius: 4px;
}

#twitter {
	width: 290px;
	margin-top: 30px;
	background: #ffffff;
	padding: 0;
	border-radius: 4px;
	border: 1px solid #e2e9ec;
	box-sizing: border-box;
}

.twitter-title {
	border-radius: 4px 4px 0 0;
	background: #142e89;
	padding: 10px;
	box-sizing: border-box;
	color: #ffffff;
	font-size: 12px;
}