/*
=======================================

Filename: about.css

======================================= */

/* ====================================================
// about common style
==================================================== */
.about {
  padding: 20rem 0 0;
}

@media screen and (max-width: 750px) {
  .about {
    padding: 10rem 0 2rem;
  }
}


/* ============ fv ============ */
.about_fv {
  display: flex;
  justify-content: center;
  gap: 8rem;
  
}

.about_fv .txt_ja {
  padding-bottom: 4rem;
  transition-delay: 3s;
  max-width: 50rem;
}

.about_fv .txt_ja p {
  font-size: 1.2rem;
  line-height: 1.6;
  padding-bottom: 2rem;
  letter-spacing: 0.12rem;
}

.about_fv .txt_en {
  padding-bottom: 5rem;
  max-width: 50rem;
}

.about_fv .txt_en p {
  font-family: "Oswald", sans-serif;
  font-size: 1.0rem;
  line-height: 1.5;
  color: #999;
  padding-bottom: 3rem;
  letter-spacing: 0.1rem;
}

.txt_en.is-delay,
.info.is-delay {
  transition-delay: 3.4s;
}

@media screen and (max-width: 750px) {
  .about_fv {
    flex-direction: column;
    gap: 0;
  }

  .about_fv .txt_ja {
    font-size: 1.0rem;
    padding-bottom: 2rem;
  }

  .about_fv .txt_ja p {
    padding-bottom: 3rem;
  }

  .about_fv .txt_en {
    padding-bottom: 2.5rem;
  }
}


/* ============ info-table ============ */
.about .info-table__list {
  margin-left: 18rem;
}

.about_movie {
  width: 100%;
  height: 60rem;
  position: relative;
  overflow: hidden; /* はみ出た部分を隠す */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

.about_movie iframe {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 上下左右中央配置 */

  /* 動画のアスペクト比を維持しながら、コンテナを完全に覆うサイズ */
  width: 100vw; /* ビューポート幅いっぱい */
  height: 62.25vw; /* 16:9のアスペクト比 (9/16 * 100)より少し大きめ */

  /* 高さが足りない場合は高さ基準でサイズ調整 */
  min-width: 106.67rem; /* 60rem ÷ 9 × 16 = 106.67rem */
  min-height: 60rem;

  border: none;
  z-index: 1;
}

.about_map {
  height: 38rem;
  position: relative;
  z-index: -1;
}

.about_map iframe {
  filter: grayscale(100%);
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .about .info-table__list {
    margin-left: 0;
  }

  .about_movie {
    height: 18rem;
  }

  .about_movie iframe {
    min-width: calc(18rem * 16 / 9); /* 32rem */
    min-height: 30rem;
  }
}

