/* ============================================ /
/ [ CDN ]
/ ============================================ */
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.5.0/fonts/remixicon.min.css');
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin:wght@400;500;700;800&display=swap');


/* ============================================ /
/ [  ]
/ ============================================ */
* { box-sizing: border-box; }
html, body {
  min-height: 100dvh;
  font-family: "Kaisei Tokumin", serif;
}
html { }
body {
  height: 100dvh;
  padding-top: 70px;
  color: #262626;
  font-size: 62.5%;
  background-color: #fff0e0;
  display: grid;
  /* grid-template-columns: 1fr auto 1fr; */
  grid-template-rows: 1fr auto 1fr;
  /* flex-direction: column; */
}

/* ============================================ /
/ [ ヘッダ ]
/ ============================================ */
.header {
  width: 100%;
  height: 60px;
  margin: 0;
  padding: 0;
  background-color: #255c99;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  grid-row: 1;
}
  .header__logo {
    color: #fff;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    font-weight: 800;
    font-style: normal;
    letter-spacing: .3rem;
    text-shadow: 4px 4px 0 rgba(0,0,0,.2);
  }
/* ============================================ /
/ [ テキスト(カウント) ]
/ ============================================ */
.monitor {
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
  .monitor__counter {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
    position: absolute;
    top: -5px;
    left: 0;
  }
    .counter__num {
      color: #ffa14f;
      font-size: clamp(4.5rem, 4.0625rem + 2.1875vw, 5.375rem);
      font-weight: 800;
      text-shadow: 2px 2px 0 rgba(0,0,0,.3);
    }
    .counter__text {
      margin-left: 5px;
      font-size: clamp(2.25rem, 1.875rem + 1.875vw, 3rem);
      font-weight: 800;
    }
  .monitor__glass {
    width: calc(100% - 40px);
    max-height: 300px;
    margin: auto;
    padding: 20px;
    background: rgba(255,255,255,.8);
    border: 4px dashed #ffa14f;
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(2rem, 1rem + 5vw, 4rem), 1fr));
    grid-auto-rows: minmax(clamp(2rem, 1rem + 5vw, 4rem), auto);
    gap: 5px;
    justify-items: start;
    overflow: auto;
  }
    .glass__icon {
      color: #7ea3cc;
      color: #ff7790;
      color: #ffa14f;
      font-size: clamp(2rem, 1rem + 5vw, 4rem);
      font-weight: 500;
      font-style: normal;
      text-shadow: 2px 2px 0 rgba(0,0,0,.1);
    }
/* ============================================ /
/ [ ボタン ]
/ ============================================ */
.buttons {
  width: 100%;
  height: 60px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  bottom: 20px;
  left: 0;
}
  /* ボタン */
  .buttons__button-plus,
  .buttons__button-minus {
    color: #fff;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    tap-highlight-color: rgba(0,0,0,0);
    user-select: none;
    transition: 150ms;
  }
  .buttons__button-plus:disabled,
  .buttons__button-minus:disabled {
    background-color: #bbb;
    cursor: default;
    box-shadow: 1px 1px 0 rgba(0,0,0,.2) inset, 1px 1px 0 rgba(255,255,255,1);
    scale: 1;
  }
  .buttons__button-plus {
    width: 70%;
    height: 70px;
    margin-left: auto;
    font-size: clamp(1.375rem, 1.0625rem + 1.5625vw, 2rem);
    font-weight: 800;
    letter-spacing: .2rem;
    background-color: #255c99;
  }
  .buttons__button-plus:active {
    background-color: #227ee7;
    box-shadow: 0 0 10px #227ee7;
    scale: .95;
  }
  .buttons__button-minus {
    width: 40px;
    aspect-ratio: 1;
    font-size: 1.8rem;
    background-color: #b3001b;
  }
  .buttons__button-minus:active {
    background-color: #ec0225;
    box-shadow: 0 0 10px #ec0225;
    scale: .95;
  }
  .buttons__button-minus:disabled:active {
    background-color: #bbb;
    cursor: default;
    box-shadow: 1px 1px 0 rgba(0,0,0,.2) inset, 1px 1px 0 rgba(255,255,255,1);
    scale: 1;
  }
    /* アイコン */
    .button-plus__icon,
    .button-minus__icon {
    }
    .button-plus__icon {
      font-size: 2.0rem;
    }
    .button-minus__icon {
    }
/* ============================================ /
/ [  ]
/ ============================================ */

