@import url(//fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700);
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic);
/*
 * Common
 */
/* ----------------------------------- */
a {
  color: #696969;
}
a:hover {
  /*text-decoration: none;*/
  color: #000000;

}
a:hover img {
  opacity:0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha( opacity=50 )";
  background: #ffffff;
}

@media (max-width: 768px) {
  .container {
    padding-right: 5px;
    padding-left: 5px;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }
  .container .row .col-md-12 { 
    padding-right: 0;
    padding-left: 0;
  }

  .container .row .col-md-3 { 
    padding-right: 0;
    padding-left: 0;
  }

}

/* youtube responsive */
.mt-youtube {
  margin-bottom: 10px;
}
.mt-youtube iframe {
  width: 100%;
}

/* ----------------------------------- */
/* page title */
#page-title {
  background-color: #000000;
  border-bottom: 7px solid #ca0814;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  #page-title {
    text-align: center;
  }
}
#page-title h1 {
  color: #ffffff;
}

/*
 * Fixed content
 */
/* ----------------------------------- */
/* header wrapper */
.main-header{
  background-color: #ffffff;
}

/* top header */
.main-header .topnav-wrap {
  background-color: #228b22; /* green */
  background-color: #043c78; /* blue */
  background-color: #333333;
  padding: 3px 0;
}
.region-user-menu li a {
  color: #ffffff;
  padding-top: 3px;
}
/*
.main-header .topnav-wrap .col-md-8 {
  width: 100%;
}
*/

/* main header (override custom-style.css) */
.main-header .navbar-default {
  background-color: #ffffff;
}
/* ----------------------------------- */

/* site name */
/*
.col-md-3 {
  width: 35%;
}
.site-name a {
  color: #333333;
  letter-spacing: 10px;
}
*/
.nav-hr {
  background-color: #ffffff;
}

/* ----------------------------------- */
/* phone number */
p.mt-phone {
  font-size: 2em;
  color: #ffffff;
  font-weight: bold;
  margin: 0;
}
p.mt-phone a {
  color: #ffffff;
}

/* ----------------------------------- */
/* main menu */
.col-md-9 {
  width: 65%;
}
.menu-base-theme {
  background-color: #ffffff;
}
.menu-base-theme a {
  color: #333333;
}
.menu-base-theme a:hover {
  background-color: #a9a9a9;
  color: #ffffff;
  font-weight: bold;
}

/* ----------------------------------- */
/* mobile toggle menu */
.navbar-toggle span, .navbar-toggle span:before, .navbar-toggle span:after {
  background-color: #808080;
}

/* search box */
input[type=search] {
  border: solid 1px #dcdcdc;
}
/*Search Form*/
.region-search{
  display: block;
}


/* ----------------------------------- */
.logo img {
  height: 40px;
}

/*
 * Front page
 */
/* ----------------------------------- */
/* flexslider */
.flex-caption {
}
.flex-caption h2{
  background: rgba(0, 0, 0, 0.32);
  padding: 30px;
  display: block;
}
.flex-description {
  display: none;
}

.flex-caption a:hover {
  color: #ffffff;
}

.flex-caption a.more-link {
  background: rgba(0, 0, 0, 0.32);
}

@media (max-width: 768px) {
  /* site name */
  /*
  .col-md-3 {
    width: 95%;
  }
  */

  /* flexslider */
  .flex-caption {
    position: absolute;
    top: 0;
    left: 2%;
    text-align: center;
  }
  .flex-caption h2 {
    font-size: 14px;
    margin-top: 0;
    padding: 10px;
  }

  .flex-caption a.more-link {
    font-size: 10px;
  }

}

@media (min-width: 320px) {
  /*
  .flexslider{
    display: block;
  }
  */
}


/* ----------------------------------- */
/* top widget */
.topwidget {
  padding-top: 10px;
}

.mt-top-category-wrapper h2 {
  color: #ffffff;
  padding: 5px;
}
.mt-top-category-wrapper-house h2,
.mt-top-category-wrapper-house .fa {
  background-color: #000000;
}
.mt-top-category-wrapper-renewal h2,
.mt-top-category-wrapper-renewal .fa {
  background-color: #000000;
}
.mt-top-category-wrapper-building h2,
.mt-top-category-wrapper-building .fa {
  background-color: #000000;
}
.mt-top-category-wrapper p {
  text-align: left;
}

