/**
 * File Name: service-bpo-hero.css
 * 2026-07-06 | Final Check
 */

/* ==============================================================================
 * BPO HERO SECTION
 * ============================================================================== */
.p-bpo-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 568px;
  overflow: hidden;
  background-color: #ffffff;
}

.p-bpo-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-bpo-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-bpo-hero__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.p-hero-hdr__wrapper {
  position: relative;
  z-index: 10;
}

.p-bpo-hero__content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 100px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 3;
}

.p-bpo-hero__text-group {
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  width: calc(100% - 40px); /* 左右の余白を担保 */
  max-width: 800px;
  /* 💡 採用：半透明ホワイトベール + すりガラス効果 */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari対策 */
  border-radius: 12px;
  box-sizing: border-box;
}

.p-bpo-hero__title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 2.6rem; /* 💡 サイズアップ：2.2rem -> 2.6rem */
  color: #ffffff; /* 💡 採用：白文字 */
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); /* 💡 採用：微細な黒シャドウ */
}

.p-bpo-hero__message {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.1rem;
  color: #ffffff; /* 見出しに合わせてメッセージも白に変更し、視認性を統一 */
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* ==============================================================================
 * MEDIA QUERIES
 * ============================================================================== */

/* スマホ横向き（低画面高） */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .p-bpo-hero {
    height: auto;
    min-height: 320px;
  }
  .p-bpo-hero__content {
    padding: 80px 20px 30px;
  }
  .p-bpo-hero__text-group {
    padding: 15px 20px;
  }
  .p-bpo-hero__title {
    font-size: 2rem; /* 💡 サイズアップ：1.8rem -> 2.0rem */
  }
  .p-bpo-hero__message {
    font-size: 1rem;
  }
}

/* タブレット・標準PCサイズ */
@media screen and (min-width: 768px) and (min-height: 501px) {
  .p-bpo-hero {
    height: 60vh;
    min-height: 600px;
  }
  .p-bpo-hero__content {
    padding: 140px 40px 60px;
  }
  .p-bpo-hero__title {
    font-size: 4.2rem; /* 💡 サイズアップ：3.5rem -> 4.2rem */
  }
  .p-bpo-hero__message {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
  }
}

/* 大型デスクトップサイズ */
@media screen and (min-width: 1024px) and (min-height: 501px) {
  .p-bpo-hero {
    height: 50vh;
    min-height: 650px;
  }
}

/* デフォルト（PCサイズ：768px以上） */
#cmn-left-remote-nav {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: var(--z_150-footer);
  /* コンテンツの最前面に */
}

#cmn-left-remote-nav .remote-btn-wrapper {
  display: flex;
  flex-direction: row;
  gap: 8px;
  background: rgba(26, 37, 44, 0.95);
  /* 高級感のあるTBSダークグレー */
  padding: 6px;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

#cmn-left-remote-nav .remote-btn {
  all: unset;
  box-sizing: border-box;
  width: 146px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s ease;
}

#cmn-left-remote-nav .remote-btn-text {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* アクティブ（選択中）時のTBSグリーン点灯表現 */
#cmn-left-remote-nav .remote-btn.is-active {
  background: linear-gradient(135deg, #0ac5b4, #08ab9d);
  border-color: transparent;
}

#cmn-left-remote-nav .remote-btn.is-active .remote-btn-text {
  color: #ffffff;
}

/* ホバー効果 */
#cmn-left-remote-nav .remote-btn:not(.is-active):hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* スマホサイズ（767px以下）のレスポンス調整 */
@media screen and (max-width: 767px) {
  #cmn-left-remote-nav {
    bottom: 24px;
    left: 20px;
  }

  #cmn-left-remote-nav .remote-btn {
    width: 72px;
    /* スマホ用にギュッと縮小 */
    height: 36px;
    border-radius: 18px;
  }

  #cmn-left-remote-nav .remote-btn .remote-btn-text {
    font-size: 0;
    /* 元の長い文字列を非表示に */
  }

  #cmn-left-remote-nav
    .remote-btn[data-trigger="office-support"]
    .remote-btn-text::before {
    content: "事務一括";
    font-size: 0.8rem;
  }

  #cmn-left-remote-nav
    .remote-btn[data-trigger="process-support"]
    .remote-btn-text::before {
    content: "プロセス";
    font-size: 0.8rem;
  }
}
