/*
Theme Name: MG02
Theme URI: 
Description: gokigenworks site design
Version: 1.0
Author: gokigenworks
Author URI: http://gokigenworks.com
Tags: Branding, Marketing, Simple, fluid-layout, left-sidebar, responsive-layout, two-columns
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Created by Artisteer v4.2.0.60623 */

#mg-main
{
   background: #FFFFFF;
   margin:0 auto;
   font-size: 14px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   position: relative;
   width: 100%;
   min-height: 100%;
   left: 0;
   top: 0;
   cursor:default;
   overflow:hidden;
}
table, ul.mg-hmenu
{
   font-size: 14px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

h1, h2, h3, h4, h5, h6, p, a, ul, ol, li
{
   margin: 0;
   padding: 0;
}

/* Reset buttons border. It's important for input and button tags. 
 * border-collapse should be separate for shadow in IE. 
 */
.mg-button
{
   border-collapse: separate;
   -webkit-border-radius: 0;
   -webkit-background-origin: border !important;
   -moz-background-origin: border !important;
   background-origin: border-box !important;
   background: #81C520;
   border:3px solid #408221;
   padding:0 15px;
   margin:0 auto;
   height:18px;
}

.mg-postcontent,
.mg-postheadericons,
.mg-postfootericons,
.mg-blockcontent,
ul.mg-vmenu a 
{
   text-align: left;
}

.mg-postcontent,
.mg-postcontent li,
.mg-postcontent table,
.mg-postcontent a,
.mg-postcontent a:link,
.mg-postcontent a:visited,
.mg-postcontent a.visited,
.mg-postcontent a:hover,
.mg-postcontent a.hovered
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-postcontent p
{
   margin: 12px 0 12px 30px;
}

.mg-postcontent h1, .mg-postcontent h1 a, .mg-postcontent h1 a:link, .mg-postcontent h1 a:visited, .mg-postcontent h1 a:hover,
.mg-postcontent h2, .mg-postcontent h2 a, .mg-postcontent h2 a:link, .mg-postcontent h2 a:visited, .mg-postcontent h2 a:hover,
.mg-postcontent h3, .mg-postcontent h3 a, .mg-postcontent h3 a:link, .mg-postcontent h3 a:visited, .mg-postcontent h3 a:hover,
.mg-postcontent h4, .mg-postcontent h4 a, .mg-postcontent h4 a:link, .mg-postcontent h4 a:visited, .mg-postcontent h4 a:hover,
.mg-postcontent h5, .mg-postcontent h5 a, .mg-postcontent h5 a:link, .mg-postcontent h5 a:visited, .mg-postcontent h5 a:hover,
.mg-postcontent h6, .mg-postcontent h6 a, .mg-postcontent h6 a:link, .mg-postcontent h6 a:visited, .mg-postcontent h6 a:hover,
.mg-blockheader .t, .mg-blockheader .t a, .mg-blockheader .t a:link, .mg-blockheader .t a:visited, .mg-blockheader .t a:hover,
.mg-vmenublockheader .t, .mg-vmenublockheader .t a, .mg-vmenublockheader .t a:link, .mg-vmenublockheader .t a:visited, .mg-vmenublockheader .t a:hover,
.mg-headline, .mg-headline a, .mg-headline a:link, .mg-headline a:visited, .mg-headline a:hover,
.mg-slogan, .mg-slogan a, .mg-slogan a:link, .mg-slogan a:visited, .mg-slogan a:hover,
.mg-postheader, .mg-postheader a, .mg-postheader a:link, .mg-postheader a:visited, .mg-postheader a:hover
{
   font-size: 26px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: bold;
   font-style: normal;
   text-decoration: none;
}

.mg-postcontent a, .mg-postcontent a:link
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
   color: #408221;
}

.mg-postcontent a:visited, .mg-postcontent a.visited
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
   color: #9C9C9C;
}

.mg-postcontent  a:hover, .mg-postcontent a.hover
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   color: #8FDB24;
}