.mt-top-category-wrapper img {
  width: 360px;
  /*height: 180px;*/
}
@media (max-width: 768px) {
  .mt-top-category-wrapper img {
    width: 100%;
  }
}

.mt-top-category-wrapper .fa {
  position: absolute;
  top: -10px;
  left: 10px;

  /* override custom-style.css */
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

/* ----------------------------------- */
/* front content */
.path-frontpage .node__content {
/* override custom-style.css:469 */
  max-width: 100%;
}

.mt-views-frontpage .mt-top-content {
  width: 100%;
  padding: 10px 30px 0px 30px;
  border-top: 7px solid #ca0814;
  border-bottom: 1px solid #ca0814;
  margin-top: 10px;
}
.mt-views-frontpage .mt-top-content p {
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: left;
  color: #333333;
}

.mt-views-frontpage .views-row h2 {
  display: none;
}

@media (max-width: 768px) {
  .mt-views-frontpage .mt-top-content p {
    font-size: 1em;
    line-height: 1.2em;
  }
}

/* ----------------------------------- */
/* Showcase region */
.showcase-wrap {
  padding: 20px 0;
}

.region-showcase .block {
  margin-bottom: 50px;
  clear: both;
}
.region-showcase .block h2 {
  border-left: 10px solid #ca0814;
  padding-left: 5px;
}

/* casa cube block */
/*
.region-showcase .mt-casa-cube-mark {
  border: 5px solid #333;
  min-height: 160px;
  min-width: 160px;
  text-align: center;
  padding: 25px 0;
}
.region-showcase .mt-casa-cube-mark p {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1.2em;
  color: #000000;
}
*/

/* casa cube official */
/*
.region-showcase .mt-casa-cube-official {
  padding: 15px 0;
}
.region-showcase .mt-casa-cube-official p {
  line-height: 1em;
}
.region-showcase .mt-casa-cube-official p.mt-official-string {
  display: block;
  color: #ca0814;
  margin-top: 10px;
  font-size: 2em;
}
*/

.region-showcase .mt-casa-cube-mark:hover {
  opacity:0.5;
}


/* ----------------------------------- */
/* News */
#block-views-block-news-block-1 .views-row {
  margin-bottom: 5px;
  border-bottom: 1px dotted #dcdcdc;
  font-size: 1.2em;
}
#block-views-block-news-block-1 .views-field-created {
  margin-right: 10px;
}
#block-views-block-news-block-1 .views-field-field-priority {
  margin-right: 2px;
}
#block-views-block-news-block-1 .views-field-field-priority .mt-news-priority {
  padding: 2px;
  background-color: #ca0814;
  color: #ffffff;
  font-size: 0.8em;
}


/* ----------------------------------- */
/* Realestate link */
div.testimonials-wrap {
  padding: 10px;
  background: none;
  background-color: #333333;
}
#block-mt-fron-realestate {
  margin-top: 10px;
  margin-bottom: 10px;
}

#mt-front-realestate a {
  font-size: 1.3em;
  color: #ffffff;
  padding: 10px 20px;
  border: solid 1px #ffffff;
  margin-top: 2px;
}

#mt-front-realestate a:hover {
  text-decoration: none;
  opacity:0.7;
}

/* ----------------------------------- */
/* Feature widget (About US) */
.features-widgets {
  padding-bottom: 0;

}
.features-widgets .container {
  /*
  border-top: 7px solid #ca0814;
  border-bottom: 1px solid #ca0814;
  */
}

.region-features-first {
}

.mt-japan-image {
  width: 80%;
  /*
  height: 250px;
  padding-top: 40px;
  */
  /*
  */
}

.region-features-first h2 {
  border-left: 10px solid #ca0814;
  padding-left: 5px;
}
.region-features-first a.mt-btn {
  border: 1px solid #a9a9a9;
  padding: 5px;
  background-color: #ffffff;
}

.region-features-first h3,
.region-features-first .features-alt_icon i {
  /*color: #ffffff;*/
}
.region-features-first .features-alt_intro {
  /*color: #ffffff;*/
  font-size: 1.2em;
}

