body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 400;
  color: #333333 !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin: 0 0 20px 0;
  padding: 0;
  font-weight: 400;
  color: #000000;
}

ul, ol {
  padding-left: 15px;
  line-height: 26px;
  margin-left: 15px;
}
ul ul, ul ol, ol ul, ol ol {
  padding-left: 25px;
}

p, img {
  margin: 0 0 20px 0;
}

ul, ol {
  padding-left: 15px;
  line-height: 24px;
}
ul ul, ul ol, ol ul, ol ol {
  padding-left: 25px;
}

a {
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

.navbar-nav {
  margin-top: 14px;
}

#mg-header {
  padding-top: 30px;
}

.navbar-default {
  margin-bottom: 0;
  background: #fff;
}
.navbar-default.navbar {
  min-height: 70px;
  border: none !important;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 768px) {
  .navbar-default.navbar {
    min-height: 70px !important;
  }
}
.navbar-default a {
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .navbar-default .navbar-header {
    height: 70px !important;
  }
}
.navbar-default .navbar-header .navbar-brand {
  float: left;
  margin: 25px 20px 0 0;
  padding: 0;
  height: 45px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .navbar-default .navbar-header .navbar-brand {
    margin-left: 15px;
    height: 40px !important;
  }
}
.navbar-default .navbar-header .navbar-brand img {
  float: left;
  margin-top: 0px;
}
.navbar-default .navbar-header .navbar-brand:hover, .navbar-default .navbar-header .navbar-brand:active, .navbar-default .navbar-header .navbar-brand:focus {
  outline: none;
}
.navbar-default a {
  color: #ccc;
  font-size: 16px;
}
.navbar-default .navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar-default .navbar-nav > li.active a {
  color: #4F95C4;
  background: none;
}
.navbar-default .navbar-nav > li.active a:active, .navbar-default .navbar-nav > li.active a:focus, .navbar-default .navbar-nav > li.active a:hover {
  color: #4F95C4;
  outline: none;
  background: none;
}
.navbar-default .btn-calltoaction {
  border-color: transparent;
  margin: 0;
  padding: 8px 20px;
  color: #ffffff !important;
  border-radius: 30px;
  background: #4F95C4;
}
@media screen and (max-width: 768px) {
  .navbar-default .btn-calltoaction {
    margin-top: 0 !important;
    margin-left: 10px;
    margin-right: 10px;
  }
}
.navbar-default .btn-calltoaction:hover, .navbar-default .btn-calltoaction:focus, .navbar-default .btn-calltoaction:active {
  border-color: transparent;
  outline: none;
  box-shadow: none;
}
.navbar-default .btn-calltoaction:hover, .navbar-default .btn-calltoaction:focus {
  background: #4F95C4 !important;
}
.navbar-default .btn-calltoaction:active {
  background: #8ecc51 !important;
}

.btn-primary {
  border-color: transparent;
  padding: 8px 20px;
  color: #ffffff;
  background: #4F95C4;
  border-radius: 30px;
}
.btn-primary:hover, .btn-primary:focus {
  border-color: transparent;
  box-shadow: none;
  background: #4F95C4;
  outline: none;
}
.btn-primary:active {
  outline: none;
  background: #8ecc51;
  border-color: transparent;
}

#mg-page-title {
  padding-top: 5.5em;
  padding-bottom: 2em;
  margin-bottom: 4em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}
#mg-page-title .overlay {
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  position: absolute;
  background: #4F95C4;
  background: -webkit-linear-gradient(legacy-direction(#41c19e), #4F95C4);
  background: linear-gradient(#41c19e, #4F95C4);
  opacity: 0.7;
  filter: alpha(opacity=70);
}
#mg-page-title .text {
  position: relative;
  z-index: 9;
  color: #ffffff !important;
}
#mg-page-title .text h1 {
  color: #ffffff !important;
}

#mg-main {
  padding-bottom: 4em;
}

