/*
================================================================================
製品ページ群 共通カスタムスタイルシート
================================================================================
ファイル名: product-style.css
役割:
- style-bs5.css (会社共通CSS) に加えて、製品ページ群に特化したスタイルを
  定義します。
- 製品ヘッダー (topmenu.inc) や製品フッター (widefooter.inc) のような、
  製品サイト固有のインクルードファイルに関連するスタイルを含みます。
- 各ページ (index.html, case.html など) 固有のレイアウト調整や
  コンポーネントのスタイルを定義します。

構成:
1. 製品サイト共通スタイル (ページ全体・汎用コンポーネント)
2. 製品ヘッダー (topmenu.inc) スタイル - Bootstrap 5対応
3. 製品フッター (widefooter.inc) スタイル
4. ページ固有スタイル
5. Bootstrap 3 互換スタイル (レガシー、将来的に置き換え推奨)

更新履歴:
- 2025年: Bootstrap 5 移行に伴う大幅な整理
  - 使用されていない Bootstrap 3/4 ナビゲーションスタイルを削除
  - Bootstrap 5 の製品ヘッダースタイルを追加
  - 配布用にセクション構成とコメントを整理

================================================================================
*/

/* ===================================================================
   1. 製品サイト共通スタイル
   =================================================================== */

/* --- ページ全体のフォントや行間の調整 --- */
.ld-page-body {
    font-family: sans-serif;
    line-height: 1.6;
}

body {
  background-color: #f8f9fa;
}

p {
   line-height: 22px;
}

li {
   line-height: 150%;
}

/* --- セクション共通スタイル --- */
/* 使用: index.html, event-seminar.html, license.html, trial.html, case.html など */
.section-wrapper {
  padding: 60px 0;
  background-color: #ffffff;
}

/* 偶数番目のセクションを灰色背景に */
.section-wrapper:nth-child(even) {
  background-color: #f8f9fa;
}

.section-wrapper.bg-light {
  background-color: #ffffff !important;
}

/* 使用: index.html, event-seminar.html, case.html など (コンテンツカード) */
.section-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* --- スクロールフェードインアニメーション --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   2. 製品ヘッダー (topmenu.inc) スタイル - Bootstrap 5 対応
   =================================================================== */
/*
   注意: topmenu.inc は Bootstrap 5 の navbar 構造を使用しています
   使用クラス: .navbar, .navbar-expand-lg, .nav-item, .nav-link,
              .dropdown, .dropdown-menu, .dropdown-item
*/

/* ナビゲーションバーの基本スタイル */
.prodnavbar {
  background-color: #a7f0bfd3;
  border-bottom: 7px solid #7dd89f;
  margin-bottom: 0;
  margin-top: 3px;
}

/* ナビゲーションリンクの文字色 */
.prodnavbar .nav-link {
  color: #23527c !important;
}

/* ホバー時の文字色 */
.prodnavbar .nav-link:hover,
.prodnavbar .nav-link:focus {
  color: #337ab7 !important;
}

/* ハンバーガーメニューのトグルボタン */
.prodnavbar .navbar-toggler {
  border-color: #336ca1;
}

.prodnavbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(51, 106, 161, 0.25);
}

/* ハンバーガーメニューアイコン（明るい背景用に暗いアイコン） */
.prodnavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ドロップダウンメニューの表示 */
.prodnavbar .dropdown-menu {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  margin-top: 0.125rem;
}

/* Bootstrap 5のドロップダウンが開いた時の表示 */
.prodnavbar .dropdown-menu.show {
  display: block;
}

