@charset "utf-8";

* {
  padding: 0;
  margin: 0;
}

html {
  visibility: hidden;
}
html.wf-active,
html.loading-delay {
  visibility: visible;
}

html {
  height: 100%;
  font-size: 20px;
}

body {
  word-wrap: break-word;
  height: 100%;
  font-family: vdl-logomaru, sans-serif;
  font-style: normal;
  font-weight: 400;
}

section,
article {
  display: block;
}

img {
  vertical-align: top;
}

h1 {
  font-size: 0;
}

a img {
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  -webkit-transition: 0.2s linear;
  -moz-transition: 0.2s linear;
  transition: 0.2s linear;
}

a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
}

li {
  list-style-type: none;
}

a {
  color: #0066cc;
  -webkit-transition: 0.2s linear;
  -moz-transition: 0.2s linear;
  transition: 0.2s linear;
  text-decoration: none;
}

a:hover {
  color: #0099cc;
  text-decoration: none;
}

footer {
  background-color: #ffffff;
  font-size: 0.6rem;
}

/* fadeUp */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger {
  opacity: 0;
}

/*　トップページ*/
.top_title {
  background-image: url(../img/back_img.png);
}

.info_02 {
  line-height: 60px;
  font-size: 1.5rem;
}

.info_03 {
  line-height: 80px;
  font-size: 1.6rem;
  color: rgb(0, 81, 255);
}

/* ショート　*/
/* --- 動画カード（サムネイル）のデザイン --- */
.video-card {
  max-width: 200px; /* サムネイルの横幅 */
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: scale(1.05);
}

.thumbnail-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  aspect-ratio: 9 / 16; /* サムネイルも縦長に */
  background: #000;
}

.thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦長枠に画像をフィットさせる */
}

/* 中央の再生ボタン（さっきのデザイン） */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 50px;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* --- モーダル（ポップアップ）のデザイン --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  /* レスポンシブ設定：画面の高さ90%を基準に大きく表示 */
  height: 90vh;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* スマホなど画面が細長い場合の微調整 */
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    height: auto;
  }
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 閉じるボタン（右上の×） */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  z-index: 101;
  background: rgba(0, 0, 0, 0.4);
  width: 45px;
  height: 45px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
}

/*　フッター　*/
.footer_p {
  font-size: 0.4rem;
}

#page_top {
  width: 50px;
  height: 50px;
  background: #00abeb;
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f102";
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 35px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

footer {
  border-bottom: solid #00abeb 10px;
}

.cp {
  font-size: 0.7rem;
}
