h1 {
    padding: 0 0 24px;
    margin-bottom: 36px;
    font-weight: normal;
    color: #0A5489;
    border-bottom: 6px solid #0A5489;
}
h2 {

    margin-bottom: 16px;
    font-weight: normal;
    color: #0A5489;
  
}
body {
    font-family: "Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,sans-serif;
}

.container {
    padding-left: 0;
    padding-right: 0;
}
@media screen and (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.products {margin-bottom:80px;
}

.products .main-paragraph {
    margin: 20px 0 60px;
    font-size: 14px;
    line-height: 26px;
}

.products .row {margin:0px;
    background-color: #0A87CA;
}

.products .col-sm-4 {
    padding: 30px;
    background-color: #0A87CA;
    color: white;
}

.products .col-sm-4:nth-child(2) {
    background-color: #0977B1;
    height: 100%;
}

.products .col-sm-4 img {
    margin: 0 auto 0;
}

.products .col-sm-4 h2 {
    text-align: center;
}

.products .col-sm-4 p {
    font-size: 14px;
}

/* ----------------------------------------
                Processing
   ---------------------------------------- */

.sub-nav {
    padding: 0;
    list-style: none;
    font-size: 14px;
   
}

.sub-nav li {
    display: inline-block;
}

.sub-nav .active {
    color: #0F76BB;
    padding: 15px 25px 0px 0px;
}

.sub-nav a {
    color: #BDBEC1;
    padding: 15px 25px 0px 0px;
}

.processing h2 {
    margin: 40px 0 20px;
}

.processing p {
    line-height: 36px;
    margin-bottom: 50px;
}

/* ----------------------------------------
                Facility
   ---------------------------------------- */
.facility {
    height: 260px;
    background-image: url(../Images/Transfer.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center center;
  /*   background-attachment: fixed;*/
}

@media screen and (max-width: 768px) {
    .facility {
        height: auto;

    }
}

.facility h2 {
    margin: 0;
    color: white;
    line-height: 200px;
}

/* ----------------------------------------
                Gallery
   ---------------------------------------- */
.products .gallery  {
    background-color: white;
}

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.gallery .img-container {
    background-color: #ccc;
    padding: 0;
    margin: 0px 0 30px;
    cursor: pointer;
}

.gallery img {
    height: auto;
    margin: 0 auto 0;
}

.modal .item {
    height: 399px;
}
.modal .item img {
    height: 100%;
    margin: 0 auto 0;
}

@media screen and (max-width: 768px) {
    .modal .item {
        height: auto;
    }
    
    .modal .item img {
        height: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .gallery img {
        height: 110px;
    }
     
}

@media screen and (min-width: 992px) {
    .gallery img {
        height: 146px;
    }
   .modal .item {
        height: 599px;
    }
}

@media screen and (min-width: 1200px) {
    .gallery img {
        height: 180px;
    }
}




