/* company.css - 会社概要ページ専用スタイル */

/* 全体レイアウト（privacy.cssと統一感を持たせる） */
.company-content-area {
    padding: 80px 0 100px;
    background-color: #fff;
}

.company-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* イントロ文 */
.company-intro {
    font-size: 1rem;
    line-height: 1.95;
    color: #444;
    margin-bottom: 60px;
    padding: 24px 28px;
    background-color: #fafafa;
    border-left: 3px solid #c8a64c;
    border-radius: 4px;
}

/* 各セクション */
.company-section {
    margin-bottom: 60px;
}

.company-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    line-height: 1.5;
}

/* 基本情報テーブル */
.company-table {
    margin: 0;
    padding: 0;
}

.company-table-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 18px 0;
}

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

.company-table-row dt {
    flex-shrink: 0;
    width: 130px;
    font-weight: 700;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.company-table-row dd {
    margin: 0;
    flex: 1;
    color: #222;
    font-size: 1rem;
    line-height: 1.85;
}

.company-table-row dd a {
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.2);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.company-table-row dd a:hover {
    text-decoration-color: currentColor;
}

/* 事業沿革 */
.company-history {
    margin: 0;
    padding: 0;
    position: relative;
}

.company-history-row {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #f4f4f4;
}

.company-history-row:last-child {
    border-bottom: none;
}

.company-history-row dt {
    flex-shrink: 0;
    width: 80px;
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #b8302a;
    line-height: 1.5;
}

.company-history-row dd {
    margin: 0;
    flex: 1;
    color: #333;
    font-size: 0.98rem;
    line-height: 1.85;
    padding-top: 2px;
}

/* お問い合わせカード */
.company-contact-card {
    background-color: #f8f8f8;
    padding: 32px;
    border-radius: 8px;
}

.company-contact-card p {
    margin: 0 0 16px;
    line-height: 1.85;
}

.company-contact-card p:last-child {
    margin-bottom: 0;
}

.company-contact-line {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 1.1rem;
    font-weight: 700;
}

.company-contact-label {
    display: inline-block;
    width: 60px;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.company-contact-card a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.company-contact-card a:hover {
    color: #b8302a;
}


/* ==========================================
   モバイル向け最適化 (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    .company-content-area {
        padding: 40px 0 60px;
    }

    .company-intro {
        font-size: 0.92rem;
        line-height: 1.85;
        padding: 18px 20px;
        margin-bottom: 40px;
    }

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

    .company-section-title {
        font-size: 1.15rem;
        margin-bottom: 18px;
        padding-bottom: 8px;
    }

    .company-table-row {
        flex-direction: column;
        padding: 14px 0;
    }

    .company-table-row dt {
        width: auto;
        font-size: 0.82rem;
        color: #888;
        margin-bottom: 4px;
    }

    .company-table-row dd {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .company-history-row {
        padding: 12px 0;
    }

    .company-history-row dt {
        width: 60px;
        font-size: 1.05rem;
    }

    .company-history-row dd {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .company-contact-card {
        padding: 22px 20px;
    }

    .company-contact-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        font-size: 1rem;
    }

    .company-contact-label {
        width: auto;
    }
}
