@charset "utf-8";

/* @sbt (company/sbt.php)
----------------------------------------------------------*/
:root {
  --sbt-gray-bg: #eee;
}

/* @sbt-intro ------- */
.sbt-intro .lead_ttl-en,
.sbt-intro .lead_ttl {
  text-align: center;
}
.sbt-intro .lead_ttl {
  margin-bottom: 1.5em;
}
.sbt-intro.c-box-inner {
  padding-bottom: 60px;
}
.sbt-intro-box {
  -webkit-box-align: stretch;
  align-items: stretch;
}
.sbt-intro-con {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-pack: justify;
  justify-content: space-between;
  width: 55%;
  padding-bottom: 20px;
}
.sbt-intro-lead {
  margin: 0 0 1.5em;
  color: var(--color-main);
  font-size: 1.4286rem;
  font-weight: bold;
  line-height: 1.9;
  letter-spacing: .025em;
}
.sbt-intro-logos {
  -webkit-box-align: end;
  align-items: flex-end;
}
.sbt-intro-logos .logo {
  width: 56%;
  max-width: 296px;
}
.sbt-intro-logos .letter {
  width: 31%;
  max-width: 166px;
  margin-left: 10%;
  box-shadow: 0 1px 8px rgba(0,0,0,.12);
}
.sbt-intro-img {
  position: relative;
  z-index: 1;
  -webkit-align-self: flex-start;
  align-self: flex-start;
  width: 62%;
  max-width: 760px;
  margin-left: -17%;
  line-height: 0;
  container-type: inline-size;
}
.sbt-intro-img .caption {
  position: absolute;
  top: 12%;
  left: 39%;
  margin: 0;
  color: #333;
  font-size: 1.2143rem;
  font-size: 3cqw;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: .05em;
  white-space: nowrap;
}

/* @sbt-sec common ------- */
.sbt-sec {
  padding-bottom: 90px;
}
.sbt-ttl {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 340px;
  margin: 0 auto 2.3em;
  padding: .75em 1.5em;
  color: var(--color-main);
  font-size: 1.5714rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  letter-spacing: .05em;
  border-top: 1px solid var(--color-main);
  border-bottom: 1px solid var(--color-main);
}
#sbt_result .sbt-ttl {
  margin-bottom: 33px; /* 本文の行間(上側7px)込みで見た目40px */
}
#sbt_result.sbt-sec {
  padding-bottom: 64px; /* 年ラベル下の余り + 次テキストの行間込みで見た目90px */
}
.sbt-lead {
  margin: 0 0 1.6em;
  color: var(--color-main);
  text-align: center;
  font-size: 1.7143rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: .025em;
}
.sbt-note {
  margin: 0 0 3em;
  text-align: center;
}
.sbt-subttl {
  margin: 0 0 .9em;
  text-align: center;
  font-size: 1.2857rem;
  font-weight: bold;
  line-height: 1.5;
}

/* @sbt-commit ------- */
.sbt-commit-box {
  -webkit-box-pack: start;
  justify-content: flex-start;
}
.sbt-commit-con {
  width: 49%;
}
.sbt-commit-con .txt {
  margin: 0 0 60px;
  font-weight: 500;
  line-height: 2.14;
  text-align: justify;
  letter-spacing: 0;
}

/* scope flow */
.sbt-scope-flow {
  -webkit-box-pack: justify;
  justify-content: space-between;
  text-align: center;
}
.sbt-scope-flow li {
  width: 31.5%;
}
.sbt-scope-flow .box {
  padding: .7em 0 .6em;
  color: var(--color-sub);
  line-height: 1.3;
  background: var(--sbt-gray-bg);
}
.sbt-scope-flow .name {
  display: block;
  font-size: 1.4286rem;
  font-weight: bold;
}
.sbt-scope-flow .sub {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: bold;
}
.sbt-scope-flow .arrow {
  width: 33px;
  margin: 12px auto 8px;
}
.sbt-scope-flow .result {
  margin: 0;
  color: var(--color-main);
  font-size: 1.2857rem;
  font-weight: bold;
  line-height: 1.4;
}

/* chart 1 (target) */
.sbt-commit-chart {
  width: 40%;
  max-width: 440px;
  margin-left: 8%;
}
.sbt-chart-ttl {
  margin: 4px 0 0; /* 左本文(14px/lh2.14)と文字の上端を揃える */
  color: var(--color-main);
  font-size: 1.2857rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}
.sbt-graph1 {
  max-width: 411px;
  margin: 0 auto;
  padding: 40px 0 0;
  text-align: center;
}
.sbt-graph1 img {
  width: 100%;
}

