@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** reCAPTCHAバッジ非表示
************************************/

.grecaptcha-badge { visibility: hidden; }


/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* ===== フク研 カスタムスタイル ===== */

.fk-wrap {
  --fk-bg: #ffffff;
  --fk-bg-alt: #f8fafc;
  --fk-bg-dark: #0f172a;
  --fk-navy: #1e3a8a;
  --fk-navy-light: #3b5998;
  --fk-red: #dc2626;
  --fk-red-soft: #fee2e2;
  --fk-gold: #f59e0b;
  --fk-green: #059669;
  --fk-text: #1e293b;
  --fk-text-sub: #64748b;
  --fk-text-muted: #94a3b8;
  --fk-border: #e2e8f0;
  --fk-border-strong: #cbd5e1;
  --fk-serif: 'Noto Serif JP', serif;
  --fk-sans: 'Noto Sans JP', sans-serif;

  font-family: var(--fk-sans);
  color: var(--fk-text);
  line-height: 1.9;
  font-size: 16px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--fk-bg);
}

.fk-wrap * {
  box-sizing: border-box;
}

.fk-wrap h2 {
  font-family: var(--fk-serif);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.5;
  color: var(--fk-text);
}

.fk-section-lead {
  text-align: center;
  font-size: 14px;
  line-height: 2;
  color: var(--fk-text-sub);
  margin: 0;
}

/* ===== 1. ヒーロー ===== */

.fk-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #fff;
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
}

.fk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.fk-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.fk-hero-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--fk-gold);
  border: 1px solid var(--fk-gold);
  padding: 5px 16px;
  margin-bottom: 24px;
  font-weight: 700;
}

.fk-hero h1 {
  font-family: var(--fk-serif);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 20px;
  color: #fff;
}

.fk-hero h1 .accent {
  color: var(--fk-gold);
}

.fk-hero-lead {
  font-size: 15px;
  line-height: 2;
  color: #cbd5e1;
  margin: 0 0 36px;
}

.fk-hero-cta {
  display: inline-block;
  background: var(--fk-gold);
  color: #ffffff !important;
  font-weight: 900;
  padding: 16px 40px;
  text-decoration: none !important;
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.fk-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  text-decoration: none !important;
}

.fk-hero-meta {
  margin-top: 32px;
  font-size: 11px;
  color: var(--fk-text-muted);
  letter-spacing: 1px;
}

/* ===== 2. 3つの約束 ===== */

.fk-promise {
  padding: 56px 0 48px;
}

.fk-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.fk-promise-card {
  padding: 24px 20px;
  background: var(--fk-bg-alt);
  border-top: 3px solid var(--fk-navy);
  text-align: center;
}

.fk-promise-num {
  font-family: var(--fk-serif);
  font-size: 32px;
  color: var(--fk-navy);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.fk-promise-title {
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--fk-text);
}

.fk-promise-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--fk-text-sub);
}

/* ===== セクション共通 ===== */

.fk-section {
  padding: 64px 0;
  border-top: 1px solid var(--fk-border);
}

.fk-section-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--fk-navy);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

/* ===== 3. 運営者ボックス ===== */

.fk-author {
  background: var(--fk-bg-alt);
  border: 1px solid var(--fk-border);
  padding: 32px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}

.fk-author-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--fk-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.fk-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fk-author-info .label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--fk-navy);
  font-weight: 900;
  margin-bottom: 8px;
}

.fk-author-info .name {
  font-family: var(--fk-serif);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--fk-text);
}

.fk-author-info .bio {
  font-size: 14px;
  line-height: 1.9;
  color: var(--fk-text-sub);
}

.fk-author-info .bio strong {
  color: var(--fk-text);
}

/* ===== 4. 警告セクション ===== */

.fk-warning {
  margin: 36px 0 0;
  padding: 0;
  background: transparent;
  border: none;
}

.fk-warning-title {
  background: #111827;
  color: #fff;
  font-family: var(--fk-serif);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  padding: 16px 20px;
  margin: 0 0 14px;
  border-left: 6px solid var(--fk-red);
  letter-spacing: 0.04em;
}

.fk-warning-title::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background: var(--fk-red);
  color: #fff;
  font-family: var(--fk-sans);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  border-radius: 50%;
  vertical-align: -2px;
}

.fk-warning-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.fk-warning-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: #fff;
  border: 1px solid #fecaca;
  border-left: 5px solid var(--fk-red);
  font-size: 14px;
  line-height: 1.8;
  color: var(--fk-text-sub);
}

