/*
================================================================================
PRODUCT TEMPLATE STYLESHEET - Bootstrap 5
================================================================================
このファイルについて (About this file):
- 製品ページ専用のスタイルシートです
- Bootstrap 5をベースにしています
- 色やデザインをカスタマイズできます

重要な注意事項 (IMPORTANT):
- ../../scripts/style-bs5.css (会社共通CSS) は変更しないでください
  DO NOT modify ../../scripts/style-bs5.css (Global company CSS)
- このファイルのみを編集してください
  Only edit THIS file for product-specific styling

更新履歴 (Update History):
- 2025年: Bootstrap 5 テンプレート作成
================================================================================
*/

/* ===================================================================
   COLOR SCHEME - ブランドカラー設定
   ================================================================== */
/*
   【重要】ここで製品のブランドカラーを変更できます
   【IMPORTANT】Change your product brand colors HERE

   使い方 (How to use):
   1. 下記の色コードを変更してください
      Change the color codes below
   2. すべてのページに自動的に反映されます
      Changes will apply to all pages automatically

   推奨ツール (Recommended tools):
   - Adobe Color: https://color.adobe.com/
   - Coolors: https://coolors.co/
*/

:root {
  /* メインカラー (Primary Color) - ヘッダー、ボタンなどに使用 */
  --brand-primary: #14B8A6;        /* Teal - 変更可能 (Customizable) */

  /* セカンダリカラー (Secondary Color) - 背景、アクセントに使用 */
  --brand-secondary: #5EEAD4;      /* Light Teal - 変更可能 */

  /* ダークカラー (Dark Color) - ボーダー、濃い部分に使用 */
  --brand-dark: #0D9488;           /* Dark Teal - 変更可能 */

  /* フッター背景カラー (Footer Background) - 製品フッターに使用 */
  --brand-light-bg: #CCFBF1;       /* Very Light Teal - 変更可能 */

  /* CTAセクション背景 (CTA Section Background) - "Ready to Get Started"等に使用 */
  --brand-cta-bg: #F0FDFA;         /* Lighter Teal - 変更可能 */

  /* テキストカラー (Text Color) - リンクなどに使用 */
  --brand-text: #0F766E;           /* Teal Text - 変更可能 */
}

/* ===================================================================
   1. GENERAL STYLES - 全体の基本スタイル
   =================================================================== */
/*
   ページ全体のフォント、行間、背景色などを定義します
   Defines overall fonts, line heights, and background colors
*/

body {
  background-color: #f8f9fa;       /* 変更しないでください (Do not change) */
  font-family: sans-serif;
  line-height: 1.6;
}

p {
   line-height: 22px;
}

li {
   line-height: 150%;
}

/* ===================================================================
   2. PRODUCT HEADER - 製品ナビゲーションバー
   =================================================================== */
/*
   product-header.inc で使用されるスタイルです
   Styles used by product-header.inc

   カスタマイズ方法 (How to customize):
   - background-color: ヘッダーの背景色
   - border-bottom: 下部のボーダー色と太さ
*/

.prodnavbar {
  background-color: #ffffff;  /* ヘッダー背景色 */
  border-bottom: 7px solid var(--brand-primary);  /* 下部ボーダー */
  margin-bottom: 0;
  margin-top: 3px;
}

/* ナビゲーションリンクの文字色 (Navigation link text color) */
.prodnavbar .nav-link {
  color: var(--brand-text) !important;
}

/* ホバー時の文字色 (Hover state text color) */
.prodnavbar .nav-link:hover,
.prodnavbar .nav-link:focus {
  color: var(--brand-dark) !important;
}

/* ハンバーガーメニューのトグルボタン (Mobile menu toggle button) */
.prodnavbar .navbar-toggler {
  border-color: var(--brand-dark);
}

.prodnavbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(20, 184, 166, 0.25);
}

/* ハンバーガーメニューアイコン (Mobile menu icon) */
.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");
}

/* ドロップダウンメニューのスタイル (Dropdown menu styles) */
.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;
}

.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);
}

.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. PRODUCT FOOTER - 製品フッター
   =================================================================== */
/*
   注意 (IMPORTANT):
   製品フッター関連のスタイルは ../../scripts/style_bs5.css に移動されました。
   Product footer styles have been moved to ../../scripts/style_bs5.css

   理由 (Reason):
   製品フッターのスタイルは全製品共通のため、会社共通CSSファイル (style_bs5.css)
   に統一して管理することで保守性が向上します。
   Footer styles are common across all products, so they are managed centrally
   in the company-wide CSS file (style_bs5.css) for better maintainability.

   移動されたスタイル (Moved styles):
   - footer.product
   - footer.product .footerlist およびその子要素

   widefooter.inc を作成・編集する際は、style_bs5.css を参照してください。
   When creating/editing widefooter.inc, please refer to style_bs5.css
*/

/* ===================================================================
   4. SECTIONS - セクション共通スタイル
   =================================================================== */
/*
   各ページで使用されるセクションのスタイルです
   Styles for sections used across pages

   使い方 (How to use):
   HTMLで <div class="section-wrapper"> を使用すると、
   自動的に適切な余白と背景色が適用されます
*/

.section-wrapper {
  padding: 60px 0;                /* 上下の余白 (Top/bottom padding) */
  background-color: #ffffff;      /* 背景色 (Background color) */
}

