@charset "utf-8";
@import url(normalize.css);/*外部ファイルを呼び込み*/
/*=====================================================
基本設定
=====================================================*/
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    background-image: url(../images/img-background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: -1;
}
nav ul{
  padding-left: 0;
  list-style: none;
}
@media screen and (max-width: 600px) {
  .header_nav ul, .footer_nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
@media screen and (min-width: 768px) {
  .banner_area section {
    width: 30%;
    margin-bottom: 0;
  }
  .character_text, .character_img {
    width: 100%;
  }
}

/*=====================================================
header
=====================================================*/
.page-header {
  background-color: black;
}
.header_wrapper{
  display: flex ;
  margin: 0 auto;
  width: 100%;
  max-width: 960px;
  justify-content: space-between;
  align-items: flex-end; 
  padding: 20px;
}
.header_logo{
  width: 200px;
}
.header_logo h1{
  margin: 0;
}
.header_logo img{
  width: 100%;
}
.header_nav{
  width: 50%;
}
.header_nav ul{
  display: flex;
  justify-content: space-between;
}
.header_nav ul li a {
  color: #fc001a;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}
.header_nav ul li a:hover {
  color: #d1d6c0;
}

/*=====================================================
footer
=====================================================*/
.page-footer {
  margin-top: 20px;
  background-color: rgba(0, 0, 0, 0.75);
  text-align: center;
  padding-bottom: 40px;
}
.footer_nav ul {
  margin: 0;
  display: flex;
  justify-content: center;
}
.footer_nav {
  padding-top: 20px;
}
.footer_nav ul li {
  margin: 0 40px;
}
.footer_nav ul li a {
  color: #fc001a;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}
.footer_nav ul li a:hover {
  color: #d1d6c0;
}

.copyright {
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fc001a;
  margin-top: 10px;
  font-size: 12px;
}
.easteregg-tip {
  color: #fc001a;
  font-size: 14px;
  margin-top: 20px;
  font-weight: bold;
}
/*=====================================================
HOME(index.html)
=====================================================*/

/*Mainvisual*/
.mainvisual {
  width: 100%;
}
.mainvisual img {
  width: 100%;
}
/*Main*/
.main_contents {
  width: 90%;
  max-width: 960px;
  margin: 40px auto;
}
.intro_text {
  margin-bottom: 40px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.75);
}
.intro_text p {
  color: #d1d6c0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}
/*banner*/
.banner_area {
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.75);
}
.banner_area section {
  width: 30%;
  margin-bottom: 20px;
  cursor: pointer;
}

.banner_area section a {
  color: #fc001a;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}
.banner_area section a:hover {
  color: #d1d6c0;
}
.banner_area section h2 {
  margin: 6px;
  font-size: 22px;
  text-align: center;
}
.banner_area section img {
  width: 100%;
}
.banner_area section a img {
  transition: 0.5s;
}
.banner_area section a:hover img {
  opacity: 0.75;
}

/*=====================================================
STORY(story.html)
=====================================================*/
.mainvisual_second {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  text-align: center;
}
.mainvisual_second img {
  width: 960px;
}
/*Main*/
.main_contents_second {
  width: 90%;
  max-width: 960px;
  margin: 40px auto;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.75);
  margin-bottom: 80px;
}
.main_contents_second h2 {
  margin: 20px 0;
  color: #fc001a;
  font-size: 58px;
  line-height: 1.2;
  letter-spacing: 1px;
}
.content_wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.content_img ,.content_text{
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content_img {
  width: 46%;
}
.content_img img {
  width: 100%;
  height: 0 auto;
  margin-bottom: 40px;
}
.content_text p {
  color: #d1d6c0;
  font-size: 18px;
  text-align: justify;
  font-weight: bold;
  line-height: 1.5;
}
/*=====================================================
CHARACTERS(characters.html)
=====================================================*/
.content_text h3 {
  margin: 0;
  color: #d1d6c0;
  font-size: 42px;
}
.content_text p.character_name {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}
.character_nav {
  margin: 20px auto;
  width: 90%;
  max-width: 960px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.character_nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.character_nav li a {
  color: #fc001a;
  font-weight: 900;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.character_nav li a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #fc001a;
}

.character_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
  background-color: rgba(0, 0, 0, 0.6); 
  padding: 20px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.character_row.visible {
  opacity: 1;
  transform: translateY(0);
}
.character_row:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.character_text {
  width: 50%;
  color: #d1d6c0;
  background-color: rgba(0, 0, 0, 0.6); 
  padding: 20px;
  border-radius: 8px; 
}

.character_text h3 {
  margin: 0;
  font-size: 42px;
  color: #fc001a;
}

.character_name {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

.character_description {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-align: justify;
}

.character_img {
  width: 50%;
}

.character_img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.character_row:nth-child(even) {
  flex-direction: row-reverse;
}

.batman-easteregg {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: url('../images/bat-symbol.gif') no-repeat center center / contain;
  transform: translate(-50%, -50%);
  animation: fadeZoom 3s ease-out forwards;
  z-index: 9999;
}

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

/*=====================================================
VOICE-CAST(voice-cast.html)
=====================================================*/

.voice-cast-page .character_text h3 {
  font-size: 28px;
  color: #ffffff;
}
.character_img img {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.voice-cast-page .character_text {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}
.voice-cast-page .character_text h3 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 10px;
}
.voice-cast-page .character_name {
  color: #ff5555;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
}
.character_row {
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.character_row.visible {
  opacity: 1;
  transform: translateY(0);
}
.character_row:hover {
  transform: scale(1.02);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}
.main_contents_second h2 {
  border-bottom: 2px solid #fc001a;
  display: inline-block;
  padding-bottom: 8px;
}
.easteregg-tip {
  text-align: center;
  color: #fc001a;
  font-size: 14px;
  margin-top: -60px;
  margin-bottom: 40px;
  font-weight: bold;
}


