/* ==========================================================================
   Index
   ========================================================================== */
/* topmessage
   ========================================================================== */
.topmessage {
  background-color: #f0f4f9;
  position: relative;
}
.topmessage h2 {
  color: #1E52A6;
  font-size: 2.5em;
  font-weight: 500;
  line-height: 1.5;
  position: absolute;
  left: 80px;
  top: 50px;
  z-index: 1;
}
.topmessage figure {
  display: table;
  margin-left: auto;
  position: relative;
}
.topmessage figure figcaption {
  font-size: 1.7rem;
  line-height: 1.5;
  position: absolute;
  bottom: 70px;
  left: 0;
  -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
          transform: translateX(-100%);
}
.topmessage figure figcaption span {
  display: block;
  font-size: 3rem;
  font-weight: 500;
  margin-top: 10px;
}
@media (max-width: 1100px) {
  .topmessage h2 {
    font-size: 2em;
    left: 30px;
    top: -webkit-calc(30 / 1200 * 100vw);
    top: calc(30 / 1200 * 100vw);
    line-height: 1.4;
  }
  .topmessage figure figcaption {
    font-size: 1.4rem;
    bottom: 35px;
  }
  .topmessage figure figcaption span {
    font-size: 2.4rem;
  }
}
@media (max-width: 767px) {
  .topmessage {
    padding: 0;
  }
  .topmessage h2 {
    font-size: 2em;
    padding: 5.3vw 4vw 0;
    position: static;
  }
  .topmessage figure {
    display: block;
    margin-top: 2.6vw;
  }
  .topmessage figure img {
    width: 100%;
  }
  .topmessage figure figcaption {
    font-size: 3.75vw;
    bottom: 11.7vw;
    left: 8.5vw;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
  }
  .topmessage figure figcaption span {
    font-size: 6.4vw;
    margin-top: 2.6vw;
  }
}
