@charset "UTF-8";
/* ==========================================================================
   トップページ（/index.html）

   目次
     1. ページ全体
     2. メインビジュアル（BRIDGE!）
     3. プロモーションムービー
     4. コンセプト
     5. 事業内容（WORKS）
     6. ギャラリー
     7. よくあるご質問（FAQ）
     8. インフォメーション
     9. スクロール連動アニメーションの初期状態（JS有効時のみ）
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. ページ全体
   -------------------------------------------------------------------------- */
.home {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
}

/* GALLERY までスクロールすると表示される、ぼかし動画の固定背景（JS が挿入） */
.home-bg-video {
  position: fixed;
  z-index: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-blue-100);
}

.home-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   2. メインビジュアル
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
}

.hero__copy {
  display: block;
  width: 83.3333%;
}

.hero__title {
  width: 70vw;
  margin-top: 0;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero__title {
    width: 50vw;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    width: 580px;
  }
}

.hero__lead {
  display: block;
  width: fit-content;
  margin: 0;
  font-size: 4.4vw;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .hero__lead {
    font-size: 4vw;
  }
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .hero__lead {
    font-size: 22px;
  }
}

@media (min-width: 1280px) {
  .hero__lead {
    font-size: 24px;
  }
}


/* --------------------------------------------------------------------------
   3. プロモーションムービー
      PC ではスクロールに合わせて画面に固定され、動画が拡大します（GSAP）。
   -------------------------------------------------------------------------- */
.promo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 90vw;
  background-color: var(--color-black);
}

@media (min-width: 768px) {
  .promo {
    background-color: var(--color-white);
  }
}

@media (min-width: 1024px) {
  .promo {
    height: 100vh;
  }
}

/* GSAP で拡大・縮小する要素 */
.promo__scaler {
  position: relative;
  width: 100%;
  height: 100%;
}

.promo__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   4. コンセプト
   -------------------------------------------------------------------------- */
.concept {
  position: relative;
  z-index: 20;
  padding-block: 3rem;
  color: var(--color-white);
  background-color: var(--color-black);
}

@media (min-width: 768px) {
  .concept {
    padding-block: 150px;
  }
}

@media (min-width: 1024px) {
  .concept {
    padding-block: 200px;
  }
}

.concept__lead {
  width: 83.3333%;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .concept__lead {
    font-size: 20px;
    line-height: 2.2;
  }
}

.concept__title {
  position: relative;
  width: 100vw;
  max-width: 800px;
  margin: 3rem auto;
  padding-block: 5vw;
}

@media (min-width: 768px) {
  .concept__title {
    padding-block: 1rem;
  }
}

@media (min-width: 1024px) {
  .concept__title {
    width: 100%;
    margin-block: 100px;
  }
}

.concept__video {
  display: block;
  margin-inline: auto;
}

.concept__text {
  width: 83.3333%;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .concept__text {
    font-size: 20px;
    line-height: 2.2;
    text-align: center;
  }
}

.concept__scroll-line {
  left: 50%;
}


/* --------------------------------------------------------------------------
   5. 事業内容（WORKS）
      動画は画面に貼り付き（sticky）、その上を説明文がスクロールします。
   -------------------------------------------------------------------------- */
.works {
  background-color: var(--color-black);
}

.works__inner {
  position: relative;
  width: 100%;
  min-height: 600vh;
  color: #fff;
}

