@charset "utf-8";

/* =================================================
play
================================================= */

ul li {
    list-style: none;
}

main .main_column .gameplay_area {
    background-image: url(/assets/img/game/joypico/picmatch/pc/game_play_bg.png);
    background-size: cover;
    width: 728px;
    height: 440px;
    margin: 0 auto;
}

.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

.beauty {
    position: relative;
    left: 148px;
    top: 56px;
}

.beauty.beautyActive {
    /* animation: bounceIn 1s;
    box-shadow: 0 0 .4rem .4rem #eee; */
}

.gameplay_area {
    position: relative;
    width: 440px;
    height: 440px;
}

.timebar_bg {
    position: absolute;
    top: -1.95em;
    left: 5.1em;
    width: 324px;
    height: 20px;
    background: #74747473;
    border-radius: 4px;
    overflow: hidden;
}

.timebar_fill {
    width: 100%;
    height: 100%;
    background-color: #6fc66f;
    transition: width 0.2s linear;
}

@keyframes bounceIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.startime {
    position: absolute;
    top: -2.1rem;
    right: 1rem;
    font-size: 1.12rem;
    color: #fff;
}

.music-toggle {
    position: absolute;
    top: -2.8rem;
    left: -0.5rem;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.12rem;
    color: #fff;
    text-align: center;
    line-height: 2.4rem;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.music-toggle.off {
    opacity: 0.5;
}

.btn-play {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 17.52rem;
    height: 3.68rem;
    background: url('../images/btn-star.png') no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    font: bold 1.36rem/3.28rem 微软雅黑;
    text-align: center;
    color: #753200;
    text-shadow: .52rem .52rem #ffba27;
    /* background-position: -46.04rem -19.96rem; */
}

.beauty ul {
    float: left;
    display: block;
    width: 440px;
    height: 342px;
}

.beauty ul li {
    float: left;
    /* display: inline-block; */
    margin: .72rem 0 0 .4rem;
    width: 65px;
    height: 58px;
    cursor: pointer;
}

.beauty ul li.activing {
    animation: swing 1s;
}

.beauty ul li img {
    display: block;
    width: 64px;
    height: 62px;
    object-fit: cover;
    object-position: center;
    border: none;
    outline: 2.5px solid #eadbb7;
    transition: outline-color 0.3s;
}

.beauty ul li img:hover,
.beauty ul li img.clicked {
    outline-color: red;
}

@media screen and (max-width: 640px) {
    .beauty {
        width: 24rem;
        padding-bottom: 1.2rem;
    }

    .beauty ul li {
        width: 30%;
        margin-left: .6rem;
        margin-top: 1.2rem;
    }
}

.word-ready {
    position: absolute;
    width: 100%;
    display: block;
    color: #eee;
    text-align: center;
    line-height: 400px;
    transform: translateY(-150%);
}

.word-go {
    position: absolute;
    width: 100%;
    display: block;
    color: #eee;
    text-align: center;
    transform: scale(0);
    opacity: 0;
    line-height: 400px;
}

.word-ready.readyActive {
    /* animation: bounceInDown 1s; */
    animation: readySlide 1.5s;
}

.word-go.goActive {
    /* animation: bounceInDown 1s; */
    animation: goSlide 1.5s .5s;
}

@keyframes readySlide {
    from {
        opacity: 1;
        transform: translateY(-150%);
    }
    to {
        transform: translateY(0);
        opacity: 0;
    }
}

@keyframes goSlide {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        transform: scale(1.7);
        opacity: 1;
    }
}

.mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.mask .game-result {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20rem;
    height: 12rem;
    background-color: #555392;
    transform: translate(-50%, -50%);
    border-radius: .8rem;
    font-size: .96rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 .4rem .4rem #eee;
}

.mask .game-result p {
    padding: 4rem -0px;
}

.mask .btn-group {
    text-align: center;
}

.mask .btn-group a {
    display: inline-block;
    width: 8rem;
    height: 2rem;
    text-align: center;
    line-height: 2rem;
    color: #333;
    background-color: #fff;
    border-radius: .8rem;
}

