.ezstory-title{
  display:flex;
  flex-direction: column;
  height: 25rem;
  background-color: #29363B;
  padding: 5rem 0; 
  background-image: url("../images/ezstory/bg.png");
  background-repeat: no-repeat;
  background-position:right;
}

.ezstory-title__container{
  max-width: 128rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
}
.ezstory-title__container span{
  font-size: 3.4rem;
}
.ezstory-title__container::before{
  content: "";
  background-color: #AC0000;
  width: 6rem;
  height: .4rem;
  margin-bottom: .5rem; 
}

.ezstory-title h1{
  margin: 0;
  color: #F0F0F0;
}

.ezstory-title__background {
  /* position: absolute;
  right: 0; */
  font-weight: 600;
  font-size: 12rem;
  color: rgba(182,182,182,0.2);
}
@media screen and (max-width: 37.5rem) {
.ezstory-title__background {
    font-size: 7rem;
    overflow: hidden;
  }
}

.ezstory-content{
  max-width: 128rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
  padding: 4rem 0;
}
.ezstory-content__container{

}


ul.tabs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  gap: 3rem;
}
@media screen and (max-width: 56.25rem) {
  ul.tabs {
    font-size: 1.4rem;
    justify-content: center;
  }
}
@media screen and (max-width: 37.5rem) {
  ul.tabs {
    letter-spacing: -1px;
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 27rem) {
  ul.tabs {
    justify-content: space-between;
    font-size: 1.2rem;
    gap:0;
  }
}
ul.tabs li {
  background: none;
  color: #222;
  display: inline-block;
  cursor: pointer;
  /* font-size: 1.6rem; */
  font-weight: bold;
  white-space: nowrap;
}
@media screen and (max-width: 56.25rem) {
  ul.tabs li {
    /* font-size: 1.5rem; */
    padding: 0rem;
  }
}

ul.tabs li.current a {
  border-bottom: solid #AC0000 .4rem; 
}

ul.tabs li a {
  font-weight: bold;
  padding: 1rem 0.5rem;
  white-space: nowrap;
}

.tab-content {
  display: none;
  /* padding: 1.5rem; */
  flex-direction: column; 
  gap: 2rem;
}

.tab-content.current {
  display: flex;
}

.tab-content__wrapper{
  display: flex;
}
@media screen and (max-width: 56.25rem) {
  .tab-content__wrapper{
    align-items: center;
    flex-direction: column;
  }
}
.content-odd .tab-content__text{
  margin-left: 1rem;
}
.content-even{
  flex-direction: row-reverse;
}
@media screen and (max-width: 56.25rem) {
  .content-even{
    flex-direction: column;
  }
}
.content-even .tab-content__text h2{
  text-align: right;
  margin-right: 1rem; 
}
@media screen and (max-width: 56.25rem) {
  .content-even .tab-content__text h2{
    text-align: center;
  }
}

.content-even .tab-content__text > p > span{
  font-size: 1.4rem;
  color: gray;
}
.tab-content__wrapper img{
  max-width: calc(50rem * 0.7 );
  max-height: calc(33.2rem * 0.7);
  flex: 0 0 50rem; 
  display: flex;
  justify-content: center;
  /* box-shadow: 0 5px 1rem 0 rgb(0 0 0 / 50%); */
}
@media screen and (max-width: 37.5rem) {
  .tab-content__wrapper img{
    max-width: 50%;
    margin: 0 auto;
    flex: initial;
  }
}
.tab-content__line{
  min-width: 12rem;
  height: 10rem;
  border-bottom: solid #AC0000 0.3rem;
}
@media screen and (max-width: 56.25rem) {
  .tab-content__line{
    height: 1rem; 
  }
}
.tab-content__text{
  margin-top: 6.3rem;
}
@media screen and (max-width: 56.25rem) {
  .tab-content__text{
    margin-top: 0;
    margin-left: 0;
  }
}
.tab-content__text h2{
  line-height: 1.8;
}
@media screen and (max-width: 56.25rem) {
  .tab-content__text h2{
    margin-top: 1rem;
    font-size: 1.8rem;
    text-align: center;
  }
}
.tab-content__text p{
  color: #535353;
  line-height: 1.7;
}
@media screen and (max-width: 56.25rem) {
  .tab-content__text p{
    margin-top: 0;
    text-align: center;
  }
}
.tab-content__text ul{
  list-style-type: initial;
  color: #535353;
  line-height: 1.6;
  margin-left: 2rem;
}