
/* ✦タイトルロゴ✦ */

.title-tx{
  font-size: 40px;
  font-weight:bold;
}
.title-color{
  color:#9b4;
}
.title-read{
  font-size: 20px;
}
@media (max-width: 600px) {
  .title-read{
    font-size: 14px;
  }
}

/* ✦ボタンスタイル✦ */
.b-style2{
  height: 50px;
  font-size: 20px;
  border:solid black 2px;
  border-radius: 5px;
}

/* ✦モーダル✦ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: rgba(0,0,0,0.3);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
}

.modal.open {
  opacity: 1;
  pointer-events: auto; 
}

.box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #222;
  color: #fff;
  padding: 20px;
  width: min(80%, 400px);
  margin: 100px auto;
  border: solid #999 4px;
  border-radius: 10px;
  text-align: center;
  max-height: 80vh;
}
#videoModal .box {
  padding: 5px;
}
@media (max-width: 600px) {
  .modal {
    align-items: center;
  }
  .box {
    margin: 0;
    transform: translateY(35h);
    margin: 10px;
    max-height: 90vh;
  }
  #videoModal .box {
    padding: 5px;
    max-height: none;
    overflow: hidden;
  }
}
.content {
  overflow-y: auto;
  flex: 1;
  margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  padding-right: 5px; /* スクロールバー被り防止 */
}

#nextBtn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

#text {
  transition: opacity 0.1s ease;
  min-height: 3em;
}

.mox-bg_red{
  background: #f00;
}
.mox-bg_green{
  background: #0f0;
}
.mox-bg_blue{
  background: #00f;
}
.mox-tx_5{
  font-size: 5px;
}
.mox-tx_30{
  font-size: 30px;
}
.mox-tx_40{
  font-size: 40px;
}
.mox-tx_50{
  font-size: 50px;
}
.mox-tx_60{
  font-size: 60px;
}
.mox-tx_70{
  font-size: 70px;
}
.mox-tx_80{
  font-size: 80px;
}
.mox-tx_100{
  font-size: 100px;
}
.mox-tx_200{
  font-size: 200px;
}
.mox-tx_300{
  font-size: 300px;
}
.mox-tx_400{
  font-size: 400px;
}
.mox-tx_600{
  font-size: 600px;
}

.mox-txc_red{
  color:red;
}
.mox-txc_white{
  color:white;
}

.mox-tx_hutazi{
  font-weight:bold;
}

.mox-fil_50{
  filter: hue-rotate(50deg);/* 青 */
}
.mox-fil_100{
  filter: hue-rotate(100deg);/* 青 */
}
.mox-fil_150{
  filter: hue-rotate(150deg);/* 青 */
}
.mox-fil_200{
  filter: hue-rotate(200deg);/* 青 */
}
.mox-fil_250{
  filter: hue-rotate(250deg);/* 青 */
}
.mox-fil_300{
  filter: hue-rotate(300deg);/* 青 */
}
.mox-fil_350{
  filter: hue-rotate(350deg);/* 青 */
}

@keyframes hueLoop {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

.mox-fil_rainbow {
  animation: hueLoop 1s linear infinite;
}
.mox-fil_rainbow-high {
  animation: hueLoop 0.3s linear infinite;
}
.mox-fil_rainbow-low {
  animation: hueLoop 3s linear infinite;
}

@keyframes shakeX {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-5px); }
  50%  { transform: translateX(5px); }
  75%  { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.mox-shake_x {
  animation: shakeX 0.8s infinite;
}

@keyframes shakeXY {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-8px, 2px); }
  50%  { transform: translate(8px, -2px); }
  75%  { transform: translate(-8px, 1px); }
  100% { transform: translate(0, 0); }
}

.mox-shake_xy {
  animation: shakeXY 0.5s infinite;
}

@keyframes shakeR {
  0%   { transform: translateX(0) rotate(0deg); }
  25%  { transform: translateX(-4px) rotate(-5deg); }
  50%  { transform: translateX(4px) rotate(5deg); }
  75%  { transform: translateX(-4px) rotate(-3deg); }
  100% { transform: translateX(0) rotate(0deg); }
}
.mox-shake_r {
  animation: shakeR 0.5s infinite;
}