.work {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

.work__media {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.work__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work__body {
  position: relative;
  z-index: 1;
  width: 80%;
  max-width: 640px;
  min-height: 100vh;
  margin: auto;
  padding-bottom: 100px;
}

@media screen and (min-width: 641px) {
  .work__body {
    padding-bottom: 50vh;
  }
}

.work__title {
  margin-bottom: 35px;
}

.work__title-en {
  display: block;
  width: fit-content;
  margin-bottom: 0.2em;
  border-bottom: 2px solid #fff;
  font-family: var(--font-heading);
  font-size: 7vw;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

@media screen and (min-width: 641px) {
  .work__title-en {
    font-size: 50px;
  }
}

.work__title-ja {
  display: block;
  font-size: 18px;
}

.work__text {
  max-width: 640px;
  margin: 0;
  font-size: 4.5vw;
  font-weight: 500;
  line-height: 2;
}

@media screen and (min-width: 641px) {
  .work__text {
    font-size: 20px;
  }
}


/* --------------------------------------------------------------------------
   6. ギャラリー
   -------------------------------------------------------------------------- */
.gallery {
  position: relative;
  padding-top: 20vw;
  padding-bottom: 25vw;
  overflow: hidden;
}

@media (min-width: 768px) {
  .gallery {
    padding-block: 120px;
  }
}

@media (min-width: 1024px) {
  .gallery {
    padding-block: 180px;
  }
}

/* 右からスライドインする「GALLERY」 */
.gallery__title {
  position: relative;
  bottom: -5vw;
  left: 0;
  z-index: 10;
  width: fit-content;
  font-size: 20vw;
  line-height: 1;
  letter-spacing: -0.05em;
}

@media (min-width: 768px) {
  .gallery__title {
    bottom: -50px;
    font-size: 130px;
  }
}

@media (min-width: 1024px) {
  .gallery__title {
    left: calc(50% - 590px);
    font-size: 160px;
  }
}

@media (min-width: 1280px) {
  .gallery__title {
    left: calc(50% - 620px);
  }
}

.gallery__body {
  position: relative;
  width: 83.3333%;
  max-width: 1000px;
  margin-inline: auto;
}

.gallery__video {
  margin-bottom: 1.5rem;
}

.gallery__text {
  margin: 0;
}

/* 特設ギャラリーサイトへのリンク（文字色は子要素で指定） */
.gallery__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  margin-inline: auto;
  padding: 1rem;
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  text-align: center;
  background-color: var(--color-black);
}

@media (hover: hover) {
  .gallery__link:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

@media not all and (min-width: 640px) {
  .gallery__link {
    font-size: 1.25rem;
    line-height: calc(1.75 / 1.25);
  }
}

/* 外部リンクアイコン（Font Awesome「arrow-up-right-from-square」） */
.gallery__icon {
  box-sizing: content-box;
  display: inline-block;
  width: 1.25em;
  height: 1em;
  margin-right: 0.75rem;
  overflow: visible;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: calc(1.25 / 0.875);
  vertical-align: -0.125em;
}

.gallery__link-text {
  color: #fff;
}


/* --------------------------------------------------------------------------
   7. よくあるご質問（FAQ）
   -------------------------------------------------------------------------- */
.faq {
  padding-block: 80px;
  color: var(--color-white);
  background-color: var(--color-zinc-900);
}

@media (min-width: 768px) {
  .faq {
    padding-block: 120px;
  }
}

.faq__inner {
  width: 83.3333%;
  max-width: 800px;
  margin-inline: auto;
}

.faq__title {
  margin-bottom: 3rem;
  font-size: 8vw;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .faq__title {
    font-size: 50px;
  }
}

.faq__subtitle {
  font-size: 5vw;
}

@media (min-width: 768px) {
  .faq__subtitle {
    font-size: 24px;
  }
}

.faq__list {
  margin-top: 2rem;
}

.faq__item {
  border-bottom: 1px solid var(--color-zinc-700);
}

.faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: 1.25rem;
  text-align: left;
}

.faq__question-text {
  padding-right: 1rem;
  font-size: 16px;
}

@media (min-width: 768px) {
  .faq__question-text {
    font-size: 18px;
  }
}

/* 「+」「−」 */
.faq__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
}

/* 回答（開閉は JS が .is-open を付け外し） */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s var(--ease-default);
}

.faq__answer.is-open {
  max-height: 24rem;
  padding-bottom: 1.25rem;
}

.faq__answer-text {
  color: var(--color-zinc-300);
  font-size: 14px;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .faq__answer-text {
    font-size: 16px;
  }
}


/* --------------------------------------------------------------------------
   8. インフォメーション
      PC（641px〜）では JS が Swiper を適用してカルーセルに、
      スマートフォン（〜640px）では縦に並んだリストになります。
   -------------------------------------------------------------------------- */
.information {
  position: relative;
  overflow: hidden;
}

.information__inner {
  position: relative;
  width: 83.3333%;
  max-width: 800px;
  margin: 0 auto 100px;
  letter-spacing: -0.05em;
}

@media (min-width: 768px) {
  .information__inner {
    width: 100%;
  }
}

.information__title {
  font-size: 10vw;
}

@media (min-width: 768px) {
  .information__title {
    font-size: 60px;
  }
}

@media screen and (min-width: 641px) {
  .info-carousel {
    position: relative;
  }
}

/* Swiper 適用時 */
.info-carousel__viewport.swiper {
  margin: 30px auto;
  overflow: visible;
}

.info-carousel__progress {
  position: relative;
  width: 50%;
  margin: 50px 0;
  border-radius: 4px;
  background: rgba(150, 150, 150, 0.5);
}

@media screen and (min-width: 641px) {
  .info-carousel__progress {
    width: 300px;
  }
}

@media screen and (max-width: 640px) {
  .info-carousel__progress {
    display: none;
  }
}

.info-carousel__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #555;
  transform: scale(0);
  transform-origin: left top;
}

.info-card {
  display: block;
}

@media screen and (max-width: 640px) {
  .info-card {
    margin-bottom: 2rem;
  }
}

.info-card__image {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
}

/* WordPress から取得した画像は、元の画像と同じ比率（720:300）に切り抜いて表示 */
.info-card__image--wp img {
  aspect-ratio: 720 / 300;
  object-fit: cover;
}

.info-card__title {
  margin-block: 0.25rem;
}

.info-card__text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--color-gray-500);
  font-weight: 300;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

@media (min-width: 768px) {
  .info-card__title,
  .info-card__text {
    font-size: 13px;
  }
}


/* --------------------------------------------------------------------------
   9. スクロール連動アニメーションの初期状態（JS有効時のみ）
   -------------------------------------------------------------------------- */
.js .hero__copy {
  opacity: 0;
  transform: translateX(-300px);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

.js [data-scroll-text] {
  opacity: 0;
  transform: translateX(100%);
}
