@charset "UTF-8";

/* ============================================
   video_pc.css（観光動画ページ PC版）
   ============================================ */

:root {
  --primary-color: #735A54;
  --secondary-color: #fce1e5;
  --text-dark: #000;
  --text-gray: #666666;
  --bg-beige: #F0E8DF;
  --bg-white: #ffffff;
  --border-color: rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}
/* 横ずれ防止 */
body {
  overflow-x: hidden;
}

/* padding + width の衝突回避 */
#spot-section,
#video-map-section {
  box-sizing: border-box;
}

/* map はみ出し防止 */
.kamikawa-map {
  overflow: hidden;
}

/* ============================================
   PC版：PC用 / SP用 見出しの出し分け
   ============================================ */
.pc-only {
  display: block;
}

.sp-only {
  display: none !important;
}

/* パンくずナビゲーション */
.breadcrumb{
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--color-text-muted);
	margin-bottom: 44px;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.breadcrumb a{
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color .15s ease;
}

.breadcrumb a:hover{
	color: var(--color-text-main);
}

/* ============================================
   1. セクション共通設定
   ============================================ */
#spot-section{
  width: 100%;
  margin: 0 auto;
  padding: 100px 40px 0px;
  box-sizing: border-box;
}

/* セクションタイトル */
.section-title{
  text-align: center;
  margin-bottom: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.section-title .section-heading,
.section-title h1{
  font-size: 2rem;
  font-weight: 700;  
  color: var(--color-text-main);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-title .spot-flow-intro,
.section-title .section-subtitle{
  font-size: 0.92rem;
  color: var(--color-text-main);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 2.0;
}

/* ============================================
   2. 動画マップセクション
   ============================================ */
#video-map-section {
  padding: 0px 40px 70px;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 0px;
}

.section-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--secondary-color);
  max-width: 500px;
  padding: 10px;
  border-radius: 99px;
  margin: 0 auto;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0px 40px;
}

.kamikawa-map {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 地図上のクリック可能なボタン */
.map-spot-button {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(115, 90, 84, 0.15);
  border: 1px solid rgba(115, 90, 84, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.map-spot-button .spot-label {
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 3px;
  line-height: 1.2;
}

.map-spot-button:hover {
  background: rgba(115, 90, 84, 0.9);
  border-color: #735A54;
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(115, 90, 84, 0.5);
  z-index: 20;
}

.map-spot-button:hover .spot-label {
  opacity: 1;
  color: white;
}

.map-spot-button:active {
  transform: scale(1.05);
}

/* 各スポットの位置 */
/* ヨーデルの森 */
.map-spot-button.yodel {
  top: 34%;
  left: 60%;
  transform: translate(-50%, -50%);
}

/* 砥峰高原 */
.map-spot-button.tonamine {
  top: 22%;
  left: 20%;
  transform: translate(-50%, -50%);
}

/* オウネン滝 */
.map-spot-button.ounen {
  top: 80%;
  left: 67%;
  transform: translate(-50%, -50%);
}

/* 神河 */
.map-spot-button.kamikawa {
  top: 78.8%;
  left: 36%;
  transform: translate(-50%, -50%);
}

/* RADOHRE神河 */
.map-spot-button.radohre {
  top: 76.5%;
  left: 34%;
  transform: translate(-50%, -50%);
}

/* アニメーション効果 */
@keyframes pulse-map {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(115, 90, 84, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(115, 90, 84, 0);
  }
}

.map-spot-button {
  animation: pulse-map 2.5s ease-in-out infinite;
}

.map-spot-button:hover {
  animation: none;
}

/* ============================================
   3. スポット一覧セクション
   ============================================ */
#spot-list-section {
  padding: 70px 40px;
  background: var(--bg-beige);
}

#spot-list-section .section-heading {  max-width: 1000px; }

.spot-grid {
  max-width: 1000px;
  margin: 40px auto 0px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.spot-card {
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.spot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.spot-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.spot-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(115, 90, 84, 0.5);
  transition: opacity 0.3s ease;
  z-index: 1;
}

.spot-card:hover .spot-card-image::before {
  opacity: 0;
}

.spot-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spot-card:hover .spot-card-image img {
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 2;
}

.play-button:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.15);
}

.play-icon {
  font-size: 24px;
  color: var(--primary-color);
  margin-left: 4px;
  transition: color 0.3s ease;
}

.play-button:hover .play-icon {
  color: white;
}

.spot-card-content {
  padding: 24px;
}

.spot-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 8px;
  margin-bottom: 8px; 
  border-bottom: 1px solid #aaa;
  text-align: center;
}

.spot-card-title rt {
  font-size: 8px;
  font-weight: 500;
  margin-bottom: 1px;
  letter-spacing: 0.1em;
}

.spot-card-description {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
}

/* ============================================
   4. 動画モーダル
   ============================================ */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: white;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.video-modal-close:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.video-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   5. レスポンシブ（タブレット）
   ============================================ */
@media screen and (max-width: 1024px) {
  .spot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}