@charset "UTF-8";

html {
  /* スクロール全体をスムーズに */
  scroll-behavior: smooth;
}

/* ================================================================
   1) 背景動画ラッパー + オーバーレイ + フェード
================================================================ */
.works-video-background {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  overflow: hidden;
}
.works-video-background video {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
#bg-video {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

/* ================================================================
   2) TOPへ戻るボタン
================================================================ */
#scroll-top-btn {
  position: fixed;
  bottom: 40px; right: 30px;
  padding: 12px 18px;
  font-size: 18px;
  background-color: #E7F07B;
  color: #333;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1000;
}
#scroll-top-btn.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
#scroll-top-btn:not(.show) {
  transform: translateY(20px);
}

/* ================================================================
   3) 見出し（共通）
================================================================ */
.title { margin-bottom: 50px; }
.heading05 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 30px;
  font-size: 26px;
  text-align: center;
}
.heading05::before {
  content: attr(data-en);
  display: block;
  color: #E7F07B;
  font-size: 3rem;
  font-style: italic;
  text-transform: uppercase;
}
.heading05::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translate(-50%) rotate(30deg);
  width: 2px; height: 40px;
  background-color: #E7F07B;
}

/* ================================================================
   4) カテゴリーナビ
================================================================ */
.works-category-nav {
  text-align: center;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.works-category-nav button {
  background-color: #E7F07B;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.works-category-nav button:hover {
  background-color: #dce961;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ================================================================
   5) セクション外枠（共通）
================================================================ */
.works-area {
  margin: 100px;
  text-align: center;
  scroll-margin-top: 40vh; /* アンカー時の見やすさ */
}





/* ================================================================
   ❎共通タイトル部分
================================================================ */

.title{
	font-size: 2.5rem;
	color: #fff;
	font-weight: bold;
	text-align: center;
	font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}
/* ================================================================
   ❎印刷物（section-print）— Coming Soon
================================================================ */
.section-print .coming-soon {
  font-size: 1.5rem;
  color: #555;
  padding: 40px 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  width: 60%;
  margin: 0 auto;
}






/* ================================================================
   ❎ ホームページ（section-homepage + works-homepage）
================================================================ */
.works-homepage {
  position: relative;
  z-index: 10;
  color: #333;
  width: 80%;
  margin: 0 auto;
}

/* 見出しの帯アニメーション */
.works-homepage h1 {
  position: relative;
  font-size: 2rem;
  margin: 50px 0 50px 0;
  text-align: left;
  padding-left: 5%;
  z-index: 1;
  overflow: hidden;
  background-color: transparent;
}
.works-homepage h1::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 0;
  background-image: linear-gradient(to right, #E7F07B 80%, rgba(231, 240, 123, 0) 100%);
  z-index: -1;
  transition: width 1s ease-out;
}
.works-homepage h1.animate-bg::before { width: 100%; }

.works-homepage h2 { font-size: 1.5rem; }
.works-homepage h3 { font-size: 1rem; }
.works-homepage p  { font-size: 1rem; }

/* カード一覧 */
.works-homepage ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  justify-content: flex-start;
  margin: 0 auto;
}
.works-homepage li {
  width: 25%;
  min-width: 400px;
  background-color: rgba(255, 255, 255, 0.80);
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.works-homepage li.visible {
  opacity: 1; transform: translateY(0);
}
.works-homepage img {
  height: 150px; width: auto; object-fit: contain;
}
.works-homepage a {
  font-size: 1rem;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  background-color: #E7F07B;
  padding: 5px 10px;
  border-radius: 15px;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: center;
}
.works-homepage a:hover {
  transform: translateY(-5px);
  background-color: #dce961;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 1570px){
		.works-homepage li {
  width: 45%;
  
}
}
@media screen and (max-width: 1100px) {
	.works-homepage li {
  width: 100%;
  
}
}

/* ================================================================
   ❎動画撮影（section-video）
================================================================ */
/* ▼ 動画セクション全体 */
.section-video {
  padding: 80px 0;
  text-align: center;
  font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}



/* ▼ 動画グリッド：常に最大2列に制限 */
.section-video ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← 2列固定 */
  max-width: 1000px; /* 横幅を制限して中央寄せ */
  margin: 0 auto;
  gap: 30px;
  list-style: none;
  padding: 0;
}

/* ▼ 各カードデザイン */
.section-video .video-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section-video .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ▼ 動画サムネイル（黒背景→poster画像優先） */
.section-video .video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;   /* ← 高さを固定してサイズ変化防止 */
  object-fit: cover;      /* ← サムネ・動画両方が枠にぴったり */
  border-radius: 10px;
  background: none;       /* ← 黒背景を消す（poster表示） */
  display: block;
}

/* ▼ 再生ボタン */
.section-video .play-btn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.section-video .play-btn:hover {
  background: #555;
  transform: scale(1.05);
}

/* ▼ モーダル表示（非表示状態） */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

/* ▼ モーダルコンテンツ */
.video-modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

/* ▼ モーダル内の動画 */
.video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
}

/* ▼ 閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
}

/* ▼ スマホ対応（1列化） */
@media screen and (max-width: 700px) {
  .section-video ul {
    grid-template-columns: 1fr; /* 1列のみ */
    max-width: 500px;
    gap: 20px;
  }
}

/* ================================================================
   ❎その他（section-support）
================================================================ */
.section-support .coming-soon {
  font-size: 1.5rem;
  color: #555;
  padding: 40px 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  width: 60%;
  margin: 0 auto;
}