.sv-page {
  background: #fff;
  color: #333;
  line-height: 1.8;
}

.sv-page *, .sv-page *::before, .sv-page *::after {
  box-sizing: border-box;
}

.sv-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.sv-breadcrumb {
  background: #f5f5f5;
  padding: 12px 0;
  font-size: 0.78rem;
  color: #777;
}

.sv-breadcrumb .sv-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.sv-breadcrumb a {
  color: #555;
  text-decoration: none;
}

.sv-breadcrumb a:hover {
  text-decoration: underline;
}

/******「先輩社員の声」ページの上部に表示している写真サイズ（PC）*****************/
.sv-hero {
  position: relative;
  width: 70%;
  margin: 0 auto;
  aspect-ratio: 16/9;
  height: auto;
  overflow: hidden;
  background: #1a1a2e;
}

.sv-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.sv-hero-overlay {
  position: absolute;
  inset: 0;
}

/* PC用テキスト配置 */
.sv-hero-text {
  position: absolute;
  left: 4.5vw;
  bottom: 4.5vw;
  max-width: 54vw;
  color: #fff;
  z-index: 2;
}

.sv-hero-text .sv-label {
  display: inline-block;
  font-size: clamp(0.6rem, 1vw, 0.78rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fc7ff;
  margin-bottom: 1.3vw;
  font-weight: 700;
}

.sv-hero-text h1 {
  font-size: clamp(1rem, 2.6vw, 2rem);
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 1.7vw;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
  color: #fff;
}

.sv-profile-line {
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  border-top: 1px solid rgba(255,255,255,0.35);
  padding-top: 1.1vw;
  color: #fff;
}

.sv-profile-line strong {
  font-size: clamp(0.8rem, 1.3vw, 1.1rem);
  margin-right: 10px;
}

.sv-profile-card-wrap {
  background: #f0f4fb;
  padding: 48px 0;
}

.sv-profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.sv-avatar {
  width: 148px;
  height: 148px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  flex-shrink: 0;
  border: 5px solid #e6eefb;
}

.sv-info h2 {
  font-size: 1.35rem;
  color: #0a1a3e;
  margin-bottom: 10px;
  font-weight: 700;
}

.sv-info .sv-dept {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 14px;
}

.sv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sv-tags span {
  display: inline-block;
  background: #e8f0fc;
  color: #0055bb;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid #ccd9f0;
}

.sv-catch {
  margin: 16px 0 0;
  font-size: 0.93rem;
  color: #444;
  line-height: 1.75;
  border-left: 4px solid #0066cc;
  background: #f6f9ff;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  height: calc(5.25em + 24px);
  overflow: hidden;
  overflow-wrap: anywhere;
}

.sv-section {
  padding: 80px 0;
}

.sv-section.sv-bg-gray {
  background: #f7f9fc;
}

.sv-section-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.sv-section-row {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.sv-section-row.sv-reverse {
  flex-direction: row-reverse;
}

.sv-section-photo {
  flex: 0 0 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  background: #fff;
}

.sv-section-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sv-section-content {
  flex: 1;
  min-width: 0;
}

.sv-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sv-section-label .sv-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #0066cc;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.sv-section-label .sv-topic {
  font-size: 0.73rem;
  color: #0066cc;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sv-section-content h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: #0a1a4e;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #dce8f8;
}

.sv-section-content p {
  font-size: 0.94rem;
  color: #444;
  line-height: 1.95;
  margin-bottom: 16px;
}

.sv-timeline {
  margin-top: 22px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cdd9f0;
}

.sv-timeline-title {
  background: #0055bb;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 11px 20px;
  letter-spacing: 0.10em;
}

.sv-timeline-row {
  display: flex;
  border-bottom: 1px solid #e4ecf8;
}

.sv-timeline-row:last-child {
  border-bottom: none;
}

.sv-timeline-row:nth-child(even) {
  background: #f4f8ff;
}

.sv-timeline-time {
  background: #e8f0fc;
  color: #0044aa;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 13px 18px;
  min-width: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-right: 2px solid #c8d8f0;
}

.sv-timeline-task {
  padding: 13px 20px;
  font-size: 0.88rem;
  color: #333;
  display: flex;
  align-items: center;
}

.sv-highlight-box {
  background: linear-gradient(135deg,#f0f6ff,#e8f0fc);
  border-left: 4px solid #0066cc;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 0.93rem;
  color: #0a2a6e;
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
}

.sv-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.sv-card-item {
  background: #fff;
  border: 1px solid #dbe6f5;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.sv-card-item h4 {
  color: #0055bb;
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4eef8;
  font-weight: 700;
}

.sv-card-item p {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

.sv-message-section {
  background: linear-gradient(135deg,#051540 0%,#0055bb 60%,#0088ff 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.sv-msg-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.sv-msg-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.sv-message-section h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 26px;
  line-height: 1.6;
  color: #fff;
}

.sv-message-section p {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.93;
  margin-bottom: 16px;
  color: #fff;
}

.sv-sig {
  margin-top: 32px;
  font-size: 0.83rem;
  opacity: 0.65;
  letter-spacing: 0.08em;
}

.sv-page-nav {
  padding: 52px 0;
  background: #fff;
}

.sv-page-nav .sv-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.sv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  text-decoration: none;
}

.sv-btn-primary {
  background: #0066cc;
  color: #fff;
  border: 2px solid #0066cc;
}

.sv-btn-primary:hover {
  background: #004eaa;
  color: #fff;
}

.sv-btn-outline {
  background: #fff;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.sv-btn-outline:hover {
  background: #f0f5ff;
  color: #0066cc;
}

/* ==================================================
   スマホ表示（768px以下）：画像と文字被りの完全解消
   ================================================== */
@media (max-width: 768px) {
  /* 1. ヒーロー枠：スマホ幅100%に広げ、縦並びにする */
  .sv-hero {
    width: 100% !important;
    aspect-ratio: auto !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* 2. 写真：16:9で社員の顔や様子を100%クリアに表示 */
  .sv-hero img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }

  .sv-hero-overlay {
    display: none !important;
  }

  /* 3. 文字：画像の上から「画像の下」へ逃がす（被り完全解消） */
  .sv-hero-text {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 20px !important;
    background: #0b2545 !important; /* 濃紺の落ち着いた背景 */
    color: #ffffff !important;
    box-sizing: border-box !important;
  }

  .sv-hero-text .sv-label {
    font-size: 0.75rem !important;
    margin-bottom: 8px !important;
  }

  .sv-hero-text h1 {
    font-size: 1.15rem !important; /* スマホで読みやすいすっきりサイズ */
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
    text-shadow: none !important;
    color: #ffffff !important;
  }

  .sv-profile-line {
    font-size: 0.85rem !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .sv-profile-line strong {
    font-size: 0.95rem !important;
  }

  /* その他スマホ調整 */
  .sv-profile-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .sv-tags {
    justify-content: center;
  }

  .sv-section-row,
  .sv-section-row.sv-reverse {
    flex-direction: column;
    gap: 32px;
  }

  .sv-section-photo {
    flex: none;
    width: 100%;
  }

  .sv-section-photo img {
    height: 220px;
  }

  .sv-card-grid {
    grid-template-columns: 1fr;
  }

  .sv-page-nav .sv-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ==================================================
   先輩社員一覧：キャッチコピーの高さを3行で統一
   ================================================== */
.staff-marquee .staff-card .staff-catch {
  box-sizing: content-box;
  line-height: 1.75 !important;
  height: 5.25em !important;
  min-height: 5.25em !important;
  max-height: 5.25em !important;
  overflow: hidden !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}