#ToPageTop {z-index: 2;}
#footer {margin-top: 0!important;}
#toyspecial .view_timer{display: none;}

#toyspecial {
    --color-rainbow: linear-gradient(135deg, #d90073, #f58600, #ffcf10, #68cf00, #00b6c7);
    --color-gold: linear-gradient(135deg, #ab832e, #e0bc70, #ab832e);
    --point-color: #ca0f25;
    --color-coupon: #ff1f6f; /* offクーポン */
    --color-td: #21cd9f; /* T/ｄポイント */
    --color-txt: #562217;
    --font-pop: "Mochiy Pop One", sans-serif;
    --size-large: clamp(20px, 0.953rem + 1.4vw, 32px);
    --size-medium: clamp(16px, 0.901rem + 0.47vw, 20px); 
    --size-small: clamp(14px, 0.833rem + 0.21vw, 16px);
    --margin-10-20: clamp(10px, 0.417rem + 1.04vw, 20px);
    --margin-30-60: clamp(30px, 1.25rem + 3.13vw, 60px);
    position: relative;
    margin: 0 auto;
    animation: fadeIn .5s;
}
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
#toyspecial * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style-type: none;
}
#toyspecial h1 {
    padding: 2px 8px!important;
}
#toyspecial h2 {
    position: relative;
    color: var(--color-txt);
    font-family: var(--font-pop);
    font-size: var(--size-large);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: left;
    text-shadow: 3px 3px 0px rgba(255, 255, 255, 1);
    padding-bottom: 16px;
    align-items: center;
}
#toyspecial h2.bigger_ew {
    font-size: 1.4em;
}
#toyspecial h2 .img_ew  {
    width: clamp(70px, 2.917rem + 7.29vw, 140px);
    transform: translateY(8px); 
    animation: 4s infinite bound;
}
@keyframes bound {
    0% {
        transform: translateY(8px); 
    }
    3% {
        transform: translateY(0px); 
    }
    6% {
        transform: translateY(8px); 
    }
    9% {
        transform: translateY(0px); 
    }
    11% {
        transform: translateY(8px); 
    }
}
#toyspecial h2::before {
    position: absolute;
    content: '';
    height: 50px;
    width: 50px;
    bottom: 0;
    right: 0;
}
#toyspecial h2::after {
    position: absolute;
    content: '';
    height: 10px;
    width: 100%;
    bottom: 0;
    left: 0;
    animation: gradient 3s ease infinite;
}
#toyspecial h2.bf_ew::after {
    background: var(--color-rainbow);
    background-size: 200% 100%;
}
#toyspecial h2.xmas_ew::after {
    background: var(--color-gold);
    background-size: 200% 100%;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
#toyspecial h2 .small_ew {
    display: block;
    font-size: .75em;
    font-weight: bold;
}
#toyspecial .inner_ew {
    position: relative;
    width: min(98%, 1280px);
    margin: 0 auto;
    padding: 0 2% 2%;
    background-color: #fff;
    z-index: 1;
}
#toyspecial section {
    position: relative;
    margin: 0 auto clamp(50px, 2.083rem + 5.21vw, 100px);
}
#toyspecial section:last-child {
    margin: 0 auto;
}
#toyspecial section .wrap_ew {
    position: relative;
    margin: var(--margin-30-60) auto;
}
#toyspecial .bg_ew {
    position: relative;
}
#toyspecial .bg_layer_ew {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#toyspecial .bg_layer_ew.bf_ew {
    background-color: #000000;
    background-image: radial-gradient(circle, #222222 5px, transparent 5px);
    background-position: 0 0;
    background-size: 18px 18px;
}
#toyspecial .bg_layer_ew.xmas_ew {
    background-color: #c93232;
    background-image: repeating-linear-gradient(45deg, #c93232, #c93232 9px, #BF0C0C 9px, #BF0C0C 18px);
}
#toyspecial .img_ew {
    display: block;
    width: 100%;
    height: auto;
}
#toyspecial .flex_ew {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: var(--margin-10-20);
}
#toyspecial .grid_ew {
    display: grid;
    gap: var(--margin-10-20);
}
#toyspecial .bigger_ew {
    font-size: 1.2em;
}

