/* .cke4 全体のスタイル */
.cke4 {
  max-width: 1080px;
  margin: 30px 20px;
}

/* 幅設定 */
.cke4 .mw1080, .cke4 .mw900, .cke4 .mw700, .cke4 .w50, .cke4 .w70, .cke4 .w100, .cke4 .w80 {
    width: 100%;
    margin: 0 auto;
}

.cke4 .mw900 {
    max-width: 900px;
}

.cke4 .mw700 {
    max-width: 700px;
}

.cke4 .w50 {
    width: 50%;
}

.cke4 .w70 {
    width: 70%;
}

.cke4 .w80 {
    width: 80px;
}

.cke4 .b40 {
    margin: auto !important;
}

.text-align-right {
  text-align: right !important;
  display: block;
}

/* フレックスボックス */
.flex {
    display: flex;
    overflow: auto;
}

/* テキストブロックとテーブルブロック */
.cke4 .text-block, .table-block {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

/* リストスタイル */
.cke4 .circleList {
    margin: 0 0 0 1.5em;
    padding: 0;
    list-style-type: disc;
}

.cke4 .circleList li {
    line-height: 28px;
    list-style-position: outside;
    list-style-type: disc !important;
}

/* テーブルスタイル */
.cke4 table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 16px;
}

.cke4>div table thead tr:first-of-type th,
.cke4>div table th {
    font-weight: bold !important;
    background: none !important;
    border-bottom: 1px solid #707070 !important;
    color: #000 !important;
    text-align: center !important;
}

.cke4>div table td {
    border-bottom: 1px solid #707070;
}

.cke4>div table td.bottomNone {
    border-bottom: none !important;
}

.cke4>div table td.topNone {
    border-top: none !important;
}

.cke4>div table th,
.cke4>div table td {
    border-left: 1px solid #f5f5f5 !important;
    border-right: none !important;
    font-size: 16px;
    color: #000000;
    text-align: center;
    padding: 10px !important;
    width: auto;
}

