/*!
 * Hero Full View Image Styles
 */

/* ---------------------------------------------------------------------
  フルビュー画像セクション
--------------------------------------------------------------------- */
.hero-fullview {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
@media (max-width: 767.98px) {
  /* スライダーを画面端に合わせる */
  #top-hero-image-section.hero-fullview {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0;
    right: 0;
  }
  
  /* カルーセルコンテナも100%幅に */
  #top-hero-image-section .hero-image-container {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  /* カルーセルの内部要素も100%幅に */
  #top-hero-image-section .carousel-inner,
  #top-hero-image-section .carousel-item {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* 画像を100%幅で表示 */
  #top-hero-image-section .hero-main-image {
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
  }
}

@media(max-width:575px) {
}
@media(min-width:576px) {
}
@media(min-width:768px) {
  #top-hero-image-section.hero-fullview {
    height: 100vh;
    min-height: 500px;
  }
}
@media(min-width:992px) {
  #top-hero-image-section.hero-fullview {
    min-height: 600px;
  }
}
@media(min-width:1200px) {
}
@media(min-width:1400px) {
} 



/* @media (max-width: 767px) {
  .hero-fullview {
    height: 80vh;
    min-height: 500px;
  }
} */
/* @media (max-width: 575px) {
  .hero-fullview {
    height: 70vh;
    min-height: 450px;
  }
} */
/* 縦画面対応 */
/* @media (max-height: 600px) and (orientation: landscape) {
  .hero-fullview {
    height: 100vh;
    min-height: 400px;
  }
} */

/* --------------------------------------------------------------------- */

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------------------------------------------------------------------
  スライダー専用スタイル（top-hero-image-sectionのみ）
--------------------------------------------------------------------- */
#top-hero-image-section .carousel-inner,
#top-hero-image-section .carousel-item {
  width: 100%;
  height: 100%;
}

/* カルーセルインジケーター */
#top-hero-image-section .carousel-indicators {
  bottom: 30px;
  z-index: 10;
}

#top-hero-image-section .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

#top-hero-image-section .carousel-indicators button.active {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

/* カルーセルコントロール */
#top-hero-image-section .carousel-control-prev,
#top-hero-image-section .carousel-control-next {
  width: 60px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 10;
}

#top-hero-image-section .carousel-control-prev:hover,
#top-hero-image-section .carousel-control-next:hover {
  opacity: 1;
}

#top-hero-image-section .carousel-control-prev-icon,
#top-hero-image-section .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  background-size: 100%;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}

/* フェードトランジション */
/* フェードイン/フェードアウトのアニメーション時間を変更する場合ココ */
#top-hero-image-section .carousel-item {
  transition: opacity 3.5s ease-in-out;
}

/* レスポンシブ対応 */

@media (max-width: 767px) {
  #top-hero-image-section .carousel-control-prev,
  #top-hero-image-section .carousel-control-next {
    width: 40px;
  }

  #top-hero-image-section .carousel-control-prev-icon,
  #top-hero-image-section .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }

  #top-hero-image-section .carousel-indicators {
    bottom: 20px;
  }

  #top-hero-image-section .carousel-indicators button {
    width: 10px;
    height: 10px;
  }
}


/* ---------------------------------------------------------------------
  フルビュー画像セクション
--------------------------------------------------------------------- */
/* オーバーレイ */
.hero-overlay {
  position: absolute;
  top: -20vh;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* padding-left: 200px; */
  z-index: 2;
}



#top-hero-image-section .hero-overlay {
  justify-content: center;
  padding: 0;
}
#company-hero-image-section .hero-overlay {
  align-items: center;
  justify-content: center;
  padding: 0;
  top: 20vh;
}
#facility-hero-image-section .hero-overlay {
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 120px 80px;
}
#recruitment-hero-image-section .hero-overlay {
  position: absolute;
  top: 16vh;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  padding-left: 15%;
  z-index: 2;
}

@media (max-width: 1200px) {
  #facility-hero-image-section .hero-overlay {
    padding: 0 0 clamp(80px, 12vw, 120px) clamp(40px, 8vw, 80px);
  }
  #company-hero-image-section .hero-overlay {
    top: 13vh;
  }
  #recruitment-hero-image-section .hero-overlay {
    padding-left: 10%;
  }
}

@media (max-width: 767px) {
  #top-hero-image-section .hero-overlay {
    top: 0;
    align-items: flex-start;
    padding-top: 30px;
  }
  #company-hero-image-section .hero-overlay {
    top: 9vh;
  }
  #facility-hero-image-section .hero-overlay {
    padding: 0 0 clamp(60px, 10vw, 100px) clamp(20px, 5vw, 60px);
    top: -6vh;
  }
  #recruitment-hero-image-section .hero-overlay {
    padding-left: clamp(5%, 8vw, 10%) !important;
    justify-content: center !important;
    text-align: center !important;
    top: 6vh;
  }
}

