/* 全体 */
* {
  box-sizing: border-box;
}
html, body, main {
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; */
  width: 100%;
  font-family: "Kiwi Maru", serif;
}
.row {
  margin: 0px;
}
.font-kiwi {
  font-family: "Kiwi Maru", serif !important;
}
.font-erica {
  font-family: "Erica One", serif !important;
}
section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.wrapper {
  max-width: 950px;
  margin: auto;
}
.section-title {
  font-size: 70px;
  color: white;
  font-family: "Erica One", serif !important;
  display: flex;
  justify-content: center;
}
.section-sub-title {
  font-size: 40px;
  color: white;
  font-family: "Erica One", serif !important;
  display: flex;
  justify-content: center;
}
.section-title-img {
  display: block;
  height: 4.5vw;
}
.section-sub-title-img {
  display: block;
  height: 2vw;
}

/* ヘッダー */
/* ーハンバーガーメニュー */
#check,
.hamburger {
  display: none;
}
/* 固定ヘッダー */
.fixed-header {
  position: sticky;
  top: 0;
  background-color: white;
  font-size: 30px;
  font-weight: 700;
  padding-top: 15px;
  padding-bottom: 15px;
  font-family: "Yu Gothic", serif !important;
  z-index: 101;
  transition: letter-spacing 0.1s ease-in-out;
}
.fixed-header a {
  color: rgb(0, 102, 2);
  text-decoration: none;
}
.fixed-header:hover {
  letter-spacing: 2px;
}
/* 固定ヘッダー追加時の調整　※固定ヘッダー消去時に合わせて削除 */
#main-visual {
  padding-top: 0 !important;
}
.main-visual-main-part {
  top: 15% !important;
}
.main-visual-sub-part {
  top: 55%;
}



/* サイドメニュー（固定） */
.side-menu {
  opacity: 0;
  padding: 20px;
  position: fixed;
  color: white;
  z-index: 99;
  /* background-color: rgba(0, 102, 2, 0.5); */
  border-radius: 10px;
  transition: opacity 1.5s ease;
  visibility: hidden;
}
.side-menu a {
  position: relative;
  text-decoration: none;
  animation-duration: 0.1s;
}
.side-menu a:hover {
  font-size: 1.3vw;
  top: -2px;
}
.side-menu-logo-img {
  width: 200px;
  margin-bottom: 10px;
}
.side-menu-bar {
  width: 18px;
  border-radius: 9px;
  border: 1px solid rgb(0, 102, 2);
  background-color: rgba(230, 230, 230, 0.8)
}
.side-menu-radio-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgb(0, 102, 2);
  background-color: white;
  position: relative;
}
.side-menu-radio-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgb(0, 102, 2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; /* デフォルトでは非表示 */
  transition: opacity 0.3s ease; /* スムーズな切り替え */
}
.side-menu-radio-btn.active::before {
  opacity: 1; /* active クラスがついたときに表示 */
}
.side-menu-content {
  position: relative;
  left: -18px;
  font-size: 1.225vw;
}
.side-menu-content > div {
  height: 1.35vw;
  display: flex;
  align-items: center;
}
.side-menu-text {
  margin-left: 18px;
  color: white;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgb(0, 102, 2);
}
/* lit-link-btn */
.lit-link-btn-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  opacity: 0;
  transition: opacity 1.5s ease;
  visibility: hidden;
  animation-duration: 0.1s;
}
.lit-link-btn {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  /* background-color: rgb(0, 102, 2); */
  border-radius: 50%;
  /* border: 2px solid white; */
  color: white;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgb(0, 102, 2);
}
.lit-link-btn-img {
  display: inline-block;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: rgb(0, 102, 2);
  border: 1px solid rgb(0, 102, 2);
}

.visible {
  visibility: visible;
  opacity: 1;
}



/* メインビジュアル */
#main-visual {
 height: calc(130vh);
 width: 100%;
 background-color: white;
 display: flex;
 /* justify-content: center; */
 align-items: center;
 padding: 20px;
}
.main-visual-bg {
  /* height: calc(100% - 40px); */
  height: calc(100%);
  width: 100%;
  margin: auto;
  background-image: url('../images/main-visual.jpg');
  background-size: cover; /* 画像をセクション全体に広げる */
  background-position: center; /* 画像を中央に配置 */
  background-repeat: no-repeat; /* 繰り返しを防ぐ */
  border-radius: 20px;
}
.main-visual-main-part {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%,0%);
  width: 40vw;
}
.main-visual-main-part img {
  width: 100%;
}
.main-visual-text {
  font-size: 1.5vw;
  color: white;
  letter-spacing: 3px;
}
.main-visual-sub-part {
  width: 8vw;
  position: absolute;
  top: 50%;
  right: 15%;
}
.main-visual-sub-part img {
  width: 50%;
}
.main-text-img-2 {
  position: relative;
  top: 5vw;
}

