:root {
    --balloon: polygon(49% 3%, 56% 15%, 66% 3%, 66% 18%, 82% 6%, 75% 18%, 92% 13%, 79% 30%, 95% 32%, 82% 43%, 95% 48%, 76% 55%, 94% 70%, 75% 70%, 79% 86%, 65% 75%, 60% 87%, 49% 74%, 34% 95%, 36% 68%, 18% 75%, 24% 60%, 4% 63%, 19% 49%, 8% 44%, 21% 38%, 7% 26%, 24% 29%, 13% 11%, 33% 21%, 29% 5%, 41% 16%);
}

main {
    --yellow: #ffcc00;
    --skewStripe: repeating-linear-gradient(-45deg, transparent, #000000 0px, #000000 1px, transparent 1px, transparent 4px);

    overflow-x: hidden;
    background-color: var(--yellow);
    background-repeat: repeat;
    background-image:
        radial-gradient(#FF330011 25%, transparent 25%),
        radial-gradient(#FF330011 25%, transparent 25%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
}

main .wrapper {
    display: flex;
}

.bg_balloons {
    z-index: 1;
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    cursor: unset;
    pointer-events: none;
}

.bg_balloons .balloon {
    position: absolute;
    clip-path: var(--balloon);
    background-color: #000000;
}

.bg_balloons .balloon::after {
    content: "";
    position: absolute;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 85%;
    height: 85%;

    clip-path: var(--balloon);
    background-color: var(--white);

    background-repeat: repeat;
    background-image:
        radial-gradient(#000 15%, transparent 15%),
        radial-gradient(#000 15%, transparent 15%);

    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
}

@media (max-width:768px) {
    main {
        font-size: 12px;
    }
}

@media (max-width:768px) {
    h3.text {
        text-wrap: nowrap;
        font-size: 28px !important;
        padding: 32px 0 !important;
    }

    h3.text .large {
        font-size: 40px !important;
    }

    h3.text span::before {
        -webkit-text-stroke: 6px var(--black) !important;
    }
}

/*************************************************************
******************** Heroes_sticker_about *********************
*************************************************************/

#Heroes_sticker_about {
    position: relative;
    padding-bottom: 50px;
}

#Heroes_sticker_about .bg::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    --border-color: #ffbb33;
    background-image:
        repeating-conic-gradient(transparent 0,
            transparent 6deg,
            var(--border-color) 6deg,
            var(--border-color) 12deg);
    z-index: 0;
}

/***********title***********/

#Heroes_sticker_about .content.title {
    position: relative;
    width: 100%;
    padding: 9px;
    border: 5px solid black;
    border-bottom-width: 10px;
    background-color: var(--white);
    z-index: 2;
}

#Heroes_sticker_about .content.title::before,
#Heroes_sticker_about .content.title::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: contain;
}

#Heroes_sticker_about .content.title::before {
    background-image: url(../../assets/images/warpLeft.png);
    background-position: left;
}

#Heroes_sticker_about .content.title::after {
    background-image: url(../../assets/images/warpRight.png);
    background-position: right;
}

#Heroes_sticker_about h2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#Heroes_sticker_about h2 img {
    height: 64px;
    width: auto;
}

#Heroes_sticker_about h2::after {
    display: inline-block;
    content: attr(data);
    font-size: 12px;
    color: var(--black);
    margin: auto 6px;
}

#Heroes_sticker_about .container {
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

@media (max-width:992px) {
    #Heroes_sticker_about h2 {
        display: block;
        margin: auto;
    }

    #Heroes_sticker_about h2 img {
        margin: auto;
        height: auto;
        max-height: 40px;
    }

    #Heroes_sticker_about h2::after {
        display: block;
        font-size: 12px;
        margin: auto;
    }
}

/***********description***********/

#Heroes_sticker_about .wrapper.description {
    padding-top: 32px;
}

#Heroes_sticker_about .wrapper.description h1 {
    font-size: 32px;
    width: 35%;
    text-align: left;
}

#Heroes_sticker_about .wrapper.description p {
    width: 65%;
    text-align: left;
}

@media (max-width:992px) {
    #Heroes_sticker_about .wrapper.description {
        display: block;
    }

    #Heroes_sticker_about .wrapper.description h1 {
        width: 100%;
    }

    #Heroes_sticker_about .wrapper.description p {
        width: 100%;
    }
}

/***********wrapper logo***********/

#Heroes_sticker_about .logo {
    margin-top: 32px;
    height: max-content;
    align-items: center;
}

