/* =========================================================================
   シカモン FP3級 LP — リファイン版スタイル
   素のHTML/CSSのみ。JavaScript不要。
   スクロール演出は CSS のスクロール駆動アニメ（animation-timeline: view()）。
   非対応ブラウザ（Safari 等）では「読み込み時のフェードイン」に自動フォールバック。
   ========================================================================= */

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(250, 175, 1, .35); }

/* ===== Design tokens ===== */
:root {
  --green:        #1B944A;  /* 旧 --navy */
  --green-deep:   #0A652F;  /* 旧 --navy-light */
  --green-darker: #074d24;
  --beige:        #FDF5E2;
  --cream:        #FFFCF4;
  --gold:         #FAAF01;
  --gold-deep:    #E89B00;
  --text:         #492509;
  --text-light:   #6B5B4A;
  --muted:        #8a7a68;
  --line:         #e7dcc4;
  --line-soft:    #f0e8d6;
  --white:        #ffffff;

  --font-jp:   'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Zen Kaku Gothic New', sans-serif;
  --font-num:  'Outfit', sans-serif;

  --maxw: 1120px;
}

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--beige);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.num { font-family: var(--font-num); }
.accent { color: var(--green); font-weight: 800; font-family: var(--font-num); }
.accent-text { color: var(--text); font-family: var(--font-num); }
.accent-gold { color: var(--gold); font-weight: 800; }
.hero-sub .accent-gold { font-size: 1.25em; padding: 0 .08em; }

/* ===== 共通: 見出し ===== */
h2 {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--green-deep);
  text-align: center;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.4;
}
.kicker {
  text-align: center;
  font-family: var(--font-num);
  font-weight: 700;
  letter-spacing: .22em;
  font-size: .8rem;
  color: var(--green);
  margin-bottom: 14px;
}
.kicker--left  { text-align: left;  letter-spacing: .2em; font-size: .78rem; margin-bottom: 16px; }
.kicker--right { text-align: right; letter-spacing: .2em; font-size: .78rem; margin-bottom: 16px; }
.h2-left  { text-align: left;  font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.42; }
.h2-right { text-align: right; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.42; }