/* 5%OFF */
#toyspecial .off_ew {
    width: min(100%, 1000px);
    font-size: var(--size-small);
}
#toyspecial .off_ew .off-txt_ew {
    text-align: center;
    padding: .5em;
    color: #000;
    border: 3px solid var(--color-coupon);
    background-color: #fff;
}
#toyspecial .off_ew .off-txt_ew span {
    background: var(--color-coupon);
    color: #fff;
    margin: 0 0.3em;
    padding: .1em 1.2em;
    border-radius: 6px;
    display: inline-block;
}
#toyspecial .off_ew .small_ew {
    text-align: right;
    padding: 0;
}
#toyspecial .off_ew .small_ew a {
    font-weight: bold;
    color: var(--color-coupon);
}
#toyspecial .off_ew .small_ew span {
    text-decoration: underline;
}

/* クーポン 注意事項*/
#toyspecial .notes_ew {
    font-size: var(--size-small);
}
#toyspecial .notes_ew h3 {
    font-size: 1.3em;
    text-align: center;
    letter-spacing: .1em;
    margin-bottom: .3em;
    line-height: 1.2;
}
#toyspecial .notes_ew > ul {
    background-color: #fff;
    padding: 1em;
    border: 6px solid var(--color-coupon);
}
#toyspecial .notes_ew > ul li {
    margin: .3em 0 .3em 1em;
}
#toyspecial .notes_ew > ul li::before {
    content: "※";
    margin-left: -1em;
}

/* 開催後 */
#toyspecial .end_ew {
    padding: 35px 15px;
    background: #fbedea;
    color: #9f1a1f;
    border-radius: 3px;
    text-align: center;
    font-size: var(--size-medium);
}
#toyspecial .end_ew a {
    font-weight: 800;
    color: #e41219;
    text-decoration: underline;
}

/* ナビ・ボタン */
#toyspecial .nav_ew {
    position: relative;    
    margin: 0 auto;
    width: min(100%, 1100px);
}
#toyspecial .btn_ew {
    width: min(90%, 600px);
    margin: 2rem auto 0;
}
#toyspecial .nav_ew > li,
#toyspecial .btn_ew {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1em;
    outline: 2px solid #fff;
    outline-offset: -5px;
    background: var(--color-gold);
    background-blend-mode: color-burn;
    border-radius: 10px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
    transition: all .3s;
}
#toyspecial .nav_ew > li:nth-child(1) {
    background: #d90073;
}
#toyspecial .nav_ew > li:nth-child(2) {
    background: #f58600;
}
#toyspecial .nav_ew > li:nth-child(3) {
    background: #68cf00;
}
#toyspecial .nav_ew > li:nth-child(4) {
    background: #00b6c7;
}
#toyspecial .nav_ew > li > a,
#toyspecial .btn_ew > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--margin-10-20);
    width: 100%;
    font-family: var(--font-pop);
    font-size: var(--size-medium);
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    text-align: left;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}
#toyspecial .nav_ew > li:hover,
#toyspecial .btn_ew:hover {
    transform: translateY(5px);
    box-shadow: none;
    opacity: .75;
}

/* top */
#toyspecial #top_ew .wrapping_ew.bf_ew {
    padding: 2em;
    font-family: var(--font-pop);
    font-size: clamp(0.875rem, 0.583rem + 1.46vw, 1.75rem);
    text-align: center;
    padding: 1em;
    color: #fff;
    background: #000;
    border: 8px solid #ab832e;
    border-image: linear-gradient(to bottom, #ab832e, #e0bc70, #ab832e) 1;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
#toyspecial #top_ew .wrapping_ew.bf_ew p:first-child {
    margin-bottom: .25em;
}
#toyspecial #top_ew .wrapping_ew.bf_ew p + .img-wrap_ew {
    margin-top: 1em;
}
#toyspecial #top_ew .wrapping_ew .img-wrap_ew {
    background: rgba(213, 81, 68, 1);
}

