/* =========================================================
   ジャーナルTOP（coaching/index.html）専用
   公式HPの紺・金を土台に、AI社員3人の色（Yui青・Mio桃・Sora緑）を差し色に使う
   ========================================================= */
:root {
  --primary-color: #112240;
  --primary-hover: #0A192F;
  --accent-color: #8A6A12;
  --heading-color: #0A192F;
}

/* ---------- ヘッダー ---------- */
header .site-title-wrap h1 { color: #0A192F; letter-spacing: .02em; }
header .site-title-wrap p { color: #64748B; }
header { border-bottom: 2px solid #D4AF37 !important; }
.tj-nav { gap: 6px !important; flex-wrap: wrap; }
.tj-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; color: #0A192F !important; font-size: .92rem; }
.tj-nav a:hover { background: #F1F5F9; color: #8A6A12 !important; }
@media (max-width: 768px) {
  .tj-nav { flex-wrap: nowrap; }
  .tj-nav a { min-height: 36px; background: #F1F5F9 !important; border-radius: 999px !important; }
}

/* ---------- 共通見出し ---------- */
.tj-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #8A6A12; }
.tj-sec-title {
  margin: 4px 0 10px; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(22px, 5.2vw, 30px); line-height: 1.45; color: #0A192F; font-weight: 700; border: 0; padding: 0;
}
.tj-sec-lead { margin: 0 0 18px; color: #475569; font-size: 15px; line-height: 1.85; }

/* ---------- ヒーロー ---------- */
.tj-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(212, 175, 55, .20), transparent 60%),
    radial-gradient(700px 360px at -10% 110%, rgba(29, 52, 97, .95), transparent 60%),
    #0A192F;
  padding: 40px 0 44px;
  border-bottom: 1px solid rgba(212, 175, 55, .45);
}
.tj-hero-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .tj-hero { padding: 72px 0; } .tj-hero-in { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.tj-hero-kicker { margin: 0 0 12px; color: #F1D77A; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.tj-hero-title {
  margin: 0; color: #fff; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(32px, 8.4vw, 52px); line-height: 1.35; font-weight: 700; letter-spacing: .02em;
}
.tj-hero-lead { margin: 16px 0 0; color: #CCD6F6; font-size: 16px; line-height: 1.95; max-width: 32em; }
.tj-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tj-hero-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
}
.tj-hero-btn.is-line { background: #06C755; color: #fff; }
.tj-hero-btn.is-gold { background: linear-gradient(135deg, #F7C14B, #F5A623); color: #0A192F; }
.tj-hero-sub { display: inline-block; margin-top: 14px; color: #F1D77A; font-weight: 700; font-size: 15px; text-underline-offset: 4px; }
.tj-hero-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tj-hero-team li { text-align: center; color: #CCD6F6; font-size: 12px; font-weight: 700; }
.tj-hero-team img {
  width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #fff;
  border: 3px solid #D4AF37; margin-bottom: 6px;
}
.tj-hero-team .is-yui img { border-color: #93C5FD; }
.tj-hero-team .is-mio img { border-color: #F9A8D4; }
.tj-hero-team .is-sora img { border-color: #6EE7B7; }
@media (min-width: 900px) {
  .tj-hero-team { grid-template-columns: 1fr 1fr; gap: 18px 22px; }
  .tj-hero-team li { font-size: 14px; }
}

/* ---------- チーム紹介 ---------- */
.tj-team-sec { background: #F8FAFC; padding: 48px 0; border-bottom: 1px solid #E2E8F0; }
.tj-coach {
  display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center;
  background: #fff; border: 1px solid #E2E8F0; border-top: 4px solid #D4AF37; border-radius: 16px; padding: 20px;
  box-shadow: 0 8px 24px rgba(10, 25, 47, .06); margin-bottom: 16px;
}
@media (min-width: 700px) { .tj-coach { grid-template-columns: 140px 1fr; padding: 24px 28px; } }
.tj-coach img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid #D4AF37; }
.tj-coach h3 { margin: 2px 0 8px; font-size: 21px; color: #0A192F; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }
.tj-coach p { margin: 0; color: #334155; font-size: 15px; line-height: 1.85; }
.tj-role { margin: 0; font-size: 12.5px; font-weight: 700; color: #8A6A12; letter-spacing: .06em; }
.tj-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.tj-links a { display: inline-flex; align-items: center; min-height: 40px; color: #112240; font-weight: 700; font-size: 14px; }
.tj-crew { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tj-crew { grid-template-columns: repeat(3, 1fr); } }
.tj-crew-card {
  display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 20px;
  border-top: 4px solid var(--c, #2563EB); box-shadow: 0 8px 24px rgba(10, 25, 47, .06);
}
.tj-crew-card.is-yui { --c: #2563EB; }
.tj-crew-card.is-mio { --c: #DB2777; }
.tj-crew-card.is-sora { --c: #059669; }
.tj-crew-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c); margin-bottom: 6px; }
.tj-crew-card h3 { margin: 0; font-size: 20px; color: #0A192F; }
.tj-crew-card .tj-role { color: var(--c); }
.tj-crew-card .tj-charge { margin: 0; font-size: 14px; font-weight: 700; color: #0A192F; }
.tj-crew-card p { margin: 0; font-size: 14.5px; line-height: 1.8; color: #475569; }
.tj-crew-btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px;
  border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none;
}
.tj-crew-card p + .tj-crew-btn { margin-top: 12px; }
.tj-crew-sub { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; color: var(--c); font-weight: 700; font-size: 14px; }

/* ---------- 1分つまずき診断 ---------- */
.tj-check {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 24px 18px; margin-bottom: 36px;
  box-shadow: 0 8px 24px rgba(10, 25, 47, .05);
}
.tj-check .tmps-scanner-card { background: #0A192F !important; border-color: #D4AF37 !important; box-shadow: none !important; }
.tj-check .scanner-header { color: #F1D77A !important; }
.tj-scan-lead { font-size: .9rem; color: #CCD6F6; margin: 0 0 14px; line-height: 1.7; }
.tj-check .scanner-btn { background: linear-gradient(135deg, #F7C14B, #F5A623) !important; color: #0A192F !important; min-height: 48px; font-weight: 800; }
.tj-check .scanner-select { min-height: 46px; font-size: 15px !important; }
.tj-scan-actions { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 600px) { .tj-scan-actions { grid-template-columns: 1fr 1fr; } }
.tj-scan-actions a {
  display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; text-decoration: none !important;
}
.tj-scan-actions .is-line { background: #06C755; color: #fff !important; }
.tj-scan-actions .is-gold { background: linear-gradient(135deg, #F7C14B, #F5A623); color: #0A192F !important; }
.tj-scan-who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tj-scan-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #D4AF37; background: #fff; }
.tj-scan-who b { color: #fff; font-size: 15px; }
.tj-scan-who small { display: block; color: #A8B2D1; font-size: 12px; font-weight: 500; }

/* ---------- 最新記事のチップ ---------- */
.tj-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; margin: 0 0 4px; scrollbar-width: none; }
.tj-chips::-webkit-scrollbar { display: none; }
.tj-chip {
  flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #CBD5E1; background: #fff;
  color: #0A192F; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
}
.tj-chip[aria-pressed="true"] { background: #0A192F; border-color: #0A192F; color: #fff; }
.tj-filter-status { margin: 0 0 12px; font-size: 13px; color: #64748B; min-height: 1.4em; }
.tj-more {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin: 6px 0 24px;
  border-radius: 999px; border: 1.5px solid #0A192F; background: #fff; color: #0A192F; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
}
.tj-more:hover { background: #F8FAFC; }
.tj-hidden { display: none !important; }

/* ---------- 学びの部屋 ---------- */
.tj-rooms { margin-bottom: 45px; }
.tj-rooms .library-banner-section { margin-bottom: 16px; }

/* ---------- サイドバーのチーム ---------- */
.tj-side-team ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tj-side-team a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 4px; border-radius: 10px; text-decoration: none; color: #0A192F; }
.tj-side-team a:hover { background: #F8FAFC; }
.tj-side-team img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #D4AF37; flex: none; }
.tj-side-team span { font-size: 12.5px; color: #64748B; line-height: 1.5; }
.tj-side-team b { display: block; font-size: 15px; color: #0A192F; }

/* グリッドの子要素が中身の幅で横に広がらないようにする（スマホのはみ出し防止） */
.main-grid > main, .main-grid > aside { min-width: 0; }
@media (max-width: 768px) { .main-grid { padding-left: 12px !important; padding-right: 12px !important; } }

@media (min-width: 769px) {
  .tj-nav { flex-wrap: nowrap; }
  .tj-nav a { padding: 0 8px; font-size: .88rem; white-space: nowrap; }
}
@media (min-width: 900px) {
  .tj-hero-team { max-width: 400px; justify-self: center; }
}