.cke4>div table caption {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cke4>div table tr.table_red td {
    color: #cc1c24;
}

.cke4>div table tr.table_darkblue td {
    color: #334069;
}

.cke4>div table tr.table_red td,
.cke4>div table tr.table_darkblue td {
    font-weight: 700;
}

th.black {
    width: 170px;
}

div.p_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0;
  margin-bottom: 20px;
}
div.p_content .table_wrap {
  overflow-x: auto;
  width: 100%;
}
div.p_content h3.title {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
div.p_content .powered_by_position {
  width: 100%;
}
a.s_detail_button {
  border-radius: 4px;
  background: #0046AD;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  width: fit-content;
  transition: .8s;
  text-decoration: none;
  min-width:90px;
}
a.s_detail_button:hover {
  background: #0055D1;
}
a.s_detail_button span {
  color: #FFF;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: inline-block;
}
a.s_detail_button img.details-page_002_arrow48 {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
/* テーブル基本スタイル（PC用） */
div.p_content table.results {
  width: 100%;
  border-collapse: separate; /* ← collapseからseparateに変更 */
  border-spacing: 0;         /* ← セル間の隙間をなくす */
  border: none;              /* ← テーブル自体の枠線を消す */
}
div.p_content table.results th,
div.p_content table.results td {
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  padding: 10px;
  border: none;                /* ← すべてのボーダーを一旦消す */
  border-bottom: 0.5px solid #D0D5DD; /* ← 下ボーダーだけ残す */
  background: none;
  white-space: nowrap;
}
div.p_content table.results th {
  background: rgba(0, 70, 173, 0.08);
  color: black;
  font-weight: 600;
}
div.p_content table.results tr:hover td {
  background: rgba(214, 214, 214, 0.20);
}
/* レスポンシブ（スマホ・タブレット） */
@media screen and (max-width: 750px) {
  .pcOnly { display: none; }
  .spOnly { display: block; }

  /* 横スクロールラッパー */
  div.p_content .table_wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  /* テーブルは表形式のまま、必要なら min-width を大きくして横スクロールを促す */
  div.p_content table.results {
    display: table;
    width: 100%;
    table-layout: auto;
    min-width: 720px; /* 必要に応じ調整（列数に合わせて） */
    border-collapse: separate;
  }

  /* thead を表示 */
  div.p_content table.results thead {
    display: table-header-group;
  }

  /* th：縦表示（モダンブラウザ）＋フォールバック */
  div.p_content table.results thead th,
  div.p_content table.results th.table-cell {
    white-space: nowrap;
    text-align: center;
    padding: 8px 6px;
    font-weight: 700;
    vertical-align: middle;
    box-sizing: border-box;
    min-width: 30px; /* 必要に応じ調整 */
  }

  /* フォールバック：text-orientation をサポートしないブラウザ向け */
  @supports not (text-orientation: upright) {
    div.p_content table.results thead th,
    div.p_content table.results th.table-cell {
      writing-mode: horizontal-tb;
      transform-origin: center;
      padding: 10px 6px;
      white-space: nowrap;
    }
  }

  /* td は通常のセル表示（表のまま） */
  div.p_content table.results td.table-cell {
    display: table-cell;
    box-sizing: border-box;
    padding: 8px 10px;
    white-space: normal;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.6;
  }

  /* data-label（疑似要素表示）は確実に非表示に */
  div.p_content table.results td.table-cell::before {
    content: none !important;
    display: none !important;
  }

  /* 埋め込み画像やボタンの微調整（モバイル） */
  div.p_content table.results td.table-cell img {
    max-width: 100%;
    height: auto;
    display: inline-block;
  }
  div.p_content table.results td.table-cell a.s_detail_button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

/* キャプションテキスト */
.cke4 .caption-text-noto,
.cke4 p.caption-text-noto {
    font-weight: 700;
    color: #0009;
    font-size: 16px !important;
    text-align: center;
    line-height: normal !important;
    margin: 20px 0 10px 0;
}

.spec-card {
  max-width: 1080px;
  margin: 0 20px 0px 20px!important;
  font-size: 16px;
  border: 1px solid #d4d4d4;
  border-radius: 16px;
  box-shadow: 0 2px 8px #eee;
  padding: 20px 22px;
  background: #fff;
}
.spec-card h2 {
  margin-bottom: 10px;
}

.spec-card-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  margin-bottom: 14px;
}

.spec-card-table thead tr:first-of-type th,
.spec-card-table th {
    font-weight: bold !important;
    background: none !important;
    border-bottom: 1px solid #707070 !important;
    color: #000 !important;
    text-align: center !important;
}

.spec-card-table td {
    border-bottom: 1px solid #707070 !important;
}
.spec-card-table td.bottomNone {
    border-bottom: none !important;
}

.spec-card-table td.topNone {
    border-top: none !important;
}

.spec-card-table th,
.spec-card-table td {
    border-left: none !important;
    border-right: none !important;
    font-size: 16px;
    color: #000000;
    text-align: center;
    padding: 6px !important;
    width: auto;
}

.spec-card-feature-list {
  margin: 0 0 0 1em;
  padding: 0;
  list-style: none;
}

.spec-card-feature-list li {
  margin-bottom: 10px;
}

/* 画像コンテナ */
.image-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    overflow-y: hidden;
}

.image-container figure {
    margin: 0;
    width: 30%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container img,
.image-container .embedded-entity img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    height: 250px;
    box-sizing: border-box;
}

.centered-element {
    max-width: 80%;
    text-align: center;
}

.image-container.four-figures figure {
    margin: 0;
    width: calc((100% - 24px) / 4); /* 8px gap × 3 = 24px */
    max-width: 100%;
    height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.image-container.two-figures figure,
.image-container.three-figures figure {
    margin: 0;
    max-width: 100%;
    height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 横幅だけ個別指定 */
.image-container.two-figures figure { width: 48%; }
.image-container.three-figures figure { width: 30%; }

.image-container drupal-entity,
.image-container img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.cke4 .card-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.cke4 .card-group {
  width: 200px;
  border: 1px solid #0046AD;
  border-radius: 20px;
  box-shadow: 2px 2px 4px gray;
  background: #fff;
  padding: 16px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* 上下に分散 */
  transition: box-shadow 0.5s, background 0.5s;
  margin-bottom: 8px;
  min-height: 180px; /* 画像分高さを調整 */
}
.cke4 .card-group:hover {
  box-shadow: none;
  background-color: #e6edf8;
}
.cke4 .card-title {
  font-size: 19px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 6px;
}
.cke4 .card-title .link-btn {
  color: #0046AD;
  font-size: 19px;
  text-decoration: none;
}
.cke4 .card-title .link-btn:hover {
  text-decoration: none;
}
.cke4 .card-desc {
  font-size: 13px;
  line-height: normal;
  color: #0046AD;
  display: inline-block;
  width: 100%;
  text-align: center;
  word-break: break-word;
}
.cke4 .link-btn {
  text-decoration: none;
  color: #0046AD;
}
.cke4 .link-btn:hover {
  text-decoration: none;
  color: #0046AD;
}
.cke4 .card-group p {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.cke4 .card-img,
.cke4 drupal-entity {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
  background: transparent;
  display: block;
}
.cke4 .card-texts {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cke4 .card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* オーバーフロースタイル */
.cke4 .overflow {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    width: 100%;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1180px) {
    .flex {
        width: auto;
        position: relative;
    }
}

@media screen and (max-width: 1079px) {
    .cke4 .overflow {
        overflow: auto;
    }
}

@media screen and (max-width: 900px) {
  .image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .image-container.four-figures figure,
  .image-container.three-figures figure,
  .image-container.two-figures figure,
  .image-container figure {
    width: 100% !important;      /* ← ここでPC用の幅指定を無効化 */
    max-width: 600px;
    height: auto;
    margin: 0 0 8px 0;
    box-sizing: border-box;
  }

  .image-container img {
    width: 100% !important;
    height: auto;
    display: block;
  }

  .flex {
    padding: 0 24px;
    flex-direction: column;
    box-sizing: border-box;
  }
}

/* レスポンシブ：768px以下でフォントサイズ調整 */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .image-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    table.mw1080 {
        width: 1080px !important;
    }
    .spec-card {
    		overflow:auto;
    }
}

/* レスポンシブ：480px以下でさらに調整 */
@media screen and (max-width: 480px) {
  .image-container {
  	flex-direction: column;
  	align-items: center;
  	padding: 10px;
  }
  .image-container figure {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .cke4 .overflow {
    overflow: auto;
  }
  .flex {
    overflow: auto;
  }
}

@media screen and (max-width: 1080px) {
    #cke4_body .tech-note-article, .cke4, #cke4_body .full-section {
        width: auto;
    }
}

@media screen and (max-width: 1079px) {
    #cke4_body .block-views-blocktech-note-detail-page-revision-block-1 .tech-note-article,
    #cke4_body .stick {
        width: auto;
    }
}

/* 通常のリンクのスタイル設定 */
.cke4 table.n-style tr td a {
  color: rgb(0, 70, 173); /* リンクの色をTDKのブランドカラーに設定 */
  text-decoration: none; /* リンクの下線を削除 */
  transition: color 0.3s, text-decoration 0.3s; /* リンクのホバー時のスムーズな変化を設定 */
}

/* リンクのホバー時のスタイル設定 */
.cke4 table.n-style tr td a:hover {
  text-decoration: underline; /* リンクのホバー時に下線を表示 */
}

/* セルのホバー時の共通リンクテキスト色 */
.cke4 table.n-style tr td:hover:has(a) a {
  color: #fff; /* セルのホバー時にリンクのテキスト色を白に共通化 */
}

/* 青系のセルのホバー効果 */
.cke4 table.n-style tr td:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(0, 50, 150), rgb(0, 70, 173), rgb(0, 100, 200), rgb(0, 130, 230), rgb(0, 150, 250));
  border-color: rgb(0, 70, 173);
  color: #fff;
}

/* 赤系のセルのホバー効果 */
.cke4 table.n-style tr td.red:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(200, 0, 0), rgb(220, 50, 50), rgb(240, 100, 100));
  border-color: rgb(200, 0, 0);
  color: #fff;
}