/* メニュー */
#section-menu {
  margin-bottom: 20px;
}
#section-menu a {
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
#section-menu a:hover {
  top: -5px;
  /* font-size: 2.4vw; */
}
.menu-item {
  color: white;
  font-size: 2.25vw;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  /* transition: all 0.2s ease; */
}
.menu-bg {
  background-color: rgb(0, 102, 2);
  height: 100px;
  clip-path: polygon(0% 0%, calc(100% - 50px) 0%, 100% 50%, calc(100% - 50px) 100%, 0 100%);
}
.menu-bg > .row {
  height: 100%;
  padding-right: 50px;
  justify-content: space-between;
}

/* MOVIE */
#section-movie {
  width: 100%;
  background-image: url('../images/movie/movie-bg.jpg');
  background-size: cover; /* 画像をセクション全体に広げる */
  background-position: center; /* 画像を中央に配置 */
  background-repeat: no-repeat; /* 繰り返しを防ぐ */
}
.main-movie {
}
.sub-movies-container a {
  display: block;
}
.sub-movies-container a:hover .sub-movie-img {
  max-width: 105%;
}
.sub-movie {
  height: 200px;
}
.sub-movie-img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  transition: all 0.2s ease;
}
.sub-movie-title {
  color: white;
}
.sub-movies-container a {
  text-decoration: none;
}

/* STORY */
#section-story {
  width: 100%;
  background-image: url('../images/story-bg.jpg');
  background-size: cover; /* 画像をセクション全体に広げる */
  background-position: center; /* 画像を中央に配置 */
  background-repeat: no-repeat; /* 繰り返しを防ぐ */
}
.story-space {
  height: 250px;
}
.story-description {
  font-size: 1.5vw;
  color: white;
  text-align: center;
}

/* WORLD */
#section-world {
  background-color: rgb(255, 252, 243);
}
#section-world .section-title {
  color: rgb(0, 102, 2);
}
.world-description {
  font-size: 1.5vw;
  font-weight: 600;
  color: rgb(0, 102, 2);
  text-align: center;
}
.world-carousel .carousel-inner {
  border-radius: 20px;
  height: 600px;
}
#section-world .carousel-indicators {
  position: static;
  justify-content: end;
  margin-right: 0;
}
#section-world .carousel-indicators button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgb(0, 102, 2);
}
.world-img {
  width: 100%;
}
.world-thumb-img-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.world-thumb-img {
  object-fit: cover;
}
.carousel-indicators [data-bs-target] {
  text-indent: 0px;
}

/* CHARACTERS */
#section-characters {
  background-color: rgb(255, 252, 243);
}
#section-characters .section-title {
  color: rgb(0, 102, 2);
}
.character-description {
  font-size: 1.35vw;
  font-weight: 600;
  color: rgb(0, 102, 2);
  line-height: 1.8;
}
.character-img {
  width: 100%;
  object-fit: cover;
}
.character-name-img {
  width: 100%;
  object-fit: cover;
}
.character-other-img {
  width: 100%;
  object-fit: cover;
}
.train-img, .train-name-img {
  /* height: 200px; */
  width: 100%;
  object-fit: contain;
}
#section-characters .carousel-indicators,
#section-characters .carousel-control-prev,
#section-characters .carousel-control-next {
  margin-top: 5px;
  margin-bottom: 0px;
  position: static;
  opacity: 1;
  color: rgb(0, 102, 2);
  width: auto;
}
.character-carousel .carousel-control-prev i,
.character-carousel .carousel-control-next i {
  font-size: 2.25vw
}
#section-characters .carousel-indicators button {
  width: 10px;
  height: 10px;
  margin-right: 25px;
  margin-left: 25px;
  border-radius: 50%;
  background-color: rgb(0, 102, 2);
}
#section-characters .carousel-control-prev-icon {
  color: rgb(0, 102, 2);
}
.character-carousel-text {
  color: rgb(0, 102, 2);
  font-size: 1.25vw;
}

