    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: sans-serif; padding: 1%; overflow-anchor: none;}
   
    .rapper{width : 1300px;margin:0 auto;margin-bottom: 300px;}

    div.productDisplayArea{display: none;}
    div.endOfCampaign{
        display: none;
        justify-content: center;
        border: 5px double #aaa;
        padding: 100px 0 100px 0;
    }
    div.nowLoading{
        display:flex;
        justify-content: center;
    }
    div.head-logo a {
        float: left;
        display: block;
        margin: 0;
        width: 227px;
    }
    .MainBanner Img { width : 100%;}

    div#CampaignName {
        display: flex;
        justify-content: center;
        font-size: xxx-large;
        text-shadow: 1px 1px 7px darkred;
        font-style: oblique;
        font-weight: 800;
    }
    div#CampaignDescription {
        display: block;
        text-align: center;
        font-size: larger;
    }
    div#CampaignPeriod {
        display: block;
        text-align: center;
        font-size: x-large;
    }

    .title{display:flex;}
    .categoryFilters { display: flex; gap: 8px; flex-wrap: wrap; margin:1rem auto  1rem auto; justify-content: center; }
    .categoryButton{ padding: 6px 16px; border-radius: 20px; border: 1px solid #ccc; background: transparent; color: #666; font-size: 13px; cursor: pointer; }
    .categoryButton.active { background: #e8f0fe; color: #1a73e8; border-color: transparent; }

    .grid { display: grid; grid-template-columns: repeat(5, 19.6%); gap: 20px 0.5%; }
    .grid a{ color: #000;  text-decoration: none; justify-content: center;}

    .cardurl{
        height:auto;
        box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3), 1px 1px 3px rgba(0, 0, 0, .08);
        border-radius:12px; 
        border: 1px solid #e0e0e0;
        background: #fff; 
        overflow: hidden;
        transition: transform 0.2s ease;
        transform-origin: center center;
    }
    .cardurl:hover{ border-color:#4da6ff; border-width: 2px; transform: scale(1.01);}
    .card { 
        background: #fff; 
        width:100%;  
        height:100%;
        position:relative;
    }
    .headline {
        background-color: gold;
        text-align: center;
        place-content: center;
        height: 30px;
        font-style: italic;
        color: black;
    }
    .cImage{ display: flex; justify-content: center; aspect-ratio: 1/1;}
    .cImage img{position:relative;width:100%;height:100%;object-fit:contain; border:0;}
    .txtField{padding:0;    height: auto;}

    .cPropatys{display: flex; gap:5px; margin:5px 0 5px 0;flex-wrap: wrap; height: 0rem; overflow: hidden;    padding: 0 5px;}
    .cPropaty{ flex-shrink: 0; white-space: nowrap; font-size: 0.7rem; background-color: #bbb; border-radius: 12px; padding:5px; height: 1.7rem; border:1px; border-color: #666;}

    .cPlice{text-align: right; height: 3rem; background-color: red;font-style: italic;}
    .cSpecialPrice{ font-size:xx-large; font-weight: bold;}
    .cSpecialPrice,
    .taxes{color: white; }
    hr.priceLine {
        position: relative;
        top: -3px;
        height: 2px;
        background-color: white;
        border: none;
    }
    .specialPriceDisplay{ color:black; background-color: yellow; padding: 0 5px; width:100%;}
    .taxes,
    .cSalesFormat{font-size:small; text-align: left; padding-left:10px; height:1.1rem;}
    .cUserflag{font-size:small; text-align: center; height:1rem;}

    .taxes{    margin-right: 25px;}

    .cMaker{font-size:small; color:#666;    padding: 5px 10px;height: 1.8rem;}
    .cModelName{
        display: flex;
        justify-content: center;
        text-align: center;
        font-size: large;
        height: 72px;
        overflow: hidden;
        overflow-wrap: anywhere;
        line-height: 1.5rem;
        align-items: center;
        padding: 0px 10px;
        background-color: snow;
    }
    .cCurrentPrice{display :flex; justify-content: flex-end;align-items: baseline;font-size:small;text-decoration-line:line-through; color:#666;}
    .cCurrentPrice::before{ content: "通常価格"; margin-right:0.5rem; font-size:small; color:#666;}

    .climit{color:black;font-size: small; text-align: center; height: 2rem;}
    .limitedQuantity{color:red;font-size: large; text-align: center;font-weight: bold;}

    .grid div:hover .cModelName{color: #4da6ff; cursor:pointer; }


    
    .soldout{ position: absolute;inset: 0; border-radius:12px; background-color: rgba(0, 0, 0, 0.2); z-index:100; display:none; justify-content: center;}
    .soldout.active{display:flex;}
    .soldout img{    width: auto;
        height: auto;
        max-width: 50%;
        max-height: 50%;
        margin: 55px;
        transform: rotate(25deg);
    }

    .pageNum{ width:100%; display:flex;justify-content: center;}

    div#gPagination {
        display: flex;
        justify-content: center;
        font-size: large;
        gap: 1rem;
        margin-top: 40px;
    }
    .cPn,.pPn,.pBttom{
        text-decoration: none;
        text-align: center;
        color: initial;
        padding-top: 5px;
    }
    .pPn[disabled] { pointer-events: none; }
    .cPn:hover,.pPn:hover,.pBttom:hover{color:lightblue;}
    .cPn{width: 1.5rem; height:2rem;}
    .pPn{width: 4rem;}
    .cPn.active {pointer-events: none;color: black;border-bottom: 3px solid blue;}

    .bottomHr{
        border-top: 3px double #aaa;
        margin:1rem;
    }

    .pageBottom {display: flex;justify-content: right;}


    @media screen and (max-width:1300px){
        .rapper{width : 100%;margin:0 auto;margin-bottom: 300px;}
        .grid { display: grid; grid-template-columns: repeat(4, 24%);column-gap:0.66%;row-gap: 20px;  }
        .card { height:auto;}
    }

    @media screen and (max-width:1000px){
        .rapper{width : 100%;margin:0 auto;margin-bottom: 300px;}
        div#CampaignName { font-size: 40px;  }
        div#CampaignDescription { font-size: medium; }
        .grid { display: grid; grid-template-columns: repeat(3, 32%);column-gap:1%;row-gap: 20px; }
        .card { height: auto;}
    }
    @media screen and (max-width:800px){
        .rapper{width : 100%;margin:0 auto;margin-bottom: 300px;}
        div#CampaignName { font-size: 30px;  }
        div#CampaignDescription { font-size: small; }
        .grid { display: grid; grid-template-columns: repeat(2, 48.5%); column-gap:1%;row-gap: 20px; }
        .card { height:auto;}
    }
    @media screen and (max-width:600px){
        .rapper{width : 100%;margin:0 auto;margin-bottom: 300px;}
        div#CampaignName { font-size: 20px;  }
        div#CampaignDescription { font-size: x-small; }
        .grid { display: grid; grid-template-columns: repeat(1, 100%); column-gap:0;row-gap: 30px;}
        .card { height:auto;}
        .cModelName { font-size: x-large; height: 110px;}
        .specialPriceDisplay { font-size: large; }
    }
    @media screen and (max-width:460px){
        .rapper{width : 100%;margin:0 auto;margin-bottom: 300px;}
        div#CampaignName { font-size: 18px;  }
        div#CampaignDescription { font-size: 7px; }
        div#CampaignPeriod { font-size: medium; }
        .grid { display: grid; grid-template-columns: repeat(1, 100%); column-gap:0;row-gap: 30px;}
        .card { height:auto;}
        .cModelName { font-size: x-large; height: 110px;}
        .specialPriceDisplay { font-size: large; }
    }
    @media screen and (max-width:360px){
        .rapper{width : 100%;margin:0 auto;margin-bottom: 300px;}
        div#CampaignName { font-size: 15px;  }
        div#CampaignDescription { font-size: 6px; }
        div#CampaignPeriod { font-size: medium; }
        .grid { display: grid; grid-template-columns: repeat(1, 100%); column-gap:0;row-gap: 30px;}
        .card { height:auto;}
        .cModelName { font-size: x-large; height: 110px;}
        .specialPriceDisplay { font-size: large; }
    }
