/* ==========================================================================
   # CROSS TALK
   ========================================================================== */

.talk-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 555px;
  padding: 130px 0 88px;
  background: linear-gradient(90deg, #185baa 0%, #348daa 49.038%, #6eb83f 100%);
}

.talk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

.talk-hero .talk-hero__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--nk-header-width);
  margin-inline: auto;
  padding-inline: 0;
}

.talk-hero__breadcrumb {
  margin: 0 0 80px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.talk-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.talk-hero__breadcrumb a:hover {
  text-decoration: underline;
}

.talk-hero .c-top-section-title {
  padding-inline: 30px;
}

.talk-hero .c-top-section-title__main {
  line-height: 1.05;
  overflow: visible;
}

.talk-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: -90px;
  padding: 120px 0 0;
  background-color: #fff;
  border-radius: 55px 55px 0 0;
}

.talk-body__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/recruit/background-grid.png");
  background-repeat: repeat;
  background-size: 100%;
}

.talk-body > .c-inner,
.talk-body > .talk-entry {
  position: relative;
  z-index: 1;
}

.talk-catch {
  margin: 0 0 56px;
  color: #333;
  font-size: 38px;
  font-weight: 900;
  line-height: 60px;
  letter-spacing: 0.037em;
}

.talk-catch__blue {
  color: #1b5da8;
}

.talk-catch__green {
  color: #71bc40;
}

.talk-main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 490;
  margin-bottom: 50px;
  object-fit: cover;
  background-color: #ecf1f5;
  border-radius: 4px;
}

.talk-members {
  max-width: 940px;
  margin: 0 auto 88px;
}

.talk-members__swiper.swiper {
  overflow: visible;
  margin: 0;
}

.talk-members__track {
  display: grid;
  grid-template-columns: repeat(3, 260px);
  justify-content: space-between;
  gap: 24px 40px;
}

.talk-members__controls {
  display: none;
}

.talk-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.talk-member__photo {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  background-color: #ecf1f5;
}

.talk-member__photo img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.talk-member__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.talk-member__name {
  margin: 0;
  color: #1b5da8;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.05em;
}

.talk-member__role {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
}

.talk-member__body hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 2px solid #d8d8d8;
}

.talk-member__text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
}

.talk-section {
  margin-bottom: 80px;
}

.talk-section__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.talk-section__num {
  flex-shrink: 0;
  color: #1a5eaa;
  font-family: "Figtree", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: 0.03125em;
}

.talk-section__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.018em;
}

.talk-section__question {
  margin: 0 0 40px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.028em;
}

.talk-chats {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.talk-chat {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

.talk-chat--right {
  flex-direction: row-reverse;
}

.talk-chat__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 110px;
  gap: 8px;
}

.talk-chat__photo {
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 50%;
  background-color: #ecf1f5;
}

.talk-chat__photo img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.talk-chat__name {
  margin: 0;
  color: #1b5da8;
  font-size: 16px;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 0.0875em;
  text-align: center;
}

.talk-bubble {
  --talk-bubble: #e4f4d4;
  position: relative;
  flex: 1 1 auto;
  max-width: 926px;
  padding: 24px 50px;
  border-radius: 10px;
  background-color: var(--talk-bubble);
}

.talk-bubble::before {
  content: "";
  position: absolute;
  top: 32px;
  width: 16px;
  height: 16px;
  background-color: var(--talk-bubble);
  transform: rotate(45deg);
  border-radius: 1px;
}

.talk-chat--left .talk-bubble::before {
  left: -7px;
}

.talk-chat--right .talk-bubble::before {
  right: -7px;
}

.talk-bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--talk-bubble);
  border-radius: inherit;
  pointer-events: none;
}

.talk-bubble p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.006em;
}

.talk-scene {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 320;
  margin: 48px 0 0;
  object-fit: cover;
  background-color: #ecf1f5;
  border-radius: 4px;
}

.talk-closing {
  margin: 0 0 80px;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.028em;
  text-align: center;
}

