/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    /* Sticky Footer用 */
}

/* Container */
.fv-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('assets/fv_bg_mobile.png');
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Overlay */
.fv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

/* Content Wrapper */
.fv-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header with Logo */
.fv-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.fv-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.fv-firm-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* A. Badges */
.badges-container {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 100%;
    height: 100%;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #d4af37;
}

.badge-sub {
    font-size: 0.9rem;
    font-weight: 900;
    color: #333;
}

/* B. Main Copy */
.main-copy {
    margin-bottom: 24px;
}

.copy-intro {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #444;
}

.copy-headline {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.highlight-yellow {
    background: linear-gradient(transparent 60%, #fff500 60%);
    padding: 0 4px;
}

.highlight-red {
    color: #d32f2f;
    font-size: 1.1em;
}

/* C. Sub Copy */
.sub-copy {
    margin-bottom: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    background: rgba(255, 255, 255, 0.6);
    display: inline-block;
    padding: 10px;
    border-radius: 4px;
}

/* D. CTA Container */
.cta-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.cta-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(2px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-tel {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.cta-line {
    background: linear-gradient(135deg, #06c755 0%, #00b900 100%);
}

.cta-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.cta-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-label {
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0.9;
}

.cta-number {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

.cta-main-text {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.sp-br {
    display: none;
}

.cta-balloon {
    background: #d32f2f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 5px;
    position: relative;
    align-self: flex-start;
    animation: bounce 2s infinite;
}

.cta-balloon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #d32f2f transparent transparent transparent;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0) translateY(0);
    }

    40% {
        transform: translateX(0) translateY(-10px);
    }

    60% {
        transform: translateX(0) translateY(-5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fv-container {
        background-position: 85% center;
        align-items: flex-start;
    }

    .fv-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
    }

    .copy-headline {
        font-size: 1.8rem;
    }

    .sub-copy {
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.8);
    }

    .sp-br {
        display: inline;
    }

    .cta-container {
        width: 100%;
        max-width: none;
    }
}

/* Sections Common */
.section {
    padding: 60px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4af37;
}

/* Problem Section */
.problem-section {
    background: #f9f9f9;
}

.problem-list {
    list-style: none;
    margin-bottom: 30px;
}

.problem-list li {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #666;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.problem-message {
    text-align: center;
    font-weight: bold;
    line-height: 1.8;
    color: #0056b3;
}

/* Merits Section */
.merits-section {
    background: #fff;
}

.merit-card {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.merit-card h3 {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Strengths Section */
.strengths-section {
    background: #fffaf0;
}

.strength-item {
    text-align: center;
    margin-bottom: 40px;
}

.strength-num {
    display: inline-block;
    background: #d4af37;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 10px;
}

.strength-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Price List Section */
.price-section {
    background: #fff;
}

.price-card {
    background: #fff;
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.price-row:last-of-type {
    border-bottom: none;
}

.price-label {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.price-value {
    font-weight: 900;
    font-size: 1.5rem;
    color: #d32f2f;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.price-note {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
    margin-left: 5px;
}

.price-note-bottom {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    background: #f9f9f9;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* .faq-question and .faq-answer styles moved to accordion block above */

/* Solutions Section */
.solutions-section {
    background: #fff;
}

.solution-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.solution-age {
    background: #666;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.solution-result {
    font-weight: bold;
    color: #d32f2f;
    font-size: 1.1rem;
}

.solution-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Lawyers Section */
.lawyers-section {
    background: #f9f9f9;
}

.lawyer-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lawyer-image-wrapper {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d4af37;
}

.lawyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
    border-bottom: none;
    padding-bottom: 0;
}

.lawyer-meta {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    border-bottom: 1px solid #555;
    padding-bottom: 15px;
    display: inline-block;
}

.office-locations {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.office-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.office-item h4 {
    font-size: 1.2rem;
    color: #d4af37;
    margin-bottom: 10px;
    border-left: 3px solid #d4af37;
    padding-left: 10px;
}

.office-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #ddd;
}

.contact-info {
    font-weight: bold;
    color: #fff !important;
}

.copyright {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 40px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* =========================================
   CVR Improvements Styles
   ========================================= */

/* 1. Micro-copy */
.cta-micro {
    font-size: 0.75rem;
    color: #ffeb3b;
    font-weight: bold;
    margin-top: 2px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.cta-tel .cta-micro {
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
}

/* 2. Trust Signals (Achievements) */
.achievements-block {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.achievement-item {
    background: #fff;
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex: 1;
    min-width: 140px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.achievement-label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.achievement-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #d32f2f;
    line-height: 1;
}

.achievement-unit {
    font-size: 0.9rem;
    color: #333;
    margin-left: 2px;
}

/* 3. Resolution Flow Section */
.flow-section {
    background: #fff;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 55px;
    position: relative;
}

.flow-step {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Arrow between steps (Mobile: Down) */
.flow-step:not(:last-child)::after {
    content: '▼';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #d4af37;
    font-size: 1.2rem;
    z-index: 1;
}

.step-num {
    background: #d4af37;
    color: #fff;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.9rem;
    color: #666;
}

/* 4. Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    z-index: 1000;
    border-top: 1px solid #eee;
}

.sticky-buttons {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px 5px;
    border-radius: 8px;
    color: #fff;
    transition: opacity 0.2s;
}

.sticky-btn:active {
    opacity: 0.8;
}

.sticky-tel {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.sticky-line {
    background: linear-gradient(135deg, #06c755 0%, #00b900 100%);
}

.sticky-icon {
    font-size: 1.5rem;
    margin-right: 8px;
}

.sticky-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sticky-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.sticky-main {
    font-size: 1rem;
    font-weight: bold;
}

/* =========================================
   LINE 24時間受付ノート
   ========================================= */
.line-hours-note {
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    margin-top: 12px;
    letter-spacing: 0.02em;
}

/* =========================================
   コンパクトCTA（解決事例後・FAQ後）
   ========================================= */
.cta-compact {
    padding: 40px 20px;
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
}

.cta-lead-text {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cta-lead-text strong {
    color: #d32f2f;
}

/* =========================================
   Scroll Indicator
   ========================================= */
.scroll-indicator {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    background: #f9f9f9;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow-svg {
    width: 32px;
    height: 32px;
    color: #d4af37;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* =========================================
   FAQ Accordion
   ========================================= */
.faq-question {
    width: 100%;
    text-align: left;
    border: none;
    background: #f0f8ff;
    padding: 15px 50px 15px 20px;
    font-weight: bold;
    color: #0056b3;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    line-height: 1.5;
}

.faq-question::before {
    content: 'Q.';
    color: #d4af37;
    font-weight: 900;
    margin-right: 10px;
}

/* + / - アイコン */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: #d4af37;
    line-height: 1;
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid #eee;
    color: #444;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .office-locations {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .office-item {
        flex: 1;
    }

    /* FV CTA specific styles */
    .fv-content .cta-buttons-wrapper {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }

    .fv-content .cta-button {
        flex: 0 1 auto;
        min-width: 280px;
    }

    /* Middle CTA specific styles */
    .cta-section .cta-buttons-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .cta-section .cta-button {
        flex: 0 1 320px;
        max-width: 320px;
    }

    .flow-steps {
        flex-direction: row;
        align-items: stretch;
    }

    .flow-step {
        flex: 1;
    }

    /* Arrow between steps (Desktop: Right) */
    .flow-step:not(:last-child)::after {
        content: '▶';
        bottom: auto;
        top: 50%;
        right: -30px;
        left: auto;
        transform: translateY(-50%);
    }
}

/* Mobile Responsive for Price Section */
@media (max-width: 768px) {
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-label {
        width: auto;
        margin-bottom: 5px;
    }

    .price-value {
        position: static;
        transform: none;
        padding-left: 0;
        width: auto;
        text-align: left;
    }
}