#Heroes_sticker_about .logo .balloon {
    display: block;
    height: 100%;
    width: 30%;
    aspect-ratio: 271/260;
    background-size: contain;
}

#Heroes_sticker_about .logo .balloon.left_balloon {
    background-image: url(../assets/images/sticker/left.png);
    font-weight: 900;
    position: relative;
    white-space: pre;
    color: var(--white);
}

#Heroes_sticker_about .logo .balloon.right_balloon {
    background-image: url(../assets/images/sticker/right.png);
}

#Heroes_sticker_about .logo .sticker_logo {
    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
}

#Heroes_sticker_about .logo .sticker_logo_image {
    position: relative;
    width: 120%;
    z-index: 2;
    height: auto;
}

#Heroes_sticker_about .logo .sticker_logo .sticker_desc {
    font-weight: 900;
    position: relative;
    white-space: pre;
    text-align: center;
    width: fit-content;
    margin: auto;
    margin-left: 50%;
    transform: translateX(-50%);
    color: var(--white);
}

#Heroes_sticker_about .logo .sticker_logo .sticker_desc::before {
    content: "通常キャラ24種/レアバージョン\Aシークレット/元祖イノブーくん";
    position: absolute;
    top: 0;
    left: 0;

    color: var(--white);
    -webkit-text-fill-color: var(--black);
    -webkit-text-stroke: 8px var(--black);
    z-index: -1;
}

@media (max-width:992px) {
    #Heroes_sticker_about .logo .sticker_logo_image {
        width: 110%;
    }

    #Heroes_sticker_about .logo .sticker_logo .sticker_desc {
        margin-top: 32px;
    }
}

/***********wrapper vs***********/

#Heroes_sticker_about .vs {
    margin-top: 32px;
    align-items: center;
    justify-content: center;
}

#Heroes_sticker_about .vs .vs_text {
    width: auto;
}

#Heroes_sticker_about .vs .vs_text img {
    width: 140%;
    margin-left: -20%;
}

#Heroes_sticker_about .vs img:not(.vs_text) {
    width: 45%;
}

/***********wrapper banner***********/

#Heroes_sticker_about .banner {
    margin-top: -5%;
}

#Heroes_sticker_about .banner img {
    width: 100%;
    height: auto;
}

/*************************************************************
******************** Sticker_list ****************************
*************************************************************/

#Sticker_list .top_text.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

#Sticker_list h3.text {
    position: relative;
    z-index: 2;

    width: fit-content;
    text-wrap: nowrap;
    padding: 32px;

    font-size: 48px;
    font-weight: 900;
    color: var(--white);
}

#Sticker_list .top_text span {
    position: relative;
    text-wrap: nowrap;
    width: max-content;
}

#Sticker_list .top_text .large {
    font-size: 84px;
}

#Sticker_list .top_text .before::before {
    content: "集めて楽しい！ ";
}

#Sticker_list .top_text .pre::before {
    content: "全";
}

#Sticker_list .top_text .post::before {
    content: "種類";
}

#Sticker_list .top_text .large::before {
    content: "50";
}

#Sticker_list .top_text .before::before,
#Sticker_list .top_text .pre::before,
#Sticker_list .top_text .post::before,
#Sticker_list .top_text .large::before {
    position: absolute;
    top: 0;
    left: 0;

    color: var(--white);
    -webkit-text-fill-color: var(--black);
    -webkit-text-stroke: 16px var(--black);
    z-index: -1;
}

#Sticker_list p {
    font-size: 24px;
    font-weight: bold;
}

#Sticker_list p::after {
    content: "";
    position: relative;
    display: block;

    width: 50px;
    margin: auto;

    border-bottom: 2px solid var(--black);
}

/***********lists***********/

#Sticker_list .sticker_list {
    position: relative;
    width: 100%;
    border: 5px solid var(--black);
    padding: 32px;
}

#Sticker_list .sticker_list .bg_balloons .balloon.balloon1 {
    width: 300px;
    height: 300px;
    right: -100px;
    top: -100px;
}

#Sticker_list .sticker_list+.sticker_list {
    margin-top: 32px;
}

#Sticker_list .sticker_list .logo_img {
    position: relative;
    z-index: 2;
    width: 60%;
    height: auto;
    margin: auto;
}

#Sticker_list .sticker_list .list_inner_content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 8px;
    row-gap: 32px;
    margin-top: 32px;
    width: 100%;
}

#Sticker_list .sticker_list .list_inner_content .sticker_item img {
    width: 100%;
    height: auto;
    display: block;
}

