@charset "UTF-8";

/* =======================================================
   1. 基本設定・全体レイアウト
   ======================================================= */
body {
    font-family: Arial, "Meiryo", "Yu Gothic", sans-serif;
    font-size: 13.5px !important;
    margin: 0;
    color: #333;
}

hr {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    height: 0 !important;
    background: transparent !important;
}

#Container {
    clear: both;
    width: 1300px;
    margin: 0 auto 50px;
}

.container {
    max-width: 1000px;
    margin-left: 30px;
    margin-right: 0;
}

#Main {
    clear: both;
    display: inline;
    float: left;
    width: 1000px;
    text-align: left;
}

#Sub {
    display: inline;
    float: right;
    width: 250px;
    margin: 0;
    text-align: left;
    position: relative;
    left: -20px; 
}

#HeadImg {
    margin-top: -30px;
    margin-bottom: 0;
    padding: 0;
}

/* --- パンくずリスト --- */
#TopicPath_support {
    width: 970px;
    height: 50px;
    text-align: left;
    background: url(./images/topic_path_back.gif) no-repeat left 5px;
    margin-left: 30px;
}

#TopicPath_support h2 { display: none; }
#TopicPath_support ol { margin: 0; zoom: 1; }

#TopicPath_support ol li {
    display: inline;
    float: left;
    margin: 8px 10px 0 0;
    padding-left: 20px;
    list-style: none;
    background: url(./images/topic-path-arrow.gif) no-repeat left center;
    font-size: 12px;
}

#TopicPath_support ol li.home { background: none; }
#TopicPath_support ol:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

#TopicPath_support ol li span.seventy {
    display: inline;
    background: none;
    padding: 0;
    margin: 0;
    font-size: 70%;
}

/* =======================================================
   2. 見出し・基本パーツ
   ======================================================= */
h1 {
    font-size: 23px;
    padding-bottom: 20px;
}

h2 {
    font-size: 18px;
    background-color: #f0f0f0;
    padding: 10px;
    margin-top: 20px;
    color: #333;
    border-left: 5px solid #0066cc;
}

ul li {
    list-style-type: none !important;
}

