/* ============================================================
   recruit-interview.css — 採用サブページ: 社員インタビュー
   recruit.css + recruit-vision.css と併用
   プレフィックス: ri-
   ============================================================ */

/* ============================
   ページヒーロー（背景上書き）
============================ */
.ri-hero {
  /* background: ACF動的CSSで設定 */
}
.rc-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
}

.rc-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #999;
}

.rc-breadcrumb ol li:not(:last-child)::after {
  content: '>';
  margin-left: 4px;
  color: #ccc;
}

.rc-breadcrumb ol li a {
  color: #666;
  text-decoration: none;
}

.rc-breadcrumb ol li a:hover {
  text-decoration: underline;
}

/* ============================
   Interview Cards — トップ2枚横並び
============================ */
.ri-cards-section {
  padding: 80px 0;
  background: #fff;
}

.ri-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.ri-card {
  display: flex;
  flex-direction: column;
  width: 48%;
  max-width: 480px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ri-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.ri-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #dce5ed;
}

.ri-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ri-card-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}

.ri-card-num {
  position: absolute;
  top: 40px;
  left: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 200;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.ri-card-info {
  position: relative;
  padding: 20px 24px 24px;
  background: #0095B533;
}

.ri-card-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--rc-navy);
  line-height: 1.7;
  margin-bottom: 8px;
}

.ri-card-circle {
  position: absolute;
  top: 36px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--rc-navy);
  border-radius: 50%;
}

.ri-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.ri-card-meta {
  font-size: 13px;
  color: #555;
  letter-spacing: 0.5px;
}

  .ri-card-arrow {                                                                                                      
    position: absolute;                                                                                                 
    top: 36px;                                                                                                          
    right: 20px;  
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;                                                                                                    
    color: #fff;
    line-height: 1;                                                                                                     
    padding-bottom: 3px;
  }


/* ============================
   Interview Detail — 詳細セクション
============================ */
.ri-detail {
  padding: 80px 0 100px;
  background: #fff;
}

.ri-detail--alt {
  background: #fff;
}

/* ---- ヘッダー ---- */
.ri-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 60px;
  margin-right: calc(-40px - ((100vw - 1200px) / 2));
}

@media (max-width: 1200px) {
  .ri-detail-header {
    margin-right: -40px;
  }
}

.ri-detail-header-text {
  flex: 1;
  min-width: 0;
}

.ri-detail-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 200;
  color: var(--rc-orange);
  line-height: 1;
  margin-bottom: 20px;
}

.ri-detail-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--rc-navy);
  line-height: 1.6;
  margin-bottom: 28px;
}

.ri-detail-dept {
  font-size: 15px;
  font-weight: 700;
  color: var(--rc-orange);
  margin-bottom: 8px;
}

.ri-detail-year {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

.ri-detail-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--rc-navy);
}

/* ---- プロフィール写真 ---- */
.ri-detail-header-photo {
  flex-shrink: 0;
  width: 60%;
}

.ri-detail-header-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px 0 0 16px;
  object-fit: cover;
}


/* ============================
   Q&A ブロック
============================ */
.ri-qa {
  margin-bottom: 48px;
}

.ri-qa-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--rc-navy);
  margin-bottom: 24px;
  line-height: 1.4;
}

.ri-qa-text {
  font-size: 15px;
  color: #555;
  line-height: 2;
}

/* ---- 2カラム ---- */
.ri-qa-two-col {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-top: 100px;
  margin-bottom: 48px;
}

.ri-qa-two-col--reverse {
  flex-direction: row-reverse;
  margin-top: 100px;
}

.ri-qa-two-col-img {
  flex-shrink: 0;
  width: 45%;
  border-radius: 12px;
  overflow: hidden;
}

.ri-qa-two-col-img img {
  width: 100%;
  height: auto;
  display: block;
}

.ri-qa-two-col-text {
  flex: 1;
  min-width: 0;
  max-width: 480px;
}


/* ============================
   1日のスケジュール（水平タイムライン）
============================ */
.ri-schedule {
  padding: 40px 0 60px;
  background: #0095B51A;
  margin-top: 0;
}

.ri-schedule-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--rc-navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* タイムライン横スクロール */
.ri-schedule-line {
  overflow-x: auto;
  padding: 8px 40px 0;
  -webkit-overflow-scrolling: touch;
}

.ri-schedule-items {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding-top: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 横線 — アイテム間をつなぐ */
.ri-schedule-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 200%;
  height: 1.5px;
  background: var(--rc-orange);
  z-index: 0;
}

.ri-schedule-item {
  position: relative;
  flex: 1;
  max-width: 120px;
}

