.product-reviews-summary.empty {
    display: none;
}

/* PDP: 2columns-left 既定の column.main 左 2% 余白を初期描画から無効化 */
.catalog-product-view.page-layout-2columns-left .column.main,
.page-product-catalog-product-view.page-layout-2columns-left .column.main {
    padding-left: 0 !important;
}

/* PDP 下部の余白詰め（関連製品〜問い合わせフォーム間の距離を縮める）。
   ・.product.info.detailed の下マージン30px（More Information 非表示で空でも残る）を 0
   ・column.main の下パディング40px を 0
   いずれも .catalog-product-view でスコープするので他ページ(カテゴリ/CMS等)には影響しない。 */
.catalog-product-view .product.info.detailed {
    margin-bottom: 0;
}
.catalog-product-view .columns .column.main {
    padding-bottom: 0;
}

/* styles-l.css の .page-layout-2columns-left .main { padding-left: 2% } を打ち消す */
.catalog-product-view.page-layout-2columns-left .main,
.page-product-catalog-product-view.page-layout-2columns-left .main {
    padding-left: 0 !important;
}

/* PC: サイドバーを使わない PDP は初期描画から 1カラム幅に固定して横ズレを防ぐ */
@media screen and (min-width: 769px) {
    .catalog-product-view.page-layout-2columns-left .sidebar-main,
    .page-product-catalog-product-view.page-layout-2columns-left .sidebar-main {
        display: none !important;
    }

    .catalog-product-view.page-layout-2columns-left .column.main,
    .page-product-catalog-product-view.page-layout-2columns-left .column.main {
        width: 100% !important;
        float: none !important;
    }
}


@media screen and (min-width: 641px) {
    .catalog-product-view .columns,
    .page-product-catalog-product-view .columns {
        display: flex !important;
    }

    .catalog-product-view .column.main,
    .page-product-catalog-product-view .column.main {
        flex: 1;
        min-width: 0;
        width: auto !important;
    }
}

@media screen and (min-width: 769px), print {
    .catalog-product-view.page-layout-2columns-left .product.media,
    .catalog-product-view.page-layout-2columns-right .product.media,
    .catalog-product-view.page-layout-3columns .product.media,
    .page-product-catalog-product-view.page-layout-2columns-left .product.media,
    .page-product-catalog-product-view.page-layout-2columns-right .product.media,
    .page-product-catalog-product-view.page-layout-3columns .product.media {
        width: 40%;
    }

    .catalog-product-view.page-layout-2columns-left .product-info-main,
    .catalog-product-view.page-layout-2columns-right .product-info-main,
    .catalog-product-view.page-layout-3columns .product-info-main,
    .page-product-catalog-product-view.page-layout-2columns-left .product-info-main,
    .page-product-catalog-product-view.page-layout-2columns-right .product-info-main,
    .page-product-catalog-product-view.page-layout-3columns .product-info-main {
        width: 58%;
    }
}

th {
    background: #f5f6f7;
    width: 145px;
}

h2{
	font-size: 20px !important;
	font-weight: bold;
    color: #000;
}

@media screen and (min-width:641px){
h2{
    border-bottom: solid 2px #000;
    margin: 1em 0 10px;
    padding-bottom: 5px;
}
}

@media screen and (max-width:640px){
h2{
    background: #ddd;
    padding: 15px 10px;
    margin: 0;
}
}

table{margin:0 0 0.5em;width:100%}

.catalog-product-view table > thead > tr > th,
.catalog-product-view table > tbody > tr > th,
.catalog-product-view table > tfoot > tr > th,
.catalog-product-view table > thead > tr > td,
.catalog-product-view table > tbody > tr > td,
.catalog-product-view table > tfoot > tr > td,
.page-product-catalog-product-view table > thead > tr > th,
.page-product-catalog-product-view table > tbody > tr > th,
.page-product-catalog-product-view table > tfoot > tr > th,
.page-product-catalog-product-view table > thead > tr > td,
.page-product-catalog-product-view table > tbody > tr > td,
.page-product-catalog-product-view table > tfoot > tr > td {
    padding: 5px 10px;
}

.catalog-product-view .category-breadcrumb-text,
.page-product-catalog-product-view .category-breadcrumb-text {
    margin: 0 0 6px;
}