/* ===== ハイライト（黄色マーカー） ===== */
.mark {
  background-image: linear-gradient(transparent 60%, rgba(250, 175, 1, .55) 60%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 100%;
  padding: 0 .05em;
}
.mark--strong { background-image: linear-gradient(transparent 58%, rgba(250, 175, 1, .7) 58%); }
.mark--ondark { background-image: linear-gradient(transparent 60%, rgba(250, 175, 1, .6) 60%); }
.mark--hero   { background-image: linear-gradient(transparent 58%, rgba(250, 175, 1, .85) 58%); padding: 0 .04em; }
/* ヒーローは常時表示なので静的（アニメ無し・常にフル） */
.mark--static { background-size: 100% 100%; animation: none; }

/* ===== スクロール演出（reveal） ===== */
.reveal {
  opacity: 1;
  transform: none;
}

@keyframes scm-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scm-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes scm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes scm-bob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes scm-drift { 0% { transform: translate(0,0); } 50% { transform: translate(14px,-18px); } 100% { transform: translate(0,0); } }

/* scroll-driven アニメは対応環境でのみ起点化 */
@supports (animation-timeline: view()) {
  .reveal {
    animation: scm-rise .85s cubic-bezier(.16, .8, .24, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 44%;
  }
  .reveal--d1 { animation-range: entry 6%  entry 50%; }
  .reveal--d2 { animation-range: entry 12% entry 56%; }
  .reveal--d3 { animation-range: entry 18% entry 62%; }
  .reveal--d4 { animation-range: entry 24% entry 68%; }
  .mark {
    animation: scm-mark .9s both;
    animation-timeline: view();
    animation-range: entry 25% cover 22%;
  }
}

/* 動きを減らす設定では全て即表示 */
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .mark   { animation: none; background-size: 100% 100%; }
  .hero-image-float, .cta-character, .hero-glow { animation: none !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 78% 8%, var(--green) 0%, var(--green-deep) 58%, var(--green-darker) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; }
.hero-glow--gold  { top: -120px; right: -80px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(250,175,1,.22), transparent 65%); filter: blur(10px); animation: scm-drift 16s ease-in-out infinite; }
.hero-glow--white { bottom: -140px; left: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 68%); }
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 56px;
  padding: 84px 0 76px;
}
.hero-text { flex: 1.1; min-width: 0; }
.hero-app-name {
  display: inline-flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18);
  border-radius: 40px; padding: 7px 20px 7px 7px; margin-bottom: 26px;
  font-weight: 700; font-size: 1rem; backdrop-filter: blur(4px);
}
.hero-app-name span { white-space: nowrap; }
.hero-app-icon { width: 34px; height: 34px; border-radius: 8px; }
.hero-text h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.7rem, 6vw, 4.4rem); line-height: 1.18;
  letter-spacing: -.01em; margin-bottom: 24px;
}
.hero-sub { font-size: 1.18rem; line-height: 1.9; color: rgba(255,255,255,.92); margin-bottom: 30px; }
.hero-free-note {
  font-size: .92rem; font-weight: 700; letter-spacing: .05em;
  color: rgba(255,255,255,.78); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.hero-free-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-image { flex: 0 0 360px; max-width: 360px; }
.hero-image-float { animation: scm-float 6s ease-in-out infinite; }
.hero-main-visual { width: 100%; border-radius: 28px; box-shadow: 0 18px 50px rgba(0,0,0,.32), 0 4px 14px rgba(0,0,0,.2); display: block; }

.store-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.store-badge img { display: block; transition: transform .2s ease; }
.store-badge:hover img { transform: scale(1.04); }

/* ===== Empathy（壁） ===== */
.empathy { position: relative; background: var(--beige); padding: 88px 0 90px; overflow: hidden; }
.empathy-watermark {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(13rem, 30vw, 26rem); color: rgba(27,148,74,.045);
  line-height: .8; pointer-events: none; user-select: none; z-index: 0;
}
.empathy .container { position: relative; z-index: 1; }
.empathy h2 { margin-bottom: 54px; }
.empathy-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 6px 0 14px; }
.bubble-wrap--drop { margin-top: 18px; }
.bubble {
  position: relative; background: var(--white); border-radius: 22px;
  padding: 30px 28px; border: 1px solid rgba(73,37,9,.05);
  box-shadow: 0 2px 6px rgba(73,37,9,.05), 0 16px 38px rgba(27,148,74,.12);
  transition: transform .32s cubic-bezier(.16,.8,.24,1), box-shadow .32s ease;
}
.bubble--a { transform: rotate(-1.6deg); }
.bubble--b { transform: rotate(1.3deg); }
.bubble--c { transform: rotate(-1deg); }
.bubble:hover {
  transform: rotate(0deg) translateY(-7px);
  box-shadow: 0 10px 22px rgba(73,37,9,.07), 0 28px 60px rgba(27,148,74,.2);
}
.bubble-num { position: absolute; top: 16px; right: 22px; font-family: var(--font-num); font-weight: 800; font-size: .9rem; color: rgba(27,148,74,.32); letter-spacing: .05em; }
.bubble-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bubble-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(250,175,1,.16); font-family: var(--font-num); font-weight: 800; font-size: 1.35rem; color: var(--gold-deep); flex-shrink: 0; }
.bubble-dash { width: 34px; height: 3px; background: rgba(250,175,1,.7); border-radius: 2px; }
.bubble p { font-size: 1.12rem; font-weight: 700; color: var(--text); line-height: 1.7; }
.bubble::after { content: ''; position: absolute; left: 38px; bottom: -9px; width: 18px; height: 18px; background: var(--white); border-right: 1px solid rgba(73,37,9,.05); border-bottom: 1px solid rgba(73,37,9,.05); transform: rotate(45deg); }

