@charset "utf-8";
/* CSS Document */
/* =========================================
   共通リセット & 変数定義
========================================= */
:root {
/* グラデーションカラー */
--bg-gradient: linear-gradient(165deg, #2194df, #0064c7, #003bbe);
--bg-footer: #0f164a;
	  
/* テキストやアイコン用の単色 */
--color-primary: #1f286f; 
--color-secondary: #008cd6; 
--color-hover-blue: #1787d8;
    
--color-accent: #ff9c00;
--color-accent2: #fff000;
--color-accent3: #008cd6;
--color-text-main: #333333;
--color-text-light: #666666;
--color-text-light2: #a5a5a5;
--color-text-light3: #d7d7d7;
--color-bg-light: #edf4fc;
--color-white: #ffffff;
--color-border: #dddddd;
--color-border2: #f5f5f5;
--color-footer-link: #84b9e1;
--color-footer-link-hover: #ffffff;
--color-cert-heading: #ffb400;
--color-cert-heading-line: #ffe5a7;
--color-mobile-line: #eef2f7;
--color-caution: #ff0000;
--color-batteryless: #3da540;
--color-cpe: #9f7c1c;

/* ヘッダーの影 */
--header-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}
  
* { box-sizing: border-box; margin: 0; padding: 0;}
body { font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; color: var(--color-text-main); line-height: 1.7; background-color: var(--color-white);}
a { text-decoration: none; color: inherit; transition: all 0.2s ease;}
ul, ol { list-style: none; }

/* =========================================
   ヘッダーエリア (Header)
========================================= */
.header { display: flex; justify-content: space-between; align-items: center; padding: 15px 15px; background: var(--color-white); box-shadow: var(--header-shadow); position: sticky; top: 0; z-index: 1200; height: 80px; transition: box-shadow 0.2s ease;}
  
/* ハンバーガー展開時は影を消し、メニュー背景と一体化させる */
.header.menu-open { box-shadow: none;}
  
/* ロゴ画像のPC/SP切り替え設定 */
.header-logo { display: flex; align-items: center;}

.logo-main { height: clamp(2.125rem, 2.096rem + 0.15vw, 2.25rem); display: block;}
  
/* PC用ナビゲーションレイアウト調整（左寄せ） */
.header-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: 28px;}

.header-nav-list { display: flex; gap: 28px; font-weight: normal; font-size: clamp(0.75rem, 0.707rem + 0.23vw, 0.938rem);}

/* 左側メニュー：ホバー時のガタつき防止 */
.header-nav-list a { color: var(--color-text-main); padding-bottom: 4px; border-bottom: 2px solid transparent;}

.header-nav-right { display: flex; gap: 28px; font-weight: normal; font-size: clamp(0.75rem, 0.707rem + 0.23vw, 0.938rem);}

/* 右側メニュー：ホバー時のガタつき防止 */
.header-nav-right a { color: var(--color-text-main); padding-top: 2px; padding-bottom: 2px; display: flex; align-items: center; border-bottom: 2px solid transparent;}

.icon-orange { color: var(--color-accent); margin-right: 6px; font-size: clamp(0.688rem, 0.644rem + 0.23vw, 0.875rem);}

/* PC環境(1100px以上)のマウスオン効果 */
@media (min-width: 1100px) {
.header-nav-list a:hover { color: var(--color-hover-blue); border-bottom: 2px solid var(--color-hover-blue);}
.header-nav-right a:hover { color: var(--color-accent); border-bottom: 2px solid var(--color-accent);}
.footer-sub-link:hover { text-decoration: underline;}
}

/* ハンバーガーボタン */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 32px; height: 22px; cursor: pointer;}

.hamburger span { display: block; width: 100%; height: 2px; background-color: var(--color-primary); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;}
  
/* ×印へのモーフィングアニメーション */
.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg);}
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0);}
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg);}

/* =========================================
   ハンバーガーメニュー展開時 (1099px以下)
========================================= */
.mobile-menu-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; background: var(--color-white); z-index: 1100; padding: 80px 0 0; overflow-y: auto; overscroll-behavior: none;

/* ズームイン風モーション */
opacity: 0; visibility: hidden; transform: scale(1.06); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, visibility 0.4s ease; will-change: transform, opacity; -webkit-transform: translateZ(0);}
	
@supports not (height: 100dvh) {
.mobile-menu-wrapper { height: 100vh;}
}