.catalog-product-view .category-breadcrumb-text:last-child,
.page-product-catalog-product-view .category-breadcrumb-text:last-child {
    margin-bottom: 0;
}

.catalog-product-view .category-breadcrumb-links,
.page-product-catalog-product-view .category-breadcrumb-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 6px;
    line-height: 1.45;
}

.catalog-product-view .category-breadcrumb-links a,
.page-product-catalog-product-view .category-breadcrumb-links a {
    color: #222;
    text-decoration: none;
}

.catalog-product-view .category-breadcrumb-links a:hover,
.catalog-product-view .category-breadcrumb-links a:focus-visible,
.page-product-catalog-product-view .category-breadcrumb-links a:hover,
.page-product-catalog-product-view .category-breadcrumb-links a:focus-visible {
    text-decoration: underline;
}

.catalog-product-view .category-breadcrumb-separator,
.page-product-catalog-product-view .category-breadcrumb-separator {
    color: #777;
}


@media screen and (max-width:640px){
.single-product-spec {
  counter-reset: rank 0;
  font-size: 20px;
}

.single-product-spec .technical-drawing .lp-link a:after{
  counter-increment: rank;
  content: " "counter(rank);
}
.lp-link,
.brand-link {
    margin-bottom: 20px !important;
}
}



.lp-link,
.brand-link {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 15px;
}

.lp-link a,
.lp-link a:hover,
.brand-link a,
.brand-link a:hover {
    padding: 13px;
    border-radius: 5px;
    box-shadow: 0 2px 0 0 rgba(0,0,0,0.1);
    font-weight: bold;
    color: #fff !important;
    display: inline-block;
}

.lp-link a{
    background-color: #ff730a !important;
}

.lp-link a:hover{
    background-color: #b75106 !important;
}
.brand-link a {
    background-color: #22b564 !important;
}

.brand-link a:hover {
    background-color: #177340 !important;
}

.product-item img {
    width: 100%;
}

@media screen and (min-width:641px){
.lp-link a,
.lp-link a:hover,
.brand-link a,
.brand-link a:hover {
    width: 250px;
}
.product-item{
    width: 49%;
    margin: 0.5%;
}
}

@media screen and (max-width:640px){
.lp-link a,
.lp-link a:hover,
.brand-link a,
.brand-link a:hover {
    width: 90%;
}
.product-item{
    width: 100%;
}
}

.posted_in a {
    background-color: #f7f7f7;
    padding: 8px;
    font-size: 15px;
    color: #000 !important;
    border-radius: 6px;
    line-height: 43px;
    white-space: nowrap;
    margin-right: 10px;
}

.tb-container,
.b-container {
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}

.related-item img {
    width: 100%;
}
.related-item p,
.related-item .price-container{
    padding: 0 10px;
}

h1{
	margin-bottom: 0 !important;
}

.catalog-product-view .product-info-main .product-info-main-title,
.page-product-catalog-product-view .product-info-main .product-info-main-title {
    margin: 0 0 10px;
}

.catalog-product-view .product-info-main .product-info-main-title .page-title,
.page-product-catalog-product-view .product-info-main .product-info-main-title .page-title {
    margin: 0;
    line-height: 1.3;
}