.mt-about-us-wrapper .mt-about-location {
  margin-bottom: 20px;
}
.mt-about-us-wrapper .mt-about-location .features-alt_item {
  margin-bottom: 0;
}
.mt-about-us-wrapper .mt-about-location .mt-about-office {
  margin-bottom: 10px;
}
.mt-about-us-wrapper .mt-about-location .mt-about-office .mt-about-tel {
  font-size: 0.9em;
}

.mt-about-us-wrapper .mt-about-location .mt-about-branch-wrapper {
  margin-left: 55px;
  border-left: 5px solid #dcdcdc;
  padding-left: 10px;
}
.mt-about-us-wrapper .mt-about-location .mt-about-branch h4 {
  font-size: 1.1em;
  margin-top: 5px;
  margin-bottom: 0;
}
.mt-about-us-wrapper .mt-about-location .mt-about-branch {
  font-size: 0.9em;
  margin-bottom: 5px;
}

/* ----------------------------------- */
/* Bottom widget */
.bottom-widgets {
  border-style: none;
  padding-top: 0;
}
.bottom-widgets .region {
  height: 400px;
}
.bottom-widgets .region img {
  height: 182px;
}

/* ----------------------------------- */
/* Footer widget */
.footerwidget {
  background: #f5f5f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}
.footerwidget ul.mt-about li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}
.footerwidget ul li a {
  color: #333333;
}

/* ----------------------------------- */
/* Footer menu */
.footer-menu {
  background-color: #333333;
}

/* ----------------------------------- */
/* Bottom */
.copyright {
  background-color: #ffffff;
  color: #333333;
}

/*
 * Node page
 */
/* News node */
.page-node-type-news article .node__content p {
  font-size: 1.2em;
}

/* Contact */
.contact-message-form .js-form-type-checkbox label {
  display: inline-block;
}
.field--name-field-contact-zip {
  display: none;
}
.field--name-field-contact-address {
  display: none;
}
.field--name-field-contact-tel {
  display: none;
}

/* About */
table.mt-company {
  width: 100%;
}
table.mt-company tr {
  border-bottom: solid 1px #c9caca;
}
table.mt-company td {
  padding: 10px 10px;
}

/* Steps to build */
.mt-steps-to-build-wrapper {
  padding-top: 20px;
}
.mt-steps-to-build-wrapper .mt-slogan-1 {
  font-size: 24px;
  color: #7d7d7d;
}
.mt-steps-to-build-wrapper .mt-slogan-2 {
  font-size: 36px;
  color: #333333;
  font-family:"Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}
.mt-steps-to-build-wrapper h2 {
  border-left: 10px solid #ca0814;
  padding-left: 5px;
}
.mt-steps-to-build-wrapper p {
  font-size: 1.2em;
}

#block-views-block-case-more-block-3 {
  border-top: 1px solid #dcdcdc;
}

/* Real estate */
ul.realestate-image {
  padding-left: 0;
}

ul.realestate-image li {
  list-style: none;
  margin-bottom: 10px;
}

.house-image-wrap {
  min-height: 10px;
  position: relative;
}
.house-image-wrap {
  position: relative;
}
.house-image-overlay {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.46);
  font-size: 1.1em;
  position: absolute;
  height: auto;
  top: auto;
  bottom: 0;
  padding: 10px 5px;

  margin-left: -9px;
  margin-top: -9px;
  margin-left: auto;
  margin-right: auto;
}

.mt-realestate-description-wrapper {
  margin: 20px 0;
  padding: 20px;
  background-color: #dcdcdc;
}
.mt-realestate-description-wrapper .mt-realestate-description {
  margin-bottom: 20px;
}
.mt-realestate-description-wrapper .mt-realestate-description .mt-label {
  border-left: 6px solid #ca0814;
  padding: 5px;
  margin-bottom: 10px;
}
.mt-realestate-description-wrapper .mt-realestate-description .mt-value {
  color: #000000;
}

ul.realestate-image .views-field-edit-node {
  position: relative;
  top: -20px;
}
ul.realestate-image .views-field-edit-node a {
  border: solid 1px #dcdcdc;
}

/* Real estate inquiry */
#block-mt-realestate-inquiry {
  clear: both;
  margin-bottom: 50px;
}

