/* ========================================
   styles.css - FPTジャパンホールディングス タイアップ
   ======================================== */

/* TODO: Noto Sans JP の読み込み方針を確認してから <link> タグを追加する
   例: <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap" rel="stylesheet">
   ただし外部ライブラリ追加は日経BP側との確認が必要 */

html {
  scroll-behavior: smooth;
}

/* ===== VARIABLES ===== */
:root {
  --orange: #ED6C00;
  --orange_dark: #ED5700;
  --blue: #005BAC;
  --green: #00A73C;
  --text: #222222;
  --bg_gray: #EFEFEF;
  --white: #ffffff;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --container_pc: 1000px;
}

/* ===== BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin: 0;
}

h1, h2, h3, h4 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    opacity: 0.7;
  }

  /* Scroll Down：animationのopacity fill-modeと競合しないようfilterで制御 */
  .mv_scroll:hover {
    filter: opacity(0.7);
  }

  /* サムネイル付きカード: カード全体を透明にせず画像のみ薄くする */
  .pickup_card:hover,
  .top_card:hover {
    opacity: 1;
  }

  .pickup_card:hover .pickup_card_image img,
  .top_card:hover .top_card_image img {
    opacity: 0.7;
  }
}

/* ===== DISABLED CARD ===== */
.is_disabled {
  cursor: default;
  pointer-events: none;
}

/* ===== IMAGE PLACEHOLDER ===== */
/* 画像未配置時にグレー枠で表示する。実画像配置後も object-fit: cover で機能する */
.ph_img {
  background-color: #C8C8C8;
  overflow: hidden;
  position: relative;
}

.ph_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* ===== TAGS ===== */
.tag_list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid var(--orange);
  background: var(--white);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 400;
}

.tag_blue {
  border-color: var(--blue);
}

.tag_dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.tag_dot_blue {
  background: var(--blue);
}

/* site_header 削除済み: ONB.js (.header_bg/.header_wrap/.header_logo/.header_pr) に置き換え */

/* ===== HERO ===== */
.hero {
  background-color: var(--orange);
  background-image: url(bg_noise_hero.jpg);
  background-repeat: repeat;
  position: relative;
  overflow: hidden;
}

.hero_bg_logos {
  position: absolute;
  inset: 0;
  background-image: url(bg_logos.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

.hero_inner {
  position: relative;
  max-width: var(--container_pc);
  margin: 0 auto;
  padding: 80px 0 64px;
  z-index: 1;
}

/* FPT ロゴオーバーレイ：hero の右上に absolute 配置 */
.sticky_header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px 40px;
  pointer-events: none;
  z-index: 10;
}

.fpt_logo_white {
  width: 72px;
  height: 44px;
  pointer-events: auto;
  display: block;
}

.fpt_logo_white_ph {
  width: 72px;
  height: 44px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* hero_head: title_container と tags の縦並び（gap 24px） */
.hero_head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

/* hero 内：日付・タイトル・サブタイトルの縦並び（gap 16px） */
.hero_title_container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero_date {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  margin: 0;
}

.hero_title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
}

.hero_subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  color: var(--white);
  margin: 0;
}

.hero_image {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1000 / 528;
  position: relative;
}

/* ===== ARTICLE ===== */
.article_body {
  background: var(--white);
  padding: 64px 0;
}

.article_section {
  max-width: var(--container_pc);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.article_lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  color: var(--orange);
  margin: 0;
}

/* article block 共通 */
.article_block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* article_head: 2カラムフレックス（PC: 横並び、SP: 縦積み） */
.article_head {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

/* article_text: フレックス内テキストカラム（card_profile と並ぶ側） */
.article_text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* h2 + 下線セット */
.article_h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}

.article_h2_line {
  border: none;
  border-top: 1px dashed #ED6C00;
  margin: 0;
}

/* 本文 p グループ */
.article_p {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: var(--text);
}

.article_p p + p {
  margin-top: 24px;
}

/* block01: テキストのみ（2カラムなし） */
.article_block01 {
  gap: 40px;
}

/* block02: PC = article_text 左 / card_profile 右（北尾氏を右に）
   DOM 順: article_text 先 → 右に card_profile のまま、order リセット */
/* block02: card_profile を右に（order なし = DOM 順通り） */

/* block03: PC = card_profile 左 / article_text 右（ビン氏を左に）
   DOM 順: article_text 先、card_profile 後 → order:-1 で左に */
.article_block03 .card_profile {
  order: -1;
}


/* block04: article_text フル幅 + 画像グリッド */
.article_block04 .article_text {
  flex: none;
  width: 100%;
}

/* block05: article_text フル幅 */
.article_block05 .article_text {
  flex: none;
  width: 100%;
}

/* ===== CARD PROFILE ===== */
/* PC: 440px 固定幅（1000px コンテナ内で card 440 + gap 40 + text 520 = 1000） */
.card_profile {
  flex: 0 0 440px;
  width: 440px;
  max-width: 440px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
}