@media screen and (max-width: 768px) {
    /*
     * Luma モバイル既定: .column.main が flex + .product.media { order: -1 } のため
     * DOM 順に関わらずギャラリーが先頭になる。製品名は order:-2 でその前に出す。
     */
    .catalog-product-view .column.main,
    .page-product-catalog-product-view .column.main {
        display: flex;
        flex-direction: column;
    }

    .catalog-product-view .product-info-main-title--above-gallery,
    .page-product-catalog-product-view .product-info-main-title--above-gallery {
        order: -2;
        display: block;
        width: 100%;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .catalog-product-view .column.main .product.media,
    .page-product-catalog-product-view .column.main .product.media {
        order: -1;
        width: 100% !important;
        float: none !important;
    }

    .catalog-product-view .column.main .product-info-main,
    .page-product-catalog-product-view .column.main .product-info-main {
        order: 0;
        width: 100% !important;
        float: none !important;
    }

    .catalog-product-view .product-info-main .product-info-main-title:not(.product-info-main-title--above-gallery),
    .page-product-catalog-product-view .product-info-main .product-info-main-title:not(.product-info-main-title--above-gallery) {
        display: none !important;
    }
}

@media screen and (min-width: 769px) {
    .catalog-product-view .product-info-main-title--above-gallery,
    .page-product-catalog-product-view .product-info-main-title--above-gallery {
        display: none !important;
    }
}

.catalog-product-view .product-details-brand-link,
.page-product-catalog-product-view .product-details-brand-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.catalog-product-view .product-details-brand-link:hover,
.catalog-product-view .product-details-brand-link:focus,
.catalog-product-view .product-details-brand-link:active,
.page-product-catalog-product-view .product-details-brand-link:hover,
.page-product-catalog-product-view .product-details-brand-link:focus,
.page-product-catalog-product-view .product-details-brand-link:active {
    color: inherit;
    text-decoration: none;
    opacity: 1;
}

.catalog-product-view .product-details-brand-link-text,
.page-product-catalog-product-view .product-details-brand-link-text {
    color: inherit;
}

.catalog-product-view .product-details-brand-logo,
.page-product-catalog-product-view .product-details-brand-logo {
    display: block;
    width: auto;
    max-width: 200px;
    height: 45px;
}

/* ブランドロゴ＋名前(リンク無し): PCは横並び(名前=ロゴの右)、スマホは縦(名前=ロゴの下) */
.catalog-product-view .product-details-brand-cell,
.page-product-catalog-product-view .product-details-brand-cell {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.catalog-product-view .product-details-brand-name,
.page-product-catalog-product-view .product-details-brand-name {
    color: #222;
}
@media screen and (max-width: 640px) {
    .catalog-product-view .product-details-brand-cell,
    .page-product-catalog-product-view .product-details-brand-cell {
        flex-direction: column;
        align-items: flex-start;
    }
}

.sub-title p,
.swiper-slide a p:nth-child(2),
.related-item a p:nth-child(2){
	font-size: 12px;
    color: #222;
    margin-bottom: 0;
}

.swiper-slide a p:nth-child(n+3),
.related-item a p:nth-child(n+3){
    font-size: 11px;
    color: #666;
    margin: 0;
}




.trusco-status-gmark img {
    border: solid 1px #ccc;
    margin: 5px 5px 5px 0;
    vertical-align: bottom;
}

.trusco-status-finished {
	display: inline-block;
    background-color: #cc0000;
    color: #fff;
    padding: 5px 10px;
}

.trusco-status-finished-roop {
	display: inline-block;
    background-color: #cc0000;
    color: #fff;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
}

.trusco-status-assembly-type {
	display: inline-block;
    background-color: #567b83;
    color: #fff;
    padding: 5px 10px;
}

.trusco-status-can-not-import {
	display: inline-block;
    background-color: #cc7600;
    color: #fff;
    padding: 5px 10px;
}

.trusco-status-can-not-import-roop {
	display: inline-block;
    background-color: #cc7600;
    color: #fff;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
}

.trusco-status-can-not-import-roop-2 {
	display: inline-block;
    background-color: #cc7600;
    color: #fff;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
    top: 23px;
}

.trusco-status-can-not-import-roop-3 {
	display: inline-block;
    background-color: #cc7600;
    color: #fff;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
    top: 46px;
}

.trusco-status-nextp-roduct-roop {
	display: inline-block;
    background-color: #0072cc;
    color: #fff;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
}

.trusco-status-nextp-roduct-roop-2 {
	display: inline-block;
    background-color: #0072cc;
    color: #fff;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
    top:23px;
}

.trusco-status-nextp-roduct-roop-3 {
	display: inline-block;
    background-color: #0072cc;
    color: #fff;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
    top:46px;
}

.trusco-status-stock-only {
	display: inline-block;
    background-color: #ffd900;
    color: #000;
    padding: 5px 10px;
}

.trusco-status-stock-only-roop {
	display: inline-block;
    background-color: #ffd900;
    color: #000;
    padding: 5px 10px;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 12px;
    top: 23px;
}


.trusco-status-100v {
	display: inline-block;
    background-color: #c00;
    color: #fff;
    padding: 5px 10px;
}

/* PDP 左上: wp-monet single-product.php .sub-title 直後と同様に横並び（inline-block 相当を flex で整列） */
.product-trusco-status-flags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.product.media .product-media-gallery-shell {
    position: relative;
    max-width: 100%;
}

/* 複数画像ギャラリー: 読み込み中プレースホルダーはメイン領域と同じ正方形（_extend.less と整合） */
@media screen and (min-width: 769px) {
    .catalog-product-view .product.media .product-media-gallery-shell--multi-strip .gallery-placeholder._block-content-loading {
        box-sizing: border-box;
        padding-left: 112px;
        min-height: 0;
    }

    .catalog-product-view .product.media .product-media-gallery-shell--multi-strip .gallery-placeholder._block-content-loading .gallery-placeholder__image {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 100%;
        object-fit: contain;
        object-position: top center;
    }

    .catalog-product-view .product.media .product-media-gallery-shell--multi-strip.is-gallery-ready {
        min-height: 0 !important;
    }

    .catalog-product-view .product.media .product-media-gallery-shell--multi-strip .fotorama__stage,
    .catalog-product-view .product.media .product-media-gallery-shell--multi-strip .fotorama__stage[style] {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .catalog-product-view .product.media .product-media-gallery-shell--multi-strip .fotorama__stage__frame .fotorama__img,
    .catalog-product-view .product.media .product-media-gallery-shell--multi-strip .fotorama__stage__frame .fotorama__img[style] {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        object-fit: contain;
        object-position: top center;
    }
}

.product.media .gallery-placeholder__image {
    max-width: 100%;
}

.product.media .product-trusco-status-flags-on-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    margin: 0;
    max-width: 100%;
    pointer-events: none;
}

@media screen and (min-width: 769px) {
    /* PC: 左サムネ列(88px) + gap(24px) の右からラベルを表示 */
    .catalog-product-view .product.media .product-trusco-status-flags-on-image {
        left: 112px;
    }
}

.product-trusco-status-flags .trusco-status-gmark-text {
    display: inline-block;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.35;
    color: #222;
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 2px;
}

/* wp-monet: シリーズ表下のブランドトップへ（.lp-link） */
.lp-link {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 15px;
}

.lp-link a,
.lp-link a:hover {
    padding: 13px;
    border-radius: 5px;
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
    font-weight: bold;
    color: #fff !important;
    display: inline-block;
    text-decoration: none;
}

.lp-link a {
    background-color: #ff730a !important;
}

.lp-link a:hover {
    background-color: #b75106 !important;
}

@media screen and (min-width: 641px) {
    .lp-link a,
    .lp-link a:hover {
        width: 250px;
    }
}

@media screen and (max-width: 640px) {
    .lp-link a,
    .lp-link a:hover {
        width: 90%;
    }
}

/* 関連商品（wp: สินค้าที่คล้ายกัน + swiper-container）— 横スクロール（Swiper JS なし） */
.product-related-title.product-h2 {
    margin-top: 28px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
    font-size: 1.25rem;
    font-weight: bold;
}

.product-related-lazy-body.is-loading {
    min-height: 280px;
}

.product-related-lazy-placeholder {
    min-height: 248px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e8e8e8 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: product-related-lazy-shimmer 1.2s ease-in-out infinite;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

@keyframes product-related-lazy-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.product-related-swiper.swiper-container {
    margin-bottom: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.product-related-swiper .swiper-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
}

.product-related-swiper .swiper-slide {
    flex: 0 0 248px;
    max-width: 90vw;
    border: solid 1px #ccc;
    border-left-width: 0;
    box-shadow: none;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: background-color 0.15s ease;
}

.product-related-swiper .swiper-slide:first-child {
    border-left-width: 1px;
}

.product-related-swiper .swiper-slide:hover {
    background: #f5f6f6;
}

.product-related-swiper .swiper-slide:hover img {
    -webkit-filter: brightness(95%);
    filter: brightness(95%);
}

.product-related-swiper .swiper-slide:hover .product-related-meta-row:nth-child(odd),
.product-related-swiper .swiper-slide:hover .product-related-meta-row:nth-child(even) {
    background-color: #f5f6f6;
}

.product-related-swiper .swiper-slide > a,
.product-related-swiper .product-related-slide-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
}

.product-related-swiper .product-related-slide-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
}

.product-related-swiper .content-img {
    text-align: center;
    padding-top: 8px;
}

.product-related-swiper .product-related-slide-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.product-related-swiper .swiper-slide img {
    width: 200px;
    max-width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
}

.product-related-swiper .product-related-slide-text-price {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 88px;
    padding: 0 10px;
    box-sizing: border-box;
}

.product-related-swiper .product-related-slide-title {
    flex: 0 1 auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
    color: #222;
    margin: 8px 0 0;
    line-height: 1.35;
    max-height: calc(1.35em * 2);
}

.product-related-swiper .product-related-slide-price {
    flex-shrink: 0;
    margin-top: auto;
    padding-bottom: 4px;
}

.product-related-swiper .product-related-slide-price .price-container {
    margin: 6px 0 0;
}

.product-related-swiper .sale-price:before {
    content: none !important;
    display: none !important;
}

.product-related-meta-stripes {
    margin-top: 8px;
    border-top: 1px solid #ddd;
    overflow: hidden;
}

.product-related-meta-row {
    display: grid;
    grid-template-columns: 6.75rem 1fr;
    column-gap: 8px;
    align-items: start;
    padding: 6px 10px;
    font-size: 11px;
    line-height: 1.35;
}

.product-related-meta-row:nth-child(odd) {
    background: #ececec;
}

.product-related-meta-row:nth-child(even) {
    background: #f7f7f7;
}

.product-related-meta-label {
    color: #555;
    text-align: left;
    justify-self: start;
}

.product-related-meta-value {
    color: #222;
    text-align: left;
    justify-self: start;
    word-break: break-word;
}

.product-related-meta-value--stock {
    line-height: 1.45;
}

.product-related-stock-jp-line {
    display: block;
    margin-top: 5px;
}

.product-related-stock-jp-line--reserved .product-related-stock-jp-line-sizer {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
}






@media screen and (min-width:641px){
.b-item{
    width: 24.1%;
    margin: 0.5% 0;
}
}

@media screen and (max-width:640px){
.b-item{
    width: 49%;
    margin: 0.5% 0;
}
table {
    margin: 0 0 0.5em;
    width: 100%;
}
.product-specification {
    display: block;
    overflow-x: auto;
}
.product-specification th{
    min-width: 130px;
}

.product-term-box {
    font-size: 14px !important;
    display: block;
    overflow-x: auto;
}
td:nth-child(1) {
    min-width:200px;
}
td:nth-child(5) {
    min-width:100px;
}
td:nth-child(6) {
    min-width:100px;
}
td:last-child {
    min-width:75px;
}
p.recaptcha_policy{
    margin-bottom: 20px !important;
}
div#left-sidebar {
    display: none;
}
}

