/* ===================================================
   SHODO FAM LP デザインシステム (Snippet 73)
   目次:
   1. デザイントークン
   2. LP全体フォント・レイアウト
   3. セクションタイトル (H2統一)
   4. カード・チェックリスト・マーカー
   5. 理由カード
   6. コースカード
   7. ヒーローセクション (PC/SP統合)
   8. ご利用の流れ (インラインから移動)
   9. FAQ (インラインから移動)
   10. CTAボタン・CTA帯
   11. LP専用ヘッダー・ナビ
   12. モバイルメニュー
   13. 追従ヘッダー
   14. アニメーション・セクション背景
   15. モバイルタイプスケール
   =================================================== */

/* ========== 1. デザイントークン ========== */
:root {
  --sf-blue: #1cb0f8;
  --sf-blue-text: #0369a1;
  --sf-navy: #003450;
  --sf-bg-light: #f3fbfe;
  --sf-bg-accent: #eaf6fd;
  --sf-white: #ffffff;
  --sf-text: #212121;
  --sf-text-light: #666666;
  --sf-yellow: rgb(255, 255, 38);
  --sf-border: rgba(28, 176, 248, 0.15);
  --sf-radius-lg: 16px;
  --sf-radius: 12px;
  --sf-radius-sm: 8px;
  --sf-shadow: 0 2px 16px rgba(0, 52, 80, 0.07);
  --sf-shadow-hover: 0 6px 24px rgba(0, 52, 80, 0.12);
  --sf-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sf-space-xs: 8px;
  --sf-space-sm: 16px;
  --sf-space-md: 24px;
  --sf-space-lg: 40px;
  --sf-space-xl: 56px;
}

/* ========== 2. LP全体フォント・レイアウト ========== */
.post_content:has(.sf-section-title) p,
.post_content:has(.sf-section-title) li {
  font-weight: 700;
}
.post_content:has(.sf-section-title) h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}
.post_content:has(.sf-section-title) h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
}
body:has(.sf-section-title) .l-content,
body:has(.sf-section-title) .l-mainContent,
body:has(.sf-section-title) .l-mainContent__inner,
body:has(.sf-section-title) .l-article,
body:has(.sf-section-title) .post_content,
body:has(.sf-section-title) #breadcrumb {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body:has(.sf-section-title) .l-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body:has(.sf-section-title) #content {
  margin-top: 0;
  padding-top: 0;
}
body:has(.sf-section-title) .c-pageTitle {
  display: none;
}
@media (max-width: 768px) {
  .post_content:has(.sf-section-title) h3 {
    font-size: 19px !important;
  }
  .post_content:has(.sf-section-title) h4 {
    font-size: 16px !important;
  }
}

/* ========== 3. セクションタイトル (H2統一) ========== */
.sf-section-title,
.post_content h2.sf-section-title {
  text-align: center;
  color: var(--sf-navy);
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: var(--sf-space-lg);
  position: relative;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}
.sf-section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--sf-blue);
  border-radius: 2px;
  margin: 12px auto 0;
}
.sf-section-title .accent {
  color: var(--sf-blue);
}
@media (min-width: 769px) {
  .sf-section-title,
  .post_content h2.sf-section-title {
    font-size: 32px !important;
    line-height: 1.4 !important;
  }
}

/* ========== 4. カード・チェックリスト・マーカー ========== */
.sf-card {
  background: var(--sf-white);
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow);
  padding: var(--sf-space-md);
  transition: box-shadow var(--sf-transition), transform var(--sf-transition);
  overflow: visible;
}
.sf-card:hover {
  box-shadow: var(--sf-shadow-hover);
}
.sf-card--outline {
  background: var(--sf-white);
  border: 2px solid var(--sf-border);
  border-radius: var(--sf-radius);
  padding: var(--sf-space-md);
  box-shadow: none;
}
.sf-card--glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow);
  padding: var(--sf-space-md);
}

/* チェックリスト */
.sf-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sf-checklist li {
  position: relative;
  padding: 14px 16px 14px 44px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sf-text);
  border-bottom: 1px dashed rgba(0, 52, 80, 0.1);
}
.sf-checklist li:last-child {
  border-bottom: none;
}
.sf-checklist li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--sf-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 769px) {
  .sf-checklist li {
    font-size: 17px;
    padding: 16px 20px 16px 52px;
  }
  .sf-checklist li::before {
    left: 16px;
    width: 26px;
    height: 26px;
    background-size: 16px;
  }
}

/* 強調マーカー */
.sf-marker {
  background: linear-gradient(transparent 60%, #FCD34D 60%);
  padding: 0 2px;
}

/* ========== 5. 理由カード ========== */
.sf-reason-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sf-space-md);
  padding: var(--sf-space-md);
}
.sf-reason-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--sf-blue);
  color: var(--sf-white);
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1;
}
.sf-reason-num span {
  font-size: 1em;
  font-weight: 800;
  display: block;
  margin-bottom: -2px;
}
.sf-reason-body {
  flex: 1;
}
.sf-reason-body h3 {
  color: var(--sf-navy);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}
