/* =============================================
   会社概要ページ 専用スタイル
   ============================================= */
.section-ttl {
    font-size: clamp(1.4rem,2.4vw,2.2rem);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin-bottom: clamp(32px,4vw,48px);
}

/* ===== 代表メッセージ ===== */
.company-message {
    padding: clamp(80px,10vw,120px) 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.msg-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: clamp(32px,5vw,64px);
    align-items: start;
}
.msg-img {
    flex-shrink: 0;
}
.msg-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--ink2);
    border: 1px solid rgba(232,80,26,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    color: rgba(232,80,26,.3);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.msg-ttl {
    font-size: clamp(1.4rem,2.4vw,2.2rem);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.2;
    margin-bottom: 20px;
}
.msg-body p {
    font-size: .85rem;
    color: var(--fog);
    line-height: 2;
    margin-bottom: 1.2em;
}
.msg-sig {
    font-size: .84rem;
    font-weight: 700;
    color: var(--paper);
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
}

/* ===== 会社情報 ===== */
.company-info {
    padding: clamp(80px,10vw,120px) 0;
    background: var(--ink2);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.info-table-wrap {
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table tr {
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .2s;
}
.info-table tr:last-child {
    border-bottom: none;
}
.info-table tr:hover {
    background: rgba(255,255,255,.03);
}
.info-table th {
    padding: 18px 20px 18px 24px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--fog);
    width: 160px;
    vertical-align: top;
    white-space: nowrap;
    background: rgba(232,80,26,.05);
    border-right: 2px solid rgba(232,80,26,.18);
}
.info-table td {
    padding: 18px 24px;
    font-size: .84rem;
    color: var(--fog);
    line-height: 1.8;
}
.info-table tr:hover td {
    color: var(--paper);
}
.info-table tr:hover th {
    color: var(--paper);
}
.info-table td a:hover {
    opacity: .75;
}

/* ===== 会社沿革 ===== */
.company-history {
    padding: clamp(80px,10vw,120px) 0;
}
.history-timeline {
    margin-top: 0;
}

/* 年グループ: blockで積み重ね */
.h-year-group {
    display: block;
    margin-bottom: clamp(32px,4vw,48px);
}
.h-year-group:last-child {
    margin-bottom: 0;
}

/* 年ラベル: フルwidth バナー */
.h-year-label {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: clamp(1.4rem,2.5vw,2rem);
    font-weight: 900;
    color: var(--paper);
    letter-spacing: -.02em;
    padding: 16px 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    position: relative;
}
.h-year-label::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 28px;
    height: 2px;
    background: var(--fire);
}
.h-year-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.04);
}

/* 最新年 (first-child) はオレンジ色 */
.h-year-group:first-child .h-year-label {
    color: var(--fire);
}

/* アイテムリスト: 左にタイムラインバー */
.h-items {
    position: relative;
    padding-left: clamp(28px,3vw,40px);
    border-left: 2px solid rgba(232,80,26,.2);
    margin-left: 14px;
}
.h-year-group:first-child .h-items {
    border-left-color: rgba(232,80,26,.45);
}

/* 各エントリ */
.h-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: clamp(14px,1.8vw,20px) 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    position: relative;
    transition: background .2s;
}
.h-item:last-child {
    border-bottom: none;
}
.h-item:hover {
    background: rgba(255,255,255,.025);
}

/* タイムラインのドット */
.h-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * clamp(28px,3vw,40px) - 4px);
    top: clamp(18px,1.8vw,24px);
    width: 8px;
    height: 8px;
    background: var(--ink);
    border-radius: 50%;
    border: 2px solid rgba(232,80,26,.5);
    transform: translateX(-50%);
}
.h-year-group:first-child .h-item::before {
    border-color: var(--fire);
}
.h-item-now::before {
    background: var(--fire);
    border-color: var(--fire);
}
.h-date {
    font-size: .74rem;
    color: var(--ash);
    letter-spacing: .04em;
    padding-top: 2px;
    white-space: nowrap;
}
.h-text {
    font-size: .84rem;
    color: var(--fog);
    line-height: 1.85;
    margin: 0;
}
.h-item-now .h-date {
    color: var(--fire);
    font-weight: 700;
}
.h-item-now .h-text {
    color: var(--paper);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .msg-layout {
        grid-template-columns: 1fr;
    }
    .msg-photo {
        max-width: 180px;
    }
    .info-table th {
        width: 110px;
        padding: 14px 12px 14px 16px;
        font-size: .68rem;
    }
    .info-table td {
        padding: 14px 16px;
        font-size: .8rem;
    }
    .h-item {
        grid-template-columns: 90px 1fr;
    }
}
@media (max-width: 480px) {
    .info-table {
        display: block;
    }
    .info-table tr {
        display: flex;
        flex-direction: column;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .info-table th, .info-table td {
        display: block;
        width: auto;
        padding: 0;
        border: none;
        background: none;
    }
    .info-table th {
        font-size: .65rem;
        color: var(--fire);
        margin-bottom: 4px;
        border-right: none;
    }
    .h-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .h-item::before {
        left: calc(-20px - 4px);
    }
    .h-date {
        font-size: .7rem;
    }
}