* {margin:0; padding:0;}

body {width: 100%; margin:0; padding:0; font-size:18px; line-height:1.4; background-image: url("drone-img/backimage002.webp");background-size: cover;font-family:ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic ProN,"Trebuchet MS", Verdana, sans-serif;}

/* 一般タグの設定 */
table {width:100%; border-collapse:collapse;}
table td {vertical-align:top;}
th { background:url(header.gif) repeat-x bottom left; color:#000; padding:3px; vertical-align:middle;}
th a, th a b {color:#ffcc00; text-decoration:none;}

h1,h2,h3,h4,h5,p,b,i,u,form {margin:0.5em 0;}
h1 {
  color: #000;
  text-align:center;
  width:90%;
  text-shadow: 1px 2px 3px #8c8c8c;
  font-size: 40px;
  font-weight: lighter;
  margin: 0px auto;
}

#content{
  width: 100%;
  max-width: 600px;
  margin: 0px auto;
}
.overview{
 width: 100%;
 max-width: 600px;
 margin: 10px auto;
}
.overview p {
  font-size: 10px;
  color: #949495;
  padding: 10px;
}
.font-xs{
  font-size: 10px;
  text-align: center;
}
.white {
  color: #fff;
  text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.64);
}
/* PC向けの基本設定 (デフォルト) */
.text-container {
  font-size: 40px;
  margin: 0px auto;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

/* 色の指定 */
.dark-green {
  color: #4e454a; /* 濃い緑 (DarkGreen) */
  font-size: 12px;
  font-weight: bold; /* 視認性のために太字にしています */
}

.normal-green {
  color: #00ff00; /* 普通の緑 (Green) */
}

/* スマホ向けの指定 (画面幅が768px以下のとき) */
@media (max-width: 768px) {
  .text-container {font-size: 34px;}
  .dark-green {font-size: 10px;
}
}
.DJI-RC{
  width: 100%;
  /* max-width: 200px; 20260310まで*/
  max-width: 180px; 
}
.dji-video{
  width: 100%;
  max-width: 600px;
}
.DJI-MOVIE{
  width: auto;
  max-width: 600px;
  margin: 0px auto;
}
video {
  width: 600px;
}
@media screen and (max-width: 600px) {
  video {width:100%;}
}
.teaser{
  color: #dedede;
  font-size: 10px;
  margin-bottom: -10px;
  margin-left: 5px;
}
.teaser-pr{
  color: #FFF; /* 文字色を白に設定 */
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  /* 縁取り（影）を #404040 に変更 */
  text-shadow: 
     1px  1px 0 #000,
    -1px  1px 0 #000,
     1px -1px 0 #000,
    -1px -1px 0 #000,
     0px  1px 0 #000,
     0px -1px 0 #000,
     1px  0px 0 #000,
    -1px  0px 0 #000;
}
.dji-pr {
  color: #FFF; /* 文字色を白に設定 */
  min-height: 2.8em;
  font-weight: bold;
  text-align: center;
  /* 縁取り（影）を #404040 に変更 */
  text-shadow: 
     2px  2px 0 #000,
    -2px  2px 0 #000,
     2px -2px 0 #000,
    -2px -2px 0 #000,
     0px  2px 0 #000,
     0px -2px 0 #000,
     2px  0px 0 #000,
    -2px  0px 0 #000;
}
/* ボタンのコンテナ */
.unmute-container {
  width: 100%;
  max-width: 600px; /* 動画の最大幅に合わせる */
  margin: 0px auto; /* 上に少し余白、左右は中央（動画と合わせる） */
  text-align: right;  /* 中のボタンを右に寄せる */
}

/* カスタムボタンのスタイル（既存の.button aに寄せています） */
.custom-button {
  background: #333;
  color: #fff;
  border: none;
  padding: 5px 15px;
  font-size: 10px;
  font-weight: 200;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
  margin-bottom: -60px;
}

.custom-button:hover {
  background: #404040;
  transform: scale(1.05); /* 少し大きくしてクリック感を出す */
}
.button a {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    text-decoration: none;
    display: block;
    max-width: 250px;
    background: #333;
    margin: auto;
    padding: 10px 30px;
    font-family: "Noto Sans Japanese";
    text-align: center;
    line-height: 1.8;
    text-decoration: none;
    font-weight: 500;
    outline: none;
    color: #fff;
    transition: ease .2s;
    border-radius: 30px;
}
.button a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
  transform: skewX(-25deg);
}

