@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700&display=swap');

main.p-news,
main.p-catalog,
main.p-products {
    padding: 5.75rem 0 5.625rem;
    & .category-filter {
        display: none;
    }
    & .c-category__title {
        text-align: left;
    }
    & .c-category__list {
        justify-content: flex-start;
        border-bottom: none;
        &::before {
            content: none;
        }
    }
    & .p-news__item {
        border-bottom: 2px solid var(--color-bg02);
        &:first-of-type {
            border-top: 2px solid var(--color-bg02);
        }
    }
    & .p-news__link {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: .625rem 0;
        padding: 1.85rem 1.25rem;
        color: var(--color-bk);
        @media (768px > width) {
            flex-wrap: wrap;
        }
        & .p-news__title {
            width: 100%;
            font-size: 1.125rem;
            font-weight: 500;
            color: var(--color-main02);
        }
        & .p-news__date {
            font-size: .875rem;
            color: var(--color-main);
        }
        & .p-news__category {
            margin: 0 1rem;
            padding: 1px .75rem;
            border-left: 1px solid var(--color-main);
            font-size: .8125rem;
            font-weight: 700;
            color: var(--color-main);
            &.cat13 {
                background: var(--color-sub);
            }
            &.cat14 {
                background: var(--color-sub02);
            }
            &.cat15 {
                background: var(--color-lgreen);
            }
        }
    }
}

.p-policy {
    padding: 0 0 8.5rem;
    @media (768px > width) {
        padding: 0 0 7.5rem;
    }
    h3 {
        margin: 2.25rem 0 .625rem;
        font-size: 1.375rem;
    }
    p {
        margin-bottom: .625rem;
        font-weight: 400;
        @media (768px > width) {
            font-size: .9375rem;
        }
    }
}

