/* ==========================================================================
   ODAKE 100TH — talk.html (オダケと私) page-specific styles
   ========================================================================== */

/* ---------- Page hero ---------- */
.talk-hero {
  position: relative;
  padding-top: var(--header-h);
  padding-bottom: 6rem;
  color: var(--color-text-invert);
  text-align: center;
  overflow: hidden;
  background: url(../images/talk/bg_mv_main.webp) center top / cover no-repeat;
  background-size: 238rem;
}

.talk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 55.3rem;
  background: url(../images/talk/bg_mv_top.webp) center top / cover no-repeat;
  pointer-events: none;
  background-size: 240rem;
  z-index: 5;
}

.talk-hero__inner {
  position: relative;
  z-index: 1;
  padding: 1rem 2.4rem 0;
  max-width: 96rem;
  margin: 0 auto;
  z-index: 10;
}

.talk-hero__subtitle {
  font-family: var(--font-en);
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  font-weight: 700;
}

.talk-hero__subtitle img {
  display: block;
  height: 2.4rem;
  margin: 0 auto 3.2rem;
}

.talk-hero__title {
  font-family: var(--font-ja);
  font-size: clamp(3.6rem, 5.4vw, 6.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-top: 1.6rem;
}

.talk-hero__title img {
  display: block;
  height: 8.7rem;
  margin: 0 auto 3.2rem;
}

.talk-hero__lead {
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 2.4rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 10;
  order: 2;
}

.talk-hero {
  display: flex;
  flex-direction: column;
}

.talk-hero__inner {
  order: 1;
}

.talk-hero-photo {
  max-width: var(--container);
  margin: 0 auto;
  order: 3;
}

.talk-hero-photo__figure {
  position: relative;
  width: 100%;
  margin: 12.8rem auto 0;
  overflow: hidden;
  aspect-ratio: 1280 / 500;
  background: #c9d1d9;
}

.talk-hero-photo__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Members section ---------- */
.talk-members {
  background: url(../images/talk/bg_members.webp) center top / cover no-repeat;
  background-size: 240rem;
  padding: 6rem 2.4rem 15rem;
  padding-top: 20rem;
  margin-top: -12.8rem;
  position: relative;
  z-index: 20;
}

.talk-members__inner {
  max-width: 106.5rem;
  margin: 0 auto;
}

.talk-members__head {
  text-align: center;
  margin-bottom: 5.6rem;
}

.talk-members__title {
  font-family: var(--font-en);
  color: var(--color-primary-dark);
  font-size: clamp(4rem, 5vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.talk-members__title img {
  display: block;
  height: 4.3rem;
  margin: 0 auto 1.8rem;
}

.talk-members__subtitle {
  margin-top: 1.2rem;
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.talk-members__subtitle img {
  display: block;
  height: 2.2rem;
  margin: 0 auto 3.2rem;
}

/* Grid: 4 columns on desktop */
.talk-members__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 5rem;
}

.talk-members__card {
  text-align: center;
}

.talk-members__photo {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

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

.talk-members__initials img {
  display: block;
  height: 2.5rem;
  margin: 2.4rem auto 0;
}

.talk-members__dept {
  margin-top: 0.8rem;
  color: #15126f;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.talk-members__meta {
  color: #15126f;
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.talk-members__note {
  margin-top: 4rem;
  text-align: center;
  color: #15126f;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.talk-members__dots {
  display: none;
}

.talk-members__prev,
.talk-members__next {
  display: none;
}

/* ---------- Talk stories (Talk.01 / Talk.02) ---------- */
.talk-stories {}

.talk-story {
  position: relative;
  padding-bottom: 6rem;
}

.talk-story__head {
  position: relative;
  width: 100%;
  margin-bottom: 7.2rem;
  overflow: hidden;
}

.talk-story__head-inner {
  position: relative;
  z-index: 1;
  max-width: 132.8rem;
  margin: 0 auto;
  padding: 0px 2.4rem 0 18.4rem;
  display: flex;
  gap: 3.2rem;
  align-items: flex-end;
}

.talk-story__head--reverse .talk-story__head-inner {
  direction: rtl;
}

.talk-story__head--reverse .talk-story__head-inner>* {
  direction: ltr;
}

.talk-story__heading {
  flex: 1;
}

.talk-story__head--reverse .talk-story__heading {
  padding-left: 0;
  text-align: left;
}

.talk-story__badge {
  display: block;
  margin-bottom: 2.4rem;
}

.talk-story__badge img {
  height: 4rem;
}

.talk-story__title {}

.talk-story__figure {
  overflow: hidden;
  aspect-ratio: 72 / 54;
  background: #d9e6f5;
  width: 72rem;
}

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

.talk-story__body {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  max-width: 100.8rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

.talk-story__speech {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 6.4rem;
  align-items: start;
}

.talk-story__avatar {
  text-align: center;
}

.talk-story__avatar-img {
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  overflow: hidden;
  background: #d9e6f5;
  margin: 0 auto 0.6rem;
}

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

.talk-story__initials {}

.talk-story__initials img {
  display: block;
  height: 1.7rem;
  margin: 1.6rem auto 0;
}

.talk-story__text {
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.03em;
}

/* ---------- Talk.01 ---------- */
.talk-story01 {
  background: url(../images/talk/bg_tolk01.webp) center top / cover no-repeat;
  background-size: 240rem;
  padding-top: 18rem;
  padding-bottom: 24.1rem;
  margin-top: -26rem;
  position: relative;
  z-index: 10;
}

.talk-story01 .talk-story__title {
  margin-bottom: 6.4rem;
}

.talk-story01 .talk-story__title img {
  height: 13rem;
}


/* ---------- Talk.02 ---------- */
.talk-story02 {
  background: url(../images/talk/bg_tolk02.webp) center top / cover no-repeat;
  background-size: 240rem;
  padding-top: 23rem;
  padding-bottom: 30.1rem;
  margin-top: -31rem;
  position: relative;
  z-index: 8;
}

.talk-story02 .talk-story__head-inner {
  gap: 7.8rem;
  padding: 0px 18.4rem 0 2.4rem;
}

.talk-story02 .talk-story__head {
  margin-bottom: 8rem;
}

.talk-story02 .talk-story__title {
  margin-bottom: 8rem;
}

.talk-story02 .talk-story__title img {
  height: 13rem;
}


/* ---------- Talk.03 ---------- */
.talk-story03 {
  background: url(../images/talk/bg_tolk03.webp) center top / cover no-repeat;
  background-size: 240rem;
  padding-top: 14rem;
  padding-bottom: 20.5rem;
  margin-top: -19rem;
  position: relative;
  z-index: 6;
}

.talk-story03 .talk-story__head-inner {
  gap: 10.1rem;
}

.talk-story03 .talk-story__title {
  margin-bottom: 4rem;
}

.talk-story03 .talk-story__title img {
  height: 20.6rem;
}

.talk-story03 .talk-story__figure {
  width: 64rem;
}

.talk-story03 .talk-story__figure img {
  object-position: bottom;
}


/* ---------- Talk.04 ---------- */
.talk-story04 {
  background: url(../images/talk/bg_tolk04.webp) center top / cover no-repeat;
  background-size: 240rem;
  padding-bottom: 24rem;
  padding-top: 32rem;
  margin-top: -36rem;
  position: relative;
  z-index: 4;
}

.talk-story04 .talk-story__head--reverse .talk-story__head-inner {
  gap: 10.1rem;
}

.talk-story04 .talk-story__head {
  margin-bottom: 10.4rem;
}

.talk-story04 .talk-story__title {}

.talk-story04 .talk-story__title img {
  height: 13rem;
}


/* ---------- Talk gallery (ending photos) ---------- */
.talk-gallery {
  background: url(../images/talk/bg_tolk_gallery_main.webp) center top / cover no-repeat;
  background-size: 240rem;
  padding-bottom: 27rem;
  padding-top: 36rem;
  margin-top: -42rem;
  position: relative;
  z-index: 2;
}

.talk-gallery::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 28rem;
  background: url(../images/talk/bg_tolk_gallery_bottom.webp) center bottom / cover no-repeat;
  background-size: 240rem;
}

.talk-gallery__inner {
  max-width: 132.8rem;
  margin: 0 auto;
  padding: 0 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6.4rem;
}

.talk-gallery__figure {
  width: 61.5rem;
  aspect-ratio: 615 / 439;
  overflow: hidden;
  background: #d9e6f5;
}

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



/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {

  /* ---------- MV (SP) ---------- */
  .talk-hero {
    padding-top: 0;
    padding-bottom: 7.6rem;
    background: url(../images/talk/bg_mv_main_sp.webp) center top / 100% auto no-repeat;
    background-size: 100% auto, 100% auto;
  }

  .talk-hero::before {
    background: url(../images/talk/bg_mv_top_sp.webp) center top / 100% auto no-repeat;
    height: 34.8rem;
  }

  .talk-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50.2rem;
    background: url(../images/talk/bg_mv_bottom.webp) center top / cover no-repeat;
    pointer-events: none;
    background-size: 100%;
    z-index: 5;
  }

  .talk-hero__inner {
    order: 1;
    padding: 11rem 4rem 8rem;
    max-width: none;
  }

  .talk-hero__subtitle img {
    height: 2.8rem;
    margin: 0 auto 3.1rem;
  }

  .talk-hero__title img {
    height: 8.1rem;
    margin: 0 auto;
  }

  .talk-hero-photo {
    order: 2;
    max-width: none;
    margin: 0 auto 5rem;
    padding: 0;
  }

  .talk-hero-photo__figure {
    margin: 0;
    aspect-ratio: 750 / 292;
    margin: 0 auto;
    background: none;
  }

  .talk-hero__lead {
    order: 3;
    max-width: none;
    margin: 0;
    padding: 0rem 5rem 8rem;
    font-size: 3.2rem;
    line-height: 1.625;
    color: #fff;
    text-align: justify;
    letter-spacing: 0.015em;
    font-weight: 500;
  }

  .talk-hero__lead br {
    display: none;
  }

  /* ---------- MEMBERS (SP carousel) ---------- */
  .talk-members {
    background: url(../images/talk/bg_members_sp.webp) center top / 100% 100% no-repeat;
    background-size: 100% 100%;
    padding: 14.4rem 0 14rem;
    margin-top: -12rem;
  }

  .talk-members__inner {
    max-width: none;
    padding: 0;
  }

  .talk-members__head {
    margin-bottom: 8rem;
  }

  .talk-members__title img {
    height: 5rem;
    margin-bottom: 1.6rem;
  }

  .talk-members__subtitle img {
    height: 2.4rem;
  }

  .talk-members__carousel {
    position: relative;
  }

  .talk-members__grid {
    display: flex;
    grid-template-columns: none;
    gap: 10rem;
    padding: 0 15.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
  }

  .talk-members__grid::-webkit-scrollbar {
    display: none;
  }

  .talk-members__card {
    flex: 0 0 44rem;
    scroll-snap-align: center;
  }

  .talk-members__card.js-fadeup {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .talk-members__initials img {
    height: 4.4rem;
    margin: 4.8rem auto 0;
  }

  .talk-members__dept {
    margin-top: 1.6rem;
    font-size: 2.8rem;
    letter-spacing: 0.06em;
  }

  .talk-members__meta {
    margin-top: 0;
    font-size: 2.4rem;
    line-height: 1.7;
  }

  .talk-members__prev,
  .talk-members__next {
    display: block;
    position: absolute;
    top: 18rem;
    transform: translateY(-50%);
    width: 6rem;
    height: 6rem;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0;
    color: transparent;
    line-height: 0;
    cursor: pointer;
    z-index: 2;
  }

  .talk-members__prev::before,
  .talk-members__next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4rem;
    height: 4rem;
    border-top: 2px solid var(--color-primary-dark);
    border-right: 2px solid var(--color-primary-dark);
  }

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

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

  .talk-members__prev {
    left: 6.6rem;
  }

  .talk-members__next {
    right: 6.6rem;
  }

  .talk-members__prev:disabled,
  .talk-members__next:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .talk-members__dots {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 8rem;
  }

  .talk-members__dots button {
    width: 1.6rem;
    height: 1.6rem;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: #b7d3e9;
    cursor: pointer;
    transition: background 0.2s;
  }

  .talk-members__dots button.is-active {
    background: var(--color-primary-dark);
  }

  .talk-members__note {
    margin-top: 8rem;
    padding: 0 4rem;
    font-size: 2.8rem;
    letter-spacing: 0.02em;
  }

  /* ---------- Talk stories (SP common) ---------- */
  .talk-stories {
    padding: 0;
  }

  .talk-story {
    padding-bottom: 0;
  }

  .talk-story__head {
    margin-bottom: 0;
  }

  .talk-story__head-inner,
  .talk-story__head--reverse .talk-story__head-inner {
    flex-direction: column;
    direction: ltr;
    gap: 0;
    padding: 0;
    align-items: stretch;
    max-width: none;
  }

  .talk-story__figure {
    order: 1;
    width: 100%;
    aspect-ratio: 750 / 500;
  }

  .talk-story__heading,
  .talk-story__head--reverse .talk-story__heading {
    order: 2;
    padding: 0 4rem 24rem;
    margin-top: -2rem;
    text-align: center;
    flex: none;
  }

  .talk-story__badge {
    display: inline-block;
    margin-bottom: 1.6rem;
  }

  .talk-story__badge img {
    height: 5.6rem;
  }

  .talk-story__title img {
    display: block;
    margin: 0 auto;
  }

  .talk-story__body {
    gap: 9.6rem;
    padding: 0 5rem;
    margin-top: 0;
  }

  .talk-story__speech {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 5.6rem;
    align-items: stretch;
  }

  .talk-story__avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .talk-story__avatar-img {
    width: 19.5rem;
    height: 19.5rem;
    margin: 0;
  }

  .talk-story__initials img {
    height: 3.4rem;
    margin: 2.4rem auto 0;
  }

  .talk-story__text {
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: -0.03em;
  }

  /* ---------- Talk.01 (SP) ---------- */
  .talk-story01 {
    background: url(../images/talk/bg_tolk01_sp.webp) center top / 100% 100% no-repeat;
    background-size: 100%;
    padding-top: 4rem;
    padding-bottom: 30rem;
    margin-top: -9.2rem;
  }

  .talk-story01 .talk-story__heading {
    padding-bottom: 7rem;
  }

  .talk-story01 .talk-story__title {
    margin-bottom: 0;
  }

  .talk-story01 .talk-story__title img {
    height: 16.2rem;
  }

  /* ---------- Talk.02 (SP) ---------- */
  .talk-story02 {
    background: url(../images/talk/bg_tolk02_sp.webp) center top / 100% 100% no-repeat;
    background-size: 100%;
    background-position-y: 13.4em;
    padding-top: 9rem;
    padding-bottom: 17rem;
    margin-top: -20.6rem;
  }

  .talk-story02 .talk-story__head-inner {
    padding: 0;
    gap: 0;
  }

  .talk-story02 .talk-story__head {
    margin-bottom: 0;
  }

  .talk-story02 .talk-story__badge {
    margin-bottom: 4rem;
  }

  .talk-story02 .talk-story__title {
    margin-bottom: 0;
  }

  .talk-story02 .talk-story__title img {
    height: 16.5rem;
  }

  .talk-story02 .talk-story__heading {
    padding-bottom: 15.4rem;
  }

  /* ---------- Talk.03 (SP) ---------- */
  .talk-story03 {
    background: url(../images/talk/bg_tolk03_sp.webp) center top / 100% 100% no-repeat;
    background-size: 100%;
    background-position-y: 8rem;
    padding-top: 17rem;
    padding-bottom: 18rem;
    margin-top: -24.6rem;
  }

  .talk-story03 .talk-story__heading {
    padding-bottom: 10.5rem;
  }

  .talk-story03 .talk-story__head-inner {
    gap: 0;
  }

  .talk-story03 .talk-story__badge {
    margin-bottom: 5.6rem;
  }

  .talk-story03 .talk-story__title {
    margin-bottom: 0;
  }

  .talk-story03 .talk-story__title img {
    height: 25.9rem;
  }

  .talk-story03 .talk-story__figure {
    width: 100%;
  }

  /* ---------- Talk.04 (SP) ---------- */
  .talk-story04 {
    background: url(../images/talk/bg_tolk04_sp.webp) center top / 100% 100% no-repeat;
    background-size: 100%;
    padding-top: 17rem;
    padding-bottom: 12.8rem;
    margin-top: -24.7rem;
  }

  .talk-story04 .talk-story__head--reverse .talk-story__head-inner {
    gap: 0;
  }

  .talk-story04 .talk-story__heading {
    padding-bottom: 11.4rem;
  }

  .talk-story04 .talk-story__head {
    margin-bottom: 0;
  }

  .talk-story04 .talk-story__badge {
    margin-bottom: 4rem;
  }

  .talk-story04 .talk-story__title {
    margin-bottom: 0;
  }

  .talk-story04 .talk-story__title img {
    height: 16.4rem;
  }

  .talk-gallery {
    background: url(../images/talk/bg_tolk_gallery_main_sp.webp) center top / cover no-repeat;
    background-size: 100%;
    padding-bottom: 17rem;
    padding-top: 6.5rem;
    margin-top: -8.4rem;
    position: relative;
    z-index: 2;
  }

  .talk-gallery::after {
    background: url(../images/talk/bg_tolk_gallery_bottom_sp.webp) center bottom / cover no-repeat;
    background-size: 100%;
  }

  .talk-gallery__inner {
    flex-direction: column;
    gap: 12rem;
    padding: 0;
  }

  .talk-gallery__figure {
    width: 100%;
    max-width: none;
  }
}