/**********
** corporate-info
***********************************/

.corporate-info__wrap {
  padding-block: calc(80 * var(--r)) calc(100 * var(--r));
  position: relative;
}

@media (min-width: 768px) {

.corporate-info__wrap {
    padding-block: calc(150 * var(--r));
}
  }

.corporate-info__wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/corporate/img/corporate_bg.webp') no-repeat center center / cover;
}

.corporate-info__inner {
  position: relative;
}

.corporate-info__cards {
  display: -ms-grid;
  display: grid;
  gap: calc(50 * var(--r));
}

@media (min-width: 768px) {

.corporate-info__cards {
    -ms-grid-columns: 1fr calc(100 * var(--r)) 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(100 * var(--r));
}
  }

.corporate-info__link {
  display: block;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.corporate-info__img img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.corporate-info__btn {
  margin-top: calc(-30 * var(--r));
  padding-right: calc(10 * var(--r));
  text-align: right;
}

@media (min-width: 768px) {

.corporate-info__btn {
    margin-top: calc(-60 * var(--r));
    padding-right: calc(30 * var(--r));
}
  }

.corporate-info__link:hover .corporate-info__circle-btn img {
  -webkit-transform: translateX(calc(10 * var(--r)));
          transform: translateX(calc(10 * var(--r)));
}

/**********
** corporate-message
***********************************/

.corporate-message__wrap {
  padding-block: calc(80 * var(--r));
  position: relative;
}

@media (min-width: 768px) {

.corporate-message__wrap {
    padding-block: calc(150 * var(--r));
}
  }

.corporate-message__wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/corporate/img/message_bg.webp') no-repeat center center / cover;
}

.corporate-message__contents {
  display: -ms-grid;
  display: grid;
  gap: calc(30 * var(--r));
  position: relative;
}

@media (min-width: 768px) {

.corporate-message__contents {
    -ms-grid-columns: 1fr calc(90 * var(--r)) calc(520 * var(--r));
    grid-template-columns: 1fr calc(520 * var(--r));
    gap: calc(90 * var(--r));
}
  }

.corporate-message__img img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.corporate-message__ceo-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin-left: auto;
  position: relative;
}

.corporate-message__ceo-box::before {
    content: '';
    position: absolute;
    bottom:0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--black);
  }

@media (min-width: 768px) {

.corporate-message__ceo-box::before {
      width: calc(100% + calc(90 * var(--r)));
  }
    }

.corporate-message__ceo-post {
  font-size: var(--fs-md);
}

.corporate-message__ceo-name {
  font-size: clamp(
    calc(24 * var(--r)),
    calc(24 * var(--r)) + ((36 - 24) * var(--fluid-rate)),
    calc(36 * var(--r))
  );
  font-weight: 700;
  font-family: var(--font-serif);
  margin-top: calc(10 * var(--r));
}
