@font-face {
  font-family: "myFont";
  src: url("../../f/cc.eot?") format('eot'),
       url("../../f/cc.woff") format('woff');
}

::selection {
  background: rgba(255, 99, 71, 0.4);
}

body {
  font-family: 'myFont', 'Zen Maru Gothic', sans-serif;
  color: white;
  font-size: 1.2em;
  background-color: #00E77C;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.content-box {
  text-align: center;
  display: block;
  max-width: 60%;
  border: solid 0px #000;
  padding: 20px;
  margin: 5% auto;
  border-radius: 25px;
}

.border-box {
  padding: 20px;
}

.container {
  width: 50%;
}

.text00 {
  background-color: #001aff;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  padding: 20px 10px; /* 上下のパディングを増やして帯幅を太くする */
  border-radius: 10px;
}

.text01 {
  background-color: #ffe600;
  display: inline-block;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
}

.text01 a {
  font-weight: bold;
}

.text02 {
  font-size: 0.9em;
  color: rgb(0, 0, 0);
  background-color: rgba(255, 0, 0, 0);
  display: inline-block;
  width: 100px;
}

.text03 {
  font-size: 30vw;
  color: white;
  display: inline-block;
}

.text00, .text01, .text02, .text03 {
  color: white;
}

a {
  text-decoration: none;
}

a:link, a:visited {
  color: #ffffff;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}

a:active {
  color: #ff0000;
}

/* ウィンドウ幅が0〜479pxの場合に適用するCSS */
@media screen and (max-width: 479px) {
  body:after {
    background: #ffd700;
    background-repeat: no-repeat;
    content: "";
    position: fixed;
    top: 0;
    height: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-position: center 90%;
    background-image: url('text/gummies_run_2.gif');
    background-size: 80%;
  }

  .text, textarea, .dropdown {
    border: 1px solid #777;
    padding: 5px;
    color: #999;
    background: #fff;
    border-radius: 5px;
    background: -moz-linear-gradient(top, #eee, #fff);
    -moz-border-radius: 5px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffeeeeee, endColorstr=#ffffffff);
    zoom: 1;
  }
  

  .text00, .text01, .text02, .text03 {
    font-size: 1em;
    padding: 10px;
    color: white; /* 文字の色を白に設定 */
  }

  .content-box {
    max-width: 100%;
    padding: 20px;
  }

  .container {
    width: 100%;
  }
}

/* ウィンドウ幅が480px以上の場合に適用するCSS */
@media screen and (min-width: 480px) {
  .text00, .text01, .text02, .text03 {
    font-size: 1.5em;
    padding: 15px;
    color: white; /* 文字の色を白に設定 */
  }

  .content-box {
    max-width: 80%;
    padding: 30px;
  }

  .container {
    width: 70%;
  }
}