/* 24大おトク大作戦 */
#toyspecial #sec04_ew h3 { 
    margin-bottom: 1.5em;
    padding: .75em 1em;
    font-family: var(--font-pop);
    font-size: var(--size-medium);
    font-weight: 400;
    text-align: center;
    color: #fff;
}
#toyspecial #sec04_ew h3.bf_ew { 
    background: #000;
}
#toyspecial #sec04_ew h3.xmas_ew { 
    background: #014225;
}
#toyspecial #sec04_ew .flex_ew {
    align-items: center;
}
#toyspecial #sec04_ew .grid_ew {
    position: relative;
    padding: var(--margin-10-20); 
    grid-template-columns: clamp(100px, 4.167rem + 10.42vw, 200px) auto;   
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #dddddd;
    overflow: hidden;
    transition: all .3s;
}
#toyspecial #sec04_ew .grid_ew:hover {
    transform: translateY(5px);
    opacity: .75;
}
#toyspecial #sec04_ew .txt_ew {
    font-size: var(--size-small);
    font-weight: bold;
    color: #000;
}
#toyspecial #sec04_ew .txt_ew p {
    display: inline;
    background: linear-gradient(transparent 50%, rgba(255, 255, 0, 0.8) 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 1.2em;
}
#toyspecial #sec04_ew .txt_ew p + span {
    margin-top: 1em;
}
#toyspecial #sec04_ew .txt_ew>span {
    display: block;
}
#toyspecial #sec04_ew .txt_ew .red_ew {
    color: #f00;
}


/* 矢印 */
#toyspecial #sec04_ew .icon_arrow_ew {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    width: var(--margin-30-60);
    height: var(--margin-30-60);
}
/* <!-- ▲特集エリア1▼ --> */


/* <!-- ▼特集エリア2▼ --> */

/* 紙吹雪 */
body {
    overflow-x: hidden;
}
.confetti-area_ew {
  position: fixed;
  top: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}