/* =================================================
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 .main_column{
    flex:0 0 var(--main_width);
}

/* =================================================
ゲームエリア
================================================= */

main .main_column .game_area{
    width:728px;
    height:440px;
    margin:0 auto;
    background:url(/assets/img/game/joypico/picmatch/pc/game_bg.png) repeat;
    background-size:cover;
    background-color:var(--collor-link);
    position:relative;
}

/* =================================================
ゲーム内部
================================================= */

main .main_column .game_area .game_inner{
    width:728px;
    height:440px;
    margin:0 auto;
    position:relative;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
}

/* =================================================
スタート画面
================================================= */

main .main_column .game_area .game_start{
    color:#fff;
    font-weight:bold;
    text-align:center;
}

main .main_column .game_area .game_start .title{
    width:400px;
    margin:0 auto;
    padding-top:1rem;
}

main .main_column .game_area .game_start {
    font-size:1.4rem;
    width:60%;
    margin:2.5rem auto 0;
}

.game_start_img {
    width: 365px;
    margin: 14px auto 4px;
}

.start_picbtn{
    font-size: 1.4rem;
    width: 78%;
    display: block;
}

.timeup_picbtn {
    font-size: 1.4rem;
    margin-top: 11%;
}

.title_img{
    width: 400px;
    margin-top: 10px;
}

/* =================================================
タイトルテキスト
================================================= */

main .main_column .game_area .title_text{
    margin:0.35em auto 1.5rem;
    color:#fff;
    text-shadow:1px 1px 1px rgba(0,0,0,.6),-1px -1px 1px rgba(255,255,255,.5);
    background:rgba(0,0,0,.65);
    padding:20px 30px;
    border-radius:16px;
    letter-spacing:.2rem;
    width: 550px;
    display: flex;
    justify-content: center;
}

.character_img{
    max-width: 70px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.text{
    margin-left: 20px;
}

/* =================================================
プレイ背景
================================================= */

main .main_column .game_area .play_bg{
    background:var(--collor-main-l);
    width:100%;
    height:440px;
}

main .main_column .game_area .play_bg .play_innner{
    width:440px;
    height:440px;
    margin:0 auto;
    color:#fff;
}

/* =================================================
ゲーム結果
================================================= */

/* 結果エリア */
.game_result{
    width:100%;
    text-align:center;
}

/* タイトル */
.result_title{
    width:400px;
    margin:33px auto 0;
}

.result_title img{
    display:block;
    width:100%;
    height:auto;
}

.timeup_title{
    width:400px;
    margin:15% auto 0;
}

.timeup_title img{
    display:block;
    width:100%;
    height:auto;
}
/* テキスト */
main .main_column .game_area .game_result .result_text{
    display: flex;
    justify-content: center;
    width:80%;
    margin:20px auto;

    color:#fff;
    font-weight:bold;
    text-align:left;
    margin-top: 115px;
    background:rgba(0,0,0,.65);
    padding:1em 0;
    border-radius:16px;

    letter-spacing:.2rem;
    text-shadow:
        1px 1px 1px rgba(0,0,0,.6),
       -1px -1px 1px rgba(255,255,255,.5);
}

.timeup_text{
    width:80%;
    margin:22px auto 24px;

    color:#fff;
    font-weight:bold;
    text-align:center;
    background:rgba(0,0,0,.65);
    padding:1em 0;
    border-radius:16px;

    letter-spacing:.2rem;
    text-shadow:
        1px 1px 1px rgba(0,0,0,.6),
       -1px -1px 1px rgba(255,255,255,.5);
}

/* 強調テキスト */
main .main_column .game_area .game_result .result_text b{
    font-size:2em;
    display:block;
    padding:.5em 0;
}

main .main_column .game_area .game_result .result_text b strong{
    font-size:2em;
}

.yellow{
    font-weight:bold;
    color:#ffeb3b;
    font-size:1.4rem;
}

.yellow_note{
    font-weight:bold;
    color:#ffeb3b;
    font-size: 14px;
}

.time-note{
    font-weight: bold;
    color: #ffeb3b;
    font-size: 0.9rem;
}

/* =================================================
共通ボタン
================================================= */
.picbtn_red {
  display: inline-block;
  width: 385px;
  padding: 1.1rem 2.8rem;
  font-weight: bold;
  letter-spacing: .2em;
  text-align: center;
  color: #fff;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  background: linear-gradient(180deg, #f25003 0%, #c60200 100%);
  border: 3px solid #ffc800;

  box-shadow:
    0 6px #0b638a, 0 0 12px rgba(0, 200, 255, 0.6), 0 0 24px rgba(0, 150, 255, 0.4);

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.picbtn_red::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: linear-gradient(
    180deg,
    rgba(255, 215, 120, 0.6) 0%,
    rgba(255, 215, 120, 0.2) 40%,
    rgba(255, 215, 120, 0) 70%
  );
  pointer-events: none;
}

.picbtn_red:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px #0b638a, 0 0 12px rgba(0, 200, 255, 0.6), 0 0 24px rgba(0, 150, 255, 0.4);
}

