.translated-ltr .tag-area br {
    display: none;
}

.p-flex {
    display: flex;
    gap: 3px;
    text-align: center;
}

.sensor-txt {
    font-size: 1.1rem;
    margin: 0 1rem;
}

h1.products-title_h1 {
    padding: 1rem 0 2rem;
}

li.no-event {
    border: none;
    cursor: default;
    pointer-events: none;
}
.products-table-contents {
    width: 100%;
    margin: auto;
    padding: 0 10px;
}
.products-table {
    margin: 0 auto;
    width: 1220px;
    padding: 0 10px;
}
.products-table_title {
    margin: 3rem auto 0;
    border: none;
    width: 100%;
    max-width: 1220px;
}
.note-text {
    margin: 2rem auto 0;
    padding: 0 20px;
    width: 100%;
    max-width: 1220px;
}
.products-table th, .products-table td {
    padding: 10px 5px;
    font-size: 0.85rem;
    vertical-align: middle;
    text-align: center;
    line-height: 1.25rem;
}
.products-button {
    width: 300px;
    margin: 0 auto 5rem;
}
.soft-dev-img {
    max-width: 350px;
    margin-bottom: 2rem;
}
.p-407uv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    row-gap: 10px;
    text-align: center;
    margin-top: 2rem;
}
.p-tnir-usb2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    row-gap: 1em;
    text-align: center;
    margin-top: 2rem;
}
.p-407uv-grid p {
    font-size: 0.85rem;
}


.card {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 0 auto;
    width: 100%;
    max-width: 280px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s;
}
.card:hover {
    background-color: #f0f0f0;
}
.selected-card {
    border: 2px solid #777;
    background-color: #f0f0f0;
}
.card img {
    max-width: 250px;
    width: 100%;
    height: 50px;
    object-fit: contain;
}
.card-title {
    display: block;
    font-size: 1.2em;
    margin-top: 8px;
    font-weight: 500;
}
.card-title-sp  {
    display: none;
}
.card-tags {
    color: #777;
    font-size: 0.9em;
}
.ui-sortable {
    display: flex;
    flex-wrap: wrap;
}
.tag-button {
    cursor: pointer;
    height: 72px;
    text-align: center;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    background: #fff;
    transition: .3s;
    display: grid;
    place-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1rem;
    cursor: pointer;
}
.tag-button:hover {
    color: #fff;
    border: 1px solid gray;
    background: gray;
}
.tag-button.active {
    background-color: #000;
    color: white;
}
.sort-card {
    display: grid;
    max-width: 1200px;
    margin: 2rem auto 0;
    grid-template-columns: repeat(4, 1fr);
    column-gap: normal;
    row-gap: 1rem;
}
.products {
    width: 1280px;
    margin: auto;
}
.tag-area {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 10px;
    row-gap: 1em;
    padding: 20px;
}
.card-details {
    width: 1200px;
    margin: 2rem auto 1rem;
}
.card-details h3 {
    padding: 0 15px;
}
.card-details-contents {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: max-content;
    margin: auto;
    gap: 10px;
}
.card-details-contents-menu {
    width: 240px;
    border: #ccc 1px solid;
    background-color: #fff;
}
.card-details-contents-menu img {
    max-width: 100%;
    height: auto;
}
.card-details-contents-menu p {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
}

.xray-img {
    margin-left: 5rem;
    margin-right: 5rem;
}
.xray-img img {
    object-fit: contain;
    margin-top: 1rem;
}
.xray-img-1 {
    width: auto;
}
a.button-2:hover {
    color: #fff;
}

@media screen and (max-width: 1280px) {
    .products {
        width: 100%;
    }
    .tag-area {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }
    .sort-card {
        width: auto;
        gap: 3px;
        padding: 0 5px;
    }
    .card-details {
        width: auto;
        margin: 2rem auto 1rem;
    }
}

