@charset "utf-8";
/*---------------------edifice---------------------*/
/*---------about---------*/
#watch-top #edifice #about {
  color: #fff;
  background: url("/content/dam/casio/global/watch/edifice/top/img/top-sec1.jpg");
  background-size: cover;
}
#watch-top #about h2 {
  padding: 0;
  margin-bottom: 1rem;
  color: #fff;
    text-align: left;    
}
#watch-top #about h2 img {
  width: 100%;
  height: auto;
  max-width: 540px;
}
#watch-top #edifice #about a {
  color: #fff;
}
#watch-top #edifice #about > .aem-Grid {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
#watch-top #edifice #about > .aem-Grid > .container:nth-child(1) {
  width: 50%;
  margin: 140px 0 140px auto;
  float: none;
}
#watch-top #edifice #about > .aem-Grid > .container:nth-child(2) {
  max-width: 50%;
  height: 100%;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: flex-end;
}
#watch-top #edifice #about > .aem-Grid > .container:nth-child(2) * {
  height: 100%;
}
#watch-top #edifice #about > .aem-Grid > .container:nth-child(2) img {
  width: auto !important;
}
/*--------------スクロールアニメーション---------------*/
/*フェード*/
#watch-top #edifice #about [class*="js-fade"] {
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
@media (max-width: 767px) {
  #watch-top #edifice #about > .aem-Grid > .container:nth-child(1) {
    margin-top: 80px;
  }
  #watch-top #edifice #about {
    background: url("/content/dam/casio/global/watch/edifice/top/img/top-sec1-sp.jpg");
    background-size: cover;
    aspect-ratio: 390 / 991;
  }
}
@media (max-width: 1200px) {
  /*---------------------about---------------------*/
  #watch-top #edifice #about {
    text-align: center;
  }
  #watch-top #edifice #about h2{
    text-align: center;
  }    
  #watch-top #edifice #about > .aem-Grid {
    width: 100%;
    max-height: none;
  }
  #watch-top #edifice #about > .aem-Grid > .container:nth-child(1) {
    margin: 25vw auto 0;
    width: 80%;
    float: none;
  }
  #watch-top #edifice #about > .aem-Grid > .container:nth-child(2) {
    height: auto;
    position: static;
    transform: translateY(0);
    width: 90%;
    max-width: none;
    margin-left: auto;
    float: none;
  }
  #watch-top #edifice #about > .aem-Grid > .container:nth-child(2) * {
    height: auto;
  }
  #watch-top #edifice #about > .aem-Grid > .container:nth-child(2) img {
    width: 100% !important;
  }
}