.mobile-menu-wrapper.active { opacity: 1; visibility: visible; transform: scale(1);}
.mobile-nav-list { border-top: 1px solid var(--color-bg-light);}
.mobile-nav-list > li { border-bottom: 1px solid var(--color-mobile-line);}
.mobile-nav-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; font-size: clamp(1rem, 0.906rem + 0.5vw, 1.25rem); font-weight: bold; color: var(--color-primary); cursor: pointer; background: var(--color-white);}

/* アコーディオン子要素 */
.accordion-content { display: none; background-color: var(--color-white);}

.accordion-content li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px 16px 40px; font-size: clamp(1rem, 0.906rem + 0.5vw, 1.25rem); color: var(--color-primary); border-bottom: 1px solid var(--color-bg-light); font-weight: 500; background-color: var(--color-white);}
.accordion-content li:last-child a { border-bottom: none;}

/* メニュー内下部 */
.mobile-external-links { background-color: var(--color-bg-light); padding: 26px 24px;}
  
/* 外枠の箱にだけ角丸を適用 */
.mobile-external-box { background: var(--color-white); border-radius: 10px; overflow: hidden; box-shadow: 0 0px 10px rgba(0,0,0,0.15);}

.mobile-external-box a { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 13px; background: var(--color-white); font-size: clamp(1rem, 0.906rem + 0.5vw, 1.25rem); font-weight: bold; color: var(--color-primary); border-bottom: 1px solid var(--color-mobile-line); border-radius: 0;}
.mobile-external-box a:last-child { border-bottom: none;}
  
/* =========================================
   メインコンテンツエリア
========================================= */
.page-title-area { background-color: var(--color-secondary); background-image: url('../img/common/title_bg_cover.webp'); background-size: cover; background-position: center; color: var(--color-white); text-align: center; padding:40px 20px 50px;}
.page-title-area2 { background-color: var(--color-batteryless); background-image: url('../img/common/title_bg_cover.webp'); background-size: cover; background-position: center; color: var(--color-white); text-align: center; padding:40px 20px 50px;}
.page-title-area3 { background-color: var(--color-cpe); background-image: url('../img/common/title_bg_cover.webp'); background-size: cover; background-position: center; color: var(--color-white); text-align: center; padding:40px 20px 50px;}
.page-title-en { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-accent2); margin-bottom: 6px; font-weight: bold; letter-spacing: 0.05em;}
.page-title-ja { font-size: clamp(1.188rem, 1.13rem + 0.31vw, 1.438rem); display: inline-block; border-bottom: 1px solid var(--color-white); padding-bottom: 2px; font-weight: bold;}

