/* ========================================
   事業内容ページ専用CSS
======================================== */

/* Page Header */
.page-header {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 1));
}

.page-header__title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.page-header__description {
  font-size: 16px;
  color: var(--color-light-gray);
  line-height: 1.9;
}

/* Service Overview */
.overview__lead {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 60px;
  line-height: 1.8;
}

.overview__diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.diagram__box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  min-width: 200px;
  text-align: center;
}

.diagram__box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.diagram__box p {
  font-size: 14px;
  color: var(--color-light-gray);
}

.diagram__arrow {
  font-size: 14px;
  color: var(--color-light-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.diagram__arrow::after {
  content: '→';
  font-size: 24px;
}

.diagram__center {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-white);
  padding: 30px;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram__logo {
  width: 80px;
  height: auto;
}

.overview__features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  text-align: center;
  flex: 0 1 250px;
  max-width: 280px;
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-light-gray);
  line-height: 1.6;
}

/* Service Detail */
.service-detail__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.service-detail__content.reverse {
  direction: rtl;
}

.service-detail__content.reverse > * {
  direction: ltr;
}

.service-detail__lead {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.8;
}

.service-detail__list {
  list-style: none;
  padding: 0;
}

.service-detail__list li {
  padding-left: 25px;
  margin-bottom: 15px;
  position: relative;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-light-gray);
}

.service-detail__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: 700;
}

.service-detail__image {
  width: 100%;
  height: 400px;
  background: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing */
.service-detail__pricing {
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-detail__pricing h3 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 0.05em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.pricing-card.highlighted {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card__rank {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.pricing-card__level {
  font-size: 14px;
  color: var(--color-light-gray);
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 60px;
}

.recommended {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-black);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
}

.pricing-card__price {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-english);
}

/* Positions */
.positions {
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.positions h3 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 0.05em;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.position-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.position-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.position-card__icon {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-english);
  color: var(--color-mid-gray);
  margin-bottom: 15px;
}

.position-card h4 {
  font-size: 16px;
  letter-spacing: 0.05em;
}

/* Flow Section */
.flow-section__lead {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
  color: var(--color-light-gray);
}

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.flow-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  text-align: center;
  flex: 1 1 0;
  min-width: 150px;
  max-width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition-smooth);
}

.flow-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.flow-item__step {
  font-size: 12px;
  font-family: var(--font-english);
  color: var(--color-mid-gray);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.flow-item__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-item__description {
  font-size: 12px;
  color: var(--color-light-gray);
  line-height: 1.5;
  flex-grow: 1;
}

.flow-arrow {
  font-size: 24px;
  color: var(--color-light-gray);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .page-header__title {
    font-size: 48px;
  }

  .service-detail__content {
    grid-template-columns: 1fr;
  }

  .service-detail__content.reverse {
    direction: ltr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .positions-grid {
    grid-template-columns: 1fr;
  }

  .flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .page-header {
    min-height: 50vh;
    padding: 100px 20px 60px;
  }

  .page-header__title {
    font-size: 36px;
  }

  .overview__diagram {
    flex-direction: column;
  }

  .diagram__arrow::after {
    content: '↓';
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .overview__features {
    grid-template-columns: 1fr;
  }

  .service-detail__pricing {
    padding: 30px 20px;
  }

  .positions {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .page-header__title {
    font-size: 28px;
  }

  .overview__lead {
    font-size: 18px;
  }

  .diagram__box {
    padding: 30px 20px;
    min-width: 150px;
  }

  .diagram__center {
    width: 100px;
    height: 100px;
    padding: 20px;
  }

  .diagram__logo {
    width: 60px;
  }

  .flow-item {
    min-width: 140px;
    padding: 20px 15px;
  }
}