.confetti-left {
  left: 0;
  width: 15%;
}
.confetti-right {
  right: 0;
  width: 15%;
}
.confetti_ew {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 16px;
  opacity: 0.9;
  animation: fall linear 2;
}
@keyframes fall {
  0% {
    transform: translateY(-20px) rotate(0deg) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: translateY(105vh) rotate(360deg) rotateX(360deg) rotateY(180deg);
  }
}
/* reflection */
.reflection_ew{
    display: block;
    position: relative;
    overflow: hidden;
}
.reflection_ew:before {
    position: absolute;
    content: "";
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-45deg);
    animation: reflection 4s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite;
}
@keyframes reflection {
    0% {left: -100%;}
    10% {left: 100%;}
    100% {left: 100%;}
}
/* 左右アニメ */
.pyoko-left_ew, .pyoko-right_ew {
    position: fixed;
    bottom: 0;
    width: clamp(75px, 3.125rem + 7.81vw, 150px);
    height: auto;
    z-index: 2;
}
.pyoko-left_ew {
    left: 0;
    animation: pyokoLeft 3.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.pyoko-right_ew {
    right: 0;
    animation: pyokoRight 3.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.initial-hidden {
    transform: translateY(250%);
}
@keyframes pyokoLeft {
    0% { transform: translateY(250%) rotateY(0deg) scale(1); }
    10% { transform: translateY(-30%) rotateY(0deg) scale(1); } 
    15% { transform: translateY(0%) rotateY(0deg) scale(1); } 
    20% { transform: translateY(0%) rotateY(0deg) scale(1); }
    45% { transform: translateY(0%) rotateY(1080deg) scale(1); }
    50% { transform: translateY(0%) rotateY(1080deg) scale(1); }
    55% { transform: translateY(-50%) rotateY(1080deg) scale(1.2); }
    60% { transform: translateY(10%) rotateY(1080deg) scale(0.9); }
    65% { transform: translateY(0%) rotateY(1080deg) scale(1); } 
    75% { transform: translateY(0%) rotateY(1080deg) scale(1); }
    80% { transform: translateY(-20%) rotateY(1080deg) scale(1.05); }
    90% { transform: translateY(250%) rotateY(1080deg) scale(0.8); }
    100% { transform: translateY(250%) rotateY(1080deg) scale(0.8); } 
}
@keyframes pyokoRight {
    0% { transform: translateY(250%) rotateY(0deg) scale(1); }
    10% { transform: translateY(-30%) rotateY(0deg) scale(1); }
    15% { transform: translateY(0%) rotateY(0deg) scale(1); }
    20% { transform: translateY(0%) rotateY(0deg) scale(1); }
    45% { transform: translateY(0%) rotateY(-1080deg) scale(1); }
    50% { transform: translateY(0%) rotateY(-1080deg) scale(1); }
    55% { transform: translateY(-50%) rotateY(-1080deg) scale(1.2); }
    60% { transform: translateY(10%) rotateY(-1080deg) scale(0.9); }
    65% { transform: translateY(0%) rotateY(-1080deg) scale(1); }
    75% { transform: translateY(0%) rotateY(-1080deg) scale(1); }
    80% { transform: translateY(-20%) rotateY(-1080deg) scale(1.05); }
    90% { transform: translateY(250%) rotateY(-1080deg) scale(0.8); }
    100% { transform: translateY(250%) rotateY(-1080deg) scale(0.8); }
}


/*PC*/
@media screen and (min-width: 961px) {
    #toyspecial #sec02_ew #resultBox > ul > li:nth-child(n + 11),
    #toyspecial #sec03_ew #resultBox > ul > li:nth-child(n + 11) {
        display: none;
    }
    #resultBox.type1 > ul {
        display: flex;
        flex-flow: row wrap;
    }
    #toyspecial #resultBox.type1 > ul > li {
        width: 20%;
        zoom: 90%;
    }
    #toyspecial .pc_ew {
        display: block;
    }
    #toyspecial .br960_ew {
        display: none;
    }
    #toyspecial .nav_ew > li {
        width: calc(25% - var(--margin-10-20));
    }
    #toyspecial #sec04_ew .wrap_ew .flex_ew>* {
        width: calc(50% - var(--margin-10-20));
    }
    #toyspecial .deco_item_ew {
        position: fixed;
        content: '';
        width: clamp(75px, 3.125rem + 7.81vw, 150px);
        height: clamp(75px, 3.125rem + 7.81vw, 150px);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
        z-index: 1;
    }
    #toyspecial .deco_left_ew {
        top: 50%;
        left: calc(50% - min(50%, 640px));
        transform: translateX(-110%);
        background: url(/ito/img/0to/0000002260/2611/present-left.png) no-repeat center / contain;
        animation: 3s ease-in-out 0s infinite floatingLeft;
    }
    @keyframes floatingLeft {
        0% {
            transform: translate(-110%, 0) rotate(0deg);
        }
        50% {
            transform: translate(-110%, -15px) rotate(0deg);
        }
        100% {
            transform: translate(-110%, 0) rotate(0deg);
        }
    }
    #toyspecial .deco_right_ew {
        top: 30%;
        right: calc(50% - min(50%, 640px));
        transform: translateX(110%);
        background: url(/ito/img/0to/0000002260/2611/present-right.png) no-repeat center / contain;
        animation: 3s ease-in-out 2s infinite floatingRight;
    }
    @keyframes floatingRight {
        0% {
            transform: translate(110%, 0) rotate(0deg);
        }
        50% {
            transform: translate(110%, -10px) rotate(0deg);
        }
        100% {
            transform: translate(110%, 0) rotate(0deg);
        }
    }
}
/*SP*/
@media screen and (max-width: 960px) {
    #toyspecial #sec02_ew #resultBox > ul > li:nth-child(n + 9), 
    #toyspecial #sec03_ew #resultBox > ul > li:nth-child(n + 9) {
        display: none;
    }
    #toyspecial .pc_ew {
        display: none;
    }
    #toyspecial .br960_ew {
        display: block;
    }
    #toyspecial .nav_ew > li {
        width: calc(50% - var(--margin-10-20));
    }

    #toyspecial #sec04_ew .wrap_ew .flex_ew>* {
        width: 100%;
    }
}
@media screen and (min-width: 601px) {
    #toyspecial .br600_ew {
        display: none;
    }
}
@media screen and (max-width: 600px) {
    #toyspecial .br600_ew {
        display: block;
    }
}