/* サイトマップ（Figma node 745:9834） */
main.p-sitemap {
    padding: 6rem 0 8rem;
    @media (768px > width) {
        padding: 4rem 0 6rem;
    }
    & .p-sitemap__inner {
        max-width: 1140px;
    }
    & .p-sitemap__pageHead {
        margin-bottom: 2rem;
        padding-bottom: 1.25rem;
        border-bottom: 2px solid var(--color-bg02);
    }
    & .p-sitemap__pageTitle {
        margin: 0;
        font-size: clamp(1.5rem, 4vw, 1.75rem);
        font-weight: 700;
        color: #191c35;
        letter-spacing: 0.06em;
    }
    & .p-sitemap__intro {
        margin-bottom: 2.5rem;
        color: var(--color-bk);
    }
    /* 上段 5 リンク（22px Bold #191C35, tracking 1.1px 相当） */
    & .p-sitemap__band {
        margin: 0;
        padding: 1.5rem 0 2rem;
    }
    & .p-sitemap__bandList {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem 1.5rem;
        margin: 0;
        padding: 0;
        list-style: none;
        @media (960px > width) {
            justify-content: flex-start;
        }
        @media (768px > width) {
            flex-direction: column;
            align-items: flex-start;
        }
    }
    & .p-sitemap__bandItem {
        margin: 0;
    }
    & .p-sitemap__bandLink {
        font-size: clamp(1rem, 2.2vw, 1.375rem);
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: 0.05em;
        color: #191c35;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.2s ease;
        &:hover {
            color: #023f73;
        }
        &.is-current {
            color: #023f73;
            pointer-events: none;
        }
    }
    /* 製品情報 / カタログ パネル */
    & .p-sitemap__panel {
        margin-top: 2.75rem;
        @media (768px > width) {
            margin-top: 2rem;
        }
    }
    & .p-sitemap__panelBar {
        margin-bottom: 1.75rem;
        padding: 0.85rem 1.25rem;
        background: #f4f4f4;
        text-align: center;
    }
    & .p-sitemap__panelBarTitle {
        margin: 0;
        font-size: clamp(1.125rem, 2.5vw, 1.375rem);
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: 0.05em;
        color: #191c35;
    }
    & .p-sitemap__subBlockTitle {
        margin: 0 0 1.25rem;
        font-size: clamp(1.125rem, 2.5vw, 1.375rem);
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: 0.05em;
        color: #191c35;
    }
    & .p-sitemap__makerGrid {
        display: grid;
        gap: 1.25rem clamp(1rem, 3vw, 2rem);
        margin-bottom: 0.25rem;
        &.p-sitemap__makerGrid--4 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            @media (960px > width) {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            @media (540px > width) {
                grid-template-columns: 1fr;
            }
        }
        &.p-sitemap__makerGrid--3 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            @media (768px > width) {
                grid-template-columns: 1fr;
            }
        }
    }
    & .p-sitemap__makerCol {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }
    /* メーカー名 18px Bold #023F73 */
    & .p-sitemap__makerLink {
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 0.05em;
        color: #023f73;
        text-decoration: none;
        &:hover {
            text-decoration: underline;
            text-underline-offset: 3px;
            opacity: 0.9;
        }
    }
    & .p-sitemap__rule {
        display: block;
        width: 100%;
        height: 1px;
        margin: 1.75rem 0;
        padding: 0;
        border: 0;
        background: #d8d8d8;
    }
}
main.p-site-policy {
    padding: 5.75rem 0 8rem;
    @media (768px > width) {
        padding: 4rem 0 6rem;
    }
    h2 {
        &:not(:first-of-type) {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--color-dark);
        @media (768px > width) {
            margin-bottom: .75rem;
            padding-bottom: .75rem;
        }
        }
    }
    p {
        line-height: calc(30/18);
    }
}
main.p-contact {
    padding: 5.75rem 0 6rem;
    @media (768px > width) {
        padding: 4rem 0 4.125rem;
    }
    & .p-contact__sectionTitle {
        padding-bottom: .75rem;
        color: var(--color-main04);
        font-weight: 700;
    }
    & .p-contact__addressBlock {
        display: inline-block;
        padding: 1rem;
        background: #f5f5f5;
        @media (768px > width) {
            margin-bottom: 2rem;
            padding: 1.5rem 0 1.75rem;
        }
    }
    & .p-contact__addressInner {
        text-align: left;
    }
    & .p-contact__addressLine {
        padding-bottom: 0!important;
        font-size: 0.9375rem!important;
        font-weight: 500;
        line-height: calc(26 / 15);
        letter-spacing: 0.05em;
        color: #191c35;
        &:last-child {
            margin-bottom: 0;
        }
    }
    & .l-inner {
        max-width: 750px;
    }
    & .wpcf7 {
        max-width: 750px;
    }
    & .p-contact__items {
        display: flex;
        gap: 1.875rem;
        @media (768px > width) {
            flex-direction: column;
            gap: 0;
            margin-bottom: 1rem;
        }
        & .p-contact__item {
            width: 50%;
            @media (768px > width) {
                width: 100%;
            }
        }
    }
    & .p-contact__item {
        &:not(:last-of-type) {
            margin-bottom: 1.25rem;
        }
        + p {
            text-align: center;
        }
        &.address {
            display: flex;
            flex-wrap: wrap;
            /* row-gap: 1.25rem; */
            @media (768px > width) {
                /* flex-direction: column; */
                row-gap: .5rem;
            }
            p {
                @media (768px > width) {
                    flex-direction: row;
                }
                &:first-of-type {
                    display: block;
                    width: 100%;
                }
                &:nth-of-type(2) {
                    @media (768px > width) {
                        display: flex;
                    }
                }
                &:last-of-type {
                    display: flex;
                    width: auto;
                    margin: 0 5px;
                    @media (768px > width) {
                        width: auto
                    }
                }
                > span.mark {
                    font-size: 1.25rem;
                    align-content: center;
                }
            }
            span.wpcf7-form-control-wrap {
                width: 100%;
                @media (768px > width) {
                    width: auto;
                }
            }
        }
        & .wpcf7-select {
            display: block;
            @media (768px > width) {
                width: 100%;
            }
        }
        p {
            label {
                display: inline-block;
                margin: 0 1.25rem .25rem 0;
                align-content: center;
                color: var(--color-main04);
                font-weight: 700;
                @media (768px > width) {
                    width: auto;
                    margin-right: 0;
                    margin-bottom: .5rem;
                }
                &.required {
                    > span {
                        position: relative;
                        color: var(--color-main04);
                        font-weight: 700;
                        &::after {
                            position: absolute;
                            content: "必須";
                            top: 50%;
                            right: -55px;
                            transform: translateY(-50%);
                            padding: .25rem .375rem;
                            border-radius: .625rem;
                            font-size: .75rem;
                            line-height: 1;
                            display: block;
                            background: #FF0000;
                            color: var(--color-wh);
                            @media (768px > width) {
                                right: -45px;
                            }
                        }
                    }
                }
                span.subject {
                    color: var(--color-main04);
                    font-weight: 700;
                }
            }
            span.wpcf7-form-control-wrap {
                /* width: calc(100% - 244px); */
                @media (768px > width) {
                    width: 100%;
                }
                label {
                    position: static;
                    &::after {
                        content: none;
                    }
                }
                input[type="text"] ,input[type="tel"],input[type="number"] ,input[type="email"] {
                    width: 100%;
                    height: 50px;
                    padding: 5px;
                    /* background: var(--color-bg); */
                    border: 1px solid #555656;
                    border-radius: 3px;
                    &.postNum {
                        display: block;
                        width: 135px;
                    }
                }
                .wpcf7-list-item {
                    margin: 0;
                    line-height: 1;
                }
                .wpcf7-form-control.wpcf7-radio {
                    display: flex;
                    border: 1px solid #023f73;
                    padding: 1rem .5rem;
                    border-radius: 5px;
                    @media (768px > width) {
                        flex-direction: column;
                    }
                    label {
                        width: auto;
                    }
                }
            }
        }
    }
    input[type="submit"] {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        width: 327px;
        padding: 1.875rem 3.5rem 1.875rem 4rem;
        border: 1px solid #0e1a82;
        background: #fff;
        color: #0e1a82;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 0.1em;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        &:hover {
            opacity: 0.85;
        }
    }
    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    & .wpcf7-not-valid-tip {
        font-size: .875rem;
    }
    .wpcf7-spinner, .wpcf7-response-output {
        display: none!important;
    }
    & .p-contact__btn {
        margin-top: 4.5rem;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
        > p {
            position: relative;
            display: inline-block;
            &::after {
                position: absolute;
                content: "";
                top: 50%;
                right: 2.375rem;
                transform: translateY(-50%);
                width: 21px;
                height: 21px;
                background: url(../images/icon-arrow-right.png) top center / cover no-repeat;
                border-radius: 0;
            }
        }
        &:hover {
            > p {
                &::before {
                    background: var(--color-wh);
                }
                &::after {
                    border-right-color: var(--color-wh);
                    border-bottom-color: var(--color-wh);
                }
            }
        }
    }
    & .p-contact__back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 220px;
        padding: 1rem 1.5rem;
        border: 1px solid #b4b4b4;
        border-radius: 5.625rem;
        color: var(--color-main);
        background: var(--color-wh);
        text-decoration: none;
        transition: .3s ease;
        &:hover {
            background: #f4f4f4;
        }
    }
    & .p-contactAgree__title {
        text-align: center;
        margin-bottom: .625rem;
        font-size: 1rem;
        font-weight: 700;
        color: var(--color-main04);
    }
    & .p-contactAgree__box {
        overflow-y: scroll;
        width: 100%;
        max-width: 700px;
        height: 180px;
        padding: 1.25rem 1.5rem;
        margin: 0 auto;
        border: 1px solid var(--color-dark03);
        h4 {
            margin: 0 0 1.125rem;
            font-size: .9375rem;
        }
        ol {
           padding-left: 1.25rem;
        }
        li {
            font-size: .9375rem;
            font-weight: 500;
            @media (768px > width) {
                font-size: .875rem;
            }
        }
        p {
            padding-bottom: .75rem;
            font-size: .9375rem;
            @media (768px > width) {
                font-size: .875rem;
            }
        }
        & .p-contactAgree__subTitle {
            padding-bottom: 0;
        }
        + p {
            margin-top: .75rem;
            text-align: center;
        }
    }
}
main.p-confirm {
    padding: 5.75rem 0 8.75rem;
    @media (768px > width) {
        padding: 4rem 0 6rem;
    }
    & .p-contact__items, .p-contact__item, .wpcf7-form-control-wrap, .p-contactAgree, .p-contact__sectionTitle {
        display: none;
    }
    & .p-contact__item {
        label {
            span.subject {
                color: var(--color-main04);
                font-weight: 700;
            }
        }
    }
    & .l-inner {
        max-width: 970px;
    }
    & .p-contactConfirm {
        margin-top: 2rem;
    }
    & .p-contactConfirm__items {
        display: flex;
        gap: 1.875rem;
        @media (768px > width) {
            flex-direction: column;
            gap: 0;
        }
        & .p-contactConfirm__row {
            width: 50%;
            border-bottom: 1px solid #878787;
            @media (768px > width) {
                width: 100%;
            }
            &:last-child {
                @media (768px > width) {
                    /* border-bottom: 0; */
                }
            }
        }
    }
    & .wpcf7 form.sent .wpcf7-response-output, .wpcf7-response-output, .wpcf7-response-invalid .wpcf7-spinner {
        display: none;
    }
    & .p-contactConfirm__row {
        display: grid;
        gap: .5rem;
        padding: 1.125rem 0;
        border-bottom: 1px solid #878787;
        @media (768px > width) {
            grid-template-columns: 1fr;
            gap: .625rem;
            padding: 1rem 0;
        }
    }
    & .p-contactConfirm__label {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--color-main04);
    }
    & .p-contactConfirm__value {
        line-height: 1.8;
        white-space: pre-wrap;
        word-break: break-word;
    }
    & form.is-confirm-view {
        & .p-contact__item.is-confirm-hidden {
            display: none;
        }
    }
    & .p-contactConfirm__notice {
        margin-top: 1.5rem;
        color: #d13b3b;
    }
    input[type="submit"] {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        width: 327px;
        padding: 1.875rem 3.5rem 1.875rem 4rem;
        border: 1px solid #0e1a82;
        background: #fff;
        color: #0e1a82;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 0.1em;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        &:hover {
            opacity: 0.85;
        }
    }
    & .p-contact__btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
        margin-top: 3.5rem;
        @media (768px > width) {
            flex-direction: column-reverse;
        }
        > p {
            position: relative;
            display: inline-block;
            &::after {
                position: absolute;
                content: "";
                top: 50%;
                right: 2.375rem;
                transform: translateY(-50%);
                width: 21px;
                height: 21px;
                background: url(../images/icon-arrow-right.png) top center / cover no-repeat;
                border-radius: 0;
            }
        }
    }
    & .p-contact__back {
        color: var(--color-bk);
    }
}
main.p-thanks {
    text-align: center;
    padding: 5.75rem 0 8.75rem;
    @media (768px > width) {
        padding: 4rem 0 6rem;
    }
}

