@charset "utf-8";

/* About Us sub-pages — shared hero, tabs (page-09 / page-10) */

.about-sub-page main {
    background: #fff
}

.about-sub-hero {
    position: relative;
    background: #eee;
    overflow: hidden
}

.about-sub-hero__media {
    aspect-ratio: 1920 / 950;
    max-height: 950px
}

.about-sub-hero--650 .about-sub-hero__media {
    aspect-ratio: 1920 / 650;
    max-height: 650px
}

.about-sub-hero--450 .about-sub-hero__media {
    aspect-ratio: 1920 / 450;
    max-height: 450px
}

.about-sub-hero--350 .about-sub-hero__media {
    aspect-ratio: 1920 / 350;
    max-height: 350px
}

.about-sub-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.about-sub-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .42) 100%)
}

.about-sub-hero--center .about-sub-hero__overlay {
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .4) 100%)
}

.about-sub-hero--center .about-sub-hero__inner {
    padding: 28px 20px
}

.about-sub-hero--center .about-sub-hero__caption {
    max-width: min(900px, 82vw);
    margin: 0 auto;
    text-align: center
}

.about-sub-hero--center .about-sub-hero__desc {
    max-width: min(640px, 72vw);
    margin: 0 auto
}

.about-sub-hero__inner {
    width: 100%;
    padding: 28px 20px 32px
}

.about-sub-hero__caption {
    max-width: min(760px, 62vw)
}

.about-sub-hero__title {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: var(--fontbold6);
    color: #fff;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .02em;
    word-break: break-word
}

.about-sub-hero__desc {
    margin: 0;
    max-width: min(560px, 50vw);
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .9)
}

.about-sub-hero__title:empty {
    display: none
}

.about-sub-hero__title:not(:empty) + .about-sub-hero__title-fallback {
    display: none
}

.about-sub-hero__title-fallback {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: var(--fontbold6);
    color: #fff;
    line-height: 1.25;
    text-transform: uppercase
}

.about-sub-hero__title-fallback:empty,
.about-sub-hero__desc:empty {
    display: none
}

.about-sub-crumb {
    padding: 14px 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    background: #fff;
    border-bottom: 1px solid #eee
}

.about-sub-crumb a {
    color: var(--text-muted)
}

.about-sub-crumb a:hover {
    color: var(--color)
}

.about-sub-toolbar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff
}

.about-sub-toolbar .about-sub-tabs {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border-bottom: none
}

.about-sub-toolbar .about-sub-crumb {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: none;
    background: transparent;
    text-align: right;
    white-space: nowrap
}

/* Shared section eyebrow + accent bars (holaj-style) */
.about-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: var(--fontbold5);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em
}

.about-section-eyebrow:empty {
    display: none
}

.about-section-eyebrow::after {
    content: "";
    width: 36px;
    height: 1px;
    background: #d1d5db;
    flex-shrink: 0
}

.about-section-accents {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 24px
}

.about-section-accents span {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: var(--color)
}

.about-section-accents span:first-child {
    width: 40px
}

.about-section-accents span:last-child {
    width: 6px
}

.about-section-accents--sm {
    margin: 0 0 14px
}

.about-sub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 20px;
    border-bottom: 1px solid #e5e7eb
}

.about-sub-tabs__item {
    position: relative;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: var(--fontbold5);
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s linear
}

.about-sub-tabs__item:hover {
    color: var(--color)
}

.about-sub-tabs__item.is-active {
    color: var(--color);
    font-weight: var(--fontbold6)
}

.about-sub-tabs__item.is-active::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: -1px;
    height: 2px;
    background: var(--color)
}

/* Case Exploration — sticky catalog + detail */
.about-cases {
    padding: 36px 0 64px
}

.about-cases__inner {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 32px 40px;
    align-items: start
}

.about-cases__catalog {
    position: sticky;
    top: calc(var(--header-h, 72px) + 16px);
    max-height: calc(100vh - var(--header-h, 72px) - 32px);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff
}

.about-cases__catalog-item {
    border-bottom: 1px solid #eee
}

.about-cases__catalog-item:last-child {
    border-bottom: none
}