.fk-warning-list li::before {
  content: '×';
  position: absolute;
  left: 18px;
  top: 17px;
  color: var(--fk-red);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.fk-warning-list li strong {
  display: block;
  margin-bottom: 5px;
  color: #991b1b;
  font-size: 15px;
  font-weight: 900;
}

/* ===== 6. チェックリスト ===== */

.fk-checklist {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 12px;
}

.fk-checklist li {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: var(--fk-bg-alt);
  border-left: 3px solid var(--fk-green);
  font-size: 14px;
  line-height: 1.9;
  color: var(--fk-text-sub);
}

.fk-checklist li::before {
  content: '✓';
  color: var(--fk-green);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.fk-checklist li strong {
  display: block;
  color: var(--fk-text);
  font-size: 15px;
  margin-bottom: 4px;
}

/* ===== 7. カテゴリー入口 ===== */

.fk-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.fk-cat-card {
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--fk-border);
  text-align: center;
  text-decoration: none !important;
  color: var(--fk-text) !important;
  transition: all 0.2s;
  display: block;
}

.fk-cat-card:hover {
  border-color: var(--fk-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.1);
  text-decoration: none !important;
}

.fk-cat-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.fk-cat-name {
  font-family: var(--fk-serif);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
}

.fk-cat-desc {
  font-size: 12px;
  color: var(--fk-text-sub);
  line-height: 1.7;
}

/* ===== 8. FAQ ===== */

.fk-faq {
  margin: 24px 0;
}

.fk-faq-item {
  border-bottom: 1px solid var(--fk-border);
  padding: 20px 0;
}

.fk-faq-q {
  font-weight: 700;
  font-size: 15px;
  color: var(--fk-text);
  margin-bottom: 12px;
  padding-left: 32px;
  position: relative;
  line-height: 1.6;
}

.fk-faq-q::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  background: var(--fk-navy);
  color: #fff;
  font-family: var(--fk-serif);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 2px;
}

.fk-faq-a {
  font-size: 14px;
  color: var(--fk-text-sub);
  line-height: 1.9;
  padding-left: 32px;
  position: relative;
}

.fk-faq-a::before {
  content: 'A';
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  background: var(--fk-red);
  color: #fff;
  font-family: var(--fk-serif);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 2px;
}

/* ===== 9. フッターCTA ===== */

.fk-footer-cta {
  background: linear-gradient(135deg, var(--fk-bg-dark) 0%, var(--fk-navy) 100%);
  color: #fff;
  padding: 56px 32px;
  text-align: center;
  margin: 64px -24px 0;
}

.fk-footer-cta h2 {
  font-family: var(--fk-serif);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.5;
}

.fk-footer-cta h2 .accent {
  color: var(--fk-gold);
}

.fk-footer-cta p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 2;
  margin: 0 0 32px;
}

/* ===== レスポンシブ ===== */

@media (max-width: 768px) {
  .fk-hero {
    padding: 60px 20px 48px;
  }

  .fk-promise-grid {
    grid-template-columns: 1fr;
  }

  .fk-author {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fk-author-img {
    margin: 0 auto;
  }

  .fk-categories {
    grid-template-columns: 1fr 1fr;
  }

  .fk-section {
    padding: 48px 0;
  }

  .fk-rank-head {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .fk-categories {
    grid-template-columns: 1fr;
  }

  .fk-hero-cta {
    width: 100%;
    padding: 15px 20px;
  }

  .fk-author {
    padding: 24px 20px;
  }

  .fk-warning {
    padding: 0 0;
	margin: 0;
  }

  .fk-rank-head,
  .fk-rank-body {
    padding: 18px;
  }
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ===== フク研トップだけ：余白調整 ===== */

/* Cocoon側のトップページ余白を詰める */
body:has(.fk-home) .content,
body:has(.fk-home) .main,
body:has(.fk-home) .article,
body:has(.fk-home) .entry-content {
  margin-top: 0;
  padding-top: 0;
}

/* ヒーロー上の余白を詰める */
.fk-home {
  margin-top: 0;
}

.fk-home .fk-hero {
  margin-top: 0;
}

/* ===== SP版：左右固定だけ ===== */
@media screen and (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
  }
}

/* フク研トップ：警告リストのSP左ズレ対策 */
@media screen and (max-width: 834px) {
  .article .fk-warning-list,
	.article .fk-checklist{
    padding-left: 0;
    margin-left: 0;
  }
}

/* ブログ内囲い */

.box {
  border: 2px solid #ff6a00;
  background: #fff;
  padding: 14px 20px 14px 28px;
  position: relative;
  border-radius: 6px;
  margin: 24px 0;
}

.box::before {
  font-family: "Font Awesome 6 Free";
  content: "\f0eb";
  font-weight: 900;
  position: absolute;
  top: -18px;
  left: -6px;
  width: 40px;
  height: 40px;
  background: #ff6a00;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box p,
.custom-box ul {
  margin: 0;
}

.box li {
  margin-bottom: 8px;
}

.custom-box li:last-child {
  margin-bottom: 0;
}

/* 固定ページではアイキャッチ非表示 */
.page .eye-catch {
  display: none;
}

/* 投稿ページでは表示（念のため） */
.single .eye-catch {
  display: block;
}

/* SP版：ヒーロー上の英語ラベル中央揃えとSIDEJOBLABORATORYの上下調整 */
@media screen and (max-width: 480px) {
  .fk-hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .fk-hero-badge {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    text-align: center;
    text-indent: 0;
  }
}


/* ===== フク研 CTAブロック ===== */

.fk-cta-section {
  margin: 48px 0;
}

.fk-cta-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.fk-cta-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #1a2744;
  border-radius: 6px;
  flex-shrink: 0;
}

.fk-cta-header-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fk-cta-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a2744 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  line-height: 1.4 !important;
}

.fk-cta-lead {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 20px 0;
  padding-left: 38px;
  line-height: 1.6;
}

/* 横スクロール */
.fk-cta-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  will-change: scroll-position;
  -webkit-transform: translateZ(0);
}

