@charset "UTF-8";
/*
  ###########

  ## フッター ##

  ###########
*/
/* フッター全体のレイアウト */
#layout-footer {
  background-color: #393c41;
  color: white;
  z-index: 998;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 80px 48px 32px 48px;
  gap: 40px;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.footer-right-social__page-sp-container {
  display: none;
}

/*
  #################

    ## フッター左側 ##

  #################
*/
.footer-left {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  display: none;
}
.footer-left.is-pc {
  display: flex;
}
.footer-left.is-sp {
  display: none;
}

.footer-left-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

/* フッター左側のロゴ */
.footer-left-logo {
  width: fit-content;
  height: 100%;
  padding-top: 16px;
}

/* メインナビゲーション */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(84px, max-content) minmax(86px, max-content) minmax(114px, max-content); /* 3列目：INFORMATIONベース */
  gap: 10px 40px;
  width: fit-content;
  margin-left: auto;
  /* 各メニュー項目の配置 */
}
.footer-menu li {
  /* about */
  /* service */
  /* company */
  /* recruit */
  /* forrent */
  /* magazine */
  /* news */
  /* contact */
}
.footer-menu li:nth-child(1) {
  grid-area: 1/1;
}
.footer-menu li:nth-child(2) {
  grid-area: 2/1;
}
.footer-menu li:nth-child(3) {
  grid-area: 3/1;
}
.footer-menu li:nth-child(4) {
  grid-area: 4/1;
}
.footer-menu li:nth-child(5) {
  grid-area: 1/2;
}
.footer-menu li:nth-child(6) {
  grid-area: 2/2;
}
.footer-menu li:nth-child(7) {
  grid-area: 3/2;
}
.footer-menu li:nth-child(8) {
  grid-area: 1/3; /* information */
}
.footer-menu li:nth-child(9) {
  grid-area: 2/3;
}

.footer-menu-item {
  width: 100%;
}

/* メニューのリンク */
.footer-menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  width: fit-content;
}

/* フッターメニューの矢印 */
.footer-feed__heading-arrow {
  width: 10px;
  height: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  margin-left: 8px;
}
.footer-feed__heading-arrow img {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 10px;
  height: 7px;
}

/* フッターメニューのホバーアニメーション */
.footer-menu-link:hover .footer-feed__heading-arrow img {
  opacity: 1;
  transform: translateX(3%);
  animation: arrowSlideInFromLeft 0.3s ease forwards;
}

.footer-menu-link:not(:hover) .footer-feed__heading-arrow img {
  animation: arrowSlideOutToRight 0.3s ease forwards;
}

/* メニューのタイトル（text-rotationコンポーネント使用） */
.footer-menu-item .text-rotate-text {
  font-family: "Commissioner", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  font-style: normal;
  line-height: 100%;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}
.footer-menu-item[data-column=col-1] .text-rotate-text {
  width: 84px;
}
.footer-menu-item[data-column=col-2] .text-rotate-text {
  width: 86px;
}
.footer-menu-item[data-column=col-3] .text-rotate-text {
  width: 114px;
}

/* サブタイトル */
.menu-description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  color: #a6a9ab;
  text-align: left;
}

/* 列ごとのmenu-description幅最適化 */
.footer-menu-item[data-column=col-1] .menu-description {
  width: 97px;
}
.footer-menu-item[data-column=col-2] .menu-description {
  width: 74px;
}
.footer-menu-item[data-column=col-3] .menu-description {
  width: 74px;
}

/* 住所情報 */
.footer-address {
  margin-top: auto;
  color: #ffffff;
}

.footer-adress-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.footer-adress-text {
  font-family: "Commissioner", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
}

/*
  #################

    ## フッター右側 ##

  #################
*/
.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.footer-right-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
}

