
.index-portfolio-two-column-not-choosen {
  height: 0;
}
.index-portfolio-text {
  width: 25%;
  position: relative;
  height: 0;
}
.index-portfolio-text.index-portfolio-text-choosen {
  margin-top: 9em;
  border-top: solid 1px #201714; /* px */
  /* border-bottom: solid 1px #201714; /* px */
}
.index-portfolio-text-choosen .index-portfolio-footer {
  border-top: solid 1px #201714; /* px */
}

.index-portfolio-progress {
  width: 0;
  height: 0px;
  background: #FFDA57;
  position: relative;
  top: -1px; /* px */
  transition: width 3s ease;
}
.index-portfolio-text-choosen .index-portfolio-progress.index-portfolio-progress-show {
  height: 1px;/* px */
  width: 100%;
}
.index-portfolio-text-mask {
  min-height: 346px; /* px */
  overflow: hidden;
}
.index-portfolio-textwrapper {
  position: relative;
  width: 100%;
  transition: margin 1s ease;
  margin-left: 0;
  overflow: hidden;
}
.index-portfolio-textcss-enter.index-portfolio-textwrapper {
  margin-left: -300px; /* px */
}
.index-portfolio-textcss-enter-done.index-portfolio-textwrapper {
  margin-left: 0;
}

.index-portfolio-index {
  display: none;
  position: absolute;
  top: -2em;
  font-size: 20px; /* px */
  color: #B3B3B3;
}
.index-portfolio-text-choosen .index-portfolio-index {
  display: block;
}
.index-portfolio-current {
  color: #444;
  margin-right: 2px; /* px */
}
.index-portfolio-img-wrapper {
  /* float: right; */
  position: absolute;
  box-sizing: border-box;
  margin-left: 27%;
  margin-top: 6em;
  /* padding-bottom: 80vh; */
  height: 80%;
  overflow: hidden;
  width: 66%;
  display: block;
  max-width: 1304px; /* px */
  background-size: cover;
  background-position: center;
  border-left: solid 1px white; /* px */
  transition: padding-bottom 3s ease;
}

