@charset "UTF-8";
/* 座談会ページ。デザインはFigmaイシュー確定までのプレースホルダー */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --talk-yellow: #f7de00;
  --talk-green: #118240;
}

html {
  scroll-behavior: smooth;
}

body.talk {
  background: #eeeff0;
}

.mr-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

/* base.css（既存流用）の body.child 縞背景・セクション余白をこのページでは無効化。
   上paddingは固定ヘッダー高（PC80px/SP45px）に合わせる */
body.child main.talk-main {
  padding-top: 80px;
  padding-bottom: 120px;
}

body.child main.talk-main section,
body.child main.talk-main section:nth-of-type(odd) {
  background: none;
  padding: 0;
}

.talk-main {
  display: block;
}

.talk-hero-image {
  display: block;
}

.talk-hero-image__img {
  display: block;
  width: 100%;
  height: auto;
}

/* discussion-main: ヒーロー直下の白いアイランド。直下の各セクションは個別にmargin-topで間隔を持つ */
.discussion-main {
  position: relative;
  margin-top: -7.778vw;
  padding: 64px;
  background: #fff;
  border-radius: 24px;
}

/* 吹き出しの背景あしらい。本文より背面に敷くためz-index:0、本文側をz-index:1で前面に固定する */
.discussion-main__shape {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  pointer-events: none;
}

.discussion-main__shape--flip {
  transform: scaleX(-1);
}

/* 白い吹き出しは白アイランドの外側に完全に出して配置しているため、
   ガターの狭い中間幅では見切れて断片だけ残る。広い画面でのみ表示する */
@media only screen and (max-width: 1279px) {
  .discussion-main__shape--white {
    display: none;
  }
}

.talk-lead {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto 64px;
}

.talk-lead__text {
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: #000;
}

.talk-lead__text + .talk-lead__text {
  margin-top: 18px;
}

.talk-profile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

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

.talk-profile__title {
  font-family: "Archivo Narrow", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
  text-align: center;
}

.talk-profile__rule {
  display: flex;
  width: 48px;
  height: 4px;
}

.talk-profile__rule-yellow,
.talk-profile__rule-green {
  width: 24px;
  height: 4px;
}

.talk-profile__rule-yellow {
  background: var(--talk-yellow);
}

.talk-profile__rule-green {
  background: var(--talk-green);
}

.talk-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 48px;
}

.talk-profile__card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.talk-profile__person {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 96px;
}

.talk-profile__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #dbe6f5 0%, #b8cbe6 100%);
}

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

.talk-profile__initials {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--talk-green);
  text-align: center;
}

.talk-profile__divider {
  flex: none;
  align-self: stretch;
  width: 1px;
  background: var(--mr-filter-navy, #002c66);
}

.talk-profile__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

/* 正式名称（事業部 統括部 部）の途中で折れないよう、階層の区切り（空白）でのみ折り返す */
.talk-profile__dept {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mr-filter-navy, #002c66);
  word-break: keep-all;
}

.talk-profile__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #000;
}

.talk-toc {
  position: relative;
  z-index: 1;
  margin-top: 64px;
}

.talk-toc__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.talk-toc__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 29px;
  border-bottom: 1px solid #c4c4c4;
}

.talk-toc__num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--talk-green);
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--talk-green);
}

.talk-toc__heading {
  flex: 1;
  min-width: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--mr-filter-navy, #002c66);
  transition: opacity 0.2s ease;
}

.talk-toc__link:hover .talk-toc__heading {
  opacity: 0.7;
}

.talk-main-image {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 64px;
}

.talk-main-image img,
.talk-closing-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.talk-closing-image {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 70px;
}

/* メインコンテンツセクション（discussion-main内、talk-profile/talk-tocの次の兄弟）。
   左右余白・下余白はdiscussion-main側が持つため、ここではmargin-topのみ */
.talk-content {
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

.talk-content__section[id] {
  scroll-margin-top: 100px;
}

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

.talk-content__num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--talk-green);
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.talk-content__title-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.talk-content__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--mr-navy, #1b2c5e);
}

.talk-content__rule {
  display: block;
  width: 100%;
  height: 3px;
}

.talk-content__image {
  display: block;
  margin-bottom: 70px;
}

.talk-content__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.talk-content__question {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mr-navy, #1b2c5e);
  line-height: 1.9;
}

.talk-content__question::before {
  content: "――";
  margin-right: 4px;
}

.talk-content__turns {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 64px;
}

.talk-content__turn {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

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

.talk-content__person {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 96px;
}

.talk-content__turn-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbe6f5 0%, #b8cbe6 100%);
  overflow: hidden;
}

.talk-content__turn-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk-content__turn-initials {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--talk-green);
  text-align: center;
}

/* 吹き出し: 角丸長方形から、アバターに接する角だけ角丸を落とした形状 */
.talk-content__bubble {
  background: #eeeff0;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
}

.talk-content__turn--left .talk-content__bubble {
  border-top-left-radius: 0;
}

.talk-content__turn--right .talk-content__bubble {
  border-top-right-radius: 0;
}

.talk-content__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 2;
}

.talk-content__text + .talk-content__text {
  margin-top: 14px;
}

.talk-content__narration {
  font-size: 15px;
  line-height: 2.2;
}

@media only screen and (max-width: 767px) {
  /* SP時のガターは左右20px（CLAUDE.md準拠） */
  .mr-inner {
    padding: 0 20px;
  }

  body.child main.talk-main {
    padding-top: 45px;
    padding-bottom: 72px;
  }

  .discussion-main {
    padding: 40px 20px 20px;
  }

  .discussion-main__shape {
    display: none;
  }

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

  .talk-lead__text {
    font-size: 15px;
    line-height: 1.9;
  }

  .talk-profile {
    gap: 40px;
  }

  .talk-profile__title {
    font-size: 24px;
  }

  .talk-profile__grid {
    grid-template-columns: 1fr;
    row-gap: 64px;
  }

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

  .talk-profile__divider {
    display: none;
  }

  .talk-profile__body {
    width: 100%;
  }

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

  .talk-toc {
    margin-top: 40px;
  }

  .talk-toc__list {
    gap: 20px;
  }

  /* 番号を横に置くと見出し幅が 17 文字に足りないため、セクション見出しと同じ縦並びにする */
  .talk-toc__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 20px;
  }

  .talk-toc__num {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .talk-toc__heading {
    font-size: 16px;
    line-height: 1.5;
  }

  .talk-main-image,
  .talk-closing-image {
    margin-top: 40px;
  }

  .talk-content {
    margin-top: 48px;
  }

  .talk-content__section[id] {
    scroll-margin-top: 65px;
  }

  .talk-content__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .talk-content__num {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .talk-content__title {
    font-size: 18px;
  }

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

  .talk-content__turns {
    gap: 24px;
    margin-bottom: 40px;
  }

  .talk-content__turn {
    gap: 12px;
  }

  .talk-content__person {
    width: 64px;
    gap: 8px;
  }

  .talk-content__turn-icon {
    width: 64px;
    height: 64px;
  }

  .talk-content__turn-initials {
    font-size: 13px;
  }

  .talk-content__bubble {
    padding: 18px;
  }
}

@media (max-width: 359px) {
  .talk-toc__heading,
  .talk-content__title {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}
