@charset "UTF-8";
.hero-section {
  height: calc(var(--safari-vh, 100vh) * var(--viewport-scale, 1));
  width: 100%;
  position: relative;
  line-height: 100%;
  font-weight: 400;
  overflow: hidden;
}

.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--safari-vh, 100vh) * var(--viewport-scale, 1));
  object-fit: cover;
  z-index: -1;
}
@supports (-moz-appearance: none) {
  .hero-background-video {
    height: 100vh;
  }
}

.hero-feed {
  width: 410px;
  height: 282px;
  position: absolute;
  bottom: 56px;
  right: 56px;
}
.hero-feed__close-button {
  position: absolute;
  top: -24px;
  right: -20px;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hero-feed__close-button img {
  width: 7.64px;
  height: 7.64px;
}
.hero-feed__close-button.show {
  opacity: 1;
  transform: translateY(0);
}
.hero-feed__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  display: none;
}
.hero-feed__layout.active {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.hero-feed__layout.active .hero-feed__item {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.hero-feed__layout.active .hero-feed__item:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-feed__layout.active .hero-feed__item:nth-child(2) {
  animation-delay: 0.3s;
}
.hero-feed__layout.active .hero-feed__item:nth-child(3) {
  animation-delay: 0.5s;
}
.hero-feed__layout.fade-out .hero-feed__item {
  opacity: 1;
  transform: translateY(0);
  animation: fadeOutDown 0.8s ease-in forwards;
}
.hero-feed__layout.fade-out .hero-feed__item:nth-child(1) {
  animation-delay: 0s;
}
.hero-feed__layout.fade-out .hero-feed__item:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-feed__layout.fade-out .hero-feed__item:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-feed__item {
  border-radius: 6px;
  background-color: rgba(51, 51, 51, 0.8);
  padding: 11px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  transition: background 0.3s ease;
}
.hero-feed__item:hover {
  background-color: rgb(51, 51, 51);
}
.hero-feed__item:hover .hero-feed__heading-arrow img {
  animation: arrowFly 0.6s ease-in-out;
}
.hero-feed__item:hover .hero-feed__for-rent-image img,
.hero-feed__item:hover .hero-feed__magazine-image img {
  transform: scale(1.1);
}
.hero-feed__item--for-rent-standard {
  max-width: 195px;
  height: auto;
  justify-content: center;
}
.hero-feed__item--for-rent-standard .hero-feed__content {
  gap: 11px;
}
.hero-feed__item--magazine-main {
  max-width: 195px;
  height: auto;
  justify-content: center;
}
.hero-feed__item--magazine-main .hero-feed__content {
  gap: 7px;
}
.hero-feed__item--news-pickup, .hero-feed__item--about-standard, .hero-feed__item--movie-single {
  max-width: 195px;
  height: auto;
  justify-content: flex-start;
}
.hero-feed__item--about-standard {
  gap: 18px;
}
.hero-feed__item--about-standard .hero-feed__heading {
  margin: 0;
}
.hero-feed__item--about-standard .hero-feed__content {
  justify-content: normal;
  gap: 24px;
}
.hero-feed__item--buttons-area {
  height: 128px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}
.hero-feed__item--single-button {
  width: 100%;
  justify-content: space-between;
  display: inline-flex;
  align-items: center;
  background: rgba(51, 51, 51, 0.8);
  color: #ffffff;
  text-decoration: none;
  height: 54px;
  padding: 11px 20px;
  border-radius: 36px;
  font-size: 16px;
  font-weight: 400;
  flex-direction: row;
}
.hero-feed__item--single-button .hero-feed__button-arrow {
  position: relative;
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}
.hero-feed__item--single-button .hero-feed__button-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transition: transform 0.5s ease;
  z-index: 0;
}
.hero-feed__item--single-button .hero-feed__button-arrow img {
  width: 11px;
  height: 7px;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}
.hero-feed__item--single-button:hover, .hero-feed__item--single-button.js-hover-active {
  background: rgb(51, 51, 51);
}
.hero-feed__item--single-button:hover .hero-feed__button-arrow::before, .hero-feed__item--single-button.js-hover-active .hero-feed__button-arrow::before {
  transform: rotate(-24deg);
}
.hero-feed__item--single-button:hover .hero-feed__button-arrow img, .hero-feed__item--single-button.js-hover-active .hero-feed__button-arrow img {
  animation: arrowFly 0.6s ease-in-out;
}
.hero-feed__item--single-button.js-hover-inactive .hero-feed__button-arrow::before {
  transform: rotate(0deg);
}
.hero-feed__item--single-button.hero-feed__item--tilted-arrow .hero-feed__button-arrow img {
  transform: rotate(-45deg);
}
.hero-feed__item--single-button.hero-feed__item--tilted-arrow .hero-feed__button-arrow::before {
  transform: rotate(0deg);
}
.hero-feed__item--single-button.hero-feed__item--tilted-arrow:hover .hero-feed__button-arrow::before, .hero-feed__item--single-button.hero-feed__item--tilted-arrow.js-hover-active .hero-feed__button-arrow::before {
  transform: rotate(-24deg);
}
.hero-feed__item--single-button.hero-feed__item--tilted-arrow:hover .hero-feed__button-arrow img, .hero-feed__item--single-button.hero-feed__item--tilted-arrow.js-hover-active .hero-feed__button-arrow img {
  transform: rotate(-45deg);
  animation: arrowFlyDiagonal 0.6s ease-in-out;
}
.hero-feed__item--single-button.hero-feed__item--tilted-arrow.js-hover-inactive .hero-feed__button-arrow::before {
  transform: rotate(0deg);
}
.hero-feed__item--single-button.hero-feed__item--tilted-arrow.js-hover-inactive .hero-feed__button-arrow img {
  transform: rotate(-45deg);
}
.hero-feed__item--movie-single {
  background-color: transparent;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-feed__item--movie-single .hero-feed__heading {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.hero-feed__item--movie-single .hero-feed__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.hero-feed__heading {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
  height: 15px;
}
.hero-feed__heading-title {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.01rem;
  color: #fff;
}
.hero-feed__heading-arrow img {
  width: 11px;
  height: 7px;
  transition: transform 0.3s ease;
}
.hero-feed__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  flex: 1;
  justify-content: start;
}
.hero-feed__content-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-feed__news-item {
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.8;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-color: #fff;
}
.hero-feed__about-title {
  font-size: 23px;
  letter-spacing: normal;
  line-height: 100%;
}
.hero-feed__about-content {
  font-size: 12px;
  letter-spacing: 0;
}
.hero-feed__for-rent-image, .hero-feed__magazine-image {
  height: 161px;
  overflow: hidden;
}
.hero-feed__for-rent-image img, .hero-feed__magazine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-feed__for-rent-item-text {
  font-size: 12px;
  line-height: 180%;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  overflow-wrap: break-word;
}
.hero-feed__pickup {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  align-items: center;
  gap: 6px;
  border-radius: 40px;
  background: #fff;
  color: #000;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: normal;
}
.hero-feed__pickup span {
  font-size: 11px;
  line-height: 100%;
}
.hero-feed__magazine-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-feed__magazine-image {
  margin-bottom: 5px;
}
.hero-feed__magazine-title {
  font-size: 12px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  overflow-wrap: break-word;
}
.hero-feed__button-arrow img {
  width: 11px;
  height: 7px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(40px);
  }
}
@keyframes arrowFly {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  30% {
    transform: translateX(15px);
    opacity: 0;
  }
  35% {
    transform: translateX(-15px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes rotateBackground {
  to {
    transform: rotate(-24deg);
  }
}
@keyframes rotateBackgroundTilted {
  to {
    transform: rotate(-24deg);
  }
}
@keyframes keepArrowHorizontal {
  to {
    transform: rotate(24deg);
  }
}
@keyframes keepArrowTilted {
  0% {
    transform: rotate(-45deg);
  }
  100% {
    transform: rotate(-21deg);
  }
}
@keyframes arrowFlyHorizontal {
  0% {
    transform: rotate(24deg) translateX(0);
    opacity: 1;
  }
  30% {
    transform: rotate(24deg) translateX(15px);
    opacity: 0;
  }
  35% {
    transform: rotate(24deg) translateX(-15px);
    opacity: 0;
  }
  100% {
    transform: rotate(24deg) translateX(0);
    opacity: 1;
  }
}
@keyframes arrowFlyTilted {
  0% {
    transform: rotate(-21deg) translateX(0);
    opacity: 1;
  }
  30% {
    transform: rotate(-21deg) translateX(15px);
    opacity: 0;
  }
  35% {
    transform: rotate(-21deg) translateX(-15px);
    opacity: 0;
  }
  100% {
    transform: rotate(-21deg) translateX(0);
    opacity: 1;
  }
}
@keyframes rotateBackgroundReverse {
  from {
    transform: rotate(-24deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes rotateBackgroundTiltedReverse {
  from {
    transform: rotate(-24deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes keepArrowHorizontalReverse {
  from {
    transform: rotate(24deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes keepArrowTiltedReverse {
  from {
    transform: rotate(-21deg);
  }
  to {
    transform: rotate(-45deg);
  }
}
@keyframes arrowFlyDiagonal {
  0% {
    transform: rotate(-45deg) translateX(0);
    opacity: 1;
  }
  30% {
    transform: rotate(-45deg) translateX(15px);
    opacity: 0;
  }
  35% {
    transform: rotate(-45deg) translateX(-15px);
    opacity: 0;
  }
  100% {
    transform: rotate(-45deg) translateX(0);
    opacity: 1;
  }
}
/*
  #################

    ## ヒーロー動画ポップアップ ##

  #################
*/
.hero-video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}
.hero-video-popup.active {
  display: block;
}

.hero-video-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.hero-video-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1200px;
  aspect-ratio: 16/9;
}
.hero-video-popup-content video {
  width: 100%;
}
.hero-video-popup-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000px;
  -webkit-appearance: none;
  appearance: none;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-video-popup-content iframe {
    image-rendering: -webkit-optimize-contrast;
  }
}

.hero-video-popup-close {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.hero-video-popup-close:hover {
  opacity: 1;
}

/* ヒーローセクションのプレビュー動画のホバーエフェクト */
.hero-feed__item--movie-single .preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.hero-feed__layout.active .hero-feed__item--movie-single.js-hero-video-popup-trigger {
  pointer-events: auto;
}
@media (max-width: 768px) {
  .hero-feed__layout.active .hero-feed__item--movie-single.js-hero-video-popup-trigger {
    touch-action: manipulation;
  }
}

@media (max-width: 768px) {
  .hero-video-popup-content {
    width: 85.3333333333vw;
    max-width: 320px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 768px) and (max-width: 375px) {
  .hero-video-popup-content {
    width: 80vw;
    max-width: 300px;
  }
}
@media (max-width: 768px) and (min-width: 376px) and (max-width: 414px) {
  .hero-video-popup-content {
    width: 84.5410628019vw;
    max-width: 350px;
  }
}
@media (max-width: 768px) {
  .hero-video-popup-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-video-popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -webkit-appearance: none;
    appearance: none;
  }
}
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2), (max-width: 768px) and (min-resolution: 192dpi) {
  .hero-video-popup-content iframe {
    image-rendering: -webkit-optimize-contrast;
  }
}
@media (max-width: 768px) {
  .hero-video-popup-close {
    top: 4px;
    right: -28px;
    width: 35px;
    height: 35px;
    font-size: 28px;
  }
}
.hero-feed__video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-feed__video-poster,
.hero-feed__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-feed__video {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-feed__video.is-ready {
  opacity: 1;
}

.hero-feed__video.is-ready + .hero-feed__video-poster {
  opacity: 0;
}

@media (max-width: 960px) {
  .hero-section {
    padding: 24px 16px;
    min-height: fit-content;
    height: 100svh;
  }
  .hero-background-video {
    height: 100%;
    object-position: center;
  }
  .hero-feed {
    max-width: 343px;
    width: 100%;
    right: 16px;
    bottom: 24px;
    height: 253px;
  }
  .hero-feed__layout {
    gap: 10px;
  }
  .hero-feed__item {
    padding: 16px;
  }
  .hero-feed__item--buttons-area {
    height: 107px;
    gap: 10px;
  }
  .hero-feed__item--magazine-main .hero-feed__content {
    justify-content: start;
    gap: 7px;
  }
  .hero-feed__item--single-button {
    padding: 10px 16px;
    height: 48px;
    font-size: 14px;
  }
  .hero-feed__item--single-button .hero-feed__button-arrow {
    width: 26px;
    height: 26px;
  }
  .hero-feed__item--single-button .hero-feed__button-arrow img {
    width: 10px;
    height: 6px;
  }
  .hero-feed__item--news-pickup, .hero-feed__item--about-standard {
    height: 121px;
  }
  .hero-feed__item--movie-single {
    height: 135px;
  }
  .hero-feed__item--movie-single .hero-feed__video {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }
  .hero-feed__item--news-pickup .hero-feed__content {
    gap: 8px;
    justify-content: start;
  }
  .hero-feed__item--news-pickup .hero-feed__heading {
    margin-bottom: 10px;
  }
  .hero-feed__item--about-standard .hero-feed__content {
    justify-content: space-between;
    gap: 0;
  }
  .hero-feed__content {
    justify-content: flex-start;
  }
  .hero-feed__news-item {
    -webkit-line-clamp: 2;
    text-align: left;
  }
  .hero-feed__magazine-title {
    text-align: left;
  }
  .hero-feed__for-rent-item-text {
    text-align: left;
  }
  .hero-feed__about-title {
    font-size: 19px;
  }
  .hero-feed__for-rent-image, .hero-feed__magazine-image {
    height: 135px;
  }
  .hero-feed__pickup {
    font-size: 11px;
    padding: 3px 8px;
  }
  .hero-feed__close-button {
    right: -5px;
    top: -35px;
  }
  .hero-feed__magazine-image {
    margin-bottom: 4px;
  }
}