/* ================================================
   KATCH — katch.css
   katch.html 専用スタイル
   ================================================ */

/* ================================================
   SECTION — Intro（KATCH固有）
   共通クラス（.intro, .intro__*）は style.css に定義済み
   ================================================ */

.intro__section {
  background-color: var(--color-katch-bg-main);
}

.intro__section > .intro__content,
.intro__section > .intro__mv {
  flex: 0 0 50%;
  min-width: 0;
}

/* katch: MV の aspect-ratio */
@media (max-width: 768px) {
  .intro__section > .intro__content,
  .intro__section > .intro__mv {
    flex: none;
    width: 100%;
  }

  .intro__mv {
    aspect-ratio: 375 / 426;
  }

  .badge--katch {
    font-size: var(--size-sp-caption);
    line-height: var(--lh-sp-caption);
  }
}


/* ================================================
   SECTION — Overview（プロジェクト概要）
   共通クラス（.overview, .section__*）は style.css に定義済み
   以下はKATCH固有のクラスのみ
   ================================================ */

/* katch固有: グループ分け */
.section__group {
  display: flex;
  flex-direction: column;
}

.section__group--summary { gap: var(--sp-gap-xl); }
.section__group--coupon  { gap: 48px; }

/* katch固有: サンプル図解ボックス */
.section__sample {
  background-color: var(--color-katch-bg-main);
  border-radius: 16px;
  padding: 80px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* PC용 이미지: 기본 표시 / SP용 이미지: 숨김 */
.section__sample-img--pc { display: block; max-width: 100%; height: auto; }
.section__sample-img--sp { display: none; }


/* ================================================
   Responsive — Overview SP（KATCH固有）
   共通SPスタイルは style.css に定義済み
   ================================================ */
@media (max-width: 768px) {

  /* SP: 縦並び */
  .section__sample {
    padding: 24px 16px;
  }

  /* SP용 이미지로 전환 */
  .section__sample-img--pc { display: none; }
  .section__sample-img--sp { display: block; }

}




/* ================================================
   SECTION — Research（リサーチと課題定義）
   ================================================ */
.research {
  padding: var(--sp-pad-container-v-pc) var(--sp-pad-container-h-pc);
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.research__group {
  display: flex;
  flex-direction: column;
}

.research__group--main   { gap: var(--sp-gap-xl); }
.research__group--review { gap: 48px; }
.research__group--interview-list { gap: 48px; }

/* --- 불릿 리스트 --- */
.research__bullet-list {
  display: flex;
  gap: var(--sp-gap-l);
  align-items: stretch;
}

.research__indent-bar {
  width: 4px;
  flex-shrink: 0;
  background-color: var(--color-katch-badge-bg);
  align-self: stretch;
}

.research__bullet-items {
  flex: 1;
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-body);
  font-weight: 400;
  line-height: var(--lh-pc-body);
  color: var(--color-katch-primary);
  letter-spacing: 0;
  padding-left: 4px;
}

.research__bullet-items ul {
  list-style: disc;
  padding-left: 24px;
}

.research__bullet-items li {
  margin-bottom: 0;
}

/* --- カード（サンプル・インタビュー共通） --- */
.research__card {
  background-color: var(--color-katch-bg-main);
  border-radius: 16px;
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* --- 番号リスト（レビュー調査） --- */
.research__number-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.research__number-item {
  display: flex;
  gap: var(--sp-gap-m);
  align-items: flex-start;
}

.research__number {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-heading-xsmall);
  font-weight: 700;
  line-height: var(--lh-pc-heading-xsmall);
  color: var(--color-katch-primary);
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.research__number-text {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-heading-xsmall);
  font-weight: 700;
  line-height: var(--lh-pc-heading-xsmall);
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

/* --- サンプル画像 --- */
.research__sample-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.research__sample-img--pc { display: block; }
.research__sample-img--sp { display: none; }

/* --- インタビュー情報（横並び） --- */
.research__interview-meta {
  display: flex;
  gap: var(--sp-gap-l);
  align-items: stretch;
}

.research__interview-meta-items {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.research__interview-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-gap-m);
}

.research__meta-label {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-body);
  font-weight: 700;
  line-height: var(--lh-pc-body);
  color: var(--color-katch-primary);
  letter-spacing: 0;
  white-space: nowrap;
}

