@charset "UTF-8";

/* ========== LP全体ベース設定 ========== */
.ai-lp2 {
  font-family: "Noto Sans JP", sans-serif;
  color: #2C2C2C;
  background-color: #fff;
  line-height: 1.6;
}

.ai-lp2 .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
}

.ai-lp2 section {
  margin-bottom: 60px;
}

.ai-lp2 h1, .ai-lp2 h2, .ai-lp2 h3 {
  font-weight: bold;
  line-height: 1.3;
}

.ai-lp2 h1 { font-size: 2.2rem; margin-bottom: 20px; }
.ai-lp2 h2 { font-size: 1.8rem; margin-bottom: 15px; }
.ai-lp2 h3 { font-size: 1.4rem; margin-bottom: 10px; }

/* ========== CTAボタン ========== */
.ai-lp2 .cta-primary {
  display: inline-block;
  background: #FF6B00;
  color: #fff;
  padding: 16px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.ai-lp2 .cta-primary:hover { background: #E35B00; }

/* ========== テーブル比較 ========== */
.ai-lp2 table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.ai-lp2 th, .ai-lp2 td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}
.ai-lp2 th { background: #FEE8DA; }

/* ========== ステップ表示 ========== */
.ai-lp2 .step {
  background: #FEE8DA;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

/* ========== ベネフィット ========== */
.ai-lp2 .benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.ai-lp2 .benefit-item {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #FEE8DA;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.ai-lp2 .benefit-item:hover { transform: translateY(-5px); }
.ai-lp2 .benefit-item i {
  font-size: 2.5rem;
  color: #FF6B00;
  margin-bottom: 10px;
}
.ai-lp2 .benefit-item h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* ========== アニメーション見出し ========== */
.animate-heading {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-heading.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ヒーローセクション ========== */

/* ヒーロー画像背景 */
.lp-hero-image {
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden; /* グラデーション用 */
}

/* グラデーションオーバーレイ */
.lp-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,     /* 上部：透明 */
    rgba(0, 0, 0, 0.25) 60%,       /* 中央：やや暗め */
    rgba(0, 0, 0, 0.6) 100%        /* 下部：濃いめ */
  );
  z-index: 1;
}

/* ヒーロー内部テキスト配置 */
.lp-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  max-width: 1080px;
  margin: 0 auto;
  z-index: 2; /* グラデーションの上に表示 */
}

/* 配置パターン */
.lp-hero-image.align-center .lp-hero-inner {
  text-align: center;
  align-items: center;
}

.lp-hero-image.align-left .lp-hero-inner {
  text-align: left;
  align-items: flex-start;
  padding-left: 40px;
}

.lp-hero-image.align-right .lp-hero-inner {
  text-align: right;
  align-items: flex-end;
  padding-right: 40px;
}

/* タイトル */
.lp-hero-inner h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* サブタイトル */
.lp-hero-sub {
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  font-weight: 600;
}

/* ========== スクロールテキスト ========== */

.lp-hero-scroll {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  z-index: 3;         /* グラデーションより前面に表示 */
}

.lp-hero-scroll span {
  display: inline-block;
  padding-left: 100%;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ========== 背景ユーティリティ ========== */
.bg-light    { background-color: #f9f9f9; }
.bg-dark     { background-color: #222; color: #fff; }
.bg-primary  { background-color: #ff7a00; color: #fff; }
.bg-img      { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* セクション共通調整 */
.section { padding: 60px 20px; }

/* ページ全体背景 */
.page-bg {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========== レスポンシブ ========== */
@media screen and (max-width: 768px) {
  .ai-lp2 h1 { font-size: 1.6rem; }
  .ai-lp2 h2 { font-size: 1.4rem; }
  .ai-lp2 h3 { font-size: 1.2rem; }
  .ai-lp2 .cta-primary {
    display: block;
    width: 100%;
    text-align: center;
  }
  .ai-lp2 .benefit-item { flex: 1 1 100%; }
  .lp-hero-image.align-left .lp-hero-inner { padding-left: 20px; }
  .lp-hero-image.align-right .lp-hero-inner { padding-right: 20px; }
}

/* -----------------------------
   全体の余白・文字組み改善
----------------------------- */
body {
  line-height: 1.8;
  font-size: clamp(15px, 2vw, 18px);
  color: #333;
}

section {
  margin: 40px auto;
  padding: 0 16px;
  max-width: 900px;
}

/* 見出し */
h1, h2, h3, h4 {
  margin: 1.5em 0 0.8em;
  line-height: 1.4;
}
h1 { font-size: clamp(24px, 4vw, 32px); }
h2 { font-size: clamp(20px, 3.5vw, 28px); border-left: 4px solid #ffb347; padding-left: 8px; }
h3 { font-size: clamp(18px, 3vw, 22px); }
h4 { font-size: clamp(16px, 2.5vw, 20px); }

/* -----------------------------
   画像デザイン改善
----------------------------- */
.aligncenter,
.wp-image-1292,
.wp-image-1296,
.wp-image-1294,
.wp-image-1299,
.wp-image-1295 {
  display: block;
  margin: 24px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* -----------------------------
   表（テーブル）デザイン
----------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95em;
}
table thead {
  background: #f8f8f8;
}
table th, table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
table tr:nth-child(even) {
  background: #fafafa;
}

/* -----------------------------
   リストデザイン
----------------------------- */
/* チェックマーク付きリスト（特定箇所のみ） */
.check-list {
  padding-left: 1.5em;
  margin: 1em 0;
}

.check-list li {
  margin: 0.4em 0;
  position: relative;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: -1.2em;
  color: #ff9900;
}


/* -----------------------------
   CTAボタンエリア
----------------------------- */
.btn-area-wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}
.cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, #ffb347, #ffcc33);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
}
.cta-primary:hover {
  background: linear-gradient(135deg, #ff9900, #ffcc33);
  transform: translateY(-2px);
}

/* スマホ対応：ボタンを縦並び */
@media (max-width: 768px) {
  .btn-area-wrapper {
    flex-direction: column;
    gap: 12px;
  }
}

/* アニメーション付き見出しと通常見出しの行間・文字間調整 */
.animate-heading, h2, h3, h4 {
  line-height: 1.6;       /* 行間を広くして読みやすく */
  letter-spacing: 0.5px;  /* 文字間を少し広げる */
  margin-top: 1em;        /* 上の要素との余白 */
  margin-bottom: 0.8em;   /* 下の要素との余白 */
}

/* 段落本文の行間・余白 */
p {
  line-height: 1.8;
  margin-bottom: 1em;
}

/* 見出しごとの微調整 */
h2, .animate-heading {
  font-size: 2em;
  margin-top: 1.5em;
}

h3 {
  font-size: 1.6em;
  margin-top: 1.2em;
}

h4 {
  font-size: 1.3em;
  margin-top: 1em;
}

/* レスポンシブ対応（スマホ用に文字サイズを少し縮小） */
@media screen and (max-width: 768px) {
  h2, .animate-heading { font-size: 1.5em; }
  h3 { font-size: 1.3em; }
  h4 { font-size: 1.1em; }
  p { line-height: 1.6; }
}

/* Q&Aの見た目改善 */
dl {
  margin: 2em 0;              /* dl全体の上下余白 */
}

dl dt {
  font-weight: bold;           /* Qを強調 */
  font-size: 1.15em;           /* 少し大きめ */
  color: #d2691e;              /* オレンジブラウンでパン感 */
  margin-top: 1.2em;           /* 前のQと間隔を空ける */
}

dl dd {
  margin-left: 1.5em;          /* QとAを視覚的に区別 */
  margin-bottom: 1em;          /* Aの後に少し余白 */
  line-height: 1.6;            /* 行間を広げて読みやすく */
  color: #333;                 /* 少し落ち着いた文字色 */
}

dl dt::before {
  content: "Q: ";             /* Qに接頭辞を自動追加 */
  color: #d2691e;
}

dl dd::before {
  content: "A: ";             /* Aに接頭辞を自動追加 */
  font-weight: bold;
  color: #555;
  display: inline-block;
  width: 25px;                /* QとAを揃える */
}
