/* ==========================================================
   スタッフ紹介ページ (page-staff.php)
   ※ .btn-white / .btn-white-arrow / .text-orange は
     front-page.php側で既に定義済みなら重複させないこと
   ========================================================== */

.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px 0;
  font-size: 13.5px;
  color: #9a938b;
}

/* ---------- HERO ---------- */
.staff-hero {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 28px 40px;
}

.staff-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
  align-items: center;
}

.staff-hero-dot {
  position: absolute;
  border-radius: 50%;
}
.staff-hero-dot-1 { left: 340px; top: 20px; width: 14px; height: 14px; background: #F5A623; }
.staff-hero-dot-2 { left: 372px; top: -4px; width: 9px; height: 9px; background: #F26522; }

.staff-hero-dots-bg {
  position: absolute;
  left: 10px;
  bottom: 20px;
  width: 120px;
  height: 120px;
  opacity: 0.5;
  background: radial-gradient(circle 3px at 3px 3px, #F5A623 2px, transparent 3px);
  background-size: 20px 20px;
}

.staff-hero-text { position: relative; z-index: 2; }

.staff-hero-title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.staff-hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.text-orange { color: #F26522; }

.staff-hero-title-en {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  color: #F26522;
  transform: rotate(-6deg);
  display: inline-block;
}

.staff-hero-desc {
  margin-top: 24px;
  font-size: 16px;
  line-height: 2.1;
  color: #4a453f;
  font-weight: 500;
}

.staff-hero-squiggle {
  width: 170px;
  margin-top: 26px;
  transform: rotate(-7deg);
}

.staff-hero-photo-wrap { position: relative; }

.staff-hero-photo {
  width: 100%;
  aspect-ratio: 1 / 0.68;
  overflow: hidden;
  border-radius: 46% 54% 58% 42% / 56% 46% 54% 44%;
  box-shadow: 0 20px 50px rgba(120, 90, 60, 0.18);
}
.staff-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.staff-hero-sparkle { position: absolute; top: -16px; left: 20px; width: 30px; height: auto; }

.staff-hero-mascot {
  position: absolute;
  right: 0;
  bottom: -30px;
  width: 130px;
  height: auto;
  animation: floaty 4s ease-in-out infinite;
  z-index: 3;
}

.staff-hero-loop {
  position: absolute;
  left: -40px;
  bottom: -30px;
  width: 150px;
  height: auto;
  opacity: 0.9;
  z-index: 2;
  transform: scaleX(-1);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 事業部セクション共通 ---------- */
.staff-division--reform {
  position: relative;
  background: #FCF5EE;
  padding: 66px 0;
  margin-top: 20px;
  border-radius: 60px 60px 0 0;
}

.staff-division--it {
  position: relative;
  background: #fff;
  padding: 70px 0;
}

.staff-division-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.staff-division-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.staff-division-icon { width: 44px; height: 44px; object-fit: contain; }

.staff-division-title { font-size: 26px; font-weight: 900; }

.staff-division-label {
  font-family: 'Poppins', sans-serif;
  color: #F26522;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  margin-top: 4px;
}
.staff-division-label--teal { color: #17A2A2; }

/* ---------- スタッフカード(グリッド/5人) ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.staff-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(120, 90, 60, 0.09);
}

.staff-card-photo {
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.staff-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.staff-card-body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.staff-card-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #2E2A26;
  margin-bottom: 6px;
}

.staff-card-role {
  display: inline-flex;
  align-self: flex-start;
  background: #FBEFE4;
  color: #c66a2e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.staff-card-role--teal { background: #E5F5F4; color: #128f8a; }

.staff-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: #4a453f;
  line-height: 1.6;
}

.staff-card-meta-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.staff-card-meta-icon { flex: 0 0 14px; }
.staff-card-meta-icon-img {
  width: 13px;
  height: 13px;
  object-fit: contain;
  margin-top: 2px;
  flex: 0 0 13px;
}

/* ---------- ITソリューション事業部(単独カード) ---------- */
.staff-card--single {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  background: #FCF5EE;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(120, 90, 60, 0.07);
}

.staff-card-photo--single {
  flex: 0 0 160px;
  width: 160px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: #dbe9f5;
}

/* ---------- ポッドキャスト ---------- */
.podcast-section {
  position: relative;
  background: #FCF5EE;
  padding: 70px 0;
  border-radius: 0 0 60px 60px;
}

.podcast-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.podcast-title { font-size: 26px; font-weight: 900; }

.podcast-label {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  color: #F26522;
  font-weight: 600;
  font-size: 16px;
  margin-top: 6px;
}

.podcast-desc {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #4a453f;
  font-weight: 500;
}

.podcast-btn {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #e7ddd0;
  border-radius: 40px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 14px;
  color: #2E2A26;
}

.podcast-video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  background: #111;
  box-shadow: 0 10px 26px rgba(120, 90, 60, 0.15);
}

.podcast-video-img { width: 100%; height: 100%; object-fit: cover; }

.podcast-video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.podcast-video-badge img { height: 16px; width: auto; object-fit: contain; }

.podcast-video-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  pointer-events: none;
}

/* ---------- CTA帯(スタッフページ用) ---------- */
.staff-cta {
  position: relative;
  background: #F26522;
  padding: 52px 0;
  overflow: hidden;
}

.staff-cta-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.staff-cta-text { color: #fff; flex: 1; min-width: 260px; }

.staff-cta-label {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  opacity: 0.9;
}

.staff-cta-title { font-size: 30px; font-weight: 900; margin-top: 6px; }

.staff-cta-desc { margin-top: 10px; font-size: 15.5px; font-weight: 500; opacity: 0.95; }

.staff-cta-mascot { width: 130px; height: auto; margin-bottom: -42px; }

.staff-cta-sparkle {
  position: absolute;
  top: 20px;
  left: 4%;
  width: 26px;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

/* ---------- 追加装飾(グロー・ドットリング) ---------- */

/* ヒーロー写真の背後のオレンジグロー */
.staff-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.staff-hero-photo,
.staff-hero-sparkle,
.staff-hero-mascot,
.staff-hero-loop {
  position: relative;
  z-index: 1;
}

/* リフォーム事業部見出しのグリーンリング */
.staff-division-head { position: relative; }
.staff-division-ring {
  position: absolute;
  left: -14px;
  top: -14px;
  width: 72px;
  height: 72px;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}
.staff-division-ring img { width: 100%; height: 100%; object-fit: contain; }
.staff-division-icon { position: relative; z-index: 1; }

/* ITソリューション事業部カード背後のティールリング */
.staff-card--single { position: relative; overflow: visible; }
.staff-it-ring {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

/* ポッドキャストセクションの背景ドット柄 */
.podcast-section { overflow: hidden; }
.podcast-dots-bg {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.podcast-inner { position: relative; z-index: 1; }

/* ヒーロータイトル横の黄色い星 */
.staff-hero-title-row { position: relative; }
.staff-hero-star {
  width: 22px;
  height: 22px;
  align-self: flex-start;
  margin-top: 6px;
  transform: rotate(-10deg);
}

/* マスコット付近のティールスパーク */
.staff-hero-spark {
  position: absolute;
  right: 100px;
  bottom: 10px;
  width: 34px;
  height: auto;
  z-index: 2;
  transform: rotate(12deg);
}

/* ITソリューション事業部アイコン背後のバースト */
.staff-division-burst {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 78px;
  height: 78px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* ポッドキャスト動画の背後のグロー */
.podcast-video-ring {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}
.podcast-video-img,
.podcast-video-badge,
.podcast-video-bar { position: relative; z-index: 1; }

/* CTA帯マスコット周りのアウトラインブロブ */
.staff-cta-mascot-wrap { position: relative; }
.staff-cta-blob {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 200px;
  transform: translateX(-50%);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.staff-cta-mascot { position: relative; z-index: 1; }

/* ---------- レスポンシブ(スマホ対応) ---------- */
@media (max-width: 900px) {
  .staff-hero-inner { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .podcast-inner { grid-template-columns: 1fr; }
  .staff-card--single { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .staff-grid { grid-template-columns: 1fr; }
}