@charset "UTF-8";

/* ===========================
   jisseki.css
   導入実績ページ専用スタイル
   
   ※ main.cssで定義済みのため省略したもの：
      :root / * / body / img / a
      .section-label / .section-title / .section-desc
      section { padding }
      .btn-primary / .btn-secondary
      header / footer / .breadcrumb
      レスポンシブ section { padding }
=========================== */

/* ===========================
   紺背景ヘッダー：Track Record エリア
   ラベル＋タイトルのみ表示する帯
=========================== */
.impact-header {
  background: linear-gradient(135deg, #1a2744 0%, #1e3a5f 60%, #1a3550 100%);
  padding: 80px 80px 64px;
}

/* ダーク背景用：ラベル色上書き */
.impact-header .section-label {
  color: var(--teal);
}
.impact-header .section-label::before { background: var(--teal); }
/* ダーク背景用：タイトル色上書き */
.impact-header .section-title {
  color: var(--white);
}
.impact-header .section-title em {
  font-style: normal;
  color: var(--teal);
}

/* ===========================
   数字インパクトエリア（白背景）
=========================== */
.numbers-section {
  background: var(--white);
  padding: 80px 80px;
}
.numbers-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* -----------------------------------------------
   メインカード：180分→10分
----------------------------------------------- */
.main-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.3s;
}
.main-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(130,216,208,0.2);
}

/* カードバッジ */
.main-card-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  padding: 5px 18px;
  border-radius: 100px;
  font-weight: 700;
  margin-bottom: 36px;
}

/* 数字比較エリア */
.numbers-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.num-block { text-align: center; }
.num-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 6px;
}
/* 導入前：打ち消し線・薄く */
.num-before .num-val {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900;
  color: rgba(26,39,68,0.15);
  line-height: 1;
  position: relative;
  display: inline-block;
}
/* 打ち消し線を疑似要素で正確に中央に配置 */
.num-before .num-val::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 3px;
  background: rgba(255,80,80,0.35);
}
.num-before .num-unit { font-size: 18px; color: rgba(26,39,68,0.15); font-weight: 700; }
.num-arrow { font-size: 28px; color: var(--teal-dark); font-weight: 900; flex-shrink: 0; }
/* 導入後：ティールで大きく */
.num-after .num-val {
  font-size: clamp(60px, 10vw, 100px);
  font-weight: 900;
  color: var(--teal-dark);
  line-height: 1;
}
.num-after .num-unit { font-size: 22px; color: var(--teal-dark); font-weight: 700; }
.num-note { font-size: 13px; color: var(--text-light); margin-top: 6px; font-weight: 300; }

/* カード説明文 */
.main-card-desc {
  color: var(--text-light);
  font-size: 16px;
  line-height: 2.2;
  font-weight: 300;
  margin: 28px 0;
}
.main-card-desc strong { color: var(--navy); font-weight: 700; }

/* フロー図 */
.flow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.flow-step {
  background: var(--teal-pale);
  border: 1px solid var(--teal-mid);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.flow-arrow { color: var(--teal-dark); font-size: 11px; font-weight: 700; }

/* 技術タグ */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}
.tech-tag {
  font-size: 13px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  padding: 4px 14px;
  border-radius: 100px;
}

/* CTAボタン：このページだけ文字色を白に上書き */
.closing .btn-primary {
  color: var(--white);
}
/* -----------------------------------------------
   サブ数字カード（3列）
----------------------------------------------- */
.sub-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.sub-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.sub-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(130,216,208,0.15);
  transform: translateY(-3px);
}
.sub-card-icon { font-size: 26px; display: block; margin-bottom: 10px; }
.sub-card-num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.sub-card-unit { font-size: 14px; font-weight: 700; color: var(--teal-dark); }
.sub-card-label { font-size: 13px; color: var(--text-light); margin-top: 10px; line-height: 1.8; font-weight: 300; }

