/* KV コンテナ（全下層ページ共通）*/
.page-kv {
  position: relative;
  height: 490px;
  overflow: hidden;
  background-color: #fff;
}
.kv-container {
  /* max-width: 914px; */
  width: 65%;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;

  height: 490px;
}
.outside-right {
  margin-right: calc(50% - 50vw / var(--z));
}

/* ==========================================
   page.css
   下層ページ共通スタイル
   ========================================== */

/* ─────────────────────────────────────────
   KV タイトルエリア（全下層ページ共通）
───────────────────────────────────────── */

.page-kv__text {
  position: absolute;
left: -38px;
  bottom: 0;
  padding: 100px 86px 84px 0;
  background-color: #fff;
}

.page-kv__title-box {
  display: inline-block;
}

.page-kv__jp-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 40px;
  color: #1d2e45;
  letter-spacing: 2px;
  line-height: 1.6;
  margin: 0;
}

.page-kv__en-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 15px;
  color: #1d2e45;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  line-height: normal;
}

/* ─────────────────────────────────────────
   KV 画像エリア（全下層ページ共通）
───────────────────────────────────────── */

.page-kv__image {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}

.page-kv__image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-kv__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ─────────────────────────────────────────
   パンくずリスト（全下層ページ共通）
───────────────────────────────────────── */

.page-kv__breadcrumb {
  width: 1160px;
  max-width: 100%;
  margin: 20px auto 0;
  box-sizing: border-box;
}

/* PC幅が1160px未満のときは左右に余白を確保（1200px以上は従来どおり） */
@media (min-width: 561px) and (max-width: 1199px) {
  .page-kv__breadcrumb {
    padding: 0 20px;
  }
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px; /* Figma：文字と「／」の間 8px */
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
}

.page-breadcrumb__item {
  display: flex;
  align-items: center;
}

.page-breadcrumb__link {
  font-family: "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s;
  color: #7a8192;
  font-style: normal;
  line-height: 23px; /* 191.667% */
  text-transform: capitalize;
}

.page-breadcrumb__link:hover {
  opacity: 0.7;
}

.page-breadcrumb__item--current {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;

  color: #1d2e45;
  font-family: "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 23px; /* 191.667% */
  text-transform: capitalize;
}

.page-breadcrumb__sep {
  display: block;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   KV カテゴリラベル（事業内容ページ共通）
───────────────────────────────────────── */
.page-kv__category {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #1d2e45;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  line-height: 1;
}

/* ------------------------------------------------------------
   レスポンシブ（スマートフォン 〜560px）
   Figma: SP_14_プライバシーポリシー ほか下層ページ共通KV
   ------------------------------------------------------------ */
@media (max-width: 560px) {
  .page-kv {
    height: auto;
    background-color: #ffffff;
  }

  .kv-container {
    width: 100%;
    height: auto;
    display: block;
  }

  .page-kv__image {
    position: static;
    width: 100%;
    height: 295px;
  }

  .page-kv__image.outside-right {
    margin-right: 0;
  }

  .page-kv__text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90%;
    max-width: 337px;
    margin: 0;
    padding: 15px 22px 22px;
    box-sizing: border-box;
    padding-bottom: 0;
    width: auto;
  }

  .page-kv__jp-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1.4px;
    line-height: 1.6;
    white-space: nowrap;
  }

  .page-kv__en-title {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .page-kv__title-break {
    display: none;
  }

  .page-kv__breadcrumb {
    width: 100%;
    max-width: 100%;
    margin: 15px auto 0;
    padding: 0 22px;
    box-sizing: border-box;
  }

  .page-breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .page-breadcrumb__link,
  .page-breadcrumb__item--current {
    white-space: nowrap;
  }
}

/* 事業内容の子ページ：「事業内容」（小見出し）を大見出しの上に表示 */
.page-kv__text--sub .page-kv__en-title {
  margin: 0 0 12px;
}

@media (max-width: 560px) {
  .page-kv__text--sub .page-kv__en-title {
    margin: 0;
    font-family: "Shippori Mincho", serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.9px;
  }
}
