@media (max-width: 1100px) {
  #top {
    height: 120vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }

  #result1 {
    padding: 0  30px 30px 30px;
  }

  .container {
    width: 100%;
}

  .img-wrapper {
    width: 300px;
    display: flex;
    flex-direction: column;
    margin-right: 50px;
  }

  .img1 {
    width: 300px;
    position: relative;
    bottom: 80px;
  }

  .text-wrapper {
    width: 100%;
  }

  .text-wrapper p {
    width: 100%;
  }

  .m-t-s {
    margin-top: 35px;
    margin-bottom: 45px;
  }

  #result1-img {
    height: 700px;
    background-attachment: scroll;
  }

  #result2 {
    padding: 0 30px 30px 30px;
  }

  #result2-img {
    height: 700px;
    background-attachment: scroll;
  }

  #result3 {
    padding: 0 30px 30px 0;
  }

  .container-3 {
    width: 100%;
  }

  .text-wrapper-3 {
    width: 100%;
  }

  .img1-3 {
    width: 350px;
    position: relative;
    bottom: 50px;
  }

  #result3-img {
    height: 700px;
    background-attachment: scroll;
  }

  footer {
    height: 140px;
    padding-top: 0;
    padding-right: 0;
  }

  .txt-contents {
    height: 140px;
    display: flex;
    justify-content: center;
    margin-right: 0;
  }

  footer p {
    height: 40px;
  }

  #copyright {
    height: 40px;
    display: flex;
    justify-content: center;
    padding-right: 0;
  }

  #copyright p {
    font-size: 12px;
    line-height: 40px;
    margin: 0;
  }

  .near-last {
    height: 180px;
  }
}

@media (max-width:670px) {
  #top {
    height: 100vh;
    background: url(img/top.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
  }

  #top img {
    display: block;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin: 0;
  }

  .header {
    height: 30px;
    padding: 0 0 0 20px;
  }

  .header img {
    height: 25px;
    width: 36px;
    margin-right: 20px;
    margin-top: 3px;
  }

  .header p {
    font-size: 14px;
    line-height: 30px;
  }

  #result1 {
    padding: 0 20px 10px 10px;
  }

  .text-wrapper h4 {
    font-size: 12px;
    margin: 20px 0;
  }

  .text-wrapper p {
    font-size: 10px;
    line-height: 1.5;
  }

  .m-t-s {
    margin: 10px 0;
  }

  .img-wrapper {
    width: 178px;
    display: flex;
    flex-direction: column;
    margin-right: 20px;
  }

  .img1 {
    width: 150px;
    position: relative;
    bottom: 30px;
  }

  .img2 {
    width: 178px;
    margin-top: 100px;
  }

  #result1-img {
    height: 300px;
  }

  #result2 {
    height: auto;
    background: #DFC274;
    padding: 0 20px 10px 10px;
  }

  .img2-2 {
    width: 170px;
    margin-top: 100px;
  }

  .m-y {
    margin: 10px 0;
  }

  #result2-img {
    height: 300px;
  }

  #result3 {
    padding: 0 20px 10px 10px;
  }

  .img-wrapper-3 {
    width: 200px;
    display: flex;
    flex-direction: column;
  }

  .img1-3 {
    width: 200px;
    position: relative;
    bottom: 50px;
  }

  .img2-3 {
    height: 120px;
    width: 180px;
    margin-left: 15px;
    margin-top: 100px;
  }


  .text-wrapper-3 {
    margin-left: 0;
  }

  #result3-img {
    height: 300px;
  }

  footer {
    height: 80px;
    padding: 0;
  }

  .txt-contents {
    width: auto;
    display: flex;
    justify-content: center;
    height: 80px;
    padding-top: 30px;
  }

  .txt-contents p {
    font-size: 12px;
    height: 80px;
  }

  .txt-contents a {
    margin-top: 0;
    font-size: 12px;
  }

  #copyright {
    height: 30px;
  }

  #copyright p {
    font-size: 7px;
    width: 100%;
    line-height: 30px;
    height: 30px;
  }

  .effect {
    width: 14px;
  }

  .effect p {
    font-size: 10px;
    width: 14px;
    line-height: 14px;
  }

  .near-last {
    background: #F5911E;
    height: 111px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .near-last p {
    font-size: 10px;
    color: white;
  }

  .img-wrapper,
  .img-wrapper-3 {
    display: none;
  }

  .text-wrapper img {
    display: block;
  }

  .img1st {
    height: 280px;
    margin: 0 auto;
    position: relative;
    bottom: 20px;
  }

  .img2nd {
    width: 100%;
    margin-top: 30px;

  }
#top img.pc {
  display: none;
}
#top img.sp {
  display: block;
}
}
