/* ========================================
   企業情報ページ専用スタイル
   ======================================== */

/* ページヘッダー */
.page-header {
    background: var(--gray-50);
    padding: 5rem 0 4rem;
    text-align: center;
    color: var(--gray-900);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* 共通セクションタイトル */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 3rem;
    text-align: center;
}

/* 会社概要セクション */
.company-overview-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.overview-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--gray-200);
}

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

.table-label {
    padding: 2rem;
    background: var(--gray-50);
    font-weight: 700;
    color: var(--gray-900);
    border-right: 1px solid var(--gray-200);
}

.table-value {
    padding: 2rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* 沿革セクション */
.company-history-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.section-title-with-icon {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title-with-icon i {
    color: #2563eb;
    font-size: 2rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2563eb, #3b82f6);
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #2563eb;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #dbeafe;
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
}

.timeline-content {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1rem;
}

/* OUR METHODセクション */
.our-method-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
    color: var(--gray-900);
}

.method-header {
    text-align: center;
    margin-bottom: 4rem;
}

.method-subtitle {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.method-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.method-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-top-color: #2563eb;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.method-icon i {
    font-size: 2.5rem;
    color: #2563eb;
}

.method-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.method-card-description {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* 私たちの強みセクション（詳細版） */
.our-strengths-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 4rem;
}

.strength-detailed-list {
    max-width: 900px;
    margin: 0 auto;
}

.strength-detailed-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid var(--gray-200);
}

.strength-detailed-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.strength-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-300);
    line-height: 1;
    flex-shrink: 0;
}

.strength-detailed-content {
    flex: 1;
}

.strength-detailed-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.strength-detailed-header i {
    font-size: 2rem;
    color: #2563eb;
}

.strength-detailed-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.strength-detailed-body {
    color: var(--gray-700);
}

.strength-philosophy {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #2563eb;
}

.strength-explanation {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.strength-points {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.point-item:last-child {
    margin-bottom: 0;
}

.point-item i {
    color: #2563eb;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* 代表者プロフィールセクション */
.ceo-profile-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.ceo-profile-card {
    max-width: 750px;
    margin: 0 auto 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
}

.ceo-profile-image {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ceo-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-profile-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.ceo-profile-title {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.company-link {
    color: #2563eb;
    text-decoration: none;
    transition: var(--transition);
}

.company-link:hover {
    text-decoration: underline;
}

.ceo-profile-vision {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.ceo-profile-vision strong {
    color: var(--gray-900);
    font-weight: 700;
}

.ceo-profile-bio {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ceo-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.ceo-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 動画セクション */
.ceo-video-section {
    max-width: 400px;
    margin: 0 auto 3rem auto;
}

.video-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.video-section-title i {
    color: #dc2626;
}

.video-link {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.video-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-link:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.video-link:hover .video-play-overlay {
    color: #dc2626;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.2rem 1.5rem;
    border-left: 4px solid #dc2626;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.6rem;
}

.video-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-description i {
    color: #dc2626;
    font-size: 1.1rem;
}

/* 著書セクション */
.ceo-book-section {
    max-width: 900px;
    margin: 0 auto;
}

.book-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.book-section-title i {
    color: #2563eb;
}

.book-link {
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.book-info {
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #2563eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.book-link:hover .book-info {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.book-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.book-author {
    font-size: 0.95rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.book-rating {
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.book-rating strong {
    color: var(--gray-900);
    margin-left: 0.5rem;
}

/* 著書セクション内の動画カード */
.video-info-card {
    border-left-color: #dc2626 !important;
}

.book-link.video-in-book:hover .book-info {
    border-left-color: #b91c1c;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .method-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ceo-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ceo-profile-image {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .section-intro br {
        display: none;
    }

    .strength-detailed-item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }

    .strength-number {
        font-size: 2.5rem;
    }

    .strength-detailed-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .strength-detailed-header i {
        font-size: 1.5rem;
    }

    .strength-detailed-header h3 {
        font-size: 1.3rem;
    }

    .strength-philosophy {
        font-size: 1rem;
    }

    .strength-explanation {
        font-size: 0.95rem;
    }

    .strength-points {
        padding: 1.25rem;
    }

    .point-item {
        font-size: 0.9rem;
    }

    .table-row {
        grid-template-columns: 1fr;
    }

    .table-label {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding: 1.5rem;
    }

    .table-value {
        padding: 1.5rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .timeline-item::before {
        left: -2rem;
    }

    .section-title.white {
        font-size: 2rem;
    }

    .method-subtitle {
        font-size: 1.3rem;
    }

    .method-description br {
        display: none;
    }

    .method-card {
        padding: 2rem;
    }

    .ceo-profile-card {
        padding: 1.5rem;
    }

    .ceo-profile-image {
        width: 150px;
        height: 150px;
    }

    .ceo-profile-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .strength-detailed-item {
        gap: 0.75rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .strength-number {
        font-size: 2rem;
    }

    .strength-detailed-header h3 {
        font-size: 1.2rem;
    }

    .strength-philosophy {
        font-size: 0.95rem;
        padding-left: 0.75rem;
        border-left-width: 3px;
    }

    .strength-explanation {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .strength-points {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .point-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .overview-table {
        border-radius: 0;
    }

    .ceo-profile-card {
        border-radius: 0;
        padding: 1.25rem;
    }
    
    .ceo-profile-image {
        width: 120px;
        height: 120px;
    }

    .method-card {
        padding: 1.5rem;
    }
}
