/* ====== About Page Specific Styles ====== */

/* ====== パンくずナビ ====== */
.breadcrumb {
    background: var(--gray-50);
    padding: var(--space-4) 0;
    margin-top: 80px;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    font-size: var(--text-sm);
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: var(--space-2);
    color: var(--text-light);
    font-weight: 600;
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumb-list a:hover {
    color: var(--primary-gold);
}

.breadcrumb-list li:last-child {
    color: var(--primary-gold);
    font-weight: 600;
}

/* ====== ページヘッダー ====== */
.page-header {
    background: var(--white);
    padding: var(--space-16) 0;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.page-title {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-5xl));
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    line-height: 1.1;
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-4);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.page-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====== 現在のページ表示 ====== */
.nav-menu a.current {
    color: var(--primary-gold) !important;
    font-weight: 600;
    position: relative;
}

.nav-menu a.current::after {
    width: 100%;
}

@media (max-width: 1023px) {
    .nav-menu a.current {
        background: rgba(212, 175, 55, 0.1);
        border-left: 4px solid var(--primary-gold);
        padding-left: var(--space-6) !important;
    }
    
    .nav-menu a.current::after {
        display: none;
    }
}

/* ====== 企業理念 ====== */
.philosophy {
    background: var(--gray-50);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .philosophy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.philosophy-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

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

.philosophy-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    display: block;
}

.philosophy-card h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    font-weight: 600;
}

.philosophy-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: var(--text-base);
}

/* ====== ミッション ====== */
.mission {
    background: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mission-card {
    background: var(--gray-50);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    position: relative;
    border-left: 4px solid var(--primary-gold);
    transition: var(--transition);
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.mission-number {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    background: var(--gradient-gold);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-xl);
    font-family: 'Inter', sans-serif;
    box-shadow: var(--shadow-sm);
}

.mission-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    padding-right: var(--space-16);
    font-weight: 600;
    line-height: 1.3;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: var(--text-base);
}

/* ====== 代表メッセージ ====== */
.message {
    background: var(--gray-50);
}

.message-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
}

@media (min-width: 1024px) {
    .message-content {
        grid-template-columns: 300px 1fr;
    }
}

.message-photo {
    text-align: center;
}

.photo-placeholder {
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto var(--space-6);
    border: 4px solid var(--primary-gold);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.photo-placeholder:hover {
    transform: scale(1.05);
}

.ceo-placeholder {
    font-size: var(--text-5xl);
    color: var(--primary-gold);
}

.message-info {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.message-info h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    font-weight: 600;
}

.message-info span {
    color: var(--text-secondary);
    font-size: var(--text-base);
    font-weight: 500;
}

.message-text {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
}

.message-text::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-size: var(--text-5xl);
    color: var(--primary-gold);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.message-text blockquote {
    margin: 0;
    font-style: normal;
    padding-left: var(--space-8);
}

.message-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    font-size: var(--text-lg);
}

.message-text p:last-child {
    margin-bottom: 0;
}

/* ====== 会社概要 ====== */
.company-overview {
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .overview-content {
        grid-template-columns: 2fr 1fr;
    }
}

.overview-table {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.overview-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--gray-200);
    min-height: 60px;
    transition: var(--transition);
}

.overview-row:hover {
    background: var(--gray-50);
}

@media (max-width: 767px) {
    .overview-row {
        grid-template-columns: 1fr;
    }
}

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

.overview-row dt {
    background: var(--gray-50);
    padding: var(--space-4);
    font-weight: 600;
    color: var(--text-primary);
    border-right: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    font-size: var(--text-sm);
}

@media (max-width: 767px) {
    .overview-row dt {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        background: var(--primary-gold);
        color: var(--white);
        font-weight: 600;
    }
}

.overview-row dd {
    padding: var(--space-4);
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    line-height: 1.6;
    font-weight: 500;
}

.overview-map {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    height: fit-content;
}

.overview-map h4 {
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    font-size: var(--text-xl);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.map-placeholder {
    background: var(--gray-50);
    height: 200px;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: var(--transition);
}

.map-placeholder:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.05);
}

.map-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2);
}

.map-info p {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
    font-size: var(--text-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.map-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

.access-note {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-gold);
}

.access-note p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* ====== 沿革 ====== */
.history {
    background: var(--gray-50);
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

@media (max-width: 767px) {
    .history-timeline::before {
        left: 20px;
        width: 2px;
    }
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 767px) {
    .timeline-item {
        padding-left: 60px;
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-gold);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

@media (max-width: 767px) {
    .timeline-item::before {
        left: 5px;
        width: 25px;
        height: 25px;
        border: 3px solid var(--white);
    }
}

.timeline-date {
    background: var(--gradient-gold);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    display: inline-block;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    font-family: 'Inter', sans-serif;
}

.timeline-content {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timeline-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: var(--text-base);
}

/* ====== 認証・資格 ====== */
.certifications {
    background: var(--white);
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.cert-card:hover::before {
    transform: scaleX(1);
}

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

.cert-icon {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
    display: block;
}

.cert-card h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    font-weight: 600;
}

.cert-status {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-status.completed {
    background: #10b981;
    color: var(--white);
}

.cert-status.progress {
    background: #f59e0b;
    color: var(--white);
}

.cert-status.future {
    background: #3b82f6;
    color: var(--white);
}

.cert-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: var(--space-3);
}

.cert-date {
    background: var(--gray-50);
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    font-size: var(--text-xs);
    font-weight: 500;
    display: inline-block;
}

/* ====== CTA セクション ====== */
.about-cta {
    background: var(--gray-50);
    padding: var(--space-20) 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.cta-content h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
}

.cta-content p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ====== レスポンシブ調整 ====== */
@media (max-width: 767px) {
    .page-header {
        padding: var(--space-12) 0;
    }
    
    .philosophy-grid,
    .mission-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .message-content,
    .overview-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .mission-number {
        width: 40px;
        height: 40px;
        font-size: var(--text-lg);
        top: var(--space-4);
        right: var(--space-4);
    }
    
    .mission-card h4 {
        padding-right: var(--space-12);
    }
    
    .photo-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .ceo-placeholder {
        font-size: var(--text-4xl);
    }
}

@media (max-width: 479px) {
    .breadcrumb {
        padding: var(--space-3) 0;
    }
    
    .page-header {
        padding: var(--space-10) 0;
    }
    
    .cta-content {
        padding: var(--space-8);
    }
    
    .cta-content h3 {
        font-size: var(--text-2xl);
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-item::before {
        width: 20px;
        height: 20px;
    }
}

/* ====== アニメーション ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== 省電力モード対応 ====== */
@media (prefers-reduced-motion: reduce) {
    .timeline-item,
    .philosophy-card,
    .mission-card,
    .cert-card,
    .timeline-content,
    .photo-placeholder {
        animation: none !important;
        transition: none !important;
    }
    
    .timeline-item {
        opacity: 1 !important;
    }
    
    .philosophy-card:hover,
    .mission-card:hover,
    .cert-card:hover,
    .timeline-content:hover,
    .photo-placeholder:hover {
        transform: none !important;
    }
}

/* ====== 高コントラストモード ====== */
@media (prefers-contrast: high) {
    .overview-row dt {
        background: #000000;
        color: #ffffff;
        border-color: #000000;
    }
    
    .cert-status.completed {
        background: #000000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
    
    .cert-status.progress {
        background: #666666;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
    
    .cert-status.future {
        background: #333333;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
    
    .timeline-date {
        background: #000000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
}