@charset "utf-8";

#mf1 .mf-inner {
  display: flex;
  width: auto;
}
#mf1 .tbox {
  width: 45%;
  margin-right: 5%;
}
#mf1 .tboxs {
  margin: 150px 0;
  position: relative;
}
#mf1 .tboxs:first-of-type {
  margin-top: 60px;
}
#mf1 .tboxs:after {
  content: "";
  width: 80%;
  height: 1px;
  background: #ccc;
  position: absolute;
  bottom: -75px;
  left: 10%;
}
#mf1 .tboxs p {
  margin-bottom: 1em;
}
#mf1 .tbox h3 {
  font-size: 20px;
  margin: 0 0 10px;
  position: relative;
}
#mf1 .tbox h3 span {
  display: block;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: #444;
  position: absolute;
  top: 50%;
  left: -1em;
  transform: translate(-50%, -50%);
  transition: all .7s;
}
#mf1 .tbox h3 #s2t,
#mf1 .tbox h3 #s3t,
#mf1 .tbox h3 #s4t {
  opacity: 0;
}
#mf1 .tbox a {
  text-decoration: underline;
}
#mf1 .tbox a:hover {
  opacity: .7;
}
#mf1 .ibox {
  width: 35%;
  position: relative;
}
#mf1 .ibox figure {
  padding: 120px 0 0;
  width: 100%;
  height: 170px;
  position: sticky;
  top: 0;
  transition: .4s;
}
#mf1 .ibox #s1 {
  z-index: 2;
}
#mf1 .ibox #s2 {
  z-index: 1;
  opacity: 0;
  height: 200px;
}
#mf1 .ibox #s3 {
  z-index: 0;
  opacity: 0;
}
#mf1 .ibox #s4 {
  z-index: 0;
  opacity: 0;
}
#mf1 .ibox figure img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#mf1 .ibox #s4 img {
    top: 140px;
}

@media screen and (max-width: 1800px) {
  #mf1 .ibox figure {
    padding: 10vw 0 0;
  }
  #mf1 .ibox #s1 img,
  #mf1 .ibox #s2 img {
    top: 3vw;
  }
  #mf1 .ibox #s4 img {
    top: 5vw;
  }
}

@media screen and (max-width: 1650px) {
  #mf1 .ibox #s1 img,
  #mf1 .ibox #s2 img {
    top: 6vw;
  }
  #mf1 .ibox #s3 img {
      top: 8vw;
  }
  #mf1 .ibox #s4 img {
    top: 12vw;
  }
}

@media screen and (max-width: 1400px) {
  #mf1 .ibox figure {
    height: 200px;
  }
  #mf1 .ibox #s1 img {
    top: 5vw;
  }
  #mf1 .ibox #s2 {
    height: 250px;
  }
  #mf1 .ibox #s2 img {
    top: 6vw;
  }
  #mf1 .ibox #s3 img {
    top: 5vw;
  }
  #mf1 .ibox #s4 img {
    top: 9vw;
  }
}
@media screen and (max-width: 1024px) {
  #mf1 .mf-frame {
    margin: 10vw 5vw 5vw 32vw;
  }
  #mf1 .mf-inner {
    display: block;
    padding: 0;
  }
  #mf1 .tbox {
    width: 100%;
    margin: 3vw 0;
  }
  #mf1 .tbox h3 {
    font-size: 3.2vw;
    margin-top: 1em;
  }
  #mf1 .tbox h3 span {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  #mf1 .mf-frame {
    margin: 10vw;
  }
}

@media screen and (max-width: 540px) {
  #mf1 .tbox h3 {
    font-size: 4.5vw;
  }
}

