@charset "UTF-8";

/* ==========================================================================
   1. Base & Variables (基本設定・変数)
   ========================================================================== */
:root {
  /* ブランドカラー */
  --primary-color: #003366;   /* 信頼・知性のネイビー */
  --accent-orange: #FF8C00;   /* アクション喚起のオレンジ */
  --accent-green: #28a745;    /* 安心・相談のグリーン */
  --alert-red: #D32F2F;       /* 注意・強調のレッド */
  
  /* 背景色 */
  --bg-light: #EEF4F9;        /* 薄い青（セクション背景） */
  --bg-gray: #F9F9F9;         /* 薄いグレー（区分け用） */
  --bg-yellow: #FFF3CD;       /* 注意喚起用 */
  --white: #FFFFFF;
  
  /* テキストカラー */
  --text-main: #333333;       /* 通常テキスト */
  --text-sub: #666666;        /* 補足テキスト */
  
  /* レイアウト設定 */
  --container-width: 1000px;  /* コンテンツ最大幅 */
  --header-height: 80px;      /* ヘッダー高さ */
}

/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  padding-bottom: 80px; /* スマホ固定フッター用余白 */
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  aspect-ratio: attr(width) / attr(height); /* CLS対策 */
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ユーティリティ */
.sp-only { display: none; }
.pc-only { display: block; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary-color); font-weight: bold; }
.text-accent { color: var(--accent-orange); }

/* ==========================================================================
   2. Header (ロゴ左・ナビ右)
   ========================================================================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  display: block;
  transition: opacity 0.3s;
}
.logo a:hover { opacity: 0.8; }
.logo img { width: 180px; height: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links { display: flex; gap: 20px; }
.nav-links a {
  font-weight: bold;
  font-size: 14px;
  color: var(--text-main);
}
.nav-links a:hover { color: var(--primary-color); }

.header-btns { display: flex; gap: 10px; }

/* ==========================================================================
   3. Buttons (CTAボタン)
   ========================================================================== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
  line-height: 1.3;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-orange {
  background-color: var(--accent-orange);
  color: var(--white);
  border: 2px solid var(--accent-orange);
}

.btn-green {
  background-color: var(--accent-green);
  color: var(--white);
  border: 2px solid var(--accent-green);
}

/* note一覧用などの白ボタン */
.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-white:hover { background: var(--bg-light); }

.btn-sm { font-size: 13px; padding: 8px 15px; min-width: 110px; }
.btn-lg { font-size: 20px; padding: 18px 30px; width: 100%; max-width: 480px; }
.btn-sub { font-size: 12px; display: block; margin-bottom: 4px; font-weight: normal; opacity: 0.9; }

.shadow-animate { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 140, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

/* ==========================================================================
   4. Sections Common
   ========================================================================== */
.section { padding: 80px 0; }
.bg-white { background-color: var(--white); }
.bg-light-blue { background-color: var(--bg-light); }
.bg-gray { background-color: var(--bg-gray); }
.bg-alert { background-color: var(--alert-red); color: var(--white); }

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
  color: var(--primary-color);
  line-height: 1.4;
  font-weight: bold;
}

.section-lead {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.8;
}

/* ==========================================================================
   5. First View (FV)
   ========================================================================== */
.fv { background-color: var(--bg-light); padding: 60px 0; }
.fv-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
}
.fv-text { flex: 1; }
.fv-img { flex: 1; text-align: center; }

.fv-badge {
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
  border-radius: 4px;
}

