/* # =================================================================
   # about
   # ================================================================= */

.company__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.company__head_photo {
  width: 550px;
}

.company__head_message {
  padding-left: 74px;
  width: calc(100% - 550px);
}

.company__head_message h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
}

.company__head_message > p {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.83333333333;
  letter-spacing: 0.54px;
  margin-top: 15px;
}

.message_link a {
  line-height: 49px;
}

.message_link {
  margin-top: 20px;
  text-align: right;
}

.company__cont {
  margin-top: 50px;
  background: #fff;
  border-radius: 30px;
  padding: 56px 63px 20px;
}

.company__cont_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  margin-bottom: 57px;
}

.company__cont_inner > div {
  border-bottom: #d9d9d9 solid 1px;
}

.company__cont_block.wide {
  display: flex;
  justify-content: space-between;
  gap: 75px;
  border-bottom: #d9d9d9 solid 1px;
  margin-bottom: 57px;
}

.company__cont_block.wide ul {
  margin-top: 3.9rem;
}

.company__cont_block.wide dl,
.company__cont_block.wide div {
  width: 50%;
}

.cont_link {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  padding-left: 0.7rem;
  height: 7.3rem;
  align-content: center;
  color: #3c1f15;
  transition: 0.3s;
  position: relative;
  &::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url(../../images/about/arrow_link.svg) center right no-repeat;
    width: 1.2rem;
    height: 1.1rem;
    transition: 0.3s;
  }
}

.company__cont_linklist li {
  border-bottom: #d9d9d9 solid 1px;
  margin-bottom: 2.1rem;
}

.company__cont_linklist li:last-child {
  margin-bottom: 0;
}

.company__cont_linklist li .cont_link {
  font-size: 1.8rem;
  height: 5rem;
}

@media (hover: hover) {
  .cont_link:hover {
    color: var(--colorGreen);
    font-size: 2.1rem;

     &::after {
      background: url(../../images/about/arrow_link_green.svg) center right no-repeat;
    }
  }

  .company__cont_linklist li .cont_link:hover {
    font-size: 1.85rem;
  }
}

@media screen and (max-width: 1099px) {
  .company__head {
    display: block;
  }
  .company__head_photo {
    width: 100%;
  }
  .company__head_message {
    padding-left: 0;
    margin-top: 30px;
    width: 100%;
  }
  .company__head_message > p {
    margin-top: 15px;
  }
  .company__cont_block.wide {
    margin-top: auto;
  }
  .company__cont_block.wide ul {
    margin-top: auto;
  }
}

@media screen and (max-width: 767px) {
  .container1100 {
    padding-inline: 2.5rem;
  }
  .company__head_message h2 {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
  }
  .company__head_message > p {
    font-size: 1.6rem;
  }
  .company__cont_inner {
    display: block;
    margin-bottom: 0;
  }
  .company__cont_block.wide {
    display: block;
    border-bottom: 2px solid #d9d9d9;
    margin-bottom: 3.6rem;
  }
  .company__cont_block.wide > dl {
    border-bottom: #d9d9d9 solid 1px;
  }

  .company__cont_block.wide > dl.bottom-none {
    border-bottom: none;
  }
  .company__cont {
    margin-top: 8vw;
    border-radius: 15px;
    padding: 1.5rem 2rem;
  }
  .company__cont_block.wide dl,
  .company__cont_block.wide div {
    width: 100%;
  }
  .cont_link {
    font-size: 2rem;
    height: 6.6rem;
    padding-left: 0;
  }
  .company__cont_linklist li {
    margin-bottom: 0;
  }
  .company__cont_linklist li .cont_link {
    font-size: 1.8rem;
    height: 5rem;
    margin-left: 0.8rem;
  }
  .company__cont_inner > div {
    border-bottom: 2px solid #d9d9d9;
    margin-bottom: 3.6rem;
  }

  .message_link {
    text-align: center;
  }

  .message_link a {
    max-width: 88%;
  }

  .company__cont_block.wide ul {
    padding-bottom: 3.6rem;
  }
}
