/* ============================================================
   Recruit Page
============================================================ */

/* ----------------------------------------------------------
   Page Hero
---------------------------------------------------------- */
.rct-hero {
  margin-top: var(--header-height);
  background: var(--color-bg-gray);
  min-height: 288px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.rct-hero__inner {
  text-align: center;
}

.rct-hero__en {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 2.4px;
  line-height: 1;
  margin-bottom: 20px;
}

.rct-hero__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 3.6px;
  line-height: 1;
  margin-bottom: 20px;
}

.rct-hero__triangles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-primary);
  font-size: 12px;
}

/* ----------------------------------------------------------
   Section Common
---------------------------------------------------------- */
.rct-section {
  padding: 80px 0;
}

/* Section label (MESSAGE / RECRUITMENR / ENTRY) */
.rct-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.rct-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.rct-label-icon {
  width: 8px;
  height: 6px;
  transform: rotate(90deg);
  display: block;
  flex-shrink: 0;
}

.rct-label {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.8px;
}

.rct-section-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 4.8px;
  line-height: 1;
}

/* ----------------------------------------------------------
   Intro: badge → arrow → quote
---------------------------------------------------------- */
.rct-intro-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.rct-intro-wrap--req {
  margin-bottom: 40px;
}

.rct-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-gray);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}

.rct-badge-arrow {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.rct-badge-arrow__img {
  height: 14px;
  width: auto;
  transform: rotate(180deg);
  display: block;
}

.rct-quote {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
  color: var(--color-primary);
}

.rct-quote__bracket {
  display: block;
  flex-shrink: 0;
  width: 21px;
  height: 31px;
}

.rct-quote__bracket--left {
  align-self: flex-end;
  transform: rotate(180deg);
}

.rct-quote__bracket--right {
  align-self: flex-start;
}

.rct-quote__text {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
  white-space: nowrap;
  padding: 13px 16px;
}

/* ----------------------------------------------------------
   Content block (body text, sub-headings)
---------------------------------------------------------- */
.rct-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0;
}

.rct-content--voice {
  margin-top: 56px;
}

.rct-sub-head {
  margin-bottom: 32px;
}

.rct-sub-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 3.6px;
  line-height: 1;
  white-space: nowrap;
}

.rct-divider {
  height: 1px;
  background: #ccc;
  margin-top: 10px;
}

.rct-body {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 36px;
}

.rct-body p + p {
  margin-top: 0;
}

/* ----------------------------------------------------------
   Ideal person box
---------------------------------------------------------- */
.rct-ideal-box {
  max-width: 800px;
  margin: 48px auto 0;
  background: var(--color-bg-gray);
  border-radius: 8px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rct-ideal-box__heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  line-height: 1;
}

.rct-ideal-box__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rct-ideal-box__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
}

.rct-ideal-box__bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  display: block;
}

/* ----------------------------------------------------------
   Person icons
---------------------------------------------------------- */
.rct-persons {
  max-width: 800px;
  margin: 24px auto 32px;
  display: flex;
  justify-content: center;
  gap: 120px;
}

.rct-person {
  text-align: center;
  cursor: pointer;
}

.rct-person__figure {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.rct-person__img {
  width: 80px;
  height: auto;
  display: block;
}

.rct-person__name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 4.8px;
  line-height: 1;
  white-space: nowrap;
}

.rct-person__san {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  margin-top: 6px;
}

.rct-person__category {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
  line-height: 1;
  margin-top: 6px;
}

/* Active person: green silhouette + green text */
.rct-person--active {
  --fill-0: #CCE5D7;
}
.rct-person--active .rct-person__name,
.rct-person--active .rct-person__san,
.rct-person--active .rct-person__category {
  color: var(--color-primary);
}

/* Inactive person: gray silhouette + gray text */
.rct-person--inactive {
  --fill-0: #DDDDDD;
}
.rct-person--inactive .rct-person__name,
.rct-person--inactive .rct-person__san,
.rct-person--inactive .rct-person__category {
  color: #444;
}

/* ----------------------------------------------------------
   Q&A cards
---------------------------------------------------------- */
[hidden] { display: none !important; }

