@charset "UTF-8";
/* CSS Document */
.sliderTitle {
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-size: 2.4rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 4.5rem;
	background: linear-gradient(135deg, #004636 0%, #20af88 60%);
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
}

/* --- MOVIEエリア --- */
.youtubeArea {
  width: 100%;
  max-width: 560px;
  margin: 4.5rem auto 0;
  position: relative;
}

/* サムネボタン */
.modal-trigger {
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.modal-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.modal-trigger:hover img {
  transform: scale(1.05);
}

/* 再生アイコン（丸い土台） */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

/* 再生アイコン（三角形） */
.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #978461;
}

.modal-trigger:hover .play-icon {
  background-color: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

/* --- モーダル自体のスタイル（トップページと共通） --- */
.modal-overlay {
  display: none; 
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.modal-window {
  position: relative;
  width: 90%;
  max-width: 1100px;
}

.modal-video-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9の比率 */
}

.modal-video-inner iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
}

.close-modal {
  position: absolute;
  top: -60px;
  right: 0;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
}



/* 調整 */
@media all and (max-width: 921px) {
}


/* ipad */
@media all and (max-width: 768px) {	

}


/* sp */
@media all and (max-width: 430px) {
.sliderTitle {
	font-size: 1.8rem;
	margin-bottom: 2.1rem;
}

#under02 h3.movie {
	margin-bottom: 2rem;
}

.youtubeArea {
	margin:  auto;
}
}
