/*
Theme Name: Tutor Courses Only v6
Theme URI: https://example.com/
Author: Kyōhei
Description: Tutor LMSの講座一覧だけを表示するシンプルテーマ（中央コンテナ＋レスポンシブ調整）
Version: 1.5
License: GNU General Public License v2 or later
Text Domain: tutor-courses-only-v6
*/

html, body {
  background: #fff;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  color: #222;
}

/* ---- Header ---- */
header.simple-header {
  width: 100%;
  background: #f7f8fa;
  border-bottom: 1px solid #e6e8eb;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}

header.simple-header .header-inner {
  max-width: 1200px;          /* 中央コンテナ */
  margin: 0 auto;
  padding: 10px 24px;         /* 左右余白 */
  display: flex;
  justify-content: flex-end;  /* PCでは右寄せ */
  align-items: center;
}

header.simple-header .login-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #0073aa;
  border-radius: 8px;
  color: #0073aa;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

header.simple-header .login-btn:hover {
  background: #0073aa;
  color: #fff;
}

/* ---- Main ---- */
main.course-list {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 16px;
}

h1.page-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 22px;
  text-align: center;
  color: #333;
  letter-spacing: 0.05em;
}

.tutor-course-card, .tutor-course-card .tutor-card {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  header.simple-header .header-inner {
    justify-content: center; /* スマホでは中央寄せ */
    padding: 10px 16px;
  }
  header.simple-header .login-btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
  }
  h1.page-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  main.course-list {
    padding: 0 12px;
  }
}
