/* ========================================
   サービス詳細ページ - 元のサイト完全再現
   ======================================== */

/* サービス詳細ヒーロー */
.service-details-hero {
    background: var(--gray-50);
    padding: 4rem 0;
    text-align: center;
    color: var(--gray-900);
}

.service-details-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 当社のサービスの3つの強み */
.service-strengths {
    padding: var(--spacing-xl) 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.strength-card {
    border: 3px solid #000000;
    border-radius: 16px;
    padding: 2.5rem;
    background: white;
}

.strength-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.strength-icon i {
    font-size: 2rem;
    color: #000000;
}

.strength-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.strength-list {
    list-style: none;
    padding: 0;
}

.strength-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.strength-list i {
    color: #000000;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* NASDAQ上場のメリット */
.nasdaq-merits {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.merits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.merit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.merit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.merit-icon.green {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.merit-icon.blue {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.merit-icon.purple {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.merit-icon i {
    font-size: 2.5rem;
    color: white;
}

.merit-icon.green i {
    color: white;
}

.merit-icon.blue i {
    color: white;
}

.merit-icon.purple i {
    color: white;
}

.merit-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.merit-description {
    text-align: center;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.merit-comparison {
    background: var(--gray-50);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-item:last-child {
    border-bottom: none;
}

.comparison-item.highlight {
    background: linear-gradient(135deg, #000000, #1f2937);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-weight: 700;
    color: white;
}

.merit-note,
.merit-subtext {
    font-size: 0.9rem;
    color: var(--gray-600);
    text-align: center;
    margin-top: 1rem;
}

.merit-highlight {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #000000;
    margin-top: 1rem;
}

.merit-stat {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000000;
    text-align: center;
    margin-top: 1rem;
}

/* 米国上場のスケジュール */
.listing-schedule {
    padding: var(--spacing-xl) 0;
    background: white;
}

.schedule-timeline {
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% + 3rem);
    background: #000000;
}

.timeline-step:last-child::before {
    display: none;
}

.step-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #000000, #1f2937);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #000000;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.step-stakeholders {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.step-highlight {
    background: linear-gradient(135deg, #000000, #1f2937);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    color: white;
    display: inline-block;
}

.timeline-step.final .step-badge {
    background: linear-gradient(135deg, #000000, #1f2937);
    border: 4px solid #e5e7eb;
}

.timeline-step.final .step-content {
    border-left-color: #000000;
}

/* 主な関係者 */
.stakeholders {
    padding: var(--spacing-lg) 0;
    background: #f9fafb;
}

.stakeholders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stakeholder-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stakeholder-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stakeholder-icon.blue {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.stakeholder-icon.green {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.stakeholder-icon.purple {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.stakeholder-icon.orange {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.stakeholder-icon i {
    font-size: 2rem;
    color: white;
}

.stakeholder-icon.blue i { color: white; }
.stakeholder-icon.green i { color: white; }
.stakeholder-icon.purple i { color: white; }
.stakeholder-icon.orange i { color: white; }

.stakeholder-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

/* 米国上場に要する費用と体制 */
.costs-structure {
    padding: var(--spacing-xl) 0;
    background: white;
}

.costs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.column-header {
    background: linear-gradient(135deg, #000000, #1f2937);
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.column-header i {
    font-size: 2rem;
}

.column-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.costs-column,
.structure-column {
    border: 2px solid #000000;
    border-radius: 12px;
    overflow: hidden;
}

.cost-item,
.structure-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    margin: 1rem;
    border-radius: 8px;
}

.cost-icon,
.structure-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cost-icon i,
.structure-icon i {
    font-size: 1.5rem;
    color: #000000;
}

.cost-content h4,
.structure-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cost-content p,
.structure-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.cost-total {
    background: linear-gradient(135deg, #000000, #1f2937);
    padding: 2rem;
    margin: 1rem;
    border-radius: 8px;
    text-align: center;
}

.cost-total h4 {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.cost-total p {
    color: white;
}

.structure-intro {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.structure-highlight {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 8px;
    border-left: 4px solid #000000;
}

.structure-highlight h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #000000;
}

.structure-highlight p {
    font-size: 0.95rem;
    color: #1f2937;
    line-height: 1.7;
}

/* サービス内容詳細 */
.service-details-content {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.service-details-list {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #000000;
}

.detail-item i {
    color: #000000;
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.detail-item p {
    font-size: 1rem;
    line-height: 1.7;
}

.pricing-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 3px solid #000000;
    text-align: center;
}

.pricing-card.success {
    border-color: #000000;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 1rem;
}

.price.green {
    color: #000000;
}

.pricing-note,
.pricing-subtext {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

.service-note {
    background: linear-gradient(135deg, #000000, #1f2937);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-note h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.service-note p {
    color: white;
}

/* ハートコアに依頼する5つのメリット */
.heartcore-merits {
    padding: var(--spacing-xl) 0;
    background: white;
}

.blue-bg {
    background: linear-gradient(135deg, #000000, #1f2937);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.heartcore-merits-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

.heartcore-merits-list .hc-merit-item:nth-child(4),
.heartcore-merits-list .hc-merit-item:nth-child(5) {
    grid-column: span 1;
}

.heartcore-merits-list .hc-merit-item:nth-child(4) {
    margin-left: calc(16.666% + 1rem);
}

.heartcore-merits-list .hc-merit-item:nth-child(5) {
    margin-right: calc(16.666% + 1rem);
}

.hc-merit-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.hc-merit-item.highlight {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    border: 3px solid #000000;
}

.merit-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000000, #1f2937);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    flex-shrink: 0;
    margin: 0 auto 1.5rem;
}

.merit-content {
    text-align: center;
}

.merit-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.merit-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    text-align: left;
}

.merit-content p strong {
    color: var(--gray-900);
    font-weight: 700;
}

/* Final CTA */
.final-cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #000000, #1f2937);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button.large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #000000;
}

.cta-button.large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .strengths-grid,
    .merits-grid {
        grid-template-columns: 1fr;
    }

    .costs-grid {
        grid-template-columns: 1fr;
    }

    .pricing-info {
        grid-template-columns: 1fr;
    }

    .stakeholders-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .heartcore-merits-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .heartcore-merits-list .hc-merit-item:nth-child(4),
    .heartcore-merits-list .hc-merit-item:nth-child(5) {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .service-details-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stakeholders-grid {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        flex-direction: column;
    }

    .timeline-step::before {
        left: 25px;
    }

    .heartcore-merits-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .heartcore-merits-list .hc-merit-item:nth-child(4),
    .heartcore-merits-list .hc-merit-item:nth-child(5) {
        margin-left: 0;
        margin-right: 0;
    }
}