/* niche-lp.css */

/* ==========================================================================
   ベース
   ========================================================================== */

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  padding-bottom: 80px;
}

/* 最小320px・推奨95%・最大800pxで流動化 */
.container {
  width: clamp(320px, 95%, 800px);
  padding: 24px;
  margin: 0 auto;
}

/* ==========================================================================
   1. ヘッダー
   ========================================================================== */

header {
  text-align: center;
  padding: 40px 0 20px;
}

header h1 {
  font-size: 24px;
  color: #623ca8;
  line-height: 1.6;
  position: relative;
  display: inline-block;
}

/* h1内の補足テキスト（現在未使用） */
header h1 span.accent {
  display: block;
  font-size: 16px;
  color: #666;
  font-weight: normal;
  margin-bottom: 8px;
}

/* ==========================================================================
   2. タイポグラフィ
   ========================================================================== */

h1 {
  font-size: clamp(18px, 5vw, 22px);
  font-weight: bold;
  margin: 0 0 14px;
  line-height: 1.4;
}

/* box内の構造化用小見出し */
h3 {
  font-size: 16px;
  font-weight: bold;
  color: #623ca8;
  border-left: 2px solid #623ca8;
  padding-left: 10px;
  margin: 0 0 16px;
  line-height: 1.5;
}

p {
  margin: 16px 0;
}

ul {
  padding-left: 20px;
  margin: 16px 0;
  font-size: 15px;
}

li {
  margin: 10px 0;
}

/* マーカーハイライト（橙背景・下線風） */
.highlight {
  font-weight: 500;
  background: linear-gradient(transparent 70%, #fff3e0 70%);
  padding: 0 0.2em;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ==========================================================================
   3. コンテンツ
   ========================================================================== */

.niche-intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 22px;
  text-align: center;
}

.box {
  background: #fff;
  padding: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: 16px;
  border: 1px solid #e8e0d5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.img-fluid {
  display: block;
  max-width: min(500px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
}

/* ==========================================================================
   4. CTA
   ========================================================================== */

.cta {
  margin-top: 64px;
  padding: 40px 24px;
  background: #f4f0fa;
  border-radius: 24px;
  text-align: center;
}

.cta p {
  margin-top: 0;
  font-weight: bold;
}

.cta a {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  margin: 16px auto;
  padding: 16px 20px;
  background: #fff;
  color: #623ca8;
  border: 1.5px solid #623ca8;
  border-radius: 40px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.2s;
}

.cta a:hover {
  background: #f4f0fa;
}

.cta ul {
  display: inline-block;
  margin: 24px auto 0;
  padding-left: 1.2em;
  font-size: 13px;
  color: #666;
  text-align: left;
}

/* ==========================================================================
   5. 公式サイト案内
   ========================================================================== */

.site-link-container {
  width: 100%;
  max-width: 400px;
  margin: 32px auto;
}

.site-link-card {
  display: block;
  padding: 20px;
  background: #fff;
  border: 1px solid #d1c4e9;
  border-radius: 8px;
  color: #623ca8;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.site-link-title {
  display: block;
  font-size: 15px;
  font-weight: bold;
}

/* ==========================================================================
   6. フッター
   ========================================================================== */

footer {
  margin-top: 50px;
  padding: 0;
  border-top: 1px solid #eee;
}

footer a {
  color: #666;
}

/* ==========================================================================
   7. モバイル最適化（max-width: 480px）
   ========================================================================== */

@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  .box {
    padding: 18px;
  }
}
