/* ============================================================
   strength.css — 選ばれる理由ページ
   日本コロイド株式会社
   ============================================================ */


/* ============================================================
   イントロ文
   ============================================================ */
.str-intro {
    padding: 9.6rem 0 5.6rem;
    background: var(--color-white);
}

.str-intro__text {
    font-size: clamp(2rem, 2.5vw, 2.7rem);
    line-height: 2;
    color: var(--color-main);
    max-width: 1000px;
    font-weight: 600;
    margin: 0 auto;
    text-align: center;
}

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

@media (max-width: 599px) {
    .str-intro__text {
        font-size: 1.6rem;
        text-align: left;
    }
}

/* @media (max-width: 480px) {
    .str-intro__text {
        font-size: 2rem;
    }
} */

/* ============================================================
   4つの理由 一覧カード（ページ上部に全体像を表示）
   ============================================================ */
.str-overview {
    background: var(--color-main);
    padding: 5.6rem 0;
}

.str-overview__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.str-overview__item {
    padding: 3.2rem 2.8rem;
    background: var(--color-main);
    color: var(--color-white);
    text-decoration: none;
    transition: background 0.2s;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.str-overview__item:last-child {
    border-right: none;
}

.str-overview__item:hover {
    background: var(--color-main-dark);
    opacity: 1;
}

.str-overview__num {
    font-family: var(--font-en);
    font-size: clamp(2.8rem, 3vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.4);
}

.str-overview__title {
    font-size: clamp(1.3rem, 1.3vw, 1.6rem);
    font-weight: 700;
    line-height: 1.55;
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .str-overview__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .str-overview__item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .str-overview__item:nth-child(2n) {
        border-right: none;
    }

    .str-overview__item:nth-child(3),
    .str-overview__item:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .str-overview {
        padding: 4rem 0;
    }

    .str-overview__grid {
        grid-template-columns: 1fr;
    }

    .str-overview__item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 2.4rem;
    }

    .str-overview__item:last-child {
        border-bottom: none;
    }
}


/* ============================================================
   各理由セクション（画像 + テキスト 横並び）
   ============================================================ */
.str-section {
    padding: 9.6rem 0;
    background: var(--color-white);
    scroll-margin-top: var(--header-h);
}

.str-section__inner {
    position: relative;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: stretch;
}

.str-section+.str-section .str-section__inner::before {
    content: '';
    position: absolute;
    top: -9.6rem;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e8e5;
}

/* 02・04：画像を右に（テキストが左） */
.str-section__inner--reverse {
    grid-template-columns: 1.15fr 0.85fr;
}

.str-section__inner--reverse .str-section__img {
    order: 2;
}

/* 注記ボックス */
.str-section__note {
    background: #f5f6f5;
}

/* ── 画像エリア ── */
.str-section__img {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 300px;
    overflow: hidden;
    border-radius: 30px;
}

.str-section__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


@media (max-width: 960px) {
    .str-section {
        padding: 6.4rem 0;
    }

    .str-section+.str-section .str-section__inner::before {
        top: -6.4rem;
    }
}

@media (max-width: 768px) {
    .str-section__inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .str-section__inner--reverse .str-section__img {
        order: 0;
    }

    .str-section__img {
        aspect-ratio: 2 / 1;
    }
}


/* ── テキストエリア ── */
.str-section__body {}

.str-section__heading {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    margin-bottom: 3rem;
}

/* 番号 */
.str-section__num {
    font-family: var(--font-en);
    font-size: clamp(5.6rem, 7vw, 9.6rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-main);
    opacity: 0.18;
    letter-spacing: -0.03em;
    display: block;
    transform: scaleX(0.9);
    transform-origin: left center;
    margin-right: -1.2rem;
}

/* 見出し */
.str-section__title {
    font-size: clamp(2rem, 2.2vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
}

.str-section__heading-main {
    flex: 1;
}

/* タイトル下のアクセントライン */
.str-section__title-line {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-main);
    margin-top: 1.6rem;
}