.sf-reason-body p {
  color: var(--sf-text);
  font-size: 15px;
  line-height: 1.8;
}
.sf-reason-img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}
.sf-reason-img img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 769px) {
  .sf-reason-card {
    flex-direction: row;
    text-align: left;
    padding: var(--sf-space-lg);
  }
  .sf-reason-card--reverse {
    flex-direction: row-reverse;
  }
  .sf-reason-img {
    max-width: 280px;
  }
  .sf-reason-body h3 {
    font-size: 21px;
  }
  .sf-reason-body p {
    font-size: 17px;
  }
}

/* ========== 6. コースカード ========== */
.sf-course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sf-space-md);
  max-width: 900px;
  margin: var(--sf-space-xl) auto 0;
}
.sf-course-cards .sf-course-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--sf-white);
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow);
  border: none;
  padding: var(--sf-space-md);
  text-align: center;
  transition: box-shadow var(--sf-transition), transform var(--sf-transition);
  overflow: visible;
}
.sf-course-card:hover {
  box-shadow: var(--sf-shadow-hover);
  transform: translateY(-2px);
}
.sf-course-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}
.sf-course-title {
  color: var(--sf-blue-text) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  border: none !important;
  padding: 0 !important;
  background: none !important;
  line-height: 1.4;
}
.sf-course-title::before { display: none !important; content: none !important; }
.sf-course-desc {
  font-size: 15px;
  color: var(--sf-text);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .sf-course-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sf-course-cards .sf-course-card {
    display: grid !important;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto 1fr;
    gap: 4px 16px;
    align-items: start;
    text-align: left;
    padding: 16px;
  }
  .sf-course-cards .sf-course-card .sf-course-img {
    grid-row: 1 / 3;
    align-self: center;
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
  }
  .sf-course-cards .sf-course-card .sf-course-title {
    text-align: left !important;
    margin: 0 !important;
    align-self: end;
  }
  .sf-course-cards .sf-course-card .sf-course-desc {
    text-align: left;
    font-size: 15px;
    line-height: 1.7;
    align-self: start;
  }
}

/* ========== 7. ヒーローセクション ========== */

/* フルワイドブレイクアウト */
.sf-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0;
  position: relative;
}

/* PC/SP切替 */
.sf-hero__pc { display: none; }
.sf-hero__sp { display: block; }
@media (min-width: 769px) {
  .sf-hero__pc { display: block; }
  .sf-hero__sp { display: none; }
}

