@charset "UTF-8";
/* color */
/* ============================================ */
/* font */
/* ============================================ */
/* font-size */
/* ============================================ */
/* 記載例）font-size: g.rem(16); */
/* トップメッセージ */
/* Figma: トップメッセージ｜/company/top_message（node-id: 51917:14899） */
/* ============================================ */
.company-top_message-outer {
  position: relative;
  overflow: clip;
}

.tm-hero {
  margin-top: 60px;
}
@media all and (max-width: 896px) {
  .tm-hero {
    margin-top: 56px;
  }
}

.top-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 40px;
}
@media all and (max-width: 896px) {
  .top-img img {
    border-radius: 24px;
  }
}

.tm-hero__card {
  position: relative;
  overflow: clip;
  max-width: 1340px;
  margin: 0 auto;
  aspect-ratio: 1340/600;
  border-radius: 40px;
  background: #eff8fd;
}
@media all and (max-width: 896px) {
  .tm-hero__card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    aspect-ratio: auto;
    border-radius: 24px;
  }
}

.tm-hero__deco {
  position: absolute;
  inset: 0;
  background-image: url(../images/company/top_message/bg-deco.png);
  background-size: cover;
  background-position: left center;
  mix-blend-mode: multiply;
  opacity: 0.8;
  pointer-events: none;
}
@media all and (max-width: 896px) {
  .tm-hero__deco {
    display: none;
  }
}

.tm-hero__photo {
  position: absolute;
  inset: 0;
}
.tm-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 70% center;
     object-position: 70% center;
  -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(28%, transparent), color-stop(58%, #000));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 28%, #000 58%);
          mask-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(28%, transparent), color-stop(58%, #000));
          mask-image: linear-gradient(to right, transparent 0%, transparent 28%, #000 58%);
}
@media all and (max-width: 896px) {
  .tm-hero__photo {
    position: relative;
    inset: auto;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    aspect-ratio: 4/3;
  }
  .tm-hero__photo img {
    -webkit-mask-image: none;
            mask-image: none;
    -o-object-position: center 20%;
       object-position: center 20%;
  }
}

.tm-hero__quote {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
  padding: 72px 40px 72px 72px;
  max-width: 640px;
}
@media all and (max-width: 896px) {
  .tm-hero__quote {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    padding: 32px 24px;
    gap: 20px;
    max-width: none;
  }
}

.tm-hero__quote-text {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 2;
  color: #2e3438;
  margin: 0;
}
.tm-hero__quote-text em {
  font-style: normal;
  color: #3d95fa;
}
@media all and (max-width: 896px) {
  .tm-hero__quote-text {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

.tm-hero__quote-divider {
  display: block;
  width: 120px;
  height: 1px;
  background: #2e3438;
}
@media all and (max-width: 896px) {
  .tm-hero__quote-divider {
    width: 80px;
  }
}

.tm-hero__quote-sign {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 2;
  color: #2e3438;
  margin: 0;
}
@media all and (max-width: 896px) {
  .tm-hero__quote-sign {
    font-size: 1rem;
  }
}

.tm-body {
  margin: 100px auto 0;
  padding-bottom: 80px;
  max-width: 1340px;
}
@media all and (max-width: 896px) {
  .tm-body {
    margin-top: 48px;
    padding-bottom: 40px;
  }
}

.tm-body__text {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 2;
  color: #1b2134;
}
.tm-body__text p {
  margin: 0 0 1.5em;
}
.tm-body__text p:last-child {
  margin-bottom: 0;
}
@media all and (max-width: 896px) {
  .tm-body__text {
    font-size: 1rem;
    line-height: 1.8;
  }
}

.tm-body__sign {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 2;
  color: #2e3438;
  text-align: right;
  margin: 32px 0 0;
}
@media all and (max-width: 896px) {
  .tm-body__sign {
    margin-top: 20px;
  }
}