@charset "UTF-8";
/* =====================================
   動画ページ用スタイル（統合版）
   配置場所: wp-content/themes/emanon-child/video-style.css
===================================== */

/* =====================================
   全体レイアウト
===================================== */
.l-container {
  background-color: #1F1135;
}

/* =====================================
   video-separate（上部帯）
===================================== */
.video-separate {
  width: 100%;
  height: 80px;
  background-color: #0D1228;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 24px;
  box-sizing: border-box;
}

.video-separate span {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  white-space: nowrap;
}

.video-separate p {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
}

/* =====================================
   メインコンテナ（詳細・一覧共通）
===================================== */
.video-detail,
.video-list,
.video-lp {
  max-width: 1252px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #1F1135;
  color: #ffffff;
}

/* =====================================
   タイトル類
===================================== */
.video-list-title {
  width: 100%;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  padding: 16px 24px;
  padding-left: 12px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.video-progress {
  width: 100%;
  background-color: #613374;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  padding: 16px 0;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.video-progress span {
  display: block;
  width: 100%;
  color: #ffffff;
  font-size: 28px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.video-progress p {
  padding-left: 12px;
}

.video-category {
  width: 100%;
  background-color: #613374;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  padding: 16px 24px;
  padding-left: 12px;
  margin-bottom: 0;
  box-sizing: border-box;
  border-radius: 0;
}

.video-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  padding-left: 12px;
  line-height: 1.4;
}

/* =====================================
   動画プレイヤー
===================================== */
.video-player {
  width: 100%;
  max-width: 1252px;
  margin: 0 auto 80px;
}

.video-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 8px;
}

.video-player-empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  border-radius: 8px;
  color: #999;
  font-size: 18px;
}

/* =====================================
   各セクション共通
===================================== */
.video-section,
.video-overview {
  width: 100%;
  max-width: 1252px;
  margin: 0 auto 50px;
}