/* About / 機械本部（Figma node 757:9927） */
main.p-about {
    padding: 3.625rem 0 10.5rem;
    background: url(../images/about-bg.png) top 0% center / 100% auto no-repeat;
    background-attachment: fixed;
    @media (768px > width) {
        padding: 2.5rem 0 6rem;
        background: url(../images/about-bg-sp.png) top -30% center / 100% auto no-repeat;
    }
    & .p-about__inner {
        max-width: 1140px;
    }
    & .p-about__intro {
        margin: 0 0 9rem;
        max-width: 66rem;
        font-size: 1.125rem;
        font-weight: 500;
        line-height: calc(30 / 18);
        letter-spacing: 0.05em;
        color: var(--color-bk);
        @media (768px > width) {
            margin-bottom: 2.5rem;
            font-size: 1rem;
        }
        &.entry-content > *:first-child {
            margin-top: 0;
        }
    }
    & .p-about__section {
        margin-bottom: 4.5rem;
        @media (768px > width) {
            margin-bottom: 3.5rem;
        }
        &:last-child {
            margin-bottom: 0;
        }
    }
    & .p-about__heading {
        margin: 0 0 2.25rem;
        font-size: clamp(1.875rem, 4.5vw, 2.7625rem);
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: 0.1em;
        color: var(--color-main04);
        @media (768px > width) {
            margin-bottom: 1.5rem;
            letter-spacing: 0.06em;
        }
    }
    & .p-about__headingInner {
        display: block;
        line-height: calc(68/44);
    }
    /* 見出し直下 90px のアクセントライン（Figma Line 61） */
    & .p-about__headingLine {
        display: block;
        width: 5.625rem;
        max-width: 90px;
        height: 2px;
        margin-top: 2.25rem;
        background: var(--color-main04);
        @media (768px > width) {
            margin-top: 1rem;
        }
    }
    & .p-about__heading--single .p-about__headingInner {
        display: inline;
    }
    & .p-about__body {
        max-width: 66.25rem;
        font-size: 1.125rem;
        font-weight: 500;
        line-height: calc(30 / 18);
        letter-spacing: 0.05em;
        color: var(--color-main02);
        @media (768px > width) {
            font-size: 1rem;
        }
        & p {
            margin: 0 0 1.5rem;
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}

/* カタログカテゴリ（メーカー）ターム — Figma 804:3020 */
main.p-catalog-term {
    padding: 5.75rem 0 5.625rem;
    @media (768px > width) {
        padding: 4rem 0 4.5rem;
    }
    & .p-catalog-term__inner {
        max-width: 1140px;
    }
    & .p-catalog-term__lead {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem 2rem;
        margin-bottom: 3rem;
        @media (768px > width) {
            flex-direction: column;
            margin-bottom: 2.25rem;
        }
    }
    & .p-catalog-term__intro {
        max-width: 42.6875rem;
        margin: 0;
        font-size: 1.125rem;
        font-weight: 500;
        line-height: calc(30 / 18);
        letter-spacing: 0.05em;
        color: #191c35;
        & p {
            margin: 0 0 0.5rem;
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
    & .p-catalog-term__logo {
        flex: 0 0 auto;
        max-width: min(100%, 404px);
        margin-left: auto;
        @media (768px > width) {
            margin-left: 0;
        }
    }
    & .p-catalog-term__logoImg {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    & .p-catalog-term__section {
        margin-bottom: 4.5rem;
        @media (768px > width) {
            margin-bottom: 3rem;
        }
    }
    & .p-catalog-term__sectionBar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1.75rem;
        min-height: 5.3125rem;
        margin-bottom: 2.1875rem;
        padding: 1.1rem 1.85rem;
        background: #f5f5f5;
        box-sizing: border-box;
        @media (768px > width) {
            margin-bottom: 1.5rem;
            padding: 1rem 1.25rem;
        }
    }
    & .p-catalog-term__sectionBarEn {
        margin: 0;
        font-family: 'Outfit', var(--font-main);
        font-size: 1.5rem;
        font-weight: 700;
        line-height: calc(25 / 24);
        letter-spacing: 0.05em;
        color: #0e1a82;
        text-transform: capitalize;
    }
    & .p-catalog-term__sectionBarJp {
        margin: 0;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: calc(24 / 14);
        letter-spacing: 0.13em;
        color: #0e1a82;
    }
    & .p-catalog-term__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4.75rem 2rem;
        @media (1100px > width) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 2rem 1rem;
        }
    }
    & .p-catalog-term__card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }
    & .p-catalog-term__thumb {
        display: block;
        aspect-ratio: 260 / 370;
        margin-bottom: 1.125rem;
        overflow: hidden;
        transition: opacity 0.2s ease;
        &:hover {
            opacity: 0.92;
        }
    }
    & .p-catalog-term__thumbImg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    & .p-catalog-term__thumbPlaceholder {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 12rem;
        background: linear-gradient(145deg, #eef0f8 0%, #e4e7f2 100%);
    }
    & .p-catalog-term__cardTitle {
        margin: 0 0 1.125rem;
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 1.35;
        letter-spacing: 0.05em;
        text-align: center;
        color: #191c35;
        @media (600px > width) {
            font-size: 1rem;
        }
        & a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
            &:hover {
                color: #0e1a82;
            }
        }
    }
    & .p-catalog-term__pdfBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 3.4375rem;
        margin-top: auto;
        padding: 0.65rem 1rem;
        border: none;
        border-radius: 2px;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: calc(24 / 14);
        letter-spacing: 0.05em;
        text-align: center;
        text-decoration: none;
        color: #fff;
        background: #0e1a82;
        transition: background 0.2s ease, color 0.2s ease;
        &:hover {
            background: #0a1568;
            color: #fff;
        }
        & .p-catalog-term__pdfBtnLabel {
            position: relative;
            &::after {
                position: absolute;
                content: "";
                top: 50%;
                right: -1.75rem;
                transform: translateY(-50%);
                width: 17px;
                height: 20px;
                background: url(../images/icon-pdf.png) top center / cover no-repeat;
                border-radius: 0;
                @media (768px > width) {
                    right: -1.25rem;
                }
            }
        }
    }
    & .p-catalog-term__pdfBtn--sub {
        background: #fff;
        color: #0e1a82;
        border: 1px solid #0e1a82;
        &:hover {
            background: #f5f6fb;
            color: #0e1a82;
        }
    }
    & .p-catalog-term__pdfBtnIcon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        line-height: 0;
        & svg {
            display: block;
        }
    }
    & .p-catalog-term__pdfBtn--sub .p-catalog-term__pdfBtnIcon {
        color: #0e1a82;
    }
    & .p-catalog-term__empty {
        margin: 2rem 0 3rem;
        font-size: 1rem;
        color: var(--color-dark02);
    }
    & .p-catalog-term__related {
        margin-top: 1rem;
        padding-top: 2.5rem;
    }
    & .p-catalog-term__relatedTitle {
        margin: 0 0 2.5rem;
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 0.1em;
        color: #0e1a82;
        @media (768px > width) {
            margin-bottom: 1.75rem;
        }
    }
    & .p-catalog-term__relatedSub {
        margin: 0 0 1.25rem;
        font-size: clamp(1.125rem, 2.5vw, 1.4375rem);
        font-weight: 700;
        line-height: calc(80 / 23);
        letter-spacing: 0.1em;
        color: #0e1a82;
    }
    & .p-catalog-term__makerGrid {
        display: grid;
        &.p-catalog-term__makerGrid--4 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            @media (960px > width) {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            @media (540px > width) {
                grid-template-columns: 1fr;
            }
        }
        &.p-catalog-term__makerGrid--3 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            @media (768px > width) {
                grid-template-columns: 1fr;
            }
        }
    }
    & .p-catalog-term__makerCol {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        li {
            /* @media (960px > width) {
                width: 50%;
            } */
        }
    }
    & .p-catalog-term__makerCell {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 4.6875rem;
        padding: 0.5rem 0.75rem;
        white-space: normal;
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.35;
        letter-spacing: 0.05em;
        text-align: center;
        text-decoration: none;
        color: #0e1a82;
        background: #fff;
        box-sizing: border-box;
        transition: background 0.2s ease, color 0.2s ease;
        border: 1px solid var(--color-main);
        margin-top: -1px;
        margin-left: -1px;
        @media (960px > width) {
            min-height: 2.75rem;
            font-size: 1rem;
        }
        &:hover {
            background: #f0f2fa;
        }
        &.is-current {
            background: #0e1a82;
            color: #fff;
            pointer-events: none;
        }
    }
}

