/*
Theme Name: 日本コロイド
Description: 日本コロイド株式会社のオリジナルテーマ
Version: 1.0.0
*/
/* ══════════════════════════════════════════════
   MV（メインビジュアル・100vh・3枚クロスフェード）
══════════════════════════════════════════════ */
.mv {
    position: relative;
    height: calc(100svh - 76px);
    min-height: 700px;
    margin: 30px 38px;
}

.mv>.container {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0;
}

/* スライド全体 */
.mv__slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 30px;
}

/* スライド画像 */
.mv__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
}

.mv__slide.is-active {
    opacity: 1;
}


/* テキストオーバーレイ */
.mv__content {
    position: absolute;
    top: 50%;
    left: 0;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 2;

    width: max-content;
    max-width: calc(100% - 1rem);

    padding:
        clamp(1.2rem, 1.125vw, 1.8rem) clamp(0.8rem, 0.75vw, 1.2rem) clamp(1.2rem, 1.125vw, 1.8rem) clamp(2rem, 2vw, 3.2rem);

    background: rgba(255, 255, 255, 0.96);
    border-radius: 0 10px 10px 0;
}

/* タイトル */
.mv__question {
    display: block;
    margin-bottom: 1.6rem;
}

.mv__question-icon {
    float: left;
    width: 70px;
    height: 70px;
    margin: 0.8rem 1.2rem 0 0;
}

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

.mv__heading {
    font-size: clamp(6rem, 1.15vw, 6.3rem);
    font-weight: 600;
    color: var(--color-main);
    line-height: 1.45;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.mv__catch {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.04em;
    color: var(--color-main);
    white-space: nowrap;
}

.mv__comma {
    display: inline-block;
    margin-left: -0.08em;
    margin-right: -0.25em;
}

/* アイコン・説明 */
.mv__feature {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--color-main);
    white-space: nowrap;
}

.mv__icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0rem;
    flex-shrink: 0;
}

.mv__icon-item {
    display: block;
    flex: 0 0 auto;
}

.mv__icon-circle {
    width: 60px;
    height: 60px;
}

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

.mv__sub {
    margin: 0;
    font-size: clamp(1.5rem, 1.15vw, 1.6rem);
    line-height: 1.8;
    color: var(--color-main);
    white-space: nowrap;
}

