@charset "UTF-8";

/*==========================================================================
common
==========================================================================*/

#gmenu .company a {
  background-color: #009a8e;
  color: #fff;
}

#main-image-area {
  background-color: #006837;
}

.main-heading:before {
  background-color: #00ffff;
}

.main-heading {
  background-color: #4c4c4c;
}

#company1,
#company2,
#company3,
#company4 {
  margin-top: 70px;
}

.company-overview ul,
.company-history ul,
.street-address {
  margin-top: 35px;
}

.company-overview li,
.company-history li,
.street-address {
  position: relative;
  padding: 20px 10px;
  line-height: 20px;
  border-bottom: 1px solid #e4e4e4;
  letter-spacing: 1px;
}


/*==========================================================================
section1
==========================================================================*/

#company1 {
  border: 2px solid #e4e4e4;
  padding: 55px 0 49px;
}

.company1-content {
  width: 750px;
}

#company1 .heading h3 {
  width: 268px;
  margin: 0 auto;
}

.content-detail {
  margin-top: 40px;
  background-color: #f0f0f0;
  padding: 29px 20px 26px 20px;
}

.content-detail-img {
  width: 200px;
  float: left;
}

.content-detail-text {
  width: 484px;
  margin-left: 26px;
  float: left;
}

.content-detail-text p {
  line-height: 27px;
}

.content-detail-text p:nth-last-of-type(1) {
  margin: 20px 24px 0 0;
  font-size: 21px;
  font-weight: 600;
  text-align: right;
}

.content-detail-text p:nth-last-of-type(1) span {
  font-size: 13px;
  margin-right: 15px;
}


/*==========================================================================
section2
==========================================================================*/

.overview-name {
  position: absolute;
  left: 35px;
  font-weight: 600;
}

.overview-item {
  margin-left: 215px;
}

.overview-item .acquirer {
  left: 465px;
  position: absolute;
}

.overview-item .o-i-span {
  margin-top: 5px;
  display: inline-block;
}

.certificate {
  margin-top: 29px;
}

.certificate img {
  width: 100%;
}


/*==========================================================================
section3
==========================================================================*/

.history-name {
  position: absolute;
  left: 35px;
  font-weight: 600;
}

.history-item {
  margin-left: 215px;
}


/*==========================================================================
section4
==========================================================================*/

.s-a-name {
  position: absolute;
  left: 35px;
  font-weight: 600;
}

.s-a-item {
  margin-left: 215px;
}

#map-area {
  margin-top: 41px;
  border: 1px solid #cacaca;
  padding: 1px;
  width: 710px;
}

#map {
  position: relative;
  padding-bottom: 410px;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

#map iframe,
#map object,
#map embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-list {
  margin-top: 33px;
  margin-bottom: 33px;
}

.img-list li {
  float: left;
  width:20%;
  margin-left: 3%;
  border:none;
}

.img-list li:nth-of-type(1), .img-list li:nth-of-type(5) {
  margin-left: 0;
  clear:left;
}

.img-list li img {
  width: 100%;
}


/*==========================================================================
media
==========================================================================*/

@media screen and (max-width: 1095px) {
  #section1,
  #section2,
  #section3,
  #section4 {
    width: 1080px;
  }
}

@media screen and (max-width: 768px) {
  #section1,
  #section2,
  #section3,
  #section4 {
    width: auto;
  }
  #section1,
  #section2,
  #section3,
  #section4 {
    padding: 0 20px;
  }
  #company2,
  #company3,
  #company4 {
    margin-top: 60px;
  }
  #company1 {
    margin-top: 20px;
    padding: 20px;
  }
  .company1-content {
    width: auto;
  }
  .content-detail {
    position: relative;
    padding: 29px 20px 20px;
  }
  .content-detail-img {
    float: none;
    position: absolute;
    top: 29px;
    left: 20px;
  }
  .content-detail-text {
    float: none;
    width: 59%;
    margin-left: 41%;
  }
  .content-detail-text p {
    line-height: 23px;
  }
  .content-detail-text p:nth-last-of-type(1) {
    margin: 20px 0 0;
  }
  .company-overview ul,
  .company-history ul,
  .street-address {
    margin-top: 10px;
  }
  .street-address,
  .company-overview li,
  .company-history li {
    letter-spacing: 0;
  }
  .overview-name,
  .history-name,
  .s-a-name {
    left: 0;
  }
  .overview-item,
  .history-item,
  .s-a-item {
    margin-left: 140px;
  }
  .overview-item .acquirer {
    left: 355px;
  }
  #map-area {
    width: auto;
    margin-top: 13px;
  }
  #map {
    padding-bottom: 61%;
  }
    .img-list li {
  width:30%;
  margin-left: 15%;
  }
  .img-list li:nth-of-type(1),  .img-list li:nth-of-type(3),  .img-list li:nth-of-type(5)  {
    margin-left: 5%;
  }
}

@media screen and (max-width: 670px) {
  #company1 .heading h3 {
    width: 195px;
  }
  #company1 .heading h3 img {
    width: 100%;
  }
  .content-detail {
    margin-top: 20px;
    padding: 20px;
  }
  .content-detail-img {
    position: static;
    left: auto;
    top: auto;
    margin: 0 auto;
  }
  .content-detail-text {
    width: auto;
    margin: 28px 0 0;
  }
  .overview-name,
  .history-name,
  .s-a-name {
    position: static;
  }
  .overview-item,
  .history-item,
  .s-a-item {
    margin: 0;
  }
  .overview-item .acquirer {
    left: 240px;
  }
  
  
  
}