.rct-qa-list {
  max-width: 772px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rct-qa-card {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rct-qa-card__q {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.rct-qa-card__a {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
}

.rct-qa-card__a p + p {
  margin-top: 0;
}

/* ----------------------------------------------------------
   Requirements: tabs + table
---------------------------------------------------------- */
.rct-requirements .rct-content {
  margin-bottom: 56px;
}

.rct-tabs-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.rct-tabs {
  display: flex;
}

.rct-tab {
  flex: 1;
  padding: 16px 10px;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 1;
  border-radius: 8px 8px 0 0;
  font-family: var(--font-family);
  transition: background 0.2s;
  background: #ed6a02;
  color: #fff;
}

.rct-tab.is-active {
  background: var(--color-primary);
  color: #fff;
}

.rct-table-wrap {
  background: var(--color-bg-gray);
  border-top: 4px solid var(--color-primary);
  border-radius: 0 0 8px 8px;
  padding: 64px 100px;
}


.rct-table {
  width: 100%;
  border-collapse: collapse;
}

.rct-table__row {
  border-bottom: 1px solid #ccc;
}

.rct-table__th {
  width: 124px;
  padding: 20px 10px 20px 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.rct-table__td {
  padding: 20px 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
  vertical-align: top;
}

/* 就業時間の注記：2行目の「（」を1行目の「（」の真下に揃える */
.rct-table__note {
  display: inline-block;
  vertical-align: top;
}

/* ----------------------------------------------------------
   Entry section
---------------------------------------------------------- */
.rct-entry__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.rct-entry__left {
  width: 289px;
  flex-shrink: 0;
  padding-top: 4px;
}

.rct-entry__heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 4.8px;
  line-height: 1.5;
  margin-top: 12px;
}

.rct-entry__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rct-entry__text {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
}

.rct-entry__link {
  color: #2172e3;
  text-decoration: underline;
}

.rct-entry__btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--color-primary);
  color: #fff;
  height: 48px;
  padding: 0 16px 0 24px;
  border-radius: 4px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s;
}

.rct-entry__btn:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.rct-entry__btn-icon {
  height: 15px;
  width: auto;
  display: block;
}

.rct-entry__address {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-bg-gray);
  border-radius: 8px;
  padding: 16px 10px 16px 24px;
}

.rct-entry__address-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  line-height: 1;
}

.rct-entry__address-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
}

.rct-entry__note {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
}

/* ============================================================
   Tablet Portrait (769–1024px)
============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .rct-hero__en {
    font-size: 40px;
  }

  .rct-section-head {
    padding: 0 32px;
  }

  .rct-intro-wrap {
    padding: 0 32px;
  }

  .rct-content {
    padding: 0 32px;
  }

  .rct-ideal-box {
    margin-left: 32px;
    margin-right: 32px;
  }

  .rct-persons {
    padding: 0 32px;
  }

  .rct-qa-list {
    padding: 0 32px;
  }

  .rct-tabs-wrap {
    max-width: 720px;
    padding: 0 32px;
  }

  .rct-table-wrap {
    padding: 40px 48px;
  }

  .rct-entry__inner {
    padding: 0 32px;
  }
}

/* ============================================================
   SP (768px以下)
============================================================ */
@media (max-width: 768px) {
  /* Page Hero */
  .rct-hero {
    padding: 52px 0 48px;
    min-height: auto;
  }

  .rct-hero__en {
    font-size: 40px;
  }

  .rct-hero__title {
    font-size: 16px;
  }

  /* Section */
  .rct-section {
    padding: 48px 0;
  }

  .rct-section-head {
    margin-bottom: 32px;
  }

  .rct-section-heading {
    font-size: 24px;
  }

  .rct-label {
    font-size: 13px;
  }

  /* Content */
  .rct-sub-heading {
    font-size: 20px;
    white-space: normal;
  }

  .rct-body {
    font-size: 15px;
    line-height: 1.8;
  }

  /* Green bracket text */
  .rct-quote__text {
    font-size: 16px;
    white-space: normal;
  }

  /* Ideal box */
  .rct-ideal-box__item {
    font-size: 15px;
  }

  /* Persons */
  .rct-persons {
    gap: 40px;
  }

  /* Tabs & Table */
  .rct-tab {
    font-size: 18px;
    padding: 12px 8px;
  }

  .rct-table-wrap {
    padding: 32px 20px;
  }

  .rct-table__th,
  .rct-table__td {
    font-size: 15px;
  }

  /* Q&A */
  .rct-qa-card__q,
  .rct-qa-card__a {
    font-size: 15px;
  }

  /* Entry */
  .rct-entry__inner {
    flex-direction: column;
  }

  .rct-entry__left {
    width: 100%;
  }

  .rct-entry__heading {
    font-size: 24px;
  }

  .rct-entry__text,
  .rct-entry__note {
    font-size: 15px;
  }

  .rct-entry__address-label,
  .rct-entry__address-text {
    font-size: 15px;
  }

  /* SP horizontal padding — 会社紹介ページの__innerと同等の20px */
  .rct-section-head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .rct-intro-wrap {
    padding: 0 20px;
  }

  .rct-content {
    padding: 0 20px;
  }

  .rct-ideal-box {
    margin-left: 20px;
    margin-right: 20px;
    padding: 24px 16px;
  }

  .rct-persons {
    padding: 0 20px;
  }

  .rct-qa-list {
    padding: 0 20px;
  }

  .rct-tabs-wrap {
    padding: 0 20px;
  }

  .rct-entry__inner {
    padding: 0 20px;
  }
}