#Sticker_list .sticker_list .list_inner_content .class_logo {
    display: block;
    position: relative;
    z-index: 5;

    width: 32px;
    height: 32px;

    margin: auto;
    margin-top: -16px;

    border-radius: 50%;
}

#Sticker_list .sticker_list .list_inner_content .class_logo img {
    padding: 20%;
}

#Sticker_list .sticker_list.heroes_list {
    background-color: var(--white);
    background-repeat: repeat;
    background-image:
        radial-gradient(#00000011 25%, transparent 25%),
        radial-gradient(#00000011 25%, transparent 25%);
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
}

#Sticker_list .sticker_list.heroes_list {
    background-color: var(--white);
    background-repeat: repeat;
    background-image:
        radial-gradient(#00000011 25%, transparent 25%),
        radial-gradient(#00000011 25%, transparent 25%);
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
}

#Sticker_list .sticker_list.heroes_list .class_logo {
    background-color: var(--white);
}

#Sticker_list .sticker_list.villans_list {
    background-color: var(--black);
    background-repeat: repeat;
    background-image:
        radial-gradient(#FFFFFF11 25%, transparent 25%),
        radial-gradient(#FFFFFF11 25%, transparent 25%);
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
}

#Sticker_list .sticker_list.villans_list .bg_balloons .balloon::after {
    background-color: var(--red);
}

#Sticker_list .sticker_list.villans_list .name {
    color: red;
}

@media (max-width:992px) {
    #Sticker_list .sticker_list {
        padding: 2%;
    }

    #Sticker_list .sticker_list .list_inner_content {
        grid-template-columns: repeat(3, 1fr);
    }

    #Sticker_list .sticker_list .logo_img {
        width: 90%;
    }
}

/*************************************************************
******************** MiegureTV *******************************
*************************************************************/

#MiegureTV {
    margin-top: 32px;
    padding-bottom: 32px;
}

#MiegureTV .top_text.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

#MiegureTV h3.text {
    position: relative;
    z-index: 2;

    width: fit-content;
    height: fit-content;
    padding: 32px 0;

    font-size: 48px;
    font-weight: 900;
    color: var(--white);
}

#MiegureTV .top_text span {
    position: relative;
}

#MiegureTV .top_text span::before {
    content: "ミエグレTV";
    position: absolute;
    top: 0;
    left: 0;

    color: var(--white);
    -webkit-text-fill-color: var(--black);
    -webkit-text-stroke: 16px var(--black);
    z-index: -1;
}

#MiegureTV iframe {
    margin-top: 32px;
    width: 80%;
    height: auto;
    aspect-ratio: 16/9;
}

/*************************************************************
******************** Sales_information ***********************
*************************************************************/

#Sales_information {
    overflow: hidden;
    margin-top: 32px;
    padding-bottom: 128px;
}

#Sales_information .sales_info {
    position: relative;
}

#Sales_information .sales_info .end_of_sale{
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: max-content;
    max-width: 90%;

    font-size: 2rem;
    padding: 1rem 3rem;

    background-color: var(--white);
    background-repeat: repeat;
    background-image: radial-gradient(#00000011 25%, transparent 25%), radial-gradient(#00000011 25%, transparent 25%);
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;

    outline: 5px solid var(--black);
    z-index: 6;
}

#Sales_information .sales_info::after {
    content: "";
    position: absolute;
    display: block;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;

    background: #00000088;
    z-index: 5;
}

#Sales_information .top_text.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

#Sales_information h3.text {
    position: relative;
    z-index: 2;

    width: fit-content;
    height: fit-content;
    padding: 32px 0;

    font-size: 48px;
    font-weight: 900;
    color: var(--white);
}

#Sales_information .top_text span {
    position: relative;
}

#Sales_information .top_text span::before {
    content: "販売情報";
    position: absolute;
    top: 0;
    left: 0;

    color: var(--white);
    -webkit-text-fill-color: var(--black);
    -webkit-text-stroke: 16px var(--black);
    z-index: -1;
}

/***********info***********/

#Sales_information .info.wrapper {}

#Sales_information .info_image {
    width: 30%;
}

#Sales_information .info_image img {
    width: 100%;
    height: auto;
}

#Sales_information .info_detail {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#Sales_information .info_detail li:first-child {
    border-top: 2px solid var(--white);
}

#Sales_information .info_detail li {
    display: flex;
    align-items: center;

    padding: 0;

    height: 25%;
    width: 100%;

    border-bottom: 2px solid var(--white);
    text-align: left;
    font-weight: bold;
}