/* -----------------------------------------------
   メリットカード3枚（薄ティール背景）
----------------------------------------------- */
.merit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.merit-card {
  background: var(--teal-pale);
  border: 1.5px solid var(--teal-mid);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 12px;
}
.merit-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(130,216,208,0.2);
}
.merit-icon {
  font-size: 26px;
  grid-row: 1;
  grid-column: 1;
  line-height: 1.5;
  display: block;
  margin-bottom: 0;
}
.merit-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.5;
  grid-row: 1;
  grid-column: 2;
}
.merit-body {
  font-size: 16px;
  color: var(--text-light);
  line-height: 2.2;
  font-weight: 300;
  grid-row: 2;
  grid-column: 1 / -1;
}
.merit-body strong { color: var(--navy); font-weight: 700; }

/* -----------------------------------------------
   締めメッセージ＋CTA
----------------------------------------------- */
.closing { text-align: center; }
.closing-message {
  background: var(--teal-pale);
  border-left: 4px solid var(--teal);
  border-radius: 0 16px 16px 0;
  padding: 32px 40px;
  margin-bottom: 40px;
  text-align: left;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.closing-message p {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 14px;
}
.closing-message p:last-child { margin-bottom: 0; }
.closing-message em { font-style: normal; color: var(--teal-dark); }
.closing-sub {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: var(--text-light) !important;
  line-height: 2.2 !important;
}
.btn-note { display: block; font-size: 13px; color: var(--text-light); margin-top: 14px; font-weight: 300; }

/* ===========================
   「制作・導入実績 一覧」帯ヘッダー（navy背景）
=========================== */
.works-header {
  background: linear-gradient(135deg, #1a2744 0%, #1e3a5f 60%, #1a3550 100%);
  padding: 56px 80px;
  text-align: center;
}
.works-header .section-label { color: var(--teal); justify-content: center; }
.works-header .section-label::before { background: var(--teal); }
.works-header .section-title { color: var(--white); text-align: center; }
.works-header .section-desc { color: rgba(255,255,255,0.6); margin: 0 auto; text-align: center; }

/* ===========================
   個別実績カードセクション
=========================== */
.own-section   { background: var(--white); }
.client-section { background: var(--bg2); }

/* ブロック区切り見出し */
.block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 56px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border);
}
.block-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
}
.badge-own    { background: var(--teal); color: var(--navy); }
.badge-client { background: var(--teal-pale); color: var(--teal-dark); border: 1px solid var(--teal-mid); }
.block-title-text { font-size: 16px; font-weight: 700; color: var(--navy); }

/* カードグリッド（2列） */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 実績カード */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(130,216,208,0.2);
  transform: translateY(-4px);
}

/* カードバッジ */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
  width: fit-content;
}
.card-badge.own    { background: var(--teal); color: var(--navy); }
.card-badge.client { background: var(--teal-pale); color: var(--teal-dark); border: 1px solid var(--teal-mid); }

.card-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.card-body  { font-size: 16px; color: var(--text-light); line-height: 2.2; font-weight: 300; margin-bottom: 20px; flex: 1; }

/* タグ */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag { font-size: 13px; background: var(--teal-pale); color: var(--teal-dark); padding: 4px 12px; border-radius: 100px; }

/* 成果ボックス */
.result-box {
  background: var(--teal-pale);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-top: auto;
}
.result-label { font-size: 13px; font-weight: 700; color: var(--teal-dark); margin-bottom: 4px; }
.result-text  { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.8; }

/* 注記 */
.section-note { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-light); font-weight: 300; }

/* ===========================
   レスポンシブ（jisseki.css専用クラスのみ）
   ※ section { padding } は main.css 側で対応済み
=========================== */
@media (max-width: 900px) {
  .impact-header,
  .numbers-section,
  .works-header { padding: 56px 28px; }

  .sub-cards,
  .merit-cards,
  .cards-grid { grid-template-columns: 1fr; }

  .main-card { padding: 36px 20px; }
  .closing-message { padding: 24px 20px; }
  .numbers-compare { gap: 20px; }
  .block-header { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .num-after .num-val { font-size: 64px; }
  .num-before .num-val { font-size: 48px; }
}