.button a:hover::before {
  animation: shine 0.7s;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}
@media screen and (max-width: 480px) {
  h1 {font-size: 34px;font-weight: normal;}
  .coming{font-size: 34px;font-weight: normal;color: #00ff3c;width:90%;text-shadow: 1px 2px 3px #8c8c8c;margin: 0px auto;}
  .custom-button {margin-bottom: 0px;}
}

/* Start 銀河鉄道999メーテル追悼 */
/* 全体のコンテナ設定 */
.custom-video-container {
  display: flex;
  width: 600px;
  max-width: 100%; /* 画面幅が狭い時の保険 */
  margin: 0 auto;
  border: 1px solid #ccc;
  overflow: hidden;
  background: #fff;
}

/* 動画エリア (PC: 250px) */
.video-side {
  width: 250px;
  cursor: pointer;
  background: #000;
  display: flex;
  align-items: center;
}

.video-wrapper {
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9のアスペクト比 */
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキストエリア (PC: 350px) */
.text-side {
  width: 350px;
  padding: 15px;
  box-sizing: border-box;
}

.video-title {
  display: flex;
  font-size: 18px;
  margin-top: 0;
  font-weight: bold;
  align-items: baseline; /* テキストの下端を揃える */
}
.video-date {
  font-size: 0.8rem;    /* タイトルより小さく */
  font-weight: normal;  /* 細めの字に */
  color: #777;
  margin-left: auto;
  padding-right: 5px;
}
.video-description{
  font-size: 14px;
}

/* スマホ表示 (768px以下を想定) */
@media (max-width: 768px) {
  .custom-video-container {
    flex-direction: column; /* 縦並び */
    width: 100%;
  }

  .video-side, 
  .text-side {
    width: 100%; /* 幅をいっぱいに */
  }
}

/* モーダルの基本スタイル（既存のものがあれば調整してください） */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
}
.modal-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 800px;
  margin: auto;
}
#modalVideo {
  width: 100%;
  height: auto;
}
.mvclose {
  position: absolute;
  top: -30px;
  right: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
/* END 銀河鉄道999メーテル追悼 */

/* START DJI DRONE HARD COREバナー画像 */
/* 通常時の設定 */
.ddhcimg {
  cursor: pointer; /* クリックできることが伝わるように指マークにする */
  transition: opacity 0.3s ease; /* 0.3秒かけてふわっと変化させる */
  max-width: 100%;  /* 親要素の幅を超えないようにする */
  height: auto;     /* 縦横比を維持する */
  display: block;   /* 下に余計な隙間が出ないようにする */
  position: relative;
    z-index: 10 !important; /* 強制的に最前面へ */
    pointer-events: auto;    /* クリックなどを有効にする場合 */
}

.video-ddhc {
  width: 100%;      /* 画面幅いっぱいに広げる場合 */
  max-width: 600px; /* 必要であれば最大サイズを制限（お好みで） */
  margin: 0 auto;   /* 中央寄せ */
}

.ddhc-pr {
  font-size: 12px;
  color: #FFF; /* 文字色を白に設定 */
  min-height: 2.8em;
  font-weight: bold;
  text-align: center;
  /* 縁取り（影）を #404040 に変更 */
  text-shadow: 
     1px  1px 0 #000,
    -1px  1px 0 #000,
     1px -1px 0 #000,
    -1px -1px 0 #000,
     0px  1px 0 #000,
     0px -1px 0 #000,
     1px  0px 0 #000,
    -1px  0px 0 #000;
}

.ddhc-pr p{
  padding: 0;
}
.ddhc-schedule {
  font-size: 14px;
  color: #000; /* 文字色を白に設定 */
  min-height: 2.8em;
  font-weight: bold;
  text-align: center;
  /* 縁取り（影）を #404040 に変更 */
  text-shadow: 
     2px  2px 0 #FFF,
    -2px  2px 0 #FFF,
     2px -2px 0 #FFF,
    -2px -2px 0 #FFF,
     0px  2px 0 #FFF,
     0px -2px 0 #FFF,
     2px  0px 0 #FFF,
    -2px  0px 0 #FFF;
}

.ddhc-schedule p{
  padding: 0;
}
/* 点滅アニメーションの設定 */
.blink-text {
  /* color-changeという名前のアニメーションを1秒間隔で無限に繰り返す */
  animation: color-change 2.5s linear infinite;
}

@keyframes color-change {
  0%, 100% {
    color: #000; /* 開始と終了は黒 */
  }
  50% {
    color: #FF0000; /* 真ん中でオレンジに変わる */
  }
}
/* END DJI DRONE HARD COREバナー画像 */

/* バナー画像アニメーション */
.gradient {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  position: relative;
  border-radius: 6px;
  box-sizing: border-box;
  color: white;
  display: block;
  z-index: 1 !important;
  overflow: hidden;
  padding: 3px;
}
.gradient span {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  font-size: 2rem;
  align-items: center;
  background: #000;
  border-radius: 3px;
  display: block;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
}
.gradient:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation: gradient-animate 3s ease-out infinite;
  background: linear-gradient(
    200deg,
    #CCC,
    #000,
    #CCC,
    #000,
    #CCC,
    #000
  );
  background-size: 50% 100%;
}