@media (max-width: 575px) {
  #top-hero-image-section .hero-overlay {
    top: 0;
    align-items: flex-start;
    padding-top: 25px;
  }
  #company-hero-image-section .hero-overlay {
    top: 5vh;
  }
  #recruitment-hero-image-section .hero-overlay {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 402px) {
  #company-hero-image-section .hero-overlay {
    top: 3vh;
  }
}

@media(max-width:575px) {
  #company-hero-image-section .hero-overlay {
    /* センター中央配置のため位置指定なし */
  }
}
@media(min-width:576px) {
  #company-hero-image-section .hero-overlay {
    /* センター中央配置のため位置指定なし */
  }
}
@media(min-width:768px) {
}
@media(min-width:992px) {
}
@media(min-width:1200px) {
}
@media(min-width:1400px) {
} 

@media (max-width: 767px) {
  .hero-overlay {
    padding-left: 40px;
  }
}
@media (max-width: 575px) {
  .hero-overlay {
    padding-left: 20px;
  }
}

/* ---------------------------------------------------------------------
  ヒーローコンテンツ
--------------------------------------------------------------------- */

.hero-content {
  text-align: left;
  color: var(--wp--preset--color--white);
  max-width: 900px;
  padding: 0 20px;
  z-index: 3;
  margin-left: 0;
  margin-right: auto;
}




#top-hero-image-section .hero-content {
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#company-hero-image-section .hero-content {
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#facility-hero-image-section .hero-content {
  text-align: left;
  margin: 0;
  max-width: 100%;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#recruitment-hero-image-section .hero-content {
  text-align: left;
  color: var(--wp--preset--color--white);
  z-index: 3;
  padding: 0 20px;
  max-width: 800px;
}



/* レスポンシブ対応 - clamp()により動的に調整 */
@media (max-width: 767px) {
  #top-hero-image-section .hero-content {
    padding: 0 10px;
  }
  #company-hero-image-section .hero-content {
    padding: 0 clamp(15px, 4vw, 30px);
  }
  #facility-hero-image-section .hero-content {
    padding: 0;
  }
  #recruitment-hero-image-section .hero-content {
    /* text-align: center !important; */
    padding: 0 clamp(10px, 3vw, 20px) !important;
    max-width: 100% !important;
  }
}
@media (max-width: 767px) {
  .hero-content {
    padding: 0 15px;
  }
}

@media (min-width: 1920px) {
  .hero-content {
    max-width: 1000px;
  }
}


/* --------------------------------------------------------------------- */

.hero-logo {
  margin-bottom: 40px;
  text-align: left;
}
#top-hero-image-section .hero-logo {
  text-align: center;
  margin-bottom: 40px;
}


@media (max-width: 767px) {
  .hero-logo {
    margin-bottom: 30px;
  }
  #top-hero-image-section .hero-logo {
    margin-bottom: 20px;
  }
}
@media (max-width: 575px) {
  .hero-logo {
    margin-bottom: 25px;
  }
  #top-hero-image-section .hero-logo {
    margin-bottom: 20px;
  }
}
@media (max-width: 402px) {
  .hero-logo {
    margin-bottom: 25px;
  }
  #top-hero-image-section .hero-logo {
    margin-bottom: 5px;
  }
}


/* --------------------------------------------------------------------- */

.hero-logo-image {
  max-width: 300px;
  height: auto;
  filter: brightness(1.1);
}




#top-hero-image-section .hero-logo-image {
  max-width: 625px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  /* SVG基本設定 */
  object-fit: contain;
  /* 画像を白色に変換 + ドロップシャドウ */
  filter: brightness(0) invert(1) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  /* SVGの可視性を確保 */
  opacity: 1;
  visibility: visible;
  /* 必要に応じて背景を設定 */
  background: transparent;
}


/* レスポンシブ対応 */
@media (max-width: 1200px) {
  #top-hero-image-section .hero-logo-image {
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  #top-hero-image-section .hero-logo-image {
    max-width: 300px;
  }
}

@media (max-width: 575px) {
  #top-hero-image-section .hero-logo-image {
    max-width: 250px;
  }
}
@media (max-width: 402px) {
  #top-hero-image-section .hero-logo-image {
    max-width: 195px;
  }
}

@media (max-width: 1200px) {
  .hero-logo-image {
    max-width: 280px;
  }
}
@media (max-width: 767px) {
  .hero-logo-image {
    max-width: 220px;
  }
}
@media (max-width: 575px) {
  .hero-logo-image {
    max-width: 180px;
  }
}