.mv__sub strong {
    font-size: clamp(1.6rem, 1.5vw, 1.8rem);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

@media (max-width: 1100px) {
    .mv {
        width: auto;
        height: 500px;
        min-height: 0;

        margin-top: calc(var(--header-h) + 24px);
        margin-right: 16px;
        margin-bottom: 24px;
        margin-left: 16px;

        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .mv {
        width: auto;
        height: 520px;
        min-height: 0;

        margin-top: calc(var(--header-h) + 24px);
        margin-right: 16px;
        margin-bottom: 16px;
        margin-left: 16px;
    }

    .mv__slides {
        border-radius: 20px;
    }

    .mv__content {
        top: 65%;
        left: -5px;
        bottom: auto;
        transform: translateY(-50%);

        width: max-content;
        max-width: calc(100% - 1rem);

        padding:
            clamp(1rem, 3vw, 1.4rem) clamp(0.8rem, 2vw, 1rem) clamp(1rem, 3vw, 1.4rem) clamp(0.6rem, 2vw, 1.2rem);

        border-radius: 0 10px 10px 0;
    }

    .mv__slide {
        background-position: 60% center;
    }

    .mv__question {
        margin-bottom: clamp(0.8rem, 2.5vw, 1.2rem);
    }

    .mv__question-icon {
        width: clamp(32px, 9vw, 48px);
        height: clamp(32px, 9vw, 48px);
        margin:
            0.4rem clamp(0.6rem, 2vw, 1rem) 0 0;
    }

    .mv__heading {
        font-size: clamp(2.8rem, 8vw, 4.6rem);
        line-height: 1.45;
        white-space: nowrap;
    }

    .mv__feature {
        gap: clamp(0.6rem, 2vw, 1.2rem);
        padding-top: clamp(0.8rem, 2.5vw, 1.4rem);
    }

    .mv__icon-circle {
        width: clamp(28px, 8vw, 42px);
        height: clamp(28px, 8vw, 42px);
    }

    .mv__sub {
        font-size: clamp(1rem, 2.8vw, 1.3rem);
    }

    .mv__sub strong {
        font-size: clamp(1.1rem, 3.2vw, 1.5rem);
    }
}

@media (max-width: 599px) {
    .mv__slide:nth-child(3) {
        background-position: 70% 95%;
    }
}

/* ══════════════════════════════════════════════
   AUTO SLIDER（MV下・右→左 無限スクロール）
══════════════════════════════════════════════ */
.auto-slider {
    overflow: hidden;
    background: var(--color-white);
    padding: 3.2rem 0;
}

.auto-slider__track {
    display: flex;
    align-items: center;
    gap: clamp(2.4rem, 2vw, 3.2rem);
    animation: slideLeft 28s linear infinite;
    width: max-content;
}

.auto-slider__item {
    flex-shrink: 0;
    overflow: hidden;
}

.auto-slider__item {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 44px;
}

/* 基本：大きい画像 */
.auto-slider__item img {
    width: 350px;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

/* 2・4・6枚目：小さい画像 */
.auto-slider__item:nth-child(6n + 2) img,
.auto-slider__item:nth-child(6n + 4) img,
.auto-slider__item:nth-child(6n + 6) img {
    width: 320px;
    height: 320px;
}

/* 小さい画像は角丸も少し小さく */
.auto-slider__item:nth-child(6n + 2),
.auto-slider__item:nth-child(6n + 4),
.auto-slider__item:nth-child(6n + 6) {
    border-radius: 40px;
}

/* .auto-slider__item:hover img {
    transform: scale(1.04);
} */

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

    .auto-slider__item {
        border-radius: 28px;
    }

    .auto-slider__item img {
        width: 240px;
        height: 290px;
    }

    .auto-slider__item:nth-child(6n + 2) img,
    .auto-slider__item:nth-child(6n + 4) img,
    .auto-slider__item:nth-child(6n + 6) img {
        width: 220px;
        height: 220px;
    }

    .auto-slider__item:nth-child(6n + 2),
    .auto-slider__item:nth-child(6n + 4),
    .auto-slider__item:nth-child(6n + 6) {
        border-radius: 26px;
    }
}

/* ══════════════════════════════════════════════
   NEWS（新着情報）
══════════════════════════════════════════════ */
.news {
    background: var(--color-white);
    padding: 8rem 0 10rem;
}

.news__inner {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 10rem;
    align-items: stretch;
}

.news__list {
    align-self: start;
}

.news__item {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 1rem;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.news__item:hover {
    background: rgba(17, 136, 72, 0.08);
    opacity: 1;
}

.news__arrow {
    font-family: var(--font-en);
    color: var(--color-main);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.news__item:hover .news__arrow {
    transform: translateX(6px);
}

.news__date {
    font-family: var(--font-en);
    font-size: clamp(1.4rem, 1.1vw, 1.5rem);
    color: var(--color-text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.news__badge-wrap {
    flex-shrink: 0;
    width: 110px;
    display: flex;
    justify-content: center;
}

.news__badge {
    display: inline-block;
    font-size: clamp(1rem, 1vw, 1.2rem);
    font-weight: 600;
    padding: 0.2rem 1rem;
    white-space: nowrap;
    border-radius: 999px;
    width: 100%;
    text-align: center;
    border: 1.5px solid var(--color-main);
    color: var(--color-main);
}

/* .news__badge--fill {
    background: var(--color-main);
    color: var(--color-white);
} */

/* .news__badge--outline {
    border: 1.5px solid var(--color-main);
    color: var(--color-main);
} */

.news__title {
    flex: 1;
    line-height: 1.6;
    color: var(--color-text);
    font-size: clamp(1.5rem, 1.4vw, 1.6rem);
}

.news__arrow {
    font-family: var(--font-en);
    color: var(--color-main);
    flex-shrink: 0;
}

.news__side {
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.news__filter {
    padding-top: 0.4rem;
}


/* .news__filter {
    align-self: end;

    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-top: 0.4rem;
} */

.news__filter-title {
    font-size: clamp(1.1rem, 1vw, 1.3rem);
    color: var(--color-text-light);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.news__filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news__filter-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: clamp(1.5rem, 1.4vw, 1.6rem);
    cursor: pointer;
    color: #979797;
    transition: color 0.2s;
    letter-spacing: 0.1em;
}

.news__filter-item.is-active {
    color: var(--color-main);
    font-weight: 700;
}

.news__filter-radio {
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-border);
    border-radius: 999px;
    display: block;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.news__filter-item.is-active .news__filter-radio {
    border-color: var(--color-main);
    background: var(--color-main);
}

.news__all-btn {
    margin-top: 1.6rem;
    width: 100%;
}

.news__all-btn .btn--fill {
    width: 100%;
}

.news__empty {
    padding: 30px 0;
    color: #666;
    font-size: 1.6rem;
    list-style: none;
}

@media (max-width: 1300px) {
    .news__inner {
        gap: 3rem;
    }
}

@media (max-width: 1000px) {
    .news__inner {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .news__side {
        display: contents;
    }

    .news__filter {
        order: 1;
        width: 100%;
        padding-top: 0;
    }

    .news__list {
        order: 2;
        width: 100%;
    }

    .news__all-btn {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 0;
    }

    .news__filter-list {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 1.5rem 2.4rem;
        margin-left: 1rem;
    }

    .news__all-btn .btn--fill {
        width: auto;
    }
}

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

    .news__inner {
        gap: 3rem;
    }

    /* .news__filter {
        justify-content: center;
    } */

    .news__item {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "date badge ."
            "title title arrow";
        column-gap: 1.2rem;
        row-gap: 1.2rem;
        align-items: center;
        padding: 1.6rem 0.8rem;
    }

    .news__date {
        grid-area: date;
    }

    .news__badge-wrap {
        grid-area: badge;
        width: 110px;
        justify-content: flex-start;
    }

    .news__title {
        grid-area: title;
    }

    .news__arrow {
        grid-area: arrow;
        align-self: center;
    }
}

/* ============================================================
   ABOUT（私たちについて）
   ============================================================ */
.about {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2.4rem;
}

.about__bg {
    position: absolute;
    inset: 0;
    background-image: url(./asset/images/pic_about.jpg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.about__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.about__body {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.about__copy {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 900;
    line-height: 1.5;
    margin: 6rem 0 4.6rem;
    letter-spacing: -0.01em;
}

.about__lead {
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 8rem;
    font-size: clamp(1.5rem, 1.4vw, 1.6rem);
}

.about__btn {
    width: 280px;
    max-width: 100%;
    background: var(--color-white);
    box-sizing: border-box;
    font-size: clamp(1.5rem, 1.4vw, 1.6rem);
    letter-spacing: 0.05em;
}

.about__btn:hover {
    background: var(--color-white);
    color: var(--color-main);
    opacity: 1;
}

@media (max-width: 810px) {
    .about__lead {
        text-align: left;
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 6rem 2.4rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 6rem 1.8rem;
    }

    .about__copy {
        font-size: 2.2rem;
    }
}

@media (max-width: 390px) {
    .about__copy {
        font-size: 2rem;
    }
}

/* ============================================================
   BUSINESS（事業内容）
   ============================================================ */
.business {
    position: relative;
    padding: 10rem 0;
    overflow-x: clip;
    z-index: 0;
}

/* 背景ロゴ */
.business .logo__deco {
    position: absolute;
    top: -18rem;
    right: -23rem;
    width: clamp(600px, 50vw, 900px);
    height: auto;
    opacity: 1;
    z-index: -1;
    display: block;
    pointer-events: none;
    user-select: none;
}

.business>.container {
    position: relative;
    z-index: 1;
}

.business__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 8rem 0 0;
}

.business__card {
    background: var(--color-white);
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.16);
    border-radius: 20px;
}

.business__card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.business__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.business__card-body {
    padding: 3rem;
}

.business__card-en {
    font-family: var(--font-en);
    font-size: clamp(1rem, 1vw, 1.3rem);
    font-weight: 500;
    color: var(--color-main);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.business__card-title {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.business__card-desc {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.business__card-btns {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 1290px) {
    .business__card-btns .btn {
        width: 100%;
    }
}


@media (max-width: 1100px) {

    .business__card-btns {
        flex-wrap: wrap;
    }

    .business__card-btns .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .business {
        padding: 5rem 0;
    }

    .business__cards {
        grid-template-columns: 1fr;
    }

    .business .sec-head__lead {
        margin: 4rem 0;
    }
}

@media (max-width: 590px) {
    .business__cards {
        margin: 0 auto;
    }

    .business__card-btns {
        gap: 1rem;
    }

    .business__card-btns .btn {
        padding: 1rem 3rem;
    }
}


@media (max-width: 480px) {
    .business .logo__deco {
        top: -15rem;
        right: -20rem;
    }
}

/* ══════════════════════════════════════════════
   STRENGTH（選ばれる理由・画像4枚カード）
══════════════════════════════════════════════ */
.strength .container {
    background: var(--color-bg-yellow);
    padding: 8rem 0;
    border-radius: 50px;
}

.strength__head {
    text-align: center;
    margin-bottom: 5.6rem;
}

.strength__head .sec-head__lead {
    margin-bottom: 0;
}

.strength__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.6rem;
    margin-bottom: 4rem;
    padding: 0 5rem;
}

/* カード */
.strength__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.35 / 1;
    border-radius: 20px;
}

/* 右列を下へずらす */
.strength__item:nth-child(even) {
    transform: translateY(5.5rem);
}

.strength__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

/* .strength__item:hover img {
    transform: scale(1.05);
} */

/* テキスト */
.strength__item-body {
    position: absolute;
    inset: 0;
    padding: 2.4rem 1.7rem;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.08) 65%,
            transparent 100%);

    color: var(--color-white);
}

/* 番号を左上へ */
.strength__item-num {
    position: absolute;
    top: 2rem;
    left: 2.4rem;

    font-family: var(--font-en);
    font-size: clamp(4rem, 4vw, 6rem);
    font-weight: 700;
    line-height: 1;
    opacity: 1;
    margin: 0;
}

.strength__item-title {
    font-size: clamp(2.1rem, 2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.strength__item-desc {
    font-size: clamp(1.5rem, 1.3vw, 1.6rem);
    line-height: 1.8;
    opacity: 1;
}

/* 右列を下げた分、ボタンとの余白を確保 */
.strength__btn-wrap {
    text-align: center;
    margin-top: 15rem;
}

@media (max-width: 768px) {
    .strength .container {
        padding: 8rem 2rem;
    }

    .strength__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .strength__item {
        aspect-ratio: 16 / 9;
    }

    .strength__item:nth-child(even) {
        transform: none;
    }

    .strength__btn-wrap {
        margin-top: 4rem;
    }
}

@media (max-width: 590px) {
    .strength__item {
        aspect-ratio: 4 / 3;
    }
}


/* ══════════════════════════════════════════════
   QUALITY（品質管理体制）
══════════════════════════════════════════════ */
.quality {
    background: var(--color-white);
    padding: 10rem 0;
}

.quality__item {
    display: grid;
    grid-template-columns: clamp(360px, 31.25vw, 500px) minmax(0, 1fr);
    gap: clamp(3rem, 3vw, 4.8rem);
    align-items: center;
}

/* 画像 */
.quality__img {
    width: 100%;
    aspect-ratio: 1 / 1.07;
    overflow: hidden;
    border-radius: 40px;
}

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

.quality__body {
    min-width: 0;
}

.quality__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin-top: 6rem;
}

.quality__btns .btn {
    flex-shrink: 0;
    width: 334px;
}

@media (max-width: 1300px) {
    .quality__item {
        grid-template-columns: clamp(340px, 38vw, 500px) minmax(0, 1fr);
        gap: 3rem;
    }

    .quality__body .sec-head__ja {
        font-size: clamp(2.8rem, 3.2vw, 4rem);
    }
}


@media (max-width: 1185px) {
    .quality_br {
        display: none;
    }

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

    .quality__img {
        aspect-ratio: 16 / 7;
    }

    .quality__body .sec-head__ja {
        white-space: normal;
    }

    .quality__btns {
        flex-wrap: wrap;
        margin-top: 3.2rem;
    }

    .quality__img img {
        object-position: center 65%;
    }
}

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

    .quality__img {
        width: 100%;
        border-radius: 24px;
    }

    .quality__btns {
        justify-content: center;
    }
}

/* ============================================================
   PRODUCTS
   ============================================================ */

.products {
    position: relative;
    background: var(--color-bg-yellow);
    padding: 8rem 0 0;
}

.products__head {
    text-align: center;
    margin-bottom: 5rem;
}

.products__head .sec-head__lead {
    margin-bottom: 0;
}


/* 商品カード */
.products__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}

.products__card {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 220px;

    overflow: hidden;

    background: var(--color-white);
    border: 1px solid var(--color-main);
    border-radius: 20px;

    color: inherit;
    text-decoration: none;

    transition: box-shadow 0.25s ease;
}

.products__card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    opacity: 1;
}


/* 画像 */
.products__card-img {
    min-width: 0;
    overflow: hidden;
}

.products__card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.products__card:hover .products__card-img img {
    transform: scale(1.04);
}


/* 本文 */
.products__card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 2rem 1.2rem 5rem;
}

.products__card-num {
    margin-bottom: 0.6rem;

    font-family: var(--font-en);
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 700;
    line-height: 1;

    color: var(--color-main);
}

.products__card-title {
    margin-bottom: 0.6rem;

    font-size: clamp(2rem, 2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.4;

    color: var(--color-text);
}

.products__card-desc {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--color-text-light);
}


/* 下部の緑帯 */
.products__card-link {
    position: absolute;
    left: 0;
    right: -2px;
    bottom: -1px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;

    min-height: 4rem;
    padding: 0.7rem 1.6rem;
    box-sizing: border-box;

    background: var(--color-main);
    color: var(--color-white);

    font-size: clamp(1.3rem, 1vw, 1.5em);
    font-weight: 700;
}

.products__card-link .btn__arrow {
    position: static;
    display: inline-block;

    width: auto;
    height: auto;
    margin: 0;

    font-size: 1.2rem;
    line-height: 1;

    /* 縦位置だけ微調整 */
    transform: translateY(7px);

    transition: transform 0.3s ease;
}

.products__card:hover .products__card-link .btn__arrow {
    transform: translate(4px, 7px);
}

@media (max-width: 900px) {}

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

    .products__head {
        margin-bottom: 3.6rem;
    }

    .products__cards {
        grid-template-columns: 1fr;
    }

    .products__card {
        grid-template-columns: 38% 62%;
        min-height: 0;
    }

    .products__card-img {
        position: relative;
        min-height: 0;
    }

    .products__card-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .products__card-body {
        padding: 1.6rem 1.4rem 5rem;
        gap: 0;
    }
}

@media (max-width: 590px) {
    .products__card {
        grid-template-columns: 34% 66%;
        min-height: 170px;
        border-radius: 14px;
    }

    .products__card-body {
        padding: 1.5rem 1.4rem 4.4rem;
    }

    .products__card-num {
        font-size: 2.5rem;
    }

    .products__card-link {
        min-height: 3.6rem;
        padding: 0.6rem 1.2rem;
    }

    .products__trouble-btn {
        padding: 0.9rem 2rem;
    }

    .products__card-desc {
        font-size: 1.4rem;
    }
}

/* TROUBLE */
.trouble {
    position: relative;

    margin: 7rem auto 0;
    padding: 7rem 2.2rem 4rem;

    background: var(--color-white);
    border: 1px solid var(--color-main);
    border-radius: 28px;
}

/* 「または、お悩みから探す」 */
.products__trouble-label {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2.4rem;
    background: var(--color-main);
    border-radius: 999px;
    color: var(--color-white);
    font-size: clamp(1.5rem, 1.5vw, 1.8rem);
    font-weight: 600;
    white-space: nowrap;
}

.products__trouble-search {
    font-size: 1.5rem;
    line-height: 1;
}


/* 見出し */
.trouble__head {
    text-align: center;
}

.trouble__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    margin-bottom: 3rem;

    font-size: clamp(2.4rem, 2.8vw, 3.2rem);
    font-weight: 700;
    color: var(--color-main);
}

.trouble__heading-icon {
    display: block;
    width: 32px;
    height: 32px;
}

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

.trouble__lead {
    margin-bottom: 4rem;
    line-height: 1.8;
    text-align: center;

    color: var(--color-text);
}


/* タグ */
.trouble__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.2rem;
}

.trouble__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.5rem 1.6rem;

    background: var(--color-white);
    border: 1px solid var(--color-main);
    border-radius: 999px;

    color: var(--color-main);

    font-size: clamp(1.5rem, 1.5vw, 1.6rem);
    line-height: 1.4;

    white-space: nowrap;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease;
}

