@charset "UTF-8";

/* =========================================
   コラム記事 共通スタイル (column.css)
========================================= */
:root {
  --text-color: #555555;
  --headline-color: #333333;
  --text-muted: #888888;
  --accent-color: #f0b800;
  --accent-green: #06c755;
  --accent-green-dark: #05b54d;
  --background-color: #fdfdfd;
  --border-light: #eeeeee;
  --border-medium: #dddddd;
  --white: #ffffff;
  --bg-tag: #eeeeee;
  --bg-hover: #f9f9f9;
  --hint-a: 24px;
  --hint-b: 14px;
}

html { scroll-behavior: smooth; }

body { 
  font-family: 'Noto Sans JP', sans-serif; 
  color: var(--text-color); 
  line-height: 1.8; 
  background: var(--background-color); 
  padding-top: 74px;
}

.page-container, .column-container { max-width: 800px; margin: 0 auto; padding: 60px 20px 80px; }

/* パンくずリスト */
.breadcrumb { text-align: left; margin-bottom: 20px; font-size: 0.9rem; color: var(--text-muted); }
.breadcrumb-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.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.8em; }

/* 記事ヘッダー周り */
.article-header { text-align: center; margin-bottom: 40px; }
.article-date { color: var(--text-muted); font-size: 0.9rem; display: block; margin-bottom: 10px; font-weight: bold; }
h1.page-title, h1.article-title { 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  font-weight: 700; color: var(--headline-color); 
  text-align: center; margin-bottom: 30px; line-height: 1.4; 
}
.article-tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.tag { background: var(--bg-tag); color: var(--text-color); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

/* 本文の基本設定 */
.article-body p { margin-bottom: 20px; line-height: 1.8; color: var(--text-color); text-align: left; }
.lead-text { font-size: 1.05rem; }

/* 見出しデザイン */
h2 { 
  font-size: 1.5rem; 
  border-left: 6px solid var(--accent-color); 
  border-bottom: 2px solid #f9f9f9;
  padding: 10px 0 10px 15px; 
  margin: 60px 0 25px; 
  color: var(--headline-color); 
  font-weight: 700; 
  background: linear-gradient(90deg, #fffcf0 0%, transparent 100%);
}
h3 { 
  font-size: 1.2rem; font-weight: 700; margin: 40px 0 15px; 
  color: #444; display: flex; align-items: center;
  border-bottom: 2px dashed var(--border-medium); padding-bottom: 8px;
}
/* h3の緑ポッチ（FAQ等では非表示にする） */
h3::before {
  content: ''; display: inline-block; width: 8px; height: 8px; 
  background: var(--accent-green); border-radius: 50%; margin-right: 10px;
}

/* 装飾 */
strong, .highlight {
  background: linear-gradient(transparent 60%, #fff3b8 60%);
  font-weight: 700; padding: 0 4px; color: var(--headline-color);
  display: inline;
}

/* 画像スタイル */
.section-img, .article-img { 
  width: 100%; height: auto; border-radius: 12px; margin: 20px 0 30px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); object-fit: cover; aspect-ratio: 16/9; display: block;
}

/* 目次ボックス */
.toc-box {
  background: #f9f9f9; border: 1px solid var(--border-light); 
  border-radius: 8px; padding: 25px; margin: 0 0 40px;
}
.toc-title { 
  font-weight: bold; display: block; margin-bottom: 15px; 
  color: var(--headline-color); text-align: center; 
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 10px; border-bottom: 1px dashed #e0e0e0; padding-bottom: 5px; }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { text-decoration: none; color: #0056b3; font-weight: 500; display: block; transition: color 0.2s; position: relative; padding-left: 20px; }
.toc-list a:hover { color: var(--accent-color); }
.toc-list a::before { content: "▼"; position: absolute; left: 0; top: 2px; font-size: 0.8em; color: var(--accent-color); }

/* ポイントボックス */
.point-box { 
  position: relative; background: #fffcf0; 
  border: 2px solid var(--accent-color); border-radius: 8px; 
  padding: 35px 25px 25px; margin: 40px 0; 
}
.point-title, .point-label { 
  position: absolute; top: -15px; left: 20px; 
  background: var(--accent-color); color: var(--white); 
  font-weight: bold; display: inline-block; padding: 5px 20px; 
  border-radius: 20px; font-size: 0.95rem; line-height: 1.4;
}
.point-box ul { padding-left: 20px; margin: 10px 0 0; }
.point-box li { margin-bottom: 8px; font-weight: bold; color: var(--text-color); }

/* ステップリスト */
.step-list { list-style: none; padding: 0; margin: 30px 0; }
.step-item { 
  background: var(--white); border: 1px solid var(--border-light); 
  border-radius: 12px; padding: 25px; margin-bottom: 20px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
}
.step-num { 
  background: var(--accent-color); color: var(--headline-color); font-weight: bold; 
  padding: 4px 12px; border-radius: 20px; display: inline-block; 
  margin-bottom: 10px; font-size: 0.9rem; 
}
.step-title { font-size: 1.1rem; font-weight: bold; margin-left: 10px; color: var(--headline-color); display: block; margin-bottom: 5px; }

/* テーブル（PC共通設定） */
.table-wrap, .table-responsive { 
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; 
}
.info-table { width: 100%; border-collapse: collapse; background: var(--white); margin: 0; }
.info-table th, .info-table td { border: 1px solid var(--border-medium); padding: 15px; }
.info-table th { 
  background: #f4f7f9; text-align: center; 
  vertical-align: middle; font-weight: bold; color: var(--headline-color); 
}
.table-note { font-size: 0.85em; font-weight: normal; }
.table-caption { font-size: 0.9rem; color: var(--text-muted); }

/* 内部リンク・戻るボタン */
.page-nav, .back-btn-container { display: flex; gap: 15px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.page-nav a, .back-btn { 
  background: var(--white); border: 1px solid var(--border-medium); 
  padding: 12px 30px; border-radius: 50px; text-decoration: none; 
  color: var(--headline-color); transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.05); font-weight: bold;
}
.page-nav a:hover, .back-btn:hover { background: #f9f9f9; transform: translateY(-2px); }

/* 参考文献セクション */
.reference-section, .ref-list { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border-medium); text-align: left; }
.reference-title { font-size: 1rem; color: var(--text-muted); margin-bottom: 15px; font-weight: bold; display: block; }
.reference-list { list-style: none; padding: 0; margin: 0; }
.reference-list li { margin-bottom: 8px; font-size: 0.85rem; }
.reference-list a { color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.reference-list a:hover { color: #0056b3; text-decoration: underline; }
.external-icon { font-size: 0.8em; color: var(--text-muted); }

/* =========================================
   CTAエリア (🚨修正: テキストを強制中央寄せ)
========================================= */
.cta-box {
  background: #f0f8ff; border: 2px solid #d0e3ff; border-radius: 12px; 
  padding: 35px 20px; margin: 50px 0; text-align: center !important; position: relative;
}
.cta-box.mid { border-style: dashed; background: var(--white); border-color: var(--accent-green); }
.cta-title { font-weight: bold; font-size: 1.3rem; color: #0056b3; margin-bottom: 15px; display: block; line-height: 1.4; text-align: center !important; }
.cta-text { margin-bottom: 25px; font-size: 0.95rem; color: var(--text-color); text-align: center !important; }
.cta-box p, .cta-box a { text-align: center !important; }

.cta-btn, .btn-cta { 
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent-green); color: var(--white); 
  padding: 16px 45px; border-radius: 50px; text-decoration: none; 
  font-weight: bold; font-size: 1.1rem; margin: 0 auto;
  box-shadow: 0 4px 15px rgba(6,199,85,0.3); transition: transform 0.3s, box-shadow 0.3s; 
}
.cta-btn:hover, .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4); }

/* =========================================
   FAQ・Q&Aセクション (🚨修正: 綺麗なボックスデザイン)
========================================= */
.faq-item { 
  margin-bottom: 20px; background: var(--white); 
  border: 1px solid var(--border-medium); border-radius: 8px; overflow: hidden; 
}
.faq-question { 
  padding: 15px 20px; background: #f4f7f9; font-weight: bold; 
  margin: 0 !important; border: none !important; border-bottom: 1px solid var(--border-medium) !important;
  font-size: 1.1rem !important; color: var(--headline-color);
}
/* h3の緑ポッチをキャンセル */
.faq-question::before { display: none !important; }

.faq-answer { 
  padding: 20px; font-size: 0.95rem; margin: 0 !important; color: var(--text-color);
}

/* =========================================
   チェックリスト
========================================= */
.check-list { list-style: none; padding: 0; margin: 0 auto 20px; text-align: left; display: inline-block; }
.check-item { margin-bottom: 10px; position: relative; padding-left: 24px; font-weight: bold; }
.check-item::before { content: "✅"; position: absolute; left: 0; top: 0; color: var(--accent-green); font-size: 0.9rem; }

/* =========================================
   Scroll Arrow
========================================= */
.scroll-down {
  position: fixed; bottom: var(--hint-a); left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 24px; height: 24px; border-right: 3px solid var(--headline-color); border-bottom: 3px solid var(--headline-color);
  opacity: .85; animation: hint 1.6s infinite; z-index: 900;
  transition: opacity 0.3s; pointer-events: auto; cursor: pointer;
}
.scroll-down.is-hidden { opacity:0; pointer-events:none; }
@keyframes hint{ 0%,100%{bottom:var(--hint-a)} 50%{bottom:var(--hint-b)} }

/* =========================================
   動画埋め込みラッパー
========================================= */
.video-wrapper {
  position: relative; width: 100%; max-width: 360px; margin: 0 auto 50px;
  border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  aspect-ratio: 9 / 16; background: #000;
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* =========================================
   プロモーションエリア（記事内広告・自社サービス訴求）
========================================= */
.promotion-area {
  background: #f0f8ff; border: 2px solid #d0e3ff;
  padding: 40px 20px; border-radius: 12px; margin-top: 60px; text-align: center;
}
.promotion-title { font-size: 1.4rem; font-weight: 800; color: #0056b3; margin-bottom: 25px; }
.needs-box {
  background: var(--white); border-radius: 10px; padding: 20px;
  display: block; margin: 0 auto 25px; width: 100%; max-width: 550px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: left; box-sizing: border-box;
}
.needs-text {
  font-weight: bold; color: var(--text-color); margin: 0 0 10px 0; 
  padding-left: 1.5em; position: relative; line-height: 1.6;
}
.needs-text:last-child { margin-bottom: 0; }
.needs-text::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--accent-color); font-size: 1.2em; }
.solution-text { font-size: 1.2rem; font-weight: 800; margin-bottom: 30px; color: var(--headline-color); line-height: 1.6; }
.promotion-list { display: inline-block; text-align: left; margin: 0 auto 30px; padding: 0; list-style: none; }
.promotion-list li { margin-bottom: 10px; font-weight: bold; color: #444; font-size: 0.95rem; }

/* ボタンプルプルアニメーション */
.animate-pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(6, 199, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

/* =========================================
   費用比較ボックス（.cost-grid）
========================================= */
.cost-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px; margin: 20px 0;
}
.cost-card {
  background: var(--white); border: 1px solid var(--border-medium);
  border-radius: 8px; padding: 15px; text-align: center;
}
.cost-type {
  font-size: 0.9rem; font-weight: bold; color: var(--text-muted);
  background: var(--bg-tag); padding: 4px 10px; border-radius: 4px;
  display: inline-block; margin-bottom: 10px;
}
.cost-price {
  display: block; font-size: 1.6rem; font-weight: bold;
  color: var(--headline-color); margin: 10px 0;
}
.cost-desc { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   汎用ユーティリティクラス
========================================= */
.info-panel-blue {
  background: #f4f8fb; padding: 20px; border-radius: 8px; 
  border-left: 4px solid #4a90e2; margin-bottom: 20px;
}
.info-panel-blue ul { margin-top: 10px; padding-left: 20px; }
.text-alert { color: #d32f2f !important; }
.step-alert { border-color: #ffcccc !important; }
.card-highlight { background: #fffcf0 !important; border-color: var(--accent-color) !important; }
.box-dashed { background: var(--white) !important; border: 1px dashed #aaa !important; }
.text-center { text-align: center !important; }
.font-bold { font-weight: bold !important; }

/* =========================================
   記事リスト コンポーネント (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); }
.column-link { display: flex; gap: 25px; text-decoration: none; color: var(--text-color); align-items: flex-start; }
.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; }
.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-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; }
.column-link:hover .column-title { color: var(--accent-color); }
.column-link:hover .column-thumb img { transform: scale(1.05); }
.sp-only { display: none; }

/* =========================================
   コラム詳細：アラートボックス（緊急・注意喚起用）
========================================= */
.alert-box {
  border-color: #d32f2f !important;
  background: #fff0f5 !important;
}
.alert-title {
  background: #d32f2f !important;
  color: var(--white) !important;
}

/* =========================================
   Mobile (Media Queries)
========================================= */
.mobile-sticky-cta { display: none; } /* 🚨この1行を追加！(PCでは隠す) */

@media (max-width: 600px) {
  body { padding-bottom: 70px; }
  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); flex: 1;
    position: relative; overflow: hidden;
  }
  .cta-item:active { transform: scale(0.98); }
  .cta-sub { flex: 0 0 35%; background: var(--accent-green); color: var(--white); border: 1px solid var(--accent-green-dark); }
  .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%); font-size: 1.2rem; opacity: 0.6; }
  
  .scroll-down { bottom: 85px; }
  :root { --hint-a: 85px; --hint-b: 75px; }

  /* 🚨修正: テーブルのスマホ表示調整 */
  /* スマホでも「左：見出し、右：内容」の2列を維持する */
  .info-table:not(.table-wrap .info-table) th, 
  .info-table:not(.table-wrap .info-table) td { 
    display: table-cell; 
    border: 1px solid var(--border-medium); 
  }
  .info-table:not(.table-wrap .info-table) th { 
    width: 35%; 
    padding: 12px 10px; 
    font-size: 0.9rem; 
    text-align: left;
  }
  .info-table:not(.table-wrap .info-table) td { 
    width: 65%; 
    padding: 12px 10px; 
  }

  /* table-wrapがある場合（横長テーブル）は横スクロールさせる */
  .table-wrap .info-table { min-width: 500px; }
  .table-wrap .info-table th, .table-wrap .info-table td {
    display: table-cell; width: auto; border: 1px solid var(--border-medium);
  }

  /* 記事リスト スマホ調整 */
  .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; }
}

/* =========================================
   コラム詳細：チェックリストボックス
========================================= */
.check-box { 
  position: relative;
  background: #fffcf0; border: 2px solid #f0b800; border-radius: 8px; 
  padding: 35px 25px 25px 25px; margin: 40px 0; 
}
.check-title { 
  position: absolute; top: -15px; left: 20px;
  font-weight: bold; color: #fff; background: var(--accent-color); 
  display: inline-block; padding: 5px 20px; border-radius: 20px;
  font-size: 0.95em; line-height: 1.4;
}