/* =================================================================
   Fine Parking — Flow Page Styles
   配置先: 子テーマ/assets/css/style-fine-flow.css
   ================================================================= */

:root {
    --c-navy:   #0d1b2a;
    --c-gold:   #c9a96e;
    --c-gold-dark: #b08d55;
    --c-gold-light: rgba(201,169,110,0.08);
    --c-text:   #4a4f57;
    --c-text-light: #999;
    --c-bg-warm: #f8f7f4;
    --c-white:  #fff;
    --ff-serif: 'Cormorant Garamond', serif;
    --ff-body:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-wrapper { font-family: var(--ff-body); color: var(--c-text); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.fp-flow-page { background: var(--c-white); }
.fp-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.fp-container--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.fp-section { padding: 80px 0; }
@media (max-width: 768px) { .fp-section { padding: 56px 0; } }

/* Section Header */
.fp-section-header { text-align: center; margin-bottom: 48px; }
.fp-section-header .en { display: block; font-family: var(--ff-serif); font-size: 0.85rem; letter-spacing: 0.25em; color: var(--c-gold); margin-bottom: 12px; }
.fp-section-header .ja { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--c-navy); margin-bottom: 12px; }
.fp-section-header__desc { font-size: 0.9rem; color: var(--c-text-light); }

/* Buttons */
.fp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ff-body); font-size: 0.95rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer; border-radius: 60px; padding: 16px 40px; transition: all 0.4s var(--ease-out); letter-spacing: 0.05em; }
.fp-btn--primary { background: var(--c-gold); color: var(--c-navy); }
.fp-btn--primary:hover { background: var(--c-gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.35); }
.fp-btn--glass { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px); }
.fp-btn--glass:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.fp-btn--lg { padding: 18px 48px; font-size: 1rem; }


/* -----------------------------------------
   1. HERO
   ----------------------------------------- */
.fp-flow-hero {
    position: relative; padding: 120px 20px 80px; text-align: center;
    background: var(--c-navy); color: #fff; overflow: hidden;
}
.fp-flow-hero__bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 30%, rgba(201,169,110,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.fp-flow-hero__content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.fp-flow-hero__sub { font-family: var(--ff-serif); font-size: 1rem; letter-spacing: 0.3em; color: var(--c-gold); margin-bottom: 12px; }
.fp-flow-hero__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.fp-flow-hero__desc { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.9; }


/* -----------------------------------------
   2. USP COUNTERS
   ----------------------------------------- */
.fp-flow-usp { background: var(--c-white); border-bottom: 1px solid rgba(0,0,0,0.06); padding: 40px 0; }
.fp-flow-usp__grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.fp-flow-usp__item { text-align: center; }
.fp-flow-usp__num {
    font-family: var(--ff-serif); font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700; color: var(--c-navy); line-height: 1;
}
.fp-flow-usp__unit {
    font-family: var(--ff-serif); font-size: 1.2rem; color: var(--c-gold);
    margin-left: 2px;
}
.fp-flow-usp__item p { font-size: 0.75rem; color: var(--c-text-light); margin-top: 6px; }

@media (max-width: 600px) {
    .fp-flow-usp__grid { gap: 24px; }
    .fp-flow-usp__item { flex: 1 1 40%; }
}


/* -----------------------------------------
   3. TIMELINE
   ----------------------------------------- */
.fp-flow-timeline { background: var(--c-bg-warm); }
.fp-flow-timeline--return { background: var(--c-white); }

.fp-timeline { max-width: 740px; margin: 0 auto; position: relative; }

/* Vertical line */
.fp-timeline::before {
    content: ''; position: absolute;
    left: 28px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--c-gold) 0%, rgba(201,169,110,0.15) 100%);
}

.fp-timeline__item {
    display: flex; gap: 28px; margin-bottom: 40px; position: relative;
}
.fp-timeline__item:last-child { margin-bottom: 0; }

/* Marker */
.fp-timeline__marker {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; flex-shrink: 0; width: 58px; position: relative; z-index: 1;
}
.fp-timeline__step {
    font-family: var(--ff-serif); font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.1em; color: var(--c-gold); white-space: nowrap;
}
.fp-timeline__dot {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--c-gold); border: 3px solid var(--c-bg-warm);
    box-shadow: 0 0 0 2px var(--c-gold);
}
.fp-flow-timeline--return .fp-timeline__dot { border-color: var(--c-white); }

