/*
Theme Name: FightforLife SEO Consulting
Theme URI: https://fightforlife.jp/
Author: FightforLife
Description: SEOコンサルティングを主軸にした株式会社FightforLife専用の軽量コーポレートテーマ。
Version: 2.5.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: fightforlife-seo
*/

:root {
  --ffl-red: #e60012;
  --ffl-red-dark: #b9000e;
  --ffl-black: #111111;
  --ffl-gray-900: #202124;
  --ffl-gray-700: #4a4d52;
  --ffl-gray-500: #7a7f87;
  --ffl-gray-300: #d9dde3;
  --ffl-gray-200: #e9ecf0;
  --ffl-gray-100: #f5f6f8;
  --ffl-white: #ffffff;
  --ffl-max: 1180px;
  --ffl-radius: 18px;
  --ffl-shadow: 0 14px 40px rgba(17,17,17,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ffl-black);
  background: var(--ffl-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ffl-red); }
button, input, textarea, select { font: inherit; }

.ffl-container { width: min(calc(100% - 40px), var(--ffl-max)); margin-inline: auto; }
.ffl-narrow { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.ffl-section { padding: 96px 0; }
.ffl-section--soft { background: var(--ffl-gray-100); }
.ffl-section--dark { background: var(--ffl-black); color: var(--ffl-white); }
.ffl-eyebrow { margin: 0 0 12px; color: var(--ffl-red); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ffl-title { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.18; letter-spacing: -.035em; }
.ffl-title--sm { font-size: clamp(28px, 4vw, 42px); }
.ffl-lead { margin: 22px 0 0; color: var(--ffl-gray-700); font-size: clamp(16px, 2vw, 19px); line-height: 1.9; }
.ffl-section--dark .ffl-lead { color: #d5d7db; }
.ffl-note { color: var(--ffl-gray-500); font-size: 13px; }
.ffl-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .05em; }
.ffl-kicker::before { content: ""; width: 30px; height: 2px; background: var(--ffl-red); }

/* Header */
.ffl-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(17,17,17,.07); }
.ffl-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ffl-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.ffl-brand-mark { width: 12px; height: 30px; border-radius: 2px; background: var(--ffl-red); transform: skew(-10deg); }
.custom-logo-link img { max-height: 42px; width: auto; }
.ffl-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.ffl-nav a { position: relative; }
.ffl-menu-items { display: contents; }
.ffl-menu-items li { list-style: none; margin: 0; padding: 0; }
.ffl-nav a:not(.ffl-btn)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--ffl-red); transition: width .2s ease; }
.ffl-nav a:not(.ffl-btn):hover::after { width: 100%; }
.ffl-menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 9px; cursor: pointer; }
.ffl-menu-toggle span { display: block; height: 2px; background: var(--ffl-black); margin: 6px 0; }

/* Buttons */
.ffl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ffl-black); background: var(--ffl-black); color: var(--ffl-white); font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.ffl-btn:hover { color: var(--ffl-white); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(17,17,17,.15); }
.ffl-btn--red { background: var(--ffl-red); border-color: var(--ffl-red); }
.ffl-btn--red:hover { background: var(--ffl-red-dark); }
.ffl-btn--ghost { background: transparent; color: var(--ffl-black); }
.ffl-btn--ghost:hover { color: var(--ffl-black); background: var(--ffl-gray-100); }
.ffl-btn--white { background: var(--ffl-white); color: var(--ffl-black); border-color: var(--ffl-white); }
.ffl-btn--white:hover { color: var(--ffl-black); }
.ffl-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hero */
.ffl-hero { position: relative; overflow: hidden; padding: 86px 0 78px; }
.ffl-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(230,0,18,.09), rgba(230,0,18,0) 68%); pointer-events: none; }
.ffl-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.ffl-hero h1 { margin: 16px 0 0; font-size: clamp(44px, 6.4vw, 76px); line-height: 1.08; letter-spacing: -.055em; }
.ffl-hero h1 .accent { color: var(--ffl-red); }
.ffl-hero-copy { max-width: 680px; margin: 26px 0 0; color: var(--ffl-gray-700); font-size: clamp(16px, 2vw, 20px); }
.ffl-hero-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; padding: 0; list-style: none; color: var(--ffl-gray-700); font-size: 13px; font-weight: 700; }
.ffl-hero-meta li::before { content: "●"; color: var(--ffl-red); font-size: 9px; margin-right: 8px; }
.ffl-visual { position: relative; min-height: 470px; border-radius: 28px; background: linear-gradient(145deg,#f8f8f8 0%,#eceef1 100%); overflow: hidden; box-shadow: var(--ffl-shadow); }
.ffl-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,transparent 46%,rgba(230,0,18,.05)); }
.ffl-visual-photo { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: center top; }
.ffl-visual-fallback { position: absolute; inset: 0; display: grid; align-content: end; padding: 34px; }
.ffl-visual-fallback strong { font-size: 34px; line-height: 1.2; }
.ffl-visual-fallback span { margin-top: 8px; color: var(--ffl-gray-700); }
.ffl-visual-tag { position: absolute; left: 24px; top: 24px; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ffl-visual-stat { position: absolute; right: 20px; bottom: 20px; width: min(230px, calc(100% - 40px)); padding: 18px; border-radius: 16px; background: rgba(17,17,17,.92); color: white; }
.ffl-visual-stat b { display: block; color: #fff; font-size: 28px; }
.ffl-visual-stat span { color: #cfd2d7; font-size: 12px; }

/* Stats */
.ffl-stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ffl-gray-200); border-radius: var(--ffl-radius); overflow: hidden; background: var(--ffl-white); box-shadow: var(--ffl-shadow); }
.ffl-stat { padding: 30px 26px; border-right: 1px solid var(--ffl-gray-200); }
.ffl-stat:last-child { border-right: 0; }
.ffl-stat b { display: block; color: var(--ffl-red); font-size: clamp(31px,4vw,48px); line-height: 1.1; letter-spacing: -.04em; }
.ffl-stat span { display: block; margin-top: 8px; color: var(--ffl-gray-700); font-size: 13px; font-weight: 700; }

/* Cards */
.ffl-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ffl-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.ffl-card { height: 100%; padding: 30px; border: 1px solid var(--ffl-gray-200); border-radius: var(--ffl-radius); background: var(--ffl-white); }
.ffl-card h3 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.ffl-card p { margin: 14px 0 0; color: var(--ffl-gray-700); }
.ffl-card-number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 24px; border-radius: 50%; background: var(--ffl-black); color: white; font-size: 12px; font-weight: 800; }
.ffl-card--accent { border-top: 4px solid var(--ffl-red); }

