    .content-wrapper {
        display: flex;
        flex-wrap: wrap;
    }
    /* Desktop: ensure enough gap between image column and info column
       and make widths account for the gap to avoid wrapping */
    @media (min-width: 1025px) {
        .content-wrapper {
            gap: 50px;
        }
        .image-column {
            box-sizing: border-box;
            /* subtract half the gap from each column so combined widths + gap ~= 100% */
            flex: 0 0 calc(40% - 25px);
        }
        .info-column {
            box-sizing: border-box;
            flex: 1 1 calc(60% - 25px);
            min-width: 0; /* allow shrinking inside flex */
        }
    }
    .image-column {
        width: 40%;
        padding-right: 20px;
    }
    .info-column {
        width: 60%;
    }
    .m-image {
        margin-top: 0px;
    }
    .sub-images-container {
        display: flex;
        gap: 10px;
        margin-top: 50px; /* メイン画像との間隔 */
    }
    .sub-image {
        width: calc((100% - 10px) / 3); /* 3つの画像と2つのギャップ(5px*2)を考慮 */
        height: auto;
        display: block;
    }

    /* Main and sub images: add light gray border */
    .m-image_item img,
    .sub-image {
        border: 1px solid #cccccc;
        box-sizing: border-box;
    }

    .product-tags {
        margin-top: 50px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    
    @media (max-width: 600px) {
        .image-column,
        .info-column {
            width: 100%;
            padding-right: 0;
        }
        .product-tags {
            margin-bottom: 30px; /* スマートフォン表示時のマージン */
        }
    }
    .share-buttons {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .share-text {
        margin-right: 10px;
        font-weight: bold;
    }

    .share-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        text-decoration: none;
    }

    .share-icon {
        width: 24px; /* アイコンのサイズ */
        height: 24px; /* アイコンのサイズ */
    }

    .share-button.twitter {
        color: #000000;
    }

    .share-button.facebook {
        color: #1877F2;
    }

    .share-button.instagram {
        color: #E4405F; /* Instagramのブランドカラー */
    }

    .share-button.line {
        color: #00C300; /* LINEのブランドカラー */
    }

    .product-info {
        margin-top: 20px;
    }

    .info-section {
        margin-bottom: 50px;
    }

    .info-section h3 {
        font-size: 1.2em;
        font-weight: bold;
        margin-bottom: 5px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
    }

    .info-section p {
        margin-bottom: 5px;
    }

    .price-highlight {
        /* Make overall price block normal weight (細字) */
        font-weight: 400;
        font-size: 1em; /* base size for the unit portion */
    }

    /* Amount (numeric) should be larger but not bolded */
    .price-highlight .price-amount {
        display: inline-block;
        font-size: 1.4em; /* larger amount */
        line-height: 1;
        font-weight: 400; /* keep細字 */
        margin-right: 6px;
        vertical-align: baseline;
    }

    /* Unit (円（税込）) stays smaller and lighter */
    .price-highlight .price-unit {
        display: inline-block;
        font-size: 0.95em;
        color: #333;
        vertical-align: baseline;
    }

    /* Related products styles removed in favor of shared styles in index.css
       Original selectors that were here:
       .related-products-container, .slider-wrapper, .related-product-item,
       .related-product-link, .related-product-image, .related-product-title,
       .related-product-description, .related-product-tags
    */

    /* Slider button styles are defined in css/common_goods.css and shared across pages.
       Keep that single source of truth to avoid duplication. */

    /* Mobile: ensure recommend items (wrappers) are full-width on detail page as on index page */
    @media (max-width: 600px) {
        #goods_recommend .recommend-item,
        #goods_recommend_detail .recommend-item {
            flex: 0 0 100%;
            padding: 0 12%;
        }
        #goods_recommend .recommend-item .recommend-card,
        #goods_recommend_detail .recommend-item .recommend-card {
            width: 100%;
            max-width: none;
        }
    }

    .related-product-image {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .related-product-title {
        font-size: 1em; /* 適切なサイズに調整 */
        font-weight: bold;
        margin-top: 5px;
        margin-bottom: 10px;
        text-align: left;
    }

    /* 補足事項（時刻表郵送など）表示ブロック: ラッパーに上部ボーダーを付ける */
    .hosoku-block {
        border-top: 1px solid #ddd;
        margin-top: 20px;
        padding-top: 18px;
    }

    /* 個別 hosokujikou の余白はラッパー内で調整する（ラッパー有り無しで二重マージンにならないようにする） */
    .hosokujikou {
        margin-top: 0;
    }

    /* 問い合わせセクション上部に余白を追加 */
    .contact-section {
        margin-top: 50px;
    }

    .related-product-description {
        font-size: 0.9em;
        color: #555;
        margin-bottom: 10px;
        text-align: left;
    }

    .related-product-tags {
        display: flex;
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
        margin-top: 30px;
    }

    .event-date-wrapper p {
        display: inline-block;
        margin: 0; /* 余分なマージンをリセット */
        vertical-align: top;
    }

    .event-place-wrapper p {
        display: inline-block;
        margin: 0; /* 余分なマージンをリセット */
        vertical-align: top;
    }

    .other-time-wrapper p {
        display: inline-block;
        margin: 0; /* 余分なマージンをリセット */
        vertical-align: top;
    }
    .other-spot-wrapper p {
        display: inline-block;
        margin: 0; /* 余分なマージンをリセット */
        vertical-align: top;
    }

    .net-shop-release-wrapper p {
        display: inline-block;
        margin: 0; /* 余分なマージンをリセット */
        vertical-align: top;
    }

    .m-table_subheading {
        margin-top: 10px;
    }

    /* Make generated subheadings (h4.m-table_subheading) bold */
    h4.m-table_subheading {
        font-weight: 700;
    }

    .info-section .m-table_subheading:first-of-type {
        margin-top: 0;
    }
    /* Wrap blocks for each sales subsection and add spacing between them */
    .sales-block {
        margin-bottom: 30px;
    }
    .error-container {
        text-align: center;
        margin: 50px auto;
        padding: 20px;
        border: 1px solid #d9534f;
        background-color: #f2dede;
        color: #a94442;
        border-radius: 4px;
        max-width: 600px;
    }
    .error-container p {
        margin-bottom: 15px;
    }
    .error-container .m-btn {
        margin-top: 20px;
    }

/* NEWマークのスタイル */
.related-product-link {
    position: relative; /* 擬似要素の基準位置とするため */
    /* 既存のスタイルはそのまま */
}

/* Make the section container a positioned ancestor so buttons can be placed outside inner overflow:hidden elements */
#goods_recommend,
#goods_recommend_detail {
    position: relative;
}

