/* ===== ルーツご利用案内ページ 共通ラッパー ===== */
.roots-guide {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-size: 15px;
  line-height: 1.8;
}

/* ===== ヘッダー ===== */
.roots-header {
  text-align: left;
  margin-bottom: 24px;
}

.roots-header h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.roots-header p {
  color: #555;
}

/* ===== 目次ナビ ===== */
.roots-nav {
  margin-bottom: 24px;
  padding: 12px 12px;
  border-radius: 12px;
  background: #f5f7fb;
}

.roots-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roots-nav li {
  margin: 0;
}

.roots-nav a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d0d7f0;
  font-size: 0.85rem;
  text-decoration: none;
  color: #3b4a7a;
}

.roots-nav a:hover {
  background: #e3e8ff;
}

/* ===== セクション共通 ===== */
.roots-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 14px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.roots-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.roots-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e0ebff;
  color: #1f3b8f;
  font-weight: 700;
  font-size: 0.9rem;
}

.roots-section-header h2 {
  font-size: 1.1rem;
  margin: 0;
}

.roots-section-header p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: #666;
}

/* ===== ブロック（セクション内の箱） ===== */
.roots-block {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid #f1f2f5;
  background: #fafbff;
  margin-bottom: 10px;
}

.roots-block-highlight {
  background: #fef7e7;
  border-color: #f8e1a0;
}

.roots-block-accent {
  background: #f3f5ff;
  border-color: #cfd7ff;
}

.roots-block-note {
  background: #f7f8fc;
  border-style: dashed;
}

.roots-subtitle {
  font-size: 0.95rem;
  margin: 0 0 6px;
}

/* 2カラムブロック（スマホでは縦並び） */
.roots-block-split {
  display: grid;
  gap: 10px;
}

/* ===== テキスト・リスト ===== */
.roots-target {
  margin: 4px 0 0;
  font-weight: 600;
}

.roots-list {
  margin: 4px 0 0;
  padding-left: 1.2em;
}

.roots-list li {
  margin-bottom: 4px;
}

.roots-note-small {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #777;
}

/* ===== コースカード ===== */
.roots-course-grid {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.course-card {
  border-radius: 12px;
  border: 1px solid #e5e7f3;
  background: #fff;
  padding: 10px 10px;
}

.course-card h4 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}

.course-main {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.course-main span {
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 4px;
}

.course-sub {
  font-size: 0.8rem;
  color: #666;
}

/* ===== フロー（ご入会の流れ） ===== */
.roots-flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 12px;
  background: #f9fafc;
  border: 1px solid #eceff7;
  margin-bottom: 6px;
}

.flow-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e3e8ff;
  color: #1f3b8f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.flow-step-body h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.flow-step-body p {
  margin: 0;
  font-size: 0.85rem;
}

/* ===== レスポンシブ調整 ===== */
@media (min-width: 640px) {
  .roots-guide {
    padding: 32px 16px 64px;
    font-size: 15px;
  }

  .roots-header h1 {
    font-size: 1.8rem;
  }

  .roots-section {
    padding: 20px 18px 22px;
  }

  .roots-block-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roots-course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.season-lp {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  color: #222;
  line-height: 1.7;
}

/* 共通 */
section {
  padding: 48px 20px;
  max-width: 720px;
  margin: 0 auto;
}

h1, h2, h3 {
  line-height: 1.4;
}

h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

/* HERO */
.hero h1 {
  font-size: 28px;
}
.hero-sub {
  margin-top: 16px;
  color: #555;
}

/* チラシ */
.flyer img {
  width: 100%;
  display: block;
}

/* 共感 */
.empathy-lead {
  font-weight: 600;
}
.empathy ul {
  margin-top: 12px;
}
.empathy li {
  list-style: disc;
  margin-left: 20px;
  color: #555;
}

/* ワーク */
.work-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.work-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
  background: #f7f7f7;
  border-radius: 16px;
  padding: 16px;
}
.work-card img {
  width: 100%;
  border-radius: 12px;
}
.work-card h3 {
  margin-top: 12px;
}
.desc {
  font-size: 14px;
  margin: 8px 0;
}
.fit {
  font-size: 13px;
  color: #555;
}
.fit li {
  list-style: none;
}

/* ワーク注記 */
.work-note {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
}

/* 写真 */
.photo-note {
  font-size: 14px;
  color: #555;
}

/* 考え方 */
.concept {
  background: #fafafa;
  text-align: center;
}

/* Q&A */
.qa details {
  margin-top: 12px;
}
.qa summary {
  font-weight: 600;
  cursor: pointer;
}

/* CTA */
.cta {
  text-align: center;
}
.cta a {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 28px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}