/* リード文 */
.str-section__lead {
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 2.4rem;
}

/* 箇条書き */
.str-section__list {
    list-style: none;
    padding: 0;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.str-section__list li {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    line-height: 1.75;
    color: var(--color-text);
}

.str-section__list li::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-main);
    flex-shrink: 0;
    margin-top: 0.4em;
}

/* 注記ボックス */
.str-section__note {
    width: fit-content;
    padding: 1.4rem 1.8rem;
    background: rgba(0, 0, 0, 0.04);
    font-size: clamp(1.2rem, 1.1vw, 1.4rem);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2.4rem;
}

/* ボタン行 */
.str-section__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

@media (max-width: 900px) {
    .str-section__btns .btn {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .str-section__num {
        font-size: clamp(4.8rem, 15vw, 7.2rem);
    }

    .str-section__title {
        font-size: clamp(1.9rem, 5.5vw, 2.4rem);
    }

    .str-section__btns {
        flex-direction: column;
    }

    .str-section__btns .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 599px) {
    .str-section__title {
        font-size: clamp(1.8rem, 5.5vw, 2.2rem);
    }
}

@media (max-width: 420px) {
    .str-section__title {
        font-size: 1.9rem;
    }

    .str-section__num {
        font-size: 5rem;
    }

    .str-section__title-line {
        margin-top: 1rem;
    }
}

/* ============================================================
   日本コロイドの強みを支える3拠点
   ============================================================ */
.str-system {
    padding: 0 0 9.6rem;
    background: var(--color-white);
}

.str-system>.container {
    padding-top: 6.4rem;
    position: relative;
}

/* 本文幅に合わせた区切り線 */
.str-system>.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--content-pad, 20px);
    right: var(--content-pad, 20px);
    height: 1px;
    background: #e3e8e5;
}

.str-system__heading {
    margin-bottom: 3.2rem;
    font-size: clamp(2rem, 2.2vw, 2.8rem);
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.6;
    text-align: center;
}

.str-system__heading span {
    display: inline-block;
}

.str-system__lead {
    max-width: 900px;
    margin: 0 auto 4rem;
    color: var(--color-text);
    line-height: 2;
}

.str-system__lead p+p {
    margin-top: 1.6rem;
}

/* 拠点カード */
.str-system__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}

.str-system__card {
    min-width: 0;
    padding: 2.8rem 2.4rem;
    background: var(--color-bg-green);
    border-top: 3px solid var(--color-main);
    border-radius: 0 0 10px 10px;
}

.str-system__name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    min-height: 6.4rem;
    margin-bottom: 1.6rem;
    font-size: clamp(1.8rem, 1.8vw, 2.2rem);
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.5;
}

.str-system__name span {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--color-main);
}

.str-system__role {
    color: var(--color-text);
    line-height: 1.85;
}

/* リンクボタン */
.str-system__btn {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.str-system__btn .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.str-system__btn .btn__arrow {
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .str-system {
        padding-bottom: 6.4rem;
    }

    .str-system__grid {
        gap: 1.6rem;
    }

    .str-system__card {
        padding: 2.4rem 2rem;
    }
}

@media (max-width: 768px) {
    .str-system>.container {
        padding-top: 4.8rem;
    }

    .str-system__heading {
        margin-bottom: 2.4rem;
        font-size: clamp(2rem, 5vw, 2.4rem);
    }

    .str-system__lead {
        margin-bottom: 3.2rem;
        line-height: 1.9;
    }

    .str-system__lead br {
        display: none;
    }

    .str-system__grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .str-system__name {
        min-height: 0;
        margin-bottom: 1.2rem;
        font-size: 2rem;
    }

    .str-system__btn {
        margin-top: 3.2rem;
    }

    .str-system__btn .btn {
        width: 100%;
        justify-content: center;
    }
}