@charset "utf-8";

.tbf {
  max-width: 1500px;
  margin: 0 auto;
  margin-top: 120px;
}

.tbf-first {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.tbf-first .main-body-text {
  max-width: calc(100% - 150px - 60px);
  flex-basis: calc(100% - 150px - 60px);
}

.tbf-first__image {
  max-width: 150px;
  flex-basis: 150px;
}

.tbf-main {
  margin-top: -80px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.tbf-main:first-child {
  margin-top: 0;
}

.tbf-main.bgcolor {
  flex-direction: row-reverse;
}

.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;
}

.nmg .tbf-title__wrap {
  margin-top: 0;
}

.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-wrap {
  max-width: calc(85% - 60px);
  flex-basis: calc(85% - 60px);
  position: relative;
  padding: 80px 0;
  padding-bottom: 160px;
  padding-left: 60px;
  box-sizing: border-box;
}

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

.tbf-main:last-child.bgcolor .tbf-wrap {
  padding-bottom: 80px;
}

.bgcolor .tbf-wrap {
  padding-right: 60px;
  padding-left: 0;
  color: rgba(255, 255, 255, 1) !important;
}

.tbf-wrap:after {
  content: "";
  width: calc(100% + 60px);
  height: 100%;
  display: block;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 40px 0 0 40px;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0ms ease;
}

.bgcolor .tbf-wrap:after {
  background-color: rgba(24, 141, 96, 1);
  border-radius: 0 40px 40px 0;
  right: 0;
  left: auto;
}

.tbf-wrap__item {
  position: relative;
  z-index: 1;
}

.tbf-intro {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}

.bgcolor .tbf-intro {
  flex-direction: row;
}

.tbf-intro__image,
.tbf-intro__wrap {
  max-width: calc(50% - 30px);
  flex-basis: calc(50% - 30px);
}

.tbf-intro__image figure {
  border-radius: 20px;
  overflow: hidden;
}

.tbf-intro__title {
  margin-bottom: 20px;
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.6;
}

.bgcolor .tbf-intro__title {
  color: rgba(255, 255, 255, 1);
}

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

.tbf-sub {
  margin-top: 80px;
  padding-top: 80px;
  display: flex;
  border-top: 2px dotted rgba(24, 141, 96, 1);
  position: relative;
  z-index: 2;
  justify-content: space-between;
}

.tbf-sub.single {
  flex-direction: row-reverse;
}

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

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

.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;
}

.tbf-sub__text.right {
  margin-top: 10px;
  text-align: right;
}

