/*
Theme Name: Course Child
Theme URI: https://example.com
Description: Custom child theme for Course theme
Author: Your Name
Author URI: https://example.com
Template: course
Version: 1.0.0
Text Domain: course-child
Domain Path: /languages
License: GPL v2 or later
*/

/* カスタムスタイルをここに追加 */
body {
  font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
}
main {
	margin-top: 60px!important
}
h1 {
	font-size: 1.6rem;
    text-align: center;
	font-weight: 500;
	margin: 0;
	padding-top: 0 !important;
}

/* ログイン画面全体 */
.swpm-login-widget-form {
  max-width: 400px;
  margin: 40px auto;
  padding: 0;
}

/* フォーム内部 */
.swpm-login-form-inner {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
}

/* ラベル */
.swpm-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

/* テキスト入力フィールド */
.swpm-text-field {
  width: 100%!important;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.swpm-text-field:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ユーザー名と パスワード の入力グループ */
.swpm-username-input,
.swpm-password-input {
  margin-bottom: 20px;
}

/* パスワード入力フィールド */
.swpm-password-field {
  margin-bottom: 20px;
}

/* チェックボックス */
.swpm-remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.swpm-remember-checkbox {
  margin-right: 8px;
}

.swpm-remember-checkbox input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.swpm-rememberme-label {
  cursor: pointer;
  color: #555555;
  user-select: none;
}

/* 送信ボタン */
.swpm-login-submit {
  margin-bottom: 20px;
}

.swpm-login-form-submit {
  width: 100%!important;
  padding: 12px;
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.swpm-login-form-submit:hover {
  background-color: #0052a3;
}

.swpm-login-form-submit:active {
  background-color: #004080;
}

/* リンク */
.swpm-login-form-pw-reset-link,
.swpm-login-form-register-link {
  display: block;
  text-align: center;
  margin-bottom: 12px;
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.swpm-login-form-pw-reset-link:hover,
.swpm-login-form-register-link:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* メッセージ */
.swpm-login-action-msg {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}
.swpm-forgot-pass-link {
	display: none;
}
.swpm-login-form-register-link {
	display: none;
}

/* プロフィールここから */
/* プロフィール編集フォーム全体 */
.swpm-edit-profile-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 0;
}

/* フォーム内部 */
.swpm-edit-profile-form-inner {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
}

/* フォーム行 */
.swpm-form-row {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
}

/* ラベルラッパー */
.swpm-form-label-wrap {
  padding-top: 12px;
}

.swpm-form-label-wrap label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

/* 入力フィールドラッパー */
.swpm-form-input-wrap {
  width: 100%;
}

/* テキスト入力フィールド */
.swpm-form-field {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  background-color: #ffffff;
}

.swpm-form-field:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.swpm-form-field:disabled {
  background-color: #f5f5f5;
  color: #999999;
  cursor: not-allowed;
}

/* セレクト */
.swpm-form-field[type="select"],
select.swpm-form-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 20px;
  padding-right: 32px;
}

/* パスワード入力 */
.swpm-form-password,
.swpm-form-repass {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
}

/* フォーム説明テキスト */
.swpm-form-desc {
  font-size: 12px;
  color: #666666;
  margin-top: 6px;
  line-height: 1.4;
}

.swpm-form-desc ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
}

.swpm-form-desc li {
  padding-left: 0;
}

/* エラー状態 */
.swpm-form-row.error .swpm-form-field {
  border-color: #cc0000 !important;
  background-color: #fff5f5;
}

.swpm-form-row.error .swpm-form-field:focus {
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
  border-color: #cc0000 !important;
}

.swpm-form-row.error .swpm-form-desc {
  color: #cc0000 !important;
  font-weight: 600;
}