.mt-realestate-inquiry-inner {
  border-left: 10px solid #ca0814;
  padding: 5px 10px;
}
.mt-realestate-inquiry-inner h3 {
  font-weight: bold;
  font-size: 1.5em;
  margin-top: 0;
}
.mt-realestate-inquiry-inner p {
  margin-bottom: 10px;
}
.mt-realestate-inquiry-inner .mt-description {
  font-size: 1.2em;
}
.mt-realestate-inquiry-inner .mt-realestate-phone {
  font-size: 2.5em;
  font-weight: bold;
  color: #333333;
  margin-bottom: 5px;
}
.mt-realestate-inquiry-inner .mt-open {
  font-size: 1.2em;
}

/* Real estate more */
div.mt-views-realestate-more .views-row {
  padding-top: 0;
}

/* */
/*
article.node--type-realestate {
  opacity:0.5;
  background-color: #333333;
  z-index: 10;
}
*/
.mt-watermark {
  opacity:0;
  position: fixed;
  left: 0;
  font-size: 5em;
  font-weight: bold;
  opacity:0.7;
  background-color: #ff0000;
  z-index: 999;
  color: #ffffff;
  padding: 0 20px;
}

/* ----------------------------------- */
/* Case node */
body.page-node-type-case #page-title {
  background-color: #000000;
  border-bottom: 7px solid #ca0814;
}
body.page-node-type-case #page-title h1 {
  color: #ffffff;
}

/* ----------------------------------- */
/* bxslider */
div.bxslider-wrapper {
  width:100%;
  display:block;
  margin-top: 5px;
  margin-bottom: 10px;
  /* TODO
  margin:10px auto;
  */
}
/* override jquery.bxslider.css:17 */
div.bxslider-wrapper .bx-wrapper {
  margin: 0;
}

/* bxlider case main*/
ul.bxslider-main {
  position: relative;
  padding-left: 0;
}
ul.bxslider-main li {
    display:block;
    max-width:1600px;
    max-height:800px;
}
ul.bxslider-main li img {
  /*
  object-fit: cover;
  */
}
 
@media (max-width: 768px) {
  div.bx-wrapper .bx-viewport {
    left: 0;
  }
}

@media (min-width: 768px) {
  /* case gallery body */
  .bxslider-main .views-field-body {
    color: #ffffff;
    font-size: 1.5em;
    position: absolute;
    bottom: 0;
    /*top: 87%;*/
    background: rgba(0, 0, 0, 0.46);
    text-align: left;
    margin-left: -9px;
    margin-top: -9px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    width: 100%;
  }
  .bxslider-main .views-field-body span {
    color: #ffffff;
  }
  .bxslider-main .views-field-body span p {
    line-height: 1.5em;
    margin-top: 5px;
  }
}

/* gallery image before */
ul.bxslider-main .mt-gallery-image-before {
  position: absolute;
  width: 30%;
}
ul.bxslider-main .mt-gallery-image-before .mt-image-before-label {
  background-color: #000000;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  padding: 5px 0;
  letter-spacing: 5px;
}
@media (max-width: 768px) {
  ul.bxslider-main .mt-gallery-image-before .mt-image-before-label {
    font-weight: normal;
    padding: 1px 0;
  }
}

ul.bxslider-main .mt-gallery-before-border-white {
  border: 2px solid #ffffff;
}
ul.bxslider-main .mt-gallery-before-border-white .mt-image-before-label{
  border-bottom: 2px solid #ffffff;
}
ul.bxslider-main .mt-gallery-before-border-black {
  border: 2px solid #000000;
}
ul.bxslider-main .mt-gallery-before-border-black .mt-image-before-label{
  border-bottom: 2px solid #000000;
}

ul.bxslider-main .mt-gallery-image-before-left-top {
  top: 5%;
  left: 3%;
}
ul.bxslider-main .mt-gallery-image-before-right-top {
  top: 5%;
  right: 3%;
}
ul.bxslider-main .mt-gallery-image-before-left-bottom {
  bottom: 7%;
  left: 3%;
}
ul.bxslider-main .mt-gallery-image-before-right-bottom {
  bottom: 7%;
  right: 3%;
}

/* gallery node edit link */
ul.bxslider-main .views-field-edit-node {
  position: absolute;
  top: 0px;
}

