/* ===================================================
   voice_b_detail / 先輩社員の声詳細B
   =================================================== */

:root {
  --navy:      #163867;
  --navy-dark: #003970;
  --yellow:    #f8b900;
  --border:    #e0e0e0;
  --gray-bg:   #f7f7f7;
  --gray-text: #666;
  --body-text: #333;
}

/* ===================================================
   HERO
   =================================================== */
.hero_section {
  position: relative;
  padding-top: clamp(64px, 4.9vw, 94px);
  overflow: hidden;
  /*min-height: clamp(360px, 52vw, 1010px);*/
  /*display: flex;*/
  /*flex-direction: column;*/
}

/* Background image */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

/* Inner wrapper */
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 5vw, 80px) clamp(16px, 3vw, 40px);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* White card overlay */
.hero__card {
  background: #fff;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(20px, 3vw, 52px) clamp(20px, 3vw, 48px);
}

/* Staff portrait — square */
.hero__photo-wrap {
  flex: 0 0 clamp(120px, 30%, 406px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

/* Info block */
.hero__info {
  flex: 1;
  min-width: 0;
}

/* "#01" — large yellow */
.hero__num {
  font-size: clamp(26px, 3.5vw, 50px);
  font-weight: 400;
  color: var(--yellow);
  line-height: 1.2;
  margin-bottom: clamp(8px, 1.2vw, 16px);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  letter-spacing: 0;
}

/* Row: yellow slash deco + title text */
.hero__title-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.2vw, 18px);
  margin-bottom: clamp(12px, 1.8vw, 28px);
}

/* Yellow "/" parallelogram decoration */
.hero__slash-deco {
  flex-shrink: 0;
  width: clamp(18px, 2.4vw, 46px);
  height: clamp(48px, 6vw, 114px);
  background: var(--yellow);
  clip-path: polygon(34% 0%, 100% 0%, 66% 100%, 0% 100%);
  margin-top: 2px;
}

/* Main title */
.hero__title {
  font-size: clamp(15px, 1.8vw, 34px);
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Role */
.hero__role {
  font-size: clamp(13px, 1.4vw, 26px);
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: clamp(4px, 0.6vw, 10px);
}

/* Tenure */
.hero__tenure {
  font-size: clamp(12px, 1.1vw, 20px);
  color: var(--body-text);
}

/* ===================================================
   WAVE ARC — transition from hero to content
   =================================================== */
.hero__arc {
  position: relative;
  background: #fff;
  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;
}

/* ===================================================
   BREADCRUMB
   =================================================== */
.breadcrumb {
  padding: 20px 0 0;
  margin-bottom: 4px;
}

.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: var(--gray-text);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 4px;
  color: #aaa;
}

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

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: #aaa;
}

/* ===================================================
   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;
}

/* ===================================================
   Q&A BLOCKS
   =================================================== */
.voice_block {
  margin-bottom: clamp(24px, 4vw, 48px);
}

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

/* Card background for blocks */
.voice_block__card {
  background: #fff;
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  align-items: flex-start;
}

/* Q2: indented, no photo */
.voice_block--indent .voice_block__card {
  margin-left: clamp(0px, 5%, 80px);
}

/* Q5: full width card */
.voice_block--full .voice_block__card {
  display: block;
}

.voice_block__text {
  flex: 1;
  min-width: 0;
}

/* Photo column */
.voice_block__photo {
  flex: 0 0 clamp(140px, 28%, 310px);
  overflow: hidden;
}

.voice_block__photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================================
   HEADING — dark text, no decorative line
   =================================================== */
.voice_block__heading {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: clamp(10px, 1.5vw, 16px);
  line-height: 1.4;
  margin-top: 0;
}

/* Subsequent headings within the same text block */
.voice_block__text .voice_block__body + .voice_block__heading {
  margin-top: clamp(20px, 3vw, 40px);
}

/* ===================================================
   BODY TEXT
   =================================================== */
.voice_block__body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--body-text);
  margin-bottom: 1em;
}

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

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

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

  .hero__photo-wrap {
    flex: none;
    width: clamp(120px, 55vw, 280px);
    aspect-ratio: 1 / 1;
  }

  .hero__arc {
    height: 40px;
  }

  /* Q&A blocks stack vertically */
  .voice_block__card {
    flex-direction: column;
  }

  .voice_block--photo-left .voice_block__card,
  .voice_block--photo-right .voice_block__card {
    flex-direction: column;
  }

  .voice_block__photo {
    flex: none;
    width: 100%;
    max-width: 300px;
  }

  .voice_block--indent .voice_block__card {
    margin-left: 0;
  }
}

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

  .content_section {
    padding: 0 12px;
  }

  .content_section__grid {
    padding: 20px 0 36px;
  }

  .voice_block__card {
    padding: 16px;
    gap: 16px;
  }

  .hero__slash-deco {
    margin-top: 0;
  }
}
