/* ===================================
   会社情報専用CSS (company-extended.css)
   =================================== */

/* メインビジュアル (Hero)
   =================================== */
.hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #003DA5 0%, #002D7A 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(135, 206, 235, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content-center {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
}

.hero-company-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
}

/* ===================================
   3. 概要セクション (Overview)
   =================================== */
.overview {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.overview-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
}

.overview-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===================================
   4. 選ばれる理由セクション (Reasons)
   =================================== */
.reasons {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    background: rgba(0, 61, 165, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.reason-card {
    background:var(--bg-white);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.reason-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.reason-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.reason-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: left;
}

.reason-features {
    list-style: none;
    text-align: left;
}

.reason-features li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.reason-features i {
    color: var(--success-color);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===================================
   5. サービス提供の流れ (Flow)
   =================================== */
.flow {
    padding: 80px 0;
    background: var(--bg-light);
}

.flow-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flow-step {
    display: flex;
    gap: 30px;
    align-items: start;
}

.flow-step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003DA5, #002D7A);
    color: white;
    font-size: 32px;
    font-weight: 900;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.flow-step-content {
    flex: 1;
    padding-top: 10px;
}

.flow-step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.flow-step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   6. 会社概要セクション (Company Info)
   =================================== */
.company-info {
    padding: 80px 0;
    background: var(--bg-white);
}

.company-info-table {
    max-width: 900px;
    margin: 0 auto;
    background:var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.company-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.company-info-table tr:last-child {
    border-bottom: none;
}

.company-info-table th {
    text-align: left;
    padding: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    width: 200px;
    vertical-align: top;
}

.company-info-table td {
    padding: 20px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}


/* ===================================
   8. レスポンシブ対応
   =================================== */
@media (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* レスポンシブ（スマホ表示）での確実な中央寄せ */
@media (max-width: 1024px) {

    .process-steps,
    .flow-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 縦並びになった際、全体を中央に */
        width: 100%;
    }
    .flow-step-title{text-align: center;}

    .flow-step-number,
    .step-number {
        margin-left: auto;
        margin-right: auto;
    }
}

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

    .hero-title {
        font-size: 36px;
    }

    .hero-company-name {
        font-size: 24px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .flow-step {
        flex-direction: column;
        gap: 20px;
    }

    .flow-step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .flow-step-title {
        font-size: 20px;
    }

    .company-info-table {
        padding: 20px;
    }

    .company-info-table th,
    .company-info-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .company-info-table th {
        padding-bottom: 8px;
    }

    .company-info-table td {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-company-name {
        font-size: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .reason-title {
        font-size: 18px;
    }

    .flow-step-title {
        font-size: 18px;
    }

}