.ri-schedule-item:last-child {
  padding-right: 0;
  flex: 0 0 auto;
  overflow: hidden;
}

.ri-schedule-item:nth-last-child(2)::after {
  width: 130%;
}


.ri-schedule-item--short {
  flex: 1;
}

.ri-schedule-time {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--rc-orange);
  border: 2px solid var(--rc-orange);
  border-radius: 20px;
  padding: 4px 16px;
  background: #fff;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.ri-schedule-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--rc-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.ri-schedule-desc {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  max-width: 90px;
}

/* 写真ギャラリー */
.ri-schedule-photos {
  display: flex;
  gap: 20px;
  margin-top: 48px;
}

.ri-schedule-photo {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #dce5ed;
  aspect-ratio: 4 / 3;
}

.ri-schedule-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================================
   タブレット（≤1024px）
   ============================================================ */
@media (max-width: 1024px) {

  .ri-cards {
    gap: 20px;
  }

  .ri-card-num {
    font-size: 44px;
    top: 30px;
  }

  .ri-card-label {
    font-size: 12px;
  }

  .ri-card-copy {
    font-size: 16px;
  }

  .ri-detail-header {
    gap: 32px;
  }

  .ri-detail-num {
    font-size: 56px;
  }

  .ri-detail-copy {
    font-size: 22px;
  }

  .ri-detail-header-photo {
    width: 55%;
  }

  /* Q&A */
  .ri-qa-two-col {
    gap: 40px;
  }

  .ri-qa-two-col-img {
    width: 320px;
  }

  .ri-qa-two-col-text {
    max-width: 100%;
  }

  .ri-qa-title {
    font-size: 22px;
  }

  /* スケジュール */
  .ri-schedule-title {
    font-size: 24px;
  }

  .ri-schedule-line {
    overflow-x: hidden;
  }

  .ri-schedule-items {
    min-width: 0;
  }

  .ri-schedule-desc {
    max-width: 70px;
  }
}


/* ============================================================
   モバイル（≤640px）
   ============================================================ */
@media (max-width: 640px) {

  /* カード：縦並び */
  .ri-cards-section {
    padding: 48px 0;
  }

  .ri-cards {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .ri-card {
    width: 100%;
    max-width: 400px;
  }

  .ri-card-num {
    font-size: 40px;
    top: 30px;
  }

  .ri-card-label {
    font-size: 12px;
    top: 16px;
    left: 16px;
  }

  .ri-card-copy {
    font-size: 16px;
  }

  .ri-card-info {
    padding: 16px 20px 14px;
  }

  /* 詳細セクション */
  .ri-detail {
    padding: 48px 0 60px;
  }

  .ri-detail-header {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    margin-right: 0;
  }

  .ri-detail-header-text {
    order: 2;
  }

  .ri-detail-header-photo {
    order: 1;
    width: 100%;
  }

  .ri-detail-header-photo img {
    border-radius: 12px;
  }

  .ri-detail-num {
    font-size: 48px;
  }

  .ri-detail-copy {
    font-size: 20px;
  }

  .ri-detail-name {
    font-size: 16px;
  }

  /* Q&A */
  .ri-qa-title {
    font-size: 19px;
  }

  .ri-qa-text {
    font-size: 14px;
    line-height: 1.9;
  }

  /* 2カラム → 縦積み */
  .ri-qa-two-col,
  .ri-qa-two-col--reverse {
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
  }

  .ri-qa-two-col-img {
    width: 100%;
  }

  .ri-qa-two-col-text {
    max-width: 100%;
  }

  /* スケジュール — 縦並び */
  .ri-schedule {
    padding: 32px 0 40px;
  }

  .ri-schedule-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .ri-schedule-line {
    overflow-x: visible;
    padding: 0 16px;
  }

  .ri-schedule-items {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0;
    padding-left: 24px;
    min-width: 0;
    gap: 0;
  }

  .ri-schedule-item {
    max-width: 100%;
    padding: 0 0 24px 24px;
    border-left: 2px solid var(--rc-orange);
  }

  .ri-schedule-item:last-child {
    border-left-color: transparent;
    flex: unset;
    overflow: visible;
    padding-bottom: 0;
  }

  /* 横線の擬似要素を非表示 */
  .ri-schedule-item:not(:last-child)::after,
  .ri-schedule-item:nth-last-child(2)::after {
    display: none;
  }

  .ri-schedule-time {
    margin-bottom: 8px;
    margin-left: -38px;
    font-size: 13px;
    padding: 3px 12px;
  }

  .ri-schedule-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .ri-schedule-desc {
    font-size: 12px;
    max-width: 100%;
  }

  .ri-schedule-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
