@charset "utf-8";
/*+++++++++++++++++++++++++++++++++++++++++++++
SDS（安全データシート）一覧  product/sds/
+++++++++++++++++++++++++++++++++++++++++++++*/

/*--------------------------------------------------------------------------------
　▼ リード文・注意事項
--------------------------------------------------------------------------------*/
.sds-lead {
  line-height: 1.8;
  margin: 25px auto 0;
  max-width: 820px;
}

.sds-note {
  background-color: rgba(0, 122, 210, 0.07);
  border: 1px solid rgba(0, 122, 210, 0.3);
  line-height: 1.8;
  margin-bottom: 30px;
  padding: 20px 25px;
}

.sds-note > p + p {
  margin-top: 8px;
}

.sds-note .attention {
  color: #004088;
  font-weight: bold;
}

/*--------------------------------------------------------------------------------
　▼ ページ内検索
--------------------------------------------------------------------------------*/
.sds-search {
  margin-bottom: 25px;
}

.sds-search-box {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sds-search-box > label {
  color: #004088;
  font-weight: bold;
  white-space: nowrap;
}

.sds-search-box > input[type="text"] {
  border: 1px solid #c8d4e0;
  border-radius: 3px;
  flex: 1 1 260px;
  font-size: 1.5rem;
  max-width: 420px;
  padding: 10px 12px;
}

.sds-search-box > input[type="text"]:focus {
  border-color: #007ad2;
  outline: none;
}

.sds-search-clear {
  background-color: #fff;
  border: 1px solid #007ad2;
  border-radius: 3px;
  color: #007ad2;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 9px 18px;
}

.sds-search-clear:hover {
  background-color: #007ad2;
  color: #fff;
}

.sds-search .attention {
  font-size: 1.3rem;
  margin-top: 8px;
}

/*--------------------------------------------------------------------------------
　▼ カテゴリータブ
--------------------------------------------------------------------------------*/
.sds-tab {
  border-bottom: 2px solid #007ad2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}

.sds-tab > li > a {
  background-color: #eef3f8;
  border: 1px solid #d3dfea;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  color: #004088;
  display: block;
  font-weight: bold;
  padding: 12px 30px;
  text-decoration: none;
}

.sds-tab > li > a:hover {
  background-color: #dbe7f2;
}

.sds-tab > li > a.active {
  background-color: #007ad2;
  border-color: #007ad2;
  color: #fff;
}

.sds-panel {
  display: none;
}

.sds-panel.active {
  display: block;
}

/*--------------------------------------------------------------------------------
　▼ 一覧の上部（件数・一括ダウンロード）
--------------------------------------------------------------------------------*/
.sds-panel-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sds-panel-head .sds-result {
  color: #004088;
  font-weight: bold;
}

.sds-bulk {
  background-color: #004088;
  border: none;
  border-radius: 17px;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 11px 28px;
}

.sds-bulk:hover {
  background-color: #007ad2;
}

.sds-bulk:disabled {
  background-color: #b6c2cd;
  cursor: default;
}

/*--------------------------------------------------------------------------------
　▼ 一覧テーブル
--------------------------------------------------------------------------------*/
.sds-list {
  border-collapse: collapse;
  margin-bottom: 20px;
  width: 100%;
}

.sds-list th {
  background-color: #004088;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 12px 10px;
  text-align: center;
}

.sds-list th:last-child {
  border-right: none;
}

.sds-list td {
  border-bottom: 1px solid #dfe6ee;
  padding: 14px 10px;
  vertical-align: middle;
}

.sds-list tbody tr:nth-child(odd) {
  background-color: rgba(0, 122, 210, 0.05);
}

.sds-list tbody tr:hover {
  background-color: rgba(0, 122, 210, 0.12);
}

.sds-list .col-check {
  text-align: center;
  width: 70px;
}

.sds-list .col-name {
  width: auto;
}

.sds-list td.col-name {
  color: #004088;
  font-weight: bold;
}

.sds-list .col-no {
  text-align: center;
  width: 110px;
}

.sds-list .col-cas {
  text-align: center;
  width: 170px;
}

.sds-list .col-pdf {
  text-align: center;
  width: 120px;
}

.sds-list .col-dept {
  text-align: center;
  width: 140px;
}

.sds-list .col-check input[type="checkbox"] {
  height: 18px;
  width: 18px;
}

/* アイコン（icon_pdf.svg）が白のため、青地のボタンに載せる */
.sds-list td.col-pdf > a {
  background-color: #007ad2;
  border-radius: 3px;
  display: inline-block;
  line-height: 1.2;
  padding: 9px 16px 7px;
  text-decoration: none;
}

.sds-list td.col-pdf > a:hover {
  background-color: #004088;
}

.sds-list td.col-pdf > a > img {
  display: block;
  margin: 0 auto 3px;
  width: 34px;
}

.sds-list td.col-pdf .size {
  color: #fff;
  display: block;
  font-size: 1.1rem;
}

.sds-list td.col-pdf .none {
  color: #999;
  font-size: 1.3rem;
}

/*--------------------------------------------------------------------------------
　▼ 該当なし・準備中
--------------------------------------------------------------------------------*/
.sds-empty,
.sds-noresult {
  background-color: #f5f7fa;
  display: none;
  padding: 40px 20px;
  text-align: center;
}

.sds-empty.show,
.sds-noresult.show {
  display: block;
}

/*--------------------------------------------------------------------------------
　▼ ページ下部の補足
--------------------------------------------------------------------------------*/
.sds-footer-note {
  border-top: 1px solid #dfe6ee;
  margin-top: 40px;
  padding-top: 25px;
}

.sds-footer-note > p {
  line-height: 1.8;
}

.sds-footer-note > p + p {
  margin-top: 10px;
}

.sds-footer-note .adobe {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

/*--------------------------------------------------------------------------------
　▼ SP
--------------------------------------------------------------------------------*/
@media screen and (max-width: 767px) {
  .sds-tab > li {
    flex: 1 1 auto;
  }

  .sds-tab > li > a {
    padding: 11px 15px;
    text-align: center;
  }

  .sds-panel-head {
    justify-content: center;
  }

  .sds-search-box > label {
    flex: 0 0 100%;
  }

  .sds-search-box > input[type="text"] {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  .sds-note {
    padding: 15px;
  }

  /* テーブルをカード型に組み替える */
  .sds-list,
  .sds-list tbody,
  .sds-list tr,
  .sds-list td {
    display: block;
    width: auto;
  }

  .sds-list thead {
    display: none;
  }

  .sds-list tbody tr {
    border: 1px solid #dfe6ee;
    margin-bottom: 12px;
    padding: 5px 0;
    position: relative;
  }

  .sds-list td {
    border-bottom: none;
    padding: 7px 12px 7px 110px;
    text-align: left !important;
    width: auto !important;
  }

  .sds-list td:before {
    color: #007ad2;
    content: attr(data-label);
    font-size: 1.3rem;
    font-weight: bold;
    left: 12px;
    position: absolute;
    width: 90px;
  }

  .sds-list td.col-check {
    padding-left: 12px;
  }

  .sds-list td.col-check:before {
    content: none;
  }

  .sds-list td.col-check > label {
    color: #007ad2;
    font-size: 1.3rem;
    font-weight: bold;
  }

  .sds-list td.col-pdf > a > img {
    display: inline-block;
    margin: 0 8px 0 0;
    vertical-align: middle;
  }

  .sds-list td.col-pdf .size {
    display: inline-block;
  }
}

/*--------------------------------------------------------------------------------
　▼ SP用のラベル（PCでは非表示）
--------------------------------------------------------------------------------*/
.sds-sp-label {
  display: none;
}

@media screen and (max-width: 767px) {
  .sds-sp-label {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
  }
}