/* =========================================
   パンくずナビエリア
========================================= */
.breadcrumbs { background: var(--color-white); color: var(--color-text-light); padding: 12px 15px; font-size: clamp(0.75rem, 0.707rem + 0.23vw, 0.938rem); border-bottom: 1px solid #e4e4e4;}
.breadcrumbs i { margin-right: 5px;}

/* =========================================
   サイドバー
========================================= */
/* サイドバー (1100px未満では非表示) */
.sidebar { display: none;}

@media (min-width: 1100px) {
.sidebar { display: block; width: 260px; padding: 20px 24px 24px; flex-shrink: 0; position: sticky; top: 80px;}
}

/* サイドバーのデザイン */
.sidebar-title { color: var(--color-primary); font-size: 1.125rem; font-weight: bold; line-height: 1.5; margin: 0 0 15px; padding-bottom: 15px; border-bottom: 1px solid var(--color-border);}

.sidebar-nav { list-style: none; padding: 0; margin: 0;}
.sidebar-nav li { margin-bottom: 6px;}

/* 【修正】aタグだけでなく、リンクなしのspan（.nav-item）にも同じスタイルを適用 */
.sidebar-nav a,
.sidebar-nav .nav-item { display: flex; align-items: flex-start; color: var(--color-text-light2); font-size: 0.938rem; line-height: 1.6; text-decoration: none; padding-left: 24px; position: relative; transition: color 0.2s ease;}
.sidebar-nav a:hover { color: var(--color-accent3);}

/* アクティブなリンクのスタイル */
.sidebar-nav a.active,
.sidebar-nav .nav-item.active { color: var(--color-accent3); font-weight: bold;}

/* アイコンはデフォルト透明 */
.sidebar-nav a i,
.sidebar-nav .nav-item i { position: absolute; left: 0; top: 4px; color: var(--color-accent3); font-size: 0.938rem; opacity: 0; transition: opacity 0.2s ease;}

/* アクティブ時にアイコンを表示 */
.sidebar-nav a.active i,
.sidebar-nav .nav-item.active i { opacity: 1;}

.sidebar-nav2{ list-style: none; padding: 0; margin: 0;}
.sidebar-nav2 li { margin-bottom: 6px;}
.sidebar-nav2 a { display: flex; align-items: flex-start; color: var(--color-text-light2); font-size: 0.938rem; line-height: 1.6; text-decoration: none; padding-left: 24px; position: relative; transition: color 0.2s ease; font-weight: normal;}

/* ホバー時のみ濃い青＋アイコン表示 */
.sidebar-nav2 a:hover { color: var(--color-hover-blue); font-weight: bold;}
.sidebar-nav2 a i { position: absolute; left: 0; top: 4px; color: var(--color-hover-blue); font-size: 0.938rem; opacity: 0; transition: opacity 0.2s ease; font-weight: bold;}
.sidebar-nav2 a:hover i { opacity: 1;}

/* サイドナビ2 (製品カテゴリ用) のアクティブスタイル */
.sidebar-nav2 a.active {
  color: var(--color-hover-blue);
  font-weight: bold;
}

.sidebar-nav2 a.active i {
  opacity: 1;
  font-weight: bold;
}

/* サイドナビ2 (製品カテゴリ用) のアクティブスタイル */
.sidebar-nav2 a.active2 {
  color: var(--color-batteryless);
  font-weight: bold;
}

.sidebar-nav2 a.active2 i {
  color: var(--color-batteryless);
  opacity: 1;
  font-weight: bold;
}

/* サイドナビ2 (製品カテゴリ用) のアクティブスタイル */
.sidebar-nav2 a.active3 {
  color: var(--color-cpe);
  font-weight: bold;
}

.sidebar-nav2 a.active3 i {
  color: var(--color-cpe);
  opacity: 1;
  font-weight: bold;
}
/* =========================================
   フッターエリア (Footer)
========================================= */
.footer-blue-bg { background: var(--bg-gradient); color: var(--color-white); padding: clamp(2.063rem, 1.962rem + 0.54vw, 2.5rem) 0 clamp(2.063rem, 2.019rem + 0.23vw, 2.25rem);}
  
/* ベース（1479px以下）は 1fr で7列均等分割 */
.footer-grid { display: grid; width: 93%; margin: 0 auto;}
  
.footer-col h4 { color: var(--color-accent2); font-size: clamp(0.938rem, 0.923rem + 0.08vw, 1rem); margin-bottom: clamp(0.5rem, 0.442rem + 0.31vw, 0.75rem); font-weight: bold; line-height: 1;}
.footer-main-link { display: block; font-weight: bold; font-size: clamp(0.813rem, 0.784rem + 0.15vw, 0.938rem); margin-bottom: 0px; line-height: 1.7;}
.footer-main-link2 { display: block; font-weight: bold; margin: clamp(0.188rem, 0.159rem + 0.15vw, 0.313rem) 0; font-size: clamp(0.813rem, 0.784rem + 0.15vw, 0.938rem); line-height: 1.7;}
.footer-sub-list li { margin-bottom: 0; line-height: 1.6; white-space: nowrap;}
.footer-sub-list li a { font-size: clamp(0.813rem, 0.798rem + 0.08vw, 0.875rem); color: var(--color-footer-link);}
.footer-sub-list li a:hover { color: var(--color-footer-link-hover);}
.footer-bottom-bar { width: 93%; margin: clamp(1.375rem, 1.346rem + 0.15vw, 1.5rem) auto clamp(0.188rem, 0.159rem + 0.15vw, 0.313rem); border-top: 1px solid var(--color-footer-link); padding-top: 25px; display: flex; justify-content: space-between; font-size: clamp(0.813rem, 0.798rem + 0.08vw, 0.875rem); line-height: 1; align-items: center;}
.footer-bottom-nav { display: flex; gap: 25px;}
.footer-bottom-nav a { color: var(--color-footer-link);}
.footer-bottom-nav a:hover { color: var(--color-footer-link-hover);}
.footer-white-bg { background: var(--color-white);}

/* 両端寄せから左寄せに変更し、会社情報と認証マークの間に余白を追加 */
.footer-company-container { width: 93%; margin: clamp(1.625rem, 1.567rem + 0.31vw, 1.875rem) auto clamp(1.5rem, 1.442rem + 0.31vw, 1.75rem); display: flex; justify-content: flex-start; align-items: center; gap: 60px;}
    
.copyright { color: var(--color-footer-link);}
.company-info-block { text-align: left;}
.company-info-block img { height: clamp(2.125rem, 2.038rem + 0.46vw, 2.5rem); margin-bottom: clamp(0.625rem, 0.538rem + 0.46vw, 1rem);}
.company-name { font-size: clamp(1rem, 0.928rem + 0.38vw, 1.313rem); font-weight: bold; margin-bottom: 8px; color: var(--color-primary); line-height: 1.0;}
.company-address { font-size: clamp(0.688rem, 0.673rem + 0.08vw, 0.75rem); color: var(--color-text-light); line-height: 1.4;}
.cert-showcase { text-align: center;}
.cert-heading { font-size: clamp(0.813rem, 0.784rem + 0.15vw, 0.938rem); color: var(--color-cert-heading); position: relative; display: inline-block; margin-top: 0; margin-bottom: 18px; font-weight: bold; line-height: 1;}
.cert-heading::before, .cert-heading::after { content: ''; position: absolute; top: 50%; width: clamp(3.625rem, 3.481rem + 0.77vw, 4.25rem); height: 1px; background: var(--color-cert-heading-line);}
.cert-heading::before { right: 100%; margin-right: 15px; }
.cert-heading::after { left: 100%; margin-left: 15px; }
.cert-images img { height: clamp(5.25rem, 5.106rem + 0.77vw, 5.875rem); margin: 0 clamp(0.75rem, 0.606rem + 0.77vw, 1.375rem);}
.mobile-footer-menu { display: none;}

/* =========================================
   レスポンシブ・メディアクエリ調整
========================================= */

@media (min-width: 1480px) {
.footer-grid { grid-template-columns: repeat(7, auto); justify-content: space-between;}
}
    
@media (max-width: 1479px) and (min-width: 1100px) {
.footer-grid { grid-template-columns: repeat(4, 1fr); gap: 20px 80px;}
}

@media (max-width: 1279px) and (min-width: 1100px) {
.header { padding: 15px 15px;}
.header-nav { margin-left: 25px;}
.header-nav-list { gap: 15px;}
.header-nav-right { gap: 15px;}
}

@media (max-width: 1099px) {
.header { padding: 15px 15px;}
.header-nav { display: none;}
.hamburger { display: flex;}
.page-title-area { background-image: url('../img/common/title_bg_cover_tab.webp'); padding:40px 20px 45px;}
.page-title-area2 { background-image: url('../img/common/title_bg_cover_tab.webp'); padding:40px 20px 45px;}
.page-title-area3 { background-image: url('../img/common/title_bg_cover_tab.webp'); padding:40px 20px 45px;}
.footer-grid { grid-template-columns: repeat(4, 1fr); gap: 20px 80px;}
}
	
@media (max-width: 900px) and (min-width: 768px) {
.footer-grid { grid-template-columns: repeat(3, 1fr); gap: 25px 50px;}
}

@media (max-width: 767px) {
.header { padding: 15px 15px;} 
.breadcrumbs { }
.footer-grid { display: none;}
.footer-bottom-nav { display: none;}
.footer-bottom-bar { flex-direction: column; gap: 15px; text-align: center; border-top: none; padding-top: 30px;}
.footer-company-container { flex-direction: column; gap: 15px; text-align: center;}
.cert-images img { height: 3.00rem; margin: clamp(0.75rem, 0.606rem + 0.77vw, 1.375rem);}
.mobile-footer-menu { display: block; width: 92%; margin: 0 auto; }
.mobile-footer-menu h4 { color: var(--color-accent2); font-size: clamp(0.938rem, 0.923rem + 0.08vw, 1rem); margin-top: 5px; margin-bottom: 8px; line-height: 1; }
.mobile-footer-menu ul { margin-bottom: -18px; }
.mobile-footer-menu ul li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.mobile-footer-menu ul li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 0.9rem; font-weight: bold; color: var(--color-white); }
.footer-bottom-bar { flex-direction: column; gap: 15px; text-align: center; border-top: none; padding-top: 30px; }
.footer-company-container { flex-direction: column; gap: 15px; text-align: center; }
.company-info-block { text-align: center; }
}