/* Card */
.fp-timeline__card {
    flex: 1; background: var(--c-white); border-radius: 14px;
    padding: 32px; display: flex; gap: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.fp-timeline__card:hover {
    transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.fp-flow-timeline--return .fp-timeline__card { background: var(--c-bg-warm); }

.fp-timeline__card--highlight {
    border-color: var(--c-gold);
    background: linear-gradient(135deg, rgba(201,169,110,0.04) 0%, rgba(201,169,110,0.01) 100%);
}

.fp-timeline__icon {
    width: 48px; height: 48px; flex-shrink: 0;
    color: var(--c-gold); margin-top: 2px;
}
.fp-timeline__icon svg { width: 100%; height: 100%; }

.fp-timeline__body h3 {
    font-size: 1.05rem; font-weight: 700; color: var(--c-navy);
    margin-bottom: 10px;
}
.fp-timeline__body p {
    font-size: 0.88rem; color: var(--c-text); line-height: 1.9;
}

/* Tip box */
.fp-timeline__tip {
    background: var(--c-gold-light); border-radius: 8px; padding: 12px 16px;
    margin-top: 16px; display: flex; gap: 8px; align-items: flex-start;
}
.fp-timeline__tip strong { font-size: 0.75rem; white-space: nowrap; color: var(--c-gold); }
.fp-timeline__tip span { font-size: 0.78rem; color: var(--c-text); }

@media (max-width: 600px) {
    .fp-timeline::before { left: 16px; }
    .fp-timeline__marker { width: 34px; }
    .fp-timeline__item { gap: 16px; }
    .fp-timeline__card { padding: 20px; flex-direction: column; }
    .fp-timeline__icon { width: 36px; height: 36px; }
}


/* -----------------------------------------
   4. CHECKLIST
   ----------------------------------------- */
.fp-flow-checklist { background: var(--c-white); }

.fp-checklist-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 600px) { .fp-checklist-grid { grid-template-columns: 1fr; } }

.fp-checklist-card {
    background: var(--c-bg-warm); border-radius: 12px; padding: 28px;
    border: 1px solid rgba(0,0,0,0.04);
}
.fp-checklist-card--required { border-color: var(--c-gold); background: rgba(201,169,110,0.04); }
.fp-checklist-card h3 {
    font-size: 0.85rem; font-weight: 700; color: var(--c-navy);
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.fp-checklist-card--required h3 { color: var(--c-gold); border-bottom-color: rgba(201,169,110,0.2); }

.fp-checklist-card ul { list-style: none; padding: 0; margin: 0; }
.fp-checklist-card li {
    padding: 8px 0; font-size: 0.88rem; color: var(--c-text);
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.fp-checklist-card li::before { content: '☐'; color: var(--c-gold); font-size: 1rem; }
.fp-checklist-card--required li::before { content: '✓'; font-weight: 700; }


/* -----------------------------------------
   5. FAQ
   ----------------------------------------- */
.fp-faq--flow { background: var(--c-bg-warm); }
.fp-faq--flow .fp-faq__list { display: flex; flex-direction: column; }
.fp-faq--flow .fp-faq__item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.fp-faq--flow .fp-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 0; cursor: pointer; list-style: none;
    font-size: 1rem; font-weight: 600; color: var(--c-navy); transition: color 0.3s;
}
.fp-faq--flow .fp-faq__q::-webkit-details-marker { display: none; }
.fp-faq--flow .fp-faq__q:hover { color: var(--c-gold-dark); }
.fp-faq--flow .fp-faq__icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--c-text-light); transition: transform 0.3s; }
.fp-faq--flow .fp-faq__item[open] .fp-faq__icon { transform: rotate(180deg); }
.fp-faq--flow .fp-faq__a { padding: 0 0 20px; }
.fp-faq--flow .fp-faq__a p { font-size: 0.9rem; line-height: 1.9; color: var(--c-text); }


/* -----------------------------------------
   6. CTA
   ----------------------------------------- */
.fp-cta { position: relative; padding: 80px 24px; text-align: center; overflow: hidden; color: #fff; }
.fp-cta__bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0d1b2a 0%, #1a2d42 50%, #0d1b2a 100%); z-index: 0; }
.fp-cta__bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.12) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.06) 0%, transparent 50%); }
.fp-cta__content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.fp-cta__lead { font-family: var(--ff-serif); font-size: 0.9rem; letter-spacing: 0.15em; color: var(--c-gold); margin-bottom: 16px; }
.fp-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; color: #fff; }
.fp-cta__desc { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.fp-cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.fp-cta__note { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 12px; }

@media (max-width: 600px) {
    .fp-cta { padding: 56px 20px; }
    .fp-cta__btns { flex-direction: column; align-items: center; }
    .fp-cta__btns .fp-btn { width: 100%; max-width: 320px; }
}


/* -----------------------------------------
   7. SCROLL ANIMATION
   ----------------------------------------- */
.js-scroll-fade, .js-fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js-scroll-fade.is-visible, .js-fade-up.is-visible { opacity: 1; transform: translateY(0); }


/* -----------------------------------------
   8. SWELL OVERRIDE
   ----------------------------------------- */
.page-fine-parking-top .l-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.page-fine-parking-top .c-mvSingle, .page-fine-parking-top .l-mainContent__inner, .page-fine-parking-top .post_content { max-width: 100% !important; padding: 0 !important; }
.page-fine-parking-top .post_content > * { max-width: 100%; margin-left: 0; margin-right: 0; }