.profile_image {
  width: 100%;
  aspect-ratio: 4096 / 2731;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.profile_head {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile_position {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.profile_name {
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  color: var(--text);
  margin: 0;
}

.profile_line {
  border: none;
  border-top: 1px dashed #ED6C00;
  margin: 0;
}

.profile_desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* ===== ARTICLE IMAGE GRID (2x2) ===== */
.article_image_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.article_image_grid_item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 492 / 280;
  position: relative;
}

/* ===== RELATED ===== */
/* 関連記事セクション（一旦非表示。表示する場合は display:none を削除） */
.related {
  display: none;
  background-color: var(--orange_dark);
  background-image: url(bg_noise_related.jpg);
  background-repeat: repeat;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.related_bg_logos {
  position: absolute;
  inset: 0;
  background-image: url(bg_logos.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

.related_inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  z-index: 1;
}

.related_heading {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.related_h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
}

.related_decoration {
  display: flex;
  gap: 12px;
  align-items: center;
}

.related_dot {
  width: 6px;
  height: 10px;
  border-radius: 4px 0 4px 0;
  display: inline-block;
}

.related_dot_blue {
  background: var(--blue);
}

.related_dot_orange {
  background: var(--orange);
}

.related_dot_green {
  background: var(--green);
}

/* 関連記事カードリスト */
.card_list {
  display: flex;
  gap: 24px;
}

.card {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card_image {
  aspect-ratio: 336 / 200;
  overflow: hidden;
  position: relative;
  margin: 24px 24px 0;
  border-radius: 4px;
}

.card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.card_body {
  padding: 16px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.card_date {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 4px;
}

.card_title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 4px;
}

.card_desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
}

.card_body .card_tag_list {
  margin-top: auto;
}

/* 関連記事カード専用タグ（hero の .tag には影響しない） */
.card_tag_list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card_tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
  border-radius: 40px;
  border: 1px solid var(--orange);
  background: var(--white);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 400;
}

.card_tag_blue {
  border-color: var(--blue);
}

.card_tag_dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.card_tag_dot_blue {
  background: var(--blue);
}

/* 一覧へ戻るボタン */
.related_btn_wrap {
  text-align: center;
  margin: 40px 0 80px;
}

.related_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 192px;
  height: 64px;
  padding: 16px 40px;
  box-sizing: border-box;
  border: none;
  border-radius: 80px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  background: #222222;
  cursor: pointer;
}

.related_btn_arrow {
  display: block;
  width: 24px;
  height: 25px;
  flex-shrink: 0;
}

/* ===== LOGO FOOTER ===== */
.logo_footer {
  position: relative;
  z-index: 10;
  background: var(--bg_gray);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.logo_footer_nb {
  display: flex;
  align-items: center;
}

.logo_footer_nb img {
  width: 413px;
  height: 65px;
  object-fit: contain;
  display: block;
  max-width: none;
}

.logo_footer_nb_ph {
  width: 413px;
  height: 65px;
  background: #CCCCCC;
  border-radius: 4px;
}

.logo_footer_fpt {
  display: flex;
  align-items: center;
}

.logo_footer_fpt img {
  width: 108px;
  height: 65px;
  object-fit: contain;
  display: block;
  max-width: none;
}

.logo_footer_fpt_ph {
  width: 108px;
  height: 65px;
  background: #CCCCCC;
  border-radius: 4px;
}

/* site_footer 削除済み: footer/ONB.js (.localFooter) に置き換え */

/* ========================================
   SP (@media max-width: 767px)
   Figma 基準: フレーム 440px / コンテンツ幅 400px / 左右 20px 余白
   ======================================== */
@media (max-width: 767px) {

  /* ------------------------------------------------
     GLOBAL: セマンティック要素の横はみ出し防止
     div は各コンテナ（.hero_inner / .article_section 等）に個別ルールを設定済み
  ------------------------------------------------ */
  html,
  body {
    overflow-x: clip; /* hidden はposition:stickyを破壊するためclipを使用 */
  }

  body,
  main,
  section,
  article,
  header,
  footer {
    max-width: 100%;
  }

  /* ------------------------------------------------
     HERO
     Figma SP: hero height ≈ 702px
  ------------------------------------------------ */
  .hero {
    overflow: hidden;
  }


  /* hero コンテンツ幅: 400px (左右 20px padding) */
  .hero_inner {
    width: 100%;
    max-width: 100%;
    padding: 64px 20px 48px;
    box-sizing: border-box;
  }

  /* FPT ロゴ sticky: 61px 高、右 24px */
  .sticky_header {
    height: 61px;
    padding: 16px 24px;
  }

  .fpt_logo_white {
    width: 48px;
    height: 29px;
  }

  .fpt_logo_white_ph {
    width: 48px;
    height: 29px;
  }

  /* タイトル: 48px → 24px (SP 基準) */
  .hero_title {
    font-size: 24px;
    line-height: 1.4;
  }

  /* サブタイトル: 18px → 14px */
  .hero_subtitle {
    font-size: 14px;
    line-height: 1.8;
  }

  /* ヒーロー画像: Figma SP 400×211px */
  .hero_image {
    width: 100%;
    aspect-ratio: 400 / 211;
  }

  /* ------------------------------------------------
     ARTICLE 本文エリア
     Figma SP: section container 幅 400px (left: 20px)
  ------------------------------------------------ */
  .article_body {
    padding: 64px 0;
  }

  /* article_section: 左右 20px padding で 400px コンテンツ幅を確保 */
  .article_section {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    gap: 80px;
    box-sizing: border-box;
  }

  /* リード文 */
  .article_lead {
    font-size: 18px;
    line-height: 2;
  }

  /* 各ブロック: フル幅 */
  .article_block {
    width: 100%;
    gap: 40px;
  }

  /* article_head: PC 横 2 列 → SP 縦積み */
  .article_head {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
  }

  /* article_text: フル幅 */
  .article_text {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  /* h2 見出し (SP でも同サイズ) */
  .article_h2 {
    font-size: 24px;
    line-height: 1.4;
  }

  /* 本文段落 */
  .article_p {
    font-size: 16px;
    line-height: 2;
  }

  /* ------------------------------------------------
     CARD PROFILE
     Figma SP: card 幅 400px, padding 16px
  ------------------------------------------------ */
  .card_profile {
    flex: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* SP: block02・03 ともに article_text → card_profile の縦積み（order リセット） */
  .article_block02 .card_profile,
  .article_block03 .card_profile {
    order: 0;
  }

  /* プロフィール写真: フル幅 */
  .profile_image {
    width: 100%;
  }

  /* block04 / block05: article_text はフル幅 */
  .article_block04 .article_text,
  .article_block05 .article_text {
    width: 100%;
  }

  /* ------------------------------------------------
     ARTICLE IMAGE GRID
     Figma SP: 1列×4枚、各 400×280px
  ------------------------------------------------ */
  .article_image_grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .article_image_grid_item {
    aspect-ratio: 400 / 280;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* ------------------------------------------------
     RELATED セクション
     Figma SP: related_inner padding 左右 24px → カード幅 392px
  ------------------------------------------------ */
  .related {
    padding: 80px 0;
  }


  .related_inner {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .related_heading {
    margin-bottom: 40px;
  }

  /* カードリスト: PC 3列 → SP 1列縦積み */
  .card_list {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  /* カード: フル幅（392px） */
  .card {
    flex: none;
    width: 100%;
    box-sizing: border-box;
  }

  /* カード内画像: margin 24px × 2 → 実幅 344px (392-48) */
  .card_image {
    aspect-ratio: 344 / 200;
  }

  /* ------------------------------------------------
     LOGO FOOTER SP: コンパクト化
  ------------------------------------------------ */
  .logo_footer {
    flex-direction: column;
    gap: 24px;
    padding: 48px 24px;
  }

  .logo_footer_nb img {
    width: 320px;
    height: auto;
  }

  /* FPTロゴ: SVGがpreserveAspectRatio="none"のため幅・高さ両方を明示
     viewBox 162.22×100.41 → 108px幅の正確な高さ = 67px */
  .logo_footer_fpt img {
    width: 108px;
    height: 67px;
    object-fit: fill;
  }

  .logo_footer_nb_ph {
    width: 320px;
    height: 50px;
  }

}

/* ========================================
   TOP PAGE STYLES
   ======================================== */

/* ===== MV: 1440×840px キャンバス方式 ===== */
/* Figma 1440×840px 座標をキャンバス内にそのまま配置し、
   transform: scale() でブラウザ幅に比例縮小する */

.mv {
  background-color: var(--orange);
  background-image: url(bg_noise_hero.jpg);
  background-repeat: repeat;
  position: sticky;
  top: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  height: 840px;
  min-height: 0;
}

.mv_bg_logos {
  position: absolute;
  inset: 0;
  background-image: url(bg_logos.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

/* 1440×840px 固定キャンバス。中央基点で scale() */
.mv_inner {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 840px;
  transform-origin: top center;
  transform: translateX(-50%);
}

/* FPT ロゴ: Figma x=1328, y=24, 72×44px */
.mv_fpt_header {
  position: absolute;
  left: 1328px;
  top: 24px;
  z-index: 10;
}

/* テキストエリア: Figma座標の絶対配置コンテナ */
.mv_text {
  position: absolute;
  left: 0;
  top: 0;
  width: 640px;
  height: 840px;
  z-index: 3;
}

/* 日本語サブコピー + Scroll Down グループ：位置はここで管理 */
.mv_sub_group {
  position: absolute;
  left: 64px;
  top: 514px;
}

/* 日本語サブコピー：グループ内でstatic */
.mv_sub_title {
  position: static;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.24);
  margin: 0;
}

/* h1.mv_title_text: visually hidden（アクセシビリティ用） */
.mv_title_text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* PC タイトル SVG: viewBox 1380×324 / Figma y=80 */
.mv_title_visual {
  position: absolute;
  left: 24px;
  top: 80px;
  width: 1380px;
  height: auto;
  display: block;
  pointer-events: none;
}

.mv_title_visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* 英語タイトル：MV上部に配置（1行SVG 620×47px） */
.mv_en {
  position: absolute;
  left: 64px;
  top: 36px;
  width: 620px;
  height: auto;
  display: block;
}

.mv_en_img {
  display: block;
  width: 100%;
  height: auto;
}

/* Scroll Down：グループ内でstatic・幅はグループに従う */
.mv_scroll {
  position: static;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.3s ease;
}


.mv_scroll_text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.24);
}

/* chevronアイコン：上下アニメーション対象（回転は::afterで行い、translateYを正しく縦方向に効かせる） */
.mv_scroll_arrow {
  display: block;
  position: relative;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  align-self: center;
  margin-left: 4px;
  margin-top: -7px;
  animation: scroll_arrow_move 1.4s ease-in-out infinite;
}

.mv_scroll_arrow::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-right: 1.5px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.24));
}

@keyframes scroll_arrow_move {
  0%,
  100% { transform: translateY(0); }
  50%  { transform: translateY(6px); }
}

/* 画像エリア: Figma x=234, y=16, w=1214, h=689 */
/* 画像エリア: Figma x=234, y=16, w=1214, h=689 */
.mv_image_area {
  position: absolute;
  left: 234px;
  top: 16px;
  width: 1214px;
  height: 689px;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
}

/* スライド画像: 重ね配置 → CSS animation でフェード切り替え
   サイクル 12s / フェード 1s / 表示 3s / delay 各4s ずつ */
.mv_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: mv_fade 12s infinite;
}

.mv_slide01 { animation-delay: 0s; }
.mv_slide02 { animation-delay: 4s; }
.mv_slide03 { animation-delay: 8s; }

@keyframes mv_fade {
  0%     { opacity: 0; }
  8.33%  { opacity: 1; }   /* 1s: フェードイン完了 */
  33.33% { opacity: 1; }   /* 4s: 表示維持 */
  41.67% { opacity: 0; }   /* 5s: フェードアウト完了 */
  100%   { opacity: 0; }   /* 12s: 非表示のまま次サイクルへ */
}

/* ================================================
   MV 表示アニメーション
   opacity / transform のみ使用。レイアウト値は一切変更しない。
   animation-fill-mode: both で delay 中も from 状態を維持。
   opening 終了後に body.is_mv_ready が付与されてから発火する。
   ================================================ */

/* テキスト系: フェードアップ */
@keyframes mv_enter_up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ロゴ・ヘッダー系: フェードのみ */
@keyframes mv_enter_fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 初期状態: opening 表示中は MV 要素を非表示にしておく */
.mv_fpt_header,
.mv_bg_logos,
.mv_image_area,
.mv_sub_title,
.mv_title_visual,
.mv_en,
.mv_scroll,
.pickup {
  opacity: 0;
}

/* ============================================================
   MV 表示アニメーション（opening終了後 body.is_mv_ready 付与で発火）
   Figma opening05〜09 の出現順に対応:
     opening05: 純オレンジ（ワイプ完了〜JS発火まで約1秒 → CSS不要）
     opening06: ヘッダー + FPTロゴ（0s〜0.15s）
     opening07: FPTロゴパターン（0.3s）
     opening08: メインタイトル + 写真（1.0s〜1.2s）
     opening09: サブコピー〜PICK UP（1.7s〜2.3s）
   opening フェードアウト: 0.7s → 完了後 0.3s で opening08 タイトルが出始める
============================================================ */

/* opening06: FPTロゴ（ONB.js ヘッダーはアニメーション対象外） */
body.is_mv_ready .mv_fpt_header {
  animation: mv_enter_fade 0.5s ease-out both;
  animation-delay: 0.15s;
}

/* opening07: FPTロゴウォーターマーク背景（opacity only） */
body.is_mv_ready .mv_bg_logos {
  animation: mv_enter_fade 0.5s ease-out both;
  animation-delay: 0.3s;
}

/* opening08: メインタイトル（opening フェード完了 0.7s + 0.3s の余白後） */
body.is_mv_ready .mv_title_visual {
  animation: mv_enter_up 0.7s ease-out both;
  animation-delay: 1.0s;
}

/* opening08: 写真エリア（opacity onlyでtransformを上書きしない） */
body.is_mv_ready .mv_image_area {
  animation: mv_enter_fade 0.6s ease-out both;
  animation-delay: 1.2s;
}

/* opening09: サブコピー / Bringing Energy / Scroll Down / PICK UP */
body.is_mv_ready .mv_sub_title {
  animation: mv_enter_up 0.6s ease-out both;
  animation-delay: 1.7s;
}

body.is_mv_ready .mv_en {
  animation: mv_enter_up 0.6s ease-out both;
  animation-delay: 1.9s;
}

body.is_mv_ready .mv_scroll {
  animation: mv_enter_up 0.6s ease-out both;
  animation-delay: 2.1s;
}

body.is_mv_ready .pickup {
  animation: mv_enter_up 0.6s ease-out both;
  animation-delay: 2.3s;
}

/* アニメーション軽減: 1枚目のみ静止表示 + 入場アニメーション無効化 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mv_slide { animation: none; opacity: 0; }
  .mv_slide01 { opacity: 1; }

  /* opacity のみリセット（transform アニメーションなし要素を含む） */
  .mv_fpt_header,
  .mv_bg_logos,
  .mv_image_area,
  .mv_sub_title,
  .mv_title_visual,
  .mv_en,
  .mv_scroll,
  .pickup {
    opacity: 1 !important;
    animation: none !important;
  }

  /* chevronアニメーション無効化 */
  .mv_scroll_arrow {
    animation: none;
  }

  /* translateY アニメーション対象のみ transform もリセット（mv_image_area は除外） */
  .mv_sub_title,
  .mv_title_visual,
  .mv_en,
  .mv_scroll,
  .pickup {
    transform: none !important;
  }
}

/* ===== PICK UP（カルーセル） ===== */
/* Figma: x=1040, y=573, w=400 / top 570, w 360 に調整 */
.pickup {
  position: absolute;
  left: 1040px;
  top: 570px;
  z-index: 5;
  width: 360px;
  padding: 0;
  background: transparent;
}

/* タイトル行: "PICK UP ..." と ＜＞ボタンを横並び */
.pickup_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pickup_title_wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pickup_title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.pickup_deco {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pickup_dot {
  width: 6px;
  height: 10px;
  border-radius: 4px 0 4px 0;
  display: inline-block;
  flex-shrink: 0;
}

.pickup_dot_blue   { background: var(--blue); }
.pickup_dot_orange { background: var(--orange); }
.pickup_dot_green  { background: var(--green); }

/* ＜＞ナビゲーションボタン */
.pickup_nav {
  display: flex;
  gap: 24px;
}

.pickup_nav_btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.pickup_nav_btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.pickup_nav_btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* カルーセル表示枠
   calc(50vw - 320px) = vw - (vw/2-720+1040) = pickup左端から画面右端まで
   1440px: 400px / 1600px: 480px / 1920px: 640px */
.pickup_cards_viewport {
  width: max(400px, calc(50vw - 320px));
  overflow: hidden;
}

/* カード横並びトラック: bxSlider が管理 */
.pickup_cards_track {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* カード: bxSlider が li に slideWidth を設定するため width: 100% で追従 */
.pickup_card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-decoration: none;
}

.pickup_card_title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
}

.pickup_card_image {
  width: 100%;
  height: 147px;
  border-radius: 4px;
  flex-shrink: 0;
  background: #fff;
}

.pickup_card_image img {
  transition: opacity 0.3s ease;
}

/* bxSlider スライドアイテム */
.pickup_slide {
  margin: 0;
  padding: 0;
}

/* ===== bxSlider デフォルトスタイル打ち消し ===== */
/* bxSlider が生成する .bx-wrapper / .bx-viewport の枠線・影・マージンを除去 */
.pickup .bx-wrapper {
  margin: 0 !important;
  border: 0;
  box-shadow: none;
  background: transparent;
  max-width: 100% !important;
}
/* .bx-viewport の白枠・影・left offset・overflow をすべて打ち消す */
.pickup .bx-wrapper .bx-viewport {
  border: 0;
  box-shadow: none;
  left: 0;
  background: transparent;
  overflow: visible !important;
}

/* ===== TOP ARTICLE ===== */
.top_article {
  background-color: var(--orange_dark);
  background-image: url(bg_noise_related.jpg);
  background-repeat: repeat;
  position: relative;
  z-index: 10;
}

/* section01 */
.top_section01 {
  position: relative;
  overflow: visible;
  padding: 180px 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.top_section01_en {
  position: absolute;
  left: 0px;
  top: 80px;
  width: 266px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.top_section01_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 1;
}

.top_lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 2.2;
  color: var(--white);
  letter-spacing: 0.04em;
  margin: 0;
}

/* 画像内に左右各209px / 上下203-204pxの透明余白あり
   実体 1645px / canvas 2063px → 572px表示には 572×(2063/1645)≒717px が必要 */
.top_section01_logo {
  width: 100%;
}

.top_section01_logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* section02 */
.top_section02 {
  padding: 56px 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 動画 */
.video_wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.video_card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
}

/* ULIZA プレイヤー埋め込みコンテナ */
.video_embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}

.video_thumb_wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.video_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video_thumb_wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.video_play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 48px solid rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.video_title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
}