.prodnavbar .dropdown-item {
  color: #333;
  padding: 0.25rem 1rem;
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.prodnavbar .dropdown-item:hover,
.prodnavbar .dropdown-item:focus {
  color: #262626;
  background-color: #f5f5f5;
  text-decoration: none;
}

/* ドロップダウンの区切り線 */
.prodnavbar .dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Bootstrap 5 のドロップダウン矢印を表示 */
.prodnavbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* ===================================================================
   3. 製品フッター (widefooter.inc) スタイル
   =================================================================== */
/* .product クラスの製品フッター */
footer.product {
  background-color: #a7f0bfd3;
  margin: 0 !important;
  padding: 15px 20px 10px 20px !important;
  text-align: left;
}

/* .ld-footer クラスでスコープを限定 */
footer.ld-footer {
  background-color: #000000;
  margin: 0;
  padding: 30px 20px;
  text-align: left;
  border-top: 7px solid #A4A4A4;
}

footer.ld-footer h3 {
  color: #ffffff;
  font-size: 18px;
}

footer.ld-footer p.footerlist {
  color: #ffffff;
  line-height: 180%;
}

footer.ld-footer p.footerlist a {
  color: #ffffff;
  text-decoration: none;
}

footer.ld-footer p.footerlist a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* ===================================================================
   4. ページ固有スタイル
   =================================================================== */

/* --- 共通スタイル（複数ページで使用） --- */
.section-title {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h1,
h2,
h3 {
  color: #265a88;
  font-weight: bold;
}

.subsection-title {
    color: #0056b3;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* --- index.html 向けスタイル --- */
.section-intro-title {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.section-main-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.75rem;
    font-weight: 500;
    color: #0056b3;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.section-what-is-ld {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section-what-is-ld .lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
}

.section-what-is-ld p {
    color: #444;
    line-height: 1.75;
    color: #333;
    margin-bottom: 1.5rem;
}

/* --- 機能リスト (index.html) --- */
.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem !important;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 2rem;
    color: #007bff;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-item strong {
    font-size: 1.2rem !important;
    display: block !important;
}

/* --- ヒーローセクション (index.html) --- */
.hero-section {
  position: relative;
  padding: 6rem 0;
  background-image: url('../images/silver_background.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 70, 0.9) 0%, rgba(65, 40, 90, 0.85) 50%, rgba(171, 89, 103, 0.75) 100%);
}

.hero-logo {
  max-width: 400px;
  width: 100%;
}

.hero-title {
  font-weight: 700;
}

.hero-subtitle {
  max-width: 750px;
  opacity: 0.9;
}

/* --- カードスタイル --- */
.benefit-card-modern {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem;
}

.benefit-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* --- ボタン --- */
.hero-section .btn-primary {
  background: linear-gradient(135deg, #e9758a, #ff9a8b);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 117, 138, 0.4);
}

.hero-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 117, 138, 0.5);
  background: linear-gradient(135deg, #ff9a8b, #e9758a);
}

.hero-section .btn-outline-light {
  transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
  background-color: rgba(171, 89, 103, 0.8);
  border-color: rgba(171, 89, 103, 0.8);
  color: #fff;
}

/* --- Enterprise Benefits セクション (index.html) --- */
.enterprise-benefits-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 4rem 0;
}

.enterprise-benefits-section h3 .fas {
  color: #79bcfc !important;
}

.white-body-content {
    color: white;
}

#enterprise-benefits {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    padding: 3rem !important;
    margin: 3rem auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 900px;
}

#enterprise-benefits h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
}

#enterprise-benefits h3 {
    color: #ffffff;
}

#enterprise-benefits p {
    color: #ffffff;
}

#enterprise-benefits ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

#enterprise-benefits li {
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid #2727278c;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
    background-color: #35353594;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

#enterprise-benefits li .icon {
    font-size: 3em;
    margin-right: 20px;
    color: #007bff;
    margin-bottom: 10px;
}

/* テーブルスタイル (index.html) */
#index-edition-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

#index-edition-table th,
#index-edition-table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

#index-edition-table th {
    background-color: #f2f2f2;
}

/* --- pricing.html, document.html, faq.html --- */
#launchdarkly-enterprise-pricing {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}

#launchdarkly-enterprise-pricing h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

#launchdarkly-enterprise-pricing h3 {
    margin-top: 30px;
}

#launchdarkly-enterprise-pricing p {
    line-height: 1.6;
    margin-bottom: 10px;
}

#launchdarkly-enterprise-pricing ul {
    list-style: none;
    padding: 0;
}

#launchdarkly-enterprise-pricing li {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

#launchdarkly-enterprise-pricing button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#launchdarkly-enterprise-pricing details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#launchdarkly-enterprise-pricing summary {
    cursor: pointer;
    font-weight: bold;
}

#launchdarkly-enterprise-pricing ul ul details {
    border: none;
    padding: 0;
    margin-bottom: 5px;
    box-shadow: none;
    background-color: transparent;
}

#launchdarkly-enterprise-pricing ul ul summary {
    font-weight: normal;
    cursor: pointer;
    padding: 5px 0;
    color: #337ab7;
}

/* --- compare.html --- */
.subsubsection-title {
    color: #0056b3;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.section-content {
    margin-bottom: 30px;
}

table.tableizer-table {
    font-size: 14px;
    border: 1px solid #CCC;
    font-family: Arial, Helvetica, sans-serif;
}

.tableizer-table td {
    padding: 4px;
    margin: 3px;
    border: 1px solid #CCC;
}

