/* ==============================================
   AI資産運用術 セールスレターLP
   スマホファースト設計
   ============================================== */

/* ---- リセット・ベース ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---- レイアウト ---- */
.inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- セクション共通 ---- */
.section {
  padding: 52px 0;
}

.section:nth-child(even) {
  background-color: #f8f9fb;
}


/* ==============================================
   HERO / ファーストビュー
   ============================================== */
.hero {
  width: 100%;
  background: #000;
  position: relative;
}

.hero-img-wrap {
  width: 100%;
  line-height: 0;
}

/* 画像を縦横比そのまま・全体見せる */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* coverではなくcontainで全体表示 */
  background: #000;    /* 余白部分は黒埋め */
}

/* ファーストCTA */
.hero-cta-wrap {
  background: linear-gradient(135deg, #003d6b 0%, #005fa3 100%);
  padding: 28px 20px 36px;
  text-align: center;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: #ffe97a;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-cta-sub {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}


/* ==============================================
   LINEボタン（共通 / リッチ立体デザイン）
   ============================================== */
.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 28px;
  border-radius: 60px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.18s cubic-bezier(.34,1.56,.64,1),
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

/* ── 上端ハイライト（立体感の核） */
.btn-line::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.0) 100%);
  border-radius: 60px 60px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* ── 光沢スライド */
.btn-line::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%;
  height: 100%;
  background: rgba(255,255,255,0.22);
  transform: skewX(-22deg);
  transition: left 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.btn-line:hover::after {
  left: 130%;
}

.btn-line:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.06);
}

.btn-line:active {
  transform: translateY(2px) scale(0.975);
  filter: brightness(0.95);
}

/* ── アイコンを前面に */
.btn-line__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

/* ── テキストも前面に */
.btn-line > *:not(.btn-line__icon) {
  position: relative;
  z-index: 3;
}

