/* ============================================================
   technology.css — 品質管理体制・製造体制ページ
   日本コロイド株式会社
   ============================================================ */


/* ============================================================
   ページヘッダー内リード文
   ============================================================ */
.page-header__lead {
    line-height: 1.9;
}



/* ============================================================
   MVキャッチ・リード文
   ============================================================ */
.tech-intro {
    padding: 8rem 0 10rem;
    background: var(--color-white);
}

.tech-intro__catch {
    margin-bottom: 3.2rem;
    font-size: clamp(2.8rem, 3vw, 4.2rem);
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.6;
    text-align: center;
}

.tech-intro__catch span {
    display: inline-block;
}

.tech-intro__lead {
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-text);
    line-height: 2;
    text-align: center;

}

.tech-intro__lead p {
    font-weight: 600;
    font-size: clamp(1.6rem, 1.5vw, 2rem);
}

.tech-intro__lead p+p {
    margin-top: 1.6rem;
}

@media (max-width: 768px) {
    .tech-intro {
        padding: 5.6rem 0;
    }

    .tech-intro__catch {
        margin-bottom: 2.4rem;
        font-size: clamp(2.6rem, 5.5vw, 3.4rem);
    }

    .tech-intro__lead {
        line-height: 1.9;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .tech-intro__catch span {
        display: block;
    }
}


/* ============================================================
   OUR SYSTEM：3拠点の一体運営体制
   ============================================================ */
.tech-system {
    background: var(--color-white);
    padding: 8rem 0;
}

.tech-system__lead {
    line-height: 1.9;
    margin-bottom: 4rem;
}

/* 拠点カード 4列グリッド */
.tech-system__grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 1.6rem;
    margin-bottom: 5.6rem;
}

.tech-system__card {
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.tech-system__card-head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem 1.8rem 0;
}

.tech-system__card-num {
    font-family: var(--font-en);
    font-size: clamp(2.4rem, 2.2vw, 2.8rem);
    font-weight: 700;
    color: var(--color-main);
    opacity: 0.25;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.tech-system__card-location {
    font-size: clamp(1.3rem, 1vw, 1.5rem);
    color: var(--color-text);
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.tech-system__card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    padding: 0.6rem 1.8rem 0.8rem;
    line-height: 1.4;
    min-height: 6.4rem;
}

.tech-system__card-role {
    font-weight: 700;
    color: var(--color-main);
    background: var(--color-bg-green);
    padding: 0.6rem 1rem;
    min-height: 3.8rem;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.tech-system__card-img {
    width: 100%;
    height: clamp(180px, 15vw, 220px);
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.tech-system__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-system__card-img-label {
    font-size: clamp(1.1rem, 1vw, 1.3rem);
    color: #888;
}

.tech-system__card-desc {
    padding: 1.4rem 1.8rem 2rem;
    line-height: 1.85;
    flex: 1;
}


/* 茨城：1カード内に研究室・製造工場 */
.tech-system__units {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex: 1;
}

.tech-system__unit {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tech-system__unit+.tech-system__unit {
    border-left: 1px solid var(--color-border);
}

@media (max-width: 780px) {
    .tech-system__grid {
        grid-template-columns: 1fr;
    }

    .tech-system__card--ibaraki {
        grid-column: auto;
    }

    .tech-system__units {
        grid-template-columns: 1fr;
    }

    .tech-system__unit+.tech-system__unit {
        border-left: none;
        border-top: 1px solid var(--color-border);
    }

    .tech-system__card-img {
        aspect-ratio: auto;
        height: clamp(260px, 42vw, 420px);
    }

    .tech-system__card-location {
        font-size: 1.3rem;
    }

    .tech-system__card-title {
        min-height: 0;
        /* padding: 0.6rem 1.8rem 2rem; */
        padding: 2rem 1.8rem;
    }

    /* .tech-system__card-title.factory {
        padding: 2rem 1.8rem;
    } */

    .tech-system__card-desc {
        padding: 2rem 1.8rem;
    }
}

@media (max-width: 600px) {
    .tech-system {
        padding: 5.6rem 0;
    }


    .tech-system__grid {
        gap: 1.6rem;
        margin-bottom: 4rem;
    }
}

/* 連携フロー図 */
.tech-flow {
    background: var(--color-white);
    padding: 3.2rem 0;
}

.tech-flow__images {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
}

.tech-flow__images picture {
    display: block;
    min-width: 0;
}

.tech-flow__images img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .tech-flow {
        padding: 2.4rem 0;
    }

    .tech-flow__images {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .tech-flow__images>img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }
}


/* ============================================================
   QUALITY MANAGEMENT：品質管理の仕組み
   ============================================================ */
.tech-quality {
    background: var(--color-bg-cream);
    padding: 8rem 0;
}

.tech-quality__lead {
    padding: 0rem 2.4rem 2.4rem 0rem;
    line-height: 2;
    margin-bottom: 4rem;
}

.tech-quality__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
}

.tech-quality__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 2.4rem;
    border-radius: 10px;
}

/* アイコン */
.tech-quality__icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1.8rem;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-quality__icon span {
    font-size: clamp(1rem, 0.9vw, 1.2rem);
    color: #888;
}

.tech-quality__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tech-quality__card-title {
    font-size: clamp(1.6rem, 1.6vw, 1.9rem);
    font-weight: 700;
    color: var(--color-text);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-main);
    line-height: 1.4;
}

.tech-quality__card-desc {
    line-height: 1.9;
}