/* scope cards */
.sbt-scope-list {
  -webkit-box-pack: justify;
  justify-content: space-between;
  margin-top: 50px;
}
.sbt-scope-list li {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  width: 31.5%;
  padding: 10px 25px 24px;
  text-align: center;
  border: 2px solid var(--color-sub);
}
.sbt-scope-list .head {
  position: relative;
  margin-bottom: 9px;
  padding: .55em 0 .6em;
  color: var(--color-sub);
  line-height: 1.3;
  background: var(--sbt-gray-bg);
}
.sbt-scope-list .head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--color-sub);
}
.sbt-scope-list .head .name {
  display: block;
  font-size: 1.7143rem;
  font-weight: bold;
}
.sbt-scope-list .head .sub {
  display: block;
  margin-top: 7px;
  font-size: 1.0714rem;
  font-weight: bold;
}
.sbt-scope-list .txt {
  -webkit-box-flex: 1;
  flex: 1;
  margin: 1.1em 0 1.2em;
  text-align: left;
  line-height: 1.9;
  letter-spacing: 0;
}
.sbt-scope-list .icon {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  justify-content: center;
  height: 60px;
  margin: 0;
}
.sbt-scope-list .icon img {
  width: auto;
  max-height: 60px;
}

/* @sbt-result ------- */
.sbt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sbt-table-wrap {
  max-width: 812px;
  margin: 0 auto 70px;
}
.sbt-table {
  width: 100%;
  table-layout: fixed;
  text-align: center;
  line-height: 1.4;
}
.sbt-table th,
.sbt-table td {
  padding: .6em .3em;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-sub);
}
.sbt-table th {
  color: var(--color-sub);
  font-weight: bold;
  background: var(--sbt-gray-bg);
  box-shadow: inset 3px 0 0 #fff, inset -3px 0 0 #fff;
}
.sbt-table thead th {
  padding: .7em .3em;
  font-size: 1.4286rem;
  border-bottom-width: 1px;
}
.sbt-table thead th:first-child {
  width: 13%;
}
.sbt-table thead th small {
  display: block;
  font-size: .8em;
}
.sbt-table thead th small sub {
  font-size: .8em;
  vertical-align: baseline;
}
.sbt-table thead th .blank {
  display: block;
  height: 1px;
  overflow: hidden;
  font-size: 0;
}
.sbt-table tbody th {
  font-size: 1.4286rem;
}
.sbt-table tbody td {
  font-size: 1.2857rem;
  font-weight: 500;
  color: #000;
}
.sbt-table tbody .spacer td {
  height: 44px;
  padding: 0;
  border-bottom-color: var(--color-sub);
  box-shadow: none;
}
.sbt-table tbody .target th,
.sbt-table tbody .target td.is-main {
  color: var(--color-main);
}
.sbt-table tbody .target th {
  background: var(--sbt-gray-bg);
}

/* chart 2 (progress) */
.sbt-graph2-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.sbt-graph2 {
  position: relative;
  padding: 35px 40px 40px 55px; /* 上: (%) と 100 の間隔(実測12px) */
}
.sbt-graph2 .unit-y {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px; /* 軸ラベル(.sbt-graph2-axis)と同じ幅で右揃え → 「100」の真上 */
  margin: 0;
  line-height: 1;
  font-size: 1.1429rem;
  text-align: right;
}
.sbt-graph2 .unit-x {
  position: absolute;
  right: 0;
  bottom: 6px;
  margin: 0;
  color: var(--color-sub);
  font-size: 1.1429rem;
  font-weight: bold;
  line-height: 1.2;
}
.sbt-graph2-axis {
  position: absolute;
  top: 35px; /* = .sbt-graph2 の padding-top */
  left: 0;
  width: 44px;
  height: 174px;
  color: #333;
  font-size: 1.1429rem;
  line-height: 1;
  text-align: right;
}
.sbt-graph2-axis li {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
}
.sbt-graph2-axis li:nth-child(1) { top: 0; }
.sbt-graph2-axis li:nth-child(2) { top: 50%; }
.sbt-graph2-axis li:nth-child(3) { top: 100%; }

.sbt-graph2-bars {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  height: 174px;
  border-left: 1px solid #333;
  border-bottom: 1px solid var(--color-sub);
}
.sbt-graph2-bars li {
  position: relative;
  width: 42px;
  height: var(--h, 0);
  background: var(--color-sub);
}
.sbt-graph2-bars li.is-target {
  background: var(--color-main);
}
/* grow animation: js/sbt.js が --h/--i を設定し、グラフの9割が見えた時点で .is-grow を付与 */
.sbt-graph2-bars.js-bar-grow li {
  height: 0%;
  transition: height 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(.2s + var(--i, 0) * .06s);
}
.sbt-graph2-bars.js-bar-grow.is-grow li {
  height: var(--h, 0%);
}
.sbt-graph2-bars .label {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: .6em;
  transform: translateX(-50%);
  color: var(--color-sub);
  font-size: 1.1429rem;
  font-weight: bold;
  line-height: 1.2;
}
.sbt-graph2-bars li.is-target .label {
  color: var(--color-main);
}

/* @sbt-sdgs ------- */
.sbt-sdgs {
  padding-bottom: 30px;
}
.sbt-sdgs .sbt-note {
  margin-bottom: 2.4em;
  font-size: 1.2143rem;
  font-weight: 500;
}
.sbt-sdgs .projects-sdgs_icon {
  margin-bottom: 0;
}