/* 製品カテゴリ（メーカー）静的一覧 — Figma 897:9719（taxonomy-products_category.php） */
main.p-catalog-term .p-product-category {
    margin-bottom: 0;
    & .p-product-category__lead {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem 2rem;
        margin-bottom: 2.75rem;
        @media (768px > width) {
            flex-direction: column;
            margin-bottom: 2rem;
        }
    }
    & .p-product-category__intro {
        flex: 1 1 20rem;
        max-width: 42.6875rem;
        margin: 0;
        font-size: 1.125rem;
        font-weight: 500;
        line-height: calc(30 / 18);
        letter-spacing: 0.05em;
        color: #191c35;
        & p {
            margin: 0 0 0.5rem;
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
    & .p-product-category__logo {
        flex: 0 0 auto;
        max-width: min(100%, 404px);
        margin-left: auto;
        @media (768px > width) {
            margin-left: 0;
        }
    }
    & .p-product-category__logoImg {
        display: block;
        width: 100%;
        height: auto;
    }
    & .p-product-category__filterBar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem 1.5rem;
        min-height: 5.3125rem;
        margin-bottom: 2.5rem;
        padding: 1.1rem 1.85rem;
        background: #f5f5f5;
        box-sizing: border-box;
        @media (768px > width) {
            margin-bottom: 2rem;
            padding: 1rem 1.25rem;
        }
    }
    & .p-product-category__filterHeading {
        margin: 0;
        font-family: 'Outfit', var(--font-main);
        font-size: 1.25rem;
        font-weight: 700;
        line-height: calc(25 / 20);
        letter-spacing: 0.05em;
        color: #0e1a82;
        text-transform: uppercase;
    }
    & .p-product-category__filterPills {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1rem;
    }
    & .p-product-category__pill {
        appearance: none;
        box-sizing: border-box;
        min-height: 2.375rem;
        padding: 0.375rem 1.25rem;
        border: 1px solid #0e1a82;
        border-radius: 3px;
        font-size: 1rem;
        font-weight: 600;
        line-height: calc(25 / 16);
        letter-spacing: 0.05em;
        color: #0e1a82;
        background: #fff;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
        &.is-active {
            color: #fff;
            background: #0e1a82;
        }
    }
    & .p-product-category__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3.5rem 2.6875rem;
        @media (1024px > width) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 2.5rem 1.5rem;
        }
        @media (540px > width) {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }
    }
    & .p-product-category__card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }
    & .p-product-category__visual {
        aspect-ratio: 350 / 280;
        margin-bottom: 1.125rem;
        overflow: hidden;
    }
    & .p-product-category__visualImg {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    & .p-product-category__visualPh {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 10rem;
        background: linear-gradient(160deg, #eef0f8 0%, #e4e7f2 100%);
    }
    & .p-product-category__title {
        margin: 0 0 1rem;
        font-size: 1.375rem;
        font-weight: 900;
        line-height: 1.35;
        letter-spacing: 0.05em;
        text-align: center;
        color: #191c35;
        &.p-product-category__title--stack {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.125rem;
        }
    }
    & .p-product-category__titleLine {
        display: block;
    }
    & .p-product-category__body {
        margin-bottom: 1.125rem;
        flex-grow: 1;
    }
    & .p-product-category__text {
        margin: 0 0 0.5rem;
        font-size: 0.9375rem;
        font-weight: 500;
        line-height: calc(23 / 15);
        letter-spacing: 0.05em;
        color: #191c35;
        &:last-child {
            margin-bottom: 0;
        }
    }
    & .p-product-category__actions {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        margin-top: auto;
    }
    & .p-product-category__pdf {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 3.4375rem;
        padding: 0.65rem 1rem;
        border: none;
        border-radius: 2px;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: calc(24 / 14);
        letter-spacing: 0.05em;
        text-align: center;
        text-decoration: none;
        color: #fff;
        background: #0e1a82;
        transition: background 0.2s ease, color 0.2s ease;
        &::after {
            position: absolute;
            content: "";
            top: 50%;
            right: 1.75rem;
            transform: translateY(-50%);
            width: 17px;
            height: 20px;
            background: url(../images/icon-pdf.png) top center / cover no-repeat;
            border-radius: 0;
        }
        &:hover {
            background: #0a1568;
            color: #fff;
        }
    }
    & .p-product-category__pdfIcon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        line-height: 0;
        & svg {
            display: block;
        }
    }
    & .p-product-category__video {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 3.4375rem;
        padding: 0.65rem 1rem;
        border: 1px solid #0e1a82;
        border-radius: 2px;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: calc(24 / 14);
        letter-spacing: 0.05em;
        text-align: center;
        text-decoration: none;
        color: #0e1a82;
        background: #fff;
        transition: background 0.2s ease, opacity 0.2s ease;
        &:hover {
            background: #f5f6fb;
        }
    }
    /* 動画なしカード：実ボタンと同じ高さを確保し PDF の縦位置を2ボタン構成に揃える */
    & .p-product-category__videoSlot {
        display: block;
        flex-shrink: 0;
        box-sizing: border-box;
        min-height: 3.4375rem;
        padding: 0.65rem 1rem;
        border: 1px solid transparent;
        border-radius: 2px;
    }
    & .p-product-category__videoIcon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        line-height: 0;
        & svg {
            display: block;
        }
    }
}