.anchor_main_title_logo {
  transform: scale(2);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
}

.anchor_main_title.visible .anchor_main_title_logo {
  transform: scale(1);
  opacity: 1;
}

.anchor_main_title_cap {
  transform: scale(0.8) translate(50px, 50px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s;
}

.anchor_main_title_cap.show {
  transform: scale(1) translate(0, 0);
  opacity: 1;
}

.anchor_main_chips_img {
  opacity: 0;
  transform: scale(0) translate(-50px, 50px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  display: flex;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  padding-right: 0.3rem;
}

.anchor_main_chips_img.show {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

.anchor_main_chips_img figcaption {
  transform: scale(0) translate(50px, 50px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s;
}

.anchor_main_chips_img figcaption.show {
  transform: scale(1) translate(0, 0);
  opacity: 1;
}

.anchor_main_chips_img figcaption.show {
  transform: scale(1) translate(0, 0);
  opacity: 1;
}

.anchor_list_item {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.anchor_list_item.item1,
.anchor_list_item.item2 {
  transform: translateX(-15px) translateY(15px);
}

.anchor_list_item.item3,
.anchor_list_item.item4 {
  transform: translateX(15px) translateY(15px);
}

.anchor_list_item.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.js-anchor-chips {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-anchor-chips.left {
  transform: translate(0, 0) rotate(0deg);
}

.js-anchor-chips.right {
  transform: translate(0, 0) rotate(0deg);
}

.js-anchor-chips.left.animate {
  transform: translate(-5px, -3px) rotate(-15deg);
}

.js-anchor-chips.right.animate {
  transform: translate(5px, -3px) rotate(15deg);
}

.anchor_wave {
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.2s ease-in-out, clip-path 0.2s ease-in-out;
}

.anchor_wave.show {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
}

.anchor_list_btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) rotate(0deg);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.anchor_list_btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(0deg);
}

.anchor_list_btn:nth-of-type(1),
.anchor_list_btn:nth-of-type(3) {
  transform: translateY(15px) rotate(-10deg);
}

.anchor_list_btn:nth-of-type(1).show,
.anchor_list_btn:nth-of-type(3).show {
  transform: translateY(0) rotate(0deg);
}

.anchor_list_btn:nth-of-type(2),
.anchor_list_btn:nth-of-type(4) {
  transform: translateY(15px) rotate(10deg);
}

.anchor_list_btn:nth-of-type(2).show,
.anchor_list_btn:nth-of-type(4).show {
  transform: translateY(0) rotate(0deg);
}

.anchor_cap {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.anchor_cap.show {
  opacity: 1;
}
/* ===== whatup_title ===== */

.whatup_title {
  transform: translateY(25px);
  opacity: 0;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.whatup_lead {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.whatup.show .whatup_title {
  opacity: 1;
  transform: translateY(0);
}

.whatup.show .whatup_lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.whatup_item_chips {
  display: block;
  position: absolute;
  top: 8rem;
  left: -5%;
  width: 85.57%;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.whatup.show .whatup_item_chips {
  transform: translateX(0);
  opacity: 1;
}

.main-anm,
.after-anm {
  position: absolute;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.3));
}

.whatup .main-anm {
  width: 64%;
  margin: 0;
}

.after-anm {
  width: 43.855%;
  margin: 0;
  top: -1.75rem;
  left: 37.5%;
  max-width: 100%;
  transform: rotate(-6deg);
  transition: transform 0.3s ease-in-out, left 0.3s ease-in-out;
}

.whatup.show .after-anm.animate {
  transform: rotate(20deg);
  left: 48.5%;
}

.bg-anm {
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.bg-anm.show {
  transform: scale(1);
  opacity: 1;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  display: flex;
  justify-content: center;
}

.video-modal iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
.movie_tv_slider_list {
  position: relative;
  z-index: 10; /* 他の要素の影響を受けないようにする */
  pointer-events: auto; /* クリックを有効化 */
}

.movie_tv_slider {
  position: relative;
  overflow: visible; /* クリック範囲を制限しない */
}

.history {
    position: relative;
    width: 100%;
    transition: position 0.3s ease-in-out;
}

.history.fixed {
    position: fixed;
    top: 60px; /* ヘッダーの高さ */
    left: 0;
    width: 400px;
    height: calc(100vh - 60px);
    z-index: 100;
    background: #005eae;
    overflow: hidden;
}
@media screen and (min-width: 768px) {
    .history.sticky {
        position: sticky;
        top: 60px;
        z-index: 10;
    }
}
@media screen and (max-width: 767px) {
.history.fixed {
    top: 14.5vw;
    height: calc(100vh - 14.5vw);
    width: 100%;
}
    .history.sticky {
        position: fixed;
        top: 15vw;
        left: 0;
        width: 100%;
        height: calc(100vh - 15vw);
        z-index: 100;
        background: #005eae;
        overflow: hidden;
    }
}

.history_title {
  opacity: 1;
  transform: translateY(50px);
  transition: transform 0.6s ease-out;
  position: relative;
  z-index: 4;
}

.history_title.show {
  transform: translateY(0);
}

.history_item_chips {
  position: absolute;
  opacity: 0;
  transform: rotate(-5deg) scale(0.7) translateY(15rem);
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}
.history_item_package {
  position: absolute;
  opacity: 0;
  transform: scale(1.2);
  transition: transform 0.4s ease-out, right 0.4s ease-out, bottom 0.4s ease-out, opacity 0.3s ease-out;
  right: 14%;
  /* bottom: 65rem; */
  bottom:50%;
  z-index: 3;
  width: 73%;
}
@media screen and (max-width: 767px) {
.history_item_package {
  bottom: 80.5rem;
}
}

.history_item_chips.drop {
  opacity: 1;
  /* transform: rotate(-5deg) scale(0.7) translateY(15rem); */
  transform: rotate(-5deg) scale(0.7) translateY(130%);
  position: absolute;
  /* top: 20rem; */
  top: 18%;
  left: 20%;
  right: 20%;
  z-index: 2;
  transition: transform 0.4s ease-out, opacity 0.6s ease-out;
}
@media screen and (max-width: 767px) {
  .history_item_chips.drop {
    top:22rem;
    transform: rotate(-5deg) scale(0.7) translateY(20rem);
  }
}
@media screen and (max-width: 390px) {
  .history_item_chips.drop {
    top: 25rem;
    transform: rotate(-5deg) scale(0.7) translateY(20rem);
  }
}
.history_item_package.drop {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}

.history_item_chips.adjust {
  transform: rotate(-5deg) scale(0.85) translateY(0);
  opacity: 1;
  transition: transform 0.3s ease-out;
}

.history_item_package.adjust {
  position: absolute;
  opacity: 1;
  transform: scale(1);
  right: 14%;
  /* bottom: 65rem; */
  bottom:50%;
  z-index: 3;
  transition: transform 0.4s ease-out, right 0.4s ease-out, bottom 0.4s ease-out;
}
@media screen and (max-width: 767px) {
.history_item_package.adjust {
  bottom: 80.5rem;
}
}

.history_item_chips.show {
  transform: rotate(0deg) scale(1.5);
  position: absolute;
  top: -8rem;
  left: 0;
  z-index: 2;
  width: 100%;
  opacity: 1;
  transition: transform 0.4s ease-out, top 0.4s ease-out, opacity 0.8s ease-out;
}

.history_item_package.show {
  transform: rotate(5deg) scale(1.8);
  right: 65px;
  bottom: -248px;
  z-index: 3;
}
@media screen and (max-width: 767px) {
  .history_item_package.show {
    transform: rotate(5deg) scale(1.7);
    right: 7.5rem;
    bottom: -31rem;
  }
}

.history_item_chips.show.fade-out {
  opacity: 0;
}


.history_list {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  z-index: 3;
}
.history_list.show {
  bottom: 0;
  opacity: 1;
  transform: translateY(0);
}