#mg-sidebar .mg-links {
  padding: 0;
  margin: 0;
}
#mg-sidebar .mg-links li {
  display: block;
  padding: 0;
  margin: 0 0 .5em 0;
}
#mg-sidebar .mg-links li a {
  text-decoration: underline;
}
#mg-sidebar .mg-links li a:hover {
  text-decoration: none;
}
#mg-sidebar .mg-side-block {
  margin-bottom: 30px;
}
#mg-sidebar .mg-side-block h3 {
  font-size: 13px;
  color: #ccc;
  margin: 0 0 1em 0;
  padding: 0;
  letter-spacing: 3px;
}

#mg-hero {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}
@media screen and (max-width: 768px) {
  #mg-hero {
    background-position: center center;
    background-size: cover;
  }
}

#mg-hero .overlay {
  background: #4F95C4;
  background: -webkit-linear-gradient(legacy-direction(#41c19e), #4F95C4);
  background: linear-gradient(#41c19e, #4F95C4);
  opacity: 0.9;
  filter: alpha(opacity=90);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}
#mg-hero .text {
  padding: 14em 0;
  z-index: 2;
  position: relative;
}
@media screen and (max-width: 768px) {
  #mg-hero .text {
    padding: 5em 0;
  }
}
#mg-hero .text h1 {
  padding: 0;
  margin: 0;
  display: block;
  color: #ffffff;
  text-align: center;
  font-weight: 300;
  line-height: 1.3;
  font-size: 50px;
}
@media screen and (max-width: 768px) {
  #mg-hero .text h1 {
    font-size: 30px;
  }
}
#mg-hero .text h2 {
  text-align: center;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 300;
  font-size: 30px;
}
@media screen and (max-width: 768px) {
  #mg-hero .text h2 {
    font-size: 20px;
  }
}

.feature .feature-item {
  clear: both;
}
.feature .feature-item .feature-icon {
  float: left;
  width: 50px;
  margin-top: 20px;
  margin-right: 20px;
}
.feature .feature-item .feature-icon i {
  font-size: 50px;
  color: #4F95C4;
}
.feature .feature-item .feature-text {
  float: left;
  width: 80%;
}
.feature .feature-item .feature-text h3 {
  font-size: 18px;
  font-weight: 700;
}
@media screen and (max-width: 1200px) {
  .feature .feature-item .feature-text {
    width: 60%;
  }
}
@media screen and (max-width: 992px) {
  .feature .feature-item .feature-text {
    width: 90%;
  }
}
@media screen and (max-width: 768px) {
  .feature .feature-item .feature-text {
    width: 80%;
  }
}
@media screen and (max-width: 480px) {
  .feature .feature-item .feature-text {
    width: 70%;
  }
}

.feature {
  padding: 7em 0;
  margin-bottom: 5em;
  float: left;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .feature {
    padding: 3em 0;
  }
}
.feature .section-heading {
  text-align: center;
  color: #6c777f;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 50px 0;
  padding: 0;
}
@media screen and (max-width: 768px) {
  .feature .section-heading {
    font-size: 24px;
    margin: 0 0 30px 0;
  }
}

.feature {
  background: #f6f9fc;
}

#mg-footer {
  background: #323639;
  color: #6f7477;
  float: left;
  width: 100%;
  padding: 50px 0;
}

#mg-footer .footer-heading {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
}

.form-control:active, .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

.footer-list {
  padding: 0;
  margin: 0;
}
.footer-list li {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #3e4347;
}
.footer-list li a {
  color: #83888b;
}
.footer-list li a:hover {
  text-decoration: none;
  color: #ffffff;
}
.footer-list li:last-child {
  border-bottom: none;
}

.copyright {
  float: left;
  width: 100%;
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #3e4347;
}
@media screen and (max-width: 768px) {
  .copyright {
    margin-top: 30px;
    padding-top: 30px;
  }
}

.mg-nav-toggle {
  width: 25px;
  height: 25px;
  cursor: pointer;
  text-decoration: none;
}
.mg-nav-toggle.active i::before, .mg-nav-toggle.active i::after {
  background: #2e2e2e;
}
.mg-nav-toggle:hover, .mg-nav-toggle:focus, .mg-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}
.mg-nav-toggle i {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 3px;
  color: #252525;
  font: bold 14px/.4 Helvetica;
  text-indent: -55px;
  background: #252525;
  transition: all .2s ease-out;
}
.mg-nav-toggle i::before, .mg-nav-toggle i::after {
  content: '';
  width: 25px;
  height: 3px;
  background: #252525;
  position: absolute;
  left: 0;
  transition: all .2s ease-out;
}
.mg-nav-toggle.mg-nav-white > i {
  color: #ffffff;
  background: #ffffff;
}
.mg-nav-toggle.mg-nav-white > i::before, .mg-nav-toggle.mg-nav-white > i::after {
  background: #ffffff;
}