.tableizer-table th {
    background-color: #01228B;
    color: #FFF;
    font-weight: bold;
}

.custom-inquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-inquiry-button:hover {
    background-color: #0056b3;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.comparison-table th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.guardian-edition-details,
.target-audience,
.feature-comparison {
    margin-bottom: 40px;
}

/* --- case.html / document.html --- */
.case-study-list {
    list-style-type: none;
    padding-left: 0;
}

.case-study-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 25px;
    background-color: #fdfdfd;
    border: 1px solid #eaeaea;
    border-left: 5px solid #007bff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease-in-out;
}

.case-study-item:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.case-study-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.case-study-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.case-study-content {
    flex-grow: 1;
}

.case-study-content h3 {
    font-size: 1.7em;
    margin-top: 0;
    margin-bottom: 10px;
}

.case-study-content h3 a {
    text-decoration: none;
    color: #333;
}

.case-study-content h3 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.case-study-number {
    font-weight: 600;
    color: #555;
}

.case-study-company {
    font-weight: 700;
}

.case-study-content p {
    margin-bottom: 0;
    line-height: 1.65;
    color: #444;
}

/* --- compatible.html --- */
.intro-text {
    margin-bottom: 30px;
}

.intro-text .attention {
    color: red;
}

.button-container {
    text-align: center;
    margin-bottom: 30px;
}

.custom-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.custom-button:hover {
    background-color: #0056b3;
}

.sdk-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.sdk-section {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sdk-section h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.sdk-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.common-matters ul {
    list-style-type: disc;
    padding-left: 20px;
}

.integration-section {
    margin-bottom: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.common-matters {
    padding-top: 20px;
    padding-bottom: 20px;
}

.integration-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.integration-category {
    margin-bottom: 20px;
}

.api-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.api-section h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.api-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.api-section ol {
    list-style-type: decimal;
    padding-left: 20px;
}

.last-text {
    font-size: 0.9em;
    color: #666;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
}

.common-matters .section-content,
.integration-section .section-content,
.api-section .section-content {
    padding-left: 15px;
    border-left: 3px solid #007bff;
    margin-left: 5px;
    background-color: #fdfdfd;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}

.common-matters .subsection-title,
.integration-section .subsection-title,
.api-section .subsection-title {
    margin-bottom: 15px;
    padding-left: 10px;
}

.integration-category h4 {
    color: #333;
    font-size: 1.15em;
    margin-top: 25px;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ccc;
}

.common-matters ul,
.integration-section ul,
.api-section ul,
.api-section ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.common-matters li,
.integration-section li,
.api-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.section-content strong {
    color: #0056b3;
}

.integration-section .section-content h3 {
    font-size: 1.2em;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.api-section .section-content h3 {
    font-size: 1.2em;
    color: #555;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* ブログ記事紹介セクション (compatible.html) */
.blog-feature-section {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #007bff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.blog-feature-thumbnail {
    flex: 1;
    min-width: 0;
    max-width: 33.33%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
}

.blog-feature-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.2s ease-in-out;
    object-fit: cover;
}

.blog-feature-thumbnail a:hover img {
    transform: scale(1.05);
}

.blog-feature-content {
    flex: 2;
    min-width: 0;
    max-width: 66.67%;
}

.blog-feature-content h2 {
    margin-top: 0;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.blog-feature-content h2 a {
    text-decoration: none;
    color: #0056b3;
}

.blog-feature-content h2 a:hover {
    text-decoration: underline;
    color: #003f80;
}

.blog-feature-content p {
    margin-bottom: 0;
    line-height: 1.6;
    color: #333;
}

/* --- inquiry.html --- */
.inquiry-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.inquiry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.inquiry-card .card-title {
    color: #0056b3;
}

.inquiry-card .btn {
    padding: 0.75rem 1.5rem;
}

/* --- faq.html --- */
#faq-section details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#faq-section summary {
    cursor: pointer;
    font-weight: bold;
}

/* --- 主要メリットカード (index.html) --- */
.key-benefits-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    color: white;
}

.key-benefits-section h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* --- CTAボタン (index.html) --- */
.btn-inquiry {
    background: linear-gradient(135deg, #e9758a, #ff9a8b);
    border: none;
    padding: 1.2rem 3rem !important;
    font-size: 1.25rem !important;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(233, 117, 138, 0.4);
    transition: all 0.3s ease;
    color: white !important;
}

.btn-inquiry:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 117, 138, 0.5);
    background: linear-gradient(135deg, #ff9a8b, #e9758a);
}

.btn-inquiry-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
    color: white !important;
    margin-top: 1rem;
}

.btn-inquiry-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.5);
}

