/*
 * Taiyo Stainless Spring - product pages CSS
 * v1.6: extracted from standard_product/index.html.
 * Scope: /standard_product/ and future product-related pages.
 */
.legacy-wrap { max-width: 1040px; }
    .legacy-breadcrumb { font-size: 11px; color: #667085; letter-spacing: .02em; }
    .legacy-page-title { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
    .legacy-title-icon { width: 42px; height: 34px; background: #d0102a; position: relative; flex: 0 0 auto; }
    .legacy-title-icon:before { content: ""; position: absolute; left: 0; top: -13px; width: 0; height: 0; border-left: 42px solid #d0102a; border-top: 13px solid transparent; }
    .legacy-title-icon span { position: absolute; bottom: 7px; width: 5px; height: 8px; background: white; }
    .legacy-title-icon span:nth-child(1){ left: 8px; } .legacy-title-icon span:nth-child(2){ left: 18px; } .legacy-title-icon span:nth-child(3){ left: 28px; }
    .legacy-title-img { display:block; width:auto; height:64px; object-fit:contain; flex:0 0 auto; }
    .legacy-page-title.is-image-title { gap:18px; align-items:center; }
    .legacy-page-title.is-image-title h1 { line-height:1.2; }
    .legacy-main h2 { color:#d0102a; font-size: 22px; letter-spacing: .24em; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid #d0102a; margin-bottom: 26px; }
    .legacy-main h3 { color:#d0102a; font-size: 18px; letter-spacing: .18em; font-weight: 600; margin-bottom: 20px; }
    .legacy-main p { line-height: 2; font-size: 14px; color:#273142; }
    .legacy-main .lead { font-weight: 700; color:#111827; margin-bottom: 16px; }
    .legacy-main img { border-radius: 0; box-shadow: none; }
    .legacy-section { padding: 0 0 62px; }
    .legacy-bullets li { position: relative; padding-left: 16px; margin-bottom: 10px; font-size: 14px; line-height: 1.9; color:#273142; }
    .legacy-bullets li:before { content:""; position:absolute; left:0; top:.7em; width:7px; height:7px; border-radius:50%; background:#d0102a; }
    .legacy-side a { display:flex; align-items:center; justify-content:space-between; background:#f2f2f2; border-bottom:1px solid #fff; color:#273142; font-size:14px; padding:12px 14px; }
    .legacy-side a.active { background:#d0102a; color:white; font-weight:700; }
    .legacy-side .dot { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; border-radius:50%; background:#d0102a; color:white; font-size:10px; margin-left:12px; }
    .legacy-side a.active .dot { background:white; color:#d0102a; }
    .legacy-card-list a { display:grid; grid-template-columns: 180px 1fr; gap: 22px; border-top:1px solid #e5e7eb; padding:24px 0; }
    .legacy-card-list a:last-child { border-bottom:1px solid #e5e7eb; }
    @media (max-width: 768px) {
      .legacy-card-list a { grid-template-columns:1fr; }
      .legacy-main h2 { font-size: 19px; letter-spacing: .14em; }
    }

    /* v0.5.3 refinement: keep the current-site flatness, but raise polish closer to TOP design */
    .legacy-wrap { max-width: 1120px; }
    .legacy-main { position: relative; }
    .legacy-main h2 { position: relative; color:#d0102a; font-size: 22px; letter-spacing: .22em; font-weight: 500; padding-bottom: 13px; border-bottom: 1px solid #d0102a; margin-bottom: 30px; }
    .legacy-main h2:after { content:""; position:absolute; left:0; bottom:-1px; width:88px; height:2px; background:#06123B; }
    .legacy-main h3 { color:#d0102a; font-size: 18px; letter-spacing: .14em; font-weight: 700; margin-bottom: 18px; }
    .legacy-main p { line-height: 2.05; font-size: 14px; color:#273142; }
    .legacy-main .lead { font-weight: 700; color:#111827; margin-bottom: 16px; }
    .legacy-section { padding: 0 0 58px; }
    .legacy-section + .legacy-section { border-top: 1px solid #edf0f4; padding-top: 48px; }
    .legacy-main img { border-radius: 0; box-shadow: none; }
    .legacy-media-compact { max-width: 300px; margin-inline: auto; }
    .legacy-flow-chart { display:block; width:100%; max-width: 690px; margin: 26px auto 0; }
    .legacy-map-figure { margin: 28px auto 0; }
    .legacy-map-figure img { display:block; width:100%; height:auto; margin-inline:auto; }
    .legacy-map-domestic { max-width: 799px; }
    .legacy-map-world { max-width: 800px; }
    .legacy-map-caption { margin-top: 10px; font-size: 12px; line-height:1.7; color:#667085; }
    .legacy-link-note a { color:#5168a8; text-decoration: underline; text-underline-offset: 3px; }
    .legacy-side { position: sticky; top: 112px; }
    .legacy-side a { transition: background .18s ease, color .18s ease; }
    .legacy-side a:not(.active):hover { background:#e9edf3; color:#06123B; }
    @media (max-width: 1024px) { .legacy-side { position: static; } }
    @media (max-width: 768px) {
      .legacy-main h2 { font-size: 19px; letter-spacing: .14em; }
      .legacy-section + .legacy-section { padding-top: 38px; }
      .legacy-flow-chart, .legacy-map-domestic, .legacy-map-world { max-width: 100%; }
    }



    /* v0.9.2 basic lower pages: reuse /about/ and /company/ tonality */
    .basic-page .legacy-wrap { max-width: 1120px; }
    .basic-page .legacy-main h2 { letter-spacing: .18em; }
    .basic-intro { margin-bottom: 34px; }
    .basic-intro p { margin-bottom: 0; }
    .legacy-media-row { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
    .legacy-media-row + .legacy-media-row { border-top: 1px solid #edf0f4; padding-top: 34px; margin-top: 34px; }
    .legacy-media-row figure { margin: 0; }
    .legacy-media-row img { display: block; width: 100%; height: auto; }
    .legacy-image-card { background: #fff; border: 1px solid #edf0f4; padding: 10px; }
    .legacy-machine-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
    .legacy-machine-card { border-top: 1px solid #e5e7eb; padding-top: 18px; }
    .legacy-machine-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 12px; }
    .legacy-machine-card p { font-weight: 700; color: #273142; line-height: 1.7; }
    .legacy-tabs { display: flex; gap: 0; margin: 0 0 34px; border-bottom: 1px solid #d0102a; }
    .legacy-tab-button { min-width: 150px; padding: 13px 22px; background: #f2f2f2; color: #273142; font-size: 14px; font-weight: 700; letter-spacing: .16em; border: 0; border-right: 1px solid #fff; cursor: pointer; text-align: center; }
    .legacy-tab-button[aria-selected="true"] { background: #d0102a; color: #fff; }
    .legacy-tab-panel[hidden] { display: none; }
    .env-cert-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
    .env-cert-grid img { display: block; width: 100%; max-width: 190px; margin-inline: auto; }
    .legacy-pdf-link { display: inline-flex; align-items: center; margin-top: 22px; padding: 10px 18px; background: #06123B; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
    .legacy-pdf-link:hover { opacity: .9; }
    .faq-block + .faq-block { border-top: 1px solid #edf0f4; padding-top: 38px; margin-top: 42px; }
    .faq-item { border-top: 1px solid #e5e7eb; padding: 18px 0; }
    .faq-item:last-child { border-bottom: 1px solid #e5e7eb; }
    .faq-q { position: relative; padding-left: 34px; font-weight: 700; color: #111827; line-height: 1.8; }
    .faq-q::before { content: "Q"; position: absolute; left: 0; top: .05em; color: #d0102a; font-size: 20px; font-weight: 700; }
    .faq-a { position: relative; padding-left: 34px; margin-top: 8px; }
    .faq-a::before { content: "A"; position: absolute; left: 0; top: .05em; color: #06123B; font-size: 20px; font-weight: 700; }
    .policy-list p { margin-bottom: 18px; }
    .policy-sublist { margin: 10px 0 16px 1em; }
    .policy-sublist li { font-size: 14px; color: #273142; line-height: 1.9; }
    @media (max-width: 900px) {
      .legacy-media-row, .env-cert-grid { grid-template-columns: 1fr; }
      .legacy-machine-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .product-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }
    @media (max-width: 640px) {
      .legacy-tabs { display: grid; grid-template-columns: 1fr 1fr; }
      .legacy-tab-button { min-width: 0; width: 100%; }
      .legacy-machine-grid { grid-template-columns: 1fr; }
    }

    /* v1.6 standard product door page: externalized product CSS, slimmer buttons */
    .standard-product-page .legacy-main h2 { margin-bottom: 24px; }
    .product-note-link { display:block; margin: 0 0 28px; padding: 10px 14px; background:#fff7f8; border:1px solid #f3c9d0; color:#d0102a; font-size:13px; line-height:1.8; font-weight:700; text-align:center; text-decoration:none; }
    .product-note-link:hover { background:#fff0f2; }
    .standard-intro { margin-bottom: 28px; }
    .standard-intro p { margin:0; }
    .product-category-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:14px 16px; margin: 0 0 40px; }
    .product-category-card { display:flex; align-items:center; justify-content:center; min-height:42px; padding:7px 10px; border:2px solid #d0102a; border-radius:8px; background:#fff; color:#d0102a; text-align:center; text-decoration:none; transition: background .18s ease, color .18s ease; }
    .product-category-card:hover { background:#fff7f8; color:#d0102a; }
    .product-category-card .thumb { display:none; }
    .product-category-card .body { display:block; padding:0; min-width:0; }
    .product-category-card h3 { margin:0; color:#d0102a; font-size:13px; line-height:1.2; font-weight:500; letter-spacing:.06em; white-space:nowrap; word-break:keep-all; overflow-wrap:normal; }
    .product-category-card p,
    .product-category-card .arrow { display:none; }
    .standard-section { padding: 0 0 48px; }
    .standard-section + .standard-section { border-top:1px solid #edf0f4; padding-top:40px; }
    .category-heading { display:flex; align-items:center; gap:12px; margin:0 0 22px; padding-bottom:12px; border-bottom:1px solid #d0102a; }
    .category-heading img { width:26px; height:auto; flex:0 0 auto; }
    .category-heading h3 { margin:0; color:#d0102a; font-size:18px; letter-spacing:.12em; }
    .product-card-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:22px; }
    .product-card { display:flex; flex-direction:column; min-height:100%; border:1px solid #e3e7ee; background:#fff; color:#273142; text-decoration:none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
    .product-card:hover { transform: translateY(-2px); border-color:#d0102a; box-shadow: 0 16px 34px rgba(7,18,59,.10); }
    .product-card-thumb { height:150px; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#f6f7f9; border-bottom:1px solid #edf0f4; }
    .product-card-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
    .product-card-thumb.is-icon img { width:64px; height:auto; object-fit:contain; opacity:.95; }
    .product-card-body { display:flex; flex-direction:column; flex:1; padding:16px 16px 14px; }
    .product-card h4 { margin:0 0 10px; color:#111827; font-size:14px; line-height:1.65; font-weight:700; letter-spacing:.03em; }
    .product-card .category-label { display:inline-flex; width:max-content; margin-bottom:10px; padding:3px 8px; background:#f3f5f8; color:#667085; font-size:11px; line-height:1.5; font-weight:700; }
    .product-card-actions { display:grid; grid-template-columns: 1fr 1fr; gap:7px; margin-top:auto; padding-top:12px; }
    .product-card-actions.is-single { grid-template-columns:1fr; }
    .product-card-actions a { display:flex; align-items:center; justify-content:center; min-height:31px; padding:5px 9px; font-size:11px; font-weight:700; line-height:1.4; text-decoration:none; }
    .detail-button { background:#f3f5f8; color:#273142; }
    .detail-button:hover { background:#e7ebf1; color:#06123B; }
    .pdf-button { gap:5px; background:#d0102a; color:#fff; }
    .pdf-button:hover { opacity:.9; }
    .pdf-button img { width:14px; height:auto; filter: brightness(0) invert(1); }
    .manual-box { margin-top: 34px; padding: 0; border:0; background:transparent; }
    .manual-box h3 { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
    .manual-lead { margin: 0 0 15px; color:#d0102a; font-size:14px; line-height:1.9; font-weight:700; }
    .manual-download-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px 28px; margin-top: 16px; }
    .manual-download-button { display:flex; align-items:center; gap:12px; min-height:64px; padding: 13px 20px; border:2px solid #d0102a; background:#fff; color:#d0102a; text-decoration:none; transition: background .18s ease, box-shadow .18s ease; }
    .manual-download-button:hover { background:#fff7f8; box-shadow:0 10px 26px rgba(208,16,42,.08); }
    .manual-download-button img { width:20px; height:auto; flex:0 0 auto; }
    .manual-download-button span { display:block; font-size:15px; line-height:1.55; font-weight:500; letter-spacing:.04em; }
    .custom-lead { border:1px solid #edf0f4; padding:22px; margin-bottom:28px; background:#fff; }
    .custom-lead p { margin:0; }
    .custom-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:22px; }
    .custom-card { display:flex; flex-direction:column; min-height:100%; border:1px solid #e3e7ee; background:#fff; text-decoration:none; color:#273142; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
    .custom-card:hover { transform: translateY(-2px); border-color:#d0102a; box-shadow:0 16px 34px rgba(7,18,59,.10); }
    .custom-card .thumb { height:140px; display:flex; align-items:center; justify-content:center; background:#f6f7f9; border-bottom:1px solid #edf0f4; overflow:hidden; }
    .custom-card .thumb img { width:100%; height:100%; object-fit:cover; display:block; }
    .custom-card .body { padding:16px; display:flex; flex-direction:column; flex:1; }
    .custom-card h4 { margin:0 0 12px; color:#111827; font-size:14px; line-height:1.65; font-weight:700; }
    .custom-card .arrow { margin-top:auto; color:#d0102a; font-size:12px; font-weight:700; letter-spacing:.08em; }
    @media (max-width: 1024px) {
      .product-category-grid, .product-card-grid, .custom-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }
    @media (max-width: 640px) {
      .legacy-tabs { display:grid; grid-template-columns:1fr 1fr; }
      .legacy-tab-button { width:100%; min-width:0; }
      .product-category-grid, .product-card-grid, .custom-grid, .manual-download-grid { grid-template-columns:1fr; }
      .product-category-card { min-height:40px; }
      .product-card-thumb { height:138px; }
    }

/* v2.0 standard product detail pages: spring pin detail template */
.product-detail-page .legacy-main h2 { margin-bottom: 26px; }
.product-detail-hero { display:grid; grid-template-columns: minmax(260px, 38%) 1fr; gap:30px; align-items:start; margin-bottom:42px; }
.product-detail-visual { border:1px solid #e3e7ee; background:#f6f7f9; padding:18px; }
.product-detail-visual img { display:block; width:100%; height:auto; max-height:330px; object-fit:contain; background:#fff; }
.product-detail-copy { border-top:1px solid #d0102a; padding-top:20px; }
.product-detail-copy h3 { margin-bottom:14px; }
.product-material { margin-top:12px; font-size:14px; line-height:1.9; color:#273142; font-weight:700; }
.product-tech-link { color:#5168a8; text-decoration:underline; text-underline-offset:3px; }
.product-pdf-actions { margin-top:22px; display:flex; flex-wrap:wrap; gap:12px; }
.product-detail-pdf { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:9px 16px; background:#d0102a; color:#fff; font-size:13px; font-weight:700; text-decoration:none; letter-spacing:.04em; }
.product-detail-pdf:hover { opacity:.9; }
.product-detail-pdf img { width:15px; height:auto; filter:brightness(0) invert(1); }
.product-description-box { border:1px solid #edf0f4; background:#fff; padding:22px; }
.product-contact-box { margin-top:26px; border:1px solid #f3c9d0; background:#fff7f8; padding:20px 22px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; }
.product-contact-box p { margin:0; color:#d0102a; font-weight:700; line-height:1.8; }
.product-contact-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:18px; }
.product-estimate-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 22px; background:#d0102a; color:#fff; font-size:14px; font-weight:700; text-decoration:none; white-space:nowrap; letter-spacing:.04em; }
.product-estimate-button:hover { opacity:.9; }
.product-phone-display { display:inline-flex; align-items:center; gap:12px; min-height:54px; padding:0; color:#111827; text-decoration:none; white-space:nowrap; background:transparent; }
.product-phone-display:hover { opacity:.9; }
.product-phone-icon { display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:8px; background:#d0102a; color:#fff; font-size:30px; line-height:1; flex:0 0 auto; }
.product-phone-text { display:block; line-height:1.15; }
.product-phone-label { display:block; color:#111827; font-size:15px; font-weight:500; letter-spacing:0; margin-bottom:4px; }
.product-phone-number { display:block; color:#d0102a; font-size:34px; line-height:1; font-weight:800; letter-spacing:.05em; }
.product-example { display:grid; grid-template-columns: minmax(240px, 42%) 1fr; gap:26px; align-items:start; }
.product-example figure { margin:0; border:1px solid #e3e7ee; background:#f6f7f9; padding:10px; }
.product-example img { display:block; width:100%; height:auto; }
.product-example p { margin:0; }
.related-product-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:28px; }
.related-product-card { position:relative; display:flex; flex-direction:column; gap:16px; min-height:250px; padding:18px 18px 58px; border:1px solid #e3e7ee; background:#fff; color:#273142; text-decoration:none; transition:background .18s ease, border-color .18s ease, transform .18s ease; }
.related-product-card:hover { border-color:#d0102a; background:#fff7f8; transform:translateY(-1px); }
.related-product-thumb { display:block; width:100%; height:130px; overflow:hidden; background:#f6f8fb; }
.related-product-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.related-product-card .related-product-title { display:block; padding-right:34px; font-size:13px; line-height:1.65; font-weight:700; letter-spacing:.01em; word-break:keep-all; overflow-wrap:break-word; }
.related-product-card .dot { position:absolute; right:18px; bottom:30px; display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:#d0102a; color:#fff; font-family: Arial, sans-serif !important; padding-bottom: 2px; font-size:20px; line-height:1; }
.product-detail-page .legacy-side .side-sub { background:#fff; padding-left:20px; font-size:13px; }
.product-detail-page .legacy-side .side-sub.active { background:#d0102a; color:#fff; }
@media (max-width: 900px) {
  .product-detail-hero, .product-example { grid-template-columns:1fr; }
  .related-product-grid { grid-template-columns:1fr; gap:18px; }
  .related-product-card { min-height:auto; padding:14px 14px 56px; }
  .related-product-thumb { width:100%; height:150px; }
  .related-product-card .related-product-title { font-size:13px; line-height:1.6; }
  .related-product-card .dot { right:14px; bottom:16px; }
}
@media (max-width: 640px) {
  .product-detail-visual { padding:12px; }
  .product-description-box, .product-contact-box { padding:18px; }
  .product-contact-actions { width:100%; justify-content:flex-start; }
  .product-phone-display { width:100%; }
  .product-phone-icon { width:48px; height:48px; font-size:26px; }
  .product-phone-number { font-size:28px; letter-spacing:.03em; }
}


/* v3.0 original product pages */
.original-product-page .legacy-tab-button { text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.original-product-page .custom-grid .custom-card .thumb { height:160px; }
.original-detail-page .product-detail-hero { grid-template-columns:minmax(280px, 40%) 1fr; }
.original-detail-page .product-detail-visual img { max-height:none; width:100%; object-fit:contain; }
.original-detail-page .custom-feature-list { display:grid; gap:18px; }
.original-detail-page .custom-feature-item { border:1px solid #edf0f4; background:#fff; padding:18px 20px; }
.original-detail-page .custom-feature-item h4 { margin:0 0 8px; color:#d0102a; font-size:15px; line-height:1.7; font-weight:700; letter-spacing:.06em; }
.original-detail-page .custom-feature-item p { margin:0; }
.original-detail-page .custom-name-box { border:1px solid #edf0f4; background:#fff; padding:20px 22px; }
.original-detail-page .custom-name-box p { margin:0; }
.original-detail-page .custom-example-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:24px; }
.original-detail-page .custom-example-grid.is-three { grid-template-columns:repeat(3, minmax(0,1fr)); }
.original-detail-page .custom-example-card { margin:0; border:1px solid #e3e7ee; background:#f6f7f9; padding:10px; }
.original-detail-page .custom-example-card img { display:block; width:100%; height:auto; background:#fff; }
.original-detail-page .custom-example-card figcaption { margin-top:10px; color:#273142; font-size:14px; line-height:1.85; background:#fff; padding:10px 12px; }
.original-detail-page .shaft-feature-grid { display:grid; grid-template-columns:1fr; gap:18px; margin-bottom:26px; }
.original-detail-page .shaft-feature-card { margin:0; border:1px solid #e3e7ee; background:#f6f7f9; padding:12px; max-width:360px; }
.original-detail-page .shaft-feature-card img { display:block; width:100%; height:auto; background:#fff; object-fit:contain; }
.original-detail-page .shaft-feature-card figcaption { margin-top:9px; color:#d0102a; font-size:14px; line-height:1.7; font-weight:700; text-align:center; background:#fff; padding:8px; }
.original-detail-page .resin-lp-link { display:inline-flex; align-items:center; justify-content:center; margin-top:18px; min-height:44px; padding:10px 20px; background:#d0102a; color:#fff; text-decoration:none; font-weight:700; font-size:14px; letter-spacing:.04em; }
.original-detail-page .resin-lp-link:hover { opacity:.9; }
.original-detail-page .leaflet-link { display:inline-flex; align-items:center; gap:8px; margin-top:12px; color:#5168a8; text-decoration:underline; text-underline-offset:3px; font-weight:700; }
.original-detail-page .leaflet-link img { width:18px; height:auto; }
@media (max-width:900px){
  .original-detail-page .custom-example-grid, .original-detail-page .custom-example-grid.is-three, .original-detail-page .shaft-feature-grid { grid-template-columns:1fr; }
}

/* v3.1 shaft piece page: match current compact layout */
.original-detail-page.shaft-piece-page .shaft-feature-grid {
  display: block;
  margin: 0 0 22px;
}
.original-detail-page.shaft-piece-page .shaft-feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 265px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
}
.original-detail-page.shaft-piece-page .shaft-feature-card figcaption {
  order: -1;
  margin: 0 0 6px;
  padding: 0;
  color: #d0102a;
  background: transparent;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}
.original-detail-page.shaft-piece-page .shaft-feature-card img {
  display: block;
  width: 265px;
  max-width: 100%;
  height: auto;
  background: transparent;
  object-fit: contain;
}
.original-detail-page.shaft-piece-page .custom-feature-item {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.original-detail-page.shaft-piece-page .custom-feature-item h4 {
  margin: 0 0 8px;
  color: #d0102a;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: .06em;
}
.original-detail-page.shaft-piece-page .custom-feature-item p {
  margin: 0;
}
.original-detail-page.shaft-piece-page .product-material {
  margin-top: 6px;
  margin-bottom: 16px;
}
.original-detail-page.shaft-piece-page .custom-name-box {
  margin-top: 32px;
}

/* v3.2 shaft piece page: current-site-like visual layout */
.original-detail-page.shaft-piece-page .product-detail-hero {
  grid-template-columns: minmax(320px, 48%) 1fr;
  gap: 42px;
  align-items: start;
}
.original-detail-page.shaft-piece-page .product-detail-visual.shaft-piece-gallery {
  border: 0;
  background: transparent;
  padding: 0;
}
.original-detail-page.shaft-piece-page .shaft-piece-gallery figure {
  margin: 0;
}
.original-detail-page.shaft-piece-page .shaft-piece-gallery img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  object-fit: contain;
}
.original-detail-page.shaft-piece-page .shaft-piece-gallery figcaption {
  margin: 8px 0 0;
  color: #111827;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  text-align: left;
}
.original-detail-page.shaft-piece-page .shaft-gallery-main {
  margin-bottom: 28px;
}
.original-detail-page.shaft-piece-page .shaft-gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.original-detail-page.shaft-piece-page .shaft-gallery-sub img {
  aspect-ratio: 4 / 2.65;
  object-fit: cover;
  background: #fff;
}
.original-detail-page.shaft-piece-page .shaft-gallery-mpo {
  max-width: 260px;
}
.original-detail-page.shaft-piece-page .shaft-piece-copy {
  border-top: 1px solid #d0102a;
  padding-top: 20px;
}
.original-detail-page.shaft-piece-page .shaft-piece-copy .custom-feature-item {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
}
.original-detail-page.shaft-piece-page .shaft-piece-copy .custom-feature-item h4 {
  margin: 0 0 7px;
  color: #111827;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0;
}
.original-detail-page.shaft-piece-page .shaft-piece-copy .custom-feature-item p,
.original-detail-page.shaft-piece-page .shaft-piece-copy p {
  font-size: 14px;
  line-height: 1.95;
}
.original-detail-page.shaft-piece-page .shaft-piece-copy .product-material {
  margin: 4px 0 16px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .original-detail-page.shaft-piece-page .product-detail-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .original-detail-page.shaft-piece-page .shaft-gallery-row {
    grid-template-columns: 1fr;
  }
  .original-detail-page.shaft-piece-page .shaft-gallery-mpo {
    max-width: 100%;
  }
}
/* v3.3 English original product headings */
.original-detail-page .legacy-main h2 .product-heading-prefix,
.original-detail-page .legacy-main h2 .product-heading-name {
  display: block;
}
.original-detail-page .legacy-main h2 .product-heading-prefix {
  margin-bottom: 4px;
}