.mg-postcontent h1
{
   color: #000000;
   margin: 17px 0;
   font-size: 24px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-blockcontent h1
{
   margin: 17px 0;
   font-size: 24px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-postcontent h1 a, .mg-postcontent h1 a:link, .mg-postcontent h1 a:hover, .mg-postcontent h1 a:visited, .mg-blockcontent h1 a, .mg-blockcontent h1 a:link, .mg-blockcontent h1 a:hover, .mg-blockcontent h1 a:visited 
{
   font-size: 24px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-postcontent h2
{
   color: #000000;
   margin: 15px 5px 15px 10px;
   font-size: 22px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
}

.mg-blockcontent h2
{
   margin: 15px 5px 15px 10px;
   font-size: 22px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
}

.mg-postcontent h2 a, .mg-postcontent h2 a:link, .mg-postcontent h2 a:hover, .mg-postcontent h2 a:visited, .mg-blockcontent h2 a, .mg-blockcontent h2 a:link, .mg-blockcontent h2 a:hover, .mg-blockcontent h2 a:visited 
{
   font-size: 22px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
}

.mg-postcontent h3
{
   color: #424242;
   margin: 13px 15px 13px 20px;
   font-size: 20px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.mg-blockcontent h3
{
   margin: 13px 15px 13px 20px;
   font-size: 20px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.mg-postcontent h3 a, .mg-postcontent h3 a:link, .mg-postcontent h3 a:hover, .mg-postcontent h3 a:visited, .mg-blockcontent h3 a, .mg-blockcontent h3 a:link, .mg-blockcontent h3 a:hover, .mg-blockcontent h3 a:visited 
{
   font-size: 20px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.mg-postcontent h4
{
   color: #000000;
   margin: 15px 15px 15px 30px;
   font-size: 18px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-blockcontent h4
{
   margin: 15px 15px 15px 30px;
   font-size: 18px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-postcontent h4 a, .mg-postcontent h4 a:link, .mg-postcontent h4 a:hover, .mg-postcontent h4 a:visited, .mg-blockcontent h4 a, .mg-blockcontent h4 a:link, .mg-blockcontent h4 a:hover, .mg-blockcontent h4 a:visited 
{
   font-size: 18px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-postcontent h5
{
   color: #39580E;
   margin: 15px 20px 15px 40px;
   font-size: 16px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-blockcontent h5
{
   margin: 15px 20px 15px 40px;
   font-size: 16px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-postcontent h5 a, .mg-postcontent h5 a:link, .mg-postcontent h5 a:hover, .mg-postcontent h5 a:visited, .mg-blockcontent h5 a, .mg-blockcontent h5 a:link, .mg-blockcontent h5 a:hover, .mg-blockcontent h5 a:visited 
{
   font-size: 16px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-postcontent h6
{
   color: #616161;
   margin: 13px 25px 13px 50px;
   font-size: 16px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: bold;
   font-style: normal;
}

.mg-blockcontent h6
{
   margin: 13px 25px 13px 50px;
   font-size: 16px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: bold;
   font-style: normal;
}

.mg-postcontent h6 a, .mg-postcontent h6 a:link, .mg-postcontent h6 a:hover, .mg-postcontent h6 a:visited, .mg-blockcontent h6 a, .mg-blockcontent h6 a:link, .mg-blockcontent h6 a:hover, .mg-blockcontent h6 a:visited 
{
   font-size: 16px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: bold;
   font-style: normal;
}

header, footer, article, nav, #mg-hmenu-bg, .mg-sheet, .mg-hmenu a, .mg-vmenu a, .mg-slidenavigator > a, .mg-checkbox:before, .mg-radiobutton:before
{
   -webkit-background-origin: border !important;
   -moz-background-origin: border !important;
   background-origin: border-box !important;
}

header, footer, article, nav, #mg-hmenu-bg, .mg-sheet, .mg-slidenavigator > a, .mg-checkbox:before, .mg-radiobutton:before
{
   display: block;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

ul
{
   list-style-type: none;
}

ol
{
   list-style-position: inside;
}

html, body
{
   height: 100%;
}

/**
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 * https://github.com/necolas/normalize.css
 */

html {
   -ms-text-size-adjust: 100%;
   /* 2 */
    -webkit-text-size-adjust: 100%;
/* 2 */}

body
{
   padding: 0;
   margin:0;
   min-width: 700px;
   color: #141414;
}

.mg-header:before, #mg-header-bg:before, .mg-layout-cell:before, .mg-layout-wrapper:before, .mg-footer:before, .mg-nav:before, #mg-hmenu-bg:before, .mg-sheet:before
{
   width: 100%;
   content: " ";
   display: table;
}
.mg-header:after, #mg-header-bg:after, .mg-layout-cell:after, .mg-layout-wrapper:after, .mg-footer:after, .mg-nav:after, #mg-hmenu-bg:after, .mg-sheet:after,
.cleared, .clearfix:after {
   clear: both;
   font: 0/0 serif;
   display: block;
   content: " ";
}

form
{
   padding: 0;
   margin: 0;
}

table.position
{
   position: relative;
   width: 100%;
   table-layout: fixed;
}

li h1, .mg-postcontent li h1, .mg-blockcontent li h1 
{
   margin:1px;
} 
li h2, .mg-postcontent li h2, .mg-blockcontent li h2 
{
   margin:1px;
} 
li h3, .mg-postcontent li h3, .mg-blockcontent li h3 
{
   margin:1px;
} 
li h4, .mg-postcontent li h4, .mg-blockcontent li h4 
{
   margin:1px;
} 
li h5, .mg-postcontent li h5, .mg-blockcontent li h5 
{
   margin:1px;
} 
li h6, .mg-postcontent li h6, .mg-blockcontent li h6 
{
   margin:1px;
} 
li p, .mg-postcontent li p, .mg-blockcontent li p 
{
   margin:1px;
}


.mg-shapes
{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   overflow: hidden;
   z-index: 0;
}

.mg-slider-inner {
   position: relative;
   overflow: hidden;
   width: 100%;
   height: 100%;
}

.mg-slidenavigator > a {
   display: inline-block;
   vertical-align: middle;
   outline-style: none;
   font-size: 1px;
}

.mg-slidenavigator > a:last-child {
   margin-right: 0 !important;
}

.mg-logo-1098348383
{  
  position: absolute;
  top: -10px;
  left: 0%;
  margin-left: 0px !important;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
      z-index: 101;
  width: 420px;
  height: 120px;
}





.mg-header
{
   margin:0 auto;
   background-repeat: no-repeat;
   height: 150px;
   background-image: url('images/header.png');
   background-position: center top;
   position: relative;
   min-width: 700px;
   max-width: 1728px;
   width: 90%;
   z-index: auto !important;
}

.custom-responsive .mg-header
{
   background-image: url('images/header.png');
   background-position: center top;
}

.default-responsive .mg-header,
.default-responsive #mg-header-bg
{
   background-image: url('images/header.png');
   background-position: center center;
   background-size: cover;
}

.mg-header>.widget 
{
   position:absolute;
   z-index:101;
}

.mg-nav
{
   position: absolute;
   margin: 0;
   top:     0;
   width: 100%;
   z-index: 100;
   text-align: right;
}

ul.mg-hmenu a, ul.mg-hmenu a:link, ul.mg-hmenu a:visited, ul.mg-hmenu a:hover 
{
   outline: none;
   position: relative;
   z-index: 11;
}

ul.mg-hmenu, ul.mg-hmenu ul
{
   display: block;
   margin: 0;
   padding: 0;
   border: 0;
   list-style-type: none;
}

ul.mg-hmenu li
{
   position: relative;
   z-index: 5;
   display: block;
   float: left;
   background: none;
   margin: 0;
   padding: 0;
   border: 0;
}

ul.mg-hmenu li:hover
{
   z-index: 10000;
   white-space: normal;
}

ul.mg-hmenu:after, ul.mg-hmenu ul:after
{
   content: ".";
   height: 0;
   display: block;
   visibility: hidden;
   overflow: hidden;
   clear: both;
}

ul.mg-hmenu, ul.mg-hmenu ul 
{
   min-height: 0;
}

ul.mg-hmenu 
{
   display: inline-block;
   vertical-align: bottom;
}

.mg-nav:before 
{
   content:' ';
}

nav.mg-nav
{
   border-bottom-right-radius: 0;
   border-bottom-left-radius: 0;
}

.mg-hmenu-extra1
{
   position: relative;
   display: block;
   float: left;
   width: auto;
   height: auto;
   background-position: center;
}

.mg-hmenu-extra2
{
   position: relative;
   display: block;
   float: right;
   width: auto;
   height: auto;
   background-position: center;
}

.mg-hmenu
{
   float: right;
}

.mg-menuitemcontainer
{
   margin:0 auto;
}
ul.mg-hmenu>li {
   margin-left: 1px;
}
ul.mg-hmenu>li:first-child {
   margin-left: 0;
}
ul.mg-hmenu>li:last-child, ul.mg-hmenu>li.last-child {
   margin-right: 0;
}

ul.mg-hmenu>li>a
{
   background: #FFFFFF;
   background: rgba(255, 255, 255, 0.9);
   padding:0 17px;
   margin:0 auto;
   position: relative;
   display: block;
   height: 27px;
   cursor: pointer;
   text-decoration: none;
   color: #408221;
   line-height: 27px;
   text-align: center;
}

.mg-hmenu>li>a, 
.mg-hmenu>li>a:link, 
.mg-hmenu>li>a:visited, 
.mg-hmenu>li>a.active, 
.mg-hmenu>li>a:hover
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   text-align: left;
}

ul.mg-hmenu>li>a.active
{
   background: #FFFFFF;
   background: rgba(255, 255, 255, 0.9);
   padding:0 17px;
   margin:0 auto;
   color: #E2341D;
   text-decoration: none;
}

ul.mg-hmenu>li>a:visited, 
ul.mg-hmenu>li>a:hover, 
ul.mg-hmenu>li:hover>a {
   text-decoration: none;
}

ul.mg-hmenu>li>a:hover, .desktop ul.mg-hmenu>li:hover>a
{
   background: #FF5D05;
   padding:0 17px;
   margin:0 auto;
}
ul.mg-hmenu>li>a:hover, 
.desktop ul.mg-hmenu>li:hover>a {
   color: #000000;
   text-decoration: none;
}

ul.mg-hmenu>li:before
{
   position:absolute;
   display: block;
   content:' ';
   top:0;
   left:  -1px;
   width:1px;
   height: 27px;
   background: url('images/menuseparator.png') center center no-repeat;
}
ul.mg-hmenu>li:first-child:before{
   display:none;
}

ul.mg-hmenu li li a
{
   background: #E0E0E0;
   padding:0 8px;
   margin:0 auto;
}
ul.mg-hmenu li li 
{
   float: none;
   width: auto;
   margin-top: 0;
   margin-bottom: 0;
}

.desktop ul.mg-hmenu li li ul>li:first-child 
{
   margin-top: 0;
}

ul.mg-hmenu li li ul>li:last-child 
{
   margin-bottom: 0;
}

.mg-hmenu ul a
{
   display: block;
   white-space: nowrap;
   height: 27px;
   min-width: 7em;
   border: 0 solid transparent;
   text-align: left;
   line-height: 27px;
   color: #000000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   margin:0;
}

.mg-hmenu ul a:link, 
.mg-hmenu ul a:visited, 
.mg-hmenu ul a.active, 
.mg-hmenu ul a:hover
{
   text-align: left;
   line-height: 27px;
   color: #000000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   margin:0;
}

ul.mg-hmenu ul li a:hover, .desktop ul.mg-hmenu ul li:hover>a
{
   background: #FCBE03;
   margin:0 auto;
}
.mg-hmenu ul a:hover
{
   color: #000000;
}

.desktop .mg-hmenu ul li:hover>a
{
   color: #000000;
}

ul.mg-hmenu ul:before
{
   background: #E0E0E0;
   margin:0 auto;
   display: block;
   position: absolute;
   content: ' ';
   z-index: 1;
}
.desktop ul.mg-hmenu li:hover>ul {
   visibility: visible;
   top: 100%;
}
.desktop ul.mg-hmenu li li:hover>ul {
   top: 0;
   left: 100%;
}

ul.mg-hmenu ul
{
   visibility: hidden;
   position: absolute;
   z-index: 10;
   left: 0;
   top: 0;
   background-image: url('images/spacer.gif');
}

.desktop ul.mg-hmenu>li>ul
{
   padding: 10px 30px 30px 30px;
   margin: -10px 0 0 -30px;
}

.desktop ul.mg-hmenu ul ul
{
   padding: 30px 30px 30px 10px;
   margin: -30px 0 0 -10px;
}

.desktop ul.mg-hmenu ul.mg-hmenu-left-to-right 
{
   right: auto;
   left: 0;
   margin: -10px 0 0 -30px;
}

.desktop ul.mg-hmenu ul.mg-hmenu-right-to-left 
{
   left: auto;
   right: 0;
   margin: -10px -30px 0 0;
}

.desktop ul.mg-hmenu li li:hover>ul.mg-hmenu-left-to-right {
   right: auto;
   left: 100%;
}
.desktop ul.mg-hmenu li li:hover>ul.mg-hmenu-right-to-left {
   left: auto;
   right: 100%;
}

.desktop ul.mg-hmenu ul ul.mg-hmenu-left-to-right
{
   right: auto;
   left: 0;
   padding: 30px 30px 30px 10px;
   margin: -30px 0 0 -10px;
}

.desktop ul.mg-hmenu ul ul.mg-hmenu-right-to-left
{
   left: auto;
   right: 0;
   padding: 30px 10px 30px 30px;
   margin: -30px -10px 0 0;
}

.desktop ul.mg-hmenu li ul>li:first-child {
   margin-top: 0;
}
.desktop ul.mg-hmenu li ul>li:last-child {
   margin-bottom: 0;
}

.desktop ul.mg-hmenu ul ul:before
{
   border-radius: 0;
   top: 30px;
   bottom: 30px;
   right: 30px;
   left: 10px;
}

.desktop ul.mg-hmenu>li>ul:before
{
   top: 10px;
   right: 30px;
   bottom: 30px;
   left: 30px;
}

.desktop ul.mg-hmenu>li>ul.mg-hmenu-left-to-right:before {
   right: 30px;
   left: 30px;
}
.desktop ul.mg-hmenu>li>ul.mg-hmenu-right-to-left:before {
   right: 30px;
   left: 30px;
}
.desktop ul.mg-hmenu ul ul.mg-hmenu-left-to-right:before {
   right: 30px;
   left: 10px;
}
.desktop ul.mg-hmenu ul ul.mg-hmenu-right-to-left:before {
   right: 10px;
   left: 30px;
}

.mg-sheet
{
   margin:0 auto;
   position:relative;
   cursor:auto;
   width: 90%;
   min-width: 700px;
   max-width: 1728px;
   z-index: auto !important;
}

.mg-layout-wrapper
{
   position: relative;
   margin: 0 auto 0 auto;
   z-index: auto !important;
}

.mg-content-layout
{
   display: table;
   width: 100%;
   table-layout: fixed;
}

.mg-content-layout-row 
{
   display: table-row;
}

.mg-layout-cell
{
   display: table-cell;
   vertical-align: top;
}

/* need only for content layout in post content */ 
.mg-postcontent .mg-content-layout
{
   border-collapse: collapse;
}

.mg-vmenublock
{
   background: #FFFFFF;
   background: rgba(255, 255, 255, 0.9);
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   margin:10px;
}
div.mg-vmenublock img
{
   margin: 0;
}

.mg-vmenublockcontent
{
   margin:0 auto;
}

ul.mg-vmenu, ul.mg-vmenu ul
{
   list-style: none;
   display: block;
}

ul.mg-vmenu, ul.mg-vmenu li
{
   display: block;
   margin: 0;
   padding: 0;
   width: auto;
   line-height: 0;
}

ul.mg-vmenu
{
   margin-top: 0;
   margin-bottom: 0;
}

ul.mg-vmenu>li>a
{
   padding:0 6px 0 22px;
   margin:0 auto;
   font-size: 18px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   text-indent: -8px;
   color: #000000;
   min-height: 40px;
   line-height: 40px;
}
ul.mg-vmenu a 
{
   display: block;
   cursor: pointer;
   z-index: 1;
   position:relative;
}

ul.mg-vmenu ul, ul.mg-vmenu li{
   position:relative;
}

ul.mg-vmenu>li
{
   margin-top: 1px;
}
ul.mg-vmenu>li>ul
{
   padding: 0;
   margin-top: 0;
   margin-bottom: 0;
}
ul.mg-vmenu>li:first-child
{
   margin-top:0;
}

ul.mg-vmenu>li>a:before
{
   content:url('images/vmenuitemicon.png');
   margin-right:5px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.mg-vmenu>li>a:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.mg-vmenu>li>a.active:before
{
   content:url('images/vmenuactiveitemicon.png');
   margin-right:5px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.mg-vmenu>li>a.active:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.mg-vmenu>li>a:hover:before,  ul.mg-vmenu>li>a.active:hover:before,  ul.mg-vmenu>li:hover>a:before,  ul.mg-vmenu>li:hover>a.active:before
{
   content:url('images/vmenuhovereditemicon.png');
   margin-right:5px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.mg-vmenu>li>a:hover:before, .opera   ul.mg-vmenu>li>a.active:hover:before, .opera   ul.mg-vmenu>li:hover>a:before, .opera   ul.mg-vmenu>li:hover>a.active:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.mg-vmenu>li>a:hover, ul.mg-vmenu>li>a.active:hover
{
   background: #FCBE03 url('images/vmenuhovereditem.png') scroll;
   padding:0 6px 0 22px;
   margin:0 auto;
}

ul.mg-vmenu a:hover, ul.mg-vmenu a.active:hover 
{
   color: #000000;
}

ul.mg-vmenu>li>a.active:hover>span.border-top, ul.mg-vmenu>li>a.active:hover>span.border-bottom 
{
   background-color: transparent;
}

ul.mg-vmenu>li>a.active
{
   background: #408221 url('images/vmenuactiveitem.png') scroll;
   background: rgba(64, 130, 33, 0.8) url('images/vmenuactiveitem.png') scroll;
   padding:0 6px 0 22px;
   margin:0 auto;
   color: #FFFFFF;
}

ul.mg-vmenu>li:after, ul.mg-vmenu>li>ul:after{
   display: block;
   position: absolute;
   content: ' ';
   left: 0;
   right: 0;
   top: -1px;
}

ul.mg-vmenu>li:after, ul.mg-vmenu>li>ul:after{
   z-index: 1;
   height: 0;
   border-bottom: 1px dotted #408221;
}

ul.mg-vmenu>li:first-child:before, ul.mg-vmenu>li:first-child:after 
{
   display:none;
}

ul.mg-vmenu>li>ul:before
{
   margin:0 auto;
   display: block;
   position: absolute;
   content: ' ';
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
}

ul.mg-vmenu li li a
{
   margin:0 auto;
   position: relative;
}
ul.mg-vmenu ul, ul.mg-vmenu ul li
{
   margin: 0;
   padding: 0;
}
ul.mg-vmenu ul, ul.mg-vmenu li li{
   position: relative;
}

ul.mg-vmenu ul a
{
   display: block;
   position: relative;
   min-height: 30px;
   overflow: visible;
   padding: 0;
   padding-left: 34px;
   padding-right: 0;
   z-index: 0;
   line-height: 30px;
   color: #000000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-indent: -8px;
   margin-left: 0;
   margin-right: 0;
}

ul.mg-vmenu ul a:visited, ul.mg-vmenu ul a.active:hover, ul.mg-vmenu ul a:hover, ul.mg-vmenu ul a.active
{
   line-height: 30px;
   color: #000000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-indent: -8px;
   margin-left: 0;
   margin-right: 0;
}

ul.mg-vmenu li li
{
   position: relative;
   margin-top: 2px;
}

ul.mg-vmenu ul ul a
{
   padding-left: 68px;
}
ul.mg-vmenu ul ul ul a
{
   padding-left: 102px;
}
ul.mg-vmenu ul ul ul ul a
{
   padding-left: 136px;
}
ul.mg-vmenu ul ul ul ul ul a
{
   padding-left: 170px;
}

ul.mg-vmenu li li a:before
{
   content:url('images/vmenusubitemicon.png');
   margin-right:10px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.mg-vmenu li li a:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.mg-vmenu ul>li>a:hover, ul.mg-vmenu ul>li>a.active:hover
{
   background: #FF5D05;
   background: rgba(255, 93, 5, 0.8);
   margin:0 auto;
}
ul.mg-vmenu ul li a:hover, ul.mg-vmenu ul li a.active:hover
{
   color: #000000;
}

ul.mg-vmenu ul a:hover:after
{
   background-position: center ;
}
ul.mg-vmenu ul a.active:hover:after
{
   background-position: center ;
}
ul.mg-vmenu ul a.active:after
{
   background-position: bottom ;
}

ul.mg-vmenu li li a:hover:before
{
   content:url('images/vmenuhoveredsubitemicon.png');
   margin-right:10px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.mg-vmenu li li a:hover:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.mg-vmenu ul>li>a.active
{
   background: #81C520;
   margin:0 auto;
}
ul.mg-vmenu ul a.active, ul.mg-vmenu ul a:hover, ul.mg-vmenu ul a.active:hover
{
   color: #FFFFFF;
}

ul.mg-vmenu li li a.active:before
{
   content:url('images/vmenuactivesubitemicon.png');
   margin-right:10px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.mg-vmenu li li a.active:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-block
{
   background: #FFFFFF;
   background: rgba(255, 255, 255, 0.9);
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   padding:3px;
   margin:10px;
}
div.mg-block img
{
   border: none;
   margin: 7px;
}

.mg-blockheader
{
   padding:12px 5px;
   margin:0 auto;
}
.mg-blockheader .t,
.mg-blockheader .t a,
.mg-blockheader .t a:link,
.mg-blockheader .t a:visited, 
.mg-blockheader .t a:hover
{
   color: #000000;
   font-size: 16px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   margin: 0 5px;
}

.mg-blockheader .t:before
{
   content:url('images/blockheadericon.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .mg-blockheader .t:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-blockcontent
{
   padding:5px;
   margin:0 auto;
   color: #000000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}
.mg-blockcontent table,
.mg-blockcontent li, 
.mg-blockcontent a,
.mg-blockcontent a:link,
.mg-blockcontent a:visited,
.mg-blockcontent a:hover
{
   color: #000000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-blockcontent p
{
   margin:6px;
}

.mg-blockcontent a, .mg-blockcontent a:link
{
   color: #0E78F1;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
}

.mg-blockcontent a:visited, .mg-blockcontent a.visited
{
   color: #39580E;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
}

.mg-blockcontent a:hover, .mg-blockcontent a.hover
{
   color: #FF0000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
}
.mg-block ul>li:before
{
   content:url('images/blockbullets.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   margin-left: -16px;
}
.opera .mg-block ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-block li
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 150%;
   color: #39580E;
   margin-left: 4px;
}

.mg-block ul>li, .mg-block ol
{
   padding: 0;
}

.mg-block ul>li
{
   padding-left: 16px;
}

.mg-breadcrumbs
{
   margin:0 auto;
}

a.mg-button,
a.mg-button:link,
a:link.mg-button:link,
body a.mg-button:link,
a.mg-button:visited,
body a.mg-button:visited,
input.mg-button,
button.mg-button
{
   text-decoration: none;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   position:relative;
   display: inline-block;
   vertical-align: middle;
   white-space: nowrap;
   text-align: center;
   color: #000000;
   margin: 0 5px 0 0 !important;
   overflow: visible;
   cursor: pointer;
   text-indent: 0;
   line-height: 18px;
   -webkit-box-sizing: content-box;
   -moz-box-sizing: content-box;
   box-sizing: content-box;
}

.mg-button img
{
   margin: 0;
   vertical-align: middle;
}

.firefox2 .mg-button
{
   display: block;
   float: left;
}

input, select, textarea, a.mg-search-button span
{
   vertical-align: middle;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.mg-block select 
{
   width:96%;
}

input.mg-button
{
   float: none !important;
   -webkit-appearance: none;
}

.mg-button.active, .mg-button.active:hover
{
   background: #E6F561;
   border:3px solid #9FE042;
   padding:0 15px;
   margin:0 auto;
}
.mg-button.active, .mg-button.active:hover {
   color: #223509 !important;
}

.mg-button.hover, .mg-button:hover
{
   background: #FF5D05;
   border:3px solid #FF0000;
   padding:0 15px;
   margin:0 auto;
}
.mg-button.hover, .mg-button:hover {
   color: #000000 !important;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea
{
   background: #F9FAFB;
   background: -webkit-linear-gradient(top, #E6EBF0 0, #F2F5F7 85%, #ECF0F4 86%, #ECF0F4 100%) no-repeat;
   background: -moz-linear-gradient(top, #E6EBF0 0, #F2F5F7 85%, #ECF0F4 86%, #ECF0F4 100%) no-repeat;
   background: -o-linear-gradient(top, #E6EBF0 0, #F2F5F7 85%, #ECF0F4 86%, #ECF0F4 100%) no-repeat;
   background: -ms-linear-gradient(top, #E6EBF0 0, #F2F5F7 85%, #ECF0F4 86%, #ECF0F4 100%) no-repeat;
   -svg-background: linear-gradient(top, #E6EBF0 0, #F2F5F7 85%, #ECF0F4 86%, #ECF0F4 100%) no-repeat;
   background: linear-gradient(to bottom, #E6EBF0 0, #F2F5F7 85%, #ECF0F4 86%, #ECF0F4 100%) no-repeat;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   border:1px solid #9FE042;
   margin:0 auto;
}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea
{
   width: auto;
   padding: 4px 0;
   color: #456911 !important;
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-shadow: none;
}
input.mg-error, textarea.mg-error
{
   background: #F9FAFB;
   border:1px solid #E2341D;
   margin:0 auto;
}
input.mg-error, textarea.mg-error {
   color: #456911 !important;
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}
form.mg-search input[type="text"]
{
   background: #F9FAFB;
   border-radius: 0;
   -webkit-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   -moz-box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   box-shadow:0 0 2px 1px rgba(0, 0, 0, 0.2);
   border:1px solid #CCD6E0;
   margin:0 auto;
   width: 100%;
   padding: 0 0;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   color: #456911 !important;
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}
form.mg-search 
{
   background-image: none;
   border: 0;
   display:block;
   position:relative;
   top:0;
   padding:0;
   margin:5px;
   left:0;
   line-height: 0;
}

form.mg-search input, a.mg-search-button
{
   -webkit-appearance: none;
   top:0;
   right:0;
}

form.mg-search>input, a.mg-search-button{
   bottom:0;
   left:0;
   vertical-align: middle;
}

form.mg-search input[type="submit"], input.mg-search-button, a.mg-search-button
{
   background: #86CE22;
   border-radius: 0;
   margin:0 auto;
}
form.mg-search input[type="submit"], input.mg-search-button, a.mg-search-button {
   position:absolute;
   left:auto;
   display:block;
   border: 0;
   top: 1px;
   bottom: 1px;
   right: 	1px;
   padding:0 6px;
   color: #FFFFFF !important;
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   cursor: pointer;
}

a.mg-search-button span.mg-search-button-text, a.mg-search-button:after {
   vertical-align:middle;
}

a.mg-search-button:after {
   display:inline-block;
   content:' ';
   height: 100%;
}

a.mg-search-button, a.mg-search-button span,
a.mg-search-button:visited, a.mg-search-button.visited,
a.mg-search-button:hover, a.mg-search-button.hover 
{
   text-decoration: none;
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

a.mg-search-button 
{
   line-height: 100% !important;
}

label.mg-checkbox:before
{
   background: #F9FAFB;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   border-width: 0;
   margin:0 auto;
   width:16px;
   height:16px;
}
label.mg-checkbox
{
   cursor: pointer;
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   line-height: 16px;
   display: inline-block;
   color: #476E12 !important;
}

.mg-checkbox>input[type="checkbox"]
{
   margin: 0 5px 0 0;
}

label.mg-checkbox.active:before
{
   background: #C7C7C7;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   border-width: 0;
   margin:0 auto;
   width:16px;
   height:16px;
   display: inline-block;
}

label.mg-checkbox.hovered:before
{
   background: #E0E0E0;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   border-width: 0;
   margin:0 auto;
   width:16px;
   height:16px;
   display: inline-block;
}

label.mg-radiobutton:before
{
   background: #F9FAFB;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   border-width: 0;
   margin:0 auto;
   width:12px;
   height:12px;
}
label.mg-radiobutton
{
   cursor: pointer;
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   line-height: 12px;
   display: inline-block;
   color: #476E12 !important;
}

.mg-radiobutton>input[type="radio"]
{
   vertical-align: baseline;
   margin: 0 5px 0 0;
}

label.mg-radiobutton.active:before
{
   background: #C7C7C7;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   border-width: 0;
   margin:0 auto;
   width:12px;
   height:12px;
   display: inline-block;
}

label.mg-radiobutton.hovered:before
{
   background: #E0E0E0;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   border-width: 0;
   margin:0 auto;
   width:12px;
   height:12px;
   display: inline-block;
}

.mg-comments
{
   border-top:1px dotted #B5B5B5;
   margin:0 auto;
   margin-top: 25px;
}

.mg-comments h2
{
   color: #292929;
}

.mg-comment-inner
{
   background: #E2E8EE;
   background: transparent;
   -webkit-border-radius:2px;
   -moz-border-radius:2px;
   border-radius:2px;
   padding:5px;
   margin:0 auto;
   margin-left: 56px;
}
.mg-comment-avatar 
{
   float:left;
   width:42px;
   height:42px;
   padding:1px;
   background:#fff;
   border:1px solid #E2E8EE;
}

.mg-comment-avatar>img
{
   margin:0 !important;
   border:none !important;
}

.mg-comment-content
{
   padding:10px 0;
   color: #6D7808;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-comment
{
   margin-top: 6px;
}

#comment-list>li:first-child>.mg-comment
{
   margin-top: 0;
}

.mg-comment-header
{
   color: #292929;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 100%;
}

.mg-comment-header a, 
.mg-comment-header a:link, 
.mg-comment-header a:visited,
.mg-comment-header a.visited,
.mg-comment-header a:hover,
.mg-comment-header a.hovered
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 100%;
}

.mg-comment-header a, .mg-comment-header a:link
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #878787;
}

.mg-comment-header a:visited, .mg-comment-header a.visited
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #878787;
}

.mg-comment-header a:hover,  .mg-comment-header a.hovered
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #878787;
}

.mg-comment-content a, 
.mg-comment-content a:link, 
.mg-comment-content a:visited,
.mg-comment-content a.visited,
.mg-comment-content a:hover,
.mg-comment-content a.hovered
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-comment-content a, .mg-comment-content a:link
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #75B41D;
}

.mg-comment-content a:visited, .mg-comment-content a.visited
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #8F9E0A;
}

.mg-comment-content a:hover,  .mg-comment-content a.hovered
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #75B41D;
}

.mg-pager
{
   background: #EFF2F5;
   -webkit-border-radius:2px;
   -moz-border-radius:2px;
   border-radius:2px;
   border:1px solid #B5B5B5;
   padding:5px;
}

.mg-pager>*:last-child
{
   margin-right:0 !important;
}

.mg-pager>span {
   cursor:default;
}

.mg-pager>*
{
   background: #E0E0E0;
   -webkit-border-radius:2px;
   -moz-border-radius:2px;
   border-radius:2px;
   border:1px solid #E0E0E0;
   padding:7px;
   margin:0 4px 0 auto;
   line-height: normal;
   position:relative;
   display:inline-block;
   margin-left: 0;
}

.mg-pager a:link,
.mg-pager a:visited,
.mg-pager .active
{
   line-height: normal;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   color: #212121
;
}

.mg-pager .active
{
   background: #86CE22;
   border:1px solid #E0E0E0;
   padding:7px;
   margin:0 4px 0 auto;
   color: #FFFFFF
;
}

.mg-pager .more
{
   background: #E0E0E0;
   border:1px solid #E0E0E0;
   margin:0 4px 0 auto;
}
.mg-pager a.more:link,
.mg-pager a.more:visited
{
   color: #253909
;
}
.mg-pager a:hover
{
   background: #FFFF00;
   border:1px solid #E0E0E0;
   padding:7px;
   margin:0 4px 0 auto;
}
.mg-pager  a:hover,
.mg-pager  a.more:hover
{
   color: #0F0F0F
;
}
.mg-pager>*:after
{
   margin:0 0 0 auto;
   display:inline-block;
   position:absolute;
   content: ' ';
   top:0;
   width:0;
   height:100%;
   right: 0;
   text-decoration:none;
}

.mg-pager>*:last-child:after{
   display:none;
}

.mg-commentsform
{
   background: #E2E8EE;
   background: transparent;
   padding:10px;
   margin:0 auto;
   margin-top:25px;
   color: #292929;
}

.mg-commentsform h2{
   padding-bottom:10px;
   margin: 0;
   color: #292929;
}

.mg-commentsform label {
   display: inline-block;
   line-height: 25px;
}

.mg-commentsform input:not([type=submit]), .mg-commentsform textarea {
   box-sizing: border-box;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   width:100%;
   max-width:100%;
}

.mg-commentsform .form-submit
{
   margin-top: 10px;
}
.mg-post
{
   background: #FFFFFF;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   padding:3px;
   margin:10px;
}
a img
{
   border: 0;
}

.mg-article img, img.mg-article, .mg-block img, .mg-footer-text img
{
   margin: 5px 5px 5px 5px;
}

.mg-metadata-icons img
{
   border: none;
   vertical-align: middle;
   margin: 2px;
}

.mg-article table, table.mg-article
{
   border-collapse: collapse;
   margin: 1px;
}

.mg-post .mg-content-layout-br
{
   height: 0;
}

.mg-article th, .mg-article td
{
   padding: 2px;
   border: dotted 1px #A6A6A6;
   vertical-align: top;
   text-align: left;
}

.mg-article th
{
   text-align: center;
   vertical-align: middle;
   padding: 7px;
}

pre
{
   overflow: auto;
   padding: 0.1em;
}

.preview-cms-logo
{
   border: 0;
   margin: 1em 1em 0 0;
   float: left;
}

.image-caption-wrapper
{
   padding: 5px 5px 5px 5px;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper img
{
   margin: 0 !important;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper div.mg-collage
{
   margin: 0 !important;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper p
{
   font-size: 80%;
   text-align: right;
   margin: 0;
}

.mg-postmetadataheader
{
   border-bottom:1px dotted #81C520;
   margin:0 auto;
   position:relative;
   z-index:1;
   padding: 1px;
   margin-bottom: 5px;
}

.mg-postheadericon:before
{
   content:url('images/postheadericon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .mg-postheadericon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-postheader
{
   color: #000000;
   margin: 5px 0 15px;
   font-size: 24px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-indent: 0;
}

.mg-postheader a, 
.mg-postheader a:link, 
.mg-postheader a:visited,
.mg-postheader a.visited,
.mg-postheader a:hover,
.mg-postheader a.hovered
{
   font-size: 24px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-indent: 0;
}

.mg-postheader a, .mg-postheader a:link
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
   text-align: left;
   color: #408221;
}

.mg-postheader a:visited, .mg-postheader a.visited
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
   text-align: left;
   color: #9E9E9E;
}

.mg-postheader a:hover,  .mg-postheader a.hovered
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   text-align: left;
   color: #8FDB24;
}

.mg-postheadericons,
.mg-postheadericons a,
.mg-postheadericons a:link,
.mg-postheadericons a:visited,
.mg-postheadericons a:hover
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #545454;
}

.mg-postheadericons
{
   padding: 1px;
}

.mg-postheadericons a, .mg-postheadericons a:link
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   color: #0E78F1;
}

.mg-postheadericons a:visited, .mg-postheadericons a.visited
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: italic;
   text-decoration: none;
   color: #949494;
}

.mg-postheadericons a:hover, .mg-postheadericons a.hover
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: italic;
   text-decoration: underline;
   color: #A1E147;
}

.mg-postdateicon:before
{
   content:url('images/postdateicon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .mg-postdateicon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-postediticon:before
{
   content:url('images/postediticon.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .mg-postediticon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-postcontent ul>li:before,  .mg-post ul>li:before,  .mg-textblock ul>li:before
{
   content:url('images/postbullets.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .mg-postcontent ul>li:before, .opera   .mg-post ul>li:before, .opera   .mg-textblock ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-postcontent li, .mg-post li, .mg-textblock li
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #39580E;
   margin: 0 0 0 24px;
}

.mg-postcontent ul>li, .mg-post ul>li, .mg-textblock ul>li, .mg-postcontent ol, .mg-post ol, .mg-textblock ol
{
   padding: 0;
}

.mg-postcontent ul>li, .mg-post ul>li, .mg-textblock ul>li
{
   padding-left: 11px;
}

.mg-postcontent ul>li:before,  .mg-post ul>li:before,  .mg-textblock ul>li:before
{
   margin-left: -11px;
}

.mg-postcontent ol, .mg-post ol, .mg-textblock ol, .mg-postcontent ul, .mg-post ul, .mg-textblock ul
{
   margin: 1em 0 1em 24px;
}

.mg-postcontent li ol, .mg-post li ol, .mg-textblock li ol, .mg-postcontent li ul, .mg-post li ul, .mg-textblock li ul
{
   margin: 0.5em 0 0.5em 24px;
}

.mg-postcontent li, .mg-post li, .mg-textblock li
{
   margin: 0 0 0 0;
}

.mg-postcontent ol>li, .mg-post ol>li, .mg-textblock ol>li
{
   /* overrides overflow for "ul li" and sets the default value */
  overflow: visible;
}

.mg-postcontent ul>li, .mg-post ul>li, .mg-textblock ul>li
{
   /* makes "ul li" not to align behind the image if they are in the same line */
  overflow-x: visible;
   overflow-y: hidden;
}

blockquote
{
   background: #EFFAE0 url('images/postquote.png') no-repeat scroll;
   padding:10px 10px 10px 34px;
   color: #121212;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   /* makes block not to align behind the image if they are in the same line */
  overflow: auto;
   clear:both;
}
blockquote a, .mg-postcontent blockquote a, .mg-blockcontent blockquote a, .mg-footer-text blockquote a,
blockquote a:link, .mg-postcontent blockquote a:link, .mg-blockcontent blockquote a:link, .mg-footer-text blockquote a:link,
blockquote a:visited, .mg-postcontent blockquote a:visited, .mg-blockcontent blockquote a:visited, .mg-footer-text blockquote a:visited,
blockquote a:hover, .mg-postcontent blockquote a:hover, .mg-blockcontent blockquote a:hover, .mg-footer-text blockquote a:hover
{
   color: #121212;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

/* Override native 'p' margins*/
blockquote p,
.mg-postcontent blockquote p,
.mg-blockcontent blockquote p,
.mg-footer-text blockquote p
{
   margin: 0;
   margin:3px;
}

.mg-postfootericons,
.mg-postfootericons a,
.mg-postfootericons a:link,
.mg-postfootericons a:visited,
.mg-postfootericons a:hover
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #696969;
}

.mg-postfootericons
{
   padding: 1px;
}

.mg-postfootericons a, .mg-postfootericons a:link
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
   color: #0E78F1;
}

.mg-postfootericons a:visited, .mg-postfootericons a.visited
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
   color: #595959;
}

.mg-postfootericons a:hover, .mg-postfootericons a.hover
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   color: #A1E147;
}

.mg-postcategoryicon:before
{
   content:url('images/postcategoryicon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .mg-postcategoryicon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-posttagicon:before
{
   content:url('images/posttagicon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .mg-posttagicon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.Navigator .mg-ccs-navigator img, .Navigator img
{
   border: 0;
   margin: 0;
   vertical-align: middle;
}
tr.Navigator td, td span.Navigator
{
   text-align: center;
   vertical-align: middle;
}

.Sorter img
{
   border:0;
   vertical-align:middle;
   padding:0;
   margin:0;
   position:static;
   z-index:1;
   width: 12px;
   height: 6px;
}

.Sorter a
{
   position:relative;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #757575;
}

.Sorter a:link
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #757575;
}

.Sorter a:visited, .Sorter a.visited
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #757575;
}

.Sorter a:hover, .Sorter a.hover
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #595959;
}

.Sorter
{
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color:#404040;
}

.mg-footer
{
   background: #FFFFFF;
   background: rgba(255, 255, 255, 0.8);
   margin:0 auto;
   position: relative;
   color: #292929;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-align: left;
   padding: 0;
}

.mg-footer-text a,
.mg-footer-text a:link,
.mg-footer-text a:visited,
.mg-footer-text a:hover,
.mg-footer-text td, 
.mg-footer-text th,
.mg-footer-text caption
{
   color: #292929;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-footer-text p 
{
   padding:0;
   text-align: left;
}

.mg-footer-text a,
.mg-footer-text a:link
{
   color: #0A56AE;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.mg-footer-text a:visited
{
   color: #21798C;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.mg-footer-text a:hover
{
   color: #FF0000;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.mg-footer-text h1
{
   color: #A6A6A6;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-footer-text h2
{
   color: #B5B5B5;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-footer-text h3
{
   color: #9FE042;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-footer-text h4
{
   color: #E6F561;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-footer-text h5
{
   color: #E6F561;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-footer-text h6
{
   color: #E6F561;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.mg-footer-text img
{
   border: none;
   margin: 10px;
}

.mg-footer-inner
{
   margin: 0 auto;
   min-width: 700px;
   max-width: 1728px;
   width:90%;
   padding:5px;
   padding-right: 5px;
   padding-left: 5px;
}

.mg-rss-tag-icon
{
   background:  url('images/footerrssicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:30px;
   min-width:19px;
   display: inline-block;
   text-indent: 22px;
   background-position: left center;
   vertical-align: middle;
}

.mg-rss-tag-icon:empty
{
   vertical-align: middle;
}

.mg-facebook-tag-icon
{
   background:  url('images/footerfacebookicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.mg-facebook-tag-icon:empty
{
   vertical-align: middle;
}

.mg-twitter-tag-icon
{
   background:  url('images/footertwittericon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.mg-twitter-tag-icon:empty
{
   vertical-align: middle;
}

.mg-tumblr-tag-icon
{
   background:  url('images/tumblricon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.mg-tumblr-tag-icon:empty
{
   vertical-align: middle;
}

.mg-pinterest-tag-icon
{
   background:  url('images/pinteresticon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.mg-pinterest-tag-icon:empty
{
   vertical-align: middle;
}

.mg-vimeo-tag-icon
{
   background:  url('images/vimeoicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:33px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.mg-vimeo-tag-icon:empty
{
   vertical-align: middle;
}

.mg-youtube-tag-icon
{
   background:  url('images/youtubeicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.mg-youtube-tag-icon:empty
{
   vertical-align: middle;
}

.mg-linkedin-tag-icon
{
   background:  url('images/linkedinicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:32px;
   min-width:32px;
   display: inline-block;
   text-indent: 35px;
   background-position: left center;
   vertical-align: middle;
}

.mg-linkedin-tag-icon:empty
{
   vertical-align: middle;
}

.mg-footer-text ul>li:before
{
   content:url('images/footerbullets.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   margin-left: -11px;
}
.opera .mg-footer-text ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.mg-footer-text li
{
   font-size: 13px;
   font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 125%;
   color: #5E9118;
}

.mg-footer-text ul>li, .mg-footer-text ol
{
   padding: 0;
}

.mg-footer-text ul>li
{
   padding-left: 11px;
}

.mg-page-footer, 
.mg-page-footer a,
.mg-page-footer a:link,
.mg-page-footer a:visited,
.mg-page-footer a:hover
{
   font-family: Arial;
   font-size: 10px;
   letter-spacing: normal;
   word-spacing: normal;
   font-style: normal;
   font-weight: normal;
   text-decoration: underline;
   color: #FF5D05;
}

.mg-page-footer
{
   position: relative;
   z-index: auto !important;
   padding: 1em;
   text-align: center !important;
   text-decoration: none;
   color: #949494;
}

.mg-lightbox-wrapper 
{
   background: #333;
   background: rgba(0, 0, 0, .8);
   bottom: 0;
   left: 0;
   padding: 0 100px;
   position: fixed;
   right: 0;
   text-align: center;
   top: 0;
   z-index: 1000000;
}

.mg-lightbox,
.mg-lightbox-wrapper .mg-lightbox-image
{
   cursor: pointer;
}

.mg-lightbox-wrapper .mg-lightbox-image
{
   border: 6px solid #fff;
   border-radius: 3px;
   display: none;
   max-width: 100%;
   vertical-align: middle;
}

.mg-lightbox-wrapper .mg-lightbox-image.active
{
   display: inline-block;
}

.mg-lightbox-wrapper .lightbox-error
{
   background: #fff;
   border: 1px solid #b4b4b4;
   border-radius: 10px;
   box-shadow: 0 2px 5px #333;
   height: 80px;
   opacity: .95;
   padding: 20px;
   position: fixed;
   width: 300px;
   z-index: 100;
}

.mg-lightbox-wrapper .loading
{
   background: #fff url('images/preloader-01.gif') center center no-repeat;
   border: 1px solid #b4b4b4;
   border-radius: 10px;
   box-shadow: 0 2px 5px #333;
   height: 32px;
   opacity: .5;
   padding: 10px;
   position: fixed;
   width: 32px;
   z-index: 10100;
}

.mg-lightbox-wrapper .arrow
{
   cursor: pointer;
   height: 100px;
   opacity: .5;
   filter: alpha(opacity=50);
   position: fixed;
   width: 82px;
   z-index: 10003;
}

.mg-lightbox-wrapper .arrow.left
{
   left: 9px;
}

.mg-lightbox-wrapper .arrow.right
{
   right: 9px;
}

.mg-lightbox-wrapper .arrow:hover
{
   opacity: 1;
   filter: alpha(opacity=100);
}

.mg-lightbox-wrapper .arrow.disabled 
{
   display: none;
}

.mg-lightbox-wrapper .arrow-t, 
.mg-lightbox-wrapper .arrow-b
{
   background-color: #fff;
   border-radius: 3px;
   height: 6px;
   left: 26px;
   position: relative;
   width: 30px;
}

.mg-lightbox-wrapper .arrow-t
{
   top: 38px;
}

.mg-lightbox-wrapper .arrow-b
{
   top: 50px;
}

.mg-lightbox-wrapper .close
{
   cursor: pointer;
   height: 22px;
   opacity: .5;
   filter: alpha(opacity=50);
   position: fixed;
   right: 39px;
   top: 30px;
   width: 22px;
   z-index: 10003;
}

.mg-lightbox-wrapper .close:hover 
{
   opacity: 1;
   filter: alpha(opacity=100);
}

.mg-lightbox-wrapper .close .cw, 
.mg-lightbox-wrapper .close .ccw
{
   background-color: #fff;
   border-radius: 3px;
   height: 6px;
   position: absolute;
   left: -4px;
   top: 8px;
   width: 30px;
}

.mg-lightbox-wrapper .cw
{
   transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   /* IE 9 */
    -webkit-transform: rotate(45deg);
   /* Safari and Chrome */
    -o-transform: rotate(45deg);
   /* Opera */
    -moz-transform: rotate(45deg);
/* Firefox */}

.mg-lightbox-wrapper .ccw
{
   transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   /* IE 9 */
    -webkit-transform: rotate(-45deg);
   /* Safari and Chrome */
    -o-transform: rotate(-45deg);
   /* Opera */
    -moz-transform: rotate(-45deg);
/* Firefox */}

.mg-lightbox-wrapper .close-alt, 
.mg-lightbox-wrapper .arrow-right-alt, 
.mg-lightbox-wrapper .arrow-left-alt 
{
   color: #fff;
   display: none;
   font-size: 2.5em;
   line-height: 100%;
}

.ie8 .mg-lightbox-wrapper .close-alt, 
.ie8 .mg-lightbox-wrapper .arrow-right-alt, 
.ie8 .mg-lightbox-wrapper .arrow-left-alt 
{
   display: block;
}

.ie8 .mg-lightbox-wrapper .cw, 
.ie8 .mg-lightbox-wrapper .ccw 
{
   display: none;
}

.mg-content-layout .mg-sidebar1
{
   background: #FFFFFF;
   background: transparent;
   margin:0 auto;
   width: 420px;
}

.mg-content-layout .mg-content
{
   margin:0 auto;
}



#comment
{
    width:99%;
}

#comments-list, #comments-list .comment 
{
  background: none;
  padding:0;
  margin:0;
  overflow: visible;
}

#comments-list .comment:before, #comments-list .comment:after
{
  display:none;
}

#comments-list .comment .comment 
{
  margin-left: 20px;
}

span.page-navi-outer, span.page-navi-inner 
{
    position:relative;
    display:block;
    float:left;
    margin:0;
    padding:0;
}

span.page-navi-outer
{
  margin: 1px;
  border: 1px solid #aaa;
}

span.page-navi-inner 
{
  padding: 1px;
  min-width:14px;
  line-height:18px;
  text-align:center;
  border: 2px solid #fff;
  font-weight:bold;
}

a span.page-navi-inner, span.page-navi-caption span.page-navi-inner 
{
    border-width:1px;
    font-weight:normal;
}

a span.page-navi-outer, span.page-navi-caption
{
    margin:2px 1px;
}

ul#comments-list li cite
{
  font-size: 1.2em;
}

#commentform textarea
{
  width: 100%;
}

#commentform
{
  text-align:left;
}

.rtl #commentform
{
  text-align:right;
}

img.wp-smiley
{
  border: none;
  margin: 1px;
  vertical-align:middle;
  padding: 0;
}

.navigation
{
  display: block;
  text-align: center;
}

/* Recommended by http://codex.wordpress.org/CSS */
/* Begin */
.aligncenter, div.aligncenter, .mg-article .aligncenter img, .aligncenter img.mg-article, .aligncenter img, img.aligncenter
{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

p.aligncenter , p.center 
{
   text-align: center; 
}

.alignleft
{
  float: left;
}

.alignright
{
  float: right;
}

.sticky 
{
}

.bypostauthor  
{
}

.wp-caption
{
  border: 1px solid #ddd;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
}

.wp-caption img
{
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text
{
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}

.wp-caption, .wp-caption p
{
    text-align: center;
}

.gallery {
	margin: 0 auto 18px;
    clear:both;
    overflow:hidden;
}

.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}

.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}

.gallery dl {
	margin: 0;
}

.gallery img {
	border: 10px solid #f1f1f1;
}

.gallery br+br {
	display: none;
}
/* End */


.hidden
{
  display: none;
}

/* Calendar */
#wp-calendar {
  empty-cells: show;
  margin: 10px auto 0;
  width: 155px;
}

#wp-calendar #next a {
  padding-right: 10px;
  text-align: right;
}

#wp-calendar #prev a {
  padding-left: 10px;
  text-align: left;
}

#wp-calendar a {
  display: block;
}

#wp-calendar caption {
  text-align: center;
  width: 100%;
}

#wp-calendar td {
  padding: 3px 0;
  text-align: center;
}

.gallery {
  letter-spacing: normal;
}

.mg-content {
  position: relative;
  z-index: 1;   
}

#todays-events{
  position: relative;
  z-index: 11;    
}

#upcoming-events{
  position: relative;
  z-index: 10;    
}

img.wp-post-image 
{
    margin:0 5px 5px 0 !important;
}

ul#comments-list li
{
    list-style-image: none;
    background:none;
    list-style-type:none;
    
}

div.mg-footer div.mg-content-layout
{
    margin:0 auto;
    width:100%;
}

div.mg-layout-cell-size1 
{
    width:100%;
}

div.mg-layout-cell-size2 
{
    width:50%;
}
div.mg-layout-cell-size3 
{
    width:33%;
}

div.mg-layout-cell-size4
{
    width:25%;
}

.mg-widget-title
{
    padding:0 0 0 24px;
    margin-bottom:0;
}

div.mg-center-wrapper
{
  position: relative;
  float: right;
  right: 50%;

}

div.mg-center-inner
{
  position: relative;
  float: left;
  left: 50%;
}

.firefox2 div.mg-center-inner
{
  float: none;
}

.mg-hmenu-extra1, .mg-hmenu-extra2 {
 font-size:12px;
}

div.breadcrumbs h4, 
div.breadcrumbs p, 
li.pingback p, 
#respond p,
h3#reply-title, 
h4#comments, 
h4.box-title
{
    margin:0;
}

#respond .comment-notes {
	margin-bottom: 1em;
}

.form-allowed-tags {
	line-height: 1em;
}

#comments-list #respond {
	/*margin-left: NaNpx !important; TODO NodeJS*/
}

#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}

#respond .required {
	color: #ff4b33;
	font-weight: bold;
}

#respond label {
	font-size: 12px;
}

#respond input {
	margin: 0 0 9px;
	width: 98%;
}

#respond textarea {
	width: 98%;
}

#respond .form-allowed-tags {
	font-size: 12px;
	line-height: 18px;
}

#respond .form-allowed-tags code {
	font-size: 11px;
}

#respond .form-submit {
	margin: 12px 0;
}

#respond .form-submit input {
	width: auto;
}

.mg-footer .mg-widget-title 
{
    font-size:1.2em;
    padding: 0;
}

.mg-footer .mg-widget,
.mg-footer .mg-widget a,
.mg-footer .mg-widget a:link,
.mg-footer .mg-widget a:visited,
.mg-footer .mg-widget a:hover
{
    text-align: left;
}

DIV[id^="GMPmap"] IMG 
{
    margin: 0px;
}

/* Assistive text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  line-height: normal;
  padding: 15px 23px 14px;
  position: absolute;
  left: 5px;
  top: 5px;
  text-decoration: none;
  text-transform: none;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar */
}

/* Begin Additional CSS Styles */
/* ------------------------ header ------------------------ */

/* hide header text */
.mg-headline{
	opacity: 0;
}
.mg-slogan {
	opacity: 0;
}

/* erase background */
#mg-main {
	background: initial;
}
/* ------------------------ contents ------------------------ */

/* meta icons align right */
.mg-postheadericons{
	text-align: right;
	display: block;
}
.mg-postmetadataheader{
	line-height: 1.1;
	padding: 10px 2px 2px 2px;
}

.mg-postfootericons{
	display: block;
	padding-bottom: 30px;
	text-align: right;
}

hr.mg-hr {
	border-top: 1px solid rgba(0, 0, 0, .2);
}

/* form */
input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea
{
  width: initial;
  padding: 4px;
  font-size: 100%;
  font-family: メイリオ, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

/* End Additional CSS Styles */