.fk-cta-grid::-webkit-scrollbar {
  display: none;
}

/* カード共通 */
.fk-cta-card {
  flex: 0 0 82vw;
  max-width: 300px;
  scroll-snap-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
  text-align: center;
}

.fk-cta-card:hover {
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.08);
}

/* PC：3枚表示＋4枚目は横スクロール */
@media (min-width: 768px) {
  .fk-cta-card {
    flex: 0 0 calc((100% - 28px) / 3);
    max-width: none;
    scroll-snap-align: start;
  }
}

/* スマホ：1枚ずつ横スクロール */
@media (max-width: 767px) {
  .fk-cta-card {
    flex: 0 0 82vw;
    max-width: 300px;
  }
}

/* ロゴ画像エリア */
.fk-cta-card-img {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fk-cta-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

/* カード名：Hタグではなく、見た目だけタイトル */
.fk-cta-card-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a2744 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border: none !important;
  padding: 0 !important;
  text-align: center !important;
}

/* PRタグ */
.fk-cta-aff-label {
  display: inline-block;
  margin: 0 auto 12px !important;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

/* 本文 */
.fk-cta-card-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 14px 0;
  flex-grow: 1;
  text-align: left;
}

/* スペック */
.fk-cta-specs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
  padding: 12px;
  background: #f8f9fb;
  border-radius: 8px;
  flex-shrink: 0;
  text-align: left;
}

.fk-cta-spec {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}

.fk-cta-spec-label {
  color: #6b7280;
  font-size: 12px;
  min-width: 74px;
  flex-shrink: 0;
}

.fk-cta-spec-value {
  font-weight: 600;
  color: #1a2744;
}

/* 強みバッジ */
.fk-cta-subsidy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #0f766e;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 4px;
  margin: 0 auto 14px;
  flex-shrink: 0;
  text-align: center;
}

.fk-cta-subsidy svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #0f766e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ボタン */
.fk-cta-btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
  line-height: 1.4;
  flex-shrink: 0;
  margin-top: auto;
}

.fk-cta-btn.--primary,
.fk-cta-btn.--secondary {
  background: #1a2744;
  color: #fff !important;
}

.fk-cta-btn.--primary:hover,
.fk-cta-btn.--secondary:hover {
  background: #111827;
  color: #fff !important;
}

/* 注記 */
.fk-cta-note {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-top: 24px;
  line-height: 1.7;
}

/* フッター注記 */
.recaptcha-note{
  font-size:11px;
  color:#777;
  line-height:1.4;
  margin:8px 0 0;
  text-align:center;
}


.fk-button-wrap {
  text-align: center;
  margin: 24px 0;
}