/* ===== ヒーロー用ボタン ===== */
.btn-line--hero {
  background: linear-gradient(180deg,
    #1de96e 0%,
    #06c755 40%,
    #04a343 100%);
  color: #fff;
  font-size: 1.05rem;
  padding: 20px 24px;
  border-radius: 60px;
  /* 底面の影（立体的な厚みを演出） */
  box-shadow:
    0 2px 0 #028a38,           /* 底面ハード影（凸感） */
    0 6px 0 rgba(2,80,30,0.35),/* 中間影 */
    0 12px 28px rgba(4,163,67,0.45), /* ぼかし影 */
    inset 0 1px 0 rgba(255,255,255,0.3); /* 内側上端ハイライト */
  animation: btnPulse 2.2s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.btn-line--hero:active {
  box-shadow:
    0 0px 0 #028a38,
    0 2px 0 rgba(2,80,30,0.35),
    0 4px 12px rgba(4,163,67,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(3px) scale(0.975);
}

/* ===== メインCTA用ボタン ===== */
.btn-line--main {
  background: linear-gradient(180deg,
    #1de96e 0%,
    #06c755 40%,
    #04a343 100%);
  color: #fff;
  font-size: 1.18rem;
  padding: 22px 28px;
  border-radius: 60px;
  box-shadow:
    0 3px 0 #028a38,
    0 7px 0 rgba(2,80,30,0.35),
    0 16px 32px rgba(4,163,67,0.5),
    inset 0 1px 0 rgba(255,255,255,0.32);
  animation: btnPulse 2.2s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.btn-line--main:active {
  box-shadow:
    0 0px 0 #028a38,
    0 2px 0 rgba(2,80,30,0.35),
    0 6px 14px rgba(4,163,67,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(4px) scale(0.975);
}

/* ===== 固定バナー用ボタン ===== */
.btn-line--sticky {
  background: linear-gradient(180deg,
    #1de96e 0%,
    #06c755 40%,
    #04a343 100%);
  color: #fff;
  font-size: 0.97rem;
  padding: 15px 22px;
  border-radius: 50px;
  box-shadow:
    0 2px 0 #028a38,
    0 5px 0 rgba(2,80,30,0.3),
    0 10px 20px rgba(4,163,67,0.4),
    inset 0 1px 0 rgba(255,255,255,0.28);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-line--sticky:active {
  box-shadow:
    0 0px 0 #028a38,
    0 2px 0 rgba(2,80,30,0.28),
    0 4px 10px rgba(4,163,67,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(3px) scale(0.975);
}

/* ===== パルスアニメーション ===== */
@keyframes btnPulse {
  0%, 100% {
    box-shadow:
      0 3px 0 #028a38,
      0 7px 0 rgba(2,80,30,0.35),
      0 16px 32px rgba(4,163,67,0.5),
      inset 0 1px 0 rgba(255,255,255,0.32);
    transform: scale(1) translateY(0);
  }
  50% {
    box-shadow:
      0 3px 0 #028a38,
      0 7px 0 rgba(2,80,30,0.35),
      0 22px 42px rgba(4,163,67,0.65),
      inset 0 1px 0 rgba(255,255,255,0.32);
    transform: scale(1.018) translateY(-2px);
  }
}


/* ==============================================
   共通テキスト
   ============================================== */
.subhead {
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 24px;
  color: #0a2540;
  letter-spacing: 0.02em;
}

.subhead--question {
  font-size: clamp(1.4rem, 5.5vw, 1.9rem);
  text-align: center;
  color: #1a1a1a;
  border-left: 6px solid #005fa3;
  padding-left: 16px;
  text-align: left;
}

.subhead--shift {
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  text-align: center;
  color: #0a2540;
}

.subhead--shift em {
  font-style: normal;
  color: #e84545;
  display: inline-block;
}

.subhead--story {
  font-size: clamp(1.25rem, 4.8vw, 1.7rem);
  text-align: center;
  color: #0a2540;
}

.subhead--reasons {
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.subhead--voice {
  font-size: clamp(1.2rem, 4.8vw, 1.65rem);
  text-align: center;
  color: #0a2540;
}

.subhead--final {
  font-size: clamp(1.25rem, 5vw, 1.7rem);
  text-align: center;
  color: #0a2540;
  margin-bottom: 28px;
}

.lead {
  font-size: 1.0rem;
  color: #333;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.9;
}

.body-text {
  font-size: 0.97rem;
  color: #333;
  line-height: 1.9;
  margin-bottom: 20px;
}

.body-text--center {
  text-align: center;
}


/* ==============================================
   共感セクション
   ============================================== */
.section--sympathy {
  background: #fff;
}

.check-list {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  font-weight: 700;
  color: #1a1a1a;
  background: #f0f7ff;
  border-left: 4px solid #005fa3;
  border-radius: 8px;
  padding: 14px 16px;
  line-height: 1.7;
}

.check-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.emphasis-box {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border: 2px solid #f5a623;
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  font-size: 0.97rem;
  line-height: 1.85;
  color: #1a1a1a;
}

.emphasis-box p + p {
  margin-top: 12px;
}

.emphasis-box__sub {
  font-size: 1.05rem;
  font-weight: 700;
}


/* ==============================================
   パラダイムシフトセクション
   ============================================== */
.section--shift {
  background: #f0f7ff;
}

.divider-arrow {
  text-align: center;
  font-size: 1.8rem;
  color: #005fa3;
  margin: 16px 0;
  font-weight: 900;
}

.highlight-block {
  background: linear-gradient(135deg, #0a2540 0%, #005fa3 100%);
  color: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  font-size: 1.0rem;
  font-weight: 700;
  line-height: 1.85;
  text-align: center;
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(0, 95, 163, 0.3);
}


/* ==============================================
   開発者ストーリーセクション
   ============================================== */
.section--story {
  background: #fff;
}

.profile-card {
  background: linear-gradient(135deg, #003d6b 0%, #005fa3 100%);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 28px;
}

.profile-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.profile-card__name {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
}

.profile-card__name strong {
  font-size: 1.5rem;
  display: block;
  margin-top: 4px;
}

.quote-block {
  background: #f8f9fb;
  border-left: 5px solid #005fa3;
  border-radius: 0 12px 12px 0;
  padding: 20px 20px;
  font-size: 1.0rem;
  font-weight: 700;
  font-style: italic;
  color: #0a2540;
  line-height: 1.85;
  margin: 20px 0;
}

.result-box {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 2px solid #4caf50;
  border-radius: 12px;
  padding: 22px 20px;
  font-size: 0.97rem;
  line-height: 1.9;
  text-align: center;
  color: #1a1a1a;
  margin-top: 8px;
}


/* ==============================================
   選ばれる理由セクション
   ============================================== */
.section--reasons {
  background: linear-gradient(160deg, #003d6b 0%, #005fa3 60%, #0078cc 100%);
  padding: 56px 0;
}

.section--reasons .lead {
  color: rgba(255,255,255,0.88);
  margin-top: 16px;
}

.reason-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #06c755, #005fa3);
}

.reason-card__num {
  display: inline-block;
  background: linear-gradient(135deg, #005fa3, #0078cc);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.reason-card__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0a2540;
  line-height: 1.5;
  margin-bottom: 12px;
}

.reason-card__body {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.85;
}


/* ==============================================
   実践者の声セクション
   ============================================== */
.section--voice {
  background: #fff;
}

.voice-card {
  background: #fff;
  border: 2px solid #e8edf2;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  position: relative;
}

/* カード内イメージ画像 */
.voice-card__img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

/* テキストコンテンツエリア */
.voice-card__content {
  padding: 20px 20px 22px;
  position: relative;
}

.voice-card__content::after {
  content: '"';
  position: absolute;
  top: 8px; right: 16px;
  font-size: 4rem;
  font-weight: 900;
  color: #e8edf2;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.voice-card__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.voice-card__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.voice-card__title {
  font-size: 1.0rem;
  font-weight: 900;
  color: #0a2540;
  line-height: 1.5;
}

.voice-card__meta {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 10px;
  padding-left: 36px;
  font-weight: 500;
}

.voice-card__body {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.85;
}


/* ==============================================
   最終CTAセクション
   ============================================== */
.section--final-cta {
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f0fa 100%);
  padding-bottom: 80px; /* 固定CTAバナーで隠れないよう余白 */
}

.tag-badge {
  display: inline-block;
  background: linear-gradient(135deg, #005fa3, #0078cc);
  color: #fff;
  font-size: 1.0rem;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: 6px;
  margin: 8px 0;
  letter-spacing: 0.04em;
}

.urgency-box {
  background: #fff8e1;
  border: 2px solid #ff9800;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #5d4037;
  text-align: center;
  margin: 24px 0;
}

.cta-lead {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0a2540;
  text-align: center;
  margin-bottom: 16px;
}

.cta-sub-note {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #06c755;
  margin-top: 14px;
  letter-spacing: 0.05em;
}

.cta-notice {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.cta-notice li {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.7;
  padding-left: 1em;
  text-indent: -1em;
}

.cta-notice li::before {
  content: '※';
}


/* ==============================================
   フッター
   ============================================== */
.site-footer {
  background: #0a2540;
  color: rgba(255,255,255,0.7);
  padding: 32px 0 90px; /* 固定CTAバナー分の余白を確保 */
  text-align: center;
}

.footer-copy {
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav span {
  opacity: 0.4;
}


/* ==============================================
   固定CTAバナー
   ============================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px 18px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn-line--sticky {
  max-width: 480px;
}


/* ==============================================
   スクロールアニメーション
   ============================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==============================================
   中間CTAブロック
   ============================================== */
.mid-cta {
  margin: 36px 0 0;
  padding: 28px 20px 32px;
  background: linear-gradient(135deg, #003d6b 0%, #005fa3 100%);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 63, 107, 0.25);
  position: relative;
  overflow: hidden;
}

/* 背景の装飾サークル */
.mid-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.mid-cta::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.mid-cta__lead {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffe97a;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.mid-cta__sub {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* 中間CTA専用ボタン */
.btn-line--mid {
  background: linear-gradient(180deg,
    #1de96e 0%,
    #06c755 40%,
    #04a343 100%);
  color: #fff;
  font-size: 1.05rem;
  padding: 20px 24px;
  border-radius: 60px;
  box-shadow:
    0 3px 0 #028a38,
    0 7px 0 rgba(2,80,30,0.35),
    0 14px 28px rgba(4,163,67,0.5),
    inset 0 1px 0 rgba(255,255,255,0.32);
  animation: btnPulse 2.2s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
  position: relative;
  z-index: 1;
}

.btn-line--mid:active {
  box-shadow:
    0 0px 0 #028a38,
    0 2px 0 rgba(2,80,30,0.35),
    0 5px 12px rgba(4,163,67,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(3px) scale(0.975);
}

/* ==============================================
   セクション内イメージ画像
   ============================================== */

/* ラッパー */
.sec-img-wrap {
  width: 100%;
  margin: 24px 0 28px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

/* 上部配置（サブヘッド前） */
.sec-img-wrap--top {
  margin-top: 0;
  margin-bottom: 32px;
}

/* 画像本体 */
.sec-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.sec-img--rounded {
  border-radius: 14px;
}

/* ホバー時ズーム（PC） */
.sec-img-wrap:hover .sec-img {
  transform: scale(1.03);
}

/* キャプション付きラッパー（オプション） */
.sec-img-wrap--captioned {
  position: relative;
}

.sec-img-wrap--captioned::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
  border-radius: 0 0 14px 14px;
  pointer-events: none;
}

/* タブレット以上で少し高さアップ */
@media (min-width: 480px) {
  .sec-img {
    height: 240px;
  }
}

@media (min-width: 640px) {
  .sec-img {
    height: 300px;
  }
  .sec-img-wrap {
    margin: 32px 0 36px;
    border-radius: 18px;
  }
}

/* ==============================================
   PC対応（640px以上）
   ============================================== */
@media (min-width: 640px) {
  .hero-img {
    /* PC でも全体を見せる：高さ制限・cropなし */
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }

  .subhead--question { font-size: 1.9rem; }
  .subhead--shift    { font-size: 1.75rem; }
  .subhead--story    { font-size: 1.7rem; }
  .subhead--reasons  { font-size: 1.75rem; }
  .subhead--voice    { font-size: 1.65rem; }
  .subhead--final    { font-size: 1.7rem; }

  .btn-line--main  { font-size: 1.2rem; padding: 24px 30px; }
  .btn-line--hero  { font-size: 1.05rem; padding: 22px 28px; }

  .reason-card {
    padding: 32px 28px;
  }

  .section {
    padding: 72px 0;
  }
}

/* ブレイクポイント：SP ---- */
@media (max-width: 374px) {
  .btn-line {
    font-size: 0.95rem;
    padding: 16px 18px;
  }
  .subhead--question { font-size: 1.25rem; }
}
