/* ========================================
   会社概要ページ
======================================== */

/* ページ内ナビゲーション */
.about-nav {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 50;
}

.about-nav__list {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-nav__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gray);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.about-nav__link:hover,
.about-nav__link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ========================================
   企業理念セクション
======================================== */
.about-philosophy {
    padding: 100px 0;
}

.about-philosophy__origin {
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-philosophy__subtitle {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 3px solid var(--primary-color);
}

.about-philosophy__text {
    font-size: 15px;
    color: var(--accent-gray);
    line-height: 2;
}

/* 設立趣意 */
.about-philosophy__purpose {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 48px;
    background: var(--light-gray);
    border-radius: 16px;
}

.about-philosophy__purpose .about-philosophy__text {
    margin-top: 16px;
}

/* 理念カード */
.about-philosophy__values {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-value-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(10, 18, 60, 0.05);
    transition: all 0.3s;
}

.about-value-card:hover {
    box-shadow: 0 8px 36px rgba(10, 18, 60, 0.1);
    transform: translateY(-2px);
}

.about-value-card__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.about-value-card__content {
    flex: 1;
}

.about-value-card__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-value-card__text {
    font-size: 14px;
    color: var(--accent-gray);
    line-height: 1.9;
}

/* ========================================
   会社情報セクション
======================================== */
.about-info {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-info__table {
    max-width: 800px;
    margin: 50px auto 0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 18, 60, 0.05);
}

.about-info__table tr {
    border-bottom: 1px solid #eee;
}

.about-info__table tr:last-child {
    border-bottom: none;
}

.about-info__table th {
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 18px 28px;
    width: 160px;
    text-align: left;
    vertical-align: top;
}

.about-info__table td {
    background: #fff;
    font-size: 14px;
    color: var(--accent-gray);
    padding: 18px 28px;
    line-height: 1.8;
}

/* ========================================
   代表紹介セクション
======================================== */
.about-ceo {
    padding: 100px 0;
}

.about-ceo__card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    max-width: 800px;
    margin: 50px auto 0;
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(10, 18, 60, 0.05);
}

.about-ceo__photo {
    width: 220px;
    height: 260px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-ceo__photo-icon {
    width: 70px;
    height: 70px;
    position: relative;
}

.about-ceo__photo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.about-ceo__photo-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 26px 26px 0 0;
}

.about-ceo__role {
    font-size: 13px;
    color: var(--accent-gray);
    margin-bottom: 4px;
}

.about-ceo__name {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-ceo__bio {
    font-size: 14px;
    color: var(--accent-gray);
    line-height: 2;
}

/* ========================================
   支援した技術テーマセクション
======================================== */
.about-domains {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-domains__intro {
    text-align: center;
    font-size: 15px;
    color: var(--accent-gray);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto 50px;
}

.about-domains__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-domain-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: 0 4px 16px rgba(10, 18, 60, 0.04);
    transition: all 0.3s;
}

.about-domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 18, 60, 0.1);
}

.about-domain-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CSSアイコン各種 */
.about-domain-card__icon--elec::before {
    content: '⚡';
    font-size: 20px;
    filter: grayscale(1) brightness(5);
}

.about-domain-card__icon--medical::before {
    content: '+';
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.about-domain-card__icon--it::before {
    content: '<>';
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.about-domain-card__icon--consumer::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 4px;
}

.about-domain-card__icon--other::before {
    content: '…';
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.about-domain-card__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.about-domain-card__list {
    font-size: 13px;
    color: var(--accent-gray);
    line-height: 1.9;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 991px) {
    .about-nav__list {
        gap: 20px;
        flex-wrap: wrap;
    }

    .about-ceo__card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-ceo__photo {
        margin: 0 auto;
        width: 180px;
        height: 220px;
    }

    .about-domains__grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-info__table th {
        width: 120px;
    }
}

@media (max-width: 767px) {
    .about-philosophy,
    .about-info,
    .about-ceo,
    .about-domains {
        padding: 60px 0;
    }

    .about-philosophy__purpose {
        padding: 28px 20px;
    }

    .about-value-card {
        flex-direction: column;
        gap: 12px;
        padding: 24px;
    }

    .about-ceo__card {
        padding: 32px 20px;
    }

    .about-domains__grid {
        grid-template-columns: 1fr;
    }

    .about-info__table th,
    .about-info__table td {
        display: block;
        width: 100%;
    }

    .about-info__table th {
        padding: 14px 20px 6px;
    }

    .about-info__table td {
        padding: 6px 20px 14px;
    }

    .about-nav__list {
        gap: 12px;
        font-size: 13px;
    }
}
