/*
Theme Name: SuperFlower Member Portal
Theme URI: https://member.superflower.jp/
Author: SuperFlower Association
Description: スーパーフラワー講師専用ポータル用のミニマルテーマ
Version: 1.0
Text Domain: sf-member-portal
*/

/* 全体 */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  background: #f4f4f4;
  color: #111;
}

/* コンテナ */
.sf-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  background: #ffffff;
}

/* ヘッダー ナビ */
.sf-member-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
}

.sf-member-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sf-member-logo-text {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.sf-member-nav-right a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 14px;
  font-size: 13px;
  white-space: nowrap;
}

.sf-member-nav-right a:hover {
  text-decoration: underline;
}

/* 見出し */
h1 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 16px;
}

h2 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
}

/* リスト（考課表・通知表など） */
.sf-section {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: #ffffff;
}

.sf-section h2 {
  margin-top: 0;
  font-size: 18px;
}

.sf-exam-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.sf-exam-list li {
  margin-bottom: 6px;
}

.sf-exam-list a {
  text-decoration: none;
  color: #111;
  border-bottom: 1px dotted rgba(0,0,0,0.2);
}

.sf-exam-list a:hover {
  border-bottom-style: solid;
}

/* 花職人だけ横並びで見やすく */
.sf-exam-list--columns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.sf-exam-list--columns li {
  width: 48%;
}

/* フッター */
.sf-footer {
  text-align: center;
  font-size: 12px;
  color: #666;
  padding: 16px 0 24px;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .sf-member-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 12px;
  }
  .sf-member-nav-right {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .sf-member-nav-right a {
    margin-left: 0;
    padding: 4px 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    font-size: 12px;
  }

  .sf-container {
    padding: 16px 12px 32px;
  }

  .sf-exam-list--columns li {
    width: 100%;
  }
}
/* ===========================
   見出し・タイトル強めに統一
   =========================== */

/* ページタイトル（TOP, 考課表, 通知表など） */
.sf-container h1,
.sf-dashboard h1 {
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3e3e3;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #111;
}

/* TOPのヒーロータイトルだけ少し大きめ */
.sf-hero-title {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* サブタイトル（説明文） */
.sf-hero-subtitle {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}
.sf-hero-note {
  margin: 0;
  font-size: 12px;
  color: #888;
}

/* セクション見出し（カード下の「重要なお知らせ」とか、考課表内のh2など） */
.sf-container h2,
.sf-section h2,
.sf-section--notice h2 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #111;
}

/* カード内タイトル（h2だけど一段下の扱い） */
.sf-card h2 {
  font-size: 16px;
  margin: 4px 0 4px;
  font-weight: 600;
}

/* カードのラベルと説明 */
.sf-card-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
}
.sf-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* スマホ用に少しだけ小さく */
@media screen and (max-width: 768px) {
  .sf-container h1,
  .sf-dashboard h1,
  .sf-hero-title {
    font-size: 22px;
    margin-bottom: 14px;
  }
  .sf-container h2,
  .sf-section h2,
  .sf-section--notice h2 {
    font-size: 16px;
  }
}
/* ===========================
   見出し・タイトル強調（最適化版）
   =========================== */

/* ページ最上部タイトル */
.sf-dashboard h1,
.sf-hero-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  margin: 0 0 18px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e5e5;
  letter-spacing: 0.02em;
}

/* 説明文 */
.sf-hero-subtitle {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #444 !important;
  margin-bottom: 10px !important;
}
.sf-hero-note {
  font-size: 13px !important;
  color: #777 !important;
  margin-bottom: 20px !important;
}

/* カード枠の余白を広げて視認性UP */
.sf-card {
  padding: 26px 24px !important;
}

/* カード内ラベル（補助） */
.sf-card-label {
  font-size: 11px !important;
  letter-spacing: 0.15em;
  color: #999 !important;
  margin-bottom: 8px !important;
  display: inline-block;
}

/* カード内タイトル（コアの見出し） */
.sf-card h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  color: #111 !important;
}

/* カード説明文 */
.sf-card p {
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.7 !important;
}

/* お知らせセクション見出し */
.sf-section--notice h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
  .sf-dashboard h1,
  .sf-hero-title {
    font-size: 26px !important;
  }
  .sf-card {
    padding: 22px 20px !important;
  }
  .sf-card h2 {
    font-size: 18px !important;
  }
}
/* ===== TOPのアクションボタン ===== */
.sf-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.12s ease-out, color 0.12s ease-out, border-color 0.12s ease-out, transform 0.08s ease-out;
}

.sf-btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.sf-btn-primary:hover {
  background: #222;
  border-color: #222;
  transform: translateY(-1px);
}

.sf-btn-secondary {
  background: #fff;
  color: #111;
  border-color: #ccc;
}

.sf-btn-secondary:hover {
  background: #f5f5f5;
  border-color: #bbb;
  transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
  .sf-btn {
    width: 100%;
  }
}
/* ===== 考課表ページ下部の「履歴一覧」ボタン ===== */
.sf-exam-footer-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.sf-exam-footer-actions .sf-btn {
  display: inline-flex;
  min-width: 200px;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #ccc;
  background: #fff;
  color: #111;
  transition: 0.12s;
}

.sf-exam-footer-actions .sf-btn:hover {
  background: #f5f5f5;
  border-color: #bbb;
  transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
  .sf-exam-footer-actions .sf-btn {
    width: 100%;
    min-width: 0;
  }
}
.sf-exam-footer-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.sf-exam-footer-actions .sf-btn {
  display: inline-flex;
  min-width: 200px;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #ccc;
  background: #fff;
  color: #111;
  transition: 0.12s;
}

.sf-exam-footer-actions .sf-btn:hover {
  background: #f5f5f5;
  border-color: #bbb;
  transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
  .sf-exam-footer-actions .sf-btn {
    width: 100%;
    min-width: 0;
  }
}
/* ===== カードを横並び 2列 ===== */
.sf-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.sf-card-link {
  text-decoration: none;
}

.sf-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.15s ease-out, transform 0.15s ease-out;
}

.sf-card:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.sf-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}

.sf-card-desc {
  font-size: 14px;
  color: #333;
}

/* スマホは1列 */
@media screen and (max-width: 768px) {
  .sf-card-grid {
    grid-template-columns: 1fr;
  }
}