.trouble__tag:hover {
    background: var(--color-main);
    color: var(--color-white);
    opacity: 1;
}

@media (max-width: 768px) {
    .trouble {
        padding: 5rem 2.2rem 5.6rem;
        margin: 8rem auto 3rem;
    }

    .trouble .container {
        padding-top: 5rem;
        padding-bottom: 4rem;
    }

    .trouble__lead {
        text-align: left;
    }

    .food-slider {
        padding: 2rem 0 0;
    }
}

@media (max-width: 590px) {
    .trouble .container {
        border-radius: 14px;
        padding-inline: 2rem;
    }

    .trouble__heading {
        font-size: 1.8rem;
    }
}

/* フードスライダー（お悩みセクション下） */
.food-slider {
    width: 100%;
    overflow: hidden;

    padding: 3rem 0 3rem;

    background: var(--color-bg-yellow);
}

.food-slider__track {
    display: flex;
    align-items: center;
    gap: 2.4rem;

    width: max-content;

    animation: slideLeft 22s linear infinite;
}

.food-slider__item {
    width: 200px;
    height: 200px;

    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .food-slider {
        padding: 1rem 0;
    }

    .food-slider__item {
        width: 120px;
        height: 120px;
    }
}


/* ══════════════════════════════════════════════
   CATALOG（商品カタログをダウンロード）
══════════════════════════════════════════════ */
.catalog {
    position: relative;
    z-index: 2;
    padding: 8rem 0;
}