/* Detail page: adjust slider nav vertical position to match top page visual.
   The global .slider-button uses top:50% relative to its parent which includes
   a heading; on the detail page the heading height differs so we nudge the
   buttons slightly to align visually with the index page.
*/
#goods_recommend_detail .slider-button {
    top: 42%;
}

@media (max-width: 600px) {
    /* On small screens keep the existing centered behavior */
    #goods_recommend_detail .slider-button {
        top: 50%;
    }
}

.related-product-link.new-item::before {
    content: "NEW";
    position: absolute;
    top: 5px; /* 上からの位置調整 */
    right: 5px; /* 右からの位置調整 */
    background-color: #e74c3c; /* 赤系の背景色 */
    color: white;
    font-size: 0.7em; /* 文字サイズ */
    font-weight: bold;
    padding: 3px 6px; /* 内側の余白 */
    border-radius: 3px; /* 角丸 */
    z-index: 5; /* 他の要素より手前に表示 */
    white-space: nowrap; /* テキストの折り返しを防ぐ */
}

/* スマートフォン表示時の調整（必要であれば） */
@media (max-width: 600px) {
    .related-product-link.new-item::before {
        top: 3px;
        right: 3px;
        font-size: 0.6em;
        padding: 2px 4px;
    }
}

/* メイン商品ページのNEWマークのスタイル（正円バッジ） */
.main-product-new-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #e74c3c;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    padding: 15px 0;
    border-radius: 50%;
    margin-left: 8px;
    box-sizing: border-box;
    white-space: nowrap;
}

/* スマートフォン表示時は若干小さくする */
@media (max-width: 600px) {
    .main-product-new-mark {
        width: 38px;
        height: 38px;
        font-size: 12px;
        letter-spacing: 0;
        margin-left: 6px;
        padding: 13px 0;
        margin-top: 10px;
    }
}

/* Lightbox Styles */
#lightbox-overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh; /* Adjust as needed */
    display: block;
    margin: 0 auto;
}

#lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

#lightbox-prev,
#lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

#lightbox-prev {
    left: 10px;
}

#lightbox-next {
    right: 10px;
}

#lightbox-caption {
    color: #333;
    margin-top: 10px;
    font-size: 1em;
    text-align: center;
}

#lightbox-counter {
    color: #333;
    font-size: 0.9em;
    margin-top: 5px;
}

@media (max-width: 768px) {
    #lightbox-content {
        padding: 10px;
    }
    #lightbox-close {
        font-size: 24px;
        top: 5px;
        right: 5px;
    }
    #lightbox-prev,
    #lightbox-next {
        font-size: 18px;
        padding: 5px 10px;
    }
}