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

/* ページヒーロー */
.page-hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
  background-size: cover;
  background-position: bottom;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
}

.page-hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 3px;
  opacity: 0.9;
}

/* 事業内容概要 */
.services-overview {
  background-color: var(--white);
}

.overview-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-gray);
}

.overview-text p {
  margin-bottom: 20px;
}

/* サービス詳細セクション */
.service-detail {
  background-color: var(--white);
}

.service-detail.alt {
  background-color: var(--sky-blue);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.service-detail.alt .service-detail-content {
  direction: rtl;
}

.service-detail.alt .service-detail-content > * {
  direction: ltr;
}

.service-detail-img {
  width: 100%;
  height: 400px;
  background-color: var(--sky-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-gray);
  position: sticky;
  top: 100px;
}

.service-detail.alt .service-detail-img {
  background-color: rgba(255, 255, 255, 0.6);
}

.service-detail-text {
  padding: 20px 0;
}

.service-detail-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 25px;
}

.service-detail-description {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 35px;
}

.service-detail-subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--primary-blue);
}

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

.service-detail-list li {
  padding: 12px 0 12px 30px;
  font-size: 1rem;
  color: var(--text-gray);
  position: relative;
}

.service-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.service-highlight {
  margin-top: 30px;
  padding: 25px;
  background: linear-gradient(135deg, var(--sky-blue), rgba(135, 206, 235, 0.2));
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
}

.service-highlight p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
}

.service-highlight strong {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* サービス項目詳細 */
.service-item-detail {
  margin-bottom: 40px;
  padding: 30px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-blue);
}

.service-item-detail:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.15);
}

.service-item-detail h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.service-item-detail p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin: 0;
}

/* ご利用までの流れ */
.flow {
  background: linear-gradient(to bottom, var(--sky-blue), var(--white));
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.flow-step {
  text-align: center;
  padding: 40px 30px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.flow-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.flow-step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.flow-step-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.flow-step-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* CTAセクション */
.cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.cta-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 60px;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail.alt .service-detail-content {
    direction: ltr;
  }

  .service-detail-img {
    height: 250px;
    position: relative;
    top: 0;
  }

  .service-detail-title {
    font-size: 1.8rem;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 1.6rem;
  }

  .service-detail-title {
    font-size: 1.5rem;
  }

  .service-detail-description {
    font-size: 0.95rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }
}