.catalog__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.4rem;
    align-items: center;
}

.catalog__img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 500 / 420;
    overflow: hidden;
    border-radius: 40px;
}

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

.catalog__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2.8rem;
}

@media (max-width: 900px) {
    .catalog__inner {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .catalog__img {
        width: 100%;
        max-width: none;
        aspect-ratio: 16 / 7;
        border-radius: 32px;
    }
}

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


/* ══════════════════════════════════════════════
   COLUMN（お役立ち情報）
══════════════════════════════════════════════ */
.column-section {
    position: relative;
    padding: 8rem 0;
    overflow: visible;
    z-index: 0;
}

/* 背景ロゴ */
.column-section .logo__deco {
    position: absolute;
    top: -25rem;
    left: -25rem;
    width: clamp(600px, 50vw, 900px);
    height: auto;
    opacity: 1;
    z-index: -1;
    display: block;
    pointer-events: none;
    user-select: none;
}

.column-section>.container {
    position: relative;
    z-index: 1;
}

.column-section__head {
    text-align: center;
    margin-bottom: 4.8rem;
}

.column-section__head .sec-head__lead {
    margin-bottom: 0;
}

.column {
    padding: 10rem 0;
    text-align: center;
}

.column .sec-head {
    display: flex;
    justify-content: center;
}

.column__slider-wrap {
    position: relative;
    margin: 6rem 0 7rem;
}


/* 横スクロール */
.column__slider {
    display: flex;
    gap: 2.4rem;

    width: 100%;
    max-width: 1200px;
    padding-inline: 2.4rem;
    box-sizing: border-box;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.column__slider::-webkit-scrollbar {
    display: none;
}

.column__card {
    flex: 0 0 calc((100% - 4.8rem) / 3);
    background: var(--color-white);
    overflow: hidden;
    text-align: left;
}

.column__card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.column__card-link:hover {
    opacity: 1;
}

.column__card-img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.column__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.column__card:hover .column__card-img img {
    transform: scale(1.04);
}

.column__card-body {
    padding: 1.6rem 1rem 2rem;
}

.column__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.column__card-cat {
    font-size: clamp(1rem, 1vw, 1.3rem);
    font-weight: 600;
    color: var(--color-main);
    border: 1px solid var(--color-main);
    border-radius: 999px;
    padding: 0.1rem 1.5rem;
}

.column__card-date {
    font-family: var(--font-en);
    font-size: clamp(1.2rem, 1vw, 1.3rem);
    color: var(--color-text-light);
}

.column__card-title {
    font-size: clamp(1.5rem, 1.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.55;
    margin-bottom: 0.6rem;
}

.column__card-desc {
    font-size: clamp(1.5rem, 1.4vw, 1.6rem);
    color: var(--color-text-light);
    line-height: 1.7;
}

.column__card-title,
.column__card-desc {
    transition: color 0.3s ease;
}

.column__card-link:hover .column__card-title,
.column__card-link:hover .column__card-desc {
    color: var(--color-main);
}


/* プログレスバー */
.column__progress {
    position: relative;
    width: 100%;
    height: 6px;
    background: var(--color-border);
    margin: 2.4rem 0;
    overflow: hidden;
    cursor: pointer;
}

.column__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33.333%;
    background: var(--color-main);
    transform: translateX(0);
}

/* 前後ボタン */
.column__nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.column__nav-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.column__nav-btn img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* 前へ */
.column__nav-btn--prev {
    transform: translateX(-30px);
}


/* 次へ */
.column__nav-btn--next {
    transform: translateX(30px);
}

.column__nav-btn--next img {
    transform: rotate(180deg);
}

.column__nav-btn:hover {
    opacity: 0.7;
}

.column__all-btn {
    text-align: center;
}

@media (max-width: 1100px) {
    .column-section .logo__deco {
        position: absolute;
        top: -25rem;
        left: -25rem;
        width: clamp(600px, 50vw, 900px);
        height: auto;
        opacity: 1;
        z-index: -1;
        display: block;
        pointer-events: none;
        user-select: none;
    }
}


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

    .column__slider {
        grid-template-columns: 1fr;
    }

    .column__card-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .column__card-date {
        margin: 0.5rem 0 0 0.5rem;
    }

    .column__slider-wrap {
        margin: 4rem 0 7rem;
    }
}

@media (max-width: 590px) {
    .column .sec-head h2 {
        flex-direction: column;
    }

    .column .sec-head__lead {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .column__slider {
        gap: 1.6rem;
    }

    .column__card {
        flex: 0 0 100%;
    }

    .column__nav-btn:first-child {
        transform: translateX(-12px);
    }

    .column__nav-btn:last-child {
        transform: translateX(12px);
    }

    .column-section .logo__deco {
        top: -10rem;
        left: -15rem;
    }
}

/* ══════════════════════════════════════════════
   RECRUIT（採用情報）
══════════════════════════════════════════════ */
.recruit {
    background: var(--color-bg-yellow);
    padding: 8rem 0;
}

.recruit__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
    gap: clamp(2rem, 2vw, 3.2rem);
    align-items: center;
}

.recruit__body {
    min-width: 0;
}


.recruit__img {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 50px;
}

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

.recruit__img--sp {
    display: none;
}

.recruit__btns {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 6rem;
    justify-content: center;
}

.recruit__btns .btn {
    min-width: 205px;
}

@media (max-width: 1300px) {
    .recruit__inner {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .recruit__img--pc {
        display: none;
    }

    .recruit__img--sp {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 7;
        margin: 2rem 0 2.4rem;
        border-radius: 32px;
        overflow: hidden;
    }

    .recruit__img--sp img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 100% 30%;
    }

    .recruit__btns {
        margin-top: 3.2rem;
    }
}

@media (max-width: 900px) {
    .recruit__inner {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }
}

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

    .recruit__img--sp {
        aspect-ratio: 16 / 9;
        margin: 2rem 0 2.4rem;
        border-radius: 24px;
    }

    /* .recruit__img--sp img {
        object-position: center 30%;
    } */
}