/* CAST&STAFF */
#section-cast-staff {
  position: relative;
  background-color: rgb(255, 252, 243);
  background-image: url('../images/staff/staff-cast-bg.png');
  background-repeat: repeat-y;
  background-size: cover;
}
#section-cast-staff .section-title {
  color: rgb(0, 102, 2);
}
.cast-staff-position {
  color: rgb(0, 102, 2);
  font-size: 1.5vw;
}
.cast-staff-name {
  color: rgb(0, 102, 2);
  font-size: 2vw;
  font-weight: 600;
}
.cast-staff-part {
  margin-top: 1.3vw;
  margin-bottom: 1.3vw;
}
.comment-btn {
  height: 120px;
  padding: 30px;
  cursor: pointer;
  border: none;
  background-color: transparent;
}
.comment-btn-img {
  height: 100%;
  transition: all 0.2s ease;
}
.comment-btn:hover .comment-btn-img {
  height: 110%;
}
.cast-staff-sub-title {
  color: rgb(0, 102, 2);
  font-size: 1.5vw;
}
.comment-img-container {
  width: 100%;
}
.comment-img {
  width: 100%;
}
.studio-logo {
  width: 20vw;
}
.studio-logo-img {
  width: 100%;
  object-fit: contain;
}

/* GALLERY */
#section-gallery {
  background-color: rgb(255, 252, 243);
}
#section-gallery .section-title {
  color: rgb(0, 102, 2);
}

.gallery-carousel .carousel-inner {
  border-radius: 20px;
  height: 600px;
}
#section-gallery .carousel-indicators {
  position: static;
  justify-content: end;
  margin-right: 0;
}
#section-gallery .carousel-indicators button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgb(0, 102, 2);
}
#section-gallery .carousel-item {
  height: 100%;
  background-color: rgb(0, 102, 2);
}
.gallery-img {
  width: 100%;
}
.gallery-thumb-img-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.gallery-thumb-img {
  object-fit: cover;
}
.carousel-indicators [data-bs-target] {
  text-indent: 0px;
}

