/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-navy: #0a1930;
    --color-navy-light: #152a48;
    --color-red: #e60012;
    --color-gold: #d4af37;
    --color-gold-light: #f3e5ab;
    --color-text: #333;
    --color-bg-gray: #f4f4f4;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    /* Sticky Footer用 */
    background-color: #fff;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-img {
    height: 40px;
    width: auto;
}

/* Header CTA (PC only) */
.header-cta {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-cta-note {
    font-size: 0.7rem;
    color: #666;
}

.header-tel-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--color-navy);
    font-weight: 900;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.header-tel-btn:hover {
    color: var(--color-red);
}

.header-tel-icon {
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .header-cta {
        display: flex;
    }
}

/* Container */
.fv-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Abstract dark background */
    background-color: var(--color-navy);
    background-image: url('assets/fv_bg_consultation_custom.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 60px;
    /* Header height */
}

/* Overlay */
.fv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 25, 48, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* Content Wrapper */
.fv-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #fff;
}

/* A. Badges */
.badges-container {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    padding: 8px 12px;
    backdrop-filter: blur(5px);
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--color-gold);
}

.badge-sub {
    font-size: 0.9rem;
    font-weight: 900;
    color: #fff;
}

/* B. Main Copy */
.main-copy {
    margin-bottom: 24px;
}

.copy-intro {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #ddd;
}

.copy-headline {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-gold {
    color: var(--color-gold);
}

.highlight-red {
    color: var(--color-red);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 5px;
    display: inline-block;
    transform: skewX(-10deg);
}

/* C. Sub Copy */
.sub-copy {
    margin-bottom: 32px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: rgba(10, 25, 48, 0.8);
    display: inline-block;
    padding: 10px 15px;
    border-left: 4px solid var(--color-gold);
}

/* 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.3);
    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, var(--color-red) 0%, #b0000e 100%);
    animation: pulse 2s infinite;
}

.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;
    line-height: 1.1;
}

.cta-label {
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0.9;
}

.cta-main-text {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Responsive FV */
@media (max-width: 768px) {
    .fv-container {
        align-items: center;
        justify-content: center;
    }

    .copy-headline {
        font-size: 1.8rem;
    }

    .cta-container {
        width: 100%;
    }
}

/* Sections Common */
.section {
    padding: 60px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--color-navy);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-gold);
}

/* Problem Section */
.problem-section {
    background: var(--color-bg-gray);
}

.problem-list {
    list-style: none;
    margin-bottom: 30px;
}

.problem-list li {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--color-navy);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: bold;
}

.problem-message {
    text-align: center;
    font-weight: bold;
    line-height: 1.8;
    color: var(--color-red);
    font-size: 1.1rem;
}

/* Importance Section */
.importance-section {
    background: #fff;
    border-top: 10px solid var(--color-navy);
}

.merit-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.merit-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    flex: 1;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.merit-num {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-navy);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.merit-card h3 {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 10px;
    display: inline-block;
}

.merit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

/* Strengths Section */
.strengths-section {
    background: var(--color-navy);
    color: #fff;
}

.strengths-section .section-title {
    color: #fff;
}

.strength-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strength-num {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-navy);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
}

.strength-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

/* 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 var(--color-bg-gray);
    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: var(--color-red);
    font-size: 1rem;
}

.solution-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Price List Section */
.price-section {
    background: var(--color-bg-gray);
}

.price-context-box {
    background: #fff;
    border: 2px solid var(--color-navy);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.price-context-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-navy);
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gold);
}

.price-context-compare {
    display: flex;
    gap: 15px;
    align-items: stretch;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.price-context-col {
    flex: 1;
    min-width: 220px;
    border-radius: 8px;
    padding: 18px 20px;
}

.price-context-col-label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-context-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-context-col ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 4px 0;
}

.price-context-bad {
    background: #fff5f5;
    border: 1px solid #ffcccc;
}

.price-context-bad .price-context-col-label {
    color: var(--color-red);
    border-bottom-color: #ffcccc;
}

.price-context-bad ul li::before {
    content: '✕ ';
    color: var(--color-red);
    font-weight: bold;
}

.price-context-good {
    background: #f0fff4;
    border: 1px solid #b2dfdb;
}

.price-context-good .price-context-col-label {
    color: #1a7a4a;
    border-bottom-color: #b2dfdb;
}

.price-context-good ul li::before {
    content: '○ ';
    color: #1a7a4a;
    font-weight: bold;
}

.price-context-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--color-navy);
    flex: 0 0 auto;
    padding: 0 5px;
}

.price-context-note {
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    background: var(--color-gold-light);
    padding: 10px 15px;
    border-radius: 6px;
}

.price-card {
    background: #fff;
    border: 2px solid var(--color-navy);
    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;
}

.price-row:last-of-type {
    border-bottom: none;
}

.price-label {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-navy);
}

.price-value {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-red);
}

.price-note {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
    margin-left: 5px;
}

.price-note-bottom {
    font-size: 0.8rem;
    color: #666;
}

/* Flow Section */
.flow-section {
    background: #fff;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flow-step {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    border-left: 5px solid var(--color-gold);
}

.flow-step:not(:last-child)::after {
    content: '▼';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-gold);
    font-size: 1.2rem;
}

.step-num {
    background: var(--color-navy);
    color: #fff;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-section {
    background: var(--color-bg-gray);
}

.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 {
    padding: 15px 20px;
    font-weight: bold;
    background: #fff;
    color: var(--color-navy);
    position: relative;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.faq-question::before {
    content: 'Q.';
    color: var(--color-gold);
    font-weight: 900;
    margin-right: 10px;
}

.faq-question::after {
    content: '＋';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-weight: 900;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.faq-question.open::after {
    content: '－';
}

.faq-answer {
    padding: 20px;
    color: #444;
    line-height: 1.6;
    background: #fdfdfd;
}

/* Lawyers Section */
.lawyers-section {
    background: #fff;
}

.lawyer-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.lawyer-image-wrapper {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-gold);
}

.lawyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-navy);
}

.lawyer-meta {
    font-size: 0.8rem;
    color: #666;
}

/* Footer */
.footer {
    background: var(--color-navy);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    display: inline-block;
}

.office-locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.office-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.office-item h4 {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 5px;
}

.office-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ddd;
}

.copyright {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Mid CTA Section */
.cta-section {
    background: var(--color-navy);
    padding: 50px 20px;
    text-align: center;
}

.cta-section-lead {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-section .cta-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cta-section .cta-buttons-wrapper {
        flex-direction: row;
        justify-content: center;
    }

    .cta-section .cta-button {
        flex: 0 1 300px;
        max-width: 300px;
    }
}

/* 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: 10px 5px;
    border-radius: 8px;
    color: #fff;
    transition: opacity 0.2s;
}

.sticky-btn:active {
    opacity: 0.8;
}

.sticky-tel {
    background: linear-gradient(135deg, var(--color-red) 0%, #b0000e 100%);
    animation: pulse 2s infinite;
}

.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;
    align-items: flex-start;
    line-height: 1.1;
}

.sticky-label {
    font-size: 0.65rem;
    opacity: 0.9;
}

.sticky-main {
    font-size: 0.9rem;
    font-weight: bold;
}

/* 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 300px;
        max-width: 300px;
    }

    .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;
    }
}