/* --- PC Hero --- */
.sf-hero__pc {
  background: linear-gradient(180deg, #e8f4fd 0%, #f0f8ff 60%, #fff 100%);
  padding: 80px 40px 64px;
  overflow: hidden;
}
.sf-hero__pc-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: center;
  gap: 56px;
}
.post_content .sf-hero__heading {
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.3;
  border: none;
  padding: 0 0 12px;
  background: none;
  border-bottom: none;
  display: inline-block;
}
.sf-hero__heading::before { display: none; }
.sf-hero__heading-accent {
  color: var(--sf-navy, #003450);
}
.sf-hero__sub {
  font-size: 24px;
  font-weight: 700;
  color: var(--sf-navy, #003450);
  line-height: 1.8;
  margin: 8px 0 28px;
}
.sf-hero__pc-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--sf-radius, 12px);
}
.sf-hero__pc .sf-hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.sf-hero__pc .sf-feature-item {
  background: #fff;
  border-radius: var(--sf-radius, 12px);
  padding: 20px 16px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 52, 80, 0.06);
  border: 1px solid rgba(0, 52, 80, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sf-hero__pc .sf-feature-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
}
.sf-hero__pc .sf-hero__feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sf-navy, #003450);
  line-height: 1.4;
  margin-bottom: 6px;
}
.sf-hero__pc .sf-hero__feature-desc {
  font-size: 12px;
  font-weight: 700;
  color: var(--sf-navy, #003450);
  line-height: 1.5;
}

/* --- SP Hero --- */
.sf-hero__sp {
  background-image: url('https://shodo-fam.com/wp-content/uploads/2026/03/c478b1a6dedb96603a486610161ab963.png'), url('https://shodo-fam.com/wp-content/uploads/2026/03/washi-texture.png'), linear-gradient(135deg, #f5f0e8 0%, #e8f0f8 50%, #d4e8f5 100%);
  background-repeat: no-repeat, repeat, no-repeat;
  background-size: auto 100svh, 600px 600px, cover;
  background-position: right -200px bottom, 0 0, center;
  min-height: 100svh;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 16px 3svh;
  margin-top: calc(-1 * var(--sf-header-h, 58px));
}
.sf-hero__sp .sf-hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.sf-hero__sp .sf-feature-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
}
.sf-hero__sp .sf-feature-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
}
.sf-hero__sp .sf-hero__feature-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sf-navy, #003450);
  margin-bottom: 3px;
}
.sf-hero__sp .sf-hero__feature-desc {
  font-size: 11px;
  font-weight: 700;
  color: var(--sf-navy, #003450);
  line-height: 1.4;
}

/* --- バッジ --- */
.sf-hero__badge {
  display: inline-block;
  background: #fff;
  border-radius: 6px;
  padding: 0.1em 0.6em;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  color: var(--sf-navy, #003450);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sf-hero__badge--blue {
  display: inline-block;
  background: var(--sf-blue, #1cb0f8);
  color: #fff;
  border-radius: 8px;
  padding: 0.1em 0.6em 0.1em 0.4em;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* --- CTAボタン（ヒーロー共通） --- */
.sf-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 0;
  background: linear-gradient(180deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: none;
  width: 480px;
  max-width: 100%;
  transition: all 0.25s ease;
  margin-top: 16px;
}
.sf-hero__cta:hover {
  background: linear-gradient(180deg, #e8920a 0%, #ea6c0e 100%);
  transform: translateY(-1px);
  box-shadow: none;
  color: #fff;
}
.sf-hero__cta svg {
  flex-shrink: 0;
}

/* --- SP Hero レスポンシブ --- */
@media (max-width: 768px) {
  .sf-hero__sp {
    padding: 0 16px 3svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .sf-hero__badge {
    font-size: 16px;
  }
  .sf-hero__badge--blue {
    font-size: clamp(28px, 8vw, 40px);
  }
  .sf-hero__cta {
    font-size: 16px;
    padding: 14px 32px;
    width: 100%;
    justify-content: center;
  }
}

/* ========== 8. ご利用の流れ ========== */
.sf-flow-section h2.sf-section-title {
  margin-bottom: 12px !important;
}
.sf-flow-sub {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #003450;
  margin: 0 0 40px;
}
.sf-flow-inner { max-width: 900px; margin: 0 auto; }
.sf-flow-steps {
  display: flex;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.sf-flow-step {
  flex: 1;
  text-align: center;
  background: #fff;
  border-radius: var(--sf-radius);
  padding: 0;
  box-shadow: var(--sf-shadow);
  position: relative;
  overflow: hidden;
}
.sf-flow-step-img-wrap {
  position: relative;
  overflow: hidden;
}
.sf-flow-step-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.sf-flow-step-num {
  position: absolute;
  top: -4px;
  left: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #1cb0f8;
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(28,176,248,0.3);
}
.sf-flow-step-body {
  padding: 24px 20px 32px;
  text-align: left;
}
.sf-flow-step h4 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #003450 !important;
  margin: 0 0 12px !important;
  border: none !important;
  padding: 0 !important;
  background: none !important;
  text-align: center;
}
.sf-flow-step h4::before { display: none !important; content: none !important; }
.sf-flow-step p {
  font-size: 15px;
  font-weight: 700;
  color: #003450;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}
.sf-flow-step-arrow {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #1cb0f8;
  z-index: 1;
}
@media (max-width: 768px) {
  .sf-flow-steps { flex-direction: column; gap: 16px; }
  .sf-flow-step-arrow { display: none; }
  .sf-flow-step-img { height: 180px; }
  .sf-flow-step-body { padding: 20px 16px 28px; }
}

/* ========== 9. FAQ ========== */
.sf-faq-section h2.sf-section-title {
  margin-bottom: 12px !important;
}
.sf-faq-section h2 .accent { color: #1cb0f8; }
.sf-faq-inner { max-width: 900px; margin: 0 auto; }
.sf-faq-list { max-width: 900px; margin: 24px auto 0; }
.sf-faq-list details {
  background: #fff;
  border-radius: var(--sf-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--sf-shadow);
}
.sf-faq-list details > summary {
  list-style: none;
  padding: 18px 48px 18px 20px;
  font-weight: 700;
  font-size: 16px;
  color: #003450;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sf-faq-list details > summary::-webkit-details-marker { display: none; }
.sf-faq-list details > summary::marker { display: none; content: ""; }
.sf-faq-list details > summary::before {
  content: "Q";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #1cb0f8;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.sf-faq-list details > summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 22px;
  color: #1cb0f8;
  transition: transform 0.3s;
}
.sf-faq-list details[open] > summary::after {
  transform: rotate(45deg);
}
.sf-faq-list .sf-faq-a {
  padding: 0 20px 18px 60px;
  font-size: 15px;
  font-weight: 700;
  color: #003450;
  line-height: 1.7;
}
/* セクションサブタイトル */
.sf-section-sub {
  text-align: center;
  color: var(--sf-blue);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sf-space-md);
}
/* セクション説明文 */
.sf-section-desc {
  text-align: center;
  font-size: 0.95rem;
  color: var(--sf-text);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto var(--sf-space-lg);
}
/* 今こそセクション本文 */
.sf-closing-text {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--sf-navy);
  font-size: 0.95rem;
  line-height: 1.9;
}
.sf-closing-text p + p {
  margin-top: 1em;
}

/* ========== 10. CTAボタン・CTA帯 ========== */
/* ========== 11. LP専用ヘッダー・ナビ ========== */
body:has(.sf-section-title) #gnav,
body:has(.sf-section-title) .c-catchphrase,
body:has(.sf-section-title) .w-header,
body:has(.sf-section-title) .l-header__customBtn {
  display: none !important;
}
.sf-lp-nav {
  display: none;
}
body:has(.sf-section-title) .sf-lp-nav {
  display: flex !important;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.sf-lp-nav__link {
  display: inline-block;
  padding: 8px 14px;
  color: #333;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.sf-lp-nav__link:hover {
  color: #1cb0f8;
}
.sf-lp-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding: 10px 22px;
  background: linear-gradient(180deg, #f59e0b 0%, #f97316 100%);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none !important;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: none;
  transition: all 0.25s ease;
  letter-spacing: 0.03em;
}
.sf-lp-nav__cta:hover {
  background: linear-gradient(180deg, #e8920a 0%, #ea6c0e 100%);
  transform: translateY(-1px);
  box-shadow: none;
  color: #fff !important;
}
body:has(.sf-section-title) #header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sf-lp-nav__arrow {
  vertical-align: middle;
  margin-left: 2px;
}

/* ========== 12. モバイルメニュー ========== */
body:has(.sf-section-title) .l-header__menuBtn {
  display: none !important;
}
.sf-lp-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 8px;
  margin-left: 4px;
  width: 29px;
  height: 22px;
  margin-right: 12px;
  flex-shrink: 0;
}
.sf-lp-burger span {
  display: block;
  width: 29px;
  height: 3px;
  background: #333;
  transition: 0.3s;
  border-radius: 1px;
  position: absolute;
  left: 0;
}
.sf-lp-burger span:nth-child(1) {
  top: 3px;
}
.sf-lp-burger span:nth-child(2) {
  top: 11px;
}
.sf-lp-burger span:nth-child(3) {
  top: 19px;
}
.sf-lp-burger.is-active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
.sf-lp-burger.is-active span:nth-child(2) {
  opacity: 0;
}
.sf-lp-burger.is-active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}
.sf-lp-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 999;
}
.sf-lp-mobile-menu.is-open {
  display: block;
}
.sf-lp-mobile-menu a {
  display: block;
  padding: 14px 24px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}
.sf-lp-mobile-menu a:last-child {
  border-bottom: none;
}
.sf-lp-mobile-menu a:hover,
.sf-lp-mobile-menu a:active {
  background: #f8f8f8;
  color: #1cb0f8;
}

/* ========== 13. 追従ヘッダー ========== */
body:has(.sf-section-title) .l-fixHeader__gnav {
  display: none !important;
}
body:has(.sf-section-title) .l-fixHeader .sf-lp-nav {
  display: flex !important;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
body:has(.sf-section-title) #fix_header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ========== 14. アニメーション・セクション背景 ========== */
.sf-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.sf-animate.sf-visible {
  opacity: 1;
  transform: translateY(0);
}
.sf-animate[data-delay="1"] { transition-delay: 0.1s; }
.sf-animate[data-delay="2"] { transition-delay: 0.2s; }
.sf-animate[data-delay="3"] { transition-delay: 0.3s; }

/* ========== 15. モバイルタイプスケール ========== */
/* SWELLのvw基準root計算でremが不安定なため、LP内は全てpx指定で最低可読サイズを保証 */
@media (max-width: 768px) {
  /* コースカード */
  .sf-course-cards .sf-course-card .sf-course-title { font-size: 15px !important; }
  .sf-course-cards .sf-course-card .sf-course-desc { font-size: 14px !important; }
  /* 選ばれる理由（※ヒーローは別クラスなので競合しない） */
  .sf-feature-title { font-size: 14px !important; }
  .sf-feature-text { font-size: 13px !important; }
  .sf-reason-body h3 { font-size: 15px !important; }
  /* 監修講師 */
  .instructor-message { font-size: 13px !important; }
  .role-label { font-size: 11px !important; }
  .instructor-image { width: 80px !important; min-width: 80px !important; }
  .instructor-image img { width: 80px !important; height: 80px !important; }
  .instructor-top { gap: 12px !important; }
  .instructor-title { font-size: 13px !important; line-height: 1.6; }
  /* 受講者の声 */
  .voice-text { font-size: 13px !important; }
  .voice-name { font-size: 13px !important; }
  /* ご利用の流れ */
  .sf-flow-step h4 { font-size: 15px !important; }
  .sf-flow-step p { font-size: 13px !important; }
  .sf-flow-sub { font-size: 13px !important; }
  /* 比較表 */
  .compare-table td, .compare-table th { font-size: 13px !important; }
  /* FAQ */
  .sf-faq-list summary { font-size: 14px !important; }
  .sf-faq-a { font-size: 13px !important; }
  /* セクション本文 */
  p.sf-animate { font-size: 14px !important; }
  h2.sf-section-title + p { font-size: 14px !important; }
  h2.sf-section-title + p + p { font-size: 14px !important; }
/* ヘッダー */
  body:has(.sf-section-title) .sf-lp-nav__link { display: none; }
  body:has(.sf-section-title) .sf-lp-nav__cta { font-size: 11px; padding: 7px 14px; margin-left: 4px; letter-spacing: 0; }
  body:has(.sf-section-title) .sf-lp-nav { margin-left: auto; margin-right: 8px; }
  body:has(.sf-section-title) .c-headLogo__link img { max-width: 100px; height: auto; }
  body:has(.sf-section-title) #header .l-header__inner { padding-top: 10px; padding-bottom: 10px; }
  body:has(.sf-section-title) #header { background: transparent !important; box-shadow: none !important; }
  body:has(.sf-section-title) #fix_header { background: transparent !important; box-shadow: none !important; }
  /* バーガーメニュー */
  body:has(.sf-section-title) .sf-lp-burger { display: block; }
  body:has(.sf-section-title) .l-fixHeader .l-header__menuBtn,
  body:has(.sf-section-title) #fix_header .l-header__menuBtn { display: none !important; }
  body:has(.sf-section-title) .l-fixHeader .sf-lp-burger,
  body:has(.sf-section-title) #fix_header .sf-lp-burger { display: block; }
}


/* ========== sf-section (フルワイドセクション) ========== */
.sf-section {
  padding: 80px 20px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
}
.sf-section__inner {
  max-width: 900px;
  margin: 0 auto;
}
.sf-section--light {
  background-color: var(--sf-bg-light);
}
.sf-section--wave::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 30px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}
.post_content .sf-section {
  margin-top: 0;
  margin-bottom: 0;
}
.sf-section * { box-sizing: border-box; }
@media (max-width: 768px) {
  .sf-section {
    padding: 48px 16px;
  }
}

/* ========== sf-cta-belt (CTA帯) ========== */
.sf-cta-belt {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 80px 20px;
  background-image: url("https://shodo-fam.com/wp-content/uploads/2025/06/12568986694088e508dfa89fc58a0dd8.svg");
  background-size: cover;
  background-position: center;
  text-align: center;
}
.sf-cta-belt__decor--pc {
  display: block;
  height: 70px;
  width: auto;
  margin: 0 auto 16px;
}
.sf-cta-belt__decor--sp {
  display: none;
}
@media (max-width: 768px) {
  .sf-cta-belt {
    padding: 48px 16px;
  }
  .sf-cta-belt__decor--pc {
    display: none;
  }
  .sf-cta-belt__decor--sp {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto 16px;
  }
}
.sf-cta-belt__text {
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.6;
}
.sf-cta-belt__highlight {
  font-size: 1.25rem;
  color: #fcfb16;
}
.sf-cta-belt__white {
  font-size: 1.1rem;
  color: #fff;
}
.sf-cta-belt__white--xl {
  font-size: 1.25rem;
}
.post_content .sf-cta-belt {
  margin-top: 0;
  margin-bottom: 0;
}

/* ========== sf-cta-btn (CTAボタン) ========== */
.sf-cta-wrap {
  text-align: center;
}
.sf-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 0;
  background: linear-gradient(180deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: none;
  width: 480px;
  max-width: 100%;
  transition: all 0.25s ease;
  border: none;
}
.sf-cta-btn:hover {
  background: linear-gradient(180deg, #e8920a 0%, #ea6c0e 100%);
  transform: translateY(-1px);
  box-shadow: none;
  color: #fff;
}
.sf-cta-btn--lg {
  padding: 16px 48px;
  font-size: 18px;
}
@media (max-width: 768px) {
  .sf-cta-btn--lg {
    font-size: 15px;
    padding: 14px 32px;
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   LP固有コンポーネント（スニペット35から移動）
   ============================================================ */

/* ------------------------------------------------------------
   14. 無限スクロール (13367, 13389, 13394.css merged)
   ------------------------------------------------------------ */

@keyframes infinity-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes infinity-scroll-right {
  from { transform: translateX(-100%); }
  to { transform: translateX(0%); }
}

.scroll-infinity {
  overflow: hidden;
  width: 100%;
  padding: 16px 0;
  background: transparent;
}
.scroll-infinity + .scroll-infinity {
  margin-top: -24px;
}

.scroll-infinity__wrap {
  display: flex;
  width: max-content;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s linear infinite;
}

.scroll-infinity__list--right {
  animation: infinity-scroll-right 40s linear infinite;
}

.scroll-infinity__item {
  flex-shrink: 0;
  padding-right: 16px;
}

.scroll-infinity__item img {
  display: block;
  width: auto;
  height: 120px;
  object-fit: cover;
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow);
  transition: transform 0.3s ease;
}

.scroll-infinity__item img:hover {
  transform: scale(1.03);
}

.alignfull > .wp-block-cover__inner-container > .scroll-infinity,
.alignfull > .wp-block-group__inner-container > .scroll-infinity,
.swell-block-fullWide__inner > .scroll-infinity {
  margin-bottom: 1em !important;
}

/* ------------------------------------------------------------
   15. 受講者の声 (12610.css)
   ------------------------------------------------------------ */

.voice-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 0;
}

.voice-card {
  width: calc(50% - 20px);
  margin-bottom: 0;
}

.voice-balloon {
  position: relative;
  background-color: #fff;
  box-shadow: var(--sf-shadow);
  border-radius: var(--sf-radius);
  font-weight: bold;
  font-size: 17px;
  line-height: 1.45;
  padding: 15px 20px 15px 16px;
}

.voice-balloon::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 48px;
  width: 36px;
  height: 30px;
  background-image: url('https://palmie.s3-ap-northeast-1.amazonaws.com/v2/subscriptions/lp/06_voice/balloon-tail.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  transform: translateX(-50%);
  pointer-events: none;
}

.voice-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
  margin-top: 24px;
  padding-left: 0;
}

.voice-icon-container {
  text-align: center;
  width: 95px;
  flex-shrink: 0;
}

.voice-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #003450;
}

.voice-name {
  margin-top: 0;
  font-size: 0.9rem;
  font-weight: normal;
  line-height: 1.2;
}

.voice-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

@media screen and (max-width: 1023px) {
  .voice-container {
    padding: 0;
  }

  .voice-card {
    width: 100%;
    margin-bottom: 0;
  }

  .voice-balloon {
    font-size: 15px;
    padding: 12px 16px 12px 14px;
    line-height: 1.4;
  }

  .voice-balloon::after {
    left: 44px;
  }

  .voice-flex {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    margin-top: 24px;
    gap: 8px;
    padding-left: 0;
  }

  .voice-icon-container {
    width: 85px;
  }

  .voice-icon {
    width: 78px;
    height: 78px;
    border: 2px solid #003450;
  }

  .voice-name {
    margin-top: 0;
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .voice-text {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

/* ------------------------------------------------------------
   16. 講師紹介カード (13511.css)
   ------------------------------------------------------------ */

.instructor-card {
  max-width: 700px;
  margin: 24px auto;
  padding: 20px 40px;
  background: #fff;
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow);
  text-align: left;

}

.instructor-top {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.instructor-image {
  width: 120px;
  min-width: 120px;
}

.instructor-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sf-blue);
}

.instructor-info {
  flex: 1;
}

.name-and-role {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.instructor-name {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--sf-text);
  margin: 0;
}

.role-label {
  background-color: var(--sf-blue);
  color: #fff;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  font-size: 0.8em;
  white-space: nowrap;
}

.instructor-title {
  font-size: 0.95em;
  color: var(--sf-text-light);
  margin: 0.3em 0 0 0;
}

.instructor-message {
  margin-top: 1.5em;
  font-size: 1em;
  line-height: 1.7;
  color: var(--sf-text);
}

@media (max-width: 768px) {
  .instructor-card {
    padding: 20px 20px;
  }
}

/* ------------------------------------------------------------
   17. 料金ボックス (14445.css - newer version with #1cb0f8)
   ------------------------------------------------------------ */

.sf-price-box {
  background: var(--sf-bg-light);
  border: 2px solid var(--sf-blue);
  border-radius: var(--sf-radius);
  padding: 20px 24px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  font-family: "Yu Gothic", sans-serif;
  position: relative;
}

.sf-price-badge {
  display: inline-block;
  background: var(--sf-blue);
  color: #fff;
  font-weight: bold;
  padding: 4px 36px;
  border-radius: 6px;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 4px 0 8px;
}

.sf-price-main {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.1;
}

.sf-price-highlight {
  font-size: 2.6rem;
  color: #FF3636;
  vertical-align: baseline;
}

.sf-price-yen {
  font-size: 1.3rem;
  margin-left: 4px;
  vertical-align: baseline;
  color: #FF3636;
}

.sf-price-note {
  color: var(--sf-text-light);
  font-size: 1rem;
  display: inline-block;
  line-height: 1.1;
  margin-top: -0.4em;
}

.sf-price-divider::before {
  content: "";
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 1.2em auto;
  border-top: 1px dotted var(--sf-blue);
}

.sf-price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
}

.sf-price-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.sf-price-features li::before {
  content: "2714";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: #fff;
  background-color: var(--sf-blue);
  border-radius: 3px;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .sf-price-features {
    width: 100%;
    text-align: left;
  }
}

/* ------------------------------------------------------------
   18. 比較テーブル (14445.css)
   ------------------------------------------------------------ */

.compare-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 !important;
  font-family: var(--main-font);
  background-color: #fff;
  color: var(--sf-text-light);
  margin-bottom: 0 !important;
}

.compare-section table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 6px !important;
  border: none;
  overflow: hidden;
}

.compare-section th,
.compare-section td {
  padding: 8px !important;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background-color: #f5f5f5;
  border-radius: 6px;
  border: none !important;
  box-sizing: border-box;
  color: var(--sf-text-light) !important;
  font-family: var(--main-font);
}

.compare-section th {
  background-color: var(--sf-bg-light) !important;
}

.compare-section th:nth-child(2) {
  background-color: var(--sf-blue) !important;
  color: #fff !important;
}

.compare-section th:nth-child(3) {
  background-color: var(--sf-text-light) !important;
  color: #fff !important;
}

.compare-section th:first-child {
  background-color: transparent !important;
}

.compare-section td:nth-child(2) {
  color: #1e73be !important;
}

.compare-section .highlight-cell {
  background-color: var(--sf-bg-light) !important;
}

span.mark-big {
  font-size: 20px;
  display: block;
  margin: 0;
  color: #1e73be;
}

span.mark-small {
  font-size: 12px;
  display: block;
  margin: 0 !important;
  color: var(--sf-text-light) !important;
}

.compare-section th.row-label {
  background-color: #F7F7F5 !important;
  color: var(--sf-text-light) !important;
}

.text-lg {
  font-size: 16px;
  display: inline-block;
}

.highlight-blue {
  color: var(--sf-blue) !important;
}

@media screen and (max-width: 600px) {
  .compare-section th,
  .compare-section td {
    font-size: 13px !important;
    padding: 8px 4px !important;
  }
}


/* CTA arrow + round */
.sf-cta-btn, .sf-hero__cta {
  border-radius: 9999px;
  position: relative;
}
.sf-cta-btn::after, .sf-hero__cta::after {
  content: "";
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 15.3145L14.25 8.81445L7.75 2.31445' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Hero decorative elements */
.sf-hero__pc::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -20px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 176, 248, 0.12) 0%, rgba(28, 176, 248, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.sf-hero__pc::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, rgba(249, 115, 22, 0.02) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.sf-hero__pc-inner {
  position: relative;
  z-index: 1;
}

/* Hero top accent bar */
.sf-hero__pc-inner::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1cb0f8 0%, rgba(28, 176, 248, 0) 100%);
}

/* Feature card colored top border */
.sf-hero__pc .sf-feature-item {
  border-top: 3px solid #1cb0f8;
  border: none;
  border-top: 3px solid #1cb0f8;
}

/* Feature icons - blue circle background */
.sf-hero__pc .sf-feature-icon {
  background: rgba(28, 176, 248, 0.1);
  border-radius: 50%;
  padding: 8px;
  width: 48px;
  height: 48px;
}

/* Sub text with slight letter-spacing */
.sf-hero__sub {
  letter-spacing: 0.03em;
}


/* ===== 料金プラン セクション ===== */

/* 親要素のoverflow制限を解除して全幅表示可能にする */
body:has(.sf-pricing) .l-mainContent,
body:has(.sf-pricing) .l-content {
  overflow: visible;
  max-width: none;
}

body:has(.sf-pricing) > .pmpro-variation_1,
body:has(.sf-pricing) [class*="pmpro-variation"] {
  overflow: visible;
}

.sf-pricing {
  background: #f3fbfe;
  padding: 80px 20px;
  color: #212121;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.sf-pricing__header {
  text-align: center;
  margin-bottom: 24px;
}

.sf-pricing .sf-pricing__title {
  font-size: 32px;
  font-weight: 800;
  color: #003450;
  margin: 0;
  border: none;
  padding: 0;
  letter-spacing: 1.28px;
  line-height: 44.8px;
}

.sf-pricing .sf-pricing__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #1cb0f8;
  margin: 12px auto 0;
}

