/* ===================================================
   voice_3 / 先輩社員の声B
   =================================================== */

:root {
  --navy:      #163867;
  --navy-dark: #0d2749;
  --yellow:    #f5c400;
  --border:    #e0e0e0;
  --gray-bg:   #f5f5f5;
  --gray-text: #666;
}

/* ===================================================
   HERO
   =================================================== */
.voice .hero_section > .breadcrumb {
    margin-bottom: -30px;
}
.hero_section {
  padding-top: clamp(64px, 4.9vw, 94px); /* fixed header offset */
  background: var(--navy-dark);
}

.hero__wrap {
  display: flex;
  align-items: stretch;
  min-height: clamp(260px, 32vw, 480px);
  max-width: 100%;
  overflow: hidden;
}

/* Left: navy text block */
.hero__left {
  flex: 0 0 clamp(200px, 30%, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 52px) clamp(24px, 3.5vw, 56px);
  background: var(--navy-dark);
  position: relative;
  z-index: 1;
}

/* Diagonal cut on the right edge of the navy block */
.hero__left::after {
  content: '';
  position: absolute;
  top: 0;
  right: -60px;
  width: 80px;
  height: 100%;
  background: var(--navy-dark);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: clamp(16px, 2vw, 28px);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.6);
}

/* H1 */
.hero__title {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-bottom: clamp(12px, 1.5vw, 20px);
}

/* Lead */
.hero__lead {
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
}

/* Right: photo */
.hero__photo {
  flex: 1;
  overflow: hidden;
  position: relative;
}

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

/* ===================================================
   WAVE ARC — transition from hero to content
   =================================================== */
.hero__arc {
  position: relative;
  background: var(--navy-dark);
  height: 64px;
  overflow: hidden;
}

.hero__arc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 320px;
  background: var(--gray-bg);
  border-radius: 50% 50% 0 0;
}

/* ===================================================
   LAYOUT
   =================================================== */
.content_section {
  padding: 0 clamp(16px, 3vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
  background: var(--gray-bg);
}

.content_section__grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  padding: 32px 0 60px;
}

/* ===================================================
   VOICE LIST
   =================================================== */
.voice_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ===================================================
   VOICE ITEM (horizontal row card)
   =================================================== */
.voice_item {
  position: relative;
  padding-top: 30px; /* space for badge above card */
  margin-bottom: 12px;
}

.voice_item:last-child {
  margin-bottom: 0;
}

.voice_item__link {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s;
  position: relative;
  min-height: 160px;
}

.voice_item__link:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
}

/* Badge — above the card row, right-aligned */
.voice_item__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--yellow);
  color: #333;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  line-height: 1.4;
  z-index: 1;
}

/* Photo */
.voice_item__photo {
  flex: 0 0 220px;
  height: 160px;
  overflow: hidden;
}

.voice_item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
      object-position: 50% 20%;
}

.voice_item__link:hover .voice_item__photo img {
  transform: scale(1.04);
}

/* Body */
.voice_item__body {
  flex: 1;
  padding: 20px 24px;
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Number */
.voice_item__num {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: #333;
  line-height: 1;
  margin-bottom: 10px;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.02em;
}

/* Quote */
.voice_item__quote {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 10px;
}

/* Tenure */
.voice_item__tenure {
  font-size: 13px;
  color: var(--gray-text);
}

/* Arrow button — yellow circle */
.voice_item__arrow {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.voice_item__link:hover .voice_item__arrow {
  background: #e0b000;
}

/* ===================================================
   RESPONSIVE: 1024px
   =================================================== */
@media (max-width: 1024px) {
  .content_section__grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   RESPONSIVE: 768px
   =================================================== */
@media (max-width: 768px) {
  .hero__wrap {
    flex-direction: column;
  }

  .hero__left {
    flex: none;
    width: 100%;
    padding: 32px 20px;
  }

  .hero__left::after {
    display: none;
  }

  .hero__photo {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .hero__arc {
    height: 40px;
  }

  .voice_item__photo {
    flex: 0 0 140px;
    height: 140px;
  }

  .voice_item__body {
    padding: 14px 16px;
  }

  .voice_item__arrow {
    flex: 0 0 36px;
    height: 36px;
    margin-right: 12px;
    font-size: 13px;
  }
}

/* ===================================================
   RESPONSIVE: 480px
   =================================================== */
@media (max-width: 480px) {
  .hero__photo {
    height: 180px;
  }

  .hero__arc {
    height: 32px;
  }

  .voice_item {
    padding-top: 26px;
  }

  .voice_item__link {
    min-height: auto;
  }

  .voice_item__photo {
    flex: 0 0 110px;
    height: 130px;
  }

  .voice_item__num {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .voice_item__quote {
    font-size: 13px;
  }

  .voice_item__body {
    padding: 12px 12px;
  }

  .voice_item__badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .voice_item__arrow {
    flex: 0 0 32px;
    height: 32px;
    margin-right: 8px;
    font-size: 12px;
  }

  .content_section {
    padding: 0 12px;
  }
}
