@charset "utf-8";

/** ***************************************************************************
 * メッセージ
 * ************************************************************************* */

#message {
  position: relative;
  z-index: 0;
}

#message::after {
  content: '';
  width: 100vw;
  height: 100%;
  background-color: #f7f7fc;
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}

@media screen and (min-width:768px) {

  #message {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

}

/**
 * 内容
 */

#message div.content {
  padding-top: 30px;
}

#message div.content div.text {
  text-align: justify;
  text-justify: inter-character;
}

#message div.content div.text .title {
  font-size: 1.286em;
  font-weight: 600;
}

#message div.content div.text .name {
  text-align: right;
}

@media screen and (min-width:768px) {

  #message div.content {
    width: 60%;
    padding-top: 40px;
    padding-bottom: 50px;
  }

  #message div.content div.text .title {
    font-size: 1.5em;
  }

}

/**
 * 画像
 */

#message div.image {
  margin-top: 30px;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
}

@media screen and (min-width:768px) {

  #message div.image {
    width: 38%;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    order: -1;
  }

}

/** ***************************************************************************
 * 当社の沿革はこちら
 * ************************************************************************* */

#main div.button {
  text-align: center;
}

/** ***************************************************************************
 * ミッション
 * ************************************************************************* */

@media screen and (min-width:768px) {

  #mission {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * 内容
 */

#mission div.content {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

#mission div.content .text {
  line-height: 2;
  font-weight: 500;
}

@media screen and (min-width:768px) {

  #mission div.content {
    width: 44%;
    margin-left: 0;
    margin-right: 0;
  }

  #mission div.content .text {
    line-height: 2.5;
    font-size: 1.125em;
  }

}

/**
 * 画像
 */

#mission div.image {
  margin-top: 20px;
  text-align: center;
}

@media screen and (min-width:768px) {

  #mission div.image {
    width: 52%;
    margin-top: 0;
  }

}

/** ***************************************************************************
 * ビジョン
 * ************************************************************************* */

@media screen and (min-width:768px) {

  #vision {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * 内容
 */

#vision div.content {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

#vision div.content .text {
  font-weight: 500;
}

#vision div.content .text em {
  margin-bottom: 0.25em;
  letter-spacing: 2px;
  line-height: 1;
  font-size: 2em;
  font-style: normal;
  font-weight: 600;
  display: inline-block;
}

/* Platform */

#vision div.content .text.platform em {
  color: #512f8e;
}

/* Innovative */

#vision div.content .text.innovative em {
  color: #1f65b1;
}

/* Lifeline */

#vision div.content .text.lifeline em {
  color: #18b1c3;
}

@media screen and (min-width:768px) {

  #vision div.content {
    width: 44%;
    margin-left: 0;
    margin-right: 0;
  }

  #vision div.content .text {
    font-size: 1.125em;
  }

}

/**
 * 画像
 */

#vision div.image {
  margin-top: 20px;
  text-align: center;
}

@media screen and (min-width:768px) {

  #vision div.image {
    width: 52%;
    margin-top: 0;
  }

}