.product-term-box p {
    margin-bottom: 0 !important;
}

.product-term-box th.col-product-image {
    width: 10%;
}

.product-term-box th.col-part-number {
    width: 20%;
}

.product-term-box th.col-price {
    width: 16%;
}

.product-term-box th.col-stock {
    width: 10%;
    text-align: center;
}

table.product-term-box thead th,
table.product-term-box tbody td {
    vertical-align: middle;
}

/* シェルフ表内では絶対配置にしない（行の上下中央が崩れるため） */
table.product-term-box .trusco-status-finished-roop {
    position: static !important;
    z-index: auto !important;
}

.product-term-box .shelf-price-cell {
    text-align: left;
}

.product-term-box .shelf-price-cell .price-container {
    justify-content: flex-start;
}

.product-term-box td.part-number,
.product-term-box td.order-code {
    white-space: nowrap;
    font-family: "Roboto Mono", "Consolas", monospace;
    letter-spacing: 0.01em;
}

.product-term-box td.part-number .order-code-inline {
    color: #666;
    font-size: 12px;
    line-height: 1.35;
}

.product-term-box td:nth-child(2),
.product-term-box td:last-child {
    text-align: center;
}

/* wp-monet .stock-style に合わせたシェルフ在庫バッジ */
.product-term-box .stock-style-list {
    display: inline-block;
    font-weight: bold;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
}

