/* ==========================================================================
社長メッセージ
========================================================================== */
/* p-message
----------------------------------------------------------------- */
.p-message__mv {
  margin-bottom: 60px;
}

.p-message__heading {
  margin-bottom: 50px;
}

.p-message__content:not(:last-of-type) {
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .p-message__mv {
    margin-bottom: 30px;
  }

  .p-message__heading {
    margin-bottom: 25px;
  }

  .p-message__content:not(:last-of-type) {
    margin-bottom: 30px;
  }
}

/* p-message-text
----------------------------------------------------------------- */
.p-message-text__item:not(:last-of-type) {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .p-message-text__item:not(:last-of-type) {
    margin-bottom: 12px;
  }
}

/* p-message-box
----------------------------------------------------------------- */
.p-message-box {
  display: flex;
  justify-content: space-between;
}

.p-message-box.-reverse {
  flex-direction: row-reverse;
}

.p-message-box__body {
  width: 48.46938%;
}

.p-message-box__image-wrapper {
  width: 48.46938%;
}

@media screen and (max-width: 768px) {
  .p-message-box {
    display: block;
  }

  .p-message-box__body {
    width: 100%;
    margin-bottom: 18px;
  }

  .p-message-box__image-wrapper {
    width: 100%;
  }
}


/* ==========================================================================
会社概要
========================================================================== */
/* p-company
----------------------------------------------------------------- */
.p-company__table {
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .p-company__table {
    margin-bottom: 37px;
  }
}


/* p-table-text
----------------------------------------------------------------- */
.p-table-text {
  margin-bottom: 15px;
}

.p-table-text>*:last-child {
  margin-bottom: 0;
}

.p-table-text__heading {
  display: block;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .p-table-text {
    margin-bottom: 8px;
  }

  .p-table-text__heading {
    margin-bottom: 4px;
  }
}


/* p-list-number
----------------------------------------------------------------- */
.p-list-number {
  list-style: decimal;
  padding-left: 20px;
}

.p-list-number__item {
  padding-left: 13px;
  line-height: 1.8;
}

.p-list-number__item:not(:last-child) {
  margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
  .p-list-number {
    padding-left: 12px;
  }

  .p-list-number__item {
    line-height: 1.6;
    padding-left: 4px;
  }

  .p-list-number__item:not(:last-child) {
    margin-bottom: 10px;
  }
}


/* p-company-access
----------------------------------------------------------------- */
.p-company-access__heading {
  margin-bottom: 50px;
}

.p-company-access__image {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .p-company-access__heading {
    margin-bottom: 30px;
  }
}


/* p-link-list
----------------------------------------------------------------- */
.p-link-list__item {
  font-size: 1.6rem;
}

.p-link-list__item:not(:last-child) {
  margin-bottom: 25px;
}

@media screen and (max-width: 768px) {
  .p-link-list__item {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .p-link-list__item:not(:last-child) {
    margin-bottom: 14px;
  }
}