@charset "utf-8";
/* CSS Document */

:root {
    --font-base: "M PLUS Rounded 1c",
                "Quicksand", 
                "Hiragino Maru Gothic ProN", 
                "Yu Gothic",
                sans-serif;
    --font-size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --collor-main: #4ECDC4; /*エメラルドグリーン*/
    --collor-bg: #FFF8E7; /*クリームホワイト*/
    --collor-bg-b: #ebdd9f; /*濃いクリームホワイト*/
    --collor-accent1: #FF6FAE; /*ピンク*/
    --collor-accent2: #FFE066; /*イエロー*/
    --collor-accent2_5: rgba(255,224,102,0.5); /*イエロー透過*/
    --collor-link: #5EDFFF; /*スカイブルー*/
    --collor-txt: #333333;
    --collor-txt-b: #111111;
    --max-width: 1100px;
    --main_width: 728px;
    --side_width: 336px;
    --space-s: 0.5rem;
    --space-m: 1rem;
    --space-l: 2rem;
}

html{
    -webkit-text-size-adjust: 100%;
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.1rem;
    color-scheme: light dark;
}
body{
    margin: 0;
    color: var(--collor-txt);
    background: var(--collor-bg);
    font-size: var(--font-size-base);
    background:url(../../../../static/game/img/body_bg.svg) bottom center;
    background-size: auto 100%;
}
a, a:hover {
    text-decoration: none;
}

/* リセット */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: bold;
    line-height: 1;
}