.mg-nav-toggle i::before {
  top: -7px;
}

.mg-nav-toggle i::after {
  bottom: -7px;
}

.mg-nav-toggle:hover i::before {
  top: -10px;
}

.mg-nav-toggle:hover i::after {
  bottom: -10px;
}

.mg-nav-toggle.active i {
  background: transparent;
}

.mg-nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.mg-nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

.mg-nav-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 21;
  display: block;
  margin: 0 auto;
  display: none;
}
@media screen and (max-width: 768px) {
  .mg-nav-toggle {
    display: block;
  }
}


/* Buttons */
.btn {
  border-bottom: none !important;
  letter-spacing: 2px;
  border-radius: 30px;
  padding-left: 20px;
  padding-right: 20px;
  line-height: 1.5;
  text-decoration: none;
}
.btn:hover, .btn:focus, .btn:active {
  box-shadow: none;
  outline: none !important;
  border-color: transparent;
}
.btn.btn-lg {
  padding: 12px 20px;
}
.btn.btn-md {
  padding: 10px 20px;
}
.btn.btn-sm {
  padding: 7px 20px;
}
.btn.btn-xs {
  padding: 5px 20px;
}

.btn-outline {
  border: 1px solid #eaeaea !important;
  background: transparent;
  color: #2a2e37;
}
.btn-outline:hover, .btn-outline:active, .btn-outline:focus {
  border: 1px solid #282e3c !important;
  background: #282e3c;
  color: #ffffff;
}

.btn-primary {
  background: #4F95C4;
  border: 2px solid #4F95C4;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background: #6fa837;
}

.btn-primary {
  border-color: transparent;
}

.form-control {
  box-shadow: none !important;
  border: 1px solid #ccc;
}
.form-control:hover, .form-control:focus, .form-control:active {
  outline: none;
  box-shadow: none !important;
  border: 1px solid #4F95C4;
}

.mg-spacer {
  clear: both;
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
}

.mg-spacer-sm {
  height: 50px;
}
@media screen and (max-width: 768px) {
  .mg-spacer-sm {
    height: 20px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.mg-gotop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  /*z-index: 18;*/

}
.mg-gotop a {
  font-size: 20px;
  display: block;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff !important;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none !important;
}

/* Price List */
@media screen and (max-width: 992px) {
  .mg-price-list .mg-price-list-item {
    margin-bottom: 20px !important;
  }
}
@media screen and (max-width: 768px) {
  .mg-price-list .mg-price-list-item {
    margin-bottom: 20px !important;
    float: left;
    width: 100%;
  }
}
.mg-price-list .mg-price-list-item .mg-price-list-item-body,
.mg-price-list .mg-price-list-item .mg-price-list-item-heading {
  text-align: center;
  float: left;
  width: 100%;
  padding: 1em 2em;
}
.mg-price-list .mg-price-list-item .mg-price-list-item-heading {
  background: #4F95C4;
  color: #ffffff;
}
.mg-price-list .mg-price-list-item .mg-price-list-item-heading h3 {
  font-size: 30px;
  position: relative;
  display: inline-block;
  color: #ffffff;
}
.mg-price-list .mg-price-list-item , .mg-price-list .mg-price-list-item .mg-price-list-item-heading h3 span {
  font-size: 16px;
}
.mg-price-list .mg-price-list-item .mg-price-list-item-heading p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  letter-spacing: 3px;
}
.mg-price-list .mg-price-list-item .mg-price-list-item-heading {
  background: #4F95C4;
  color: #ffffff;
}

.mg-price-list .mg-price-list-item .mg-price-list-item-body ul {
  padding: 0;
  margin: 0;
}
.mg-price-list .mg-price-list-item .mg-price-list-item-body ul li {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.mg-price-list .mg-price-list-item .mg-price-list-item-body {
  border: 1px solid #4F95C4;
  border-top: none;
}
