/* Extracted verbatim from the live Ac+ (bbank.jp/academy) <style id="wp-custom-css">（WordPress の「追加 CSS」）, 2026-09-14.
   原本では head の最後（wp_head の優先度 101）に出力され、全ページに効く。declarations are byte-for-byte unmodified. */

			/* カスタマイズ追加CSS */



/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/
.learndash-wrapper h1{
    display: none;}

.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
    padding: 0 !important;
}

.swal2-close.custom-close-btn {
  font-size: 20px !important;
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  text-align: center;
  border-radius: 50% !important;
  background-color: #2c3e50 !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  top: 10px !important;
  right: 10px !important;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}

.swal2-close.custom-close-btn:hover {
  background-color: #ff5e91 !important;
  color: #fff !important;
}

#prevBtn, #nextBtn {
  padding: 6px 12px;
  margin: 0 10px;
  font-size: 14px;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

#prevBtn:hover, #nextBtn:hover {
  background: #ff5e91;
}


.tag-badge {
  display: inline-block;
  background: #eee;
  padding: 2px 8px;
  margin-right: 5px;
  border-radius: 12px;
  font-size: 12px;
  color: #333;
}


/* お気に入りボタンの初期スタイル */
.favorite-btn {
  background-color: #fff8dc;
  border: 1px solid #ffb700;
  color: #333;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* ホバー時 */
.favorite-btn:hover {
  background-color: #ffeaa7;
}


/* ★マークだけ色変更 */
.favorite-btn .star {
  color: #ffb700; /* 黄色っぽい星 */
  margin-right: 4px;
}

/* 登録済み状態（お気に入り済み） */
.favorite-btn.saved {
  background-color: #ffe066;
  color: #222;
  font-weight: bold;
}


img.emoji {
  width: auto !important;
  height: auto !important;
  display: inline !important;
}


.fav-video-card {
  position: relative;
  display: inline-block;
  margin: 10px;
}

.fav-video-card .play-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  padding: 4px 6px;
  border-radius: 50%;
  line-height: 1;
  font-family: Arial, sans-serif;
}



/* 共通ボタンスタイル（追加ボタンとGoogleログインを除外） */
#task-buttons button:not(#add-task-btn):not(#google-login-btn) {
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
}

#task-buttons button:not(#add-task-btn):not(#google-login-btn):hover {
  background-color: #f0f0f0;
}

/* ✅ タスク追加ボタン（赤系） */
#add-task-btn {
  background-color: #D43C74;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#add-task-btn:hover {
  background-color: #0C0227;
}

/* ✅ Googleログインボタン（青系） */
#google-login-btn {
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#google-login-btn:hover {
  background-color: #0C0227;
}

/* ✅ Googleタスクへボタン（青系） */
#google-task-btn {
  background-color: #1a73e8 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin: 0;
}

#google-task-btn:hover {
  background-color: #0C0227 !important;
}




/* カルーセル崩れ防止 */
.mySwiper {
  padding: 8px 0;
  overflow: hidden;
}
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  flex-shrink: 0;
  width: 220px;
}


/* スクショ拡大モーダル用 Swiper レイアウト */
.screenshotModalSwiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screenshotModalSwiper img {
  max-width: 90vw;
  max-height: 70vh;
  border-radius: 8px;
}

/* モーダル全体のスタイル */
#screenshotModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Swiper コンテナ */
.screenshotModalSwiper {
  position: relative;
  width: 90%;
  max-width: 800px;
}





/* ===== モーダル全体 ===== */
#screenshotModal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* ===== Swiperコンテナ ===== */
.screenshotModalSwiper {
  position: relative;
  width: 90%;
  max-width: 800px;
}

/* ✅ スライド内に相対配置 */
.screenshotModalSwiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ✅ 閉じるボタン（右上に） */
#modalCloseBtn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
#modalCloseBtn:hover {
  background-color: #9C8048;
}

/* ===== Swiperナビゲーション矢印 ===== */
.swiper-button-prev,
.swiper-button-next {
  color: white !important;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, color 0.3s ease;
}
.swiper-button-prev:hover {
  transform: translateX(-6px);
  color: #f8a5c2;
}
.swiper-button-next:hover {
  transform: translateX(6px);
  color: #f8a5c2;
}