.about-cases__catalog-link {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
    transition: background .2s linear
}

.about-cases__catalog-link:hover,
.about-cases__catalog-item.is-active .about-cases__catalog-link {
    background: #eff6ff
}

.about-cases__catalog-item.is-active .about-cases__catalog-link {
    box-shadow: inset 3px 0 0 var(--color)
}

.about-cases__catalog-item.is-active .about-cases__catalog-name {
    color: var(--color)
}

.about-cases__catalog-thumb {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6
}

.about-cases__catalog-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.about-cases__catalog-name {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    line-height: 1.35
}

.about-cases__catalog-date {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted)
}

.about-cases__detail-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    line-height: 1.3
}

.about-cases__detail-date {
    margin: 0 0 22px;
    font-size: 13px;
    color: var(--text-muted)
}

.about-cases__specs {
    width: 100%;
    max-width: 640px;
    margin: 0 0 24px;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden
}

.about-cases__specs th,
.about-cases__specs td {
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top
}

.about-cases__specs tr:last-child th,
.about-cases__specs tr:last-child td {
    border-bottom: none
}

.about-cases__specs th {
    width: 130px;
    background: #f9fafb;
    font-weight: var(--fontbold6);
    color: var(--fontcolor)
}

.about-cases__specs td {
    color: var(--text-muted)
}

.about-cases__intro {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted)
}

.about-cases__intro p {
    margin: 0 0 12px
}

.about-cases__intro p:last-child {
    margin-bottom: 0
}

.about-cases__figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6
}

.about-cases__figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

.about-cases__body {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted)
}

.about-cases__body p {
    margin: 0 0 14px
}

.about-cases__body p:last-child {
    margin-bottom: 0
}

.about-cases__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 8px
}

/* Certification grid */
.about-cert {
    padding: 40px 0 64px
}

.about-cert__header {
    margin-bottom: 36px
}

.about-cert__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    line-height: 1.25
}

.about-cert__card {
    text-align: center;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    padding: 16px 12px 20px;
    transition: border-color .25s linear, box-shadow .25s linear, transform .25s linear
}

.about-cert__card:hover {
    border-color: rgba(30, 58, 138, .18);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    transform: translateY(-2px)
}

.about-cert__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
    margin: 0;
    padding: 0;
    list-style: none
}

.about-cert__media {
    aspect-ratio: 290 / 410;
    margin-bottom: 12px;
    padding: 0;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb
}

.about-cert__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.about-cert__name {
    margin: 0;
    font-size: 13px;
    font-weight: var(--fontbold5);
    color: var(--fontcolor);
    line-height: 1.4
}

/* About sub-pages — shared horizontal padding */
.about-sub-page .l-wrap {
    padding-left: 20px;
    padding-right: 20px
}

@media (max-width: 1024px) {
    .about-cases__inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .about-cases__catalog {
        position: static;
        max-height: none;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 4px 2px 12px;
        border: none;
        border-radius: 0;
        background: transparent
    }

    .about-cases__catalog-item {
        flex: 0 0 min(280px, 42vw);
        border: 1px solid #e5e7eb !important;
        border-radius: 8px;
        background: #fff;
        overflow: hidden
    }

    .about-cases__catalog-item:last-child {
        border-bottom: 1px solid #e5e7eb !important
    }

    .about-cert__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 16px
    }
}

