@charset "utf-8";
html{
    font-size: 16px;
}
*,*::before, *::after{
    box-sizing: border-box;
}
body{
    margin: 0;
    line-height: normal;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
    background: rgb(233, 168, 227);
    overflow: hidden;
}
p{
    margin: 0;
    padding: 0;
}
/***********************************************/
/*header*/
/**********************************************/
header{
    margin-top: 8px;
    color: rgb(255,251,0);
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    background: rgb(71,71,71);
}
/****************************************/
/*game*/
/*******************************************/
.wrapper{
    position: relative;
    max-width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding-bottom: 23px;
    text-align: center;
}
/***************************/
/*game area*/
/*********************************/
/*class=game-container    game area */
.game-container{
    padding: 40px 0;
}
/********************/
/* class=squares-container  message area*/
/******************************/
.message-container{
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
    overflow: hidden;
}
.js-hidden{
    display: none;
}

/* class=squares-container*/
/*****************************/
.squares-container{
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 200px;
}
.squares-box{
    width: 200px;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
    border: solid 2px #333;
}
.squares{
    position: relative;
    width: calc(196px /3);
    height: calc(196px/3);
    border: solid 2px #333;
}
/*penguins*/
.js-pen-checked::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 61px;
    height: 61px;
    content: '';
    background-image: url(../img/penguins.jpg);
    background-size: contain;
}
/*bear*/
.js-bear-checked::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 61px;
    height: 61px;
    content: '';
    background-image: url(../img/whitebear.jpg);
    background-size: contain;
}
/*protect */
.js-unclickable{
    pointer-events: none;
}
/*winner-line high-light*/
.js-pen_highLight{
    border:solid 2px red;
}
.js-bear_highLight{
    border:solid 2px blue;
}
/*****************/
/* button style*/
/**************************/
/* class=" btn"*/
.btn{
    margin-top: 8px;
    padding: 12px;
    border-radius: 10px;
    color: whitesmoke;
    font-size: 24px;
    background: rgb(26,212,212);
    user-select: none;
    cursor: pointer;
}
/******************************/
/* back button*/
/************************************/
/*class="back"*/
.back{
    margin-top: 8px;
    text-align: left;
}
/*New Game button*/
/*class =".btn-container"*/
.btn-container{
    padding-top: 40px;
}
/*id="btn90"*/
#btn90:hover{
    background-color: #ffd347;
    transition-duration: 0.4s;
}
/***************/
/*footer*/
/***************/
footer > p{
    position: absolute;
    bottom: 5px;
    width: 100%;
    margin: 0px;
    padding: 1px;
    color: whitesmoke;
    font: 16px Rajdhani;
    text-align: center;
    background: rgba(1, 24, 31, 0.7);
}
/*****************************************/
/*Media Query responsive setting */
/*mobile のときのスタイル*/
@media screen and (max-width:480px){
 .wrapper{
    padding-bottom: 23px;
}
.btn-container{
    padding-top: 2px;
}
}