.product-term-box .shelf-price-cell .price-container {
    gap: 6px;
    align-items: center;
    margin-bottom: 0;
}

.product-term-box .shelf-price-cell .sale-price {
    font-size: 16px;
    line-height: 1.1;
    white-space: nowrap;
}

.product-term-box .shelf-price-cell .sale-price:before {
    content: none !important;
    display: none !important;
}

.product-term-box th {
    background: #f5f6f7;
    width: 145px;
}

.product-term-box img{
    width: 100%;
}

/* シェルフ画像列: 50px 相当のキャッシュを width:100% で引き伸ばさない（ぼけ防止） */
table.product-term-box tbody td:nth-child(2) a {
    display: inline-block;
    line-height: 0;
}

table.product-term-box tbody td:nth-child(2) img {
    width: auto !important;
    max-width: 100px;
    height: auto !important;
    max-height: 100px;
    object-fit: contain;
    vertical-align: middle;
}

/* シェルフ: 商品画像が無いときのプレースホルダーは小さめに表示 */
table.product-term-box tbody td:nth-child(2) img.shelf-thumb-placeholder {
    max-width: 48px !important;
    max-height: 48px !important;
}

table.product-term-box tr:hover td {
    background: #f5f6f6 !important;
}
table.product-term-box tr:hover img {
    -webkit-filter: brightness(95%);
    filter:brightness(95%);
}