#Sales_information .info_detail li::before {
    content: attr(data);
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;

    margin-right: 1rem;

    width: 7rem;
    height: 2rem;

    background: var(--black);
    color: var(--white);
    border-radius: 1rem;
}

@media (max-width:992px) {
    #Sales_information .wrapper {
        display: block;
    }

    #Sales_information .info_image {
        width: 100%;
    }

    #Sales_information .info_detail {
        margin-top: 1rem;
        width: 100%;
    }

    #Sales_information .info_detail li {
        padding: 0.5rem;
    }
}
@media (max-width:768px){
    #Sales_information .sales_info .end_of_sale{
        font-size: 1rem;
    }
}
@media (max-width:576px) {
    #Sales_information .info_detail li {
        display: block;
        text-align: center;
    }

    #Sales_information .info_detail li::before {
        margin: auto;

        height: 1.5rem;
    }
}


/***********amazon***********/

#Sales_information .wrapper.amazon {
    position: relative;
    margin-top: 96px;

    border: 5px solid var(--black);
    background: conic-gradient(from -45deg, #cccccc, #fbfbfb, #cccccc, #fbfbfb, #cccccc);
    background-size: 32px 32px;
    background-position: center;

    z-index: 10;
}

#Sales_information .amazon_container {
    position: relative;
}

#Sales_information .amazon_container .bg_balloons {
    overflow: visible;
    z-index: 1;
}

#Sales_information .amazon_container .bg_balloons .balloon.balloon1 {
    width: 300px;
    height: 300px;
    left: -100px;
    top: -100px;
    z-index: -1;
}

#Sales_information .amazon_container .bg_balloons .balloon.balloon2 {
    width: 100px;
    height: 100px;
    right: -30px;
    top: -30px;
    z-index: -1;
}

#Sales_information .amazon_container .bg_balloons .balloon.balloon3 {
    width: 150px;
    height: 150px;
    right: -70px;
    bottom: -70px;
    z-index: -1;
}

#Sales_information .amazon .content {
    display: flex;
    align-items: center;
    padding: 12px;
}

#Sales_information .amazon img {
    width: 100%;
    height: auto;
}

#Sales_information .amazon .content .heroes_villains {
    width: 30%;
}

#Sales_information .amazon .content .sticker_logo_link {
    width: 40%;
}


#Sales_information .amazon .amazon_link {
    position: relative;
    display: block;
    align-items: center;

    width: fit-content;
    text-align: left;

    margin: auto;
    padding: 0 32px;

    color: var(--black);
    font-weight: bold;
    background: var(--yellow);

    border: 5px solid black;
    z-index: 1;
}

#Sales_information .amazon .amazon_link::after {
    content: "";
    display: inline-block;

    width: 0.5rem;
    height: 1rem;
    margin: auto;
    margin-left: 0.5rem;

    background-color: var(--black);
    clip-path: polygon(0 0, 100% 50%, 0 100%, 0 75%, 50% 50%, 0 25%);
}

#Sales_information .amazon .link_button {
    position: relative;
    pointer-events: all;
    cursor: pointer;
    width: fit-content;
    margin: auto;
}

#Sales_information .amazon .link_button:hover {
    transform: translateY(5px);
}

#Sales_information .amazon .link_button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 5px;
    left: 5px;
    background: var(--skewStripe);
    z-index: 0;
}

#Sales_information .amazon .link_button:hover:before {
    top: 0px;
    left: 0px;
}

@media (max-width:992px) {
    #Sales_information .amazon .sticker_logo_content {
        max-width: 500px;
        margin: auto;
    }

    #Sales_information .amazon .content {
        padding: 2%;
        gap: 2%
    }

    #Sales_information .amazon .content .heroes_villains {
        width: 50%;
    }

    #Sales_information .amazon .amazon_link {
        padding: 8px 32px;
    }

    #Sales_information .amazon .amazon_link_content.sp {
        --skewStripe: repeating-linear-gradient(-45deg, transparent, #000000 0px, #000000 1px, transparent 1px, transparent 4px);
        --gray: #333333;

        border: 2px solid black;
        background: var(--skewStripe);
        background-color: var(--gray);
    }

    #Sales_information .amazon .amazon_link_content {
        background: var(--black);
        padding: 32px;
    }
}

@media (max-width:576px) {

    #Sales_information .amazon .amazon_link {
        padding: 8px;
    }
}