/*基本設定*/
body {
  background: repeating-linear-gradient(-45deg, #ffccbb, #ffccbb 2.0rem, #ffffdd 2.0rem, #ffffdd 6.0rem);
  color: #333333;
  /* overflow: hidden; */
}
p {color: #333333;}

section.m_section {
  margin: 1.0rem 0;
}

strong,.strong {
  color: #ff7777;
}

.startbtn {
  background: #ffffee;
  border: solid 2px #ff7777;
  box-shadow: 0 0.5rem 0 #ff7777;
  color: #ff7777;
}

.whiteback {
  background-color: rgba(255,255,225,0.7);
  padding: 1.0rem;
}

.smain {
  position: relative;
  max-width: inherit;
  flex: 0;
  min-height: 0;
}
.coimg {
  width: 90%;
  max-width: 600px;
  height: auto;
  margin: 1.0rem auto;
  background: #ffffff;
}
.function {
  margin: auto;
  margin-top: 0!important;
}

.cbtnbox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rtextblock {
  background: rgba(255,255,250, 0.7);
  padding: 0.5rem;
  text-align: center;
}

.qblock {
  position: relative;
  width: 400px;
  max-width: 90%;
  height: auto;
  margin: 0 auto;
}
.qimg {
  width: 100%;
  height: auto;
  visibility: hidden;
  margin: 0;
}

/* scratch */
.scratch-canvas-wrapper {
  position: relative;
  width: 400px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.scratch-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: none; /* カーソルを非表示 */
  z-index: 10; /* キャンバスを画像の上に配置 */
  background-color: transparent;
}
#cvsCursor.eraser {
  transform: translate(0, 0);
  pointer-events: none;
  position: fixed;
  top: var(--cursor-offset);
  left: var(--cursor-offset);
  width: var(--cursor-size);
  height: var(--cursor-size);
  border-radius: 50%;
  z-index: 999;
  /* ここからはベン固有の設定 */
  --cursor-offset: -1.0rem;
  --cursor-size: 2.0rem;
  background: rgba(255,255,255,1.0);
  border: solid 0.1rem #333333;
}
.noscroll {
  overflow: hidden;
  touch-action: none;
}

.wans,
.progress {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
}

/* インジケーター */
.indicators {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 95%;
  margin: 3.0rem 0 1.5rem;
  gap: 5px;
}
.indicators > div {
  display: flex;
  width: 5.0rem;
  height: auto;
  aspect-ratio: 1/1;
  background: #ffffff;
  border: solid 0.1rem #cccccc;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem;
  font-weight: bold;
  cursor: pointer;
}
.indicators > div.now {
  background: #ffeef6;
  border: solid 0.1rem #ffccf3;
  box-shadow: 0 0 0.3rem 0.3rem #ffccf3;
  color: #aa0066;
}
@media screen and (max-width: 640px) {
  .indicators > div {
    width: 3.6rem;
    font-size: 1.8rem;
  }
}

/* nazoform */
@media screen and (max-width: 640px) {
  .nazoform {
    margin: 1.0rem auto;
  }
}

/* ボタン */
.scratch-canvas#scratch_Clear {
  cursor: default;
}
.twitter_btn::before {
  width: 3.0rem;
  height: 3.0rem;
  vertical-align: bottom;
}
.bluesky_btn::before {
  width: 3.0rem;
  height: 2.0rem;
}
#twitter_btn,
#twitter_btn2 {
  font-size: 2.0rem;
  position: absolute;
  top: 70%;
  /* left: 25%; */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
}
#bluesky_btn,
#bluesky_btn2 {
  font-size: 2.0rem;
  padding: 0.1rem 1.6rem 0.1rem 1.8rem;
  position: absolute;
  top: 70%;
  left: 75%;
  transform: translate(-50%, -50%);
  z-index: 30;
}
#twitter_btn2,
#bluesky_btn2 {
  top: 85%;
}