.tbf-sub-list {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tbf-sub-list__item {
  max-width: calc(50% - 20px);
  flex-basis: calc(50% - 20px);
}

.tbf-sub-list__image {
  border-radius: 10px;
  overflow: hidden;
}

.tbf-main:nth-child(2) .tbf-sub__item:last-child .tbf-sub-list__image {
  max-width: 300px;
  margin: 0 auto;
  margin-top: 40px;
}

.tbf-sub-list__title {
  margin: 10px 0 5px 0;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.6;
}

.tbf-sub-list__text {
  font-size: 1.3rem;
  line-height: 1.8;
}

.bgcolor .tbf-sub-list__title,
.bgcolor .tbf-sub-list__text {
  color: rgba(255, 255, 255, 1);
}

.tbf-sub-imglist {
  margin-top: 40px;
}

.tbf-sub-imglist li {
  margin-top: 10px;
}

.tbf-sub.single {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.single__image {
  max-width: 60%;
  flex-basis: 60%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.single__image__item {
  max-width: calc(50% - 5px);
  border-radius: 10px;
  overflow: hidden;
}

.single__wrap {
  max-width: calc(40% - 60px);
  flex-basis: calc(40% - 60px);
}

.tbf-voice {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 2px dotted rgba(24, 141, 96, 1);
  position: relative;
  z-index: 1;
}

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

.tbf-voice__main {
  margin-top: 40px;
  padding: 60px;
  border: 1px solid rgba(24, 141, 96, 1);
  border-radius: 20px;
}

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

.tbf-voice__main__title,
.tbf-voice__main__sub_title {
  font-weight: 600;
  line-height: 1.6;
  color: rgba(24, 141, 96, 1);
}

.bgcolor .tbf-voice__main__title,
.bgcolor .tbf-voice__main__sub_title {
  color: white;
}

.tbf-voice__main__title {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.tbf-voice__main__sub_title {
  margin-bottom: 20px;
  font-size: 2rem;
}

.tbf-voice__image {
  padding: 30px 20px;
  margin-top: 40px;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
}

.flex .tbf-voice__image {
  margin-top: 0;
}

.tbf-voice__image img {
  max-width: 800px;
}

.tbf-voice.flex {
  display: flex;
  justify-content: space-between;
}

.flex .tbf-voice__wrap {
  max-width: 50%;
  flex-basis: 50%;
}

.flex .tbf-voice__image {
  max-width: calc(50% - 60px);
  flex-basis: calc(50% - 60px);
}

.offer-text {
  margin-top: 10px;
  display: block;
  font-size: 1.1rem;
  line-height: 1.6;
}

.tbf-voice__sub {
  margin: 40px 0;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

@media screen and (min-width: 1621px) {
  .tbf-wrap:after {
    width: calc(100% + ((100vw - 1500px) / 2));
  }
}

@media screen and (max-width: 1280px) {
  .tbf-sub-list__item {
    max-width: calc(50% - 10px);
    flex-basis: calc(50% - 10px);
  }
}

@media screen and (max-width: 1024px) {
  .tbf-main {
    margin: 80px 0;
    display: block;
  }

  .tbf-wrap {
    padding: 0;
    max-width: calc(85% - 6vw);
    flex-basis: calc(85% - 6vw);
    padding-left: 0;
  }

  .bgcolor .tbf-wrap {
    padding: 60px 0;
  }

  .bgcolor .tbf-wrap {
    padding-right: 0;
  }

  .tbf-wrap:after {
    width: calc(100% + 12vw);
    border-radius: 0 !important;
    left: -6vw;
  }

  .bgcolor .tbf-wrap:after {
    right: -6vw;
  }

  .tbf-intro__image,
  .tbf-intro__wrap,
  .tbf-sub__item {
    max-width: calc(50% - 3vw);
    flex-basis: calc(50% - 3vw);
  }

  .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;
  }

  .tbf-wrap.bgcolor {
    padding-right: 6vw;
  }

  .tbf-wrap.bgcolor:after {
    width: calc(100% + 6vw);
  }

  .tbf-intro {
    align-items: flex-start;
  }

  .tbf-intro__title {
    font-size: 3rem;
  }

  .tbf-sub {
    margin-top: 0;
    padding-top: 0;
    display: block;
    border-top-width: 0;
  }

  .tbf-sub__item {
    max-width: none;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px dotted rgba(24, 141, 96, 1);
  }

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

  .tbf-sub-list__item {
    max-width: calc(50% - 3vw);
    flex-basis: calc(50% - 3vw);
  }

  .tbf-sub.single {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px dotted rgba(255, 255, 255, 1);
  }
}

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

  .tbf-main {
    margin: 60px 0;
  }

  .tbf-sub.single {
    display: block;
  }

  .single__image,
  .single__wrap {
    max-width: none;
  }

  .single__image {
    margin-bottom: 20px;
  }

  .tbf-voice__main {
    padding: 40px;
  }
}

@media screen and (max-width: 640px) {
  .tbf-first {
    display: block;
  }

  .tbf-first .main-body-text {
    max-width: none;
  }

  .tbf-first__image {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
  }

  .bgcolor .tbf-wrap {
    padding: 40px 0;
  }

  .tbf-intro {
    display: block;
  }

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

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

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

  .tbf-intro__image,
  .tbf-intro__wrap {
    max-width: none;
  }

  .tbf-intro__image {
    margin-bottom: 20px;
  }

  .tbf-intro__title {
    font-size: 2.5rem;
  }

  .tbf-intro__title br {
    display: none;
  }

  .tbf-sub__item {
    margin-top: 40px;
    padding-top: 40px;
  }

  .tbf-sub__title {
    margin-bottom: 10px;
    font-size: 2rem;
  }

  .tbf-sub__text {
    font-size: 1.4rem;
  }

  .tbf-sub__title {
    margin-bottom: 10px;
  }

  .tbf-sub.single {
    margin-top: 40px;
    padding-top: 40px;
  }

  .tbf-voice {
    margin-top: 40px;
    padding-top: 40px;
  }

  .tbf-voice.flex {
    display: block;
  }

  .flex .tbf-voice__wrap {
    max-width: none;
  }

  .flex .tbf-voice__image {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .tbf-intro__title {
    font-size: 2.2rem;
  }

  .tbf-sub__title {
    font-size: 1.7rem;
  }

  .tbf-voice__main {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 400px) {
}