/* 読み取り専用フィールド */
.swpm-form-input-wrap:not(:has(.swpm-form-field)) {
  padding: 12px;
  background-color: #f9f9f9;
  border-radius: 4px;
  font-size: 14px;
  color: #555555;
  border: 1px solid #e0e0e0;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* 送信セクション */
.swpm-submit-section {
  margin-top: 40px !important;
  margin-bottom: 0;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  grid-column: 1 / -1;
}

/* ボタン */
.swpm-submit,
.swpm-profile-submit-button {
  padding: 12px 32px;
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  font-family: inherit;
}

.swpm-submit:hover,
.swpm-profile-submit-button:hover {
  background-color: #0052a3;
}

.swpm-submit:active,
.swpm-profile-submit-button:active {
  background-color: #004080;
  transform: translateY(1px);
}

.swpm-submit:focus,
.swpm-profile-submit-button:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .swpm-edit-profile-form {
    margin: 20px auto;
  }

  .swpm-edit-profile-form-inner {
    padding: 24px 20px;
  }

  .swpm-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .swpm-form-label-wrap {
    padding-top: 0;
  }

  .swpm-submit-section {
    flex-wrap: wrap;
  }

  .swpm-submit {
    flex: 1;
    min-width: 150px;
  }
}
/* レッスン一覧ここから */
/* コース一覧のフィルターセクション */
.sensei-archive-controls {
  margin-bottom: 40px;
}

.archive-header h1 {
  margin-bottom: 0;
}

/* フィルターコントロール */
.wp-block-sensei-lms-course-list-filter {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin-bottom: 24px;
}

.wp-block-sensei-lms-course-list-filter .alignleft {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}

.wp-block-sensei-lms-course-list-filter select {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  background-color: #ffffff;
  color: #333333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
  min-width: 150px;
}

.wp-block-sensei-lms-course-list-filter select:hover {
  border-color: #ccc;
}

.wp-block-sensei-lms-course-list-filter select:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* コースリスト */
.wp-block-post-template {
  gap: 24px;
}

/* コースカード */
.wp-block-post-template .wp-block-group {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: none !important;
  padding: 0 !important;
}

.wp-block-post-template .wp-block-group:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* コース画像 */
.wp-block-post-featured-image {
  margin: 0;
  overflow: hidden;
  height: 180px;
}

.wp-block-post-featured-image img {
  object-fit: cover;
  height: 100% !important;
  width: 100% !important;
  border: none !important;
}

.wp-block-post-featured-image a {
  height: 100%;
}

/* カテゴリータグ */
.wp-block-sensei-lms-course-categories {
  padding: 10px 0px 0 0px;
  margin-bottom: 8px;
}

.wp-block-sensei-lms-course-categories a {
  display: inline-block;
  background-color: #f0f0f0;
  color: #0066cc;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.wp-block-sensei-lms-course-categories a:hover {
  background-color: #0066cc;
  color: #ffffff;
}

/* コースタイトル */
.wp-block-post-title {
  padding: 0 16px;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 18px !important;
  line-height: 1.4;
  font-weight: 700;
}

.wp-block-post-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wp-block-post-title a:hover {
  color: #0066cc;
}

/* コース説明 */
.wp-block-post-excerpt {
  padding: 0 16px;
  margin: 0 !important;
}

.wp-block-post-excerpt__excerpt {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin: 0;
}

/* コース概要リンク */
.wp-block-sensei-lms-course-overview {
  padding: 12px 16px;
  margin-top: 12px;
  margin-bottom: 0;
  border-top: 1px solid #f0f0f0;
}

