/* ========================================
   GO FORWARD - Guide Page Styles
   ======================================== */

:root {
    --c-border: rgba(255, 255, 255, 0.15);
}

/* Page Header */
.page-header {
    padding-top: 200px;
    padding-bottom: 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.ph-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}
.ph-lead {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.ph-sub {
    color: var(--c-text-muted);
    font-size: 1rem;
    max-width: 600px;
}

/* ========================================
   Guide Sections
   ======================================== */
.guide-section {
    padding: 120px 0;
    border-top: 1px solid var(--c-border);
}

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

.section-header .st-en {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
}

.section-header .st-jp {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
}

.guide-content {
    max-width: 100%;
}

.guide-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
}

.guide-text:last-child {
    margin-bottom: 0;
}

/* ========================================
   Workflow Section
   ======================================== */
.flow-image {
    margin-bottom: 80px;
    background: #fff;
    padding: 2rem;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.flow-image img {
    width: 100%;
    min-width: 800px;
    height: auto;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
}

.step-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--c-border);
}

.step-item:first-child {
    border-top: 1px solid var(--c-border);
}

.step-left {

}

.step-num {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--c-accent);
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.step-en {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    font-weight: 500;
}

.step-right {
    min-width: 0;
}

.step-lead {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--c-text-muted);
    margin-bottom: 2.5rem;
}

.step-tasks {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.step-tasks-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
}

.step-tasks ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.step-tasks li {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.step-tasks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--c-accent);
    border-radius: 50%;
}

.step-image {
    margin-top: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.step-image img {
    width: 100%;
    min-width: 600px;
    height: auto;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--c-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--c-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--c-accent);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-muted);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-intro {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--c-text-muted);
    margin-bottom: 3rem;
}

.pricing-table-wrap {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pricing-table th,
.pricing-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--c-border);
}

.pricing-table th {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--c-text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-table td {
    font-size: 1rem;
}

.pricing-table td:first-child {
    font-weight: 600;
}

.pricing-table td:nth-child(2) {
    color: var(--c-accent);
    font-weight: 600;
}

.pricing-table td:nth-child(3) {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

.pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
    .step-item {
        grid-template-columns: 200px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .guide-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .flow-image {
        margin-bottom: 50px;
        padding: 1.5rem;
    }

    .step-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 40px 0;
    }

    .step-left {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .step-num {
        margin-bottom: 0;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .step-desc {
        margin-bottom: 2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 0;
    }

    .pricing-table {
        min-width: 500px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 1rem;
    }

    .step-tasks ul {
        grid-template-columns: 1fr;
    }
}