/* ===== Features（3本柱） ===== */
.features { background: linear-gradient(180deg, var(--cream), #fff); padding: 96px 0 100px; }
.features h2 { margin-bottom: 64px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.feature-col { text-align: center; }
.feature-phone-wrap { position: relative; display: inline-block; margin-bottom: 24px; }
.feature-index { position: absolute; top: -14px; left: -10px; font-family: var(--font-num); font-weight: 800; font-size: 3.4rem; color: rgba(27,148,74,.1); line-height: 1; z-index: 0; }
.feature-phone {
  position: relative; z-index: 1; border-radius: 30px; background: #fff; padding: 6px;
  box-shadow: 0 2px 4px rgba(73,37,9,.06), 0 16px 38px rgba(27,148,74,.16), 0 36px 70px rgba(7,77,36,.1);
  transition: transform .35s cubic-bezier(.16,.8,.24,1);
}
.feature-phone:hover { transform: translateY(-8px) rotate(-1deg); }
.feature-phone--alt:hover { transform: translateY(-8px) rotate(1deg); }
.feature-phone img { display: block; width: 200px; border-radius: 24px; }
.feature-col h3 { font-family: var(--font-head); font-weight: 900; font-size: 1.22rem; color: var(--green-deep); margin-bottom: 12px; line-height: 1.5; }
.feature-col p { font-size: .97rem; color: var(--text-light); line-height: 1.85; max-width: 300px; margin: 0 auto; }

/* ===== Showcase（ノート/分析/解説） ===== */
.showcase { position: relative; padding: 92px 0; overflow: hidden; }
.showcase--note     { background: #fff; }
.showcase--analysis { background: var(--beige); }
.showcase--kaisetsu { background: #fff; }
.showcase .container { position: relative; z-index: 1; }
.showcase-num { position: absolute; font-family: var(--font-num); font-weight: 800; font-size: clamp(7rem, 17vw, 15rem); color: rgba(27,148,74,.05); line-height: .8; pointer-events: none; z-index: 0; }
.showcase-num--right { top: 24px; right: -10px; }
.showcase-num--left  { top: 30px; left: -12px; }
.showcase-text { max-width: 680px; margin-bottom: 44px; }
.showcase-text--right { margin-left: auto; text-align: right; }
.showcase-text p { font-size: 1.05rem; color: var(--text-light); line-height: 1.9; }
.showcase-text h2 + p { margin-top: 0; }
.showcase-text h2 { margin-bottom: 18px; }
.analysis-note { font-size: .9rem !important; color: var(--green) !important; font-weight: 700; margin-top: 14px; }

.shot-gallery-wrap { position: relative; }
.shot-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 10px 4px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shot-gallery::-webkit-scrollbar { display: none; }
.shot { flex-shrink: 0; scroll-snap-align: start; }
.shot img { display: block; width: 212px; border-radius: 20px; box-shadow: 0 10px 30px rgba(27,148,74,.14); }
/* ギャラリー内のスタッガー */
.shot-gallery .shot:nth-child(1) { animation-range: entry 0%  entry 40%; }
.shot-gallery .shot:nth-child(2) { animation-range: entry 4%  entry 44%; }
.shot-gallery .shot:nth-child(3) { animation-range: entry 8%  entry 48%; }
.shot-gallery .shot:nth-child(4) { animation-range: entry 12% entry 52%; }
.shot-gallery .shot:nth-child(5) { animation-range: entry 16% entry 56%; }
.shot-gallery .shot:nth-child(6) { animation-range: entry 20% entry 60%; }
.shot-fade { position: absolute; top: 0; right: 0; bottom: 22px; width: 60px; pointer-events: none; }
.shot-fade--note     { background: linear-gradient(90deg, transparent, #fff); }
.shot-fade--analysis { background: linear-gradient(90deg, transparent, var(--beige)); }

/* ===== Pricing ===== */
.pricing { background: linear-gradient(180deg, var(--beige), var(--cream)); padding: 100px 0; }
.pricing h2 { margin-bottom: 48px; }
.pricing-table { max-width: 580px; margin: 0 auto; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid rgba(73,37,9,.05); box-shadow: 0 4px 16px rgba(27,148,74,.08), 0 24px 60px rgba(7,77,36,.12); }
.pricing-header { background: radial-gradient(120% 140% at 80% 0%, var(--green), var(--green-deep)); color: #fff; text-align: center; padding: 38px 24px 32px; }
.pricing-label { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; background: rgba(250,175,1,.95); color: var(--text); padding: 5px 16px; border-radius: 30px; margin-bottom: 18px; }
.pricing-price { display: flex; align-items: flex-start; justify-content: center; gap: 2px; line-height: 1; }
.pricing-yen { font-weight: 700; font-size: 2rem; margin-top: 12px; }
.pricing-amount { font-weight: 800; font-size: 4.4rem; letter-spacing: -.02em; }
.pricing-note { display: block; font-size: .85rem; opacity: .82; margin-top: 8px; }
.pricing-body-desc { background: var(--cream); padding: 18px 26px; text-align: center; font-size: .95rem; color: var(--text-light); border-bottom: 1px solid var(--line-soft); line-height: 1.7; }
.pricing-table table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { padding: 15px 14px; text-align: center; font-size: .9rem; border-bottom: 1px solid var(--line-soft); }
.pricing-table th { font-weight: 700; background: #f7f4ec; color: var(--muted); font-size: .92rem; }
.pricing-table th.col-premium { font-weight: 800; color: var(--green-deep); background: rgba(250,175,1,.16); }
.pricing-table th:first-child, .pricing-table td:first-child { text-align: left; padding-left: 22px; padding-right: 22px; font-weight: 700; color: var(--green-deep); }
.pricing-table td:first-child { color: var(--text); font-size: .93rem; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table td.check { background: rgba(250,175,1,.07); color: var(--green); font-weight: 700; }
.pricing-table td.cross { color: #c9bba6; font-size: 1.05rem; }
.pricing-cta { text-align: center; margin-top: 34px; }

/* ===== Other features ===== */
.other-features { background: #fff; padding: 84px 0; }
.other-features h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 52px; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 960px; margin: 0 auto; }
.other-bar { display: block; width: 38px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 18px; }
.other-item h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--green-deep); margin-bottom: 10px; line-height: 1.5; }
.other-item p { font-size: .96rem; color: var(--text-light); line-height: 1.85; }

/* ===== Trust ===== */
.trust { position: relative; background: radial-gradient(120% 120% at 20% 0%, var(--green), var(--green-deep) 60%, var(--green-darker)); color: #fff; padding: 88px 0; overflow: hidden; }
.trust h2 { color: #fff; margin-bottom: 56px; }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.trust-item { padding: 38px 30px; }
.trust-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.16); }
.trust-num { font-family: var(--font-num); font-weight: 800; font-size: 1.1rem; color: var(--gold); letter-spacing: .05em; }
.trust-item h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; margin: 12px 0 10px; line-height: 1.5; }
.trust-item p { font-size: .94rem; color: rgba(255,255,255,.78); line-height: 1.8; }

/* ===== FAQ ===== */
.faq { background: var(--beige); padding: 88px 0; }
.faq h2 { margin-bottom: 48px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px; font-size: 1.05rem; font-weight: 700; color: var(--green-deep);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-family: var(--font-num); font-weight: 400; font-size: 1.6rem; color: var(--green); line-height: 1; transition: transform .3s ease; }
.faq-item[open] summary::after { content: '+'; transform: rotate(135deg); }
.faq-item p { padding: 0 4px 22px; color: var(--text-light); line-height: 1.85; font-size: .97rem; }

/* ===== Final CTA ===== */
.cta { position: relative; background: radial-gradient(120% 130% at 50% 0%, var(--green), var(--green-deep) 62%, var(--green-darker)); color: #fff; padding: 90px 0 96px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(circle, rgba(250,175,1,.16), transparent 65%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; max-width: 760px; }
.cta-character { width: 128px; margin: 0 auto 26px; display: block; animation: scm-bob 4.5s ease-in-out infinite; filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)); }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.45; margin-bottom: 14px; }
.cta > .container > p, .cta-inner > p { color: rgba(255,255,255,.88); margin-bottom: 32px; font-size: 1.05rem; }
.cta .store-badges { justify-content: center; }

/* ===== Footer ===== */
.footer { background: var(--green-darker); color: rgba(255,255,255,.7); font-size: .85rem; padding: 48px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: #fff; font-size: 1.02rem; font-family: var(--font-head); }
.footer-logo { width: 36px; height: 36px; border-radius: 9px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { opacity: .5; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner { gap: 36px; }
  .features-grid, .other-grid { gap: 28px; }
}
@media (max-width: 760px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; padding: 56px 0 48px; }
  .hero-text { order: 2; }
  .hero-image { order: 1; flex: none; }
  .hero-free-note { justify-content: center; }
  .store-badges { justify-content: center; }

  .empathy-list { grid-template-columns: 1fr; gap: 30px; }
  .bubble-wrap--drop { margin-top: 0; }
  .bubble--a, .bubble--b, .bubble--c { transform: rotate(0deg); }

  .features-grid { grid-template-columns: 1fr; gap: 48px; }

  .showcase-text, .showcase-text--right { text-align: left; margin-left: 0; }
  .h2-left, .h2-right { text-align: left; }
  .kicker--right { text-align: left; }

  .other-grid { grid-template-columns: 1fr; gap: 36px; }

  .trust-items { grid-template-columns: 1fr; }
  .trust-item:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,.16); }

  .footer-links { flex-direction: column; align-items: center; gap: 12px; }
}
