/* ============================================================
   strengths.css — 奥田商工の強みページ
   ============================================================ */


/* ============================
   ページヒーロー（company.html と統一）
============================ */
.page-hero {
  background: #c0ccd8 center/cover no-repeat;
  /* background-image: ACF動的出力 (default: strengths.jpg) */
  margin-top: 0;
  height: 450px;
}

.page-hero-title-box {
  margin-left: auto;
  margin-right: 0;
  background: rgba(255, 255, 255, 0.88);
  padding: 28px 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-en { display: none; }
.page-hero-line { display: none; }

.page-hero-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 3px;
  white-space: nowrap;
}

/* ページ内ナビ（company.html と統一：ピル型グリッド） */
.page-subnav {
  background: #fff;
  padding: 32px 0 36px;
  border-bottom: 1px solid #e0eaf0;
}

.page-subnav-list {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 12px 16px;
  width: fit-content;
  margin: 0 auto;
}

.page-subnav-link {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: #fff;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.page-subnav-link:hover,
.page-subnav-link.active {
  background: #d6e6f0;
  color: var(--navy);
  border-color: var(--navy);
}

.nav-current {
  color: var(--teal) !important;
  font-weight: 600;
}


/* ============================
   イントロ
============================ */
.str-intro {
  background: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.str-intro-inner {
  position: relative;
  z-index: 1;
}

.str-intro-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}

.str-intro-text {
  font-size: 14px;
  color: #555;
  line-height: 2;
  text-align: center;
}


/* ============================
   背景大文字 "Strengths"
============================ */
.str-bg-word {
  font-family: 'Noto Sans Hebrew', sans-serif;
  font-weight: 400;
  font-stretch: extra-condensed;
  font-size: 140px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(13,43,78,0.05);
  pointer-events: none;
  user-select: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.str-intro .str-bg-word {
  bottom: 12px;
}


/* ============================
   セクション共通
============================ */
.str-section {
  background: #fff;
}

.str-section--gray {
  background: #D8E6EF;
}

/* セクションヘッダー（番号＋タイトル） */
.str-sec-header {
  position: relative;
  padding: 60px 0 12px;
  overflow: hidden;
}

.str-sec-header .str-bg-word {
  top: 0;
}

.str-sec-num-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 20px;
  gap: 10px;
}

.str-sec-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 96px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: #2A88B4;
}

.str-sec-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}


/* ============================
   01 総合品質のサービス
============================ */
.str-quality-overview {
  padding: 80px 0 72px;
  background: #D0E9F54D;
}

.str-quality-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 100px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.str-quality-text {
  order: 2;
}
.str-quality-venn {
  order: 1;
}

.str-sub-heading {
  font-size: 30px;
  font-weight: 700;
  color: #019CDB;
  margin-bottom: 20px;
}

.str-quality-text p {
  font-size: 20px;
  color: #333;
  line-height: 2.8;
}

/* venn（style.css の共通クラス流用） */
.str-quality-venn .venn {
  position: relative;
  width: 320px;
  height: 300px;
  margin: 0 auto;
}


/* ============================
   技・知・心 ピラー
============================ */
.str-pillar {
  padding: 100px 0 64px;
  background: #fff;
}

.str-pillar--gray {
  background: #F2F5F8;
}

.str-pillar-head {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: none;
  position: relative;
}

.str-pillar-head::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, #BAEAED 0%, #61D9DD 42.79%, #2986B3 100%);
  z-index: 0;
}

.str-pillar-icon {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 100;
  font-size: 120px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: var(--navy);
  display: block;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.str-pillar-head > div {
  flex: 1;
}

.str-pillar-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 45px;
  letter-spacing: 0;
  text-align: center;
  color: var(--navy);
}

.str-pillar-lead {
  font-size: 18px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 100%;
}

/* カード2列 */
.str-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.str-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.str-pillar--gray .str-card {
  background: #fff;
}

/* 画像ラッパー（タグを絶対配置するため） */
.str-card-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.str-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #c8d8e4 center/cover no-repeat;
  display: block;
}

