* {
    box-sizing: border-box;
}
html {
    height: 100%;
    width: 100%;}
body {
    position: relative;
    height: 100%;
    width: 100%;

    margin: 0;
    padding: 0;
    font-family:'WDXL Lubrifont JP N', Helvetica, Arial, sans-serif;
}

body {
    font-family: "RocknRoll One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  /*------------------------------------------------------------*/
  .hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
  
  .background {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .floating-object1 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px; 
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
  }
  
  @keyframes float {
    0% {
      transform: translate(-50%, -50%) rotate(-2deg);
    }
    25% {
      transform: translate(calc(-50% + 5px), calc(-50% - 10px)) rotate(2deg);
    }
    50% {
      transform: translate(calc(-50% - 3px), calc(-50% + 5px)) rotate(-1.5deg);
    }
    75% {
      transform: translate(calc(-50% + 8px), calc(-50% + 3px)) rotate(1deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(-2deg);
    }
  }
  

  
  
/*------------------------------------------------------------*/

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./intro_back.PNG') center center / cover no-repeat rgb(0, 0, 0);
    z-index: 9999;
}
    /*#popup-title{
        position: absolute;
        z-index: 100;

        top: 25%;
        left: 50%;
        transform: translate(-50%,-50%);

        font-size: 160px;
        color: rgb(255, 255, 255, 0.15);
    }*/

    .popup>i {
        position: absolute;
        z-index: 105;
        color: white;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

/*-------------------------------------------------------------*/

header {
    position: absolute;
    z-index: 2;

    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);

    position: fixed;
    display: flex;
    justify-content: start;
}
    header>p {
        color: white;
        font-size: 30px;
        margin: 0px;
        margin: 5px 10px 5px 40px;
    }
    header>nav>a {
        color: white;
        display: inline-block;
        margin: 15px 20px;
        text-align: center;
    }

/*-------------------------------------------------------------*/

.content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
#vivianimg {
    display: none;
    width: 100%;
    margin: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/*-------------------------------------------------------------*/

.story {
    margin-top: 40px;
    margin-bottom: 80px;
    
    display: flex;
    justify-content: center;
}
.storytitle {
    display: flex;
    justify-content: center;
    flex-direction: column;

    margin: auto 0 auto;
}
.story-title {
    font-size: 80px;
    margin-left: 40px;
    margin-bottom: 0;
    color: rgb(246, 235, 81);
}
.story-title2 {
    color: #a6a6a6;
    font-size: 20px;
    text-align: right;
}
.story-content {
    font-size: 18px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 30px;
}
.story-content2 {
    display: block;

    font-size: 18px;
    margin-top: 20px;
}

/*-------------------------------------------------------------*/

hr {
    color: #d7d7d7;
    margin-top: 40px;
    margin-bottom: 40px;
}

/*-------------------------------------------------------------*/

.movie {
    margin-bottom: 80px;
}
.movie-title {
    font-size: 80px;
    color: rgb(167, 162, 162);

    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}
.movie-title2 {
    color: #a6a6a6;
    margin-top: 0;
    margin-left: 55%;
    font-size: 20px;
}
.movie-content {
    text-align: center;
}

/*-------------------------------------------------------------*/

.detail {
    margin-bottom: 80px;
}
.detail-title{
    font-size: 80px;
    color: rgb(247, 243, 243);

    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}
.detail-title2 {
    margin-top: 0;
    margin-left: 55%;
    font-size: 20px;
}
.detail-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 25px;
}
.content2 {
    display: flex;
    flex-direction: column;
    margin: auto 40px;

    border-left: solid 1.5px #d7d7d7;
}
.detail-item {
    margin-left: 50px;
    margin-bottom: 25px;
    display: inline-block;
}
.content1 {
    margin: 40px 0 40px 50px;
    font-size: 25px;
    text-align: center;
}

.menu {
}

/*-------------------------------------------------------------*/

.ticket {
    margin-bottom: 80px;
}
.ticket-content {
    display: flex;
    justify-content: center;

    font-size: 25px;
}

.ticket-content,
.ticket-content:before,
.ticket-content:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #fafbfc;
  border-radius: 0.5rem;
}

a.btn-svg {
  font-weight: 700;
  line-height: 54px;

  width: 204px;
  height: 54px;
  padding: 0;

  cursor: pointer;
  text-decoration: none;

  background-color: transparent;
}

