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

/* Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.page-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-hero .hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 2rem;
}

.page-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.title-ja {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

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

.breadcrumb .separator {
    color: var(--primary-color);
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 600;
}

/* Company Overview */
.company-overview {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.company-info {
    max-width: 900px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--dark-bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background: rgba(139, 92, 246, 0.05);
    font-weight: 600;
    width: 30%;
    color: var(--primary-color);
}

.info-table td {
    color: var(--text-primary);
    line-height: 1.8;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table .note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Mission & Vision */
.mission-vision {
    background: var(--dark-bg-alt);
    padding: 5rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mv-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.mv-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: inline-block;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mv-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.mv-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.mv-text {
    color: var(--text-primary);
    line-height: 1.8;
}

/* Core Values */
.core-values {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--dark-bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.1);
}

.value-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(139, 92, 246, 0.2);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Company History */
.company-history {
    background: var(--dark-bg-alt);
    padding: 5rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 41px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--dark-bg-alt);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.future::before {
    background: var(--secondary-color);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.timeline-date {
    position: absolute;
    left: -50px;
    top: -5px;
    width: 80px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CEO Message */
.ceo-message {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.ceo-image-wrapper {
    position: sticky;
    top: 100px;
}

.ceo-photo {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2rem;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.ceo-photo:hover {
    filter: grayscale(0%);
}

.ceo-info {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-bg-alt);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.ceo-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.ceo-position {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.ceo-title-en {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ceo-message-text {
    padding: 2rem 0;
}

.message-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ceo-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.ceo-signature p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.ceo-signature p:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Office Gallery */
.office-gallery {
    background: var(--dark-bg-alt);
    padding: 5rem 0;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.office-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.office-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.office-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.office-item:hover .office-overlay {
    transform: translateY(0);
}

.office-item:hover img {
    transform: scale(1.1);
}

.office-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.office-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* ================================
   Responsive Design for About Page
   ================================ */

/* Mobile (〜480px) */
@media (max-width: 480px) {
    .page-hero {
        height: 30vh !important;
        min-height: 250px !important;
        margin-top: 70px !important;
    }

    .title-en {
        font-size: 1.8rem !important;
    }

    .title-ja {
        font-size: 1rem !important;
    }

    .breadcrumb {
        font-size: 0.8rem !important;
        gap: 0.5rem !important;
    }

    /* Company Overview */
    .company-overview {
        padding: 3rem 0 !important;
    }

    .company-info {
        padding: 0 1rem !important;
    }

    .info-table th,
    .info-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .info-table th {
        width: 35%;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-item::before {
        left: 11px;
    }

    .timeline-date {
        position: static;
        margin-bottom: 0.5rem;
        text-align: left;
        width: auto;
    }

    .ceo-content {
        grid-template-columns: 1fr;
    }

    .ceo-image-wrapper {
        position: static;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-outline,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet (481px〜767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ceo-content {
        grid-template-columns: 1fr;
    }

    .office-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Desktop (768px〜1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .office-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1025px〜1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .office-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Wide Desktop (1441px〜) */
@media (min-width: 1441px) {
    .company-info,
    .timeline,
    .cta-content {
        max-width: 1100px;
    }

    .mv-card {
        padding: 4rem;
    }

    .value-card {
        padding: 3rem;
    }
}