.gradient:hover:before {
  animation: gradient-animate 2.5s ease-out infinite;
}

@keyframes gradient-animate {
  to {
    transform: translateX(-50%);
  }
}

/* 1. 画像とボタンをまとめる親要素 */
.video-banner {
    position: relative; /* 子要素の「play-button」の位置基準にする */
    display: inline-block; /* 画像サイズに合わせる */
    overflow: hidden; /* はみ出し防止（角丸などをかける場合） */
    cursor: pointer; /* カーソルを指マークに */
    line-height: 0; /* 画像下の不要な余白を消す */
    position: relative;
    z-index: 20 !important;
}

/* 2. 画像自体の設定と、暗くなるアニメーション */
.banner-img {
    width: 100%; /* 親要素（div）に合わせる */
    height: auto;
    transition: filter 0.3s ease, transform 0.3s ease; /* スムーズに変化させる */
}

/* 3. 再生ボタン（通常時は非表示） */
.play-button {
    position: absolute;
    top: 50%; /* 親要素の真ん中へ */
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2); /* 真ん中に配置し、少し大きくしておく */
    width: 60px; /* ボタンのサイズ */
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6); /* ボタン自体の背景（半透明の黒） */
    border: 3px solid #fff; /* 白い枠線 */
    border-radius: 50%; /* 丸くする */
    opacity: 0; /* 通常時は透明 */
    visibility: hidden; /* 通常時は非表示（クリック無効化） */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 2; /* 画像より前面に */
}

/* 4. 再生ボタンの中の「▶」マーク（CSSの疑似要素で作る） */
.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%; /* 三角形を真ん中に見せるための微調整 */
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px; /* 三角形の形を作る */
    border-color: transparent transparent transparent #fff; /* 白い三角形 */
}

/* =========================================
   5. ホバー（マウスを乗せた時）のアクション
   ========================================= */

/* 親要素（.video-banner）がホバーされたら、中の画像（.banner-img）を暗くする */
.video-banner:hover .banner-img {
    filter: brightness(0.5); /* 明るさを50%に（暗くする） */
    /* オプション：少しズームさせる場合 */
    /* transform: scale(1.05); */
}

/* 親要素がホバーされたら、中の再生ボタン（.play-button）を表示する */
.video-banner:hover .play-button {
    opacity: 1; /* 透明度をなくす（表示） */
    visibility: visible; /* 表示（クリック有効化） */
    transform: translate(-50%, -50%) scale(1); /* 真ん中に配置し、サイズを元に戻す（ポンッと出るエフェクト） */
}