/* ===================================
   フルページスクロールコンテナ
   =================================== */

/* デバイス表示切り替え */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* ===================================
 ファーストビュー
=================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 背景動画・画像（固定） */
.bg-video,
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* ヒーローコンテンツ */
.hero-content {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.hero-copy {
  z-index: 10;
}

.copy-line {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.copy-line .highlight {
  color: #fad708;
  font-size: 5rem;
  text-shadow: 3px 3px 12px rgba(243, 156, 18, 0.5);
}

/* ===================================
 パララックスコンテナ
=================================== */
.parallax-container {
  position: relative;
  z-index: 1;
}

/* パララックスセクション共通 */
.parallax-section {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.parallax-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
 メッセージセクション
=================================== */
.message-section {
  background-color: rgba(255, 255, 255, 0.95);
  /* 背景色と透明度はここで調整可能 */
  padding: 100px 40px;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.message-heading {
  background-color: #152147;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  padding: 20px 40px;
  margin: 0 auto 60px;
  max-width: 800px;
  border-radius: 4px;
}

.message-body {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.message-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 10px;
}

/* ===================================
 セクション共通
=================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: #999;
  text-transform: lowercase;
  letter-spacing: 2px;
}

/* ===================================
 サービス内容セクション
=================================== */
.service-section {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 100px 40px;
}

.service-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  flex: 1;
  max-width: 350px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 40px 30px;
  background-color: #fff;
  text-align: center;
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card .card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.service-card .card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.card-button {
  display: inline-block;
  background-color: #152147;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.card-button:hover {
  background-color: #0f1833;
}

/* ===================================
 私たちについてセクション
=================================== */
.about-section {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 100px 40px;
}

.about-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  flex: 1;
  max-width: 500px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card .card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  padding: 30px 30px 15px;
}

.about-card .card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  padding: 0 30px 30px;
}

/* ===================================
 お知らせセクション
=================================== */
.news-section {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 100px 40px;
}

.news-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  flex: 1;
  max-width: 350px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.3s, transform 0.3s;
}

.news-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.news-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
}

/* ===================================
 お問い合わせセクション
=================================== */
.contact-section{
  background-color: rgba(255, 255, 255, 0.95);
  padding: 100px 40px;
  text-align: center;
}

.contact-content{
  text-align: center;
}

.p-contact-left{
  margin-bottom: 10vh;
}

/* ===================================
 レスポンシブ対応（SP版）
=================================== */
@media (max-width: 768px) {
  .pc-only {
      display: none;
  }
  
  .sp-only {
      display: block;
  }

  /* ファーストビュー */
  .hero-content {
      padding: 0 30px;
      justify-content: center;
      text-align: center;
  }

  .parallax-container{
    margin-top: -30vh;
  }

  .copy-line {
      font-size: 2rem;
      margin-bottom: 15px;
  }

  .copy-line .highlight {
      font-size: 2.3rem;
  }

  /* メッセージセクション */
  .message-section {
      padding: 60px 20px;
  }

  .message-heading {
      font-size: 1.3rem;
      padding: 15px 20px;
      margin-bottom: 40px;
  }

  .message-body p {
      font-size: 1rem;
  }

  /* サービスカード */
  .service-section {
      padding: 60px 20px;
  }

  .service-cards {
      flex-direction: column;
      align-items: center;
  }

  .service-card {
      max-width: 100%;
  }

  /* 私たちについてカード */
  .about-section {
      padding: 60px 20px;
  }

  .about-cards {
      flex-direction: column;
      align-items: center;
  }

  .about-card {
      max-width: 100%;
  }

  /* お知らせカード */
  .news-section {
      padding: 60px 20px;
  }

  .news-cards {
      flex-direction: column;
      align-items: center;
  }

  .news-card {
      max-width: 100%;
  }

  /* セクションタイトル */
  .section-title {
      font-size: 2rem;
  }
}