.ffl-problems { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.ffl-problems li { padding: 18px 20px; border-radius: 14px; background: var(--ffl-white); border: 1px solid var(--ffl-gray-200); font-weight: 700; }
.ffl-problems li::before { content: "✓"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: rgba(230,0,18,.09); color: var(--ffl-red); font-weight: 900; }

/* Cases */
.ffl-case { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding: 38px; border-radius: 24px; background: var(--ffl-black); color: white; }
.ffl-case + .ffl-case { margin-top: 22px; }
.ffl-case-label { color: #c7cbd1; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ffl-case h3 { margin: 8px 0 0; font-size: 28px; }
.ffl-case-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.ffl-case-metric { padding: 22px; border: 1px solid #33363b; border-radius: 16px; background: #191a1d; }
.ffl-case-metric b { display: block; color: #fff; font-size: 42px; line-height: 1.1; }
.ffl-case-metric span { color: #c9ccd1; font-size: 12px; }
.ffl-case-desc { margin-top: 18px; color: #cfd2d7; }

/* Process */
.ffl-process { counter-reset: process; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 36px; }
.ffl-process-item { position: relative; padding: 26px 22px; border-top: 2px solid var(--ffl-gray-300); }
.ffl-process-item::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 15px; color: var(--ffl-red); font-weight: 900; letter-spacing: .08em; }
.ffl-process-item h3 { margin: 0; font-size: 18px; }
.ffl-process-item p { margin: 10px 0 0; color: var(--ffl-gray-700); font-size: 14px; }

/* CTA */
.ffl-cta { padding: 48px; border-radius: 28px; background: var(--ffl-red); color: white; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.ffl-cta h2 { margin: 0; font-size: clamp(28px,4vw,46px); line-height: 1.2; }
.ffl-cta p { margin: 12px 0 0; color: rgba(255,255,255,.86); }

/* Page hero */
.ffl-page-hero { padding: 78px 0 56px; border-bottom: 1px solid var(--ffl-gray-200); }
.ffl-breadcrumb { margin-bottom: 18px; color: var(--ffl-gray-500); font-size: 12px; }
.ffl-content { padding: 70px 0 100px; }
.ffl-content h2 { margin-top: 54px; font-size: 30px; letter-spacing: -.03em; }
.ffl-content h3 { margin-top: 36px; font-size: 22px; }
.ffl-content p, .ffl-content li { color: var(--ffl-gray-700); }
.ffl-content table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.ffl-content th, .ffl-content td { padding: 18px; border-bottom: 1px solid var(--ffl-gray-200); text-align: left; vertical-align: top; }
.ffl-content th { width: 28%; color: var(--ffl-black); background: var(--ffl-gray-100); }

/* Contact */
.ffl-form { display: grid; gap: 22px; }
.ffl-field label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 14px; }
.ffl-field input, .ffl-field textarea, .ffl-field select { width: 100%; border: 1px solid #cfd3da; border-radius: 12px; padding: 14px 15px; background: white; color: var(--ffl-black); outline: none; }
.ffl-field input:focus, .ffl-field textarea:focus, .ffl-field select:focus { border-color: var(--ffl-red); box-shadow: 0 0 0 3px rgba(230,0,18,.08); }
.ffl-field textarea { min-height: 190px; resize: vertical; }
.ffl-required { color: var(--ffl-red); font-size: 11px; margin-left: 6px; }
.ffl-form-notice { margin-bottom: 24px; padding: 16px 18px; border-radius: 12px; background: #eef9f0; color: #176b2c; border: 1px solid #cfead5; }
.ffl-form-error { background: #fff1f1; color: #8b0a12; border-color: #ffd2d5; }
.ffl-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Footer */
.ffl-footer { background: #0f0f10; color: white; }
.ffl-footer-top { padding: 64px 0 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.ffl-footer-brand p { max-width: 520px; color: #aeb2b8; }
.ffl-footer-nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 28px; align-content: start; }
.ffl-footer-nav a { color: #d5d8dc; font-size: 14px; }
.ffl-footer-bottom { padding: 22px 0; border-top: 1px solid #2a2b2f; color: #92979f; font-size: 12px; display: flex; justify-content: space-between; gap: 20px; }

/* WP editor */
.entry-content > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--ffl-max); }
.entry-content > .alignfull { max-width: none; }

@media (max-width: 980px) {
  .ffl-nav { position: fixed; inset: 76px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 24px; background: white; border-bottom: 1px solid var(--ffl-gray-200); box-shadow: var(--ffl-shadow); }
  .ffl-nav.is-open { display: flex; }
  .ffl-nav a { padding: 12px 0; }
  .ffl-menu-toggle { display: block; }
  .ffl-hero-grid, .ffl-case, .ffl-cta, .ffl-footer-top { grid-template-columns: 1fr; }
  .ffl-hero-grid { gap: 42px; }
  .ffl-visual { min-height: 400px; }
  .ffl-visual-photo { min-height: 400px; }
  .ffl-stats { grid-template-columns: repeat(2,1fr); }
  .ffl-stat:nth-child(2) { border-right: 0; }
  .ffl-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ffl-gray-200); }
  .ffl-grid-3 { grid-template-columns: 1fr; }
  .ffl-process { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .ffl-container, .ffl-narrow { width: min(calc(100% - 28px), var(--ffl-max)); }
  .ffl-section { padding: 70px 0; }
  .ffl-header-inner { min-height: 68px; }
  .ffl-nav { inset: 68px 0 auto 0; }
  .ffl-hero { padding: 54px 0 56px; }
  .ffl-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .ffl-visual { min-height: 340px; border-radius: 22px; }
  .ffl-visual-photo { min-height: 340px; }
  .ffl-stats { grid-template-columns: 1fr; }
  .ffl-stat, .ffl-stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--ffl-gray-200); }
  .ffl-stat:last-child { border-bottom: 0; }
  .ffl-grid-2, .ffl-problems, .ffl-process, .ffl-case-metrics, .ffl-footer-nav { grid-template-columns: 1fr; }
  .ffl-card, .ffl-case, .ffl-cta { padding: 24px; }
  .ffl-cta .ffl-btn { width: 100%; }
  .ffl-content th, .ffl-content td { display: block; width: 100%; }
  .ffl-content th { border-bottom: 0; padding-bottom: 8px; }
  .ffl-footer-bottom { flex-direction: column; }
}


/* v1.1 refinements */
.ffl-brand--official img { width: auto; height: 46px; max-width: 230px; object-fit: contain; }
.ffl-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
.ffl-hero h1 { font-size: clamp(46px, 5.7vw, 70px); }
.ffl-hero-line { display: block; white-space: nowrap; }
.ffl-visual { min-height: 560px; }
.ffl-visual-photo { min-height: 560px; object-position: center top; }
.ffl-owned-proof { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; margin-top: 22px; padding: 30px 38px; border: 1px solid #303236; border-radius: 22px; background: #18191c; }
.ffl-owned-proof h3 { margin: 8px 0 0; font-size: 24px; }
.ffl-owned-proof p { margin: 14px 0 0; color: #cfd2d7; }
.ffl-owned-proof-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.ffl-owned-proof-metrics > div { padding: 18px 20px; border-radius: 14px; background: #222428; }
.ffl-owned-proof-metrics b { display: block; font-size: 26px; line-height: 1.2; }
.ffl-owned-proof-metrics span { display: block; margin-top: 6px; color: #c9ccd1; font-size: 12px; }
.ffl-owned-proof--light { margin-top: 22px; border-color: var(--ffl-gray-200); background: var(--ffl-white); color: var(--ffl-black); }
.ffl-owned-proof--light .ffl-case-label { color: var(--ffl-gray-500); }
.ffl-owned-proof--light p { color: var(--ffl-gray-700); }
.ffl-owned-proof--light .ffl-owned-proof-metrics > div { background: var(--ffl-gray-100); }
.ffl-owned-proof--light .ffl-owned-proof-metrics span { color: var(--ffl-gray-700); }
.ffl-footer-company { font-size: 19px; font-weight: 900; letter-spacing: -.02em; }

@media (max-width: 980px) {
  .ffl-owned-proof { grid-template-columns: 1fr; }
  .ffl-visual, .ffl-visual-photo { min-height: 500px; }
}

@media (max-width: 640px) {
  .ffl-brand--official img { height: 38px; max-width: 190px; }
  .ffl-hero h1 { font-size: clamp(32px, 10.6vw, 48px); letter-spacing: -.06em; }
  .ffl-hero-line { white-space: nowrap; }
  .ffl-visual, .ffl-visual-photo { min-height: 430px; }
  .ffl-owned-proof { padding: 24px; }
  .ffl-owned-proof-metrics { grid-template-columns: 1fr; }
}


/* v1.2 conversion-focused single-column LP */
.ffl-btn--large { min-height: 58px; padding-inline: 30px; font-size: 16px; }
.ffl-text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ffl-centered-action { margin-top: 30px; text-align: center; }
.ffl-lp-column { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.ffl-lp-column--wide { width: min(calc(100% - 40px), 980px); }

.ffl-hero--lp { padding: 0; background: #fff; }
.ffl-hero--lp::after { display: none; }
.ffl-hero-stage { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.ffl-hero-content { position: relative; z-index: 2; width: 64%; padding: 72px 0 64px; }
.ffl-hero--lp h1 { margin-top: 18px; font-size: clamp(50px, 5.1vw, 66px); line-height: 1.08; letter-spacing: -.055em; }
.ffl-hero--lp .ffl-hero-line { white-space: nowrap; }
.ffl-hero--lp .ffl-hero-copy { max-width: 640px; margin-top: 24px; font-size: clamp(16px, 1.65vw, 19px); line-height: 1.9; }
.ffl-hero-actions { margin-top: 28px; }
.ffl-hero-person { position: absolute; z-index: 1; right: -18px; bottom: 0; width: min(48%, 570px); height: 650px; display: flex; align-items: flex-end; justify-content: center; }
.ffl-hero-person::before { content: ""; position: absolute; inset: 42px -36px 0 20px; border-radius: 34px 0 0 0; background: radial-gradient(circle at 62% 42%, rgba(230,0,18,.07), rgba(230,0,18,0) 58%), linear-gradient(145deg,#f7f7f8 0%,#faf5f5 100%); }
.ffl-hero-person img { position: relative; z-index: 1; width: 100%; max-height: 650px; object-fit: contain; object-position: center bottom; }

.ffl-proof-section { padding: 34px 0 28px; border-top: 1px solid var(--ffl-gray-200); border-bottom: 1px solid var(--ffl-gray-200); background: #fff; }
.ffl-proof-strip { display: grid; grid-template-columns: repeat(3,1fr); }
.ffl-proof-item { padding: 10px 30px; text-align: center; border-right: 1px solid var(--ffl-gray-200); }
.ffl-proof-item:first-child { padding-left: 0; }
.ffl-proof-item:last-child { padding-right: 0; border-right: 0; }
.ffl-proof-item b { display: block; color: var(--ffl-red); font-size: clamp(25px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.ffl-proof-item span { display: block; margin-top: 7px; color: var(--ffl-gray-700); font-size: 12px; font-weight: 700; }
.ffl-proof-note { margin: 18px 0 0; text-align: center; }

.ffl-problems--single { grid-template-columns: 1fr; gap: 0; margin-top: 38px; border-top: 1px solid var(--ffl-gray-300); }
.ffl-problems--single li { border: 0; border-bottom: 1px solid var(--ffl-gray-300); border-radius: 0; background: transparent; padding: 20px 4px; }
.ffl-problems--single li::before { margin-right: 14px; }

.ffl-feature-stack { margin-top: 48px; border-top: 1px solid var(--ffl-gray-200); }
.ffl-feature-row { display: grid; grid-template-columns: 78px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--ffl-gray-200); }
.ffl-feature-no { color: var(--ffl-red); font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.ffl-feature-row h3 { margin: 0; font-size: 24px; }
.ffl-feature-row p { margin: 10px 0 0; color: var(--ffl-gray-700); }

.ffl-case--lp { display: block; margin-top: 38px; padding: 46px; background: #18191b; border: 1px solid #303236; }
.ffl-case--lp h3 { font-size: clamp(30px, 4vw, 42px); }
.ffl-case--lp .ffl-case-desc { max-width: 760px; font-size: 16px; line-height: 1.9; }
.ffl-case-actions { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 22px; }
.ffl-case-actions li { color: #d8dadd; font-size: 14px; }
.ffl-case-actions li::before { content: "—"; margin-right: 8px; color: var(--ffl-red); }
.ffl-case-metrics--large { margin-top: 34px; }
.ffl-case-metrics--large .ffl-case-metric { padding: 28px; }
.ffl-case-metrics--large .ffl-case-metric b { font-size: clamp(48px, 7vw, 68px); }
.ffl-case-metrics--large .ffl-case-metric span { margin-top: 8px; display: block; font-size: 13px; }
.ffl-note--dark { color: #9da1a8; margin: 16px 2px 0; }

.ffl-mid-contact { padding: 34px 0; border-bottom: 1px solid var(--ffl-gray-200); background: #fff; }
.ffl-mid-contact .ffl-lp-column { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.ffl-mid-contact p { margin: 0; font-weight: 800; font-size: 17px; }

.ffl-service-list { margin-top: 48px; border-top: 1px solid var(--ffl-gray-200); }
.ffl-service-row { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--ffl-gray-200); }
.ffl-service-row > span { color: var(--ffl-red); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.ffl-service-row h3 { margin: 0; font-size: 21px; }
.ffl-service-row p { margin: 8px 0 0; color: var(--ffl-gray-700); }
.ffl-service-list--page { margin-top: 44px; }
.ffl-suitable { margin-top: 60px; padding: 34px; background: var(--ffl-gray-100); border-radius: 18px; }
.ffl-suitable h2 { margin: 0; }
.ffl-suitable p { margin: 12px 0 0; }

.ffl-profile-lp { margin-top: 44px; display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: end; }
.ffl-profile-photo-wrap { height: 390px; overflow: hidden; background: linear-gradient(150deg,#fff,#ededed); border-radius: 22px; }
.ffl-profile-photo-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.ffl-profile-copy h3 { margin: 7px 0 14px; font-size: 36px; letter-spacing: -.04em; }
.ffl-profile-copy p { color: var(--ffl-gray-700); }
.ffl-profile-role { margin: 0; font-size: 13px; font-weight: 800; color: var(--ffl-red) !important; }


.ffl-faq { margin-top: 36px; border-top: 1px solid var(--ffl-gray-300); }
.ffl-faq details { border-bottom: 1px solid var(--ffl-gray-300); }
.ffl-faq summary { position: relative; padding: 24px 46px 24px 0; cursor: pointer; font-weight: 800; list-style: none; }
.ffl-faq summary::-webkit-details-marker { display: none; }
.ffl-faq summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-size: 24px; color: var(--ffl-red); }
.ffl-faq details[open] summary::after { content: "−"; }
.ffl-faq details p { margin: -4px 0 24px; color: var(--ffl-gray-700); }

.ffl-cta { display: block; max-width: 920px; margin-inline: auto; padding: 58px 54px; text-align: center; }
.ffl-cta p { max-width: 680px; margin: 14px auto 0; }
.ffl-cta .ffl-btn { margin-top: 26px; }

.ffl-mobile-contact-bar { display: none; }

@media (max-width: 980px) {
  .ffl-hero--lp { background: #fff; }
  .ffl-hero-stage { min-height: auto; padding-top: 34px; display: block; }
  .ffl-hero-content { width: 100%; padding: 38px 0 0; }
  .ffl-hero--lp .ffl-hero-copy { max-width: 690px; }
  .ffl-hero-person { position: relative; right: auto; width: min(82%, 620px); height: 520px; margin: -18px auto 0; }
  .ffl-hero-person img { max-height: 520px; }
  .ffl-profile-lp { grid-template-columns: 260px 1fr; gap: 34px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 70px; }
  .ffl-lp-column, .ffl-lp-column--wide { width: min(calc(100% - 28px), 860px); }
  .ffl-hero-stage { padding-top: 18px; }
  .ffl-hero-content { padding-top: 30px; }
  .ffl-hero--lp h1 { font-size: clamp(32px, 9.7vw, 42px); letter-spacing: -.06em; }
  .ffl-hero--lp .ffl-hero-copy { font-size: 15px; line-height: 1.8; }
  .ffl-hero-actions .ffl-btn { width: 100%; }
  .ffl-hero-meta { gap: 8px 14px; margin-top: 22px; font-size: 11px; }
  .ffl-hero-person { width: 104%; height: 410px; margin: -6px -2% 0; }
  .ffl-hero-person img { max-height: 410px; }
  .ffl-proof-strip { grid-template-columns: 1fr; }
  .ffl-proof-item, .ffl-proof-item:first-child, .ffl-proof-item:last-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--ffl-gray-200); }
  .ffl-proof-item:last-child { border-bottom: 0; }
  .ffl-proof-note { text-align: left; }
  .ffl-feature-row { grid-template-columns: 42px 1fr; gap: 14px; padding: 26px 0; }
  .ffl-feature-row h3 { font-size: 21px; }
  .ffl-case--lp { padding: 26px 22px; }
  .ffl-case-actions { grid-template-columns: 1fr; }
  .ffl-case-metrics--large { grid-template-columns: 1fr; }
  .ffl-case-metrics--large .ffl-case-metric b { font-size: 52px; }
  .ffl-mid-contact .ffl-lp-column { display: block; text-align: center; }
  .ffl-mid-contact .ffl-btn { width: 100%; margin-top: 18px; }
  .ffl-service-row { grid-template-columns: 38px 1fr; gap: 12px; }
  .ffl-profile-lp { grid-template-columns: 1fr; gap: 28px; }
  .ffl-profile-photo-wrap { width: min(100%, 340px); height: 390px; margin-inline: auto; }
  .ffl-profile-copy h3 { font-size: 32px; }
  .ffl-cta { padding: 38px 22px; }
  .ffl-mobile-contact-bar { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; display: block; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--ffl-gray-200); box-shadow: 0 -8px 24px rgba(17,17,17,.08); }
  .ffl-mobile-contact-bar a { display: flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ffl-red); color: #fff; font-weight: 900; }
}

/* ===== v1.3 final refinements ===== */
.ffl-profile-photo-wrap {
  height: 430px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}
.ffl-profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 28px rgba(17,17,17,.08));
}
.ffl-profile-page-photo {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent;
}
.ffl-profile-page-photo img {
  display: block;
  width: min(100%, 560px);
  max-height: 620px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 32px rgba(17,17,17,.08));
}
.ffl-flow {
  margin-top: 38px;
  border-top: 1px solid var(--ffl-gray-200);
}
.ffl-flow article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ffl-gray-200);
}
.ffl-flow article > span {
  color: var(--ffl-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.ffl-flow h3 { margin: 0 0 8px; font-size: 21px; }
.ffl-flow p { margin: 0; color: var(--ffl-gray-700); }

@media (min-width: 1025px) {
  .ffl-hero-content { width: 60%; }
  .ffl-hero-person { right: -8px; width: min(50%, 600px); height: 670px; }
  .ffl-hero-person img { max-height: 670px; }
  .ffl-profile-lp { grid-template-columns: 350px 1fr; gap: 54px; }
}

@media (max-width: 767px) {
  .ffl-profile-photo-wrap { width: min(100%, 360px); height: 410px; }
  .ffl-profile-page-photo { min-height: 430px; }
  .ffl-profile-page-photo img { max-height: 460px; }
  .ffl-flow article { grid-template-columns: 48px 1fr; gap: 14px; padding: 24px 0; }
}

/* ===== v1.4 final polish ===== */
.ffl-brand--official { background: transparent; }
.ffl-brand--official img { display:block; background:transparent; }
.ffl-copy-line { display: block; }
.ffl-countup { font-variant-numeric: tabular-nums; }
.ffl-cta-title-line { display: inline; }
.ffl-cta-title-line + .ffl-cta-title-line::before { content: ""; }

@media (min-width: 768px) {
  .ffl-cta h2 { font-size: clamp(30px, 3.45vw, 42px); }
  .ffl-cta-title-line { display: inline; white-space: nowrap; }
  .ffl-cta-title-line:first-child::after { content: " "; }
}

@media (max-width: 767px) {
  .ffl-copy-line { display: inline; }
  .ffl-copy-line + .ffl-copy-line::before { content: " "; }
  .ffl-cta-title-line { display: block; }
}


/* ===== v1.5 final consolidation ===== */
.ffl-proof-item--case {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ffl-proof-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.ffl-proof-pair > div { min-width: 0; }
.ffl-proof-pair b {
  display: block;
  color: var(--ffl-red);
  font-size: clamp(24px, 2.55vw, 34px);
  line-height: 1.1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.ffl-proof-pair span {
  display: block;
  margin-top: 7px;
  color: var(--ffl-gray-700);
  font-size: 11px;
  font-weight: 700;
}
.ffl-proof-item--case small {
  display: block;
  margin-top: 10px;
  color: var(--ffl-gray-500);
  font-size: 10px;
  font-weight: 700;
}
.ffl-owned-business {
  margin-top: 48px;
  padding: 32px 34px;
  border: 1px solid var(--ffl-gray-200);
  border-radius: 20px;
  background: var(--ffl-gray-100);
}
.ffl-owned-business h2 { margin: 6px 0 12px; }
.ffl-owned-business p:not(.ffl-eyebrow) { margin: 0 0 14px; color: var(--ffl-gray-700); }
#case-study { scroll-margin-top: 76px; }

@media (max-width: 767px) {
  .ffl-proof-pair { gap: 12px; }
  .ffl-proof-pair b { font-size: clamp(27px, 9vw, 36px); }
  .ffl-proof-pair span { font-size: 11px; }
  .ffl-proof-item--case small { margin-top: 12px; }
  .ffl-owned-business { padding: 24px 22px; }
  #case-study { scroll-margin-top: 68px; }
}


/* ===== v1.7 final image / copy refinements ===== */
/* FVは斜めの背景分割を廃止。人物の縦横比は維持し、右側だけに薄い背景面を置く。 */
.ffl-hero-person img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 670px;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

/* CONSULTANTも同じクリーンな透過素材を使用。下端はコンテナで水平に収める。 */
.ffl-profile-photo-wrap {
  height: 430px;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}
.ffl-profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  clip-path: none;
  -webkit-clip-path: none;
  transform: none;
  filter: drop-shadow(0 16px 26px rgba(17,17,17,.07));
}
.ffl-profile-page-photo img {
  transform: none;
}

/* FLOW説明文はPCで意図的な2行に固定し、単語途中の不自然な折返しを防ぐ。 */
.ffl-flow-lead span { display: block; }

/* 実績数値は2指標を常に対応関係が分かる形で横並び。 */
.ffl-proof-pair {
  grid-template-columns: repeat(2, minmax(110px,1fr));
  gap: 16px;
}
.ffl-proof-pair > div { text-align: center; }
.ffl-proof-pair b { white-space: nowrap; }

@media (max-width: 980px) {
  .ffl-hero-person::before { inset: 34px 4% 0 4%; border-radius: 28px 28px 0 0; }
  .ffl-hero-person img { max-height: 520px; }
}

@media (max-width: 640px) {
  .ffl-flow-lead span { display: inline; }
  .ffl-flow-lead span + span::before { content: " "; }
  .ffl-hero-person::before { inset: 24px 2% 0 2%; border-radius: 24px 24px 0 0; }
  .ffl-hero-person img { max-height: 410px; }
  .ffl-proof-pair { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
}

/* ===== v1.8 FV visual refinement =====
   Keep the portrait asset untouched. Remove the card-like rounded panel,
   reduce portrait scale slightly, and blend the right-side background into white. */
@media (min-width: 981px) {
  .ffl-hero-person {
    right: 20px;
    width: min(46%, 540px);
    height: 650px;
  }
  .ffl-hero-person::before {
    inset: 0 -45vw 0 -90px;
    border-radius: 0;
    background: linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(248,247,247,.48) 24%,
      rgba(248,246,246,.86) 52%,
      #f8f6f6 100%);
  }
  .ffl-hero-person img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    object-position: center bottom;
  }
}

@media (max-width: 980px) {
  .ffl-hero-person::before {
    inset: 0 -24vw 0 -24vw;
    border-radius: 0;
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(248,247,247,.52) 26%,
      #f8f6f6 100%);
  }
  .ffl-hero-person img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 490px;
  }
}

@media (max-width: 640px) {
  .ffl-hero-person img { max-height: 385px; }
}

/* ===== v2.0 FINAL portrait unification =====
   Use the approved natural background photo everywhere.
   No cutout, no AI reconstruction, no aspect-ratio distortion. */

/* HERO: use the photograph at its native aspect ratio. The right-side surface
   extends behind it so the pale photo background blends into the page instead
   of reading as a rounded card. */
.ffl-hero-person {
  overflow: visible;
}
.ffl-hero-person::before {
  border-radius: 0 !important;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(249,249,249,.72) 28%,
    #f8f8f8 100%) !important;
}
.ffl-hero-person img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  transform: none !important;
  filter: none !important;
}

@media (min-width: 981px) {
  .ffl-hero-person {
    right: 0;
    bottom: 0;
    width: min(47%, 540px);
    height: auto;
  }
  .ffl-hero-person::before {
    inset: 0 -45vw 0 -72px;
  }
}

@media (max-width: 980px) {
  .ffl-hero-person {
    position: relative;
    right: auto;
    width: min(72%, 500px);
    height: auto;
    margin: 26px auto 0;
  }
  .ffl-hero-person::before {
    inset: 0 -28vw 0 -28vw;
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(249,249,249,.65) 24%,
      #f8f8f8 100%) !important;
  }
}

@media (max-width: 640px) {
  .ffl-hero-person {
    width: min(100%, 420px);
    height: auto;
    margin: 24px auto 0;
  }
}

/* CONSULTANT on TOP: show the same full photograph without clipping, masking,
   drop shadows or forced container height. */
.ffl-profile-photo-wrap {
  height: auto !important;
  overflow: hidden !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.ffl-profile-photo-wrap img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  transform: none !important;
  filter: none !important;
}

/* PROFILE detail: preserve the same original photograph and ratio. */
.ffl-profile-page-photo {
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: transparent !important;
}
.ffl-profile-page-photo img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  transform: none !important;
  filter: none !important;
}

/* ===== v2.1 FINAL micro-polish =====
   Keep the approved photograph untouched. Soften only its left rectangular edge,
   strengthen the case-study descriptor hierarchy, and give the official logo
   slightly more presence in the header. */

/* Header logo: approximately +10% from v2.0. */
.ffl-brand--official img {
  height: 51px;
  max-width: 253px;
}

/* Proof strip: identify the case before presenting the two results. */
.ffl-proof-item--case .ffl-proof-case-title {
  order: -1;
  margin: 0 0 10px;
  color: var(--ffl-gray-700);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .01em;
}

/* Desktop HERO only: fade the photo's pale background into the white page.
   The overlay ends before the subject begins, so it does not retouch the person. */
@media (min-width: 981px) {
  .ffl-hero-person::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    bottom: 0;
    width: 46px;
    pointer-events: none;
    background: linear-gradient(90deg,
      #fff 0%,
      rgba(255,255,255,.92) 28%,
      rgba(255,255,255,.52) 66%,
      rgba(255,255,255,0) 100%);
  }
}

@media (max-width: 767px) {
  .ffl-brand--official img {
    height: 42px;
    max-width: 209px;
  }
  .ffl-proof-item--case .ffl-proof-case-title {
    margin-bottom: 9px;
    font-size: 12px;
  }
}


/* ===== v2.2 FINAL conversion / mobile polish =====
   - Count up all four headline proof numbers.
   - Simplify the third proof column to the two client-result metrics only.
   - Keep the approved portrait file untouched.
   - On mobile, make the three proof points readable and delay the sticky CTA
     until the visitor reaches the PROBLEM section. */

/* Proof strip: 3rd column contains only the two result metrics. */
.ffl-proof-item--case {
  justify-content: center;
}
.ffl-proof-item--case .ffl-proof-case-title {
  display: none !important;
}
.ffl-proof-pair {
  width: 100%;
  align-items: center;
}
.ffl-proof-pair > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Keep changing numerals stable while they animate. */
.ffl-proof-item .ffl-countup,
.ffl-proof-pair .ffl-countup {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 640px) {
  /* The hero CTA remains primary. Supporting points become easier to scan and
     may wrap to two rows rather than shrinking into one dense line. */
  .ffl-hero-meta {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    align-items: center;
    gap: 8px 18px;
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.45;
  }
  .ffl-hero-meta li:last-child {
    grid-column: 1 / -1;
  }
  .ffl-hero-meta li::before {
    margin-right: 7px;
  }

  /* Keep the approved full photo directly after the supporting points. No
     cropping or image processing; only a little spacing so its appearance is intentional. */
  .ffl-hero-person {
    margin-top: 20px;
  }

  /* The sticky CTA is hidden near the first CTA and appears later via JS. */
  .ffl-mobile-contact-bar {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(110%);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .ffl-mobile-contact-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 360px) {
  .ffl-hero-meta {
    grid-template-columns: 1fr;
  }
  .ffl-hero-meta li:last-child {
    grid-column: auto;
  }
}


/* ===== v2.3 FINAL contact reliability / scroll reveal =====
   - Mobile and desktop consultation CTAs resolve the real WordPress contact page.
   - Below-the-fold content uses a restrained one-time fade-up reveal.
   - Hero/proof strip stay immediate; headline numbers already have count-up motion. */
.ffl-js .ffl-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity .56s cubic-bezier(.22, 1, .36, 1),
    transform .56s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--ffl-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.ffl-js .ffl-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 640px) {
  .ffl-js .ffl-reveal {
    transform: translate3d(0, 11px, 0);
  }
  .ffl-js .ffl-reveal.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ffl-js .ffl-reveal,
  .ffl-js .ffl-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ===== v2.4 FINAL motion polish =====
   Motion is used to guide reading order, not as decoration:
   - section heading/body stagger
   - approved below-the-fold portrait slides in subtly from the right
   - count-up values receive one restrained completion emphasis
   - desktop header tightens after scrolling
   - FAQ expands/collapses smoothly
   - CTA hover/press feedback is slightly richer
*/

/* Sticky header becomes a little tighter and more defined after leaving the top. */
.ffl-header {
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.ffl-header-inner {
  transition: min-height .3s cubic-bezier(.22,1,.36,1);
}
.ffl-brand--official img {
  transition: height .3s cubic-bezier(.22,1,.36,1), max-width .3s cubic-bezier(.22,1,.36,1);
}
.ffl-header.is-scrolled {
  background: rgba(255,255,255,.985);
  border-bottom-color: rgba(17,17,17,.1);
  box-shadow: 0 8px 28px rgba(17,17,17,.07);
}
@media (min-width: 981px) {
  .ffl-header.is-scrolled .ffl-header-inner {
    min-height: 64px;
  }
  .ffl-header.is-scrolled .ffl-brand--official img {
    height: 45px;
    max-width: 224px;
  }
}

/* Richer but restrained CTA feedback. */
.ffl-btn span {
  display: inline-block;
  transition: transform .2s cubic-bezier(.22,1,.36,1);
}
.ffl-btn:hover span {
  transform: translateX(3px);
}
.ffl-btn:active {
  transform: translateY(0) scale(.985);
  box-shadow: 0 5px 12px rgba(17,17,17,.12);
}

/* Headings/body already use .ffl-reveal; images get a distinct horizontal entrance. */
.ffl-js .ffl-reveal--image {
  opacity: 0;
  transform: translate3d(28px,0,0);
  transition:
    opacity .62s cubic-bezier(.22,1,.36,1),
    transform .62s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--ffl-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.ffl-js .ffl-reveal--image.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* A one-time, very small emphasis when a counter finishes. */
.ffl-countup {
  display: inline-block;
  transform-origin: 50% 60%;
}
.ffl-countup.is-counted-pop {
  animation: ffl-count-finish .3s cubic-bezier(.22,1,.36,1) both;
}
@keyframes ffl-count-finish {
  0% { transform: scale(1); }
  58% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* FAQ: native details remains accessible; JS animates its container height. */
.ffl-faq details {
  overflow: visible;
}
.ffl-faq summary::after {
  transition: transform .25s cubic-bezier(.22,1,.36,1), color .2s ease;
}
.ffl-faq details[open] summary::after {
  transform: rotate(180deg);
}
.ffl-faq details p {
  transform-origin: top;
}
.ffl-faq details[open] p {
  animation: ffl-faq-copy-in .3s cubic-bezier(.22,1,.36,1) both;
}
@keyframes ffl-faq-copy-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .ffl-js .ffl-reveal--image {
    transform: translate3d(18px,0,0);
  }
  .ffl-js .ffl-reveal--image.is-visible {
    transform: translate3d(0,0,0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ffl-header,
  .ffl-header-inner,
  .ffl-brand--official img,
  .ffl-btn,
  .ffl-btn span,
  .ffl-faq summary::after {
    transition: none !important;
  }
  .ffl-js .ffl-reveal--image,
  .ffl-js .ffl-reveal--image.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ffl-countup.is-counted-pop,
  .ffl-faq details[open] p {
    animation: none !important;
  }
}
