@charset "UTF-8";

/*20261016 SADMAN */
a#gt1+section .tt-gt-row,
a#yt1+section .tt-yt-row {
    display: none;
}

@media screen and (min-width: 901px) {

    a#yt1+section.tt-pc .inner_item_txt > p:first-child {
        margin: 0 0 10px;
    }
    a#yt1+section.tt-pc .tt-yt-row {
        display: flex;
        align-items: flex-start;
        justify-content: end;
        gap: 30px;
        width: 100%;
        box-sizing: border-box;
    }
    a#yt1+section.tt-pc .tt-yt-row > p {
        flex: 1 1 0;
        min-width: 0;
        margin: 0;
    }

    a#gt1+section.tt-pc .heading.block_header_2 {
        margin-bottom: 10px;
    }
    a#gt1+section.tt-pc .wrapper_item {
        display: none;
    }
    a#gt1+section.tt-pc .tt-gt-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0 30px;
        width: 100%;
        box-sizing: border-box;
    }
    a#gt1+section.tt-pc .tt-gt-txt {
        display: contents;
    }
    a#gt1+section.tt-pc .tt-gt-txt > p {
        order: 1;
        flex: 0 0 100%;
        margin: 0 0 20px;
        text-align: left;
    }
    a#gt1+section.tt-pc .tt-gt-img {
        order: 2;
        flex: 0 0 45%;
        max-width: 45%;
    }
    a#gt1+section.tt-pc .tt-gt-img a {
        display: block;
    }
    a#gt1+section.tt-pc .tt-gt-img img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    a#gt1+section.tt-pc .tt-gt-txt > .contents_btn01 {
        order: 3;
    }

    a#yt1+section.tt-pc .tt-yt-row > .contents_btn01,
    a#gt1+section.tt-pc .tt-gt-txt > .contents_btn01 {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
    }
    a#yt1+section.tt-pc .contents_btn01 .content_wrapper,
    a#gt1+section.tt-pc .contents_btn01 .content_wrapper {
        display: flex;
        justify-content: flex-end;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    a#yt1+section.tt-pc .contents_btn01 a,
    a#gt1+section.tt-pc .contents_btn01 a {
        min-width: 280px;
        box-sizing: border-box;
        text-align: center;
    }
    a#yt1+section.tt-pc .wrapper_item,
    a#gt1+section.tt-pc .tt-gt-row {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    a#gt1+section.tt-pc .heading.block_header_2 {
        padding-left: 20px;
    }
}

/* 装飾追加_20261020 */
a#logic_01+div,
a#logic_total+div {
    overflow: visible;
}
#logic_01+div>.content_wrapper::before {
    display: block;
    content: "";
    width: max(140px,30%);
    aspect-ratio: 343 / 285;
    max-width: 200px;
    background: url(/common/upload_data/globaltottocom/image/game1.png) no-repeat center / contain;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    transform: translate(-40%, -110%);
    pointer-events: none;
}
#logic_total+div>.content_wrapper::after {
    display: block;
    content: "";
    width: 45%;
    aspect-ratio: 298 / 227;
    max-width: 200px;
    background: url(/common/upload_data/globaltottocom/image/game3.png.webp) no-repeat center / contain;
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    transform: translate(40%, 80%);
    pointer-events: none;
}
@media screen and (max-width: 1400px) {
    #logic_01 + div > .content_wrapper::before {
        left: 6%;
    }
}

#yt1 + .contents_box01 .inner_item_txt:nth-of-type(1):nth-last-of-type(1) {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 900px) {
    #yt1 + .contents_box01 .inner_item_txt:nth-of-type(1):nth-last-of-type(1) {
  display: block;
}
}
#gt1 + .contents_box01 .heading.block_header_2 .h:before {
  display: none;
}
#gt1 + .contents_box01 .heading.block_header_2 .h {
  padding-left: 0;
}
#yt1 + .contents_box01 .inner_item_txt:nth-of-type(1):nth-last-of-type(1) p strong {
  font-size: 1.8rem;
}
@media screen and (max-width: 1350px) {
    #yt1 + .contents_box01 .inner_item_txt:nth-of-type(1):nth-last-of-type(1) p strong {
  font-size: 2.1rem;
}
}
@media screen and (max-width: 800px) {
    #yt1 + .contents_box01 .inner_item_txt:nth-of-type(1):nth-last-of-type(1) p strong {
  font-size: 1.7rem;
}
}
