/*
 * 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;
}

/* Financial highlights charts */
.p-ir__financeList--chart {
  display: block;
  margin-top: 28px;
}

.p-ir__financeChartAccountingNote {
  width: 915px;
  max-width: 100%;
  margin-top: 24px;
  color: #333;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
}

.p-ir__financeItem--chart {
  width: 100%;
}

.p-ir__financeItem--chart h3.jp-line {
  white-space: nowrap;
}

.p-ir__financeItem--chart h3.jp-line br {
  display: none;
}

.p-ir__financeItem--chart h3.jp-line::before {
  height: 22px;
}

.p-ir__financeForecastBreak {
  display: none;
}

.p-ir__financeItem--chart:not(:first-child) {
  margin-top: 44px;
}

.p-ir__financeFilter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 14px;
}

.p-ir__financeCheck {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #012543;
  font-size: 1.4rem;
  font-weight: 600;
}

.p-ir__financeCheck input {
  width: 16px;
  height: 16px;
  accent-color: #012543;
}

.p-ir__financeCheckColor {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 1px;
  background: var(--series-color);
}

.p-ir__financeChart {
  position: relative;
  box-sizing: border-box;
  width: 915px;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 0 10px;
  overflow: visible;
}

.p-ir__financeChartEmpty {
  color: #666;
  font-size: 1.4rem;
}

.p-ir__financeChartScroller {
  width: 100%;
  overflow: visible;
}

.p-ir__financeChartMain {
  display: flex;
  align-items: stretch;
}

.p-ir__financeChartYAxis {
  display: flex;
  flex: 0 0 74px;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 3px 9px 42px 0;
}

.p-ir__financeChartYTick {
  color: #555;
  font-size: 1.1rem;
  line-height: 1;
  text-align: right;
}

.p-ir__financeChartPlot {
  position: relative;
  flex: 1;
  min-width: 0;
}

.p-ir__financeChartUnitFixed {
  position: absolute;
  top: -20px;
  right: 10px;
  z-index: 20;
  color: #444;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.p-ir__financeChartGrid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 41px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.p-ir__financeChartGridLine {
  height: 1px;
  background: #dde2e9;
}

.p-ir__financeChartCols {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 320px;
  overflow: visible;
}

.p-ir__financeChartCol {
  display: flex;
  flex: 1 1 20%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 112px;
}

.p-ir__financeChartBars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 270px;
  gap: 4px;
}

.p-ir__financeChartSeries {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 18px;
  height: 100%;
}

.p-ir__financeChartSeries:hover,
.p-ir__financeChartSeries:focus-visible,
.p-ir__financeChartSeries:active {
  z-index: 80;
}

.p-ir__financeChartBar {
  width: 100%;
  background: var(--series-color);
  transition: height 0.25s ease;
}

.p-ir__financeChartBarValue {
  position: absolute;
  bottom: calc(var(--bar-height) + 6px);
  left: 50%;
  transform: translateX(-50%);
  color: #555;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.p-ir__financeChartTooltip {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 90;
  min-width: 180px;
  padding: 10px 12px;
  transform: translate(-50%, 8px);
  border: 2px solid #76abdc;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.p-ir__financeChartTooltip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid #76abdc;
  border-bottom: 2px solid #76abdc;
  background: #fff;
}

.p-ir__financeChartSeries:hover .p-ir__financeChartTooltip,
.p-ir__financeChartSeries:focus-visible .p-ir__financeChartTooltip,
.p-ir__financeChartSeries:active .p-ir__financeChartTooltip {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.p-ir__financeChartTooltipYear {
  display: block;
  color: #444;
  font-size: 1.3rem;
  line-height: 1.3;
}

.p-ir__financeChartTooltipRow {
  display: flex;
  align-items: center;
  margin-top: 6px;
  gap: 6px;
}

.p-ir__financeChartTooltipDot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--series-color);
}

.p-ir__financeChartTooltipText {
  color: #333;
  font-size: 1.4rem;
  line-height: 1.25;
  white-space: nowrap;
}

.p-ir__financeChartLabel {
  margin-top: 8px;
  color: #012543;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.p-ir__financeChartLineSvg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 270px;
  overflow: visible;
}

.p-ir__financeChartLine {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.p-ir__financeChartLinePoints {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  height: 270px;
  pointer-events: none;
}

.p-ir__financeChartLinePoint {
  position: absolute;
  width: 18px;
  height: 18px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.p-ir__financeChartLinePoint:hover,
.p-ir__financeChartLinePoint:focus,
.p-ir__financeChartLinePoint:active {
  z-index: 20;
  outline: none;
}

.p-ir__financeChartLineDot {
  display: block;
  width: 10px;
  height: 10px;
  margin: 4px;
  border-radius: 50%;
  background: #233a8f;
}

.p-ir__financeChartLineValue {
  position: absolute;
  left: 50%;
  z-index: 1;
  padding: 2px 4px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  color: #555;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.p-ir__financeChartLineValue--above {
  bottom: 18px;
}

.p-ir__financeChartLineValue--below {
  top: 18px;
}

.p-ir__financeChartLineTooltip {
  top: auto;
  bottom: 23px;
  transform: translate(-50%, 6px);
}

.p-ir__financeChartLinePoint:hover .p-ir__financeChartLineTooltip,
.p-ir__financeChartLinePoint:focus .p-ir__financeChartLineTooltip,
.p-ir__financeChartLinePoint:active .p-ir__financeChartLineTooltip {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.p-ir__financeChartLineYearLabels {
  display: flex;
  width: 100%;
  color: #012543;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.p-ir__financeChartLineYearLabels {
  margin-top: 8px;
  font-size: 1.2rem;
}

.p-ir__financeChartLineYearLabels span {
  min-width: 0;
  text-align: center;
}

.p-ir__financeChartMain--line .p-ir__financeChartYAxis {
  align-self: flex-start;
  height: 270px;
  padding: 0 9px 0 0;
}

.p-ir__financeChartPlot--line .p-ir__financeChartGrid {
  bottom: auto;
  height: 270px;
}
.p-ir__financeTable > .p-sustainability__dataAnnotation {
  position: absolute;
  right: 60px;
  bottom: 36px;
  left: 285px;
  width: auto;
  padding: 0;
}

.p-ir__financeTable > .p-sustainability__dataAnnotation p {
  position: static;
  top: auto;
  right: auto;
  color: #333;
  font-size: 1.2rem;
  font-weight: 400;
}
