@charset "utf-8";

/* ======================================
   Group page
====================================== */
.page-group .l-page {
  padding-top: 56px;
  padding-bottom: 120px;
}

.p-group-intro {
  margin: 4rem 0 0 0;
}

.p-group-intro__text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
}

/* --------------------------------------
   list
-------------------------------------- */
.group-list {
  margin-top: 64px;
}

.p-group-company {
  padding: 5rem 0 0 0;
}

.p-group-company__inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 5rem;
}

.p-group-company__content {
  display: flex;
  flex-direction: column;
}

.p-group-company__category {
  position: relative;
  margin: 0 0 0.8rem;
  padding-left: 1.2rem;
  color: #333;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-group-company__category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.6rem;
  height: 0.6rem;
  background: #eb3b2d;
}

.p-group-company__title {
  margin: 0 0 0.5rem;
  color: #eb3b2d;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.4;
}

.p-group-company__text {
  max-width: 66rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
}

.p-group-company__button {
  align-self: flex-end;
  margin-top: auto;
}

.p-group-company__visual {
  flex: 0 0 20rem;
  width: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.p-group-company__logo {
  margin: 0 0 1.8rem;
  text-align: left;
}

.p-group-company__logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.p-group-company__image {
  overflow: hidden;
}

.p-group-company__image img {
  display: block;
  width: 100%;
  height: auto;
}

.c-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 18rem;
  height: 3.2rem;
  padding: 0 0 0 2.2rem;
  border: 1px solid #eb3b2d;
  border-radius: 9999px;
  background: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.c-btn-arrow:hover {
  opacity: 0.8;
}

.c-btn-arrow__text {
  color: #eb3b2d;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.c-btn-arrow__icon {
  position: relative;
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  margin-left: 1.6rem;
  border-radius: 50%;
  background: #eb3b2d;
  right: 0.1rem;
}

/* .c-btn-arrow__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-60%, -50%) rotate(45deg);
} */

/* --------------------------------------
   company block
-------------------------------------- */
.group-company {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-line);
}

.group-company:first-child {
  border-top: 1px solid var(--color-line);
}

.group-company__body {
  display: flex;
  gap: 32px;
}

.group-company__image {
  width: 300px;
  flex-shrink: 0;
}

.group-company__image img {
  width: 100%;
  display: block;
}

.group-company__content {
  flex: 1;
}

.group-company__title {
  margin-bottom: 12px;
  font-size: 2rem;
  font-weight: 700;
}

.group-company__text {
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: 700;
}

.group-company__buttons {
  display: flex;
  gap: 16px;
}

@media screen and (max-width: 767px) {
  .p-group-company__inner {
    gap: 1rem;
    display: flex;
  }

  .p-group-company__content {
    flex: 2;
  }
  
  .p-group-company__visual {
    width: 100%;
    flex: 1;
    justify-content: center;
  }

  .p-group-company__title {
    font-size: 1.6rem;
  }

  .p-group-company__text {
    max-width: none;
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .p-group-company__button {
    margin-top: 2.4rem;
    margin-left: 0;
  }

  .c-btn-arrow {
    margin-top: 1rem;
  }


}