ol, ul, li, menu, summary, dd, dl, dt {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 段落とリスト */
p, ul, ol {
    margin: 0;
}

/* リンクと画像 */
a {
    color: inherit;
    text-decoration: none;
}
a:hover,
button:hover {
    opacity: .7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";
    transition: all .2s;
}
a:hover img {
    opacity: .7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";
    transition: all .2s
}
a:active,
button::active {
    opacity: .9;
    filter: alpha(opacity=90);
    -ms-filter: "alpha( opacity=90 )";
}
img, picture, svg, video, canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* フォーム */
input, button, textarea, select {
    font: inherit;
    color: inherit;
}
button {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* 文字装飾リセット */
em, b, strong {
    text-decoration: none;
    font-style: normal;
}

em, b, strong {
    font-weight: bold;
}

/* 視覚的に非表示 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* header ------------------------------------------------ */
header {
    margin: 0 auto var(--space-l);
    width: 100%;
    text-align: center;
    background:  var(--collor-main);
    & a {
        display: block;
        width: 150px;
        margin: 0 auto;
        img{
            width: 100%;
            padding: 0.3em 0;
            margin: 0 auto;
        }
    }
}

/* main ------------------------------------------------ */
main {
    display: flex;
    max-width: var(--max-width);
    width: var(--max-width);
    margin-inline: auto;
    padding-block: var(--space-l);
    justify-content: space-between;
    & .main_column {
        flex: 0 0 var(--main_width);
        & .game_area {
            width: 728px;
            height: 440px;
            margin: 0 auto;
            background:url(../../../../static/game/img/game_bg.png) repeat;
            background-color: var(--collor-link);
            position: relative;
            & .gamelogo{
                position: absolute;
                bottom: -40px;
                right: 10px;
                z-index: 10;
                width: 200px;
            }
            & .game_inner {
                width: 440px;
                height: 440px;
                margin: 0 auto;
                position: relative;
            }
            & .btn_red {
                background: var(--collor-accent1);
                color: #fff;
                box-shadow: 0 6px #e53381;
                letter-spacing: .2em;
                font-weight: bold;
                padding: 1rem 2rem 0.8rem;
                margin: 0 auto;
                display: block;
                text-align: center;
                position: absolute;
                border-radius: 4px;
                top: 68%;
                left: 50%;
                transform: translateX(-50%);
                -webkit- transform: translateX(-50%);
            }
            & .game_start{
                & .title {
                    width: 400px;
                    margin: 0 auto;
                    padding: 1rem 0 0;
                }
                & .start_btn {
                    font-size: 1.4rem;
                    width: 60%;
                }
            }
            & .play_bg{
                background: var(--collor-main-l);
                height: 440px;
                & .play_innner{
                    width: 440px;
                    height: 440px;
                    margin: 0 auto;
                    color: #fff;
                }
            }
            & .game_result{
                & .result_text {
                    width: 80%;
                    color: #fff;
                    font-weight: bold;
                    text-shadow: 1px 1px 1px rgba(0,0,0,.6),-1px -1px 1px rgba(255,255,255,.5);
                    text-align: center;
                    background: rgba(0,0,0,.4);
                    padding: 1em 0;
                    letter-spacing: 0.2rem ;
                    position: absolute;
                    border-radius: 4px;
                    top: 5%;
                    left: 50%;
                    transform: translateX(-50%);
                    -webkit- transform: translateX(-50%);
                    & b{
                        font-weight: bold;
                        font-size: 2em;
                        line-height: 1;
                        padding: 0.5em 0;
                        display: block;
                        & strong{
                            font-size: 2em;
                        }
                    }
                }
                & button{
                    cursor: pointer;
                    position: absolute;
                    height: 40px;
                    line-height: 40px;
                    top: 56%;
                    left: 50%;
                    width: 60%;
                    margin-left: -30%;
                    color: #fff;
                    background: url(../../../../static/game/img/80_80_x.png) no-repeat #221714 center left 10px;
                    background-size: auto 100%;
                    border-radius: 4px;
                    font-size: 0.8em;
                    letter-spacing: 0.1em;
                    font-weight: bold;
                    padding-left: 10px;
                }
                & .result_btn {
                    font-size: 1.5em;
                    width: 60%;
                }
            }
        }
        & .under_game_area {
            margin:var(--space-s) auto;
            width: var(--main_width);
        }
    }
    & .side_column {
        flex: 0 0 var(--side_width);      
    }
    & .under_ssp_box{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 1em auto;
        & .ssp_336_280_03,
        & .ssp_336_280_04{
            text-align: center;
            width: calc((100% - 40px) / 2);
            margin: 10px;
        }
    }
}

.rule_all {
    margin-block: var(--space-l);
    padding: 0 0 var(--space-l);
    text-align: center;
    & h2 {
        padding: var(--space-l) 0;
        font-weight: bold;
        line-height: 3rem;
        font-size: 1.6rem;
        letter-spacing: .2em;
        text-align: center;
    }
    width: 100%;
    background: var(--collor-accent2_5);
    & dl {
        width: 700px;
        margin: var(--space-m) auto;
        overflow: hidden;
        padding: 0 var(--space-l) var(--space-m) ;
        & dt {
            color:  var(--collor-txt-b);
            font-weight: bold;
            font-size: 1.3rem;
            & img{
                display: block;
                margin: 0 auto 0.5em;
            }
        }
        & dd {
            padding: 0;
            line-height: 1.8rem;
            &.txt_only{
                font-size: 0.8em;
            }
        }
    }
}    
& .bottom-rectangle {
    display: flex;
    width: var(--main_width);
    margin-inline: auto;
    padding-block: var(--space-s);
    justify-content: space-between;
    & .ssp_336_280_01 ,
    & .ssp_336_280_02 {
        flex: 0 0 336px;
    }
}

footer {
    background:  var(--collor-bg-b);
    width: 100%;
    margin:var(--space-l) auto 0;
    padding-block: var(--space-s) 0;
    & ul{
        max-width: var(--max-width);
        width: var(--max-width);
        display: flex;
        justify-content: space-between;
        padding: var(--space-l);
        margin: 0 auto;
        & li{
            padding: 0;
            font-size: 0.8rem;
            text-align: center;
            &:last-child{
                flex-basis: 450px;
            }
            & p{
                text-align: center;
            }
        }
    }
}

.ssp_728_01,
.ssp_728_02{
    width: 728px;
    min-height:90px;
    max-height: 90px;
    height: 90px;
    overflow: hidden;
    background: gray;
}

.ssp_336_280_01,
.ssp_336_280_02,
.ssp_336_280_03,
.ssp_336_280_04{
    width: 336px;
    min-height:250px;
    max-height: 280px;
    margin-bottom: var(--space-s);
    background: gray;
}

@-webkit-keyframes blink {
    0% {
        opacity: .1;
    }

    100%,50% {
        opacity: 1;
    }
}