@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
#topmain {
  height: 100%;
  height: 100vh;
  background-image: url(/abudhabi/img/main.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#maincopy {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 150px;
  text-align: center;
  font-weight: bold;
  font-size: 50px;
  text-shadow: 0 0 20px #000;
  font-family: 'Noto Sans Japanese';
  font-style: italic;
  line-height: 50px;
  padding: 3%;
  box-sizing: border-box;
  -webkit-transition: 1s;
  transition: 1s;
  opacity: 0;
}

#maincopy span {
  display: block;
  margin-top: 20px;
  font-size: 28px;
}

#maincopy.active {
  top: 0;
  opacity: 1;
}

#scroll {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
}

#scroll:hover {
  opacity: 0.7;
  cursor: pointer;
}

#abudhabimap {
  background-image: url(/abudhabi/img/abudhabimap-2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 800px;
  position: relative;
}

#abudhabimapsvg {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.topbox {
  position: absolute;
  width: 400px;
}

.topbox a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border: thin solid #fff;
  background-color: rgba(0, 0, 0, 0.5);
  display: block;
}

.topbox a:hover {
  opacity: 0.7;
}

.topbox.adco {
  top: 70%;
  left: 15%;
}

.topbox.adma {
  top: 20%;
  left: 50%;
}

.topbox p.topboxtitle {
  font-size: 18px;
  font-weight: bold;
}

.topbox p.topboxdescription {
  font-size: 14px;
  line-height: 20px;
}

#adcobox {
  -webkit-transition: 1s;
  transition: 1s;
  top: 80%;
  opacity: 0;
}

#adcobox.active {
  opacity: 1;
  top: 70%;
}

#admabox {
  -webkit-transition: 1s;
  transition: 1s;
  top: 30%;
  opacity: 0;
}

#admabox.active {
  opacity: 1;
  top: 10%;
}

.topabudhabimap {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.mapinfo {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.mapinfo ul {
  margin-left: 10px;
}

.mapinfo ul li {
  margin-bottom: 10px;
}

.mapinfo ul li.oilfield:before {
  content: '';
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
  vertical-align: middle;
}

.mapinfo ul li.pipeline:before {
  content: '';
  width: 10px;
  height: 2px;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
  vertical-align: middle;
}

.topcontentstitle {
  font-size: 20px;
  padding: 30px 0;
  width: 100%;
}

.topcontentstitle p {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}

.topcontentstitle.adcobg {
  background-color: #bc7e26;
}

.topcontentstitle.admabg {
  background-color: #3a8186;
}

#home .header {
  background-image: url(/adco/img/top/main.jpg);
  position: relative;
}

.adcologo {
  display: block;
  margin: 0px auto;
  padding-top: 20px;
}

#home .lead {
  position: absolute;
  top: 50%;
  right: 0;
  padding: 20px;
  background-color: rgba(188, 126, 38, 0.7);
  width: auto;
  left: auto;
  bottom: auto;
  height: auto;
  opacity: 0;
  animation-duration: 1.0s;
  -webkit-animation-duration: 1.0s;
}

#home .lead.active {
  animation-name: fadeup;
  -webkit-animation-name: fadeup;
  animation-timing-function: ease-out;
  -webkit-animation-timing-function: ease-out;
  opacity: 1;
}

@-webkit-keyframes fadeup {
  0% {
    -webkit-transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeup {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    opacity: 1;
  }
}

#home .lead h1 {
  font-size: 3rem;
  text-align: left;
}

#home .lead p {
  font-size: 1.8rem;
}

.section img {
  width: 100%;
  height: auto;
}

.section.type01 {
  background-color: #3b270c;
}

.section.type01 li.pcImg {
  float: left;
  width: 60%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 200px;
}

.section.type01 li.title {
  float: right;
  width: 38%;
}

.section.type02 {
  background-color: #3b270c;
}

.section.type01.adma,
.section.type02.adma {
  background-color: #1a383b;
}

.section.type01 .pcImg,
.section.type01 .title,
.section.type02 .pcImg,
.section.type02 .title {
  opacity: 0;
  animation-duration: 1.0s;
  -webkit-animation-duration: 1.0s;
}

