@import url(//fonts.googleapis.com/css2?family=Oswald:wght@400;600&display=swap);

/* FV */
.page-template-page-products-index .index-main.is-other-products {
    padding-bottom: 0;
    margin-bottom: 4.8rem;
}

.page-template-page-products-index .index-main.is-other-products .index-main-image.is-positioning-switch {
    width: 100%;
}

.page-template-page-products-index .index-main.is-other-products .index-main-image {
    width: 24.4rem;
    margin: 0 auto -9.6rem;
}

.page-template-page-products-index .index-main.is-other-products .index-main-image img {
    width: 100%;
}

.page-template-page-products-index .index-main.is-other-products .index-main__buttons-wrapper {
    margin-top: 3.2rem;
    box-sizing: border-box;
    padding: 0 var(--global--spacing-content) 4.8rem;
}

.page-template-page-products-index .index-main.is-other-products .wp-block-buttons:last-child {
    margin-bottom: 0;
}

.page-template-page-products-index .index-main.is-other-products .wp-block-buttons:first-child {
    margin-top: 0;
}

.page-template-page-products-index .index-main.is-other-products .wp-block-buttons.is-content-justification-center {
    justify-content: center;
    align-items: center;
}

.page-template-page-products-index .index-main.is-other-products .index-main-cvlink {
    max-width: var(--inner-width);
}

.page-template-page-products-index .index-main.is-other-products .index-main-feature.is-positioning-switch {
    background-color: #3c436c;
}

.page-template-page-products-index .index-main.is-other-products .index-main-feature {
    background-color: #132a4e;
    padding: 10.4rem var(--global--spacing-content) 4rem;
}

.page-template-page-products-index .index-main.is-other-products .index-main__inner.index-main-features .index-main-feature-list {
    color: #fff;
}

.page-template-page-products-index .index-main.is-other-products .index-main-feature-list {
    margin: 0 auto;
}

.page-template-page-products-index .index-main.is-other-products .index-main-feature-list li {
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: .8rem;
    padding-left: 0;
    font-size: var(--global--font-size-lg);
}

.page-template-page-products-index .index-main.is-other-products .index-main__inner.index-main-features .index-main-feature-list li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.2rem;
    font-size: var(--global--font-size-xl);
    margin-bottom: 2.5rem;
}


.page-template-page-products-index .index-main.is-other-products .index-main__inner.index-main-features .index-main-feature-list li span {
    display: inline-block;
    background: var(--global--color-sub);
    box-sizing: border-box;
    color: var(--global--color-white);
    font-size: var(--global--font-size-2xs);
    font-weight: 700;
    text-align: center;
    line-height: 1.36;
    padding: 1.2rem 1rem;
    min-width: 6.4rem;
    max-width: 8rem;
    flex: 1;
}

.page-template-page-products-index .index-main.is-other-products .index-main__inner.index-main-features .index-main-feature-list li p {
    margin: 0;
    flex: 2;
}

.page-template-page-products-index .index-main.is-other-products .index-main-feature-list li:before {
    display: none;
}

.page-template-page-products-index .index-main.is-other-products .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
    background-color: #2DB7F4;
    color: #fff;
}


.page-template-page-products-index .index-main.is-other-products {
    padding: 9.6rem 0 5.2rem;
}

.page-template-page-products-index .index-main.is-other-products .index-main-feature.is-touch-probe {
    background-color: #255a6e;
}

.page-template-page-products-index .index-main.is-other-products .index-main-feature.is-air-gap-sensor {
    background-color: #346a60;
}

.page-template-page-products-index .index-main.is-other-products .index-main-image.is-tool-setter {
    width: 100%;
}

.page-template-page-products-index .index-main.is-other-products .index-main-image.is-touch-probe {
    width: 100%;
}

.page-template-page-products-index .index-main.is-other-products .index-main__container .wp-block-buttons .wp-block-button:not(.is-style-contact) .wp-block-button__link:after {
    background-color: transparent;
    background-image: url(../images/icon_small_catalog_white.svg);
    background-size: 3.3rem 2.7rem;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 3.3rem;
    height: 2.7rem;
    border-radius: 0;
    right: 1.5rem;
    margin: 1.8rem 0;
}

/* LINE UP */
.page-template-page-products-index .products-link {
    box-sizing: border-box;
    width: 100%;
    margin: 60px auto 0 auto;
    padding-top: 60px;
    border-top: 1px solid #ddd;
}

.page-template-page-products-index .products-link .products-link__wrap {
    display: flex;
    gap: 8px;
    margin-top: 27px;
    flex-wrap: wrap;
}

.page-template-page-products-index .products-link .products-link__item:nth-child(1) {
    background-color: #132a4e;
}

.page-template-page-products-index .products-link .products-link__item {
    box-sizing: border-box;
    width: calc((100% - 8px) / 2);
}

.page-template-page-products-index .products-link .products-link__item a {
    display: block;
    text-decoration: none;
}

.page-template-page-products-index .products-link .products-link__item-image {
    background-color: #fff;
}