/* 紫系のセルのホバー効果 */
.cke4 table.n-style tr td.purple:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(100, 0, 100), rgb(120, 40, 120), rgb(140, 80, 140));
  border-color: rgb(100, 0, 100);
  color: #fff;
}

/* オレンジ系のセルのホバー効果 */
.cke4 table.n-style tr td.orange:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(255, 140, 0), rgb(255, 170, 70), rgb(255, 200, 140));
  border-color: rgb(255, 140, 0);
  color: #fff;
}

/* 緑系のセルのホバー効果 */
.cke4 table.n-style tr td.green:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(0, 100, 0), rgb(50, 150, 50), rgb(100, 200, 100));
  border-color: rgb(0, 100, 0);
  color: #fff;
}

/* 明るい青系のセルのホバー効果 */
.cke4 table.n-style tr td.light-blue:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(150, 200, 230), rgb(180, 220, 250), rgb(210, 240, 255));
  border-color: rgb(150, 200, 230);
  color: #fff;
}

/* 黄色系のセルのホバー効果 */
.cke4 table.n-style tr td.yellow:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(255, 255, 100), rgb(255, 255, 150), rgb(255, 255, 200));
  border-color: rgb(255, 255, 100);
  color: #fff;
}

/* ピンク系のセルのホバー効果 */
.cke4 table.n-style tr td.pink:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(255, 160, 180), rgb(255, 180, 200), rgb(255, 200, 220));
  border-color: rgb(255, 160, 180);
  color: #fff;
}

/* シアン系のセルのホバー効果 */
.cke4 table.n-style tr td.cyan:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(0, 200, 200), rgb(50, 220, 220), rgb(100, 240, 240));
  border-color: rgb(0, 200, 200);
  color: #fff;
}

/* ライラック系のセルのホバー効果 */
.cke4 table.n-style tr td.lilac:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(180, 140, 180), rgb(200, 160, 200), rgb(220, 180, 220));
  border-color: rgb(180, 140, 180);
  color: #fff;
}

/* ミント系のセルのホバー効果 */
.cke4 table.n-style tr td.mint:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(160, 240, 180), rgb(180, 255, 200), rgb(200, 255, 220));
  border-color: rgb(160, 240, 180);
  color: #fff;
}