.b-item,
.b-item:hover,
.youtube{
    box-shadow: 0 0 0 1px #bfbfbf;
}

.b-item:hover{
    background: #f5f6f6;
}

.b-item img{
    width: auto;
    height: 85%;
    max-width: 159px;
}

.b-item a{
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.b-item:hover img{
    -webkit-filter: brightness(95%);
    filter:brightness(95%); 
}

.stock-style {
    font-weight: bold;
    padding: 5px 10px;
    font-size: 15px;
    border-radius: 5px;
    display: inline-block;
}
td .stock-style:nth-of-type(n+2) {
    margin-top: 5px !important;
}

.stock-low {
    background-color: #004099;
    color: #fff;
}

.stock-high {
    background-color: #004099;
    color: #fff;
}

.stock-non {
    background-color: #969696;
    color: #fff;
}

.status-warning {
    background-color: #ffb701;
    color: #fff;
}

.stock-maker {
    background-color: #d79959;
}

.supplier-tt {
    background-color: #006f4f;
    color: #fff;
}

.supplier-tj {
    background-color: #f26122;    
    color: #fff;
}

.youtube {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}
.youtube iframe,
.youtube object,
.youtube embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-video-embed {
    margin: 12px 0 20px;
}

.swiper-container .price-container,
.price-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    align-content: stretch;
}

.price-container {
    margin-bottom: 5px;
}

.product-copy-link-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.product-copy-link-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0 !important;
    padding: 0;
    margin: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: underline;
    cursor: pointer;
}

.product-copy-link-button:hover,
.product-copy-link-button:focus-visible,
.product-copy-link-button:active {
    color: #c7511f !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.product-copy-link-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
}

.product-copy-link-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-copy-link-toast {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    display: inline-block;
    padding: 5px;
    border-radius: 4px;
    background: rgb(0 54 86 / 85%);
    border: solid 1px #000;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 5;
}

.product-copy-link-toast.is-visible {
    opacity: 1;
    visibility: visible;
}

.product-price-note {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.35;
    color: #666;
}

.product-price-note--buying {
    color: #B12704;
}

/* wp-monet include-product-order-unit.php 相当 */
.product-order-unit-lot {
    margin-bottom: 10px;
}

.sale-price {
    color: #B12704!important;
    font-weight: bold;
    font-size: 1.25em;
}
.sale-price {
    color: #B12704!important;
    font-weight: bold;
    font-size: 21px;
}
.sale-price:before {
    display: marker;
    content: "ราคา (รวม VAT) : ";
    color: #000;
}

@media screen and (max-width:640px) {
    .sale-price:before {
        font-size: 16px;
    }
}