.sf-pricing__sub {
  font-size: 15px;
  font-weight: 700;
  color: #003450;
  margin: 16px 0 0;
}

/* カード並び */
.sf-pricing__cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 60px 0;
  align-items: stretch;
}

/* 各プランカード */
.sf-plan {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  color: #333;
  display: flex;
  flex-direction: column;
  border: 0.8px solid rgba(0,0,0,0.12);
}

/* 1番人気カード枠 */
.sf-plan--popular {
  border: 2.4px solid #1cb0f8;
}

/* バッジ */
.sf-plan__badge {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  background: #1cb0f8;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 16px;
  border-radius: 50px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sf-plan__badge::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='%23fff'%3E%3Cpath d='M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6h277.2c30.9 0 57.5-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* プラン名 */
.sf-pricing .sf-plan__name {
  font-size: 24px;
  font-weight: 700;
  color: #003450;
  margin: 0 0 8px;
  border: none;
  padding: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sf-pricing .sf-plan__name::before {
  content: none;
  display: none;
  background: none;
  width: 0;
  height: 0;
}

.sf-pricing .sf-plan__name::after {
  content: none;
  display: none;
  background: none;
  width: 0;
  height: 0;
}

/* チェックマークアイコン */
.sf-pricing .sf-plan .sf-plan__name::before {
  content: "";
  display: inline-block;
  position: static;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231cb0f8'%3E%3Cpath d='M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
  border: none;
  border-radius: 0;
}

/* 割引 */
.sf-plan__discount {
  font-size: 22px;
  font-weight: 700;
  color: #003450;
  margin: 0;
  line-height: 1.2;
}

/* 価格 */
.sf-plan__price {
  margin-bottom: 0;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.sf-plan__price-yen {
  font-size: 20px;
  font-weight: 700;
  color: #003450;
  vertical-align: baseline;
}

/* 価格数字 */
.sf-plan__price-num {
  font-size: 50px;
  font-weight: 700;
  color: #f97316;
  line-height: 1;
  letter-spacing: -1px;
}

/* /月 */
.sf-plan__price-unit {
  font-size: 20px;
  font-weight: 700;
  color: #003450;
}

/* 税込表示 */
.sf-plan__price-tax {
  font-size: 14px;
  font-weight: 700;
  color: #003450;
  opacity: 0.7;
  margin-bottom: 8px;
}

/* お得額＋支払総額 */
.sf-plan__deal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.sf-plan__deal-row .sf-plan__savings {
  margin-bottom: 0;
}

.sf-plan__deal-row .sf-plan__total {
  margin-bottom: 0;
}

/* お得額バッジ */
.sf-plan__savings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f97316;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px 4px;
  border-radius: 50px;
  margin-bottom: 8px;
  white-space: nowrap;
  line-height: 1;
}

/* 支払総額 */
.sf-plan__total {
  font-size: 12px;
  font-weight: 700;
  color: #003450;
  white-space: nowrap;
}

.sf-plan__total strong {
  font-size: 20px;
  font-weight: 700;
  color: #003450;
}

/* チェック付きキャッチ */
.sf-plan__checks {
  text-align: left;
  margin: 20px 0;
  padding-left: 16px;
}

.sf-plan__checks p {
  font-size: 15px;
  color: #003450;
  margin: 0;
  font-weight: 700;
  line-height: 30px;
}

/* アイコングリッド */
.sf-plan__icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
  justify-items: center;
  margin-bottom: 48px;
  flex-grow: 1;
}

.sf-plan__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

/* アイコン丸 */
.sf-plan__icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #003450;
  border: 1.5px solid #003450;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

/* アイコンラベル */
.sf-plan__icon-item span {
  font-size: 11px;
  color: #003450;
  text-align: center;
  line-height: 1.2;
  font-weight: 700;
}

/* CTAボタン — デフォルト紺色 */
.sf-plan__cta {
  display: block;
  width: 100%;
  background: #003450;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 9999px;
  transition: 0.3s;
  margin-top: auto;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

.sf-plan__cta::after {
  content: "";
  display: block;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 15.3145L14.25 8.81445L7.75 2.31445' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.sf-plan__cta:hover {
  opacity: 0.85;
  color: #fff;
  background: #003450;
}

/* 人気カードのCTA */
.sf-plan__cta--primary,
.sf-plan--popular .sf-plan__cta {
  background: linear-gradient(180deg, #f59e0b 0%, #f97316 100%);
}

.sf-plan__cta--primary:hover,
.sf-plan--popular .sf-plan__cta:hover {
  opacity: 0.85;
}

/* ご利用再開リンク */
.sf-plan__restart {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #003450;
  text-decoration: underline;
  margin-top: 12px;
}

/* 1ヶ月プラン — 空要素の高さを実要素に合わせる */
.sf-plan[data-level="1"] .sf-plan__deal-row {
  min-height: 36px;
}

/* サービス説明 */
.sf-pricing__service {
  max-width: 1060px;
  margin: 48px auto 0;
}

/* ===== モバイル ===== */
@media (max-width: 768px) {
  .sf-pricing {
    padding: 40px 16px;
  }

  .sf-pricing .sf-pricing__title {
    font-size: 28px;
  }

  .sf-pricing__cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
  }

  .sf-plan {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .sf-plan__price-num {
    font-size: 44px;
  }

  /* TORAbit .total-fee 一致 (モバイルのみ) */
  .sf-plan__deal-row {
    width: 100%;
    box-sizing: border-box;
    font-weight: 700;
    font-size: 12px;
    line-height: normal;
    flex-grow: 1;
  }

  .sf-plan__savings {
    font-weight: 700;
    font-size: 14px;
    line-height: normal;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: 0;
    white-space: normal;
  }

  .sf-plan__total {
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
    white-space: normal;
  }

  .sf-plan__total strong {
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    padding: 0 4px;
  }
}

/* ===== 比較テーブル 月額行（TORAbit風） ===== */
.sf-compare-price {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--sf-blue, #1cb0f8);
}
.sf-compare-unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--sf-blue, #1cb0f8);
}
.sf-compare-note {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: var(--sf-blue, #1cb0f8);
  font-weight: 400;
  line-height: 1.5;
}
.sf-compare-note:first-of-type {
  margin-top: 4px;
}
.compare-section table {
  table-layout: fixed;
}
.compare-section table col:first-child,
.compare-section th:first-child,
.compare-section td:first-child {
  width: 20%;
}
.compare-section table col:nth-child(2),
.compare-section th:nth-child(2),
.compare-section td:nth-child(2),
.compare-section table col:nth-child(3),
.compare-section th:nth-child(3),
.compare-section td:nth-child(3) {
  width: 40%;
}

@media screen and (max-width: 768px) {
  .sf-compare-price {
    font-size: 16px;
  }
  .sf-compare-unit {
    font-size: 13px;
  }
  .sf-compare-note {
    font-size: 9px;
    line-height: 1.3;
  }
  .sf-compare-note:first-of-type {
    margin-top: 2px;
  }
  .compare-section .text-lg {
    font-size: 13px;
  }
  .compare-section span.mark-big {
    font-size: 13px;
  }
}

/* ===== CTAボタン キラッとアニメーション（TORAbit方式） ===== */
@keyframes sf-btn-shine {
  0% { left: -80px; }
  17% { left: 120%; }
  100% { left: 120%; }
}
.sf-hero__cta,
.sf-cta-btn,
.sf-sticky-cta__btn,
.sf-plan__cta {
  position: relative;
  overflow: hidden;
}
.sf-hero__cta::before,
.sf-cta-btn::before,
.sf-sticky-cta__btn::before,
.sf-plan__cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -80px;
  width: 60px;
  height: 200%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  animation: sf-btn-shine 2s linear infinite;
  pointer-events: none;
}

.sf-plan__deal-row.sf-plan__deal-row--hidden {
  display: flex;
  visibility: hidden;
}



@media (max-width: 768px) {
  .sf-plan__deal-row.sf-plan__deal-row--hidden {
    display: none;
  }
}
.sf-plan__icon-item span {
  white-space: nowrap;
}

/* Icon circles - FA6 <i> tag styling */
.sf-plan__icon-circle {
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-plan__icon-circle i {
  color: #fff;
  font-size: 20px;
}





/* User count appeal - Ribbon */
.sf-hero__user-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  padding: 10px 28px 10px 20px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  margin-bottom: 8px;
}
.sf-hero__user-number {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  line-height: 1;
}
.sf-hero__user-label {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
/* Header: Logo image to text */
.c-headLogo__img {
  display: none;
}
.c-headLogo {
  display: flex;
  align-items: center;
  height: 100%;
}
.c-headLogo__link {
  display: flex;
  align-items: center;
  height: 100%;
}
.c-headLogo__link::after {
  content: "オンライン書道教室";
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: #2d5a87;
  letter-spacing: 0.05em;
  line-height: var(--logo_size_pc, 50px);
}