/* 区切り線: repeating-linear-gradient で Figma の点線に近づける */
.top_divider {
  border: none;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.65) 0,
    rgba(255, 255, 255, 0.65) 3px,
    transparent 3px,
    transparent 8px
  );
  margin: 56px 0 48px;
}

/* 記事カード3枚 */
.top_card_list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.top_card {
  flex: 1 0 300px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
}

.top_card_image {
  width: 100%;
  aspect-ratio: 411 / 205;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.top_card_image img {
  transition: opacity 0.3s ease;
}

.top_card_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.top_card_date {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  margin: 0;
}

.top_card_title {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: var(--white);
  margin: 0;
}

/* ========================================
   1440px以上: PC精細調整
   1439px以下の max-width メディアクエリには影響しない
   ======================================== */
@media (min-width: 1440px) {

  .mv_en {
    left: 44px;
  }

  .mv_sub_group {
    left: 44px;
    top: 564px;
  }

  .mv_sub_title {
    position: static;
  }

  .mv_scroll {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 20px;
  }

  .pickup {
    top: 520px;
  }

}

/* ========================================
   TOP PAGE 中間幅専用MV (1024px〜1439px)
   1440pxキャンバスscaleをやめ、viewport幅100%で要素を直接配置。
   重要要素を画面内セーフエリアに収めることを最優先。
   ======================================== */
@media (min-width: 1024px) and (max-width: 1439px) {

  .mv {
    height: 760px;
    min-height: 0;
    overflow: hidden;
  }

  /* viewport幅100%基準のコンテナ。scaleもtranslateXも使わない */
  .mv_inner {
    position: relative;
    left: auto;
    width: 100%;
    height: 760px;
    transform: none;
  }

  /* mv_textをviewport全幅に拡張してタイトル等の親として機能させる */
  .mv_text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 760px;
  }

  /* FPTロゴ: 右上固定 */
  .mv_fpt_header {
    position: absolute;
    left: auto;
    right: 48px;
    top: 32px;
  }

  /* 英語タイトル：上部配置（1行SVG） */
  .mv_en {
    position: absolute;
    left: 48px;
    top: 54px;
    width: 35%;
    max-width: none;
    margin: 0;
  }

  /* メインタイトルSVG */
  .mv_title_visual {
    position: absolute;
    left: 36px;
    top: 104px;
    width: min(100%, calc(100vw - 96px));
    max-width: none;
    margin: 0;
  }

  /* 写真: 右側配置 */
  .mv_image_area {
    position: absolute;
    left: auto;
    right: 24px;
    top: 8%;
    width: min(1160px, 80vw);
    height: auto;
    aspect-ratio: 1214 / 689;
    transform: none;
  }

  /* サブコピー＋Scrollグループ：位置はグループで管理 */
  .mv_sub_group {
    position: absolute;
    left: 48px;
    top: 485px;
  }

  /* サブコピー：グループ内でstatic */
  .mv_sub_title {
    position: static;
    left: auto;
    top: auto;
    font-size: 22px;
    line-height: 1.6;
    white-space: normal;
  }

  /* Scroll Down：グループ内でstatic */
  .mv_scroll {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    margin: 12px 0 0 0;
  }

  /* PICK UP: 右側配置 */
  .pickup {
    position: absolute;
    left: auto;
    right: 72px;
    top: 60%;
    bottom: auto;
    height: auto;
    width: 360px;
  }

  /* カードビューポート: PICK UPコンテナ内に収める */
  .pickup_cards_viewport {
    width: 380px;
    overflow: hidden;
  }

  .pickup_nav {
    right: 0;
  }

}

