/*
 * Rails 8 / Propshaft serves CSS as-is and does not compile the legacy Sass
 * tree. Add post-migration desktop styles here so assets:precompile can
 * fingerprint and publish them.
 */

.l-header-main__logo > a img.l-header-main__logoImage--en {
  width: 261px;
  height: auto;
}

.l-header-main__logo > a.l-header-main__logoLink--en img:nth-of-type(3) {
  margin-left: 274px;
}

.p-sustainability__tcfd {
  padding: 30px 0 80px;
}

.p-sustainability__tcfdScrollHint {
  display: none;
}

.p-sustainability__tcfdTable--ja {
  width: 100%;
  height: auto;
  margin-top: 45px;
  padding: 0;
  position: relative;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 2px 2px 4px 1px rgba(1, 37, 67, 0.1);
}

.p-sustainability__tcfdTable--ja > table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.p-sustainability__tcfdTable--ja > table th,
.p-sustainability__tcfdTable--ja > table td {
  vertical-align: middle;
  border: 2px solid #f3f4f6;
}

.p-sustainability__tcfdTable--ja > table th {
  padding: 10px 8px;
  color: #fff;
  background-color: #123764;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.p-sustainability__tcfdTable--ja > table th:first-child {
  position: sticky;
  left: 0;
  z-index: 40;
  color: transparent;
  background-color: #efefef;
}

.p-sustainability__tcfdTable--ja > table td {
  padding: 12px 10px;
  background-color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.65;
}

.p-sustainability__tcfdTable--ja > table td:first-child,
.p-sustainability__tcfdTable--ja > table td:nth-last-child(5),
.p-sustainability__tcfdTable--ja > table td:nth-last-child(2),
.p-sustainability__tcfdTable--ja > table td:last-child {
  text-align: center;
}

.p-sustainability__tcfdTable--ja > table td:first-child[rowspan] {
  position: sticky;
  left: 0;
  z-index: 80;
  white-space: nowrap;
}

.p-sustainability__tcfdTable--ja > table td:nth-last-child(4) {
  text-align: left;
}

.p-sustainability__tcfdTable--ja > table tr > :nth-child(1) { width: 11%; }
.p-sustainability__tcfdTable--ja > table tr > :nth-child(2) { width: 10%; }
.p-sustainability__tcfdTable--ja > table tr > :nth-child(3) { width: 25%; }
.p-sustainability__tcfdTable--ja > table tr > :nth-child(4) { width: 40%; }
.p-sustainability__tcfdTable--ja > table tr > :nth-child(5) { width: 6%; }
.p-sustainability__tcfdTable--ja > table tr > :nth-child(6) { width: 8%; }

.p-sustainability__tcfdTable--ja > table tr:nth-child(2) > td:first-child,
.p-sustainability__tcfdTable--ja > table tr:nth-child(7) > td:first-child {
  background-color: #b7c5dd;
}

.p-sustainability__tcfdTable--ja > table tr:nth-child(10) > td:first-child {
  background-color: #c8d5bf;
}
