/* ============================================================
   ソリューション共通CSS - solutions.css
   ============================================================ */

/* Hero */
.p-sol__hero {
  background: linear-gradient(135deg, #0a3d6b 0%, #0062D6 100%);
  color: #fff;
  padding: 100px 20px 60px;
  text-align: center;
}
.p-sol__hero-en {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  opacity: 0.6;
  display: block;
}
.p-sol__hero-ttl {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 12px;
  letter-spacing: 0.03em;
}
.p-sol__hero-copy {
  font-size: 1.05rem;
  margin-top: 16px;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* コンテンツラッパー */
.p-sol__wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* セクション共通 */
.p-sol__section {
  margin-top: 60px;
}
.p-sol__section-ttl {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a3d6b;
  padding-bottom: 12px;
  border-bottom: 3px solid #0062D6;
  margin-bottom: 28px;
}

/* ===== こんな状況ではありませんか？ ===== */
.p-sol__problems {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-sol__problems li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff5f5;
  border-radius: 10px;
  border-left: 5px solid #e74c3c;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  color: #333;
}
.p-sol__problems li::before {
  content: '!';
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* ===== 解決アプローチ（タイムライン） ===== */
.p-sol__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.p-sol__step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
  border-bottom: none;
}
.p-sol__step:last-child {
  border-bottom: none;
}
.p-sol__step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0062D6, #0a3d6b);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(0, 98, 214, 0.3);
}
.p-sol__step-num strong {
  font-size: 1.4rem;
  font-weight: 900;
}
.p-sol__step-body {
  flex: 1;
  padding-top: 4px;
}
.p-sol__step-ttl {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a3d6b;
}
.p-sol__step-txt {
  font-size: 0.95rem;
  color: #444;
  margin-top: 8px;
  line-height: 1.7;
}

/* ===== 導入メリット（3列カードグリッド） ===== */
.p-sol__merits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p-sol__merit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d0e2f7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.p-sol__merit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 98, 214, 0.12);
}
.p-sol__merit-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0062D6, #00DEFA);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(0, 98, 214, 0.25);
}
.p-sol__merit-body {
  margin-top: 16px;
}
.p-sol__merit-body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0a3d6b;
}
.p-sol__merit-body p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
  line-height: 1.6;
}

/* メリットセクション背景 */
.p-sol__section:last-of-type {
  background: #f4f8fd;
  margin-left: -20px;
  margin-right: -20px;
  padding: 40px 20px;
  border-radius: 16px;
}

/* ===== ページ内CTA ===== */
.p-sol__cta {
  margin-top: 60px;
  background: linear-gradient(135deg, #0a3d6b, #0062D6);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 98, 214, 0.2);
}
.p-sol__cta-ttl {
  font-size: 1.5rem;
  font-weight: 800;
}
.p-sol__cta-txt {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 12px;
  line-height: 1.7;
}
.p-sol__cta-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 48px;
  background: #fff;
  color: #0062D6;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.p-sol__cta-btn:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* ===== ソリューション一覧ページ ===== */
.p-sol-index__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.p-sol-index__card {
  display: block;
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  text-decoration: none;
  transition: all 0.2s;
}
.p-sol-index__card:hover {
  border-color: #0062D6;
  box-shadow: 0 4px 16px rgba(0,98,214,0.12);
  text-decoration: none;
  transform: translateY(-2px);
}
.p-sol-index__card-num {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0062D6;
  opacity: 0.5;
}
.p-sol-index__card-ttl {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a3d6b;
  margin-top: 6px;
}
.p-sol-index__card-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-top: 8px;
  line-height: 1.6;
}
.p-sol-index__card-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0062D6;
}

/* ===== レスポンシブ ===== */
@media (max-width: 767px) {
  .p-sol__hero {
    padding: 70px 16px 40px;
  }
  .p-sol__hero-ttl {
    font-size: 1.4rem;
  }
  .p-sol__hero-copy {
    font-size: 0.9rem;
  }
  .p-sol__wrap {
    padding: 0 16px 40px;
  }
  .p-sol__section {
    margin-top: 40px;
  }
  .p-sol__section-ttl {
    font-size: 1.2rem;
  }
  /* 課題リスト */
  .p-sol__problems { gap: 12px; }
  .p-sol__problems li {
    padding: 16px 16px;
    font-size: 0.95rem;
    gap: 12px;
  }
  .p-sol__problems li::before {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
  /* ステップ */
  .p-sol__steps { padding-left: 0; }
  .p-sol__step {
    gap: 16px;
    padding: 18px 0;
  }
  .p-sol__step-num {
    width: 44px;
    height: 44px;
    font-size: 0.55rem;
  }
  .p-sol__step-num strong {
    font-size: 1.1rem;
  }
  .p-sol__step-ttl { font-size: 1.05rem; }
  .p-sol__step-txt { font-size: 0.9rem; }
  /* メリット */
  .p-sol__merits {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .p-sol__merit {
    flex-direction: row;
    text-align: left;
    padding: 20px;
    gap: 16px;
  }
  .p-sol__merit-body { margin-top: 0; }
  .p-sol__merit-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .p-sol__section:last-of-type {
    margin-left: -16px;
    margin-right: -16px;
    padding: 28px 16px;
  }
  /* CTA */
  .p-sol__cta {
    padding: 32px 20px;
    border-radius: 12px;
  }
  .p-sol__cta-ttl { font-size: 1.2rem; }
  .p-sol__cta-btn { padding: 14px 36px; font-size: 1rem; }
  /* 一覧 */
  .p-sol-index__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