.talk-entry {
  padding: 80px 0 100px;
  background-color: #ecf1f5;
  background-image: radial-gradient(#d4dde5 1.5px, transparent 1.5px);
  background-size: 9px 9px;
}

.talk-entry__inner {
  display: grid;
  grid-template-columns: 266px 1fr;
  gap: 40px;
  align-items: center;
}

.talk-entry .c-top-section-title__main {
  font-size: 82px;
}

.talk-entry__lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
}

.talk-entry__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.talk-entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 223px;
  padding: 30px 32px 64px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

a.talk-entry-card:hover {
  opacity: 0.9;
}

.talk-entry-card--new {
  background-color: #1b5da8;
}

.talk-entry-card--mid {
  background-color: #6eb83f;
}

.talk-entry-card__en {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  line-height: 24px;
}

.talk-entry-card__ja {
  margin: 4px 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.talk-entry-card__text {
  font-size: 14px;
  line-height: 1.6;
}

.talk-entry-card__icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 2px;
}

.talk-entry-card__icon img {
  display: block;
  width: 16px;
  height: 12px;
}

@media (max-width: 1100px) {
  .talk-members {
    max-width: none;
  }

  .talk-members__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .talk-hero {
    height: auto;
    min-height: 360px;
    padding: 140px 0 80px;
  }

  .talk-hero .c-top-section-title {
    padding-inline: 20px;
  }

  .talk-hero__breadcrumb {
    margin-bottom: 40px;
  }

  .talk-body {
    margin-top: -48px;
    padding-top: 56px;
    border-radius: 24px 24px 0 0;
  }

  .talk-catch {
    /* 375px でも各行が改行されない大きさ */
    font-size: min(5.3vw, 24px);
    line-height: 1.6;
    white-space: nowrap;
  }

  .talk-members {
    margin-bottom: 56px;
  }

  .talk-members__swiper.swiper {
    overflow: hidden;
  }

  .talk-members__track {
    display: flex;
    grid-template-columns: none;
    gap: 0;
  }

  .talk-member.swiper-slide {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .talk-member__body,
  .talk-members__controls {
    width: min(280px, 100%);
    margin-inline: auto;
  }

  .talk-member__photo {
    box-sizing: border-box;
    border: 4px solid #71bc40;
  }

  .talk-members__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(280px, 100%);
    margin: 28px auto 0;
  }

  .talk-members__prev,
  .talk-members__next {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    cursor: pointer;
  }

  .talk-members__prev::after,
  .talk-members__next::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #1b5da8;
    border-right: 2px solid #1b5da8;
  }

  .talk-members__prev::after {
    transform: translate(-30%, -50%) rotate(-135deg);
  }

  .talk-members__next::after {
    transform: translate(-70%, -50%) rotate(45deg);
  }

  .talk-members__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .talk-members__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0;
    background-color: #d8d8d8;
    opacity: 1;
  }

  .talk-members__pagination .swiper-pagination-bullet-active {
    background-color: #1b5da8;
  }

  .talk-section__head {
    align-items: flex-start;
    gap: 12px;
  }

  .talk-section__num {
    font-size: 36px;
    line-height: 1;
  }

  .talk-section__title {
    font-size: 20px;
    line-height: 1.4;
  }

  .talk-section__question {
    font-size: 16px;
    line-height: 1.75;
  }

  .talk-chat,
  .talk-chat--right {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .talk-chat__photo,
  .talk-chat__photo img {
    width: 64px;
    height: 64px;
  }

  .talk-chat__person {
    width: auto;
    height: auto;
  }

  .talk-chat__name {
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .talk-bubble {
    width: 100%;
    max-width: none;
    padding: 16px 18px;
  }

  .talk-bubble::before,
  .talk-chat--left .talk-bubble::before,
  .talk-chat--right .talk-bubble::before {
    top: -8px;
    left: 50%;
    right: auto;
    width: 20px;
    height: 20px;
    transform: translateX(-50%) rotate(45deg);
  }

  .talk-entry__inner,
  .talk-entry__cards {
    grid-template-columns: 1fr;
  }

  .talk-entry .c-top-section-title__main {
    font-size: 48px;
  }
}

/* 募集停止中など、URL がないエントリーカード（クリックできない） */
.talk-entry-card.is-disabled {
  cursor: default;
}