.section.type01.active .pcImg,
.section.type02.active .title {
  animation-name: fromL;
  -webkit-animation-name: fromL;
  animation-timing-function: ease-out;
  -webkit-animation-timing-function: ease-out;
  opacity: 1;
}

.section.type01.active .title,
.section.type02.active .pcImg {
  animation-name: fromR;
  -webkit-animation-name: fromR;
  animation-timing-function: ease-out;
  -webkit-animation-timing-function: ease-out;
  opacity: 1;
}

@-webkit-keyframes fromL {
  0% {
    -webkit-transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes fromL {
  0% {
    -webkit-transform: translateX(-200px);
            transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
    opacity: 1;
  }
}

@-webkit-keyframes fromR {
  0% {
    -webkit-transform: translateX(200px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes fromR {
  0% {
    -webkit-transform: translateX(200px);
            transform: translateX(200px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
    opacity: 1;
  }
}

.section.type02 li.pcImg {
  float: right;
  width: 60%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 200px;
}

.section.type02 li.title {
  float: left;
  width: 38%;
}

.section a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.section a:hover {
  -webkit-animation: blink 1.0s ease-in-out infinite alternate;
  animation: blink 1.0s ease-in-out infinite alternate;
}

@-webkit-keyframes blink {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.section.type02 a ul {
  margin-left: 20px;
}

.section a ul li.title {
  padding-top: 10px;
}

.section a ul li {
  font-weight: bold;
  height: 100%;
}

.section a ul li.title {
  font-size: 2rem;
}

.section a ul li.title strong {
  font-size: 4.6rem;
  display: block;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 400;
  line-height: 5rem;
  margin-bottom: 10px;
}

.section a p.btn {
  padding: 10px;
  border: thin solid #fff;
  width: 150px;
  display: block;
  font-size: 1.6rem;
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.section a p.btn:after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  right: 10px;
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  border: 6px solid transparent;
  border-left: 6px solid #fff;
}

#admaoutline li.pcImg {
  background-image: url(/abudhabi/img/adma01.jpg);
}

#admahistory li.pcImg {
  background-image: url(/abudhabi/img/adma02.jpg);
}

#admatopics li.pcImg {
  background-image: url(/abudhabi/img/adma03.jpg);
}

#faq li.pcImg {
  background-image: url(/abudhabi/img/top/ph01.jpg);
}

#glance li.pcImg {
  background-image: url(/abudhabi/img/top/ph02.jpg);
}

#facts li.pcImg {
  background-image: url(/abudhabi/img/top/ph03.jpg);
}

#history li.pcImg {
  background-image: url(/abudhabi/img/top/ph04.jpg);
}

#story li.pcImg {
  background-image: url(/abudhabi/img/top/ph05.jpg);
}

@media only screen and (max-width: 979px) {
  #home .lead.active {
    box-sizing: border-box;
  }
  #maincopy {
    font-size: 5rem;
    line-height: 4rem;
  }
  #maincopy span {
    font-size: 3rem;
    line-height: 3rem;
  }
  #abudhabimap {
    height: 1000px;
  }
  .topbox.adma {
    top: 5%;
    left: 0;
    right: 0;
    margin: auto;
    width: 95%;
    box-sizing: border-box;
  }
  .topbox.adco {
    left: 0;
    right: 0;
    margin: auto;
    width: 95%;
    box-sizing: border-box;
  }
  .section a p.btn {
    width: 90%;
    box-sizing: border-box;
    background-position: 98% center;
    max-width: 150px;
    margin: 10px 0;
  }
  .section.type02 a ul {
    margin: 0;
  }
  .section.type01 li.pcImg,
  .section.type02 li.pcImg,
  .section.type01 li.title,
  .section.type02 li.title {
    float: none;
    animation: none;
    opacity: 1;
    width: 100%;
    margin: 0;
    -webkit-animation: none;
    animation: none;
  }
  .section.type01 li.title,
  .section.type02 li.title {
    padding: 10px;
    box-sizing: border-box;
  }
  .section.type01 li.pcImg,
  .section.type02 li.pcImg {
    height: 200px;
  }
}