.page-template-page-products-index .products-link .products-link__item-image img {
    transition: all .2s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.page-template-page-products-index .products-link .products-link__item-detail {
    padding: 16px;
}

.page-template-page-products-index .products-link .products-link__item-detail .title {
    display: block;
    position: relative;
    font-weight: 700;
    font-size: 3.1vw;
    line-height: 1.5;
    text-align: left;
    color: #fff;
    margin: 0;
    padding: 0 2.8rem 0 0;
    text-decoration: none;
}

.page-template-page-products-index .products-link .products-link__item-detail .title:after {
    box-sizing: border-box;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: auto;
    background-color: var(--global--color-sub);
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 3.6rem;
    background-image: url(../images/icon_arrow.svg);
    background-size: 1rem 1rem;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.page-template-page-products-index .products-link .products-link__item-detail .text {
    font-size: 12px;
    color: #fff;
}

.page-template-page-products-index .products-link .products-link__item:nth-child(2) {
    background-color: #193d76;
}

.page-template-page-products-index .products-link .products-link__item:nth-child(3) {
    background-color: #255a6e;
}

.page-template-page-products-index .products-link .products-link__item:nth-child(4) {
    background-color: #346a60;
}


/* アンカーリンク */
.page-template-page-products-index .horizontal-anchor {
    background: #fff;
    box-sizing: border-box;
    width: 100%;
    margin: auto;
    padding: 1.4rem var(--global--spacing-content);
    margin: 1rem auto 2rem auto;
}

.page-template-page-products-index .horizontal-anchor .horizontal-anchor-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.page-template-page-products-index .horizontal-anchor .horizontal-anchor-list__item:first-child {
    border-left: none;
}

.page-template-page-products-index .horizontal-anchor .horizontal-anchor-list__item {
    padding: 0 2em 0 1em;
    margin: 5px 0;
    font-size: 13px;
    font-weight: bold;
    border-left: 1px #000 dashed;
    box-sizing: border-box;
    position: relative;
}

.page-template-page-products-index .horizontal-anchor .horizontal-anchor-list__item::before {
    content: "";
    position: absolute;
    margin: 0;
    display: block;
    border-radius: 0;
    width: 12px;
    height: 10px;
    background-color: #000;
    -webkit-clip-path: polygon(50% 10px, 0% 0%, 12px 0%);
    clip-path: polygon(50% 10px, 0% 0%, 12px 0%);
    top: 50%;
    right: .75em;
    left: auto;
    transform: translateY(-50%);
}

.page-template-page-products-index .horizontal-anchor .horizontal-anchor-list .horizontal-anchor-link {
    color: #000;
    text-decoration: none;
}

@media print, only screen and (min-width: 1280px) {
    /* FV */
    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-positioning-switch {
        width: 46rem;
        right: 6rem;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-tool-setter {
        width: 46rem;
        right: 6rem;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-touch-probe {
        width: 47rem;
        right: 6em;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-air-gap-sensor {
        right: 6rem;
    }
}


@media print, only screen and (min-width: 961px) {
    /* FV */
    .page-template-page-products-index .index-main.is-other-products {
        margin-bottom: 0;
        background-color: #0e2246;
        padding: 2.8rem 0 6rem;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image {
        position: absolute;
        margin-bottom: 0;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-positioning-switch {
        width: 46rem;
        top: 0;
        right: 0;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-touch-probe {
        width: 47rem;
        top: -1rem;
        right: -5rem;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-air-gap-sensor {
        width: 40rem;
        top: 0;
        right: 0;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-image.is-tool-setter {
        width: 46rem;
        top: 2.4rem;
        right: 0;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main__buttons-wrapper {
        margin: 1.2rem auto 0;
        padding: 0;
    }

    .page-template-page-products-index .index-main.is-other-products .is-tool-setter .index-main__buttons-wrapper {
        margin: 0 auto;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-cvlink {
        max-width: initial;
        flex-direction: column;
        gap: 1em;
    }

    .page-template-page-products-index .index-main.is-other-products .wp-block-button {
        width: 30rem;
    }

    .page-template-page-products-index .index-main.is-other-products .wp-block-buttons .wp-block-button:first-child {
        margin-left: 0;
    }    

    .page-template-page-products-index .index-main.is-other-products .wp-block-buttons .wp-block-button:last-child {
        margin-right: 0;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main__feature {
        padding-right: 0;
        padding-left: calc((100vw - 1280px) / 2);
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-feature.is-positioning-switch {
        padding-bottom: 5rem;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main-feature {
        padding: 3.8rem 0 5rem 4rem;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main__inner {
        width: 54%;
        margin-right: 3.77%;
    }

    .page-template-page-products-index .index-main.is-other-products .index-main__description {
        font-size: 1.2rem;
        line-height: 1.75;
        margin-top: 1.4rem;
        margin-bottom: 5.2rem;
        margin-left: 0;
        max-width: 73.5rem;
        width: 60%;
    }

    .page-template-page-products-index.air-gap-sensor .index-main.is-other-products .index-main__description,
    .page-template-page-products-index.touch-probe .index-main.is-other-products .index-main__description {
        line-height: 1.5;
    }

    /* LINE UP */
    .page-template-page-products-index .products-link {
        max-width: 128rem;
    }

    .page-template-page-products-index .products-link .products-link__wrap {
        flex-wrap: nowrap;
    }

    .page-template-page-products-index .products-link .products-link__item {
        width: calc((100% - 24px) / 4);
    }

    .page-template-page-products-index .products-link .products-link__item-detail .title {
        font-size: var(--global--font-size-lg);
    }

    .page-template-page-products-index .products-link .products-link__item {
        width: calc((100% - 24px) / 4);
    }

    /* アンカーリンク */
    .page-template-page-products-index .horizontal-anchor {
        max-width: 128rem !important;
        padding: 1.2rem 0 1.2rem;
        margin: 2rem auto 8rem auto;
    }

    .page-template-page-products-index .horizontal-anchor .horizontal-anchor-list__item {
        font-size: 14px;
        padding: 0 3em 0 2em;
    }

    /* セクション */
    .page-template-page-products-index .products-lineup {
        margin-top: 10rem;
    }
}

@supports (column-gap:0.5em) {
    .wp-block-buttons.is-content-justification-right>.wp-block-button.wp-block-button, .wp-block-buttons>.wp-block-button.wp-block-button {
        margin-right: 0;
        margin-left: 0;
    }
}