.index-portfolio-imgbg {
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: solid 2px white; /* px */
  margin: -1px; /* px */
  box-sizing: border-box;
  transform: scale(1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 3s ease;
}

.index-portfolio-next.index-portfolio-choosen {
  position: absolute;
  opacity: 0;
  right: 10%;
  top: 45%;
  width: 100px; /* px */
  height: 100px; /* px */
  background: url('/static/img/arrow-right-white.svg');
  background-size: cover;
  transition: opacity 0.7s ease-out, right 0.7s ease;
  cursor: pointer;
}
.index-portfolio-img-wrapper.index-portfolio-choosen:hover .index-portfolio-next.index-portfolio-choosen {
  right: 8%;
  opacity: 1;
}
.index-portfolio-img-wrapper.index-portfolio-choosen::before {
  content: "";
  position: absolute;
  display: inline-block;
  margin-top: 0px;
  margin-left: 0px;
  pointer-events: none;
  height: 100%;
  z-index: 1;
  width: 10.5%;
  background: url('/static/img/index-portfolio-mask.svg');
  background-size: cover;
}
.index-portfolio-imgbg::after {
  content: "";
  position: absolute;
  top: -1px; /* px */
  right: -1px; /* px */
  display: inline-block;
  height: 101%;
  width: 0; /* px */
  transition: width 1s ease;
  background: white;
  background-size: cover;
}
.index-portfolio-imgcss-enter.index-portfolio-imgbg {
  transform: scale(1.2);
}
.index-portfolio-imgcss-enter-done.index-portfolio-imgbg {
  transform: scale(1);
}
.index-portfolio-imgcss-enter.index-portfolio-imgbg::before {
  padding-bottom: 120%;
}
.index-portfolio-imgcss-enter.index-portfolio-imgbg::after {
  width: 99%;
}
.index-portfolio-imgcss-enter-done.index-portfolio-imgbg::after {
  width: 0;
}
.index-portfolio-imgcss-exit.index-portfolio-imgbg::after {
  width: 0;
}
.index-portfolio-imgcss-exit-active.index-portfolio-imgbg::after {
  width: 99%;
}

.DigitRoll {
  font-size: 30px; /* px */
  color:#444;
}
.index-portfolio-logo {
  margin-top: 32px; /* px */
  max-width: 160px; /* px */
}
.index-portfolio-description {
  /* transform: translateY(-50%); */
  font-weight: 300;
  line-height: 180%;
  min-height: 214px; /* px */
  padding: 20% 0 10% 0; /* px */
  font-size: 24px; /* px */
  color: #444;
}
.en .index-portfolio-description {
  font-size: 20px; /* px */
  padding: 10% 0 0 0; /* px */
}
.index-portfolio-footer {
  display: none;
  margin-top: 16px; /* px */
  font-size: 14px; /* px */
  font-weight: 300;
  width: 100%;
  color: #B3B3B3;
}
.index-portfolio-img-preload {
  width: 0;
  height: 0;
  opacity: 0;
}

.index-portfolio-text-choosen .index-portfolio-footer {
  display: block;
}
.index-portfolio-with {
  padding-top: 16px; /* px */
  margin-bottom: 16px; /* px */
  min-width: 196px; /* px */
}
.index-portfolio-days {
  font-size: 40px; /* px */
  color: #444;
  margin-right: 9px; /* px */
}
@media screen and (min-width: 1100px) {
  .en .index-portfolio-description {
    font-size: 18px; /* px */
  }
}
@media screen and (max-width: 1000px) and (min-width: 781px) {
  .en .index-portfolio-logo {
    margin-top: 12px; /* px */
    max-width: 130px; /* px */
  }
  .en .index-portfolio-with {
    padding-top: 1px; /* px */
    margin-bottom: -1px; /* px */
  }
}
@media screen and (max-width: 1000px) {
  .en .index-portfolio-description {
    padding: 5% 0 0 0;
  }
  .index-portfolio-img-wrapper.index-portfolio-choosen::before {
    width: 14%;
  }
  .index-portfolio-description {
    font-size: 20px; /* px */
  }
  .en .index-portfolio-description {
    font-size: 18px; /* px */
  }
}
@media screen and (max-width: 1100px) {
  .en .index-portfolio-description {
    font-size: 18px; /* px */
  }
}
@media screen and (max-width: 900px) {
  .en .index-portfolio-description {
    font-size: 16px; /* px */
  }
}

@media screen and (max-width: 780px) {
  .index-portfolio-logo {
    max-width: 132px; /* px */
  }
  .index-portfolio-text-mask {
    min-height: 1px; /* px */
  }
  div.index-portfolio-description {
    font-size: 16px; /* px */
    padding: 12px 0; /* px */
    min-height: 1px; /* px */
  }
  .en div.index-portfolio-description {
    font-size: 14px; /* px */
  }
  .two-column .index-portfolio-img-wrapper {
    position: static;
    margin-left: 0;
    height: 250px; /* px */
    width: 100%;
    float: none;
  }
  .index-portfolio-img-wrapper.index-portfolio-choosen::before {
    height: 251px; /* px */
    background-size: contain;
    background-repeat: no-repeat;
  }
  .index-portfolio-next.index-portfolio-choosen {
    top: 48vw;
    right: 15%;
  }
  .index-portfolio-img-wrapper.index-portfolio-choosen:hover .index-portfolio-next.index-portfolio-choosen {
    right: 12%;
  }
  .index-portfolio-imgbg {
    height: 250px; /* px */
  }
  .index-portfolio-text {
    width: 100%;
  }
  .index-portfolio-img-wrapper {
    margin-top: 80px; /* px */
  }
  .index-portfolio-text.index-portfolio-text-choosen {
    margin-top: 36px; /* px */
  }
 
  .index-portfolio-index {
    font-size: 14px; /* px */
  }
  .DigitRoll {
    font-size: 24px; /* px */
  }
  .index-portfolio-text.index-portfolio-text-choosen {
    height: auto;
  }
  .index-portfolio-footer {
    font-size: 13px; /* px */
  }
}
