@charset "UTF-8";

/* =========================================
   コラム一覧（カテゴリ別）ページ 固有スタイル
========================================= */
:root {
  --text-color: #555555;
  --headline-color: #333333;
  --accent-color: #f0b800;
  --background-color: #fdfdfd;
  --white: #ffffff;
  
  /* 追加したカラー変数 */
  --text-muted: #666666;
  --border-light: #eeeeee;
  --border-medium: #dddddd;
  --bg-tag: #eeeeee;
  --bg-hover: #f9f9f9;
}

html { scroll-behavior: smooth; }

body {
  margin: 0; padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.9;
  font-size: 1rem; /* 16px -> 1rem */
  word-break: break-word;
  padding-top: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Layout */
.content-wrapper { padding: 60px 0 80px; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* Breadcrumb (パンくずリスト) */
.breadcrumb-nav { padding: 0 0 30px; font-size: 0.9rem; background: var(--background-color); }
.breadcrumb-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb-list li { color: var(--text-muted); }
.breadcrumb-list li a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.breadcrumb-list li a:hover { text-decoration: underline; color: var(--accent-color); }
.breadcrumb-list li:not(:last-child)::after { content: '>'; margin-left: 8px; font-size: 0.8rem; }

/* Typography */
.page-header { text-align: center; margin-bottom: 50px; }
h1 { margin-bottom: 12px; color: var(--headline-color); font-size: 1.8rem; font-weight: 700; }
.page-lead { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

.section-title {
  font-size: 2rem; /* 2em -> 2rem */
  margin: 0 0 40px; padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  color: var(--headline-color); font-weight: 700; display: inline-block;
}

/* ひまわりマーカー */
strong {
  background: linear-gradient(transparent 60%, #fff3b8 60%);
  font-weight: 700; padding: 0 2px;
}

/* Feature Grid (Cards) */
.features-grid { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 25px; margin-bottom: 40px; text-align: center;
}

.feature-box { 
  background: var(--white); padding: 30px 25px; border-radius: 8px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: center; 
  border: 2px solid var(--bg-hover); transition: transform .3s; 
  display: block; text-decoration: none; color: inherit;
}
.feature-box:hover { border-color: var(--accent-color); transform: translateY(-3px); }

.feature-box h4 { 
  margin: 10px 0; color: var(--headline-color); font-weight: 700; font-size: 1.2rem; /* 1.2em -> 1.2rem */
  border-bottom: 2px solid var(--accent-color); display: inline-block; padding-bottom: 5px; 
}
.feature-box p { font-size: 0.95rem; text-align: left; margin: 0; line-height: 1.6; color: var(--text-color); }
.feature-icon { font-size: 3rem; /* 3em -> 3rem */ color: var(--accent-color); display: block; margin-bottom: 10px; }

/* Tag List */
.tag-list { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag { background: var(--bg-tag); font-size: 0.8rem; padding: 4px 10px; border-radius: 4px; color: var(--text-muted); font-weight: bold; }

/* Video Banner */
.video-banner {
  background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
  border: 2px dashed var(--accent-color); padding: 40px 20px;
  border-radius: 12px; margin-bottom: 40px; text-align: center;
}
.video-banner-title {
  margin: 0 0 15px; font-size: 1.4rem; color: var(--headline-color); font-weight: 700;
}
.video-banner-desc {
  text-align: center; margin-bottom: 20px;
}
.video-btn {
  display: inline-block; background: var(--headline-color); color: var(--white);
  padding: 12px 40px; border: none; border-radius: 50px;
  font-weight: bold; font-size: 1rem; text-decoration: none;
  transition: transform .3s, box-shadow .3s; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin-top: 15px;
}
.video-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); opacity: 0.9; }

/* Back Button */
.back-btn-container { text-align: center; margin-top: 38px; }
.back-btn {
  display: inline-block; padding: 14px 50px; background: var(--white); border: 1px solid var(--border-medium);
  color: var(--text-color); text-decoration: none; border-radius: 50px; font-weight: bold;
  transition: all 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.back-btn:hover { background: var(--accent-color); color: var(--white); border-color: var(--accent-color); transform: translateY(-2px); }

/* Mobile Sticky CTA */
.mobile-sticky-cta { display: none; }
.sticky-sub-label { font-size: 0.8rem; font-weight: normal; }
.sticky-sub-label-main { font-size: 0.85rem; font-weight: normal; }

/* =========================================
   Media Queries (末尾に集約)
========================================= */
@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 760px) {
  .container { max-width: 820px; }
}

/* =========================================
   記事リスト コンポーネント (videos.html 等で利用)
========================================= */
.column-list { list-style: none; padding: 0; margin: 0; }
.column-item { 
  border-bottom: 1px solid var(--border-light); 
  padding: 30px 0; 
  transition: background 0.3s;
}
.column-item:first-child { border-top: 1px solid var(--border-light); }
.column-item:hover { background-color: var(--bg-hover); }

/* Link Card */
.column-link {
  display: flex; gap: 25px; text-decoration: none;
  color: var(--text-color); align-items: flex-start;
}

/* Thumbnail */
.column-thumb {
  width: 240px; flex-shrink: 0; border-radius: 8px;
  overflow: hidden; background: var(--bg-tag);
  position: relative; aspect-ratio: 16 / 9; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.column-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s; vertical-align: bottom;
}

/* Text Info */
.column-info { flex: 1; display: flex; flex-direction: column; }
.column-date { 
  color: var(--text-muted); font-size: 0.85rem; 
  margin-bottom: 8px; font-family: monospace; 
}
.column-title { 
  font-weight: 700; font-size: 1.3rem; margin: 0 0 15px; 
  line-height: 1.4; color: var(--headline-color); transition: color 0.3s;
}

/* Tags */
.tags-wrapper { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.column-tag { 
  background: #f0f8ff; color: #0056b3; font-size: 0.8rem; 
  padding: 4px 10px; border-radius: 4px; font-weight: bold;
}
.tag-video { background: #ffecec; color: #d32f2f; }

/* Hover Effects */
.column-link:hover .column-title { color: var(--accent-color); }
.column-link:hover .column-thumb img { transform: scale(1.05); }

/* sp-only ユーティリティ */
.sp-only { display: none; }

@media (max-width: 600px) {
  body { padding-bottom: 70px; }
  .mobile-sticky-cta {
    position: fixed; bottom: 10px; left: 10px; right: 10px;
    z-index: 950; display: flex; gap: 8px; height: 60px;
  }
  .cta-item {
    border-radius: 8px; text-decoration: none; display: flex; flex-direction: column;
    justify-content: center; align-items: center; line-height: 1.1; font-size: 12px;
    font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.1s; position: relative; overflow: hidden;
  }
  .cta-item:active { transform: scale(0.98); }
  .cta-sub { flex: 0 0 35%; background: #06c755; color: var(--white); border: 1px solid #05b54d; }
  .cta-sub .icon { font-size: 1.2rem; margin-bottom: 2px; }
  .cta-main { flex: 1; background: var(--accent-color); color: var(--headline-color); border: 2px solid var(--white); font-size: 13px; }
  .cta-main .icon { display: none; }
  .badge-recruit {
    position: absolute; top: 0; left: 0; background: #ff3b30; color: var(--white);
    font-size: 9px; padding: 2px 6px; border-bottom-right-radius: 6px; font-weight: 800;
  }
  .arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); opacity: 0.6; font-size: 1.2rem; }

  /* 💡 ここから下の記述をカッコの中に入れました */
  /* 記事リスト スマホ調整 */
  .column-link { flex-direction: column; gap: 15px; }
  .column-thumb { width: 100%; aspect-ratio: 16 / 9; }
  .column-title { font-size: 1.15rem; }
  .sp-only { display: block; }
} /* ← ここで @media を閉じる */