/* bxlider case thumb*/
ul.bxslider-thumb li .views-field-edit-node a {
  display: block;
  /*
  position:absolute;
  top:-10px;
  color: white;
  */
}

/* Case body */
body.page-node-type-case .mt-case-summary {
  background-color: #333333;
  text-align: center;
  padding: 10px;
}
body.page-node-type-case .mt-case-summary h2 {
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* case body */
div.mt-case-body {
  background-color: #000000;
  border-left: 15px solid #ca0814;
  color: #ffffff;
  font-size: 1.5em;
  line-height: 1.8em;
  letter-spacing: normal;
  padding: 20px 30px;
}

@media (max-width: 768px) {
  div.mt-case-body {
    font-size: 1.2em;
    line-height: 1.5em;
    padding: 20px 20px;
  }
}

/* Owner comment */
div.mt-case-owner {
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.mt-case-body .mt-owner-wrapper {
  border-bottom: 1px solid #ffffff;
  margin-bottom: 10px;
}
.mt-case-body .mt-owner-wrapper .mt-owner-picture {
  margin-right: 15px;
  float: left;
  margin-top: 10px;
}
.mt-case-body .mt-owner-wrapper .mt-owner-comment {
  font-style: italic;
  color: #ffebcd;
  color: #f8f4e6;
}
.mt-case-body .mt-owner-comment-summary,
.mt-case-body .mt-content-body-summary {
  font-family:"Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
  font-size: 1.5em;
  color: #ffffff;
}

/*
 * Views
 */
/* ----------------------------------- */
/* Case list */
.mt-views-case-list .views-row {
  padding-top: 15px;
  padding-bottom: 15px;
}
.mt-views-case-list .pager {
  margin-top: 0;
}


/*
.mt-views-case-list .mt-youtube {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 100%;
  overflow: hidden;
}
.mt-views-case-list .mt-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
*/

.gallery-image-wrap {
  position: relative;
}
.gallery-overlay {
  color: #ffffff;
  font-size: 1.1em;
  position: absolute;
  height: auto;
  top: auto;
  bottom: 0;
  padding: 10px 5px;
  /*
  left: 50%;
  width: 30px;
  height: 30px;
  */
  text-align: center;
  margin-left: -9px;
  margin-top: -9px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-overlay a {
  color: #ffffff;
}
.gallery-wrap {
  min-height: 10px;
}

.mt-case-tags ul {
  padding-left: 0;
  margin-bottom: 0;
}
.mt-case-tags ul li {
  display: inline-block;
  margin-right: 1px;
  list-style: none;
  background-color: #ca0814;
  opacity:0.7;
  text-shadow: 2px 2px 1px #333333;
  color: #ffffff;
  padding: 5px 5px;
}
.mt-case-tags {
  position: absolute;
  top: 5px;
  left: 5px;

}

@media (max-width: 768px) {
  .mt-views-case-list .views-row {
    max-width: 50%;
  }
  .mt-views-case-list .col-md-3 { 
    float: left;
  }
}


/* ----------------------------------- */
/* case more */
.mt-views-case-more .views-row {
  padding-bottom: 15px;
}
.mt-views-case-more .views-row .gallery-overlay {
  font-size: 0.9em;
  line-height: 1.2em;
}
@media (max-width: 991px) {
  .mt-views-case-more .views-row .gallery-overlay {
    font-size: 0.8em;
  }
  .mt-views-case-more .views-row .mt-case-tags {
    display: none;
  }
}

/*
.mt-views-case-more .views-row {
  max-width: 190px;
  float:left;
}
.mt-views-case-more {
  background: #FDFDFD;
  border-width: 1px 0;
  border-style: solid;
  border-color: #eee;
}

@media (max-width: 768px) {
  .mt-views-case-more .views-row {
    max-width: 50%;
  }
}
*/

/*
 * Font family
 */
/* ----------------------------------- */
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 100;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 200;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 300;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 400;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}
@font-face {
  font-family: "Helvetica Neue";
  src: local("Helvetica Neue Regular");
  font-weight: 100;
}
@font-face {
  font-family: "Helvetica Neue";
  src: local("Helvetica Neue Regular");
  font-weight: 200;
}

body * {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}

/* IE10 */
@media all and (-ms-high-contrast: none) {
  body {
    font-family: Verdana, Meiryo, sans-serif;
  }
}