.research__meta-text {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-body);
  font-weight: 400;
  line-height: var(--lh-pc-body);
  color: var(--color-katch-primary);
  letter-spacing: 0;
  white-space: nowrap;
}

/* --- インタビューカードグループ --- */
.research__interview-cards {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* --- インタビューカード内バッジ（顧客の問題 / 従業員の問題） --- */
.research__card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background-color: var(--color-katch-badge-bg);
  border-radius: var(--radius-s);
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-body);
  font-weight: 700;
  line-height: var(--lh-pc-body);
  color: var(--color-katch-secondary);
  white-space: nowrap;
  letter-spacing: 0;
  align-self: flex-start;
}

/* --- インタビュー内容リスト --- */
.research__interview-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.research__interview-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-gap-m);
}

.research__interview-title {
  display: flex;
  gap: var(--sp-gap-m);
  align-items: flex-start;
}

.research__interview-num {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-heading-xsmall);
  font-weight: 700;
  line-height: var(--lh-pc-heading-xsmall);
  color: var(--color-katch-primary);
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.research__interview-heading {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-heading-xsmall);
  font-weight: 700;
  line-height: var(--lh-pc-heading-xsmall);
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

/* 번호 없는 항목 (従業員の問題) */
.research__interview-heading--no-num {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-heading-xsmall);
  font-weight: 700;
  line-height: var(--lh-pc-heading-xsmall);
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

/* --- 인용문 --- */
.research__quote {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-body);
  font-weight: 400;
  line-height: var(--lh-pc-body);
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

/* --- 출처 캡션 --- */
.research__source {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-caption);
  font-weight: 400;
  line-height: var(--lh-pc-caption);
  color: var(--color-katch-secondary);
  letter-spacing: 0;
  white-space: nowrap;
}


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

  .research {
    padding: var(--sp-pad-v-sp) var(--sp-pad-h-sp);
    gap: var(--sp-gap-xxxl);           /* 섹션 사이: 48px */
  }

  /* SP gap 오버라이드 */
  .research__group--review        { gap: var(--sp-gap-xl); }  /* 24px */
  .research__group--interview-list { gap: var(--sp-gap-xl); } /* 24px */
  .research__interview-cards      { gap: var(--sp-gap-l); }   /* 16px */

  /* 불릿 리스트 */
  .research__indent-bar { width: 2px; }

  .research__bullet-items {
    font-size: var(--size-sp-body);
    line-height: var(--lh-sp-body);
  }

  /* 카드 */
  .research__card {
    padding: 24px 16px;
    gap: var(--sp-gap-xl);
    border-radius: 16px;
  }

  /* 번호 리스트 */
  .research__number-list { gap: var(--sp-gap-m); }

  .research__number,
  .research__number-text {
    font-size: var(--size-sp-body);
    line-height: var(--lh-sp-body);
  }

  /* 샘플 이미지 SP 전환 */
  .research__sample-img--pc { display: none; }
  .research__sample-img--sp { display: block; }

  /* 인터뷰 메타 세로 배치 */
  .research__interview-meta-items {
    flex-direction: column;
    gap: var(--sp-gap-l);
  }

  .research__meta-label,
  .research__meta-text {
    font-size: var(--size-sp-body);
    line-height: var(--lh-sp-body);
    white-space: normal;
  }

  /* 카드 배지 */
  .research__card-badge {
    font-size: var(--size-sp-caption);
    line-height: var(--lh-sp-caption);
    padding: 6px 10px;
  }

  /* 인터뷰 항목 */
  .research__interview-num,
  .research__interview-heading,
  .research__interview-heading--no-num {
    font-size: var(--size-sp-body);
    line-height: var(--lh-sp-body);
  }

  .research__quote {
    font-size: var(--size-sp-body);
    line-height: var(--lh-sp-body);
    padding-left: 20px;
  }

  .research__source {
    font-size: var(--size-sp-caption);
    line-height: var(--lh-sp-caption);
    white-space: normal;
    padding-left: 20px;
  }

  /* 番号なし項目はインデントなし */
  .research__interview-item:has(.research__interview-heading--no-num) .research__quote,
  .research__interview-item:has(.research__interview-heading--no-num) .research__source {
    padding-left: 0;
  }

}


