/* company.css - 洗練されたミニマルデザイン */

/* フォント最適化 */
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    font-feature-settings: 'palt' 1;
    letter-spacing: 0.05em;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 共通設定 */
.page-hero,
.company-info,
.organization,
.history,
.locations {
    padding: 80px 0;
}

/* ページヒーローセクション */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16rem 0 10rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafb 0%, #e8ecf0 100%);
    border-bottom: 1px solid #e0e6ed;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(33, 150, 243, 0.03) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.page-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 20px;
}

.page-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #4a90e2 0%, #2e5ab8 100%);
}

.page-title .jp {
    display: block;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.page-title .en {
    display: block;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #666666;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 16px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0 40px;
}

.page-subtitle::before,
.page-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #cccccc;
}

.page-subtitle::before {
    left: 0;
}

.page-subtitle::after {
    right: 0;
}

/* セクション共通 */
.section-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: -0.01em;
}

.section-intro p {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 会社情報セクション */
.company-info {
    background-color: #ffffff;
}

.company-table {
    max-width: 900px;
    margin: 0 auto;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 32px 0;
    align-items: flex-start;
}

.table-row:last-child {
    border-bottom: none;
}

.table-label {
    flex: 0 0 200px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
    padding-right: 40px;
    font-family: 'Noto Sans JP', sans-serif;
}

.table-value {
    flex: 1;
    color: #333333;
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

/* 組織体制セクション */
.organization {
    background-color: #fafafa;
}

.org-structure {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.org-ceo {
    margin-bottom: 48px;
}

.org-position h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.org-position p {
    font-size: 16px;
    color: #666666;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
}

.org-departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.dept-item {
    text-align: center;
    padding: 24px 16px;
}

.dept-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.dept-count {
    font-size: 14px;
    color: #666666;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.departments-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.dept-detail h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.dept-detail p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

/* 沿革セクション */
.history {
    background-color: #ffffff;
}

.history-list {
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.history-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.history-date {
    flex: 0 0 120px;
    text-align: right;
    padding-right: 32px;
    border-right: 2px solid #e8e8e8;
    margin-right: 32px;
}

.history-date .year {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    margin-bottom: 4px;
}

.history-date .month {
    display: block;
    font-size: 14px;
    color: #666666;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.history-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.history-content p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

/* 拠点情報セクション */
.locations {
    background-color: #fafafa;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.location-item {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.location-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.location-item p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.contact-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 32px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.contact-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-section p {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 32px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.contact-btn {
    display: inline-block;
    background-color: #1a237e;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background-color 0.2s ease;
}

.contact-btn:hover {
    background-color: #0d1658;
}

.sp-break {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* 共通 */
    .page-hero,
    .company-info,
    .organization,
    .history,
    .locations {
        padding: 60px 0;
    }

    .page-hero {
        padding: 120px 0 80px;
    }

    .section-intro {
        margin-bottom: 60px;
    }

    /* ページヒーロー */
    .page-title .jp {
        font-size: 3.2rem;
    }
    
    .page-title .en {
        font-size: 1.4rem;
    }

    .page-subtitle::before,
    .page-subtitle::after {
        width: 20px;
    }

    .page-subtitle::before {
        left: -30px;
    }

    .page-subtitle::after {
        right: -30px;
    }

    .breadcrumb {
        margin-bottom: 32px;
        font-size: 13px;
    }

    /* セクション */
    .section-intro h2 {
        font-size: 28px;
    }

    .section-intro p {
        font-size: 15px;
    }

    /* 会社情報テーブル */
    .table-row {
        flex-direction: column;
        padding: 24px 0;
    }

    .table-label {
        flex: none;
        margin-bottom: 8px;
        padding-right: 0;
        font-size: 15px;
    }

    .table-value {
        font-size: 15px;
    }

    /* 組織体制 */
    .org-departments {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .departments-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dept-detail h3 {
        font-size: 16px;
    }

    .dept-detail p {
        font-size: 14px;
    }

    /* 沿革 */
    .history-item {
        flex-direction: column;
        margin-bottom: 32px;
        padding-bottom: 32px;
    }

    .history-date {
        flex: none;
        text-align: left;
        padding-right: 0;
        border-right: none;
        margin-right: 0;
        margin-bottom: 16px;
        border-bottom: 1px solid #e8e8e8;
        padding-bottom: 12px;
    }

    .history-date .year {
        display: inline;
        margin-right: 12px;
        font-size: 16px;
    }

    .history-date .month {
        display: inline;
        font-size: 14px;
    }

    .history-content h3 {
        font-size: 16px;
    }

    .history-content p {
        font-size: 14px;
    }

    /* 拠点情報 */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .location-item {
        padding: 32px 24px;
    }

    .location-item h3 {
        font-size: 16px;
    }

    .location-item p {
        font-size: 14px;
    }

    .contact-section {
        padding: 40px 24px;
    }

    .contact-section h3 {
        font-size: 20px;
    }

    .contact-section p {
        font-size: 15px;
    }

    .sp-break {
        display: block;
    }
}

@media (max-width: 480px) {
    /* より小さな画面への対応 */
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-title .jp {
        font-size: 2.8rem;
    }
    
    .page-subtitle {
        padding: 0 20px;
    }
    
    .page-subtitle::before,
    .page-subtitle::after {
        width: 15px;
    }

    .breadcrumb {
        margin-bottom: 24px;
        font-size: 12px;
    }

    .section-intro h2 {
        font-size: 24px;
    }

    .org-departments {
        grid-template-columns: 1fr;
    }

    .dept-item {
        padding: 20px 16px;
    }

    .contact-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}