@media screen and (max-width: 1000px) {

    table th, table td {
        width: auto;
        display: table-cell;
    }
    .p-tnir-usb2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sort-card {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .card-details-contents-menu {
        width: 180px;
    }
    .card-details h3 {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
}

@media screen and (max-width: 800px) {
    .card-details-contents {
        grid-template-columns: repeat(3, 1fr);
    }
    .card-title {
        display: none;
    }
    .card-title-sp  {
        display: block;
        font-size: 1rem;
        margin: 8px 0 0;
        font-weight: 500;
    }
    .sort-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 599px) {

    .p-407uv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-tnir-usb2-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .tag-area {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3px;
        row-gap: 3px;
    }
    .sort-card {
        grid-template-columns: repeat(2, 1fr);
        width: auto;
        gap: 3px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .card-details {
        width: 100%;
    }
    .card-details-contents {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-details-contents-menu {
        width: 180px;
    }
    .card-details h3 {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .xray-img {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .xray-img-1 {
        max-width: 100%;
    }
    .tag-button {
        height: 66px;
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1rem;
    }
    .card-details h3 {
        margin-top: 2rem;
    }
    .card-details-contents-menu p {
        text-align: center;
        font-size: 0.9rem;
        font-weight: 500;
    }
    .products-table_title {
        font-size: 1.1rem;
    }
}





/* ------------------------------------------------------------
↓↓↓↓↓               製品情報 詳細ページのCSS                ↓↓↓↓↓
------------------------------------------------------------ */

.gallery-flex {
    width: 1280px;
    padding: 20px;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
}

.products-container {
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
}
.main-image-container {
    width: 100%;
    overflow: hidden;
    text-align: center;
    position: relative;
}
.main-image {
    max-width: 340px;
    max-height: 340px;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    opacity: 1;
    background: #fff;
    transition: opacity 0.5s ease-in-out;
    border: 1px solid #999;
}
.main-image.loaded {
    opacity: 1;
}
.main-image-text {
    margin-top: 10px;
    font-size: 1.2em;
    color: #333;
}
.thumbnails-container {
    display: grid;
    justify-content: center;
    margin-top: 20px;
    padding: 0 20px;
    gap: 5px;
    grid-template-columns: repeat(3, 1fr);
}
.thumbnail-wrapper {
    border: 1px solid #ccc;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.thumbnail-wrapper.active {
    opacity: 1;
}
.thumbnail {
    width: 105px;
    height: 70px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}
.thumbnail.active {
    opacity: 1;
}
.thumbnail-text {
    font-size: 0.6em;
    color: #555;
    text-align: center;
    width: 100px;
    word-wrap: break-word;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.list-item {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
}
.-u-gallery-text {
    width: 650px;
    line-height: 2rem;
}
.-u-gallery-text_mwir-image {
    margin: 2rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
}
.-u-gallery-text_mwir-image p {
    font-size: 0.95rem;
    font-weight: 600;
}
.-u-gallery-text_mwir-image_img > p {
    font-weight: 500;
}
.-u-gallery-text_mwir-image_img {
    width: 100%;
    height: 100%;
    max-width: 157px;
}
.products-link {
    color: #e85400;
	display: inline-flex;
	gap: 3px;
	align-items: center;
	width: fit-content;
    font-weight: 600;
}
.products-link:hover {
    color: #e85400;
    opacity: 0.7;
}
.p-h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 4rem;
    text-align: left;
}
.p-h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
}
a.button-2 {
    margin-top: 3rem;
}
.main-image-text {
    white-space: pre-line;
}  


@media screen and (max-width: 1280px) {

    .gallery-flex {
        width: 100%;
        gap: 20px;
    }
    .thumbnail-text {
        font-size: 0.8em;
    }
    .main-image-text {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1000px) {

    .gallery-flex {
        display: block;
    }
    .-u-img, .-u-gallery-text {
        margin: 0 auto 2rem;
    }
    .-u-gallery-text {
        width: 100%;
    }
    .-u-gallery-text_mwir-image_img {
        max-width: 190px;
    }
    .p-h1 {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 800px) {

    .thumbnail-text {
        font-size: 0.75em;
    }
    .main-image-text {
        font-size: 1.1em;
    }
    .-u-gallery-text_mwir-image_img {
        max-width: 270px;
    }
}

@media screen and (max-width: 599px) {

    .gallery-flex {
        padding: 20px;
        margin: auto;
        justify-content: space-evenly;
    }
        .thumbnail-text {
        font-size: 0.5em;
    }
    .main-image-text {
        font-size: 1em;
    }
    .-u-gallery-text_mwir-image_img {
        max-width: 100%;
    }
}

/* ------------------------------------------------------------
↑↑↑↑↑               製品情報 詳細ページのCSS                ↑↑↑↑↑
------------------------------------------------------------ */




