@charset "UTF-8";
/* =============================================
   オフィスの紹介（採用 下層ページ）
   ・左：追従ローカルナビ ／ 右：オフィス写真＋キャプション
   ※レイアウト／ローカルナビは部門メッセージページと共通思想
============================================= */
.office-tour__layout {
  display: block;
}

/* =============================================
   追従ローカルナビ
============================================= */
.office-tour__nav {
  padding-top: 3.75rem;
}

.local-nav__sublist {
  margin-top: 0.4285714286rem;
  list-style: none;
}

.local-nav__subitem {
  display: flex;
}

.local-nav__link {
  padding: 5px 0;
  line-height: 1.25;
}

.local-nav__link--parent {
  font-weight: 700;
}

.local-nav__link--child .local-nav__text {
  position: relative;
  padding-left: 1.1428571429rem;
}

.local-nav__link--child .local-nav__text::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  color: inherit;
  content: "−";
}

/* =============================================
   オフィスグループ（東京本社 / 各地域オフィス）
============================================= */
.office-tour__body {
  padding-top: 3.4285714286rem;
}

.office-tour__group {
  scroll-margin-top: 6.25rem;
}

.office-tour__group:not(:first-child) {
  padding-top: 4rem;
}

.office-tour__group-ttl {
  font-family: "Figtree", sans-serif, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: #333;
}

.office-tour__group-label {
  position: relative;
  margin-top: 0.5rem;
  padding-left: 1.5625rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.625;
  color: #333;
}

.office-tour__group-mark {
  position: absolute;
  top: 0.6875rem;
  left: 0;
  width: 0.625rem;
  height: 0.1875rem;
  background-color: #D7000F;
}

/* =============================================
   オフィス写真ブロック（写真 ＋ キャプション）
============================================= */
.office-photo {
  scroll-margin-top: 6.25rem;
  padding-bottom: 2.2857142857rem;
  border-bottom: solid 1px #DADADA;
}

.office-tour__group-head + .office-photo {
  padding-top: 2.8571428571rem;
}

.office-photo + .office-photo {
  padding-top: 2.8571428571rem;
}

.office-photo__img {
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.office-photo__img img {
  display: block;
  width: 100%;
  height: auto;
}

.office-photo__caption {
  margin-top: 0.5714285714rem;
}

.office-photo__ttl {
  margin-bottom: 0.75rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #333;
}

.office-photo__text {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.001em;
  color: #333;
}

/* =============================================
   ブレイクポイント
============================================= */
@media screen and (min-width: 576px) {
  .local-nav__item,
  .local-nav__subitem {
    width: auto;
  }
  .local-nav__list {
    gap: 1.125rem;
    padding: 0 0 0.5rem;
  }
  .local-nav__sublist {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    margin-top: 1.125rem;
  }
  .local-nav__link {
    white-space: nowrap;
  }
  .office-tour__nav {
    position: sticky;
    top: 1.5rem;
    flex: 0 0 10rem;
  }
  .office-tour__layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
  }
}
@media screen and (min-width: 992px) {
  .office-tour__layout {
    gap: 2.5rem;
  }
  .office-tour__nav {
    top: 7.5rem;
    margin-left: 1.875rem;
    padding-top: 2.25rem;
  }
  .local-nav__list {
    gap: 0.875rem;
  }
  .local-nav__sublist {
    gap: 0.875rem;
    margin-top: 0.875rem;
  }
  .local-nav__link {
    line-height: 1;
  }
  .local-nav__link--child .local-nav__text {
    position: static;
    text-indent: -1rem;
    padding-left: 1rem;
  }
  .local-nav__link--child .local-nav__text::before {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin-right: 0.375rem;
  }
  .office-tour__body {
    flex: 0 1 60.375rem;
    min-width: 0;
    padding-top: 2.25rem;
  }
  .office-tour__group:not(:first-child) {
    padding-top: 6.25rem;
  }
  .office-tour__group-ttl {
    font-size: 2.375rem;
  }
  .office-photo {
    padding-bottom: 3.75rem;
  }
  .office-tour__group-head + .office-photo {
    padding-top: 3.75rem;
  }
  .office-photo + .office-photo {
    padding-top: 3.75rem;
  }
  .office-photo__caption {
    margin-top: 0.5rem;
  }
  .office-photo__ttl {
    font-size: 1.25rem;
  }
}
/* =============================================
   オフィスツアー スライダー（splide / .ot-slider）
============================================= */
.ot-slider {
  position: relative;
  --ot-pagination-area: 3rem;
}

