/* ==========================================================================
   事業トップ（ソリューション／クリエイティブ／エデュケーション）のサービス一覧
   ※ 元: Next.js の CSS Modules（SCSS）を素のCSSに変換
   ========================================================================== */

/* --------------------------------------------------------------------------
   .services-section（元: src/components/service/ServicesSection/ServicesSection.module.scss）
   -------------------------------------------------------------------------- */

/* =========================================== */
/* Services Section - Reusable Component */
/* =========================================== */
.services-section {
  display: grid;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  margin: 120px auto;
  gap: 30px;
}

@media (max-width: 640px) {
  .services-section {
    margin: 5vw auto;
    gap: 8vw;
    padding-inline: 5%;
  }
}

.services-section__service-item {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 30px;
  margin-top: 0;
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(120deg, #ffffff 0%, #e7f1f4 100%);
}

@media (max-width: 768px) {
  .services-section__service-item {
    flex-direction: column;
    padding: 30px 30px;
  }
}

@media (max-width: 640px) {
  .services-section__service-item {
    padding: 5vw 4vw;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
  }
}

.services-section__service-item:hover {
  opacity: 0.8;
  box-shadow: 0 3px 10px 0 rgba(45, 47, 50, 0.1);
}

.services-section__service-item-inner {
  display: flex;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 40px;
  position: relative;
}

@media (max-width: 768px) {
  .services-section__service-item-inner {
    gap: 30px;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .services-section__service-item-inner {
    gap: 0;
  }
}

/* Vertical Divider Line */
.services-section__vertical-divider {
  width: 1px;
  background-color: #606060;
  position: relative;
}

@media (max-width: 768px) {
  .services-section__vertical-divider {
    display: none;
  }
}

.services-section__service-item-left {
  width: 32%;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  align-items: center;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .services-section__service-item-left {
    width: 100%;
    padding-top: 0;
  }
}

.services-section__service-item-right {
  flex-grow: 1;
  position: relative;
}

.services-section__service-item-title-ja {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 24px;
  color: #393939;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .services-section__service-item-title-ja {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .services-section__service-item-title-ja {
    font-size: 5vw;
    margin-bottom: 0.5em;
  }
}

.services-section__service-item-headline {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 22px;
  line-height: 1.5;
  color: #000;
  padding-top: 1em;
  margin: 0 0 24px;
}

@media (max-width: 768px) {
  .services-section__service-item-headline {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .services-section__service-item-headline {
    font-size: 3.5vw;
    padding-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700;
  }
}

.services-section__service-item-description {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin: 0 0 24px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .services-section__service-item-description {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .services-section__service-item-description {
    font-size: 3.125vw;
    margin-bottom: 0;
  }
}

.services-section__more-link {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-section__more-link::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: #005bac;
}

@media (max-width: 768px) {
  .services-section__more-link {
    position: relative;
    margin-top: 0;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .services-section__more-link {
    font-size: 2.8vw;
    bottom: 0;
  }
}