.fv-text h2 {
  font-size: 34px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.highlight { background: linear-gradient(transparent 60%, #FFEB3B 60%); }
.fv-sub { font-size: 18px; margin-bottom: 30px; font-weight: bold; }
.cta-wrapper { margin-bottom: 25px; }
.micro-copy { font-size: 13px; color: var(--text-sub); margin-top: 10px; font-weight: bold; }
.fv-trust { font-size: 14px; color: var(--text-sub); border-top: 1px solid #ccc; padding-top: 15px; }

/* ==========================================================================
   6. About Section (バリュスポとは)
   ========================================================================== */
.narrow-container { max-width: 800px; margin: 0 auto; }
.about-content { line-height: 2; }
.about-lead {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-main);
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 30px;
}
.about-desc p { font-size: 18px; margin-bottom: 20px; color: var(--text-sub); }
.marker-highlight { background: linear-gradient(transparent 60%, #FFEB3B 60%); padding: 0 4px; }

/* ==========================================================================
   7. Target & Problem
   ========================================================================== */
/* Target */
.target-box {
  background: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 40px;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.target-list { list-style: none; padding: 0; margin: 0; }
.target-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 15px;
}
.target-list li:last-child { border-bottom: none; margin-bottom: 0; }
.target-list li::before {
  content: "✔";
  position: absolute; left: 0; top: 0;
  color: var(--accent-orange);
  font-size: 28px;
}

/* Problem */
.problem-list {
  background: var(--bg-gray);
  padding: 40px;
  border-radius: 12px;
  max-width: 850px;
  margin: 0 auto 40px;
}
.problem-item {
  display: flex; align-items: flex-start; margin-bottom: 25px;
  font-size: 18px; font-weight: bold;
}
.problem-item:last-child { margin-bottom: 0; }
.check-icon {
  background: var(--primary-color); color: var(--white);
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 4px; margin-right: 15px; font-size: 18px; flex-shrink: 0;
}
.problem-data {
  text-align: center; background: var(--bg-yellow); color: #856404;
  padding: 30px; border-radius: 8px; font-weight: bold;
  max-width: 850px; margin: 0 auto; border: 2px solid #FFEEBA; font-size: 18px;
}
.problem-data strong { font-size: 28px; color: var(--alert-red); }

/* ==========================================================================
   8. Urgency & Solution
   ========================================================================== */
.urgency { background-color: #FFEBEE; }
.urgency-title { color: var(--alert-red); font-size: 26px; font-weight: bold; margin-bottom: 20px; }
.urgency-text { font-size: 18px; max-width: 800px; margin: 0 auto; }

.step-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card {
  background: var(--white); padding: 30px 20px;
  border-radius: 8px; border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center;
}
.step-num { font-size: 40px; font-weight: bold; color: #E0E0E0; line-height: 1; margin-bottom: 10px; }
.step-card h3 { color: var(--primary-color); font-size: 20px; margin-bottom: 15px; }
.step-card p { font-size: 15px; color: var(--text-sub); text-align: left; }

/* ==========================================================================
   9. Case & Comparison
   ========================================================================== */
.case-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); max-width: 900px; margin: 0 auto;
}
.case-header {
  background: var(--primary-color); color: var(--white); padding: 15px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.tag { background: var(--white); color: var(--primary-color); padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.case-body { padding: 30px; display: flex; gap: 30px; align-items: center; }
.case-img { flex: 1; }
.case-img img { border-radius: 8px; width: 100%; object-fit: cover; }
.case-content { flex: 1.5; }
.result-list li {
  font-size: 18px; margin-bottom: 12px; font-weight: bold; list-style: none;
  border-left: 5px solid var(--accent-orange); padding-left: 15px;
}
.result-list strong { color: var(--alert-red); font-size: 26px; }
.voice { background: var(--bg-gray); padding: 20px; border-radius: 8px; font-style: italic; font-size: 15px; }

/* Comparison */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; background: var(--white); }
.comparison-table th, .comparison-table td { border: 1px solid #ddd; padding: 20px 15px; text-align: center; vertical-align: middle; }
.comparison-table th.th-item { background: #f0f0f0; width: 20%; }
.comparison-table th.th-competitor { background: #f9f9f9; color: #666; width: 40%; }
.th-valuespo { background: var(--primary-color) !important; color: var(--white); font-size: 18px; width: 40%; }
.highlight-cell { background: #fff8e1; color: var(--alert-red); font-weight: bold; border: 3px solid var(--accent-orange) !important; }

/* ==========================================================================
   10. ROI & CTA
   ========================================================================== */
.roi-box {
  background: var(--white); padding: 40px; border-radius: 10px;
  display: inline-block; margin-top: 30px; max-width: 800px; color: var(--text-main);
}
.roi-metrics { display: flex; gap: 40px; justify-content: center; margin-top: 20px; }
.roi-label { font-size: 16px; font-weight: bold; display: block; }
.roi-value { font-size: 42px; color: var(--primary-color); font-weight: bold; line-height: 1.2; }

.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.cta-card {
  background: var(--white); padding: 40px 30px; border-radius: 10px;
  text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 1px solid #eee;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cta-badge {
  background: var(--accent-orange); color: var(--white); padding: 5px 15px;
  border-radius: 20px; font-size: 13px; font-weight: bold; display: inline-block; margin-bottom: 15px;
}
.badge-blue { background: var(--primary-color); }
.cta-card h3 { font-size: 20px; margin-bottom: 15px; color: var(--primary-color); min-height: 56px; }
.cta-card p { font-size: 14px; margin-bottom: 25px; color: var(--text-sub); }

/* ==========================================================================
   11. FAQ & Footer
   ========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; margin-bottom: 15px; }
.faq-item summary {
  padding: 20px 40px 20px 20px; cursor: pointer; font-weight: bold;
  position: relative; list-style: none; font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--primary-color);
}
.faq-item[open] summary::after { content: "-"; }
.faq-item .answer { padding: 0 20px 30px; color: var(--text-sub); line-height: 1.8; }

.footer { background: #222; color: #999; padding: 40px 0; font-size: 12px; }

/* ==========================================================================
   12. Note Section (最新情報) - ★修正・強化箇所
   ========================================================================== */
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは横3列 */
  gap: 30px;
  margin-top: 40px;
}

.note-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.note-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.note-img {
  width: 100%;
  aspect-ratio: 16 / 9; /* アスペクト比を固定 */
  overflow: hidden;
}

.note-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠に合わせてトリミング */
  transition: transform 0.3s ease;
}

.note-card:hover .note-img img {
  transform: scale(1.05);
}

.note-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* 高さを揃えるため */
}

.note-tag {
  font-size: 12px;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
  align-self: flex-start;
}

.note-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
  color: var(--text-main);
  /* 3行以上は省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-more {
  margin-top: auto;
  font-size: 14px;
  color: var(--accent-orange);
  font-weight: bold;
  text-align: right;
}

/* ==========================================================================
   13. Sticky Footer (Mobile)
   ========================================================================== */
.sticky-footer {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--white); padding: 10px 15px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 2000;
  display: none;
}
.sticky-btns { display: flex; gap: 10px; }
.sticky-btn {
  flex: 1; text-align: center; padding: 12px 5px; color: var(--white);
  font-weight: bold; border-radius: 5px; font-size: 13px; line-height: 1.2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ==========================================================================
   14. Responsive (スマホ対応: 768px以下)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* グローバル */
  .container { padding: 0 15px; }
  .sp-only { display: block !important; }
  .pc-only { display: none !important; }

  /* Header */
  .header-nav { display: none; }
  .logo img { width: 140px; }

  /* FV */
  .fv-content { flex-direction: column; }
  .fv-text h2 { font-size: 24px; }
  .fv-img { width: 100%; margin-top: 20px; }
  .btn-lg { font-size: 18px; padding: 15px; }

  /* About */
  .about-lead { font-size: 18px; text-align: left; }
  .about-desc p { font-size: 15px; text-align: left; }

  /* Target & Problem */
  .target-box { padding: 25px 20px; }
  .target-list li { font-size: 16px; padding-left: 30px; }
  .problem-list { padding: 25px 20px; }
  .problem-item { font-size: 16px; }
  .problem-data { padding: 20px; font-size: 15px; }
  .problem-data strong { font-size: 22px; }

  /* Solution & Urgency */
  .step-container { grid-template-columns: 1fr; }
  .urgency-title { font-size: 22px; }

  /* Case */
  .case-body { flex-direction: column; padding: 20px; }
  .result-list strong { font-size: 24px; }

  /* ROI */
  .roi-metrics { flex-direction: column; gap: 20px; }

  /* CTA */
  .cta-grid { grid-template-columns: 1fr; }
  .cta-card h3 { min-height: auto; }

  /* Note Section (スマホは1列) */
  .note-grid { grid-template-columns: 1fr; gap: 20px; }
  .note-title { font-size: 15px; }

  /* Sticky Footer */
  .sticky-footer { display: block; }
}
