/* ==========================================================================
   Recruit Top — 採用トップ リデザイン
   ========================================================================== */

/* -------------------------------------------------------------------
   ヒーロー（フルスクリーン）
   ------------------------------------------------------------------- */
.rt-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.rt-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/office-01.jpg') center/cover no-repeat;
  transform: scale(1.08);
  animation: rtHeroZoom 12s ease-out forwards;
}

@keyframes rtHeroZoom {
  to { transform: scale(1); }
}

.rt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,35,51,0.3) 0%, rgba(26,35,51,0.7) 100%);
}

.rt-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  opacity: 0;
  animation: rtFadeUp 1s ease-out 0.6s forwards;
}

.rt-hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 16px;
}

.rt-hero-content h1 span {
  display: block;
  font-size: 5.5rem;
  background: linear-gradient(135deg, #fff 0%, #d4d8e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rt-hero-sub {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.rt-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rt-scroll-hint::after {
  content: '';
  width: 1px;
  height: 36px;
  background: #fff;
  animation: rtScrollLine 2s ease-in-out infinite;
}

@keyframes rtScrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  30% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  70% { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

@keyframes rtFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------
   共通セクション
   ------------------------------------------------------------------- */
.rt-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.rt-section {
  padding: 100px 0;
  border-bottom: 1px solid #e9ecef;
}

.rt-section:last-child {
  border-bottom: none;
}

.rt-section-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: #adb5bd;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rt-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a2333;
  margin: 0 0 20px;
  line-height: 1.4;
}

.rt-section-desc {
  font-size: 1rem;
  line-height: 2.2;
  color: #6c757d;
  max-width: 760px;
  margin: 0 0 48px;
}

.rt-section.-center {
  text-align: center;
}

.rt-section.-center .rt-section-desc {
  margin: 0 auto 48px;
}

/* -------------------------------------------------------------------
   メッセージ
   ------------------------------------------------------------------- */
.rt-message {
  padding: 100px 0;
  text-align: center;
}

.rt-message-lead {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a2333;
  line-height: 1.8;
  margin: 0 0 24px;
}

.rt-message-body {
  font-size: 1rem;
  line-height: 2.2;
  color: #6c757d;
  max-width: 760px;
  margin: 0 auto;
}

/* -------------------------------------------------------------------
   数字セクション
   ------------------------------------------------------------------- */
.rt-numbers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: #1a2333;
  border-radius: 24px;
  overflow: hidden;
}

.rt-number-item {
  padding: 48px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}

.rt-number-item:last-child {
  border-right: none;
}

.rt-number-item:hover {
  background: rgba(255,255,255,0.04);
}

.rt-number-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.rt-number-val small {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.6;
}

.rt-number-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.rt-number-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
}

/* -------------------------------------------------------------------
   募集区分カード
   ------------------------------------------------------------------- */
.rt-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rt-category-card {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #1a2333;
  transition: transform 0.4s ease;
}

.rt-category-card:hover {
  transform: translateY(-8px);
}

.rt-category-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, opacity 0.4s ease;
  opacity: 0.7;
}

.rt-category-card:hover .rt-category-img {
  transform: scale(1.06);
  opacity: 0.5;
}

.rt-category-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  z-index: 2;
  background: linear-gradient(180deg, transparent 30%, rgba(26,35,51,0.85) 100%);
}

.rt-category-en {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rt-category-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.rt-category-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0 0 20px;
}

.rt-category-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.rt-category-arrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.rt-category-card:hover .rt-category-arrow::after {
  width: 48px;
}

/* -------------------------------------------------------------------
   環境・カルチャーリンク
   ------------------------------------------------------------------- */
.rt-env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rt-env-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rt-env-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.rt-env-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.rt-env-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2333;
  margin: 0 0 8px;
}

.rt-env-card p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #6c757d;
  margin: 0 0 16px;
}

.rt-env-more {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a2333;
  letter-spacing: 1px;
  border-bottom: 1px solid #1a2333;
  padding-bottom: 2px;
}

/* -------------------------------------------------------------------
   オフィスフォトスライダー
   ------------------------------------------------------------------- */
.rt-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}

.rt-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: grayscale(0.1);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.rt-photos img:hover {
  filter: grayscale(0);
  transform: scale(1.04);
}

/* -------------------------------------------------------------------
   ニュース / ブログ
   ------------------------------------------------------------------- */
.rt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rt-blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rt-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.rt-blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.rt-blog-card-body {
  padding: 20px 24px;
}

