@charset "utf-8";

.zeh-head {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.zeh-head__image {
  max-width: 190px;
  flex-basis: 190px;
}

.zeh-head__wrap {
  max-width: calc(100% - 190px - 60px);
  flex-basis: calc(100% - 190px - 60px);
}

.zeh-head__title {
  margin: 40px 0 20px 0;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.6;
  color: rgba(24, 141, 96, 1);
}

.zeh-list {
  margin-top: 120px;
}

.zeh-main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 0;
  display: flex;
  position: relative;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.zeh-main:nth-child(2n) {
  flex-direction: row;
}

.zeh-main:before {
  content: "";
  width: 100%;
  height: 4px;
  display: block;
  background-color: rgba(24, 141, 96, 1);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

.zeh-list .tbf-title {
  padding-bottom: 0;
}

.zeh-list .tbf-title__wrap {
  margin-top: 0;
}

.zeh__wrap {
  max-width: calc(85% - 60px);
  flex-basis: calc(85% - 60px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.zeh__wrap.maintenance {
  display: block;
}

.zeh__item {
  max-width: calc(50% - 30px);
  flex-basis: calc(50% - 30px);
}

.maintenance .zeh__item {
  max-width: none;
}

.zeh__item__wrap {
  max-width: calc(100% - 350px - 60px);
  flex-basis: calc(100% - 350px - 60px);
}

.zeh__image {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 10px;
}

.energy:before,
.maintenance:before {
  content: "";
  width: 100%;
  height: calc(150px + 20vw);
  max-height: 500px;
  margin-bottom: 60px;
  display: block;
  background-position: center center;
  background-size: cover;
  border-radius: 40px;
  position: relative;
}

.energy:before {
  background-image: url(../images/feature/lvl/img_lvl03_1.jpg);
}

.maintenance:before {
  background-image: url(../images/feature/lvl/img_lvl04_1.jpg);
}

.save .zeh__wrap {
  align-items: center;
}

.save__image,
.save__wrap {
  max-width: calc(50% - 30px);
  flex-basis: calc(50% - 30px);
}

.save__image {
  height: 450px;
  position: relative;
}

.save__image figure {
  width: calc(100% + 60px);
  height: 450px;
  position: absolute;
  right: 0;
  border-radius: 0 40px 40px 0;
  overflow: hidden;
}

.save__image figure img {
  height: 100%;
  object-fit: cover;
}

.save__wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tbf-title {
  max-width: 15%;
  flex-basis: 15%;
  padding-bottom: 160px;
}

.tbf-main:last-child .tbf-title {
  padding-bottom: 0;
}

.tbf-title__wrap {
  margin-top: 160px;
  display: flex;
  position: sticky;
  top: 120px;
  flex-direction: column;
  align-items: center;
}

.tbf-main:first-child .tbf-title__wrap,
.tbf-main:nth-child(3) .tbf-title__wrap {
  margin-top: 40px;
}

.tbf-title-en {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
  color: rgba(24, 141, 96, 1);
  letter-spacing: normal;
}

.tbf-title-num {
  display: block;
  border-bottom: 5px solid rgba(24, 141, 96, 1);
  font-size: 10rem;
  line-height: 1.1;
}

.tbf-title-name {
  margin-top: 30px;
  display: flex;
  writing-mode: vertical-lr;
  font-feature-settings: normal;
  color: rgba(0, 0, 0, 1);
  flex-direction: column-reverse;
}

.tbf-title-name__sub {
  margin-left: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.6;
}

.tbf-title-name__text {
  border-right: 1px solid rgba(0, 0, 0, 1);
  font-size: 5rem;
  font-weight: bold;
  line-height: 1.6;
}

.tbf-sub__title {
  margin-bottom: 20px;
  display: table;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.6;
  color: rgba(24, 141, 96, 1);
}

.bgcolor .tbf-sub__title {
  border-bottom-color: rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 1);
}

.tbf-sub__title span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(24, 141, 96, 1);
}

.bgcolor .tbf-sub__title span {
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.tbf-sub__text {
  font-size: 1.5rem;
  line-height: 2;
}

@media screen and (max-width: 1024px) {
  .zeh-head {
    display: block;
  }

  .zeh-head__wrap {
    max-width: none;
  }

  .zeh-head__image {
    max-width: 160px;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .zeh-list {
    margin-top: 80px;
  }

  .zeh-main {
    padding: 80px 0;
    display: block;
  }

  .zeh__wrap {
    max-width: none;
  }

  .zeh__item,
  .save__image,
  .save__wrap {
    max-width: calc(50% - 3vw);
    flex-basis: calc(50% - 3vw);
  }

  .zeh__item__wrap {
    max-width: calc(100% - 350px - 6vw);
    flex-basis: calc(100% - 350px - 6vw);
  }

  .tbf-title,
  .tbf-wrap {
    max-width: none;
  }

  .tbf-title {
    margin-bottom: 40px;
    padding-bottom: 0;
  }

  .tbf-title__wrap {
    margin-top: 0 !important;
    flex-direction: row;
  }

  .tbf-title-en {
    margin-right: 20px;
    font-size: 1.8rem;
  }

  .tbf-title-num {
    font-size: 5rem;
    border-bottom-width: 3px;
    line-height: 1;
  }

  .tbf-title-name {
    margin-top: 0;
    display: block;
    writing-mode: inherit;
  }

  .tbf-title-name__sub {
    margin-left: 0;
  }

  .tbf-title-name__text {
    border-right: 0;
    font-size: 4rem;
    line-height: 1.2;
  }
}

@media screen and (max-width: 800px) {
  .zeh__item {
    margin-top: 40px;
  }

  .zeh__item {
    max-width: none;
  }

  .zeh__wrap,
  .energy .zeh__item,
  .save .zeh__wrap {
    display: block;
  }

  .save__image,
  .save__wrap {
    max-width: none;
    height: auto;
  }

  .save__image {
    margin-bottom: 40px;
  }

  .energy::before {
    height: calc(200px + 20vw);
  }

  .save__image figure {
    height: calc(200px + 20vw);
    position: relative;
    right: 6vw;
    border-radius: 0 20px 20px 0;
  }

  .zeh__item__wrap,
  .energy .zeh__image {
    max-width: none;
  }
}

@media screen and (max-width: 640px) {
  .zeh-main {
    padding: 60px 0;
  }

  .zeh-list {
    margin-top: 60px;
  }

  .zeh-main:before {
    height: 2px;
    border-radius: 1px;
  }

  .tbf-title-num {
    font-size: 4rem;
  }

  .tbf-title-en {
    font-size: 1.6rem;
  }

  .tbf-title-name__text {
    font-size: 3rem;
  }
}