/* サーモン系のセルのホバー効果 */
.cke4 table.n-style tr td.salmon:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(240, 100, 90), rgb(255, 130, 120), rgb(255, 160, 150));
  border-color: rgb(240, 100, 90);
  color: #fff;
}

/* ラベンダー系のセルのホバー効果 */
.cke4 table.n-style tr td.lavender:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(220, 220, 240), rgb(230, 230, 250), rgb(240, 240, 255));
  border-color: rgb(220, 220, 240);
  color: #fff;
}

/* ベージュ系のセルのホバー効果 */
.cke4 table.n-style tr td.beige:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(240, 240, 210), rgb(250, 250, 230), rgb(255, 255, 250));
  border-color: rgb(240, 240, 210);
  color: #fff;
}

/* オリーブ系のセルのホバー効果 */
.cke4 table.n-style tr td.olive:hover:has(a) {
  background-image: linear-gradient(90deg, rgb(100, 100, 0), rgb(120, 120, 40), rgb(140, 140, 80));
  border-color: rgb(100, 100, 0);
  color: #fff;
}

/* 横並び用 */
figure.textLeft {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin-right: 2%;
    margin-bottom: 24px;
    box-sizing: border-box;
}

/* 最後のfigureの右マージンを消す */
figure.textLeft:last-of-type {
    margin-right: 0;
    margin-left:0;
}

/* 画像の右寄せ調整 */
figure.textLeft .float-right {
    float: right;
    margin-left: 16px;
    margin-bottom: 8px;
}

/* レスポンシブ対応：画面が狭い場合は縦並び */
@media (max-width: 900px) {
    figure.textLeft {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    figure.textLeft .float-right {
        float: none;
        margin-left: 0;
        margin-bottom: 8px;
    }
}

.dbn-box {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  max-width:1080px;
}

.d-button {
  padding: 16px 17px 16px 40px;
  border-radius: 8px;
  background-color: #0046AD;
  transition: .4s all;
  font-weight: 600;
  color: #fff !important;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin: 16px 0;
  line-height: 24px;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.d-button:hover {
  padding: 16px 40px;
}

.d-button img.d-buttonLeft {
  width: 24px !important;
  height: 24px !important;
  flex: 0;
  margin-right: 8px;
}

.d-button img.d-buttonRight {
  width: 19px !important;
  height: 19px !important;
  flex: 0;
  margin-left: 8px;
  opacity: 0;
  transition: all .4s ease-in-out;
}

.d-button:hover .d-buttonRight {
  opacity: 1;
}

@media screen and (max-width:975px) {
  .dbn-box {
    display: block;
    text-align: center;
  }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 既存（そのまま） */
.no-border-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: none !important;
  background: transparent;
  table-layout: auto;   /* 必要なら fixed にして列幅を固定できます */
}

.no-border-table th,
.no-border-table td {
  border: none !important;
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
}

.no-border-table thead th {
  font-weight: 600;
}

.cell { color: #000; }

/* ラッパーを横スクロール可能にする（モバイルで必須） */
.cke4 .overflow {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* スムーズスクロール（iOS） */
}

/* optional: テーブルが小さすぎて崩れるのを防ぐための最小幅 */
.no-border-table {
  min-width: 600px; /* 必要に応じて調整／削除 */
}

/* cke4 related link */
.cke4 .related-img {
    width: 40px;
    height: 40px;
}

.cke4 .related-link-title {
    position: relative;
    width: fit-content;
    font-weight: 600;
    color: #000;
    font-size: 24px;
    letter-spacing: 0;
    line-height: normal;
}

.cke4 .product-portal_short .card {
    height: 400px;
}
.cke4 .card {
    width: 340px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid;
    border-color: #d6d6d6;
    transition: 1s all;
}

.cke4 .relatedLink {
    max-width: 1080px;
    gap: 70px;
    display: flex
;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.cke4 .related-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    display: flex
;
    position: relative;
}

.cke4 .product-portal, .cke4 .product-portal_short, .cke4 .product-portal_long {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 61px 30px;
}

.cke4 .card-img {
    width: 100%;
    object-fit: contain;
    height: 180px;
}
.cke4 .card-content {
    display: flex
;
    flex-direction: column;
}

.cke4 .related-contents {
    gap: 16px;
    display: flex;
    align-items: center;
}

.cke4 .card-text {
    padding: 32px;
    color: #000;
    text-decoration: none;
}

.cke4 .product-portal_short .related-title {
    font-weight: 800;
    font-size: 16px;
    line-height: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
}

.cke4 .product-portal_short p.related-text {
    margin-bottom: 0 !important;
    font-weight: 400;
    color: #6b6b6b;
    line-height: normal !important;
    font-size: 14px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}