.rt-blog-card-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: #adb5bd;
  font-weight: 600;
  margin-bottom: 6px;
}

.rt-blog-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2333;
  line-height: 1.6;
  margin: 0;
}

.rt-blog-card-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 12px;
  background: #f0f2f5;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6c757d;
}

/* -------------------------------------------------------------------
   ENTRY CTA（アクセントバナー）
   ------------------------------------------------------------------- */
.rt-entry {
  margin: 0 -40px;
  padding: 80px 40px;
  background: #1a2333;
  text-align: center;
}

.rt-entry-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rt-entry-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.rt-entry-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 40px;
  line-height: 1.8;
}

.rt-entry-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rt-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #fff;
  color: #1a2333;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rt-entry-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.rt-entry-btn.-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.rt-entry-btn.-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* -------------------------------------------------------------------
   FAQ リンク
   ------------------------------------------------------------------- */
.rt-links-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rt-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 36px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 280px;
}

.rt-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.rt-link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rt-link-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2333;
  margin: 0 0 4px;
}

.rt-link-card p {
  font-size: 0.78rem;
  color: #6c757d;
  margin: 0;
}

.rt-link-arrow {
  margin-left: auto;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: #adb5bd;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .rt-hero-content h1 {
    font-size: 3rem;
  }

  .rt-hero-content h1 span {
    font-size: 3.8rem;
  }

  .rt-numbers {
    grid-template-columns: repeat(3, 1fr);
  }

  .rt-number-item:nth-child(3) {
    border-right: none;
  }

  .rt-number-item:nth-child(4) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .rt-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rt-category-card {
    aspect-ratio: 16 / 9;
  }

  .rt-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .rt-hero {
    height: 80vh;
    min-height: 480px;
  }

  .rt-hero-content h1 {
    font-size: 2.2rem;
  }

  .rt-hero-content h1 span {
    font-size: 2.8rem;
  }

  .rt-hero-sub {
    font-size: 0.9rem;
  }

  .rt-page {
    padding: 0 20px;
  }

  .rt-section {
    padding: 60px 0;
  }

  .rt-message {
    padding: 60px 0;
  }

  .rt-message-lead {
    font-size: 1.3rem;
  }

  .rt-section-title {
    font-size: 1.6rem;
  }

  .rt-numbers {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 16px;
  }

  .rt-number-item {
    padding: 32px 16px;
  }

  .rt-number-item:nth-child(even) {
    border-right: none;
  }

  .rt-number-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .rt-number-val {
    font-size: 2rem;
  }

  .rt-env-grid {
    grid-template-columns: 1fr;
  }

  .rt-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .rt-blog-grid {
    grid-template-columns: 1fr;
  }

  .rt-entry {
    margin: 0 -20px;
    padding: 60px 20px;
  }

  .rt-entry-title {
    font-size: 1.5rem;
  }

  .rt-entry-buttons {
    flex-direction: column;
    align-items: center;
  }

  .rt-entry-btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .rt-links-row {
    flex-direction: column;
  }

  .rt-link-card {
    min-width: 0;
    width: 100%;
  }

  .rt-positions-grid {
    grid-template-columns: 1fr !important;
  }

  .rt-positions-header {
    flex-direction: column;
    gap: 12px;
  }
}

/* -------------------------------------------------------------------
   中途採用 募集職種パネル
   ------------------------------------------------------------------- */
.rt-category-card.-clickable {
  cursor: pointer;
}

.rt-positions-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.rt-positions-panel.-open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 40px;
}

.rt-positions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.rt-positions-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a2333;
}

.rt-positions-title span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #868e96;
  margin-left: 12px;
  letter-spacing: 0.05em;
}

.rt-positions-detail {
  font-size: 0.85rem;
  color: #1a2333;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.rt-positions-detail:hover {
  opacity: 0.6;
}

.rt-positions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rt-position-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.rt-position-card:hover {
  box-shadow: 0 8px 32px rgba(26, 35, 51, 0.1);
  transform: translateY(-3px);
  border-color: #1a2333;
}

.rt-position-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1a2333;
  background: #f0f1f3;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.rt-position-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a2333;
  margin: 0 0 8px;
}

.rt-position-desc {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.rt-position-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.rt-position-meta span {
  font-size: 0.75rem;
  color: #868e96;
  background: #f8f9fb;
  padding: 3px 10px;
  border-radius: 4px;
}

.rt-position-apply {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a2333;
  transition: letter-spacing 0.3s;
}

.rt-position-card:hover .rt-position-apply {
  letter-spacing: 0.05em;
}