.picbtn_red:active {
  transform: translateY(2px);
  box-shadow:
    0 3px #0b3c8a,
    0 0 8px rgba(0, 150, 255, 0.5);
}

.pic2btn_red {
  background: linear-gradient(180deg, #f25003 0%, #c60200 100%);
  color: #fff;

  box-shadow:
  0 6px #0b638a,
  0 0 12px rgba(0, 200, 255, 0.6),
  0 0 24px rgba(0, 150, 255, 0.4);

  letter-spacing: .2em;
  font-weight: bold;
  padding: 1.2rem 1.8rem;
  border-radius: 40px;
  font-size: 1.1rem;
  text-align: center;
  width: 280px;

  border: 3px solid #ffc800;
  position: relative;
  overflow: hidden;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.pic2btn_red::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    rgba(255, 215, 120, 0.6) 0%,
    rgba(255, 215, 120, 0.2) 40%,
    rgba(255, 215, 120, 0) 70%
  );
  pointer-events: none;
}

.pic2btn_red:hover {
  transform: translateY(-2px);
}

.pic2btn_red:active {
  transform: translateY(2px);
  box-shadow:
    0 3px #0b3c8a,
    0 0 8px rgba(0, 150, 255, 0.5);
}

.picbtn_earn_red {
  background: linear-gradient(180deg, #f25003 0%, #c60200 100%);
  color: #fff;

  box-shadow:
    0 6px #0b638a,
    0 0 12px rgba(0, 200, 255, 0.6),
    0 0 24px rgba(0, 150, 255, 0.4);

  letter-spacing: .2em;
  font-weight: bold;
  padding: 1.2rem 2.8rem;
  border-radius: 40px;
  font-size: 1.4rem;

  display: block;
  margin: auto 11rem;

  border: 3px solid #ffc800;
  position: relative;
  overflow: hidden;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.picbtn_earn_red::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    rgba(255, 215, 120, 0.6) 0%,
    rgba(255, 215, 120, 0.2) 40%,
    rgba(255, 215, 120, 0) 70%
  );
  pointer-events: none;
}

.picbtn_earn_red:hover {
  transform: translateY(-2px);
}

.picbtn_earn_red:active {
  transform: translateY(2px);
  box-shadow:
    0 3px #0b3c8a,
    0 0 8px rgba(0, 150, 255, 0.5);
}

/* ボタンエリア */
.result_btn_area{
    margin-top: 218px;
}

.result_2btn_area{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:210px;
}

.earn_btn_area{
    margin-top: 212px;
}

/* ボタン */
.result_btn_area .result_picbtn .earn_btn_area{
    position:relative !important;
    display:inline-block !important;
    width: 290px;
    font-size: 1.4rem;
}


/* =================================================
ゲーム下エリア
================================================= */

main .main_column .under_game_area{
    margin:var(--space-s) auto;
    width:var(--main_width);
}

/* =================================================
サイド
================================================= */

main .side_column{
    flex:0 0 var(--side_width);
}