.footer-right-link-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* ボタンスタイル（入居者の方へ・お問い合わせ）- ハンバーガーメニュー&hero参考 */
.footer-btn {
  width: 100%;
  max-width: 195px;
  justify-content: space-between;
  display: inline-flex;
  align-items: center;
  background-color: #f4f4f4;
  color: #393c41;
  text-decoration: none;
  height: 54px;
  padding: 11px 20px;
  border-radius: 36px;
  font-size: 16px;
  font-weight: 400;
  flex-direction: row;
}
.footer-btn .text-rotate-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #393c41;
}
.footer-btn .hero-feed__button-arrow.btn__arrow {
  position: relative;
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}
.footer-btn .hero-feed__button-arrow.btn__arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: transform 0.5s ease;
  z-index: 0;
}
.footer-btn .hero-feed__button-arrow.btn__arrow img {
  width: 11px;
  height: 7px;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}
.footer-btn:hover {
  background-color: #c6c6c6;
}
.footer-btn:hover .hero-feed__button-arrow.btn__arrow::before {
  transform: rotate(-24deg);
}
.footer-btn:hover .hero-feed__button-arrow.btn__arrow img {
  animation: arrowFly 0.6s ease-in-out;
}
.footer-btn.information-link .hero-feed__button-arrow.btn__arrow img {
  transform: rotate(-45deg);
}
.footer-btn.information-link:hover .hero-feed__button-arrow.btn__arrow img {
  transform: rotate(-45deg);
  animation: arrowFlyDiagonal 0.6s ease-in-out;
}

/* アニメーションキーフレーム */
@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 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;
  }
}
@keyframes arrowSlideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(3%);
  }
}
@keyframes arrowSlideOutToRight {
  0% {
    opacity: 1;
    transform: translateX(3%);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}
/*
  #############
    ## media ##
  #############
*/
.footer-right-media {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-right-media-item {
  width: 195px;
  height: 128px;
}

/* about */
.media-item-about {
  background-color: #f4f4f4;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  width: 100%;
  height: 100%;
}
.media-item-about-link {
  display: block;
  text-decoration: none;
  padding: 11px 16px;
  width: 100%;
  height: 100%;
}

/* footer FULL MOVIE矢印スタイル（heroと統一） */
.media-item-title-icon.footer-movie-arrow img {
  width: 11px;
  height: 7px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

/* footer ABOUT矢印スタイル（heroと統一） */
.media-item-title-icon.footer-about-arrow img {
  width: 11px;
  height: 7px;
  filter: brightness(0);
  transition: transform 0.3s ease;
}

/* aboutと動画共通のスタイル */
.media-item {
  /* 仙台共立について */
  /* 動画 */
}
.media-item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.media-item-title-text {
  color: #393c41;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.01rem;
  line-height: 100%;
  text-transform: uppercase;
}
.media-item-title-text.white {
  color: #ffffff;
}
.media-item-title-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
}
.media-item-title-icon img {
  width: 15px;
  height: 15px;
}
.media-item-title-icon.white img {
  filter: brightness(0) invert(1);
}
.media-item-about-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.media-item-about-body-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 23px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: justify;
  color: #a6a9ab;
  margin-bottom: 24px;
}
.media-item-about-body-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: justify;
  color: #393c41;
}
.media-item-movie-body {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.media-item-movie-body video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.media-movie-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #fff;
  overflow: hidden;
}
.media-movie-link:hover .footer-movie-arrow img {
  animation: arrowFly 0.6s ease-in-out;
}
.media-movie-title {
  position: absolute;
  top: 11px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

/* ABOUT要素のホバーアニメーション（heroと統一） */
.media-item-about-link:hover .footer-about-arrow img {
  animation: arrowFly 0.6s ease-in-out;
}

/*
  #################

    ## ビデオポップアップ ##

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

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

.video-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1200px;
  aspect-ratio: 16/9;
}
.video-popup-content video {
  width: 100%;
}
.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) {
  .video-popup-content iframe {
    image-rendering: -webkit-optimize-contrast;
  }
}

.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;
}
.video-popup-close:hover {
  opacity: 1;
}

/* プレビュー動画のホバーエフェクト */
.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .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) {
  .video-popup-content {
    width: 80vw;
    max-width: 300px;
  }
}
@media (max-width: 768px) and (min-width: 376px) and (max-width: 414px) {
  .video-popup-content {
    width: 84.5410628019vw;
    max-width: 350px;
  }
}
@media (max-width: 768px) {
  .video-popup-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .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) {
  .video-popup-content iframe {
    image-rendering: -webkit-optimize-contrast;
  }
}
@media (max-width: 768px) {
  .video-popup-close {
    top: 4px;
    right: -28px;
    width: 35px;
    height: 35px;
    font-size: 28px;
  }
}
/* ##################

  ## ソーシャルメディア ##

  ###################
*/
.footer-right-social {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.social-item {
  max-width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  opacity: 1;
}
.social-item:hover .media-item-icon {
  background-color: white;
  border-color: rgba(255, 255, 255, 0.6);
  transition: color 0.5s ease, border-color 0.5s ease, background-color 0.5s ease;
}
.social-item:hover .media-item-icon img {
  filter: invert(80%);
  transition: filter 0.5s ease;
}
.social-item:not(:hover) .media-item-icon {
  background-color: transparent;
  border-color: #ffffff;
  transition: color 0.5s ease, border-color 0.5s ease, background-color 0.5s ease;
}
.social-item:not(:hover) img {
  filter: none;
  transition: filter 0.5s ease;
}

.media-item-icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid #ffffff;
  padding: 14px;
}
.media-item-icon img {
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
}