@media (max-width: 768px) {
    .tech-quality {
        padding: 5.6rem 0;
    }

    .tech-quality__lead {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

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

    .tech-quality__card {
        padding: 2rem;
    }

    .tech-quality__icon {
        margin-bottom: 1.6rem;
    }
}


/* ============================================================
   FACTORY & EQUIPMENT：工場設備・生産能力
   ============================================================ */
.tech-factory {
    background: var(--color-white);
    padding: 8rem 0;
}

.tech-factory__lead {
    line-height: 1.85;
    margin-bottom: 4.8rem;
}

.tech-factory__note {
    font-size: clamp(1.2rem, 1.1vw, 1.4rem);
    color: var(--color-text-light);
}

.tech-factory__body {
    display: block;
}

/* 設備概要テーブル */
.tech-factory__spec-title {
    font-size: clamp(1.8rem, 1.4vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid var(--color-main);
}

.tech-factory__table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.tech-factory__table th,
.tech-factory__table td {
    padding: 1.4rem 1.6rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.85;
}

.tech-factory__table th {
    width: 100px;
    font-weight: 700;
    color: var(--color-main);
    background: var(--color-bg-green);
    white-space: nowrap;
    font-size: clamp(1.3rem, 1.2vw, 1.5rem);
}

.tech-factory__table td {
    color: var(--color-text);
}

.tech-factory__table tr:last-child th,
.tech-factory__table tr:last-child td {
    border-bottom: none;
}


@media (max-width: 768px) {
    .tech-factory {
        padding: 5.6rem 0;
    }

    .tech-factory__table,
    .tech-factory__table tbody,
    .tech-factory__table tr {
        display: block;
    }

    .tech-factory__table th {
        display: block;
        width: auto;
        border-bottom: none;
        padding-bottom: 0.2rem;
        background: transparent;
        font-size: clamp(1.2rem, 3vw, 1.4rem);
    }

    .tech-factory__table td {
        display: block;
        padding-top: 0.4rem;
    }
}


/* ============================================================
   NETWORK：拠点情報
   ============================================================ */
.tech-network {
    background: var(--color-bg-cream);
    padding: 8rem 0;
}

.tech-network__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}

.tech-network__card {
    background: var(--color-white);
    border-top: 4px solid var(--color-main);
    overflow: hidden;
    border-radius: 10px;
}

.tech-network__map {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #dde9e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-network__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.tech-network__map-label {
    font-size: clamp(1.2rem, 1.1vw, 1.4rem);
    color: #888;
}

.tech-network__body {
    padding: 2rem 2.4rem 2.8rem;
    border-radius: 0 0 10px 10px;
}

.tech-network__name {
    font-size: clamp(1.6rem, 1.6vw, 1.9rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.tech-network__address {
    color: var(--color-text-light);
    line-height: 1.9;
    font-style: normal;
}

.tech-network__tel {
    font-family: var(--font-en);
    font-size: clamp(1.5rem, 1.5vw, 1.8rem);
    color: var(--color-text-light);
}

.tech-network__tel a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.tech-network__tel a:hover {
    color: var(--color-main);
    opacity: 1;
}

@media (max-width: 768px) {
    .tech-network {
        padding: 5.6rem 0;
    }

    .tech-network__grid {
        gap: 1rem;
    }
}

@media (max-width: 599px) {
    .tech-network__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================================
   オリジナル製品への対応
   ============================================================ */
.tech-original {
    background: var(--color-white);
    padding: 8rem 0;
}

.tech-original__lead {
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 4.8rem;
}

/* 3列カード */
.tech-original__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}

.tech-original__card {
    display: grid;
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 1.6rem;
    align-content: start;
    min-width: 0;
    padding: 2.8rem;
    background: var(--color-bg-green);
    border: 1px solid var(--color-border);
    border-radius: 10px;
}

/* チェックマーク */
.tech-original__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    margin-bottom: 0;
    border-radius: 50%;
    background: var(--color-main);
    color: var(--color-white);
    font-size: 2.4rem;
    line-height: 1;
}

.tech-original__title {
    margin-bottom: 0;
    font-size: clamp(1.6rem, 1.6vw, 1.9rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
    align-self: center;
}

.tech-original__desc {
    color: var(--color-text-light);
    line-height: 1.9;
    grid-column: 1 / -1;
}

/* お問い合わせボタン＋補足文 */
.tech-original__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    margin-top: 8rem;
}

.tech-original__action .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    padding: 1.4rem 5.5rem 1.4rem 3.5rem;
}

.tech-original__action .btn__arrow {
    flex-shrink: 0;
}

.tech-original__message {
    font-size: clamp(1.6rem, 1.5vw, 1.8rem);
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 1024px) {
    .tech-original__grid {
        gap: 1.6rem;
    }

    .tech-original__card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .tech-original {
        padding: 5.6rem 0;
    }

    .tech-original__card {
        gap: 1.6rem 1rem;
    }

    .tech-original__lead {
        margin-bottom: 3.2rem;
        text-align: left;
    }

    .tech-original__title {
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    .tech-original__check {
        width: 3.8rem;
        height: 3.8rem;
    }

    .tech-original__action {
        align-items: center;
        margin-top: 5rem;
    }

    .tech-original__action .btn {
        width: 100%;
        justify-content: center;
    }

    .tech-original__message {
        text-align: center;
    }
}

@media (max-width: 599px) {
    .tech-original {
        text-align: center;
    }

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

    .tech-original__title,
    .tech-original__desc {
        text-align: left;
    }
}