/* --------------------------------------------------
   トップビジュアル動画
-------------------------------------------------- */
.main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease; /* ← 1.5s → 0.6s に短縮 */
  z-index: 0;
  display: block;
}

.main-video.show {
  opacity: 1;
}

.main-visual-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: none;
}

.main-visual-text-inner {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px 24px;
  max-width: 90%;
}

.main-visual-text h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.main-visual-text p {
  font-size: 1em;
  margin: 0;
}

/* --------------------------------------------------
   疑似バナー（動画下）
-------------------------------------------------- */
.pseudo-banner {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 10rem auto 10rem auto;
  flex-wrap: wrap;
}
.banner-image {
  flex: 1 1 30%;
  max-width: 380px;
  min-width: 250px;
}
.banner-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------
   お知らせ見出し
-------------------------------------------------- */
.news-heading {
  max-width: 1000px;
  margin: 0 auto 2em;
  padding: 0 10px;
  display: flex;
  justify-content: flex-start;
}
.news-heading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.news-en {
  font-size: 2.5em;
  font-weight: bold;
  display: block;
}
.news-jp {
  font-size: 0.95em;
  color: #555;
  margin-top: 0.3em;
}

/* --------------------------------------------------
   お知らせリスト
-------------------------------------------------- */
.top-news {
  padding: 0 0 100px;
}
.top-news-inn {
  max-width: 1000px;
  margin: auto;
  padding: 0 10px;
}
.top-news-list {
  padding-left: 20px;
  text-align: left;
  line-height: 1.5;
  width: 100%;
}
.top-news-list li {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid #ddd;
  padding: 0.5em 0;
}
.top-news-date {
  width: 120px;
  font-size: 1em;
  color: #888;
}
.top-news-text {
  width: calc(100% - 120px);
  font-size: 1.05em;
  font-weight: 600;
}
.more-link {
  max-width: 1000px;
  margin: 0 auto;
  text-align: right;
  padding: 0 10px;
  margin-top: 1em;
}


/* --------------------------------------------------
   サービスセクション（青背景＋アニメ）
-------------------------------------------------- */
#services.section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 15rem 3rem;
  background-color: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
#services.section.show {
  background-color: #007acc;
}
.service-bg-circle {
  --scale: 0.3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  width: 2000px;
  height: 1500px;
  background: #007acc;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.2s ease-out;
}
#services .section-heading,
#services .service-card,
#services .services-grid {
  position: relative;
  z-index: 1;
}
#services .section-heading {
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
}
#services .section-heading .section-en {
  color: #fff;
  display: block;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
#services .section-heading .section-jp {
  color: #fff;
}
#services .section-heading,
#services .section-heading .section-en,
#services .section-heading .section-jp {
  color: #fff !important;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.image-wrapper {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.service-caption {
  margin-top: 1rem;
  text-align: center;
  max-width: 90%;
}
.service-caption h3 {
  font-size: 1.25em;
  margin-bottom: 0.5rem;
  color: #fff;
}
.service-caption p {
  font-size: 0.85em;
  color: #fff;
  line-height: 1.5;
}
.service-card p {
  margin: 0;
  font-size: 1em;
  font-weight: bold;
  color: #fff;
}
.service-card:hover .image-wrapper {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}
/* --------------------------------------------------
   サービスセクションのリンク調整
-------------------------------------------------- */
.service-link {
  text-decoration: none;
  color: inherit;
}

.service-link:hover {
  text-decoration: none;
}

.service-link h3,
.service-link p {
  text-decoration: none !important;
}

/* --------------------------------------------------
   白背景の下セクション
-------------------------------------------------- */
.white-background-section {
  background-color: #fff;
  margin-top: -80px;
  padding-top: 100px;
  padding-bottom: 50px;
  position: relative;
  z-index: 0;
}
.banner-block {
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 3rem 10px;
}
.banner-block + .banner-block {
  margin-top: 3rem;
}
.site-footer {
  background-color: #fff;
  padding: 3rem 20px;
  text-align: center;
  color: #555;
  z-index: 1;
  position: relative;
}
/* --------------------------------------------------
   トップページ観光カード：リンク化
-------------------------------------------------- */
.slider-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.slider-card-link:hover {
  text-decoration: none;
}

.slider-card-link .slider-card {
  transition: transform 0.2s ease;
}

.slider-card-link:hover .slider-card {
  transform: translateY(-3px);
}

/* --------------------------------------------------
   トップページ観光セクション：観光案内ページボタン
-------------------------------------------------- */
.tour-page-link {
  text-align: center;
  margin-top: 32px;
}

.tour-page-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #007acc;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tour-page-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}
/* --------------------------------------------------
   トップページ観光セクション：観光案内ページボタン
-------------------------------------------------- */
.tour-page-link {
  text-align: center;
  margin-top: 32px;
}

.tour-page-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #007acc;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tour-page-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}
/* --------------------------------------------------
   レスポンシブ調整
-------------------------------------------------- */
@media screen and (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pseudo-banner {
    flex-direction: column;
    margin-top: 3rem;
    margin-bottom: 5rem;
    align-items: center;
  }
  .news-heading {
    justify-content: center;
  }
  .service-bg-circle {
    height: 2250px;
  }

  #services .section-heading{
    justify-content: center;
  }
  #recruit-banner{
    padding :0;
  }
    .recruit-banner-wrapper img{
    display: block;        
    max-width: 100%;       
    height: auto;          
}

}
/* --------------------------------------------------
   スマホ（〜600px）用レイアウト
-------------------------------------------------- */
@media screen and (max-width: 600px) {

  /* ヒーローのテキスト少し小さめに */
  .main-visual-text h1 {
    font-size: 1.2em;
  }
  .main-visual-text p {
    font-size: 0.9em;
  }

  /* ========== SERVICE セクション ========== */

  /* セクション全体を青背景にして、円はスマホでは非表示にする */
  #services {
    position: relative;
    padding: 60px 0 40px;
    background-color: #007acc;
  }

  /* スマホでは円自体は消す（演出を簡略化） */
  #services .service-bg-circle {
    display: none;
  }

  /* セクションタイトル（SERVICE / サービスのご案内） */
  #services .section-heading {
    position: relative;
    z-index: 2;              /* カードより前面に出す */
    text-align: center;
    margin-bottom: 24px;
  }

  #services .section-heading .section-en,
  #services .section-heading .section-jp {
    color: #fff;
  }

  /* サービスカード（1カラムで縦並び） */
  #services .services-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 12px 24px;
  }

  #services .service-card {
    padding: 16px;
  }

}