/* 最優先で表示 */
.flatpickr-calendar,
.flatpickr-calendar.open {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2147483647 !important; /* 最大値 */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* flatpickr入力フィールドを完全非表示 */
.flatpickr-input {
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}



/* カレンダーと一緒に出てくる小さな〇を非表示に */
.flatpickr-day.selected::before,
.flatpickr-day.selected::after,
.flatpickr-day.today::before,
.flatpickr-day.today::after,
button.flatpickr-day:focus::before,
button.flatpickr-day:focus::after {
  display: none !important;
}


/*.swal2-confirm {
  background-color: #2c7be5 !important; /* 確認ボタンの背景色 */
}

/*.swal2-cancel {
  background-color: #e63757 !important; /* キャンセルボタンの背景色 */
}


#swal-task-duration.swal2-input {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* SweetAlert2 のタイトルの余白をなくす */
.swal2-title {
  padding: 0 !important;
}



/* TOPページのタスク3列用 */
.task-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.task-list-column {
  background: #ffffff; /* 背景を白に */
  border: 1px solid #ddd; /* うすいグレーの枠線 */
  border-radius: 12px; /* 少し角丸 */
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* ソフトな影を付ける */
  transition: box-shadow 0.3s ease;
}

.task-list-column:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* ホバー時ふわっと浮く */
}

.task-list-column-title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
  color: #555;
}

.task-list-column-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}



/* ✅ メインレイアウト構造：メイン65%、サイドバー35% */
.main-layout {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.main-content {
  flex-shrink: 0;
  flex-grow: 0;
  width: 65%;
  transition: margin-right 0.3s ease;
}

.main-layout.sidebar-open .main-content {
  margin-right: 35%;
}

.main-layout:not(.sidebar-open) .main-content {
  width: 100%;
  margin-right: 0;
}

/* ✅ スライドサイドバー（35%）をスクロール可能に */
.slide-sidebar {
  width: 35%;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  position: fixed;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.slide-sidebar.closed {
  transform: translateX(100%);
}

/* ✅ タブボタン + トグルを一列に整列 */
.tab-buttons-wrapper {
  position: sticky;
  top: 0;
  z-index: 10001; /* .slide-sidebar より前面に */
  background: white; /* 背景を指定しないと後ろの要素が透ける場合あり */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}


/* ✅ トグルボタン（スライド左） */
.toggle-btn {
  width: 40px;
  height: 40px;
  font-size: 18px;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.toggle-btn:hover {
  background: #0C0227;
}

/* ✅ タブUIボタン */
.tab-buttons {
  display: flex;
  gap: 6px;
  flex-grow: 1;
}

.tab-buttons button {
  flex: 1;
  padding: 10px;
  background: #f7f7f7;
  color: #0C0227;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.tab-buttons button.active {
  background: #0C0227;
  color: white;
  font-weight: bold;
}

.tab-buttons button:hover {
  background: #0C0227;
  color: white;
}

/* ✅ タブ中身（スクロール許可） */
.tab-contents {
  flex: 1;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  padding: 0;
  height: auto !important;
  overflow-y: visible !important;
  overflow-x: hidden;
}

/* ✅ サイドバーを開くボタン */
.reopen-btn {
  position: fixed;
  top: 60px;
  right: 40px;
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 50%;
  border: none;
  background: #2c3e50;
  color: white;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ✅ ボタン3つ横並び */
.button-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px auto;
  max-width: 800px;
  flex-wrap: wrap;
}

.button-row .favorite-btn {
  flex: 1 1 30%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 14px 24px;
  min-width: 200px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;

  border: none;
  border-radius: 12px;

  /* ロゴ色グラデで高級感＋統一感 */
  background: linear-gradient(135deg, #d2b57f, #a2874e);
  color: #fff;

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.15),
    inset 0 -2px 4px rgba(255, 255, 255, 0.4);
    
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-row .favorite-btn:hover {
  background: linear-gradient(135deg, #b8955c, #8a6c36);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.25),
    inset 0 -2px 6px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px) scale(1.015);
  color: #fff;
}

.button-row .favorite-btn:active {
  transform: scale(0.97);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* ⭐️ アイコン部分（中央揃え＋色統一） */
.button-row .star,
.button-row .favorite-btn svg {
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(1px);
  color: #fff;
  flex-shrink: 0;
}


/* ✅ 登録済みのボタン色変更 */
#favorite-button.saved {
  background: #0C0227 !important;
  color: #fff !important;
}


/* ✅ ビデオの大きさ*/
/* 🎥 video-wrapper がどこにあっても効くように強化 */
.main-layout.sidebar-open .video-wrapper,
.main-layout.sidebar-open .elementor-shortcode .video-wrapper {
  max-width: 90% !important;
}

.main-layout:not(.sidebar-open) .video-wrapper,
.main-layout:not(.sidebar-open) .elementor-shortcode .video-wrapper {
  max-width: 800px !important;
}

/* 🎯 video タグ自体の強制設定（ショートコード内でも効かせる） */
.video-wrapper video,
.elementor-shortcode .video-wrapper video {
  width: 100% !important;
  height: auto;
  display: block;
}



/* ✅ サイドバーが閉じたときに中央揃え＋左右パディング */
.main-layout:not(.sidebar-open) .elementor-element-6f9f18da {
  width: auto !important;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}



/* ✅ 検索窓*/
.video-search-form {
  max-width: 320px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box input[type="text"] {
  width: 100%;
  padding: 10px 12px 10px 36px; /* ← 左に余白を多めにしてアイコン分を確保 */
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.search-box input[type="text"]:focus {
  border-color: #007bff;
}

.search-box .search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}



/* スクショメモ用の上品ボタンスタイル */
.filter-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0; /* 不要なマージンを削除 */
  flex-wrap: wrap;
}

#tagFilterArea {
  display: flex;
  flex-wrap: nowrap;             /* 1行で表示 */
  overflow-x: auto;              /* 横スクロール有効 */
  gap: 8px;                   
  justify-content: flex-start; 
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  padding: 4px 10px;
  scrollbar-width: thin;        /* Firefox */
}

#tagFilterArea::-webkit-scrollbar {
  height: 6px;
}
#tagFilterArea::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.filter-btn {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #d2b57f, #a2874e); /* ゴールド調 */
  color: #fff;
  font-size: 12px !important;
  font-weight: 600;
  text-align: center;
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 -2px 4px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap; /* 折り返さない */
}

.filter-btn:hover {
  background: linear-gradient(135deg, #b8955c, #8a6c36);
  transform: translateY(-2px);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.2),
    inset 0 -2px 6px rgba(255, 255, 255, 0.5);
}



/* メモの編集鉛筆マーク、PCでは非表示、スマホでは表示 */
.only-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .only-mobile {
    display: inline-block !important;
 /* または block、flex に変更可 */
  }
}




