/* ========================================
   TOPページ専用CSS
   ======================================== */

/* ヒーローセクション */
.hero {
  position: relative;
  height: calc(100vh - 120px);
}

.hero-video {
  width: 100%;
  height: 100%;
  background-color: #000000;
  position: relative;
}

.hero-video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-pc {
  display: block;
}

.hero-video-sp {
  display: none;
}

/* 企業理念セクション（強調帯） */
.philosophy-banner {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  padding: 60px 0;
  text-align: center;
}

.philosophy-banner-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 私たちの強みセクション（左右交互レイアウト） */
.features-alternate {
  background-color: var(--white);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-image {
  width: 100%;
  height: 400px;
  background-color: var(--sky-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-gray);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.feature-content {
  padding: 20px;
}

.feature-alt-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 25px;
}

.feature-alt-text {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.9;
}

/* 事業内容詳細セクション */
.services-detail {
  background-color: var(--sky-blue);
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail-row:last-of-type {
  margin-bottom: 0;
}

.service-detail-row-reverse {
  direction: rtl;
}

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

.service-detail-image {
  width: 100%;
  height: 350px;
  background-color: var(--sky-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-gray);
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.service-detail-content {
  padding: 20px;
}

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

.service-detail-text {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-detail-link {
  display: inline-block;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.service-detail-link:hover {
  transform: translateX(5px);
}

/* お知らせ・活動紹介セクション */
.news-updates {
  background-color: var(--white);
}

.news-cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background-color: var(--sky-blue);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-cta-icon {
  font-size: 4rem;
  margin-bottom: 30px;
}

.news-cta-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 20px;
  line-height: 1.6;
}

.news-cta-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-large {
  font-size: 1.2rem;
  padding: 18px 50px;
}

/* アクセス地図セクション */
.access-map {
  background-color: var(--sky-blue);
}

.map-container {
  margin-bottom: 0;
}

.map-placeholder {
  width: 100%;
  height: 450px;
  background-color: var(--white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-gray);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 採用情報CTAセクション */
.recruit-cta {
  background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
  position: relative;
  overflow: hidden;
}

.recruit-cta::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,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat;
  background-size: cover;
  background-position: top;
}

.recruit-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.recruit-cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.recruit-cta-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* お問い合わせCTAセクション */
.contact-cta {
  background: linear-gradient(to bottom, var(--sky-blue), var(--white));
}

.contact-cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-cta-icon {
  font-size: 4rem;
  margin-bottom: 30px;
}

.contact-cta-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.contact-cta-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-cta-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100vh - 200px);
  }

  .hero-video {
    min-height: 400px;
  }

  .hero-video-pc {
    display: none;
  }

  .hero-video-sp {
    display: block;
  }

  .philosophy-banner-title {
    font-size: 1.4rem;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
    direction: ltr;
  }

  .feature-image {
    height: 250px;
  }

  .feature-alt-title {
    font-size: 1.5rem;
  }

  .service-detail-row,
  .service-detail-row-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
    direction: ltr;
  }

  .service-detail-image {
    height: 250px;
  }

  .news-cta-box {
    padding: 40px 30px;
  }

  .news-cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .news-cta-title {
    font-size: 1.4rem;
  }

  .news-cta-text {
    font-size: 1rem;
  }

  .btn-large {
    font-size: 1.1rem;
    padding: 15px 40px;
  }

  .map-placeholder {
    height: 300px;
  }

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

  .recruit-cta-text {
    font-size: 1rem;
  }

  .contact-cta-box {
    padding: 40px 30px;
  }

  .contact-cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .contact-cta-title {
    font-size: 1.4rem;
  }

  .contact-cta-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .feature-alt-title {
    font-size: 1.2rem;
  }

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

  .news-cta-box {
    padding: 30px 20px;
  }

  .news-cta-icon {
    font-size: 2.5rem;
  }

  .news-cta-title {
    font-size: 1.2rem;
  }

  .news-cta-text {
    font-size: 0.95rem;
  }

  .btn-large {
    font-size: 1rem;
    padding: 12px 30px;
  }

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

  .contact-cta-box {
    padding: 30px 20px;
  }

  .contact-cta-icon {
    font-size: 2.5rem;
  }

  .contact-cta-title {
    font-size: 1.2rem;
  }

  .contact-cta-text {
    font-size: 0.95rem;
  }
}
