/*

* Match Ten

*/
/*------------------------
  common
------------------------*/
/*------------------------
  match ten
------------------------*/
/*------------------------
  did you press
------------------------*/
/*------------------------
  katasetsu
------------------------*/
/*------------------------
  ng word
------------------------*/
/*------------------------
  draw quick
------------------------*/
/*------------------------
  fast press
------------------------*/
/*------------------------
  knock out
------------------------*/
/*
 * = Match Ten - admin
*/
body {
  background: #FFDC00 url(../images/game/matchten/match-ten__bg.jpg) no-repeat center/cover;
  background-attachment: fixed;
  color: #4A4A4A;
}
@media screen and (max-width: 768px) {
  body {
    background: #FFDC00 url(../images/game/matchten/match-ten__bg-mobile.jpg) no-repeat center/cover;
    background-attachment: fixed;
  }
}

body:has(.default-style) {
  background: #F2EFEF;
  color: #282828;
}

body:has(.bg-blue) {
  background: #0600FF;
}

.bg-blue {
  background: #0600FF;
}

.wrapper.default {
  max-width: 560px;
}

@media screen and (max-width: 768px) {
  .q-text .fs-34 {
    font-size: 1.75rem;
  }
}

.top-bar.join {
  background-color: #BC272D;
  top: 0;
  left: 0;
  height: 3.75rem;
  position: relative;
}
.top-bar.join .join-btn {
  right: 0.9375rem;
}
@media screen and (max-width: 768px) {
  .top-bar.join {
    height: 6.25rem;
    padding: 0.625rem;
  }
  .top-bar.join .wrapper {
    flex-wrap: wrap;
  }
  .top-bar.join .join-btn {
    position: relative;
    right: auto;
    width: 100%;
  }
  .top-bar.join .join-btn button {
    margin: 0 auto;
    display: block;
  }
}

.top-bar.time {
  top: 0;
  left: 0;
  width: auto;
  line-height: 1;
}

.bottom-bar {
  z-index: 110;
  bottom: 1.875rem;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  bottom: 0;
  left: 50%;
}
.bottom-bar.bg-blk {
  background: rgba(0, 0, 0, 0.8);
}
.bottom-bar button.btn-matchten {
  line-height: 1;
  width: auto;
}

@media screen and (max-width: 992px) {
  .bottom-columns {
    position: absolute !important;
    bottom: 0 !important;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .bottom-columns .bottom-bar {
    position: static;
    left: 0;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    margin-right: 0.625rem;
  }
  .bottom-columns .bottom-bar .btn {
    width: auto;
  }
  .bottom-columns .bottom-bar .btn {
    margin: 0 auto;
    display: block;
  }
  .bottom-columns .colors {
    position: static;
    top: auto;
    left: auto;
    right: 0.9375rem;
    bottom: 0.9375rem;
    transform: translateX(0);
    width: 12.5rem;
    margin-left: 0.3125rem;
  }
  .bottom-columns .colors .item-color {
    margin: 0.3125rem;
  }
}
@media screen and (max-width: 576px) {
  .bottom-columns {
    position: fixed !important;
    bottom: 0 !important;
  }
}

.logo-title {
  width: 60%;
  max-width: 27.5rem;
}

button.btn-matchten {
  text-align: center;
  line-height: 3.75rem;
  border-radius: 0.1875rem;
}
button.btn-matchten.small {
  width: auto;
  line-height: 1.875rem;
}
button.btn-matchten.border {
  border: 0.125rem solid;
  background-color: transparent;
}
button.btn-matchten.border:hover, button.btn-matchten.border:focus {
  background-color: transparent;
}
button.btn-matchten.border.border-blk {
  border-color: #0A0A0A;
  color: #0A0A0A;
}
button.btn-matchten.border.border-blk:hover, button.btn-matchten.border.border-blk:focus {
  border-color: #4A4A4A;
  color: #4A4A4A;
}
button.btn-matchten.border.border-wh {
  border-color: #FFF;
  color: #FFF;
}
button.btn-matchten.border.border-wh:hover, button.btn-matchten.border.border-wh:focus {
  border-color: #FFF;
  color: #FFF;
}
button.btn-01 {
  width: 16.25rem;
}
button.btn-02 {
  width: 48%;
}

@media screen and (max-width: 768px) {
  .count-wrap {
    flex-wrap: wrap;
  }
  .count-wrap .timer-wrap {
    width: 100%;
    margin: 0.9375rem 0 0 !important;
  }
}
.answer-box.columns {
  margin: -0.0625rem;
}
.answer-box.columns .col-2,
.answer-box.columns .col-3,
.answer-box.columns .col-4 {
  padding: 0.0625rem;
}
@media screen and (max-width: 768px) {
  .answer-box.columns .col-2,
  .answer-box.columns .col-3,
  .answer-box.columns .col-4 {
    width: 50%;
  }
}
.answer-box img {
  width: 100%;
  height: auto;
}
.answer-box .answer-footer {
  background-color: rgba(0, 0, 0, 0.3);
  bottom: 0;
}

.dd-theme {
  display: none;
  max-width: 50rem;
  width: 100%;
  color: #0600FF;
}
.dd-theme.slide {
  display: block;
}

.dd-btn svg {
  width: 0.625rem;
}
.dd-btn.is-active {
  background-color: #FFF;
  color: #0600FF;
}
.dd-btn.is-active svg {
  transform: rotate(-180deg);
}

#canvas_parent,
#sketch {
  position: relative;
  height: 100%;
  min-height: 70vh;
  min-height: 70dvh;
}

#tmp_canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
}

/* キャンバスを画面全体に配置するためのスタイル */
.drawer_canvas.fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: auto;
}