/* =============================================
   前へ / 次へ ボタン
   ・splide-core には .splide__arrow のスタイルが無いため全て自前で定義
============================================= */
.ot-slider .splide__arrows {
  position: absolute;
  top: 40%;
  width: 100%;
  height: 2.5rem;
  pointer-events: none; /* ボタン以外は画像ドラッグを邪魔しない */
  z-index: 2;
}

.ot-slider .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2857142857rem;
  height: 2.2857142857rem;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.3s;
}

.ot-slider .splide__arrow svg {
  display: none;
}

.ot-slider .splide__arrow::before {
  content: "";
  width: 0.875rem;
  height: 0.6875rem;
  background-color: #ACACAC;
  -webkit-mask: url(../images/common/icon-arrow-only.svg) no-repeat center center/contain;
  mask: url(../images/common/icon-arrow-only.svg) no-repeat center center/contain;
  transition: background-color 0.3s;
}

.ot-slider .splide__arrow--prev {
  left: 0;
}

.ot-slider .splide__arrow--prev::before {
  transform: scaleX(-1); /* 矢印を左向きに反転 */
}

.ot-slider .splide__arrow--next {
  right: 0;
}

/* type:'loop' では基本 disabled にならないが、念のため */
.ot-slider .splide__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

/* =============================================
   ページネーション領域（横線 ＋ 現在地番号）
============================================= */
.ot-slider .splide__pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* 横線（各ページ）。splide-core の中央寄せ等を上書き */
.ot-slider .splide__pagination {
  position: static;
  flex: 1;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.ot-slider .splide__pagination li {
  line-height: 1;
}

.ot-slider .splide__pagination__page {
  display: block;
  width: 1.125rem;
  height: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background-color: #d2d2d2;
  opacity: 1;
  cursor: pointer;
  transition: width 0.3s, background-color 0.3s;
}

.ot-slider .splide__pagination__page.is-active {
  width: 1.125rem; /* アクティブな線は長く */
  background-color: #333;
}

/* 現在地番号（JS で "5 / 5" を出力） */
.ot-slider .splide__pagination-number {
  flex-shrink: 0;
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #333;
  white-space: nowrap;
}

/* =============================================
   ブレイクポイント（モバイルファースト / min）
============================================= */
@media screen and (min-width: 400px) {
  .ot-slider .splide__arrows {
    top: 42%;
  }
}
@media screen and (min-width: 576px) {
  .ot-slider .splide__arrows {
    top: 40%;
  }
  .ot-slider .splide__arrow--prev {
    left: -1.25rem;
  }
  .ot-slider .splide__arrow--next {
    right: -1.25rem;
  }
}
@media screen and (min-width: 768px) {
  .ot-slider .splide__arrows {
    top: 45%;
  }
  .ot-slider .splide__arrow {
    width: 2.75rem;
    height: 2.75rem;
  }
}
@media screen and (min-width: 992px) {
  .ot-slider {
    --ot-pagination-area: 3.25rem;
  }
  .ot-slider .splide__arrow {
    width: 2.5rem;
    height: 2.5rem;
  }
  .ot-slider .splide__pagination-wrap {
    margin-top: 1rem;
    margin-bottom: 1.1875rem;
  }
}
/* =============================================
   ホバー（サイト共通の textlink パターンに合わせて反転）
============================================= */
@media (any-hover: hover) and (pointer: fine) {
  .ot-slider .splide__arrow:hover:not(:disabled) {
    background-color: #333;
  }
  .ot-slider .splide__arrow:hover:not(:disabled)::before {
    background-color: #fff;
  }
}