/* reset */
body li {
  list-style: none;
}

* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

a:link, a:visited, a:hover, a:active {
  color: black;
}









/* common */

body {
  font-family: 'Roboto Condensed', sans-serif;
  background: rgb(250, 250, 250);
}

.container {
  width: 1000px;
  margin: auto;
  /* outline: 1px solid red; */
}








/* header */

header {
  width: 100%;
  height: 50px;
  transition: top .6s;
  position: fixed;
  top: 8px;
  z-index: 10;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
}

.header-wrapper span {
  display: none;
}

header h1,
header p,
header i {
  width: 120px;
  font-size: 16px;
  margin: 0 16px;
  text-align: center;
  /* color: red; */
}

header h1 {
  text-align: left;
  font-weight: normal;
}


header i {
  text-align: right;
}











/* main */

.portfolio {
  margin-top: 100px;
}

main .ts_img {
  text-align: center;
}

main .ts_img img {
  margin: auto;
  border: 30px solid black;
  box-sizing: border-box;
  filter: grayscale(100%);
  transition: .7s ;
  /* width: 900px; */
  /* margin: auto; */
  max-width: 100%;
}

main .ts_img img:hover {
  filter: grayscale(0%);
}

main .ts_wrapper_text {
  width: 150px;
  background: black;
  display: inline-block;
  color: white;
  margin-top: 8px;
  margin-left: 50px;
  padding: 8px;
  font-size: 12px;
}

main .mm_wrapper {
  margin-top: 150px;

}

main .mm_mp4_wrapper {
  display: flex;
}

main .mm_mp4 {
  width: 600px;
  height: 337px;
  border: 10px solid black;


}

main .mm_sp_mp4 {
  width: 250px;
  border: 10px solid black;
  position: relative;
  top: 50px;
  left: -100px;
}

main .mm_wrapper .mm_wrapper_text {
  position: relative;
  left: 850px;
  top: -300px;
  background: black;
  display: inline-block;
  color: white;
  padding: 8px;
  font-size: 12px;
}

main .tf_wrapper {
  margin-top: 100px;
  margin-bottom: 16px;
  text-align: center;
}

main .tf_img img {
  border: 30px solid rgb(0, 0, 0);
  filter: grayscale(100%);
  transition: 1s;
  margin: auto;
  max-width: 100%;
  box-sizing: border-box;


}

main .tf_img img:hover {
  filter: grayscale(0%);
}

main .tf_wrapper .tf_wrapper_text {
  background: black;
  display: inline-block;
  color: white;
  padding: 8px;
  text-align: left;
  margin-top: 8px;
  font-size: 12px;
}










/* footer */

footer {
  height: 100px;
  margin-top: 100px;
}

footer p {
  color: black;
  font-size: 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  text-align: center;
}

footer p:first-child {
  padding-bottom: 8px;
}

footer .footer_wrapper {
  margin: auto;
}









/* responsive */

@media screen and (max-width: 1000px) {
  .container {
    width: 95%;
  }

  main .ts_wrapper_text,
  main .mm_wrapper .mm_wrapper_text,
  main .tf_wrapper .tf_wrapper_text {
    background: transparent;
    color: black;
    margin: 0;
    padding: 0;
  }

  main .ts_wrapper {
    text-align: center;
  }

  main .ts_wrapper_text {
    text-align: center;
  }

  br {
    display: none;
  }

  main .mm_sp_mp4,
  main .mm_wrapper .mm_wrapper_text {
    position: static;
  }
  
  main .mm_mp4_wrapper {
    justify-content: space-between;
  }

  main .mm_wrapper .mm_wrapper_text {
    position: relative;
    top: -110px;
    left : 0;
  }

}


@media screen and (max-width: 945px) {
  .mm_wrapper {
    text-align: center;
  }

  .mm_mp4 {
    display: none;
  }

  main .mm_sp_mp4 {
    margin: 0 auto;
  }

  main .mm_mp4_wrapper {
    margin-bottom: 4px;
  }

  main .mm_wrapper .mm_wrapper_text {
    position: static;
  }
}


@media screen and (max-width: 768px) {
  .header-wrapper p {
    display: none;
  }

  .header-wrapper span {
    display: block;
    font-size: 12px;
  }
}
