@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap");
* {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  color: black;
}

body {
  margin: 0;
}
body input {
  border: none;
  padding: 0;
}

body {
  background-color: #f3f3f3;
  width: 100%;
}
body header {
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  border-bottom: 3px solid #00ac9a;
  display: flex;
  justify-content: center;
  align-items: center;
}
body header h1 {
  margin: 0;
  height: 60px;
  text-align: center;
}
body header h1 img {
  height: 60px;
  mix-blend-mode: multiply;
  vertical-align: top;
}
body main {
  width: 100%;
  display: flex;
  justify-content: center;
}
body main #movie-select {
  margin: 0 auto;
  width: 420px;
  height: 430px;
  background-color: #ffffff;
  border: solid 1.8px #929292;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  margin-top: calc((100vh - 83px - 434px) / 2);
}
body main #movie-select #form-title {
  text-align: center;
  font-size: 27px;
  color: #00ac9a;
  font-weight: 600;
}
body main #movie-select #error {
  margin-top: 10px;
  text-align: center;
  color: red;
}
body main #movie-select form {
  width: 320px;
}
body main #movie-select form div {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
body main #movie-select form div label {
  margin-bottom: 4px;
}
body main #movie-select form div input {
  border: solid 1.8px #929292;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 15px;
}
body main #movie-select form div input:focus-visible {
  outline-color: #00ac9a;
}
body main #movie-select form input[type=submit] {
  width: 100%;
  background-color: #00ac9a;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 7px;
  margin-top: 30px;
  font-size: 16px;
  cursor: pointer;
}
body main #movie-select form input[type=submit]:hover {
  filter: brightness(0.85);
}
body main #movie-select form input[type=submit]:focus-visible {
  outline-color: #00ac9a;
}
body main #one-movie {
  width: 850px;
  margin-top: 80px;
}
body main #one-movie video {
  width: 100%;
}
body main #one-movie #movie-title {
  font-size: 18px;
  margin-top: 5px;
}
body main #one-movie #movie-date {
  font-size: 14px;
  color: #929292;
  margin-top: 2px;
}
body main #one-movie #movie-overview {
  border-top: solid 1px #929292;
  margin-top: 15px;
  padding-top: 15px;
  padding-bottom: 50px;
}

@media screen and (max-width: 530px) {
  main {
    height: calc(100vh - 48px);
  }
  main #movie-select {
    width: calc(95% - 60px) !important;
    padding: 20px !important;
    height: auto !important;
    margin: 0 !important;
  }
  main #movie-select form {
    width: 95% !important;
  }
}
@media screen and (max-width: 850px) and (orientation: landscape) {
  body {
    display: block;
    width: 100%;
    height: 100vh;
  }
  body header {
    display: none;
  }
  body main #one-movie {
    width: 100%;
    margin-top: 0;
  }
  body main #one-movie video {
    width: 100%;
    height: 100vh;
  }
  body main #one-movie #movie-title {
    margin: 0 10px;
    margin-top: 10px;
  }
  body main #one-movie #movie-date {
    margin: 0 10px;
  }
  body main #one-movie #movie-overview {
    margin: 0 10px;
  }
}
@media screen and (max-width: 850px) and (orientation: portrait) {
  body {
    display: block;
    width: 100%;
    height: 100vh;
  }
  body header {
    height: 45px;
  }
  body header h1 {
    height: 38px;
  }
  body header h1 img {
    height: 38px;
  }
  body main #one-movie {
    width: 100%;
    margin-top: 0;
  }
  body main #one-movie video {
    width: 100%;
    height: 56.25vw;
  }
  body main #one-movie #movie-title {
    margin: 0 10px;
    margin-top: 10px;
  }
  body main #one-movie #movie-date {
    margin: 0 10px;
  }
  body main #one-movie #movie-overview {
    margin: 0 10px;
  }
}