/* ================================================
   SECTION — Mission（ミッション）
   ================================================ */
/* .mission の共通スタイルは style.css に定義済み */
/* katch固有: 背景色 */
.mission {
  background-color: var(--color-katch-bg-main);
}


/* ================================================
   SECTION — Solution（解決策）
   ================================================ */
.solution {
  padding: 120px 240px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* --- カード --- */
.solution__card {
  background-color: var(--color-katch-bg-main);
  border-radius: 16px;
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* --- グループ (텍스트 + 이미지 세트) --- */
.solution__group {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- 텍스트 블록 --- */
.solution__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution__item-title {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.solution__item-num {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-heading-xsmall);
  font-weight: 700;
  line-height: var(--lh-pc-heading-xsmall);
  color: var(--color-katch-primary);
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.solution__item-heading {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-heading-xsmall);
  font-weight: 700;
  line-height: var(--lh-pc-heading-xsmall);
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

.solution__item-body {
  font-family: var(--font-helvetica);
  font-size: var(--size-pc-body);
  font-weight: 400;
  line-height: var(--lh-pc-body);
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

/* --- 이미지 PC/SP 전환 --- */
.solution__img {
  display: block;
  max-width: 100%;
  height: auto;
}

.solution__img--pc { display: block; }
.solution__img--sp { display: none; }


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

  .solution {
    padding: 48px 16px;
    gap: 48px;
  }

  .solution__card {
    padding: 24px 16px;
    gap: 32px;
    border-radius: 16px;
  }

  .solution__group {
    gap: 24px;
  }

  .solution__item {
    gap: 8px;
  }

  .solution__item-num,
  .solution__item-heading {
    font-size: var(--size-sp-body);
    line-height: var(--lh-sp-body);
  }

  .solution__item-body {
    font-size: var(--size-sp-body);
    line-height: var(--lh-sp-body);
    padding-left: 20px;
  }

  .solution__img--pc { display: none; }
  .solution__img--sp { display: block; }

}


/* ================================================
   SECTION — Result（結果）
   ================================================ */
.result {
  background-color: var(--color-katch-bg-main);
  padding: 120px 240px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* --- セクション1: 見出し + 目標・ミッション --- */
.result__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result__heading-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section__body strong {
  font-weight: 700;
}

/* インデントリスト (目標・ミッション) */
.result__indent {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.result__indent-bar {
  width: 4px;
  flex-shrink: 0;
  background-color: var(--color-katch-badge-bg);
}

.result__indent-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.result__indent-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result__indent-label {
  font-family: var(--font-helvetica);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-katch-primary);
  letter-spacing: 0;
  white-space: nowrap;
}

.result__indent-text {
  font-family: var(--font-helvetica);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-katch-primary);
  letter-spacing: 0;
  white-space: nowrap;
}

/* --- セクション2: 検証結果 --- */
.result__section {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* PC 2カラム */
.result__columns {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.result__col-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.result__col-image {
  flex-shrink: 0;
  width: 718px;
}

/* インタビュー引用リスト */
.result__quotes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result__quote-item {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.result__quote-bar {
  width: 4px;
  flex-shrink: 0;
  background-color: var(--color-katch-badge-bg);
}

.result__quote-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.result__quote-text {
  font-family: var(--font-helvetica);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

.result__quote-source {
  font-family: var(--font-helvetica);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-katch-secondary);
  letter-spacing: 0;
  white-space: nowrap;
}

/* SP 이미지 전환 */
.result__sns-img--pc {
  display: block;
  max-width: 100%;
  height: auto;
}
.result__sns-img--sp {
  display: none;
  max-width: 100%;
  height: auto;
}

/* quotes + summary 묶음 (gap 16px) */
.result__detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- 結論カード --- */
.result__conclusion {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

.result__arrow {
  width: 31px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.result__conclusion-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.result__conclusion-heading {
  font-family: var(--font-helvetica);
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-katch-primary);
  letter-spacing: 0;
}

.result__conclusion-body {
  font-family: var(--font-helvetica);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-katch-primary);
  letter-spacing: 0;
}


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

  .result {
    padding: 48px 16px;
    gap: 48px;
  }

  .result__indent-bar { width: 2px; }
  .result__indent-items { gap: 16px; }
  .result__indent-label,
  .result__indent-text { font-size: 14px; white-space: normal; }

  .result__section { gap: 48px; }

  /* SP: 세로 배치 */
  .result__columns {
    flex-direction: column;
    gap: 16px;
  }

  .result__col-image {
    width: 100%;
  }

  .result__quote-bar { width: 2px; }
  .result__quote-text { font-size: 14px; }
  .result__quote-source { font-size: 11px; line-height: 16px; white-space: normal; }

  /* SP 이미지 전환 */
  .result__sns-img--pc { display: none; }
  .result__sns-img--sp { display: block; }

  /* 결론 카드: SP 세로 + 중앙 정렬 */
  .result__conclusion {
    flex-direction: column;
    padding: 24px 16px;
    gap: 16px;
    text-align: center;
  }

  /* SP: 화살표 90° 회전 (→ → ↓) */
  .result__arrow {
    width: 23px;
    height: 32px;
    transform: rotate(90deg);
  }

  .result__conclusion-heading {
    font-size: 24px;
    line-height: 36px;
  }

  .result__conclusion-body {
    font-size: 14px;
  }

}


/* ================================================
   SECTION — Case Footer（ケース下部まとめ）
   ================================================ */
.case-footer {
  background-color: #FFFFFF;
  padding: 120px 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
}

/* 見出し */
.case-footer__heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  width: 100%;
}

.case-footer__title {
  font-family: var(--font-helvetica);
  font-size: 48px;
  font-weight: 700;
  line-height: 72px;
  color: var(--color-katch-primary);
  letter-spacing: 0;
  text-align: center;
}

.case-footer__desc {
  font-family: var(--font-helvetica);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-katch-primary);
  letter-spacing: 0;
  text-align: center;
}

/* コンテンツ (badge + テキスト items) */
.case-footer__section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.case-footer__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* badge의 align-self: flex-start를 덮어써서 중앙 정렬 */
.case-footer__item .badge {
  align-self: center;
}

.case-footer__item-text {
  font-family: var(--font-helvetica);
  font-size: 16px;       /* PC: 16px */
  font-weight: 400;
  line-height: 24px;
  color: var(--color-katch-secondary);
  letter-spacing: 0;
  text-align: center;
  width: 100%;
}

/* ダウンロードボタン */
.case-footer__buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}


/* ================================================
   Responsive — Case Footer SP
   ================================================ */
@media (max-width: 768px) {

  .case-footer {
    padding: 48px 16px;
    gap: 48px;
  }

  .case-footer__heading {
    gap: 8px;
  }

  .case-footer__title {
    font-size: 28px;
    line-height: 40px;
  }

  .case-footer__desc {
    font-size: 14px;
  }

  .case-footer__item-text {
    font-size: 14px;     /* SP: 14px */
    white-space: normal;
  }

  .badge--katch {
    font-size: 11px;
    line-height: 16px;
  }

}


/* ================================================
   intro__detail-text — テキスト折り返し
   ================================================ */
.intro__detail-text {
  white-space: normal;
}

/* ================================================
   DIVIDER — overview / research 間
   ================================================ */
.katch-divider {
  height: 1px;
  background-color: rgba(115, 171, 157, 0.2);
  margin: 0 240px;
}

@media (max-width: 768px) {
  .katch-divider {
    margin: 0 16px;
  }
}


/* ================================================
   MARQUEE — KATCH固有スタイル
   ================================================ */
.katch-marquee {
  background-color: rgba(115, 171, 157, 0.2);
}