a.btn-svg svg {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

a.btn-svg svg rect {
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;

  stroke: #f4f3f3;
  stroke-width: 2;
  stroke-dasharray: 200px, 16px;
  stroke-dashoffset: 70px;
}

a.btn-svg:hover svg rect {
  stroke-dashoffset: 284px;
}

a.btn-svg span {
  color: #faf9f9;
}

.ticket-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.ticket {
    margin: 40px 30px;
}

/*-------------------------------------------------------------*/

.survey {
    margin: 40px auto;
}

/*-------------------------------------------------------------*/

.footer04 {
    color: #808080;
    background: #f9f7f7;
    text-align: center;
    padding: 30px;
}
.footer04 a {
    color: #808080;
    text-decoration: none;
}
.footer04 a:hover {
    text-decoration: underline;
}
.footer04 .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.footer04 .menu li {
    margin: 0;
    padding: 0 20px;
    border-right: 1px #808080 solid;
}
.footer04 .menu li:last-child {
    border: none;
}
.footer04 .copyright {
    margin: 0;
    padding: 20px 0 0 0;
}
   
@media only screen and (max-width: 599px) {
   .footer04 .menu {
    justify-content: flex-start;
   }
   .footer04 .menu li {
    width: 50%;
    box-sizing: border-box;
    border: none;
   }
   .footer04 .menu li:nth-child(odd) {
    border-right: 1px #808080 solid;
   }
}

.sub {
    margin-top: 40px;
    margin-left: 15%;
    margin-bottom: 40px;
    font-size: 15px;
}

#matrix-canvas { display: none; }

#message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 32px;
    text-align: center;
    z-index: 1000;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.video-container {
    position: fixed;
    top: 30px;
    left: 20px;
    width: 400px;
    height: 237px;
    transform: perspective(500px) rotateY(10deg);
    z-index: 1000;
    overflow: hidden;
}

.video-container img {
    margin-top: 10%;
    padding-left:45px;
    width: 100%;
    height: 115%;
    transform: translate(-16.67%, -16.67%);
}

.background-video {
    margin: 17% 5% 5%;
    width: 60%;
    height: 55%;
    object-fit: cover;
}

.frame-overlay {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    pointer-events: none;
}

.video-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.video-popup-content {
  position: relative;
  background-color:rgba(0, 0, 0, 0.2);
  margin: 5% auto;
  padding-left: 5%;
  padding-top: 5%;
  width: 90%;
  height: 90%;
  max-width: 100%;
  max-height: 100%;
}

.close-popup {
  color: #d5ddb0;
  float: right;
  margin-top: -5%;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
}

.close-popup:hover,
.close-popup:focus {
  color: rgb(243, 243, 243);
  text-decoration: none;
  cursor: pointer;
}

.staff, .cast {
    margin-bottom: 80px;
    text-align: center;
}

.staff-title, .cast-title {
    font-size: 80px;
    color: #CD853F;
    margin-top: 0;
    margin-bottom: 0;
}

.staff-subtitle, .cast-subtitle {
    color: #d5ddb0;
    margin-top: 0;
    font-size: 20px;
}

.main-staff {
    margin-top: 40px;
    margin-bottom: 40px;
}

.main-staff h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #e75a41;
}

.main-staff-name {
    font-size: 36px;
    font-weight: bold;
    margin-top: 0;
}

.staff-list, .cast-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.staff-category, .cast-category {
    width: 30%;
    margin: 10px;
    text-align: left;
}

.staff-category h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #e75a41;
}

.staff-category p {
    font-size: 14px;
    margin-top: 0;
}
.cast-category p{
    font-size: 19px;
    margin-top: 0;

}
.cast-category h4 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #e75a41;
}
.leaflet-button {
    text-align: center;
    margin: 40px 0;
}

.leaflet-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.leaflet-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.leaflet-image {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .leaflet-image {
        max-width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .video-container {
      position: fixed;
      top: auto;
      left: auto;
      bottom: 20px;
      right: 20px;
      width: 200px;
      height: 118px;
      transform: perspective(250px) rotateY(10deg);
    }
  
    .video-container img {
      margin-top: 5%;
      padding-left: 22px;
    }
  
    .background-video {
      margin: 8% 2% 2%;
    }
  }


  #weather-forecaster {
    cursor: pointer;
  }
  
  #weather-forecaster:hover {
    opacity: 0.7;
  }
  /*ここから追記*/
  p{
    color: rgb(243, 243, 243);
  }