.fk-aff-btn {
  display: inline-block;
  background: #d92d2d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 72px;
  border-radius: 24px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.fk-aff-btn:hover {
  background: #bf2424;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.fk-aff-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}


/* アフィリエイトバナーの表示幅を統一 */
.entry-content a img[src*="moshimo.com/af-img"] {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* CTAカード内のアフィリエイトバナー */
.fk-cta-banner {
  width: 100%;
  margin: 0 0 14px;
  text-align: center;
  flex-shrink: 0;
}

.fk-cta-banner a {
  display: block;
  text-decoration: none !important;
}

/* CTAカード内のアフィリエイトバナー */
.fk-cta-banner {
  width: 100%;
  height: 170px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fk-cta-banner a {
  display: block;
  width: 100%;
}

/* CTAカード内のアフィリエイトバナー */
.fk-cta-banner {
  width: 100%;
  height: 110px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CTAカード：説明文なし版の高さ調整 */
.fk-cta-card {
  justify-content: flex-start;
}

/* 使わなくなった説明文の余白を無効化 */
.fk-cta-card-desc {
  display: none;
}

/* バナー枠の高さを固定して揃える */
.fk-cta-banner {
  width: 100%;
  height: 190px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* バナー画像を枠内に収める */
.fk-cta-banner {
  width: 100%;
  height: 120px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fk-cta-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.fk-cta-banner a img {
  width: 100% !important;
  max-width: 260px !important;
  height: auto !important;
  max-height: 120px !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* 1px計測用imgは拡大させない */
.fk-cta-banner > img {
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  position: absolute;
  opacity: 0;
}

/* スペックをバナー直下に自然に置く */
.fk-cta-specs {
  margin-top: 0;
}

/* ボタンだけ下に揃える */
.fk-cta-btn {
  margin-top: auto;
}


/************************************
** オススメスクール4選の表
************************************/

.fk-compare-wrap {
  margin: 32px 0;
}

.fk-compare-note {
  margin: 0 0 14px;
  font-size: 14px;
  color: #475569;
  text-align: left;
}

.fk-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fk-compare-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.fk-compare-table th,
.fk-compare-table td {
  padding: 18px 14px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: #1e293b;
  background: #fff;
}

.fk-compare-table thead th {
  background: #f8fafc;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.fk-compare-table th[scope="row"] {
  width: 150px;
  background: #f8fafc;
  font-weight: 800;
  color: #334155;
}

.fk-compare-table th:last-child,
.fk-compare-table td:last-child {
  border-right: none;
}

.fk-compare-table tr:last-child th,
.fk-compare-table tr:last-child td {
  border-bottom: none;
}

.fk-compare-corner {
  white-space: nowrap;
}

.fk-compare-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.fk-compare-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 116px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.fk-compare-logo-link:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.fk-compare-logo-link img {
  display: block;
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.fk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.fk-badge.is-good {
  color: #dc2626;
}

.fk-badge.is-mid {
  color: #475569;
}

.fk-badge.is-neutral {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

@media screen and (max-width: 834px) {
  .fk-compare-wrap {
    margin: 24px 0;
  }

  .fk-compare-note {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .fk-compare-table {
    min-width: 760px;
  }

  .fk-compare-table th,
  .fk-compare-table td {
    padding: 14px 10px;
    font-size: 13px;
    line-height: 1.7;
  }

  .fk-compare-table thead th {
    font-size: 14px;
  }

  .fk-compare-table th[scope="row"] {
    width: 110px;
    font-size: 13px;
  }

  .fk-compare-logo {
    min-height: 110px;
  }

  .fk-compare-logo-link {
    min-height: 92px;
    padding: 10px;
  }

  .fk-compare-logo-link img {
    max-height: 64px;
  }
}




/************************************
** スクールごとの詳細表
************************************/

.fk-spec-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #e5e7eb;
}

.fk-spec-table th,
.fk-spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  line-height: 1.9;
  vertical-align: middle;
}

.fk-spec-table tr > :first-child {
  width: 140px;
  background: #f8fafc;
  color: #1e293b;
  font-weight: 800;
  text-align: center;
}

.fk-spec-table td {
  background: #fff;
  color: #334155;
  text-align: left;
}


/************************************
** サイドバー追従
************************************/

@media screen and (min-width: 1024px) {
  .fk-side-toc-wrap {
    display: block;
  }

  .fk-side-toc {
    padding: 28px 20px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
  }

  .fk-side-toc-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    line-height: 1.5;
  }

  .fk-side-toc-list a {
    display: block;
    text-decoration: none;
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    word-break: break-word;
  }

  .fk-side-toc-list a:hover,
  .fk-side-toc-list a.is-active {
    color: #1d4ed8;
    font-weight: 700;
  }
}

@media screen and (max-width: 1023px) {
  .fk-side-toc-wrap {
    display: none;
  }
}