@media (max-width: 768px) {
    .about-sub-page .l-wrap {
        padding-left: 16px;
        padding-right: 16px
    }

    /* Hero — default / 650 (cert) / 450 */
    .about-sub-hero:not(.about-sub-hero--650):not(.about-sub-hero--450):not(.about-sub-hero--350) .about-sub-hero__media {
        aspect-ratio: 16 / 9;
        max-height: 280px
    }

    .about-sub-hero--650 .about-sub-hero__media {
        aspect-ratio: 16 / 9;
        max-height: 260px
    }

    .about-sub-hero--450 .about-sub-hero__media {
        max-height: 220px
    }

    .about-sub-hero__inner {
        padding: 20px 0 24px
    }

    .about-sub-hero__caption {
        max-width: 100%
    }

    .about-sub-hero--center .about-sub-hero__inner {
        padding: 20px 0 24px
    }

    .about-sub-hero--center .about-sub-hero__caption,
    .about-sub-hero--center .about-sub-hero__desc {
        max-width: 100%
    }

    .about-sub-hero__title,
    .about-sub-hero__title-fallback {
        font-size: clamp(18px, 5.2vw, 24px)
    }

    .about-sub-hero__desc {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.55
    }

    .about-sub-crumb {
        padding: 12px 0;
        font-size: 12px;
        word-break: break-word
    }

    .about-sub-toolbar {
        flex-direction: column;
        gap: 0
    }

    .about-sub-toolbar .about-sub-crumb {
        order: -1;
        padding: 12px 0 0;
        white-space: normal;
        text-align: left;
        border-bottom: 1px solid #f3f4f6
    }

    .about-sub-toolbar .about-sub-tabs {
        border-bottom: none
    }

    /* Tabs — horizontal scroll */
    .about-sub-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none
    }

    .about-sub-tabs::-webkit-scrollbar {
        display: none
    }

    .about-sub-tabs__item {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 13px
    }

    .about-sub-tabs__item.is-active::after {
        left: 16px;
        right: 16px
    }

    /* Case Exploration */
    .about-cases-page .about-cases {
        padding: 24px 0 calc(48px + 14vw + env(safe-area-inset-bottom, 0px))
    }

    .about-cases-page .about-cases__inner {
        display: flex;
        flex-direction: column;
        gap: 24px
    }

    /* 目录在上、预览/详情在下 */
    .about-cases-page .about-cases__catalog {
        order: 1;
        gap: 10px;
        padding-bottom: 4px;
        margin: 0 -4px;
        scroll-padding-left: 16px;
        scroll-padding-right: 16px
    }

    .about-cases-page .about-cases__detail {
        order: 2
    }

    .about-cases__catalog-item {
        flex: 0 0 min(260px, 78vw)
    }

    .about-cases__catalog-link {
        padding: 12px 14px
    }

    .about-cases__catalog-thumb {
        width: 64px;
        height: 64px
    }

    .about-cases__catalog-name {
        font-size: 14px
    }

    .about-cases__detail-title {
        font-size: clamp(18px, 5vw, 24px);
        margin-bottom: 6px
    }

    .about-cases__detail-date {
        margin-bottom: 16px;
        font-size: 12px
    }

    .about-cases__specs {
        font-size: 13px;
        display: block
    }

    .about-cases__specs tbody,
    .about-cases__specs tr,
    .about-cases__specs th,
    .about-cases__specs td {
        display: block;
        width: 100%
    }

    .about-cases__specs tr {
        margin-bottom: 10px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        overflow: hidden
    }

    .about-cases__specs tr:last-child {
        margin-bottom: 0
    }

    .about-cases__specs th {
        padding: 8px 12px;
        border: none;
        border-bottom: 1px solid #e5e7eb
    }

    .about-cases__specs td {
        padding: 10px 12px;
        border: none
    }

    .about-cases__intro {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 20px
    }

    .about-cases__figure {
        border-radius: 8px;
        margin-bottom: 20px
    }

    .about-cases__body {
        font-size: 15px;
        line-height: 1.8
    }

    /* Certification page */
    .about-cert-page .about-cert {
        padding: 28px 0 calc(48px + 14vw + env(safe-area-inset-bottom, 0px))
    }

    .about-cert__header {
        margin-bottom: 24px
    }

    .about-cert__title {
        font-size: clamp(18px, 5vw, 24px)
    }

    .about-cert__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
        margin: 0 auto
    }

    .about-cert__card {
        padding: 16px 14px 20px
    }

    .about-cert__media {
        max-height: 360px;
        aspect-ratio: 290 / 410
    }

    .about-cert__name {
        font-size: 14px
    }
}

@media (max-width: 480px) {
    .about-cases__catalog-item {
        flex: 0 0 min(240px, 88vw)
    }

    .about-cases__catalog-link {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 10px
    }

    .about-cases__catalog-thumb {
        width: 56px;
        height: 56px
    }

    .about-cert__grid {
        max-width: none
    }

    .about-cert__media {
        max-height: none
    }
}
