/*
================================================================================
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
================================================================================
*/

/* ===================================================================
   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: #42b549;        /* Teal - 変更可能 (Customizable) */

  /* セカンダリカラー (Secondary Color) - 背景、アクセントに使用 */
  --brand-secondary: #ffffff;      /* Light Teal - 変更可能 */

  /* ダークカラー (Dark Color) - ボーダー、濃い部分に使用 */
  --brand-dark: #16361d;           /* Dark Teal - 変更可能 */

  /* フッター背景カラー (Footer Background) - 製品フッターに使用 */
  --brand-light-bg: #ffffff;       /* Very Light Teal - 変更可能 */

  /* CTAセクション背景 (CTA Section Background) - "Ready to Get Started"等に使用 */
  --brand-cta-bg: #16361d;         /* Lighter Teal - 変更済み */

  /* テキストカラー (Text Color) - リンクなどに使用 */
  --brand-text: #0f1015;           /* 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: var(--brand-light-bg);  /* ヘッダー背景色 */
  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 - 製品フッター
   =================================================================== */
/*
   製品フッター（product-footer.inc または widefooter.inc）のスタイルは
   ../../scripts/style_bs5.css で定義されています。
   Product footer styles are defined in ../../scripts/style_bs5.css

   デフォルトの配色 (Default colors):
   - 背景色: 薄緑 (#a7f0bfd3)
   - リンク色: 青系 (#23527c)

   製品固有の配色が必要な場合 (For product-specific colors):
   このファイル (product-style.css) で footer.product クラスをオーバーライドできます。
   You can override the footer.product class in this file (product-style.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-text);       /* 見出しの色 (Heading color) */
  font-weight: bold;
}

/* セクションタイトル (Section title) */
.section-title {
    color: var(--brand-text);
    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-dark);
  border: 2px solid var(--brand-dark);
  color: #ffffff;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: var(--brand-secondary);
  border: 2px solid var(--brand-dark);
  color: var(--brand-text);
}

.btn-outline-primary {
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
  font-weight: bold;
}

.btn-outline-primary:hover {
  background-color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
  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.png');  /* 背景画像パス */
  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-image: url('../images/hero-background.png');  /* 背景画像パス */
  /* 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:
      background-color 0.35s ease,
      transform 0.35s ease,
      border-color 0.35s ease,
      color 0.35s ease;
    height: 100%;
    will-change: transform;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-4px);
}

.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;
  }
}

/* ===================================================================
   News - お知らせ
   ================================================================== */
.news-section {
  background-color: #f8f9fa;
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 0;
  margin-bottom: 0;
}

.news-section .section-intro {
  text-align: left;
  margin-bottom: 20px;
}

.news-section .section-intro p.lead {
  font-size: 16px;
  font-weight: bold;
  color: #42b549;
  margin-bottom: 8px;
}

.news-section .section-intro h2.featurette-heading {
  color: #16361d;
  margin-top: 0;
  margin-bottom: 10px;
}

.news-section .section-intro_divider div {
  background-color: #42b549;
  border-radius: 4px;
  display: inline-block;
  height: 4px;
  width: 100%;
  vertical-align: top;
  margin: 10px auto 20px;
}

.news-list {
  text-align: left;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  height: 200px;
  overflow-y: auto;
  margin-bottom: 0;
}

.news-list dt {
  font-weight: 700;
  margin: 0;
}

.news-list dd {
  margin: 0 0 10px 0;
}

.news-list dt + dd + dt {
  border-top: 1px dotted #b5b5b5;
  padding-top: 16px !important;
  margin-top: 12px;
}

.news-list a {
  color: #42B549;
  text-decoration: none;
}

.news-list a:hover {
  text-decoration: underline;
}

/* ===================================================================
   Scroll reveal animation - スクロールリビールアニメーション
   ================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 少し遅らせる */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===================================================================
   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
*/

.lead {
  font-size: 1rem; /* フォントの大きさを 1.25rem より小さく設定 */
}

/* CTA フッター カスタマイズ begins */
.cta-footer h1,
.cta-footer h2,
.cta-footer h3,
.cta-footer p {
  color: var(--brand-secondary);
}

footer.product {
  background-color: #fff;  /* 白背景 */
  border-top: none;
}

footer.product .footerlist a {
  color: #555;
}

footer.product .footerlist a:hover {
  text-decoration: none;
}
/* CTA フッター カスタマイズ ends */

.prodnavbar .btn-outline-primary:hover {
  color: #fff!important;
}

.btn-outline-light {
  font-weight: bold;
  border: 2px solid var(--brand-secondary);
}

/* Feature cards begins */
.feature-card {
  border-radius: 24px;
  height: 100%;
  margin-bottom: 24px;
  padding: 32px;
  position: relative;
  /* text-align: center; */
  transition: .2s ease-in-out;
  width: 100%;
  box-shadow: 0 16px 32px rgba(34, 35, 38, .05), 0 8px 16px rgba(34, 35, 38, .05);
}

/* Custom feature-card styling below - added for product-specific card visuals */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(66,181,73,1.0), 0 4px 8px rgba(34, 35, 38, .05);
}

.feature-card_body {
  width: 100%;
  margin: 0 auto;
  height: 100%;
}

/* Title color on feature cards; product-specific branding */
.feature-card_title {
  color: #145c2e;
  font-weight: bold;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card_icon {
  color: #145c2e;
}

.benefits .feature-card {
  max-width: 460px;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;

}

.pg-approach {
  background-image: url(../images/feature-card-bg.png);
}

.pg-approach h4, .pg-approach p, .pg-approach hr {
  color: var(--brand-secondary);
}

.pg-approach .feature-card_desc li::marker {
  color: var(--brand-secondary)
}

/* Feature cards ends */

/* Custom nav-pill active coloring for vertical step guide on contact page */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: var(--brand-dark);
  font-weight: bold;
}

.nav-link {
  color: var(--brand-dark);
}
.nav-link:hover {
  color: var(--brand-primary);
}

.list-group-item-action.active {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: white !important;
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  background-color: var(--brand-secondary);
}

/* Section Header Icon Styling */
h2 i.fas,
h3 i.fas {
  color: var(--brand-primary) !important;
}

/* Contact Button Header Styling */
/* base text white for button */
.btn-primary.contact-btn {
  color: #fff !important;
}
/* hover/focus: make text same as border (brand-primary) */
.btn-primary.contact-btn:hover,
.btn-primary.contact-btn:focus {
  color: var(--brand-dark) !important;
}

/* override any outline or focus styles */
.btn-primary.contact-btn:focus {
  box-shadow: none !important;
}

/* Make h5 headers bold */
h5 {
  font-weight: bold;
}

/* 折り返し調整 */