/* --------------------------------------------------------------------- */
.hero-title {
  color: var(--wp--preset--color--white);
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 2;
  letter-spacing: 2px;
}

#top-hero-image-section .hero-title ,
#company-hero-image-section .hero-title ,
#facility-hero-image-section .hero-title ,
#recruitment-hero-image-section .hero-title {
  /* text-align: center; */
  /* font-size: 3.5rem; */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.7;
  letter-spacing: 2px;
}

#top-hero-image-section .hero-title {
  text-align: center;
  font-size: 3.5rem;
}

#company-hero-image-section .hero-title {
  text-align: center;
  font-size: clamp(1.7rem, 4.5vw, 3.5rem);
}
#facility-hero-image-section .hero-title {
  text-align: left;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
}
#recruitment-hero-image-section .hero-title {
  font-size: 3.5rem;
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
}
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }
}
@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }
  #company-hero-image-section .hero-title {
    font-size: 2rem;
  }
  #facility-hero-image-section .hero-title {
    font-size: 2rem;
  }
  #recruitment-hero-image-section .hero-title {
    font-size: 2rem;
  }
}

/* 縦画面対応 */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-title {
    font-size: 2.2rem;
  }
}
/* 高解像度ディスプレイ対応 */
@media (min-width: 1920px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 768px) {
  .hero-title br{
    display: none;
  }
}

@media (max-width: 1200px) {
  #top-hero-image-section .hero-title {
    font-size: 3rem;
  }
}

/* --------------------------------------------------------------------- */
.hero-subtitle {
  color: var(--wp--preset--color--white);
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  opacity: 0.95;
  margin: 0;
}

#top-hero-image-section .hero-subtitle {
  text-align: center;
  font-size: 3.5rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);

}

#recruitment-hero-image-section .hero-subtitle {
  font-size: 3.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

  letter-spacing: 2px;
}


@media (max-width: 1200px) {
  #top-hero-image-section .hero-subtitle {
    font-size: 3rem;
  }
}
@media (max-width: 1200px) {
  #recruitment-hero-image-section .hero-title,
  #recruitment-hero-image-section .hero-subtitle {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  #top-hero-image-section .hero-title {
    font-size: 1.5rem;
    letter-spacing: clamp(0.5px, 0.2vw, 2px);
  }
  
  #top-hero-image-section .hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
  }
  #recruitment-hero-image-section .hero-title,
  #recruitment-hero-image-section .hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: clamp(0.5px, 0.3vw, 1px);
    /* text-align: center !important; */
  }
}

@media (max-width: 575px) {
  #top-hero-image-section .hero-title {
    font-size: 1.6rem;
    letter-spacing: 0.5px;
  }
  #top-hero-image-section .hero-subtitle {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  #recruitment-hero-image-section .hero-title,
  #recruitment-hero-image-section .hero-subtitle {
    font-size: 1.6rem;
    letter-spacing: clamp(0.2px, 0.2vw, 0.5px) !important;
  }
  #company-hero-image-section .hero-title ,
  #company-hero-image-section .hero-subtitle {
    font-size: 1.6rem;
  }
  #facility-hero-image-section .hero-title ,
  #facility-hero-image-section .hero-subtitle {
    font-size: 1.6rem;
  }
  #recruitment-hero-image-section .hero-title ,
  #recruitment-hero-image-section .hero-subtitle {
    font-size: 1.6rem;
  }
}

@media (max-width: 402px) {
  #top-hero-image-section .hero-title {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }
  #top-hero-image-section .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  #company-hero-image-section .hero-title ,
  #company-hero-image-section .hero-subtitle {
    font-size: 1.3rem;
  }
  #facility-hero-image-section .hero-title ,
  #facility-hero-image-section .hero-subtitle {
    font-size: 1.3rem;
  }
  #recruitment-hero-image-section .hero-title ,
  #recruitment-hero-image-section .hero-subtitle {
    font-size: 1.3rem;
    letter-spacing: clamp(0.2px, 0.2vw, 0.5px) !important;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  #recruitment-hero-image-section .hero-title,
  #recruitment-hero-image-section .hero-subtitle {
    font-size: 2.2rem;
  }
}

@media (max-width: 1200px) {
  .hero-subtitle {
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}
@media (max-width: 575px) {
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }
}
@media (max-height: 600px) and (orientation: landscape) {
  .hero-subtitle {
    font-size: 1rem;
  }
}
@media (min-width: 1920px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}


/* --------------------------------------------------------------------- */


/* アニメーション効果 */
/* テキストのフェードインの部分 */
/* .hero-content {
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */


/* パララックス効果（オプション） */
/* .hero-main-image {
  transition: transform 0.1s ease-out;
} */

/* .hero-fullview:hover .hero-main-image {
  transform: scale(1.02);
} */











