* {
    margin: 0 auto;
    padding: 0 auto;
    border: 0 auto;
    list-style: none;
}
body {
    background-image: url(../img/patarn.movie.png);
    background-position: center;
    background-repeat: none;
    background-size: 50% auto;
}
header {
  width: 100%;
  display: flex;
  position: fixed;
  background-color: rgb(255, 255, 255 ,0.9);
}

.logo img {
    width: 60px;
}
@media(orientation: landscape)
{ .logo img {
    width: 100px;}}

.nav{
  display: flex;
}
.nav-top img {
  width: 80px;
  margin-top: 8px;
  margin-right: 5px;
}
  @media(min-width:500px)
{.nav-top img {
  width: 140px;
  margin-right: 0;
  margin-top: 17px;}}

.nav-modoru img {
  width: 80px;
  margin-top: 8px;
  margin-right: 20px;
}
@media(min-width:500px)
{.nav-modoru img {
  width: 140px;
  margin-right: 40px;
  margin-top: 17px;}}
main {
  padding-top: 45px;
  padding-right: 10px;
  padding-left: 10px;
}
.container {
  width: 90%;
  background-color:   rgba(255, 255, 255, 0.9);
  margin-left: 50px;
  border: 5px solid;
  border-color:  rgb(187, 30, 13);
  border-radius: 2rem;
  margin-top: 45px;
  margin-bottom: 70px;
  padding-bottom: 40px;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 5) ;
}
@media(min-width:500px){
  .container{
     margin-top: 70px;}}
@media(min-width:544px){
 .container{
    margin-top: 60px;}}
@media (orientation: landscape){
  .container {
    margin-top: 60px;}}
@media(min-width:545px) {
  .Itityousei {
    margin-left: 4%;}}

.charactertitle {
  margin-top: -25px;
  margin-bottom: -20px;
}
@media(min-width:500px)
{.charactertitle {
  margin-top: -35px;
  margin-bottom: -20px;}}

.popup-open img:hover {
  border: 4.5px solid #c40909;
  border-radius: 15px;
  box-shadow: 1px 1px 1px 1px rgba(100, 100, 100, 30);
}

#popup {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup1 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup2 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup3 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup4 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup5 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup6 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup7 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup8 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup9 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup10 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup11 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup12 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup13 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup14 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup15 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup16 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup17 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup18 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup19 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup20 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup21 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup22 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup23 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup24 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup25 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup26 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup27 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup28 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup29 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup30 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup31 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup311 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup32 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup33 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup34 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup35 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup36 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup37 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup38 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup39 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup40 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup41 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup42 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup43 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup44 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup45 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup46 {
  display: none; /* label でコントロールするので input は非表示に */
}
#popup47 {
  display: none; /* label でコントロールするので input は非表示に */
}
.popup-open {
  cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}
.popup-open img {
  width: 100%;
  margin-top: 50%;
}
@media(min-width:400px)
{.popup-open img {
  width: 100%;}}
@media(min-width:545px)
{.popup-open img {
  width: 90%;}}
@media(min-width:768px)
{.popup-open img {
  width: 80%;}}
  @media(min-width:1200px)
{.popup-open img {
  width: 70%;}}

.popup-overlay {
  display: none; /* input にチェックが入るまでは非表示に */
}

#popup:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup1:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup2:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup3:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup4:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup5:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup6:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup7:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup8:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup9:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup10:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup11:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup12:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup13:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup14:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup15:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup16:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup17:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup18:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup19:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup20:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup21:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup22:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup23:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup24:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup25:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup26:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup27:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup28:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup29:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup30:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup31:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup311:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup32:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup33:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup34:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup35:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup36:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup37:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup38:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup39:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup40:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup41:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup42:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup43:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup44:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup45:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup46:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
#popup47:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}


.popup-window {
  width: 170vw;
  max-width: 700px;
  border-radius: 6px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-24.8%, -50%);
}
@media (orientation: landscape){
  .popup-window{
    width: 100vh;
  }
}

.popup-text {
  margin: 0;
}
.popup-text img {
  width: 50%;
}

.popup-text:not(:last-of-type) {
  margin-bottom: 1em
}

.popup-close {
  cursor: pointer;
  position: absolute;
  top: 100%;
  left: 0%;
  display: flex;
  padding-top: 30px;
  padding-left: 100px;
  padding-bottom: 30px;
  padding-right: 100px;
  text-align: center;
  background-color: rgba(0, 255, 255, 0);
}
@media(min-width:400px)
{
  .popup-close {
    left: 5%;}}
.close {
  font-size: large;
  font-weight: bold;
  color: aliceblue;
  margin-left: 5px;
  bottom: 50px;
}