/* アイコン部分（絵文字対応） */
.filter-btn .icon {
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
}


/* ✅ SweetAlert2 の z-index を最前面に */
.swal2-container {
  z-index: 999999 !important;
}

/* ✅ TOPページスクショスライダーの高さ */

/* ✅ メモ部分だけ2行省略表示（タグは影響しないように分離） */
.screenshot-slide .memo-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  margin-bottom: 8px;
}

.memo-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1em;
  margin: 0; 
  padding: 0; 
}




/* ✅ サイドバーを再表示するボタン */
#reopenSidebarBtn {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  top: 60px;
  right: 40px;
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 50%;
  border: none;
  background: #9C8048
  color: white;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

#reopenSidebarBtn:hover {
  background-color: #0C0227;
}



/* ✅ 動画ページ上部のトピックインフォバー非表示 */
.progress-bar-area .ld-topic-status {
  display: block !important; /* 残したい方は明示的に表示 */
}

.ld-topic-status {
  display: none !important;  /* 基本的には消す */
}

/* ✅ 動画ページ下部の完了バー非表示 */
.ld-content-actions {
  display: none !important;
}


/* ✅ サイドバー非表示の際に横幅制限*/






/* ✅ 動画ブロックをカード風に*/
.video-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(0);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(-6px) scale(1.02);
  cursor: pointer;
}


/* ✅ ヘッダーの検索窓の調整*/
/* 並びを横に・垂直位置を中央に */
.jet-search-filter {
  display: flex;
  align-items: center;
  gap: 8px; /* 入力とボタンの間のスペース */
}

/* 検索窓の高さを明示 */
.jet-search-filter__input {
  height: 44px;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* 検索ボタンのサイズと整列を統一 */
.jet-search-filter__submit {
  height: 44px;
  padding: 0 16px;
  margin: 0 !important;
  font-size: 16px;
  border-radius: 8px;
  background-color: #9C8048;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.jet-search-filter__submit:hover {
  background-color: #b53164;
}


/* サイドバーのマイノート内のタブ切り替えボタン */
    .note-subtab-bar {
      display: flex;
      gap: 6px;
      padding: 10px;
      border-bottom: 1px solid #ccc;
      background: white !important;
    }

    .note-subtab {
      flex: 1;
      padding: 10px;
      background: #f7f7f7 !important;
      color: #0C0227 !important;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 14px;
      transition: background 0.2s, color 0.2s;
    }

    .note-subtab.active {
      background: #0C0227 !important;
      color: white !important;
      font-weight: bold;
    }

    .note-subtab:hover {
      background: #0C0227 !important;
      color: white !important;
    }


/* サイドバーのマイノート内のタスクサイドスペース */
body.single-sfwd-topic #taskList {
  margin-left: 16px;
  margin-right: 16px;
}