/* --- 統計数値の強調表示 (index.html) --- */
.stats-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* --- セクション間の余白調整 --- */
.container > .row {
    margin-bottom: 0;
}

/* --- ロゴカード (compatible.html) --- */
.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #333;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    height: 100%;
    background-color: #f8f9fa;
    transition: all 0.2s ease-in-out;
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #007bff;
}

.tech-card img {
    height: 56px;
    width: 56px;
    margin-bottom: 0.75rem;
    object-fit: contain;
}

/* --- ブログカード (compatible.html, case.html) --- */
.blog-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #007bff;
}

.blog-card-img {
    width: 200px;
    height: 112px;
    object-fit: cover;
    border-radius: 4px;
}

.blog-card-body {
    flex: 1;
}

/* --- ペルソナタブ (index.html) --- */
#personaTab .nav-link {
  color: #495057;
  background-color: #e7f1ff;
  border: 1px solid #dee2e6;
  border-bottom: none;
  margin: 0 2px;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#personaTab .nav-link:hover,
#personaTab .nav-link:focus {
  background-color: #e9ecef;
}

#personaTab .nav-link.active {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
  font-weight: 600;
}

.tab-content > .tab-pane {
  transition: opacity 0.2s ease-in-out;
}

/* --- ガイドセクション (index.html) --- */
.guides-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
}

.guide-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.guide-card .card-title {
  color: #fff;
}

.guide-card .card-text {
  color: rgba(255, 255, 255, 0.8);
}

/* --- 用語集ページ (glossary.html) --- */
.glossary-section {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  scroll-margin-top: 80px;
}

.glossary-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #212529;
}

.glossary-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #495057;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.glossary-section p {
  line-height: 1.8;
  color: #495057;
}

.realization-block {
  border-left: 4px solid #0d6efd;
  padding-left: 1.5rem;
  margin-top: 1rem;
  background-color: #f8f9fa;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  border-radius: 0 0.25rem 0.25rem 0;
}

.toc-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  display: flex;
  align-items: center;
}

.toc-category-title .fas {
  color: #0d6efd;
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.toc-accordion .accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
}

.toc-accordion .accordion-body {
  padding: 0;
}

.toc-accordion .list-group-item {
  border-left: 0;
  border-right: 0;
}

/* ===================================================================
   5. Bootstrap 3 互換スタイル (レガシー、将来的に置き換え推奨)
   =================================================================== */
/*
   重要: このセクションのスタイルは、既存のHTMLページとの後方互換性のために
   残されています。将来的には、以下の Bootstrap 5 の代替に置き換えることを
   強く推奨します。

   置き換えガイド:
   - glyphicon → Font Awesome, Bootstrap Icons, または SVG アイコン
   - img-responsive → img-fluid
   - center-block → mx-auto
   - text-left/right → text-start/end (text-center は同じ)
   - panel → card
   - media → Flexbox またはカスタムレイアウト
   - dl-horizontal → カスタムグリッドレイアウト
   - embed-responsive → ratio
   - btn-default → btn-secondary
   - well → カスタムスタイルまたは card
   - pull-left/right → float-start/end
*/

/* --- Bootstrap 3 の基本要素 --- */
nav {
  display: block;
}

/* --- Bootstrap 5 での dl-horizontal の代替 --- */
/* 注意: Bootstrap 5 ではカスタムグリッドレイアウトを使用することを推奨 */
@media (min-width: 768px) {
  .dl-horizontal dt {
    float: left;
    width: 160px;
    clear: left;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dl-horizontal dd {
    margin-left: 180px;
  }
}

/* --- お知らせパネルのスクロール設定 --- */
.news-panel {
  max-height: 350px; /* 約6項目分の高さ、7項目目以降はスクロール */
  overflow-y: auto; /* 縦スクロールを有効化 */
  padding-right: 10px; /* スクロールバー用の余白 */
}

/* お知らせ項目のスタイル調整 */
.news-item {
  margin-bottom: 15px;
  overflow: hidden; /* float のクリア */
}

.news-item:last-child {
  margin-bottom: 0; /* 最後の項目の下余白を削除 */
}

/* --- Bootstrap 5 での img-thumbnail の代替 --- */
/* 注意: Bootstrap 5 にも img-thumbnail があるが、スタイルが若干異なる */
.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  max-width: 100%;
  height: auto;
}