/* 偶数番目のセクションを灰色背景に (Even sections get gray background) */
.section-wrapper:nth-child(even) {
  background-color: #f8f9fa;
}

/* 白背景を強制したい場合 (Force white background if needed) */
.section-wrapper.bg-light {
  background-color: #ffffff !important;
}

/* セクション内のカード (Cards within sections) */
.section-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* ===================================================================
   5. TYPOGRAPHY - 見出しとテキスト
   =================================================================== */
/*
   見出し(h1, h2, h3)とテキストのスタイルです
   Heading and text styles
*/

h1, h2, h3 {
  color: var(--brand-dark);       /* 見出しの色 (Heading color) */
  font-weight: bold;
}

/* セクションタイトル (Section title) */
.section-title {
    color: var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* サブセクションタイトル (Subsection title) */
.subsection-title {
    color: var(--brand-dark);
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ===================================================================
   6. BUTTONS - ボタンスタイル
   =================================================================== */
/*
   ボタンのスタイルです
   Button styles

   使い方 (How to use):
   <a href="#" class="btn btn-primary">ボタンテキスト</a>

   種類 (Types):
   - btn-primary: メインボタン (Primary button)
   - btn-outline-primary: 枠線ボタン (Outline button)
*/

.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* ===================================================================
   7. HERO SECTION - ヒーローセクション(トップの大きな画像エリア)
   =================================================================== */
/*
   トップページの最初の大きな画像・テキストエリアです
   Large image/text area at the top of the homepage

   カスタマイズ方法 (How to customize):
   - background-image: 背景画像のパス
   - background-color: 背景色(画像がない場合)
*/

.hero-section {
  position: relative;
  padding: 6rem 0;
  background-image: url('../images/hero-background.jpg');  /* 背景画像パス */
  background-size: cover;
  background-position: center;
  background-color: var(--brand-light-bg);  /* フォールバック背景色 */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.8) 0%, rgba(13, 148, 136, 0.7) 100%);
}

.hero-title {
  font-weight: 700;
  color: #ffffff;
}

.hero-subtitle {
  max-width: 750px;
  opacity: 0.95;
  color: #ffffff;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
}

/* ===================================================================
   8. FEATURE CARDS - 機能カード
   =================================================================== */
/*
   製品の機能や特徴を表示するカードです
   Cards for displaying product features

   使い方 (How to use):
   <div class="feature-item">
     <i class="feature-icon fas fa-check"></i>
     <div class="feature-content">
       <strong>機能名</strong>
       <p>機能の説明</p>
     </div>
   </div>
*/

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem !important;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--brand-primary);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--brand-primary);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-item strong {
    font-size: 1.2rem !important;
    display: block !important;
    color: var(--brand-dark);
}

/* ===================================================================
   9. SPACING ADJUSTMENTS - 余白調整
   =================================================================== */
/*
   ページ全体の余白を調整します
   Adjusts spacing across the page

   注意 (Note):
   余白が広すぎる/狭すぎる場合は、ここの値を変更してください
   If spacing is too wide/narrow, change values here
*/

.container > .row {
    margin-bottom: 0;  /* 行の下余白 (Row bottom margin) */
}

/* ===================================================================
   10. FAQ SECTION - よくある質問セクション
   =================================================================== */
/*
   FAQページで使用されるスタイルです
   Styles used on FAQ page
*/

#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;
    color: var(--brand-dark);
}

#faq-section summary:hover {
    color: var(--brand-primary);
}

/* ===================================================================
   11. CASE STUDY SECTION - 事例セクション
   =================================================================== */
/*
   事例ページで使用されるスタイルです
   Styles used on case studies page
*/

.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 var(--brand-primary);
    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 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: var(--brand-primary);
    text-decoration: underline;
}

/* ===================================================================
   12. RESPONSIVE DESIGN - レスポンシブデザイン
   =================================================================== */
/*
   スマートフォン・タブレット対応
   Mobile and tablet responsiveness

   注意 (Note):
   画面サイズに応じて自動的にレイアウトが変わります
   Layout automatically adjusts based on screen size
*/

/* タブレット以上 (Tablet and above) */
@media (min-width: 768px) {
  .footer-item {
    text-align: center;
  }
}

/* スマートフォン (Mobile) */
@media (max-width: 767px) {
  .hero-section {
    padding: 3rem 0;
  }

  .feature-item {
    flex-direction: column;
  }

  .feature-icon {
    margin-bottom: 1rem;
  }
}
.input-group input {
    height: 38px !important;
    line-height: 38px !important;
}

/* ===================================================================
   END OF STYLESHEET
   ================================================================== */
/*
   カスタマイズのヒント (Customization Tips):

   1. 色を変更する場合
      When changing colors:
      → 一番上の「COLOR SCHEME」セクションを編集してください
         Edit the "COLOR SCHEME" section at the top

   2. 余白を調整する場合
      When adjusting spacing:
      → 「SPACING ADJUSTMENTS」セクションを編集してください
         Edit the "SPACING ADJUSTMENTS" section

   3. 新しいスタイルを追加する場合
      When adding new styles:
      → このファイルの最後に追加してください
         Add them at the end of this file
      → コメントで説明を必ず書いてください
         Always add comments explaining the purpose

   参考資料 (References):
   - Bootstrap 5 Documentation: https://getbootstrap.com/docs/5.0/
   - CSS Variables: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties

   質問がある場合は、開発チームに相談してください
   If you have questions, consult with the development team
*/
