@charset "UTF-8";

/* *************************************

message style

***************************************/

#company .c-flex {
  display: flex;
}
#company #message-head {
  padding: 20px 10px 0;
  background: url("/components/common/images/message_backimg.png") no-repeat
    top / contain;
}
#company #message-head .c-flex {
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}
#company #message-head .c-flex .c-flex__img {
  width: calc(50% - 20px);
}
#company #message-head .c-flex .c-flex__img img {
  width: 100%;
  height: auto;
}
#company #message-head .c-flex .c-flex__text {
  width: 50%;
}
#company #message-head p.catch {
  font-size: 28px !important;
  padding-left: 1rem;
  text-indent: -1em;
  line-height: 1.3;
}
#company #message-head p.catch span {
  color: #005eb8;
}
#company #message-head .heading-message {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #005eb8;
  margin: 10px 0 10px 20px;
}
#company #message-head .heading-message::after {
  content: "";
  width: 80px;
  height: 2px;
  background: #005eb8;
}
#company #message-bottom {
  margin: 2rem 0 0;
}
#company #message-bottom ul.c-flex {
  margin: 0;
  padding: 0;
}
#company #message-bottom .c-flex .c-flex__item {
  width: calc(100% / 2);
  list-style: none;
}
#company #message-bottom .c-flex .c-flex__item > a {
  position: relative;
  display: block;
  color: #fff;
  transition: all 0.3s ease;
}
#company #message-bottom .c-flex .c-flex__item > a:hover {
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.8;
}
#company #message-bottom .c-flex .c-flex__item > a p {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 1;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
#company #message-bottom .c-flex .c-flex__item > a p span {
  font-size: 12px;
}
#company #message-bottom .c-flex .c-flex__item > a img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  #company #message-head .c-flex {
    display: block;
  }
  #company #message-head .c-flex .c-flex__img {
    width: 100%;
    text-align: center;
  }
  #company #message-head .c-flex .c-flex__text {
    width: 100%;
  }
  #company #message-head .c-flex .c-flex__img img {
    width: 500px;
  }
}
@media (max-width: 480px) {
  #company #message-bottom .c-flex {
    display: block;
  }
  #company #message-bottom .c-flex .c-flex__item {
    width: 100%;
  }
  #company #message-head p.catch {
    font-size: 24px !important;
  }
}
