/* ============================================================
   irohana match ページ専用スタイル
   /so/match
   共通スタイルは page-service-common.css（svc- プレフィックス）を参照
============================================================ */

.page-so-match {
  --color-primary: #E65100;

  background: #fff;
  padding-top: 72px;
  /* fixed header分 */
}

/* ============================================================
   ファーストビュー（セクション固有）
============================================================ */

.match-fv {
  margin: 0 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff884d 0%, #ffbf5e 100%);
}

/* match は title-lg / title-sm という独自サイズ分けを持つ */
.match-fv__title-lg {
  font-size: 50px;
}

/* ページ固有のボタン（白ボタンなし、黄・オレンジの2色） */
.match-fv__btn--yellow {
  background: #d7d00b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-opacity);
}

.match-fv__btn--orange {
  background: #ff5a00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-opacity);
}

.match-fv__btn--yellow:hover,
.match-fv__btn--orange:hover {
  opacity: 0.85;
}


/* figure-number-wrap はページ固有 */
.match-fv__figure-number-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-direction: column;
}

/* ============================================================
   中間CTA（カード背景グラデーション上書き）
============================================================ */

.match-cta-mid {
  padding: 0 0 80px;
  background: #fff;
}

.match-cta-mid .svc-cta-mid__card {
  background: linear-gradient(90deg, #f66f26 0%, #e65100 100%);
}

/* ============================================================
   About（カード背景色上書き＋match固有のcard-imgスタイル）
============================================================ */

.match-about {
  padding: 100px 0;
  background: #fff;
}

/* ヘッダー固有要素 */
.match-about__label {
  font-weight: 700;
  font-size: 14px;
  color: #2a2d2a;
  letter-spacing: 0.06em;
  margin: 0;
}

.match-about__headline {
  font-weight: 700;
  font-size: 34px;
  color: #2a2d2a;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 0;
}

.match-about__headline-accent {
  color: #E65100;
}

.match-about__body {
  font-size: 16px;
  color: #2a2d2a;
  line-height: 1.75;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
}

/* カード背景色 */
.match-about .svc-about__card {
  background: #f6bf6b;
}

.match-about .svc-about__card--dark {
  background: #f5b75a;
}

/* match固有: card-bodyのテキスト中央揃え */
.match-about .svc-about__card-body {
  text-align: center;
}

/* ============================================================
   Benefit（3つのスピード改善） — match固有セクション
============================================================ */

.match-benefit {
  padding: 100px 0;
  background: #fff;
}

/* ---- ヘッダー ---- */
.match-benefit__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
}

.match-benefit__headline {
  font-weight: 700;
  font-size: 34px;
  color: #2a2d2a;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

.match-benefit__headline-accent {
  color: #E65100;
  text-decoration: underline;
  text-decoration-color: #E65100;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.match-benefit__desc {
  font-size: 16px;
  color: #2a2d2a;
  line-height: 1.75;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* ---- 3カードグリッド ---- */
.match-benefit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.match-benefit__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(42, 45, 42, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.match-benefit__card-img {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.match-benefit__card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.match-benefit__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 30px 30px;
  position: relative;
  flex: 1;
}

.match-benefit__card-num {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-weight: 500;
  font-size: 12px;
  color: rgba(42, 45, 42, 0.3);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.match-benefit__card-title {
  font-weight: 700;
  font-size: 22px;
  color: #2a2d2a;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 0;
}

.match-benefit__card-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #E65100;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0;
}

.match-benefit__card-sub-line {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 2px;
  background: #E65100;
}

.match-benefit__card-desc {
  font-size: 14px;
  color: #2a2d2a;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* ============================================================
   課題と解決
============================================================ */

.match-sol {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, #f5f3ed 31%);
}


/* アイテム固有要素 */
.match-sol .svc-sol__item {
  border: 1px solid rgba(230, 81, 0, 0.1);
  border-top: 3px solid #E65100;
}

.match-sol__item-label {
  display: flex;
  align-items: center;
  gap: 10px;
}


.match-sol .svc-sol__item-img img {
  border: 1px solid rgba(230, 81, 0, 0.1);
}

.match-sol .svc-sol__badge {
  border: 1px solid rgba(230, 81, 0, 0.5);
}

/* ============================================================
   機能セクション
============================================================ */

.match-feature {
  padding: 100px 0;
  background: #fff;
}

.match-feature__headline {
  font-weight: 700;
  font-size: 34px;
  color: #2a2d2a;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

.match-feature__desc {
  font-size: 16px;
  color: #2a2d2a;
  line-height: 1.75;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* ============================================================
   導入事例
============================================================ */

.match-case {
  background: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}

.match-case__headline {
  font-weight: 700;
  font-size: 40px;
  color: #2a2d2a;
  margin: 0;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ケースカード背景色 */
.match-case .svc-case__card {
  background: #fdf2ec;
  border: 1px solid rgba(230, 81, 0, 0.1);
}

/* ============================================================
   サイドバー
============================================================ */

.match-sidebar {
  padding: 20px;
  position: sticky;
  top: 80px;
}

/* ============================================================
   FAQ オーバーライド
============================================================ */

.match-faq .biz-faq__q-label {
  color: #E65100;
  border-color: #E65100;
}

.match-faq .biz-faq__toggle {
  background: #E65100;
}

/* ============================================================
   CTA オーバーライド
============================================================ */

.match-cta .biz-cta__download {
  background: linear-gradient(90deg, #f5a67c 0%, #E65100 100%);
}

.match-cta .biz-cta__col {
  background: linear-gradient(135deg, #E65100 0%, #bf4000 100%);
}

/* ============================================================
   Tablet  (max-width: 1199px)
============================================================ */
@media (max-width: 1199px) {
  .match-benefit__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .match-fv__title-lg {
    font-size: 38px;
  }
}

/* ============================================================
   Mobile  (max-width: 767px)
============================================================ */
@media (max-width: 767px) {
  .page-so-match {
    padding-top: 72px;
  }

  /* FV */
  .match-fv {
    margin: 0 12px;
  }

  .match-fv__title-lg {
    font-size: 30px;
  }


  /* About */
  .match-about {
    padding: 60px 0;
  }

  .match-about__headline {
    font-size: 22px;
  }

  /* Sol desc / feature desc / about body */
  .match-feature__desc,
  .match-about__body {
    font-size: 14px;
  }

  /* Sol */
  .match-sol {
    padding: 60px 0;
  }

  /* Benefit */
  .match-benefit {
    padding: 60px 0;
  }

  .match-benefit__headline {
    font-size: 22px;
  }

  .match-benefit__desc {
    font-size: 14px;
  }

  .match-benefit__card-title {
    font-size: 18px;
  }

  .match-benefit__card-body {
    gap: 10px;
  }

  .match-benefit__grid {
    grid-template-columns: 1fr;
  }

  /* Feature */
  .match-feature {
    padding: 60px 0;
  }

  .match-feature__headline {
    font-size: 22px;
  }

  /* Case */
  .match-case {
    padding: 60px 0;
  }

  .match-case__headline {
    font-size: 22px;
  }
}