/* 1025px〜1439px: pickup_cards_viewport を 480px に上書き（1024pxは除外） */
@media (min-width: 1025px) and (max-width: 1439px) {

  .pickup_cards_viewport {
    width: 480px;
  }

}

/* ========================================
   MV 1439px以下共通調整
   1440px以上のPC基本スタイルには影響しない
   ======================================== */
@media (max-width: 1439px) {

  .mv_en_img {
    width: 100%;
  }

  .mv_sub_title {
    font-size: 42px;
  }

  .mv_scroll {
    width: 100%;
  }

}

/* ========================================
   動画セクション 中間幅 (768px〜1199px)
   1カラム中央揃えに切り替え
   ======================================== */
@media (min-width: 768px) and (max-width: 1199px) {

  .video_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 760px;
    margin: 0 auto;
  }

  .video_card {
    width: 100%;
    max-width: 720px;
  }

  .video_thumb_wrap,
  .video_embed {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

}

/* ========================================
   TOP PAGE タブレット SP寄り (768px〜1023px)
   SP layout を基準に幅広に調整
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {

  .mv_en_img {
    width: 100%;
  }

  /* MV */
  .mv {
    height: 90vh;
    overflow: hidden;
    padding-bottom: 0;
  }

  .mv_inner {
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    display: block;
    padding: 0;
    box-sizing: border-box;
  }

  .mv_fpt_header {
    position: absolute;
    left: auto;
    right: 20px;
    top: 16px;
    z-index: 10;
  }

  .mv_fpt_header .fpt_logo_white {
    width: 56px;
    height: 34px;
  }

  .mv_text {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 80px 0 240px;
    box-sizing: border-box;
    z-index: 3;
    gap: 0;
    overflow: hidden;
  }

  /* 英語タイトル：上部absolute（sub_titleがあった位置へ） */
  .mv_en {
    position: absolute;
    left: 20px;
    top: 54px;
    width: calc(100% - 40px);
    max-width: 280px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .mv_title_text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .mv_title_visual {
    position: static;
    margin: 0 10px;
    width: calc(111vw - 20px);
    max-width: none;
    height: auto;
    display: block;
    flex-shrink: 0;
    order: 1;
  }

  /* サブコピー＋Scrollグループ：flex order はグループで管理 */
  .mv_sub_group {
    order: 2;
    align-self: flex-start;
    margin: 30px 0 0 20px;
    flex-shrink: 0;
  }

  /* サブコピー：グループ内でstatic */
  .mv_sub_title {
    position: static;
    order: 0;
    left: auto;
    top: auto;
    font-size: 16px;
    font-weight: 500;
    white-space: normal;
    color: var(--white);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.24);
    margin: 0;
    z-index: 5;
  }

  .mv_scroll {
    position: static;
    order: 0;
    width: 100%;
    align-self: auto;
    margin-top: 12px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .mv_image_area {
    position: absolute;
    left: calc(50% - 37px);
    top: calc(50% - 94px);
    transform: translate(-50%, -50%);
    width: 136vw;
    height: auto;
    aspect-ratio: 1214 / 689;
    border-radius: 4px;
    overflow: hidden;
    z-index: 2;
  }

  .mv_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .pickup {
    position: absolute;
    left: auto;
    right: 0;
    top: 64%;
    bottom: auto;
    height: auto;
    padding: 8px 0 0;
    box-sizing: border-box;
    background: transparent;
    z-index: 5;
    width: 380px;
  }

  .pickup_title {
    font-size: 20px;
  }

  .pickup_head {
    margin: 0 0 8px;
  }

  .pickup_nav_btn {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .pickup_cards_viewport {
    width: 380px;
    overflow: hidden;
  }

  .pickup_cards {
    display: flex;
    gap: 16px;
  }

  .pickup_card_image {
    height: 90px;
  }

  .pickup_nav {
    right: 0;
  }

  /* section01: 1カラム */
  .top_section01 {
    padding: 80px 40px 60px;
    overflow-x: hidden; /* .top_section01_logo width:120% のはみ出しを抑制 */
  }

  .top_section01_en {
    width: 190px;
    left: -6px;
    top: 87px;
  }

  .top_section01_inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .top_lead {
    font-size: 20px;
    line-height: 2.6;
    font-weight: 400;
  }

  .top_lead br {
    display: none;
  }

  .top_section01_logo {
    width: 120%;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

}

/* ========================================
   MV 1023px以下: サブコピー位置調整
   768-1023px と SP 両方に適用。
   767px以下は下の SP ブロックで上書き。
   ======================================== */
@media (max-width: 1023px) {

  .mv_sub_group {
    align-self: flex-start;
    margin: 130px 0 0 -40px;
  }

  .mv_sub_title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
  }

  .mv_scroll {
    width: 100%;
  }

}

/* ========================================
   PICK UP カード拡大（768px以上共通）
   768-1023px ブロックの 180px を上書きする
   ======================================== */
@media (min-width: 768px) {

  .pickup_card_title {
    font-size: 18px;
  }

  .pickup_card_image {
    height: 180px;
  }

}

/* ========================================
   TOP PAGE SP (@media max-width: 767px)
   ======================================== */
@media (max-width: 767px) {

  /* ================================================
     MV SP: Figma SP レイアウトに合わせた再構成
     - 固定高さキャンバス方式
     - 写真はタイトル背面に absolute 重ね
     - Bringing Energy / Scroll を下部に押し下げ
     - PICK UP は absolute で下端に固定
     ================================================ */

  /* max-width: 1439px の影響を SP 向けに上書き */
  .mv_en_img {
    width: 100%;
  }

  /* MV背景ロゴ: SP向けに拡大表示 */
  .mv_bg_logos {
    background-size: 400% auto;
  }

  .mv_sub_title {
    font-size: 14px;
  }

  .mv {
    height: 90vh;
    overflow: hidden;
    padding-bottom: 0;
  }

  /* キャンバス: mv全面を相対配置コンテナに */
  .mv_inner {
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    display: block;
    padding: 0;
    box-sizing: border-box;
  }

  /* FPTロゴ: 右上固定 */
  .mv_fpt_header {
    position: absolute;
    left: auto;
    right: 16px;
    top: 16px;
    z-index: 10;
  }

  .mv_fpt_header .fpt_logo_white {
    width: 48px;
    height: 29px;
  }

  /* テキストオーバーレイ: キャンバス全面に展開
     flex column でタイトルを上部・Bringing Energyを下部に振り分ける
     width: 100% で PC の width: 640px を上書き */
  .mv_text {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 80px 0 240px; /* Bringing Energyをタイトルtop(80px)+260px=340pxに配置 */
    box-sizing: border-box;
    z-index: 3;
    gap: 0;
    overflow: hidden;
  }

  /* 英語タイトル：absolute で上部固定（旧sub_titleの位置へ） */
  .mv_en {
    position: absolute;
    left: 20px;
    top: 54px;
    width: calc(100% - 40px);
    max-width: 240px;
    margin-top: 0;
    flex-shrink: 0;
  }

  /* h1: visually hidden 維持 */
  .mv_title_text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* タイトルSVG: 全幅・写真前面 (Figma同様に左端から右端まで) */
  /* SP タイトル: 左右10px余白 */
  .mv_title_visual {
    position: static;
    margin: 0 10px;
    width: calc(111vw - 20px);
    max-width: none;
    height: auto;
    display: block;
    flex-shrink: 0;
    order: 1;
  }

  /* サブコピー＋Scrollグループ：flex order はグループで管理 */
  .mv_sub_group {
    order: 2;
    align-self: flex-start;
    margin: -104px 0 0 -44px;
    flex-shrink: 0;
    top: 474px;
  }

  /* サブコピー：グループ内でstatic（font-size / margin は max-width:1023px ブロックを上書き） */
  .mv_sub_title {
    position: static;
    order: 0;
    left: auto;
    top: auto;
    font-size: 30px;
    font-weight: 700;
    white-space: normal;
    color: var(--white);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.24);
    margin: 0;
    z-index: 5;
  }

  /* Scroll Down: グループ内でstatic */
  .mv_scroll {
    position: static;
    order: 0;
    width: 100%;
    max-width: none;
    align-self: auto;
    margin-top: 12px;
    margin-left: 0;
    flex-shrink: 0;
  }

  /* 写真: タイトル背面に大きく重ねる (Figma座標: left=50%-37px, top=50%-109px) */
  .mv_image_area {
    position: absolute;
    left: calc(50% - 37px);
    top: calc(50% - 94px);
    transform: translate(-50%, -50%);
    width: 136vw;
    height: auto; /* PC の height: 689px を無効化して aspect-ratio を有効にする */
    aspect-ratio: 1214 / 689;
    border-radius: 4px;
    overflow: hidden;
    z-index: 2;
  }

  /* スライド: エリア全面に追従 */
  .mv_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* PICK UP: top:76% / height:183px でカード下端〜dark orange = 64px確保 */
  .pickup {
    position: absolute;
    left: 0;
    right: 0;
    top: 76%;
    bottom: auto;
    height: 183px;
    padding: 8px 0 0;
    box-sizing: border-box;
    background: transparent;
    z-index: 5;
    width: auto;
  }

  .pickup_title {
    font-size: 20px;
  }

  .pickup_head {
    margin: 0 20px 8px;
  }

  .pickup_nav_btn {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  /* SP: bxSlider の swipe で操作するため overflow は hidden に統一 */
  .pickup_cards_viewport {
    width: 100%;
    overflow: hidden;
  }

  .pickup_card {
    margin-left: 20px;
  }

  .pickup_card_image {
    height: 80px;
  }

  /* section01 */
  .top_section01 {
    padding: 118px 20px 60px;
    overflow: visible;
  }

  .top_section01_en {
    width: 190px;
    left: -6px;
    top: 87px;
  }

  .top_section01_inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .top_lead {
    font-size: 20px;
    line-height: 2.6;
    font-weight: 400;
  }

  .top_lead br {
    display: none;
  }

  .top_section01_logo {
    width: 120%;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  /* section02 */
  .top_section02 {
    padding: 60px 20px 60px;
  }

  .video_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
  }

  .video_card {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .video_thumb_wrap,
  .video_embed {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .video_title {
    font-size: 18px;
  }

  .top_divider {
    margin: 40px 0 32px;
  }

  .top_card_list {
    flex-direction: column;
    gap: 24px;
  }

  .top_card {
    flex: none;
    max-width: none;
    width: 100%;
  }

}

/* ============================================================
   OPENING
============================================================ */
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #5a5a5a;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.opening.is_hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening_frames {
  position: absolute;
  inset: 0;
}

.opening_frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

/* 4フレームを順番にクロスフェード（各1.0s、0.15sオーバーラップ） */
/* 総尺 ~3.8s → その後オレンジ/グレー背景が露出 → 4.5sでJS終了 */
.opening_frame_01 {
  animation: opening_frame_show 1.0s ease forwards;
  animation-delay: 0s;
}
.opening_frame_02 {
  animation: opening_frame_show 1.0s ease forwards;
  animation-delay: 0.85s;
}
.opening_frame_03 {
  animation: opening_frame_show 1.0s ease forwards;
  animation-delay: 1.7s;
}
.opening_frame_04 {
  animation: opening_frame_show_last 1.0s ease forwards;
  animation-delay: 2.55s;
}

@keyframes opening_frame_show {
  0%   { opacity: 0; }
  10%  { opacity: 0.6; }
  70%  { opacity: 0.6; }
  100% { opacity: 0; }
}

/* 最終フレームはフェードアウトせず、opening自体のフェードで切り替える */
@keyframes opening_frame_show_last {
  0%   { opacity: 0; }
  10%  { opacity: 0.6; }
  100% { opacity: 0.6; }
}

/* opening04 → opening05：左からオレンジが伸びるワイプ */
/* opening04 が完全表示（2.65s）から 0.35s 後に開始 */
/* 完了（3.5s）から JS 発火（4.5s）まで 1.0s 純オレンジが続く = opening05 状態 */
.opening_orange_wipe {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #ed6c00;
  transform: scaleX(0);
  transform-origin: left center;
  animation: opening_orange_wipe 0.6s ease-in-out forwards;
  animation-delay: 3.3s;
}

@keyframes opening_orange_wipe {
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .opening {
    transition: none;
  }

  .opening_frame_01 {
    animation: none;
    opacity: 0.6;
  }

  .opening_frame_02,
  .opening_frame_03,
  .opening_frame_04 {
    animation: none;
    opacity: 0;
  }

  .opening_orange_wipe {
    animation: none;
    transform: scaleX(0); /* reduced-motion では即時表示しない */
  }
}
