        body {
            background-color: #000;
            color: #fff;
            font-family: sans-serif;
            margin: 0;
            padding: 0;
            font-size: 13px;
        }
img{max-width:100%;}
        .dfoot {
            display: block;
            font-style: normal;
            text-align: center;
            margin-top: 24px;
            margin-bottom: 24px;
            font-size: 13px;
        }

        .detail {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #000 0%, #3c3c3c 40%, #000 100%);
            border-bottom: 8px solid #d2ee14;
            width: 100%;
            margin-bottom: 36px;
            min-height: 300px;
        }
       .content .detail .inner{
            position: relative;
            width: 100%;
            max-width: 1168px;
            /* ← 最大幅を指定 */
            margin: 0 auto;
            /* ← 中央揃え */
        }

        .detailBG {
            display: block;
            width: 100%;
            height: auto;
            max-width: 1537px;
            /* ← これで拡大を防ぐ */
            margin: 0 auto;
            /* ← 中央揃え（任意） */
        }

        .overlay-area {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            padding-top: calc(848 / 1537 * 100%);
            z-index: 2;
            pointer-events: none;
        }

        .content-area {
            position: absolute;
            pointer-events: auto;
            width: 1168px;
            margin:0 auto;
        }

        /* PC向け（背景: detail_sendaiBG.png） */
        @media screen and (min-width: 1201px) {
            .content-area {
                top:0; left: 0;right:0;margin:0 auto;
                width: 1168px; height:600px;
            }

            .dNum {
                position: absolute;
                top: 33%;
                left: 63.7%;
                width: 4.6%;
                /* ← .content-area内で54px相当 */
                opacity: 0.8;
            }
        }

        /* 中間サイズ（背景: detail_sendaiBG2.png） */
        @media screen and (min-width: 769px) and (max-width: 1200px) {
            .content-area {
                top: 4.716%;
                left: 1.417%;
                width: 97.333%;
                height: 90.566%;
            }

            .dNum {
                position: absolute;
                top: 43%;
                left: 64%;
                width: 4.6%;
                /* ← .content-area内で54px相当 */
                opacity: 0.8;
            }
        }

        /* スマホ（背景: detail_sendaiBGSP.png） */
        @media screen and (max-width: 768px) {
            .content-area {
                top: 0;
                left: 0;
                width: 100%;
                height: auto;
            }

            .dNum {
                position: absolute;
                top: 17%;
                left: 64.5%;
                width: 6%;
                opacity: 0.8;
            }
        }

        .dName {
            position: absolute;
               top: 9%;
            right: 0;
            width: calc(100%*539/1168); 
            z-index: 2;
        }
        .dName_text {
          position: absolute;
            top:42%;
            right: 4%;
            width: calc(100%*615/1168);
            z-index: 2;
        }
        .beyblade {
          position: absolute;
    top: 42%;
    right: 41.8%;
    width: calc(100% * 100 / 1168);
    z-index: 5;
        }
        .beyblade2 {
          position: absolute;
top: 42%;
right: 33%;
width: calc(100%*100/1168);
z-index: 5;
        }
        .dName img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .dBey {
            display: flex;
            flex-wrap: wrap;
            margin-top: 1vw;
            width: 100%;
            /* ← dNameと連動 */
            max-width: 100%;
            box-sizing: border-box;
            margin: 3% 0 0 0;
            padding: 0 0 0 3%;
        }

        .dBey img {
            width: 33%;
            height: auto;
            display: block;
            margin: 0 -3% 0 0;
        }



        .dPh {
            position: absolute;
            top: 0;
            left: 30px;
            /* .content-areaの右端にぴったり吸着 */
width: calc(100%*530/1168);
        }

        .dPh img {
            width: 100%;
            /* 親の48%にフィット */
            height: auto;
            display: block;
        }



        .dNum img {
            max-width: 100%;
            height: auto;
            display: block;
        }


        .dbackLink {
            display: block;
            width: 300px;
            margin: 24px auto 0;
            color: #FFF;
            border: 1px solid #FFF;
            padding: 16px;
            text-align: center;
            text-decoration: none;
            font-size: 13px;
        }

        .dbackLink:hover {
            opacity: 0.6;
        }

        /* モーダル全体の背景 */
        .modal {
            position: fixed;
            /* ← 全画面を覆うので absolute → fixed に */
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.8);
            /* ← 黒 + 透明度80% */
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        /* モーダルの画像部分 */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.show {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            position: relative;
            max-width: 80%;
            max-height: 80%;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .modal.show .modal-content {
            transform: scale(1);
        }

        .close-btn {
            position: absolute;
            top: 0;
            right: 0;
            background: none;
            border: none;
            font-size: 32px;
            color: #fff;
            cursor: pointer;
            z-index: 10;
            padding: 8px;
        }

        .close-btn:hover {
            color: #00c0e3;
        }

        .close-btn:hover {
            color: #00c0e3;
        }

        @media screen and (max-width: 768px) {
            body {
                font-size: 12px;
                padding: 0 0 36px;
            }

            .title {
                font-size: 20px;
                margin-bottom: 6px;
            }

            .subtitle {
                font-size: 14px;
                margin: 10px auto;
            }

            .table-container {
                overflow-x: auto;
                margin: 0 -12px;
            }

            table {
                min-width: 600px;
                font-size: 12px;
            }

            th,
            td {
                padding: 6px;
                white-space: nowrap;
            }

            /* 全体の最大幅が画面サイズを超えないように調整 */
            .detail,
            .inner,
            .content-area {
                width: 100% !important;
                left: 0 !important;
                max-width: 100%;
            }

            /* .detailの中身はスマホ用にあとで差し替え予定なので非表示も可能 */
            .detail {
                /* display: none; */
                /* 差し替え準備できるまでコメントアウト */
            }

            .modal-content {
                position: relative;
                max-width: 98%;
                max-height: 98%;
                transform: scale(0.8);
                transition: transform 0.3s ease;
            }

            .modal-content img {
                width: 98% !important;
                height: auto;
            }


            .dName {
                position:static;
                width: 100%;margin:103vw auto 0;
                z-index: 2;
            }

        .dName_text {
                width: 100%; margin:0px auto 0 1vw;position:static;
                z-index: 2;
        }
        .beyblade {
          position: absolute;
            top: 138.3vw;right:auto;left:3.7vw;
            width: 20vw;
            z-index: 5;
        }
    .beyblade2 {
          position: absolute;
            top: 144vw;right:auto;left:24vw;
            width: 20vw;
            z-index: 5;
        }
            .dName img {
                width: 100%;
                height: auto;
                display: block;
            }

            .dBey {
                display: flex;
                flex-wrap: wrap;
                margin-top: 1vw;
                width: 100%;
                /* ← dNameと連動 */
                max-width: 100%;
                box-sizing: border-box;
                margin: 3% 0 0 0;
                padding: 0 0 0 3%;
            }

            .dBey img {
                width: 33%;
                height: auto;
                display: block;
                margin: 0 -3% 0 0;
            }



            .dPh {
                position: absolute;
                top: 0;
                right: 0; left:0; margin:0 auto;
                /* .content-areaの右端にぴったり吸着 */
                width: 92%;
            }

            .dPh img {
                width: 100%;
                /* 親の48%にフィット */
                height: auto;
                display: block;
            }



            .dNum img {
                width: 100%;
                height: auto;
                display: block;
            }


            .backLink {
                display: block;
                width: 300px;
                margin: 0 auto;
                color: #FFF;
                border: 1px solid #FFF;
                padding: 16px;
                text-align: center;
                text-decoration: none;
            }

            .backLink:hover {
                opacity: 0.6;
            }


            .dBey {
                display: flex;
                flex-wrap: wrap;

                width: 100%;
                /* ← dNameと連動 */
                max-width: 100%;
                box-sizing: border-box;
                margin: 3% 0 0 0;
                padding: 0 0 0;
            }

            .dBey img {
                width: 36%;
                height: auto;
                display: block;
                margin: 0 -1.5%;
            }

        }