.price-container .price-pp + .vat-price,
.price-container .price-y + .vat-price,
.price-container .price-o + .vat-price,
.price-container .price-b + .vat-price,
.price-container .price-g + .vat-price {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.price-container .price-pp + .vat-price {
  background: #860099;
}

.price-container .price-y + .vat-price {
  background: #ffd900;
}

.price-container .price-o + .vat-price {
  background: #ff9601;
}

.price-container .price-g + .vat-price {
  background: #004099;
}

.price-container--special-fix .vat-price {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #004099;
}

.regular-price {
    font-size: 14px;
    opacity: .5;
    text-decoration: line-through;
    margin-left: 0.5%;
    color: #000;
}

.regular-price:before {
    display: marker;
    content: "(";
}

.regular-price:after {
    display: marker;
    content: ")";
}

.price-container .price-b + .vat-price {
  background: #004099;
}

.vat-price {
    margin-left: 0.5%;
}

.content-img {
    text-align: center;
}


.related-item {
    border: solid #ccc 1px;
    -webkit-box-shadow: 2px 0 4px rgb(0 0 0 / 5%);
    -moz-box-shadow: 2px 0 4px rgba(0,0,0,.05);
    box-shadow: 2px 3px 5px rgb(0 0 0 / 5%);
    background: #fff;
}

.related-item {
    width: 47%;
    padding: 0.5%;
    margin: 0.5%;
}

.single-product p.two-m-rough-price {
    border: #ccc solid 1px;
    margin-bottom: 10px !important;
    padding: 10px;
    background: #FBE7BD;
}


.category-item-img-brand {
    width: 80%;
    margin: 1%;
    margin-top: 9px;
}

.category-item-img-brand img {
    height: 50px !important;
    max-width: 85%;
    width: auto;
}

@media screen and (min-width:641px){
.single-line {
    margin: 10px;
}

.single-line .box-contact {
    height: 65px !important;
}

.single-line .button-l {
    font-size: 28px !important;
}

.single-line .button-left {
    width: 13% !important;
}
}

@media screen and (min-width:821px){
.single-line .button-right {
    width: 50%;
}
}

@media (max-width:820px) and (min-width:641px) {
.single-line .button-right {
    width: 60%;
}
}

@media screen and (max-width:640px){
.single-line {
    margin: 10px;
}

.single-line .box-contact {
    height: 60px !important;
}

.single-line .button-l {
    font-size: 30px !important;
}

.single-line .button-left {
    width: 15% !important;
}

.single-line .button-right {
    width: 60%;
    font-size: 30px;
}
}

.catalog-product-view .single-line .single-line-contact-card,
.page-product-catalog-product-view .single-line .single-line-contact-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.catalog-product-view .single-line .button-line,
.page-product-catalog-product-view .single-line .button-line {
    display: flex;
    justify-content: center;
}

.catalog-product-view .single-line .button-l,
.page-product-catalog-product-view .single-line .button-l {
    width: 330px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.catalog-product-view .single-line .button-l:hover,
.catalog-product-view .single-line .button-l:active,
.page-product-catalog-product-view .single-line .button-l:hover,
.page-product-catalog-product-view .single-line .button-l:active {
    box-shadow: none !important;
    text-shadow: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.catalog-product-view .single-line .box-contact,
.page-product-catalog-product-view .single-line .box-contact {
    height: 70px !important;
}

.catalog-product-view .single-line .button-left,
.page-product-catalog-product-view .single-line .button-left {
    width: 20% !important;
}

.catalog-product-view .single-line .button-right,
.page-product-catalog-product-view .single-line .button-right {
    width: 55% !important;
    font-size: 28px !important;
}

@media screen and (max-width: 640px) {
    .single-line {
        margin: 20px 0;
    }

    .catalog-product-view .single-line .button-l,
    .page-product-catalog-product-view .single-line .button-l {
        width: 100% !important;
    }

    .catalog-product-view .single-line .box-contact,
    .page-product-catalog-product-view .single-line .box-contact {
        height: 65px !important;
    }

    .catalog-product-view .single-line .button-right,
    .page-product-catalog-product-view .single-line .button-right {
        font-size: 28px !important;
    }
}

.entry-content {
    margin: 0 !important;
}

.inside-article ul,
.inside-article p {
    margin: 0;
}
ul.product-page-list.box-features {
    margin: 10px;
}
ul.product-page-list,
.product-features li,
.product-specification li{
    list-style: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
.tablet-grid-75 {
    width: 100%;
}
.tablet-push-25 {
    left: 0;
}
}

iframe.wp-embedded-content {
    width: 100%;
}

.next-generation-product {
    margin: 10px 0 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.next-generation-product-headline {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.15;
    color: #111;
}

.next-generation-product-headline strong {
    font-weight: 800;
}

.next-generation-product-intro {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.2;
    color: #333;
}

.next-generation-product .product-card {
    border: 2px solid rgba(240, 215, 157, 0.65);
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.next-generation-product .product-card:hover {
    background: #e5e5e5;
}

.next-generation-product .product-card p {
    margin: 0 0 4px;
}

.next-generation-product .product-card a {
    color: #000;
    text-decoration: none;
}

.next-generation-product .product-card .product-card-link,
.next-generation-product .product-card .product-card-link:hover {
    color: #000 !important;
    text-decoration: none;
    display: block;
}

.next-generation-product .product-card-item-left img,
.next-generation-product .product-card-item-left .product-image-photo {
    max-width: 130px;
    width: 100%;
    height: auto;
}

.next-generation-product .product-card:hover .product-card-item-left img,
.next-generation-product .product-card:hover .product-card-item-left .product-image-photo {
    filter: brightness(90%);
}

.next-generation-product .product-card-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.next-generation-product .product-card-item-left {
    flex: 0 0 30%;
    max-width: 130px;
}

@media screen and (max-width: 990px) {
    .next-generation-product .product-card-item-left {
        flex: 0 0 30%;
        max-width: 100px !important;
    }
}

.next-generation-product .product-card-item-right {
    flex: 1 1 65%;
    min-width: 0;
}

.next-generation-product .product-card-item-right h3 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
}

.next-generation-product .next-generation-product-price .sale-price-list,
.next-generation-product .next-generation-product-price .sale-price {
    color: #b12704 !important;
    font-weight: bold;
    font-size: 22px;
}

/* このカードでは VAT ラベル文言を非表示 */
.next-generation-product .next-generation-product-price .sale-price:before {
    content: none;
    display: none;
}

@media screen and (max-width: 640px) {
    .next-generation-product {
        padding: 10px;
    }

    .next-generation-product-headline {
        font-size: 22px;
    }

    .next-generation-product-intro {
        font-size: 14px;
    }

    .next-generation-product .product-card-item-right h3 {
        font-size: 18px;
    }

    .next-generation-product .next-generation-product-price .sale-price-list,
    .next-generation-product .next-generation-product-price .sale-price {
        font-size: 18px;
    }

    .next-generation-product .product-card-item-left {
        flex: 0 0 35%;
        max-width: 120px;
    }

    .next-generation-product .product-card-item-right {
        flex: 1 1 60%;
    }
}

.next-generation-product-label {
    display: inline-block;
    margin: 0 5px 0 0;
    padding: 3px 8px;
    border-radius: 8px;
    background: #f0d79d;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}


.image-container {
  position: relative;
}

.image-container img {
  display: block; /* 画像の下の余分なスペースを削除 */
  width: 100%; /* 必要に応じて調整 */
  height: auto; /* 画像のアスペクト比を維持 */
}

.image-container .text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px; /* テキスト周りの余白 */
}

.image-container .text2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px 0 70px 5px; /* テキスト周りの余白 */
}

.tai {
    color: #B12704;
    padding: 10px;
}




.field.fb-text,
.field.fb-number,
.field.fb-undefined {
    background: #f8e7e7 !important;
    padding: 5px 10px !important;
    border-radius: 5px;
}

.field.fb-radio,
.field.fb-file {
    padding: 20px 10px !important;
    border-radius: 5px;
}

.amform-versiontwo-label::before {
    background: #ffdddd !important;
}

.required {
    color: red !important;
}

label {
    font-size: 15px !important;
    margin-top: 5px !important;
}


form#amform-form-6 {
    border: solid 1px #000;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 4px 4px 12px 1px rgba(0, 0, 0, .06);
}

.amcform-toolbar {
    margin: auto;
}

button.amcform-submit {
    font-size: 20px !important;    
}

button.amcform-submit.action.submit.primary {
    background: #ff7f00 !important;
}

button.amcform-submit.action.submit.primary:hover {
    background: #3f3f3f !important;
}

table, td, th {
    border: 1px solid rgba(0, 0, 0, .1);
}

.product-brand-shelf {
    width: 100%;
}

.product-brand-shelf .product-term-box {
    width: 100%;
}

.product-brand-shelf-actions {
    margin: 16px 0 24px;
    text-align: center;
}

.product-brand-shelf-load-more.action.secondary {
    min-width: 220px;
}

.product-brand-shelf-load-more.is-loading {
    opacity: 0.65;
    cursor: wait;
}