.wp-block-sensei-lms-course-overview a {
  color: #0066cc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wp-block-sensei-lms-course-overview a:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* プログレスバーセクション */
.sensei-block-wrapper {
  padding: 16px 16px;
  margin-top: 12px;
  margin-left: 16px;
  margin-right: 16px;
}

.sensei-progress-bar__label {
    font-size: 14px;
    color: #666666;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    padding: 1em;
}

.sensei-progress-bar__bar {
  height: 8px;
  background-color: #e0e0e0;
  overflow: hidden;
}

.sensei-progress-bar__progress {
  height: 100%;
  background-color: #0066cc;
  transition: width 0.3s ease;
}

/* ボタンセクション */
.wp-block-sensei-lms-button-continue-course {
  margin: 12px 16px 16px 16px !important;
  padding: 0 !important;
}

.wp-block-button {
  margin: 0 !important;
}

.wp-block-button__link {
  width: 100%;
  text-align: center;
  padding: 12px 16px !important;
  background-color: #0066cc !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  text-transform: uppercase;
}

.wp-block-button__link:hover {
  background-color: #0052a3 !important;
}

.wp-block-button__link:active {
  background-color: #004080 !important;
  transform: translateY(1px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .wp-block-post-template {
    gap: 16px;
  }

  .wp-block-post-featured-image {
    height: 150px;
  }

  .wp-block-post-title {
    font-size: 16px !important;
  }

  .sensei-archive-controls .alignleft {
    flex-direction: column;
  }

  .sensei-archive-controls select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wp-block-post-featured-image {
    height: 120px;
  }

  .wp-block-post-title {
    font-size: 14px !important;
    padding: 0 12px;
  }

  .wp-block-post-excerpt {
    padding: 0 12px;
  }

  .wp-block-sensei-lms-course-overview,
  .sensei-block-wrapper {
    padding: 12px;
  }
}

/* ここからレッスン概要 */
/* コース詳細ページ全体 */
.wp-block-post-content {
  max-width: 800px;
}

/* コース説明 */
.sensei-content-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #0066cc;
}

/* プログレスバーセクション */
.sensei-block-wrapper {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
}

.sensei-progress-bar__label {
  font-size: 14px;
  color: #666666;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.sensei-progress-bar__bar {
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.sensei-progress-bar__progress {
  height: 100%;
  background-color: #0066cc;
  transition: width 0.3s ease;
  border-radius: 5px;
}

/* コースアウトライン（レッスンリスト） */
.wp-block-sensei-lms-course-outline {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.wp-block-sensei-lms-course-outline-lesson {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  color: #333333;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.wp-block-sensei-lms-course-outline-lesson:last-child {
  border-bottom: none;
}

.wp-block-sensei-lms-course-outline-lesson:hover {
  background-color: #f9f9f9;
}

.wp-block-sensei-lms-course-outline-lesson:active {
  background-color: #f0f0f0;
}

/* レッスンステータスアイコン */
.wp-block-sensei-lms-course-outline-lesson__status {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0e0e0;
  border-radius: 50%;
}

.wp-block-sensei-lms-course-outline-lesson__status svg {
  width: 12px;
  height: 12px;
}

/* レッスンテキスト */
.wp-block-sensei-lms-course-outline-lesson span {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
}

/* チェブロンアイコン */
.wp-block-sensei-lms-course-outline-lesson__chevron {
  width: 20px;
  height: 20px;
  margin-left: 12px;
  color: #999999;
  transition: transform 0.3s ease;
}

.wp-block-sensei-lms-course-outline-lesson:hover .wp-block-sensei-lms-course-outline-lesson__chevron {
  transform: translateX(4px);
  color: #0066cc;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .sensei-content-description {
    padding: 16px;
    font-size: 14px;
  }

  .sensei-block-wrapper {
    padding: 16px;
  }

  .wp-block-sensei-lms-course-outline-lesson {
    padding: 14px 16px;
  }

  .wp-block-sensei-lms-course-outline-lesson span {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .sensei-content-description {
    padding: 12px;
    margin-bottom: 20px;
  }

  .sensei-block-wrapper {
    padding: 12px;
    margin-bottom: 20px;
  }

  .wp-block-sensei-lms-course-outline-lesson {
    padding: 12px;
  }

  .wp-block-sensei-lms-course-outline-lesson__status {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 12px;
  }

  .wp-block-sensei-lms-course-outline-lesson__chevron {
    width: 18px;
    height: 18px;
  }
}

/* 受講中レッスン一覧全体 */
.wp-block-sensei-lms-course-list--is-list-view {
  max-width: 1000px;
  margin: 0 auto;
}

/* フィルターセクション */
.wp-block-sensei-lms-course-list-filter {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin-bottom: 30px;
}

.wp-block-sensei-lms-course-list-filter select {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  background-color: #ffffff;
  color: #333333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 32px;
  transition: border-color 0.3s ease;
  min-width: 150px;
}

.wp-block-sensei-lms-course-list-filter select:hover {
  border-color: #ccc;
}

.wp-block-sensei-lms-course-list-filter select:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* コースリスト */
.wp-block-post-template {
  gap: 24px;
  list-style: none;
}

/* コースカード */
.wp-block-post-template .wp-block-group {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: none !important;
  padding: 0 !important;
}

.wp-block-post-template .wp-block-group:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* カラム構成 */
.wp-block-columns {
  gap: 24px;
  margin-top: 0 !important;
}

.wp-block-column {
  padding: 20px;
}

.wp-block-column:first-child {
  padding-right: 0;
}

.wp-block-column:last-child {
  padding: 0;
}

/* コース画像 */
.wp-block-post-featured-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  height: auto;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

.wp-block-post-featured-image img {
  object-fit: cover;
  width: 100% !important;
  height: auto !important;
  border: none !important;
  display: block;
}

/* カテゴリータグ */
.wp-block-sensei-lms-course-categories {
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.wp-block-sensei-lms-course-categories a {
  display: inline-block;
  background-color: #f0f0f0;
  color: #0066cc;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.wp-block-sensei-lms-course-categories a:hover {
  background-color: #0066cc;
  color: #ffffff;
}

/* コースタイトル */
.wp-block-post-title {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1.4;
  font-weight:bold;
}

.wp-block-post-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wp-block-post-title a:hover {
  color: #0066cc;
}

/* コース説明 */
.wp-block-post-excerpt {
  margin: 0 0 16px 0 !important;
}

.wp-block-post-excerpt__excerpt {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin: 0;
}

/* コース概要リンク */
.wp-block-sensei-lms-course-overview {
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  border: none !important;
}

.wp-block-sensei-lms-course-overview a {
  color: #0066cc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wp-block-sensei-lms-course-overview a:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* プログレスバー */
.sensei-block-wrapper {
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
}

.sensei-progress-bar__label {
  font-size: 12px;
  color: #666666;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.sensei-progress-bar__bar {
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.sensei-progress-bar__progress {
  height: 100%;
  background-color: #0066cc;
  transition: width 0.3s ease;
}

/* 右側のボタンセクション */
.wp-block-column:last-child {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  min-height: 100%;
}

.wp-block-button {
  margin: 0 !important;
  width: 100%;
}

.wp-block-button__link {
  width: 100%;
  padding: 12px 24px !important;
  background-color: #0066cc !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.wp-block-button__link:hover {
  background-color: #0052a3 !important;
}

.wp-block-button__link:active {
  background-color: #004080 !important;
  transform: translateY(1px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
	margin-top:0!important;
  }

  .wp-block-column {
    padding: 16px;
  }

  .wp-block-column:first-child {
    padding-right: 16px;
  }

  .wp-block-column:last-child {
    padding: 0 16px 16px 16px;
    min-height: auto;
  }

  .wp-block-post-featured-image {
    height: 200px;
  }

  .wp-block-post-title {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .wp-block-post-featured-image {
    height: 150px;
  }

  .wp-block-column {
    padding: 12px;
  }

  .wp-block-column:last-child {
    padding: 0 12px 12px 12px;
  }

  .wp-block-post-title {
    font-size: 18px !important;
	font-weight: bold;
  }

  .wp-block-post-excerpt__excerpt {
    font-size: 13px;
  }

  .wp-block-button__link {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }
}
/* セレクトボックス関連のマージンをすべて削除 */
.wp-block-sensei-lms-course-list-filter {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.wp-block-sensei-lms-course-list-filter select {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.wp-block-sensei-lms-course-list-filter .alignleft {
  margin: 0 !important;
}

.sensei-block-wrapper {
	box-shadow:none!important;
}
@media (max-width: 768px) {
	.wp-block-post-template .wp-block-group figure {
		max-height:210px!important;
		margin-bottom: 0 !important;
	}
}
.wp-block-sensei-lms-course-title {
	font-size: 1.4em;
    margin-left: 1em!important;
    font-weight: bold;
}
.wp-container-core-group-is-layout-37505225 {
	display:none;
}
@media (max-width: 768px) {
	body .wp-site-blocks {
  	  padding-top: 2em!important;
	}
}
.wp-block-sensei-button {
	background: #f1ede7;
}
.sensei-content-description {
    border-left: 4px solid #fff;	
}
#wp--skip-link--target {
    margin: 0 auto;
    width: 100%;
    max-width: 800px;	
}
.sensei-block-wrapper {
	background:#FFF;
}

/* お知らせカード全体 */
/* 共通リスト（お知らせ＋個別メッセージ） */
.swpm-notice-list,
.swpm-private-message-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* 共通カード */
.swpm-notice-list li,
.swpm-private-message-list li {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

/* 共通ホバー */
.swpm-notice-list li:hover,
.swpm-private-message-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* 共通日付 */
.swpm-notice-date,
.swpm-private-date {
    display: inline-block;
    font-size: 12px;
    color: #888;
    margin-right: 10px;
}

/* 共通リンク */
.swpm-notice-list a,
.swpm-private-message-list a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 16px;
}

.swpm-notice-list a:hover,
.swpm-private-message-list a:hover {
    text-decoration: underline;
}

.swpm-empty {
    color: #777;
    text-align: center;
    padding: 24px 0;
}