/* 既存のCSSファイルに追加 */

/* スクリーンショットカード */
.screenshot-card {
  width: 330px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background: #fff;
  position: relative;
  overflow: hidden;
  margin: 10px;
}

/* カード内のアクションボタン */
.card-action-btn {
  position: absolute;
  top: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.card-action-btn.favorite-btn {
  left: 10px;
}

.card-action-btn.delete-btn {
  right: 10px;
}

/* メモテキスト */
.memo-content {
  padding: 12px;
  font-size: 14px;
  color: #333;
}

/* タイムスタンプ */
.screenshot-timestamp {
  font-size: 12px;
  color: #999;
  text-align: right;
}

/* タグ編集フォーム */
.tag-edit-form {
  display: flex;
  align-items: center;
  margin: 2px 4px;
}

.tag-edit-input {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-right: 4px;
}



/* ✅ レッスンページのトピックカード全体 */
.lesson-topic-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

/* ✅ 通常時の立体感（強制的に適用） */
.learndash-wrapper a.lesson-topic-card {
  width: 260px;
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease !important;
}

/* ✅ ホバー時にさらに強い影とわずかな浮き感 */
.learndash-wrapper a.lesson-topic-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28) !important;
  filter: brightness(1.05) !important;
  cursor: pointer !important;
}

/* ✅ カード内画像 */
.lesson-topic-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* ✅ カード内タイトル */
.lesson-topic-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 12px;
  color: #222;
  line-height: 1.4;
}


/* ✅ レッスンページのタイトル調整 */
h1.entry-title {
  font-size: 36px; /* ↓ 適切に縮小 */
  font-weight: 700;
  color: #1B1435;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.5px;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 5px solid #9C8048; /* アクセントライン */
  max-width: 90%;
  margin: 40px auto 20px auto;
  line-height: 1.3;
  text-transform: uppercase; /* すべて大文字 */
}



/* ✅ トピックスページのヘッダーと動画の隙間0に */
.learndash-wrapper .ld-tabs {
  margin: 0 !important;
}


/* ✅ ポップアップAre you still on this pageの非表示 */
.is-active-popup {
  display: none !important;
}



.video-card{padding: 10px !important;}


/* TOPの「もっと見る」 */

.more-link {
  transition: opacity 0.2s;
}
.more-link:hover {
  opacity: 0.7;
}


/* Googleログインボタンのホバー効果 */
#manual-login:hover {
  background-color: #0C0227 !important; /* or #3367d6 for Google風 */
}



/* タスク、スマホ表示では縦並びに変更 */
@media (max-width: 768px) {
  .task-grid-wrapper {
    display: block !important;
  }

  .task-list-column {
    width: 100% !important;
    margin-bottom: 24px;
  }

  .task-list-column-title {
    font-size: 18px;
    margin-bottom: 8px;
    text-align: center;
  }


}


/* チェックアウトのエラー表示で勝手な大文字化を無効にする */
.woocommerce-NoticeGroup-checkout .woocommerce-error,
.woocommerce-NoticeGroup-checkout .woocommerce-error li,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-error li {
  text-transform: none !important;
}



/*商品ページのレイアウト調整*/
.elementor-element-61ac5577{
  --row-gap: 0 !important;
  row-gap: 0 !important;
}


/* /商品ページの該当コンテナだけ margin-top を 10px に */
.elementor-45999 .elementor-element-25dd327d{
  --margin-top: 10px;
  margin-top: 10px !important;
}



/* マイアカウントのコンテナを中央 80% 幅（上限1200px）に */
@media (min-width: 769px){
  .woocommerce-account .page-content > .woocommerce {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;              /* 中央寄せ */
  }
}

/* 2カラムのバランス（左ナビ固定幅 / 右コンテンツ自動） */
.woocommerce-account .woocommerce {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.woocommerce-account .woocommerce-MyAccount-navigation { 
  flex: 0 0 240px;
}
.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1 1 auto;
  min-width: 0;
}

/* スマホは縦積み＆全幅 */
@media (max-width: 768px){
  .woocommerce-account .woocommerce { 
    flex-direction: column; 
  }
  .woocommerce-account .page-content > .woocommerce {
    width: 100%;
    max-width: none;
    margin: 0;
  }
	
	
	
	
	
	/* 一覧・関連動画のカード画像（CLS対策：枠を確保） */
.lesson-topic-card img,
.related-video-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

}
		