/* 仮画像色 */
.str-img-skill1  { background-color: #8aabb8; }
.str-img-skill2  { background-color: #7a9aaa; }
.str-img-know1   { background-color: #9ab0be; }
.str-img-know2   { background-color: #8aa0b0; }
.str-img-heart1  { background-color: #a0b8a0; }
.str-img-heart2  { background-color: #90a8b8; }

/* 技グリッド実画像 */
/* 技グリッド実画像 — ACF動的出力 */
.str-waza-grid-1 { /* background-image: ACF動的出力 (default: strength-waza2_4-1.png) */ }
.str-waza-grid-2 { /* background-image: ACF動的出力 (default: strength-waza2_4-2.png) */ }
.str-waza-grid-3 { /* background-image: ACF動的出力 (default: strength-waza2_4-3.png) */ }
.str-waza-grid-4 { /* background-image: ACF動的出力 (default: strength-waza2_4-4.png) */ }

/* 心 実画像 — ACF動的出力 */
.str-kokoro-img { /* background-image: ACF動的出力 (default: strength-kokoro2.png) */ }

.str-card-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.str-tag-teal { background: var(--teal);  color: #fff; }
.str-tag-navy { background: var(--navy);  color: #fff; }
.str-tag-gray { background: #777;         color: #fff; }

.str-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0C2C5D;
  line-height: 1.5;
}

/* 右カード：2×2フォトグリッド */
.str-card-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.str-card-photo-grid .str-card-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.str-card-photo-grid .str-card-img {
  height: 100%;
}

.str-card-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}


/* ============================
   02 実績が示す安心感
============================ */
.str-track-lead-wrap {
  background: #D6E1E34D;
  padding: 64px 0;
}

.str-track-body {
  padding: 60px 0 72px;
}

.str-track-lead {
  font-size: 20px;
  color: #555;
  line-height: 2.4;
  margin-bottom: 0;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* 実績数値ボックス */
.str-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.str-stat-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 40px 28px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: 320px;
  gap: 12px;
}

.str-stat-box-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.str-stat-label {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.str-stat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.str-stat-num {
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  line-height: 1;
  flex-wrap: nowrap;
}

.str-stat-num strong {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.str-stat-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.str-stat-sub2 {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

/* データ行 — 5列グリッドで非対称2行レイアウト */
.str-data-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto;
  gap: 24px;
  margin-bottom: 72px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

/* 施設種別: 3/5幅 (row1 left) */
.str-data-card:nth-child(1) { grid-column: 1 / 4; }
/* 創業: 2/5幅 (row1 right) */
.str-data-card:nth-child(2) { grid-column: 4 / 6; }
/* 対応エリア: 2/5幅 (row2 left) */
.str-data-card:nth-child(3) { grid-column: 1 / 3; }
/* 工事規模: 3/5幅 (row2 right) */
.str-data-card:nth-child(4) { grid-column: 3 / 6; }

.str-data-card {
  background: #E8F2F8;
  border-radius: 12px;
  padding: 28px 24px 40px;
}
.str-data-card.str-area-card {
  text-align: center;
}

.str-data-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.str-data-note {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}

.str-data-note-small {
  font-size: 11px;
  color: #888;
  margin-top: 16px;
}

/* ドーナツチャート */
.str-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.str-donut {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.str-donut-legend {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: #444;
}

.str-donut-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.str-donut-legend span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* 創業 */
.str-founding {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.str-founding .str-data-title {
  flex-shrink: 0;
}

.str-founding-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.str-founding-year {
  font-size: 52px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
}

.str-founding-year span {
  font-size: 20px;
  font-weight: 700;
}

.str-founding-sub {
  font-size: 13px;
  color: #888;
}

/* 対応エリア */
.str-area-pref {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.str-area-sub-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.str-area-sub {
  font-size: 14px;
  color: #555;
  line-height: 2;
}

.str-area-catch {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-top: 20px;
  text-align: center;
}

/* 工事規模バー（旧、非使用） */
.str-scale-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.str-scale-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.str-scale-label {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  flex: 0 0 68px;
}

.str-scale-bar-wrap {
  flex: 1;
  height: 8px;
  background: #e0e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.str-scale-bar {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
}

.str-scale-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  flex: 0 0 36px;
  text-align: right;
}


/* ============================
   03 幅広い対応力
============================ */
#service {
  background: none;
}

.str-service-lead-wrap {
  background: #D6E1E34D;
  padding: 64px 0;
}

.str-service-lead {
  font-size: 20px;
  color: #555;
  line-height: 2.4;
  max-width: 90%;
  margin: 0 auto;
}

.str-service-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 60px 0 80px;
  max-width: 880px;
  margin: 0 auto;
}

.str-service-card {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: #63BFE433;
  border-radius: 16px;
  padding: 40px 48px;
  gap: 48px;
}

.str-svc-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 280px;
}

.str-svc-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.str-svc-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.9;
}

.str-svc-btn {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 48px;
  border-radius: 999px;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.str-svc-btn:hover {
  opacity: 0.85;
}

.str-svc-circles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.str-svc-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1.5px solid #00A2DE;
  background: #fff;
  color: #00A2DE;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  padding: 8px;
  flex-shrink: 0;
}


/* ============================
   カウントアップ（script.js 共通流用）
============================ */
.count-num {
  font-style: normal;
}


/* ============================
   RESPONSIVE — Tablet (≤ 1024px)
============================ */
@media (max-width: 1024px) {
  .str-quality-inner {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }

  .str-data-row {
    grid-template-columns: 1fr 1fr;
  }

  .str-service-card {
    gap: 24px;
    padding: 32px 32px;
  }

  .str-svc-info {
    flex: 0 0 240px;
  }

  .str-svc-circles {
    flex-wrap: wrap;
    gap: 10px;
  }

  .str-svc-circle {
    width: 72px;
    height: 72px;
    font-size: 11px;
  }
}


/* ============================
   RESPONSIVE — Mobile (≤ 640px)
============================ */
@media (max-width: 640px) {

  /* ヒーロー */
  .page-hero { margin-top: 0; height: 240px; }
  .page-hero-title-box { margin-left: auto; margin-right: 0; padding: 20px 32px; }
  .page-hero-title { font-size: 18px; letter-spacing: 2px; }
  .page-subnav { display: none; }

  /* 背景大文字 */
  .str-bg-word { font-size: 72px; }

  /* イントロ */
  .str-intro { padding: 40px 0 36px; }
  .str-intro-title { font-size: 15px; }
  .str-intro-text { font-size: 13px; }

  /* セクション共通ヘッダー */
  .str-sec-header { padding: 36px 0 8px; }
  .str-sec-num { font-size: 56px; }
  .str-sec-title { font-size: 20px; letter-spacing: 1px; }

  /* 総合品質 */
  .str-quality-overview { padding: 32px 0; }
  .str-quality-inner { grid-template-columns: 1fr; gap: 24px; }
  .str-sub-heading { font-size: 20px; text-align: center; }
  .str-quality-text p { font-size: 14px; line-height: 2; text-align: center; }
  .str-quality-venn { display: flex; justify-content: center; }
  .str-quality-venn .venn { width: 160px; height: 160px; }

  /* 技・知・心 ピラー */
  .str-pillar { padding: 32px 0 36px; }
  .str-pillar-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 12px;
  }
  .str-pillar-head::after { bottom: 8px; height: 6px; }
  .str-pillar-icon { font-size: 72px; }
  .str-pillar-title { font-size: 17px; line-height: 1.5; text-align: left; }
  .str-pillar-lead { font-size: 13px; margin-bottom: 20px; }
  .str-cards { grid-template-columns: 1fr; }
  .str-card { padding: 16px 16px 20px; }
  .str-card-title { font-size: 14px; }
  .str-card-desc { font-size: 12px; }

  /* 実績 — リードテキスト */
  .str-track-lead-wrap { padding: 36px 0; }
  .str-track-lead { font-size: 14px; line-height: 2; max-width: 100%; }
  .str-track-body { padding: 32px 0 40px; }

  /* 実績数値ボックス */
  .str-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
  }
  .str-stat-box { min-height: auto; padding: 20px 10px; }
  .str-stat-label { font-size: 13px; letter-spacing: 0; }
  .str-stat-num strong { font-size: 36px; }
  .str-stat-sub { font-size: 10px; margin-bottom: 6px; }
  .str-stat-sub2 { font-size: 10px; }

  /* データカード — 1列縦並び＋スパンリセット */
  .str-data-row {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    max-width: 100%;
    margin-bottom: 40px;
    gap: 12px;
  }
  .str-data-card:nth-child(1),
  .str-data-card:nth-child(2),
  .str-data-card:nth-child(3),
  .str-data-card:nth-child(4) {
    grid-column: auto;
  }
  .str-data-card { padding: 20px 16px; }
  .str-data-title { font-size: 15px; margin-bottom: 16px; }
  .str-donut { width: 100px; height: 100px; }
  .str-founding { height: auto; }
  .str-founding-year { font-size: 36px; }
  .str-area-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
  }
  .str-area-card p { margin: 0; }
  .str-area-card .str-data-title { align-self: flex-start; margin-bottom: 4px; }
  .str-area-pref { font-size: 22px; }
  .str-area-sub { line-height: 1.5; }
  .str-area-catch { margin-top: 6px !important; font-size: 13px; line-height: 1.6; }

  /* サービス — リードテキスト */
  .str-service-lead-wrap { padding: 36px 0; }
  .str-service-lead { font-size: 14px; line-height: 2; max-width: 100%; }

  /* サービスカード */
  .str-service-cards { padding: 28px 0 48px; gap: 16px; }
  .str-service-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 20px;
  }
  .str-svc-info { flex: none; width: 100%; }
  .str-svc-name { font-size: 18px; }
  .str-svc-desc { font-size: 12px; }
  .str-svc-btn { padding: 10px 32px; }
  .str-svc-circles {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
  }
  .str-svc-circle { width: 60px; height: 60px; font-size: 12px; padding: 6px; }
}