/* OTHER */
#section-other {
  background-color: rgb(255, 252, 243);
}
#section-other .section-title {
  color: rgb(0, 102, 2);
}
.other-description {
  font-size: 1.75vw;
  font-weight: 600;
  color: rgb(0, 102, 2);
  line-height: 1.8;
}
.other-frame {
  height: 500px;
  background-color: white;
  border-radius: 20px;
  border: 2px solid rgb(0, 102, 2);
  overflow-y: scroll;
  overflow-x: hidden;
  padding-left: 3%;
  padding-right: 3%;
}
.note-container {
  padding: 3%;
  border-bottom: 3px dashed rgb(0, 102, 2);
  display: block;
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.note-title-1 {
  font-size: 1vw;
  transition: all 0.2s ease;
}
.note-title-2 {
  font-size: 1.2vw;
  transition: all 0.2s ease;
}
.note-container:hover .note-title-1 {
  font-weight: bold;
  color: rgb(0, 102, 2);
}
.note-container:hover .note-title-2 {
  font-weight: bold;
  color: rgb(0, 102, 2);
}

/* フッター */
footer {
  height: 300px;
  background-color: rgb(0, 102, 2);
  padding-top: 80px;
  padding-bottom: 80px;
}
.footer-logo {
  width: 20vw;
}
.footer-logo-img {
  width: 100%;
  object-fit: contain;
}

/* モーダル */
.modal-footer {
  display: none;
}
.modal {
  --bs-modal-width: 100%;
  --bs-modal-border-radius: 0px;
  height: 100%;
  margin: 0;
  border-radius: 0;
  background-color: rgb(0, 102, 2);
}
.modal-dialog {
  margin: 0;
  height: 100%;
}
.modal-content {
  width: 100%;
}
.modal-body {
  display: flex;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: rgb(0, 102, 2);
}
.btn-close {
  position: absolute;
  top: 3%;
  right: 3%;
  z-index: 10;
  --bs-btn-close-bg: none;
  width: 5vw;
}



/* レスポンシブ対応 =========================================================== */
@media only screen and (max-width: 767px) {
  /* 全体 */
  .section-title {
  }
  .section-sub-title {
  }
  .section-title-img {
    display: block;
    height: 8vw;
  }
  .section-sub-title-img {
    display: block;
    height: 5vw;
  }
  section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  /* 固定ヘッダー */
  .fixed-header {
    font-size: 4vw;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .fixed-header:hover {
    letter-spacing: 0px;
    transition: none;
  }
  /* 固定ヘッダー追加時の調整　※固定ヘッダー消去時に合わせて削除 */
  #main-visual {
    padding-top: 0 !important;
  }
  .main-visual-main-part {
    top: 15% !important;
  }
  .main-visual-sub-part {
    top: 55%;
  }

  /* ーハンバーガーメニュー & サイドメニュー*/
  #side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15% 10% 15%;
    background-color: rgb(0, 102, 2);
    transform: translateY(-100%);
    transition: 0.5s ease;
    opacity: 0;
    z-index: 19;
    visibility: visible;
    border-radius: 0;
    display: block;
  }
  header input[type="checkbox"]:checked ~ #side-menu {
    transform: translateY(0%);
    opacity: 1;
  }
  header input[type="checkbox"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
  }
  .hamburger {
    position: fixed;
    top: 5px;
    right: 5px;
    width: 54px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }
  .hamburger span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    transition: all 0.5s;
  }
  #border-1,
  #border-2,
  #border-3 {
    box-shadow: 3px 3px 3px  black;
  }
  #border-1 {
    top: calc(50% - 8px);
  }
  #border-3 {
    top: calc(50% + 8px);
  }
  .hamburger span::before {
    top: -8px;
  }
  .hamburger span::after {
    top: auto;
    bottom: -8px;
  }
  header input[type="checkbox"]:checked + .hamburger #border-2 {
    background-color: transparent;
    box-shadow: none;
  }
  header input[type="checkbox"]:checked + .hamburger #border-1 {
    top: calc(50% - 1px);
    left: 8px;
    transform: rotate(45deg);
    box-shadow: none;
  }
  header input[type="checkbox"]:checked + .hamburger #border-3 {
    top: calc(50% - 1px);
    left: 8px;
    transform: rotate(-45deg);
    box-shadow: none;
  }
  .side-menu-content > div {
    height: 7vw;
  }
  .side-menu-content {
    font-size: 5vw;
  }
  .side-menu a:hover {
    font-size: 5.3vw;
    top: -2px;
  }
  .side-menu-logo-img {
    margin-bottom: 30px;
  }
  .side-menu-text {
    -webkit-text-stroke-width: 0px;
    -webkit-text-stroke-color: rgb(0, 102, 2);
    letter-spacing: 2px;
  }
  .side-menu-radio-btn {
    border: none;
  } 
  .side-menu-bar {
    border: none;
  }

  /* メインビジュアル */
  #main-visual {
    height: 141.4vw;
    padding: 5px;
   }
  .main-visual-bg {
    background-image: url('../images/main-visual-sp.jpg');
    border-radius: 5px;
  }
  .main-visual-main-part {
    display: none;
  }
  .main-visual-sub-part {
    display: none;
  }

  /* メニュー */
  #section-menu {
    display: none;
  }

  /* MOVIE */
  
  .wrapper {
    width: 95%;
    max-width: none;
  }
  .sub-movie {
    height: auto;
  }
  .sub-movie-title {
    font-size: 2.3vw;
    margin-top: 5px;
  }


  /* STORY */
  .story-space {
    height: 80px;
  }
  .story-description {
    font-size: 2.5vw;
  }

  /* WORLD */
  .world-description {
    font-size: 2.5vw;
  }
  .world-carousel .carousel-inner {
    border-radius: 6px;
    height: 65vw;
  }
  #section-world .carousel-indicators{
    display: flex;
    margin: 0;
  }
  #section-world .carousel-indicators button {
    height: 10vw;
    width: 10vw;
  }


  /* CHARACTER */
  .character-description {
    font-size: 2.1vw;
  }
  .character-carousel {
    padding-right: 5%;
    padding-left: 5%;
  }
  .character-carousel .carousel-control-prev i,
  .character-carousel .carousel-control-next i {
    font-size: 5vw
  }
  .character-carousel .character-carousel-text {
    font-size: 2.5vw;
  }
  #section-characters .carousel-indicators button  {
    width: 3px;
    height: 3px;
    margin-right: 10px;
    margin-left: 10px;
  }

  /* CAST&STAFF */
  #section-cast-staff .wrapper{
    width: 90%;
  }
  .cast-staff-position {
    font-size: 2vw;
    font-weight: 600;
  }
  .cast-staff-name {
    font-size: 3.5vw;
  }
  .cast-staff-part {
    margin-top: 2vw;
    margin-bottom: 2vw;
  }
  .comment-btn {
    padding: 0;
    height: 24px;
  }
  .comment-btn-img {
    /* height: 45%; */
  }

  /* GALLERY */
  .gallery-carousel .carousel-inner {
    height: 60vw;
    border-radius: 6px;
  }
  #section-gallery .carousel-indicators {
    display: flex;
    margin: 0;
  }
  #section-gallery .carousel-indicators button {
    height: 10vw;
    width: 10vw;
  }

  /* OTHER */
  .other-description {
    font-size: 3.5vw;
  } 
  .note-title-1 {
    font-size: 2.5vw;
    margin-bottom: 3px;
  }
  .note-title-2 {
    font-size: 3vw;
  }
  .note-container {
    padding-top: 5%;
    padding-bottom: 5%;
    border-bottom: 2px dashed rgb(0, 102, 2);
  }
  .other-frame {
    height: 250px;
  }

  /* FOOTER */
  footer {
    height: 22vw;
    background-color: rgb(0, 102, 2);
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .footer-logo {
    width: 22vw;
  }


}
