/* =========================================
   Company Page Styles
   ========================================= */

.company-hero {
  position: relative;
  width: 100%;
  background: transparent;
  color: var(--color-white);
  padding-top: 220px;
  padding-bottom: 100px;
  text-align: center;
  overflow: hidden;
}

.company-hero__bg-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.company-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.company-hero__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .company-hero {
    padding-top: 230px;
    padding-bottom: 150px;
  }

  .company-hero__title {
    font-size: 36px;
  }

  .company-hero__bg-text {
    font-size: 80px;
    top: 50%;
  }
}

/* Overview Section */
.profile-overview {
  padding: 60px 0 74px;
}

.overview-table__item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  padding: 20px 0;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #fff;
  border-bottom: 1px solid #bcbcbc;
}

.overview-table__item-title {
  width: 120px;
}

.overview-table__item-value {
  flex: 1;
}

.overview-table__item-value span {
  display: block;
  margin-bottom: 20px;

  &:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .profile-overview {
    padding: 0 0 50px;
  }

  .overview-table__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =========================================
   Profile Page Styles
   ========================================= */

/* Revenue Section */
.profile-revenue {
  padding: 40px 0 80px;
}

.revenue-layout {
  display: flex;
  gap: 85px;
  align-items: flex-start;
}

.revenue-section__title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 4px solid #fff;
}

.revenue-chart-container {
  width: 59.459%;
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* Revenue Details Panel */
.revenue-details {
  flex: 1;
}

@media (max-width: 768px) {
  .profile-revenue {
    padding: 60px 0 80px;
  }

  .revenue-layout {
    flex-direction: column;
    gap: 40px;
  }

  .revenue-section__title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
  }

  .revenue-chart-container {
    width: 100%;
  }

  .revenue-details {
    width: 100%;
  }

  .revenue-details-box {
    width: 100%;
  }
}

/* Offices Section */
.profile-offices {
  padding: 40px 0 120px;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.office-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.office-card__title {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 20px;
}

.office-card__map {
  margin-bottom: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.office-card__address {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .revenue-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .revenue-details {
    flex: none;
    width: 100%;
  }

  .revenue-chart-box {
    min-height: 300px;
  }

  .bar-label {
    font-size: 10px;
    bottom: -20px;
  }

  .features-content {
    flex-direction: column;
    gap: 40px;
  }

  .features-image {
    flex: none;
    width: 100%;
  }

  .offices-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-offices {
    padding: 60px 0 80px;
  }

  .feature-card {
    flex-direction: column;
  }
}