/* 1024px 以下 (タブレット横以下)
----------------------------------------------------------*/
@media screen and (max-width: 1024px) {
  .sbt-intro-lead {
    font-size: 1.2857rem;
  }
  .sbt-intro-lead br {
    display: none;
  }
  .sbt-intro-img {
    width: 55%;
    margin-left: -10%;
  }
  .sbt-lead {
    font-size: 1.5714rem;
  }

  .sbt-commit-con,
  .sbt-commit-chart {
    width: 100%;
    max-width: none;
  }
  .sbt-commit-con .txt {
    text-align: left;
  }
  .sbt-scope-flow {
    max-width: 560px;
    margin: 0 auto;
  }
  .sbt-commit-chart {
    margin-top: 50px;
    margin-left: 0;
  }
  .sbt-scope-list li {
    padding: 10px 15px 20px;
  }
}

/* 959px 以下 (タブレット縦以下)
----------------------------------------------------------*/
@media screen and (max-width: 959px) {
  .sbt-intro-con {
    display: block;
    width: 100%;
    padding-bottom: 0;
  }
  .sbt-intro-lead {
    text-align: center;
  }
  .sbt-intro-lead br {
    display: inline;
  }
  .sbt-intro-logos {
    -webkit-box-pack: center;
    justify-content: center;
    margin-bottom: 30px;
  }
  .sbt-intro-logos .letter {
    margin-left: 6%;
  }
  .sbt-intro-img {
    width: 80%;
    max-width: 760px;
    margin: 0 auto;
  }
  .sbt-intro.c-box-inner {
    padding-bottom: 80px;
  }

  .sbt-sec {
    padding-bottom: 70px;
  }

  /* scope cards */
  .sbt-scope-list {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .sbt-scope-list li {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 25px 24px;
  }
  .sbt-scope-list li:last-child {
    margin-bottom: 0;
  }
}

/* 599px 以下 (スマホ)
----------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .sbt-intro .lead_ttl {
    font-size: 1.7143rem;
    margin-bottom: 1.2em;
  }
  .sbt-intro-lead {
    font-size: 1.1429rem;
    line-height: 1.8;
    text-align: left;
  }
  .sbt-intro-lead br {
    display: none;
  }
  .sbt-intro-logos .logo {
    width: 60%;
  }
  .sbt-intro-logos .letter {
    width: 32%;
  }
  .sbt-intro-img {
    width: 100%;
  }
  .sbt-intro.c-box-inner {
    padding-bottom: 60px;
  }

  .sbt-sec,
  #sbt_result.sbt-sec {
    padding-bottom: 60px;
  }
  .sbt-ttl {
    min-width: 0;
    width: 100%;
    margin-bottom: 2em;
    padding: .7em .5em;
    font-size: 1.2857rem;
  }
  .sbt-lead {
    font-size: 1.2143rem;
    line-height: 1.6;
    letter-spacing: .025em;
  }
  .sbt-note {
    margin-bottom: 2em;
    text-align: left;
  }
  .sbt-subttl {
    font-size: 1.1429rem;
  }

  /* scope flow */
  .sbt-scope-flow li {
    width: 32%;
  }
  .sbt-scope-flow .name {
    font-size: 1.1429rem;
  }
  .sbt-scope-flow .sub {
    font-size: .7143rem;
  }
  .sbt-scope-flow .arrow {
    width: 26px;
  }
  .sbt-scope-flow .result {
    font-size: 1rem;
  }

  /* chart 1 */
  .sbt-chart-ttl {
    font-size: 1.1429rem;
  }
  .sbt-graph1 {
    max-width: 330px;
    padding-top: 30px;
  }

  /* scope cards */
  .sbt-scope-list {
    margin-top: 40px;
  }
  .sbt-scope-list .head .name {
    font-size: 1.4286rem;
  }
  .sbt-scope-list .txt {
    margin: .8em 0 1em;
  }
  .sbt-scope-list .icon {
    height: 50px;
  }
  .sbt-scope-list .icon img {
    max-height: 50px;
  }

  /* table */
  .sbt-table-wrap {
    margin-bottom: 50px;
  }
  .sbt-table {
    min-width: 540px;
  }
  .sbt-table thead th {
    font-size: 1.1429rem;
  }
  .sbt-table tbody th {
    font-size: 1.1429rem;
  }
  .sbt-table tbody td {
    font-size: 1.0714rem;
  }
  .sbt-table tbody .spacer td {
    height: 30px;
  }

  /* chart 2 */
  .sbt-graph2 {
    min-width: 520px;
    padding: 31px 36px 36px 46px;
  }
  .sbt-graph2 .unit-y,
  .sbt-graph2 .unit-x,
  .sbt-graph2-axis,
  .sbt-graph2-bars .label {
    font-size: .8571rem;
  }
  .sbt-graph2-axis {
    top: 31px;
    width: 38px;
    height: 150px;
  }
  .sbt-graph2 .unit-y {
    width: 38px;
  }
  .sbt-graph2-bars {
    height: 150px;
  }
  .sbt-graph2-bars li {
    width: 26px;
  }

  /* sdgs */
  .sbt-sdgs .sbt-note {
    font-size: 1rem;
  }
  .sbt-sdgs .projects-sdgs_icon li {
    max-width: 22%;
  }
}
