@charset "UTF-8";

/* ==========================================================================
   heading.css
   ========================================================================== */

.o-c__heading {
  text-align: center;
}

.o-c__heading-h2 {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  padding-bottom: 56px;
  position: relative;
  @media screen and (max-width: 576px) {
    font-size: 25px;
    padding-bottom: 50px;
  }
  &:after {
    content: "";
    width: 40px;
    height: 3px;
    line-height: 0;
    background-color: var(--rmeisai-primary);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    @media screen and (max-width: 576px) {
      height: 2px;
      bottom: 26px;
    }
  }
}

.o-c__heading-lead {
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 30px;
  position: relative;
  top: -5px;
  @media screen and (max-width: 768px) {
    text-align: left;
  }
  @media screen and (max-width: 576px) {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 20px;
  }
}

.o-c__heading-lead_contents {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  grid-template-rows: auto;
  place-items: center;
  @media screen and (max-width: 768px) {
    grid-template-columns: 0.8fr auto;
    width: 70%;
    height: 100px;
    margin: auto;
  }
  @media screen and (max-width: 576px) {
    display: block;
    width: 100%;
    height: auto;
  }
}

.o-c__heading-lead_contents-talent {
  width: 80%;
  height: auto;
  @media screen and (max-width: 768px) {
    width: 50%;
  }
  @media screen and (max-width: 576px) {
    display: none;
  }
}

.o-c__heading-lead._center {
  place-self: center;
  padding: 0;
  text-align: left;
}
