/* Service Flow Page Styles */

/* CSS Variables */
:root {
    --navy: #1a2744;
    --navy-dark: #0f1a2e;
    --navy-light: #2a3a5c;
    --gray: #6b7280;
    --gray-light: #f8f9fa;
    --white: #ffffff;
    --accent: #c9a961;
    --accent-light: #e8d9a8;
    --success: #27ae60;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-number: 'Noto Serif JP', serif;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.page-hero::after {
    content: 'FLOW';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Noto Serif JP', serif;
    font-size: 200px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 20px;
    pointer-events: none;
    white-space: nowrap;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 20px;
}

.page-hero-title {
    font-family: var(--font-sans);
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 6px;
    margin-bottom: 15px;
}

.page-hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Main Copy Section */
.section-main-copy {
    padding: 100px 60px;
    background-color: var(--white);
}

.main-copy-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.main-copy-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--navy);
    margin-bottom: 35px;
}

.main-copy-divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    margin: 0 auto 35px;
}

.main-copy-text {
    font-size: 15px;
    line-height: 2.2;
    color: var(--gray);
}

/* Overview Section */
.section-overview {
    padding: 60px;
    background-color: var(--gray-light);
}

.overview-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.overview-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.overview-step {
    text-align: center;
}

.overview-step-number {
    width: 50px;
    height: 50px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    color: var(--white);
}

.overview-step p {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
}

.overview-arrow {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 20px;
}

.overview-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
}

.overview-note strong {
    color: var(--accent);
}

/* Steps Section */
.section-steps {
    padding: 80px 60px;
    background-color: var(--white);
}

.steps-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    margin-bottom: 60px;
    background: var(--gray-light);
    border-radius: 16px;
    overflow: hidden;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item-alt {
    background: var(--white);
    border: 1px solid #e5e7eb;
}

.step-item-final {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.step-item-alt .step-header {
    border-bottom-color: #e5e7eb;
}

.step-item-final .step-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.step-number-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.step-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 5px;
}

.step-num {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
}

.step-item-final .step-num {
    color: var(--white);
}

.step-number-final .step-label {
    color: var(--accent-light);
}

.step-title-wrap {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 5px;
}

.step-item-final .step-title {
    color: var(--white);
}

.step-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gray);
}

.step-item-final .step-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.step-meta {
    display: flex;
    gap: 20px;
}

.step-time,
.step-cost {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
    background: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
}

.step-item-alt .step-time,
.step-item-alt .step-cost {
    background: var(--gray-light);
}

.step-item-final .step-time,
.step-item-final .step-cost {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.step-time i,
.step-cost i {
    color: var(--accent);
}

.step-body {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.step-content {
    flex: 1;
}

.step-desc {
    font-size: 15px;
    line-height: 2;
    color: var(--gray);
    margin-bottom: 30px;
}

.step-item-final .step-desc {
    color: rgba(255, 255, 255, 0.8);
}

.step-points {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 30px;
}

.step-item-alt .step-points {
    background: var(--gray-light);
}

.step-item-final .step-points {
    background: rgba(255, 255, 255, 0.1);
}

.step-points h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.step-item-final .step-points h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.step-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-points ul li {
    font-size: 13px;
    color: var(--navy);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.step-item-final .step-points ul li {
    color: rgba(255, 255, 255, 0.9);
}

.step-points ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.step-visual {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.step-icon-large {
    width: 100px;
    height: 100px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-large i {
    font-size: 40px;
    color: var(--white);
}

.step-icon-final {
    background: var(--accent);
}

.step-note-box {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    border-left: 3px solid var(--accent);
}

.step-item-alt .step-note-box {
    background: var(--gray-light);
}

.step-item-final .step-note-box {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-light);
}

.step-note-box p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.step-item-final .step-note-box p {
    color: rgba(255, 255, 255, 0.9);
}

.step-note-box i {
    color: var(--accent);
    margin-top: 3px;
}

.step-note-final {
    border-left-color: var(--white);
}

/* After Section */
.section-after {
    padding: 100px 60px;
    background-color: var(--navy);
}

.after-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--navy);
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.section-title-ja {
    font-size: 13px;
    color: var(--gray);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.section-header-light .section-title,
.section-header-light .section-title-ja {
    color: var(--white);
}

.after-timeline {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.after-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.after-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid var(--accent);
}

.after-item:last-child::after {
    display: none;
}

.after-item-period {
    font-family: 'Noto Serif JP', serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
}

.after-item-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.after-item-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.after-note {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* FAQ Section */
.section-faq {
    padding: 100px 60px;
    background-color: var(--gray-light);
}

.faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
}

.faq-question,
.faq-answer {
    display: flex;
    gap: 15px;
}

.faq-question {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-q,
.faq-a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 13px;
    flex-shrink: 0;
}

.faq-q {
    background: var(--navy);
    color: var(--white);
}

.faq-a {
    background: var(--accent);
    color: var(--white);
}

.faq-question p {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.7;
    padding-top: 3px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.9;
    padding-top: 3px;
}

/* Assurance Section */
.section-assurance {
    padding: 100px 60px;
    background-color: var(--navy);
}

.assurance-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.assurance-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.assurance-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.assurance-card:hover {
    transform: translateY(-5px);
}

.assurance-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 169, 97, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.assurance-card-icon i {
    font-size: 24px;
    color: var(--accent);
}

.assurance-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.6;
}

.assurance-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* CTA Section */
.section-cta {
    padding: 100px 60px;
    background-color: var(--white);
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 25px;
}

.cta-text {
    font-size: 15px;
    line-height: 2;
    color: var(--gray);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: transparent;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid var(--navy);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Utility */
.sp-hide {
    display: inline;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-hero::after {
        font-size: 120px;
    }
    
    .overview-timeline {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .overview-arrow {
        display: none;
    }
    
    .step-header {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .step-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .step-body {
        flex-direction: column;
    }
    
    .step-visual {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .step-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .step-icon-large i {
        font-size: 32px;
    }
    
    .step-note-box {
        flex: 1;
    }
    
    .after-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .after-item::after {
        display: none;
    }
    
    .faq-list {
        grid-template-columns: 1fr;
    }
    
    .assurance-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-hero::after {
        font-size: 60px;
        letter-spacing: 8px;
    }
    
    .page-hero-title {
        font-size: 32px;
        letter-spacing: 3px;
    }
    
    .section-main-copy,
    .section-overview,
    .section-steps,
    .section-after,
    .section-faq,
    .section-assurance,
    .section-cta {
        padding: 80px 20px;
    }
    
    .main-copy-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .overview-step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .overview-step p {
        font-size: 11px;
    }
    
    .step-header {
        padding: 20px 25px;
    }
    
    .step-num {
        font-size: 36px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-body {
        padding: 25px;
    }
    
    .step-visual {
        flex-direction: column;
    }
    
    .step-points {
        padding: 20px;
    }
    
    .assurance-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-title {
        font-size: 22px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }
    
    .sp-hide {
        display: none;
    }
}