/* =====================================
   セクションタイトル（ボタン風）
===================================== */
.video-section h2,
.video-overview h2 {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 2px;
  min-width: 200px;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(135deg, #e11055, #970254);
  border-radius: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* =====================================
   セクション本文（白枠）
===================================== */
.video-section-body,
.video-overview-body {
  width: 100%;
  max-width: 1252px;
  margin: 0 auto;
  padding: 20px;
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-sizing: border-box;
}

/* =====================================
   コンテンツ内のリスト表示
===================================== */
.video-overview-body ul,
.video-section-body ul {
  list-style: disc !important;
  padding-left: 1.5em !important;
  margin: 1em 0 !important;
}

.video-overview-body ol,
.video-section-body ol {
  list-style: decimal !important;
  padding-left: 1.5em !important;
  margin: 1em 0 !important;
}

.video-overview-body li,
.video-section-body li {
  margin-bottom: 0.5em !important;
  line-height: 1.8;
  display: list-item !important;
}

/* =====================================
   次の学習エリア
===================================== */
.video-next {
  max-width: 1252px;
  margin: 80px auto 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.video-next span {
  display: block;
  font-size: 24px;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
}

.video-next-button {
  display: inline-block;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #e11055, #970254);
  border: 1px solid #ccc;
  border-radius: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.video-next-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff2f75, #c7006a);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}

.video-next-button:active {
  color: #ffffff;
  background: linear-gradient(135deg, #d60e50, #7f0246);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
}

.video-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), 0 8px 22px rgba(0, 0, 0, 0.55);
}

/* =====================================
   アコーディオン（一覧ページ）
===================================== */
.video-accordion {
  margin-bottom: 24px;
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: none;
  border-radius: 0;
}

.accordion-content {
  display: none;
  padding: 0;
  background-color: #6D4A8E;
  border: none;
}

.video-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-list-items li {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.video-list-items li:last-child {
  border-bottom: none;
}

.video-list-items li a {
  display: block;
  padding: 16px 24px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.2s ease;
}

.video-list-items li a:hover {
  background-color: #D62597;
  color: #ffffff;
}

.accordion-close {
  display: block;
  width: 100%;
  padding: 16px 24px;
  text-align: left;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background-color: transparent;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.accordion-close:hover {
  background-color: #D62597;
}

/* =====================================
   タブレット対応
===================================== */
@media screen and (max-width: 1024px) {
  .video-category {
    font-size: 24px;
  }
}

/* =====================================
   スマホ対応
===================================== */
@media screen and (max-width: 768px) {
  .video-separate {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }

  .video-separate span {
    font-size: 20px;
    white-space: normal;
  }

  .video-separate p {
    font-size: 12px;
  }

  .video-detail,
  .video-list {
    padding: 24px 16px;
  }

  .video-category {
    padding: 12px 16px;
    padding-left: 0;
    font-size: 20px;
  }

  .video-title {
    font-size: 20px;
  }

  .video-section h2,
  .video-overview h2 {
    font-size: 18px;
    padding: 6px 10px;
  }

  .video-section-body,
  .video-overview-body {
    font-size: 18px;
    padding: 16px;
  }

  .video-next {
    margin: 60px auto 20px;
  }

  .video-next-button {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 14px 24px;
  }
}


/* =====================================
   視聴完了ボタン
===================================== */
.video-complete-button {
  display: inline-block;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #613374;
  border: 2px solid #e11055;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-complete-button:hover:not(:disabled) {
  background-color: #e11055;
  box-shadow: 0 4px 15px rgba(225, 16, 85, 0.4);
}

.video-complete-button:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.video-complete-button.is-completed {
  background-color: #4cd964;
  border-color: #4cd964;
}

@media screen and (max-width: 768px) {
  .video-complete-button {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 14px 24px;
  }
}
/* =====================================
   視聴完了ボタン
===================================== */
.video-complete-button {
  display: inline-block;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #613374;
  border: 2px solid #e11055;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-complete-button:hover:not(:disabled) {
  background-color: #e11055;
  box-shadow: 0 4px 15px rgba(225, 16, 85, 0.4);
}

.video-complete-button:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.video-complete-button.is-completed {
  background-color: #4cd964;
  border-color: #4cd964;
}

@media screen and (max-width: 768px) {
  .video-complete-button {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 14px 24px;
  }
}

/* =====================================
   視聴完了ボタン
===================================== */
.video-complete-button {
  display: inline-block;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #613374;
  border: 2px solid #e11055;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-complete-button:hover:not(:disabled) {
  background-color: #e11055;
  box-shadow: 0 4px 15px rgba(225, 16, 85, 0.4);
}

.video-complete-button:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.video-complete-button.is-completed {
  background-color: #4cd964;
  border-color: #4cd964;
}

@media screen and (max-width: 768px) {
  .video-complete-button {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 14px 24px;
  }
}

/* =====================================
   視聴完了ボタン
===================================== */
.video-complete-button {
  display: inline-block;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #613374;
  border: 2px solid #e11055;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-complete-button:hover:not(:disabled) {
  background-color: #e11055;
  box-shadow: 0 4px 15px rgba(225, 16, 85, 0.4);
}

.video-complete-button:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.video-complete-button.is-completed {
  background-color: #4cd964;
  border-color: #4cd964;
}

@media screen and (max-width: 768px) {
  .video-complete-button {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 14px 24px;
  }
}

/* =====================================
   スピードメーター進捗表示（横並び）
===================================== */
.speedometer-section {
  max-width: 1252px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.speedometer-section-title {
  text-align: center;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* 横並びグリッド */
.speedometer-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.speedometer-item {
  flex: 0 1 auto;
}

.speedometer-container {
  width: 320px;
  padding: 24px 20px;
  background-color: #2a1f3d;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.speedometer-container span {
  text-decoration: none !important;
  border-bottom: none !important;
  background: none !important;
}

.speedometer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.speedometer-wrapper {
  position: relative;
  width: 100%;
  max-width: 240px;
  height: 150px;
  margin: 0 auto;
}

.speedometer-svg {
  width: 100%;
  height: 100%;
}

/* 進捗円弧のアニメーション */
.speedometer-progress {
  transition: stroke-dashoffset 1.5s ease-out;
  filter: drop-shadow(0 0 6px currentColor);
}

/* 針のアニメーション */
.speedometer-needle {
  transform-origin: 150px 150px;
  transform: rotate(-90deg);
  transition: transform 1.5s ease-out;
}

/* パーセント表示 */
.speedometer-percent {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.speedometer-number {
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
}

.speedometer-unit {
  font-size: 20px;
  color: #ffffff;
  margin-left: 2px;
}

/* 視聴本数（案A：シンプル横並び） */
.speedometer-count {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top: 15px;
  white-space: nowrap;
}

.speedometer-count span {
  text-decoration: none;
  border-bottom: none;
}

.speedometer-count-label {
  font-size: 16px;
  color: #ffffff;
}

.speedometer-count-value {
  font-size: 24px;
  font-weight: bold;
}

.speedometer-count-separator {
  font-size: 16px;
  color: #8b7a9e;
}

.speedometer-count-total {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.speedometer-count-unit {
  font-size: 16px;
  color: #ffffff;
}

/* =====================================
   タブレット対応
===================================== */
@media screen and (max-width: 1024px) {
  .speedometer-grid {
    gap: 20px;
  }

  .speedometer-container {
    width: 260px;
    padding: 20px 16px;
  }

  .speedometer-title {
    font-size: 16px;
  }

  .speedometer-number {
    font-size: 36px;
  }
}

/* =====================================
   スマホ対応
===================================== */
@media screen and (max-width: 768px) {
  .speedometer-section {
    padding: 0 16px;
    margin-bottom: 30px;
  }

  .speedometer-section-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .speedometer-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .speedometer-item {
    width: 100%;
    max-width: 320px;
  }

  .speedometer-container {
    width: 100%;
    padding: 20px 16px;
  }

  .speedometer-wrapper {
    max-width: 220px;
    height: 130px;
  }

  .speedometer-title {
    font-size: 16px;
  }

  .speedometer-number {
    font-size: 32px;
  }

  .speedometer-unit {
    font-size: 16px;
  }

  .speedometer-count {
    margin-top: 12px;
    font-size: 16px;
  }

  .speedometer-count-value {
    font-size: 24px;
  }

  .speedometer-count-total {
    font-size: 18px;
  }
}