.media-item-text {
  color: #ffffff;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* コピーライト */
.footer-copyright {
  color: #ffffff;
  text-align: justify;
  font-family: "Commissioner", sans-serif;
  font-size: 14px;
  font-weight: 200;
  line-height: 100%;
  letter-spacing: 0;
  align-self: flex-end;
}
.footer-copyright span {
  font-size: 14px;
}

@media (max-width: 960px) {
  .footer-left-logo {
    display: none;
  }
  .footer-left-logo-sp {
    display: flex;
    width: 269px;
    height: 29px;
  }
  .footer-left-logo-sp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .footer {
    padding: 56px 16px 24px;
  }
  .footer-container {
    max-width: 375px;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
  }
  .footer-left {
    gap: 56px;
    margin-bottom: 40px;
  }
  .footer-left.is-sp {
    display: flex;
  }
  .footer-left.is-pc {
    display: none;
  }
  .footer-right {
    gap: 40px;
    align-items: center;
  }
  .footer-right-link {
    gap: 16px;
  }
  .footer-right-link-item {
    gap: 10px;
  }
  .footer-btn {
    max-width: 166px;
    padding: 10px 16px;
    font-size: 14px;
  }
  .footer-btn .text-rotate-text {
    font-size: 14px;
  }
  .footer-btn .hero-feed__button-arrow.btn__arrow {
    width: 26px;
    height: 26px;
  }
  .footer-btn .hero-feed__button-arrow.btn__arrow img {
    width: 10px;
    height: 6px;
  }
  .footer-right-media-item {
    width: 166px;
    height: 133px;
  }
  .media-item-about-body-title {
    font-size: 19px;
    margin-bottom: 16px;
  }
  .footer-right-social {
    gap: 16px;
  }
  .footer-right-social.is-pc {
    display: none;
  }
  .footer-copyright {
    font-size: 11px;
  }
  .footer-right-media {
    gap: 10px;
  }
  .footer-right-social__page-sp-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .footer-right-social__page-sp-container-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 44px;
  }
  .footer-right-social__page-sp-container-item-logo {
    width: 163px;
    height: 46px;
  }
  .footer-right-social__page-sp-container-item-social {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .footer-right-social__page-sp-container .footer-address .footer-adress-title {
    font-size: 15px;
  }
  .footer-right-social__page-sp-container .footer-address .footer-adress-text {
    display: flex;
    flex-direction: column;
  }
  .footer-right-social__page-sp-container .footer-address .footer-adress-text span {
    display: block;
    margin-bottom: 5px;
  }
  .footer-right-social__page-sp-container .media-item-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .footer-right-social__page-sp-container .media-item-icon img {
    max-width: 20px;
    max-height: 20px;
  }
}