.dashed-line { border: 0; border-top: 1px dashed #ccc; margin: 10px 0; }
.spacer-h15 { height: 15px; }

/* =======================================================
   3. タブボタン
   ======================================================= */
.tab-button {
    display: inline-block;
    padding: 8px 10px;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    color: #0066cc; 
    text-decoration: underline; 
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.tab-button:hover {
    background-color: #bee3f8;
    color: #000;
    border-color: #007bff;
    text-decoration: underline;
}

.tab-button.active, 
.tab-button:active {
    background-color: #007bff !important; 
    color: #fff !important;
    border-color: #0056b3 !important;
    text-decoration: none !important; 
}

/* =======================================================
   4. カテゴリ・製品リスト
   ======================================================= */
.product-list {
    display: block;
    padding: 5px 15px;
}

.category {
    padding: 10px 0;
    width: 100%;
    flex: none;
    min-width: unset;
}

.product-list .category h3 {
    position: relative;
    padding: 5px 15px 5px 15px;
    margin: 5px 0 10px 0;
    font-size: 1.25em;
    color: #1E40AF;
    background-color: #DBEAFE;
    border-radius: 4px;
}

.product-list .category h3::before {
    font-size: 1em;
    font-weight: bold;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* --- サブカテゴリ --- */
.product-list .category .sub-category {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 5px;
}

.product-list .category .sub-category h4 {
    border-left: 4px solid #004b87;
    border-bottom: 1px dotted #ccc;
    padding-left: 10px;
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: #1E40AF;
}

/* --- カテゴリ内のグリッドリンク --- */
.category ul {
    list-style: none;
    padding-left: 0;
    margin: 5px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category .sub-category-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ボタン形式のリストアイテム (list-default以外) */
.category ul:not(.list-default) li,
.category .sub-category-list .sub-category ul:not(.list-default) li {
    flex: 0 0 calc(25% - 7.5px) !important;
    min-width: calc(25% - 7.5px) !important;
    height: 45px !important;
    display: block !important;
    margin-bottom: 0 !important;
}

.category ul:not(.list-default) li a,
.category .sub-category-list .sub-category ul:not(.list-default) li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    border: 1px solid #b3cde3 !important;
    background-color: #fff !important;
    color: #0055a4 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-all !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
    border-radius: 4px;
}

.category ul:not(.list-default) li a:hover,
.category .sub-category-list .sub-category ul:not(.list-default) li a:hover {
    background-color: #bee3f8 !important;
    color: #1E40AF !important;
    text-decoration: none !important;
}

/* アクティブ状態のリンク */
.product-list .category ul:not(.list-default) li a.active {
    background-color: #007bff !important;
    color: #ffffff !important;
    border-color: #0056b3 !important;
    text-decoration: none !important;
}

.product-list .category ul:not(.list-default) li a.active:hover {
    background-color: #0056b3 !important;
}

/* デフォルト形式のリスト */
.product-list .list-default {
    display: block !important;
    list-style: none;
    padding: 0;
    margin-top: 5px !important;
    margin-bottom: 1px !important;
}

.product-list .list-default li {
    width: 100% !important;
    height: auto !important;
    display: list-item !important;
    background: none !important;
    border: none;
    padding: 0;
    font-weight: normal;
    color: red !important; /* オリジナル設定維持 */
    margin-bottom: 0;
}

.product-list .list-default li a {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    color: #0066cc;
    text-decoration: underline;
    font-weight: normal;
    box-shadow: none;
    transform: none;
    font-size: 1em;
}

.product-list .list-default li a:hover {
    color: #cc0000;
    text-decoration: none;
}

/* =======================================================
   5. アコーディオン
   ======================================================= */

.scene-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}
.scene-item {
    width: 100%;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    box-sizing: border-box;
}

.scene-item h4 { margin-top: 0; font-size: 1.2em; }
.scene-item ul { list-style-type: square; padding-left: 0; }
.scene-item ul li { display: list-item; }

/* --- 親アコーディオン --- */
.scene-item ul li.accordion-toggle {
    position: relative;
    list-style: none;
    margin: 5px 0;
    padding: 0 !important; 
    border: none !important; 
    background-color: transparent !important;
}

.accordion-toggle .accordion-header-trigger {
    background-color: #f8f8f8;
    padding: 10px 15px 10px 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative; 
}

.accordion-toggle .accordion-header-trigger:hover { background-color: #e0e0e0; }

.scene-item ul li.accordion-toggle .accordion-header-trigger .accordion-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
}

/* --- 子(入れ子)アコーディオン --- */
.scene-item ul li.accordion-toggle-nested {
    position: relative;
    list-style: none;
    margin-bottom: 10px;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    font-size: 0.95em;
    font-weight: normal;
}

.accordion-toggle-nested .accordion-header-trigger {
    background-color: #f1f1f1;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 5px 10px 5px 30px;
    cursor: pointer;
    position: relative;
}

.accordion-toggle-nested .accordion-header-trigger:hover { background-color: #e0e0e0; }

.scene-item ul li.accordion-toggle-nested .accordion-header-trigger .accordion-icon-nested {
    position: absolute;
    left: 25px !important;
    top: 50%;
    transform: translateY(-50%); 
    color: #007bff;
    font-size: 12px;
}

/* --- コンテンツエリア --- */
.scene-item .accordion-content-item,
.scene-item .accordion-content-nested {
    background-color: #fff !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 0 5px 0;
    padding: 15px;
}

.scene-item ul li.accordion-toggle-nested b { color: #333; font-weight: bold; }

/* =======================================================
   6. アコーディオン内テーブル
   ======================================================= */
.accordion-content-item table {
    width: 100%;
    border-collapse: collapse;
}

.accordion-content-item th {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px;
    font-weight: bold;
    text-align: center;
}

.accordion-content-item td {
    padding: 8px 8px;
    vertical-align: middle;
    background-color: #fff;
}

/* 列幅設定 */
.accordion-content-item .left { width: 65%; }
.accordion-content-item .right { width: 30%; }
.accordion-content-item .arrow { width: 30px; text-align: center; font-weight: bold; }

/* 区切り線 */
.accordion-content-item td.dotted { border-bottom: 1px dotted #000; }
.accordion-content-item td.solid { border-bottom: 1px solid #000; }
.accordion-content-item td.double-solid {
    display: table-cell;
    padding-bottom: 8px;
    background-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
    background-size: 100% 1px, 100% 1px;
    background-position: left calc(100% - 4px), left 100%;
    background-repeat: no-repeat;
}

/* スペーサー列の設定 */
.accordion-content-item .spacer {
    width: 15px;
    background-color: #fff; /* 基本は白 */
    border: none !important; /* スペーサー列は線を消す */
}
.accordion-content-item tr { background-color: transparent !important; }
.accordion-content-item tr:hover td { background-color: #bee3f8; }

.accordion-content-item td.spacer,
.accordion-content-item tr:hover td.spacer {
    background-color: #fff !important; 
    border: none !important;
    padding: 0;
    width: 20px;
}


/* 装飾・リンク */
.accordion-content-item .sub { padding-left: 25px; }
#scene1 .accordion-content-item .sub {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.accordion-content-item td.product,
.accordion-content-item td.product_last {
    text-align: center;
    color: #0047ff;
    border-bottom: 1px solid #000;
}
.accordion-content-item td.product_last { border-bottom: none; }

.accordion-content-item a { color: #0047ff; text-decoration: underline; }
.accordion-content-item a:hover { color: #cc0000; text-decoration: none; }
.accordion-content-item .gap-top { padding-top: 15px; }

/* =======================================================
   7. スマートテーブル (smartTable / dl-table-1)
   ======================================================= */
.smartTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.smartTable td, .smartTable th {
    border: 1px solid #ccc;
    padding: 10px !important;
    vertical-align: middle;
    box-sizing: border-box;
}

/* カラム幅制御 */
.smartTable thead th.col-1-w { width: 33%; } 
.smartTable thead th.col-1   { width: 17%; }   
.smartTable thead th.col-2   { width: 16%; }   
.smartTable thead th.col-3   { width: 24%; }   
.smartTable thead th.col-4   { width: 43%; }   

.smartTable td.th-doc-title { width: 17%; text-align: center; font-weight: bold; line-height: 1.2 !important; font-size: 0.9em; } 
.smartTable td.th-doc-img   { width: 16%; text-align: center; font-weight: bold; line-height: 1.3; }
.smartTable td.th-doc-pdf   { width: 24%; text-align: center; font-size: 0.9em !important; line-height: 1.4; padding: 7px !important; }
.smartTable td.th-doc-list  { width: 43%; } 

/* PDFリスト内の構造 */
.th-doc-pdf ul { margin: 0; padding: 0; list-style: none; }
.th-doc-pdf li { margin-bottom: 2px; }
.th-doc-pdf hr { margin: 5px 0 !important; border: 0; border-top: 1px dashed #ccc; }

/* dl-table-1 特殊設定 */
.dl-table-1 td.th-doc-img {
    line-height: 1.2;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 5px;
}

.dl-table-1 .th-doc-pdf,
.dl-table-1 .th-doc-list { padding: 10px; }

.dl-table-1 td.th-doc-list ul.ul-no-height {
    margin: 0 !important;
    padding: 0 5px !important; 
}

.dl-table-1 td.th-doc-list ul.ul-no-height li {
    line-height: 1.2 !important; 
    margin-bottom: 3px !important; 
    padding: 0 !important;
    font-size: 11px !important;
}

/* =======================================================
   8. 検索セクション
   ======================================================= */
.search-section {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}
.search-section input[type="text"] {
    padding: 8px;
    width: 70%;
    margin-right: 10px;
    border: 1px solid #ccc;
}
.search-section button {
    padding: 8px 15px;
    background-color: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
}

/* =======================================================
   9. モーダル・テキスト装飾
   ======================================================= */
.modal-trigger {
    display: block !important;
    margin-left: auto !important; 
    margin-right: auto !important; 
    width: 100px;
    height: auto;
    cursor: pointer;
}

#imageModal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex; 
    align-items: center;   
    justify-content: center; 
}

.example-text { padding-left: 1em; text-indent: -1em; line-height: 1.6; }

.sub-text { font-weight: normal; font-size: 0.85em; display: inline-block; margin-top: 2px; }
.sub-text2 { font-weight: bold; font-size: 0.9em; display: inline-block; margin-top: 2px; }
.sub-text3 { font-weight: normal; font-size: 0.9em; display: inline-block; margin-top: 2px; }

.small-note {
    display: inline-block; 
    font-weight: normal;   
    font-size: 0.9em;      
    line-height: 1.4;      
    margin-top: 4px;       
}

.code-label { display: inline-block; width: 12px; font-weight: bold; text-align: left; }
.code-label2 { display: inline-block; width: 32px; font-weight: bold; text-align: left; }

.note, .note-2 { font-size: 0.9em; color: #666; margin-top: 10px; }
.note-2 { margin-top: 5px; }

/* =======================================================
   10. 特殊クラス・ハイライト・フッター
   ======================================================= */
.hl-active, .hl-all, .hl-t5, .hl-row { background-color: #bee3f8 !important; } 

#toggle-brochure td {
    padding: 8px 8px;
    vertical-align: middle;
    font-size: 0.9em;     
}

#FooterMenu { font-size: 11px; }
#ContactSupportInfo { font-size: 12px; }