.section-header {
  font-size: 24px;
  font-weight: bold;
  padding: 0.5em;
  color: #000000;
  background: #78ccfd;
  border-left: solid 5px #d6000c; }

.subtitle {
  font-weight: bold;
  color: #d6000c;
  font-size: 18px; }
  @media screen and (max-width: 445px) {
    .subtitle {
      font-size: 12px; } }

.sponsored_link {
  text-align: center;
  margin-bottom: 2px;
  font-size: 12px;
  color: #7b8388; }

.subsection {
  background-color: #dffff6;
  border-bottom: 1px solid transparent;
  margin-bottom: 12px; }

  .stamp-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stamp-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stamp-container .stamp-box .stamp {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.stamp-container .stamp-box .blank {
    background-color: #ffffff;
    color: #aaa;
}

.stamp-container .stamp-box .checked {
    background-color: #ffeb3b;
    color: #333;
    border-color: #fbc02d;
}

.stamp-container .stamp-box .completed {
    background-color: #4caf50;
    color: white;
    border-color: #388e3c;
}

.stamp-container .stamp-box .label {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
}

.btn_primary {
  background: #d6000c;
  color: #ffffff;
  border: solid 4px #000000; }

.btn_secondary {
  background: #78ccfd;
  color: #ffffff;
  border: solid 4px #000000; }

.btn:disabled, .btn_disabled {
  pointer-events: none;
  opacity: 0.6; }

#header {
  display: flex;
  flex-direction: row;
  background: white;
  min-height: 110px;
  margin: 10px;
}

@media screen and (max-width: 768px) {
  #header {
    min-height: 200px;
  }
}

@media screen and (max-width: 445px) {
  #header {
    flex-direction: column;
    min-height: 170px;
    margin: 2px;
  }
}

#logo {
  width: 100%;
}

@media screen and (max-width: 445px) {
  #logo {
    max-width: 375px;
  }
}

@media screen and (max-width: 320px) {
  #logo {
    max-width: 320px;
  }
}

#title {
  margin: 12px;
  font-size: 24px;
  font-weight: bold;
}

@media screen and (max-width: 445px) {
  #title {
    margin: 4px;
    font-size: 17px;
  }
}

#subtitle_first,
#subtitle_second {
  margin: 12px;
  font-size: 18px;
}

@media screen and (max-width: 445px) {

  #subtitle_first,
  #subtitle_second {
    margin: 8px;
    font-size: 15px;
  }
}

#contact_link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
}

@media screen and (max-width: 768px) {
  #contact_link {
    width: 84px;
  }
}

@media screen and (max-width: 445px) {
  #contact_link {
    width: 100%;
    padding-top: 12px;
    padding-right: 24px;
    justify-content: flex-end;
  }
}

#contact_link a {
  color: #78ccfd;
  padding: 0 1rem;
  line-height: 1.8rem;
  border: #78ccfd 2px solid;
  border-radius: 1rem;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
}

#rule {
  background: white;
  margin: 20px 0;
}

#side {
  background: white;
  width: 100%;
  max-width: 300px;
  margin: 0 0 10px 20px;
}

@media screen and (max-width: 445px) {
  #side {
    margin-right: 0;
    margin-left: 0;
    max-width: none;
  }
}

#top-banner-ads,
#stageclear-banner-ads,
#gameover-banner-ads,
#scorecheck-banner-ads {
  margin: 0 10px 10px 0;
}

@media screen and (max-width: 445px) {

  #top-banner-ads,
  #stageclear-banner-ads,
  #gameover-banner-ads,
  #scorecheck-banner-ads {
    margin: 0;
  }
}

#side-top-banner-ads,
#side-bottom-banner-ads {
  margin: 0 10px 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (max-width: 445px) {

  #side-top-banner-ads,
  #side-bottom-banner-ads {
    display: none;
  }
}

#bottom-banner-ads {
  margin: 10px 10px 10px 0;
}

@media screen and (max-width: 445px) {
  #bottom-banner-ads {
    display: none;
  }
}

#game-bottom-banner-ads,
#howtoplay-bottom-banner-ads {
  width: 728px;
  margin: 10px 10px 10px 0;
}

#howtoplay-middle-banner-ads {
  display: none;
}

#game-bottom-banner-ads,
#howtoplay-middle-banner-ads,
#howtoplay-bottom-banner-ads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (max-width: 445px) {

  #game-bottom-banner-ads,
  #howtoplay-middle-banner-ads,
  #howtoplay-bottom-banner-ads {
    width: 375px;
    margin: 10px auto;
  }
}

@media screen and (max-width: 320px) {

  #game-bottom-banner-ads,
  #howtoplay-middle-banner-ads,
  #howtoplay-bottom-banner-ads {
    width: 320px;
  }
}

#stageclear-banner-ads,
#gameover-banner-ads,
#scorecheck-banner-ads {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.img_play_guide {
  margin: 12px;
  text-align: center;
}

.img_play_guide img {
  width: 40%;
  height: 40%;
}

.desc_play_guide {
  margin-top: 4px;
  margin-bottom: 6px;
  text-align: center;
  font-weight: bold;
  line-height: 20px;
}

@media screen and (max-width: 445px) {
  .desc_play_guide {
    font-size: 12px;
  }
}

.desc_env {
  padding: 12px;
}

.top_dot {
  border-top-style: dotted;
  border-top-width: 3px;
  border-top-color: #7b8388;
}

#howtoplay,
#env {
  width: 100%;
  max-width: 728px;
}

.list_howtoplay {
  margin-left: 12px;
  padding: 24px 0;
  display: flex;
  justify-content: flex-start;
  border-bottom-style: dotted;
  border-bottom-width: 3px;
  border-bottom-color: #7b8388;
}

@media screen and (max-width: 445px) {
  .list_howtoplay {
    margin-left: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.list_howtoplay:last-child {
  border-bottom: none;
}

.img_howtoplay {
  margin: 0 12px 0 0;
  height: 50px;
  width: 133.33px;
}

@media screen and (max-width: 445px) {
  .img_howtoplay {
    margin: 12px 12px 0 12px;
    width: 100%;
    height: 100%;
    text-align: center;
  }
}

.img_howtoplay img {
  height: 100%;
}

@media screen and (max-width: 445px) {
  .img_howtoplay img {
    width: 100%;
    height: auto;
  }
}

.desc_howtoplay {
  flex: 1;
  height: auto;
}

@media screen and (max-width: 445px) {
  .desc_howtoplay {
    margin: 12px 12px 0 12px;
  }
}

.medals {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0 0 12px 0;
}

.medal {
  margin: 4px;
  width: 44px;
  height: 44px;
}

.medal img {
  width: 44px;
  height: 44px;
}

.medal-desc {
  text-align: center;
  margin: 0 0 24px 0;
}

.point_area {
  display: flex;
  justify-content: center;
  margin: 0 0 12px 0;
}

.point_area progress {
  width: 80%;
  /* Turn off default styling. */
  appearance: none;
  border: none;
  border-radius: 10px;
  height: 20px;
  color: #d6000c;
  /* IE */
  background: #7b8388;
  /* Firefox */
  text-align: center;
}

.point_area progress::-webkit-progress-value {
  /* Chrome */
  background: #d6000c;
  border-radius: 10px;
}

.point_area progress::-webkit-progress-bar {
  background: #7b8388;
  border-radius: 10px;
}

.point_area progress::-moz-progress-bar {
  /* Firefox */
  background: #d6000c;
  border-radius: 10px;
}

.point-desc {
  text-align: center;
  margin: 12px 0 12px 0;
}

.life-desc {
  text-align: center;
  margin: 12px 0;
}

.point-text {
  font-size: 32px;
  text-align: center;
  margin: 12px 0 12px 0;
}

#life {
  font-size: 32px;
  text-align: center;
  margin: 12px 0 12px 0;
}

#footer {
  display: flex;
  justify-content: center;
  background: white;
  margin-top: 86px;
  height: 44px;
  text-align: center;
}

@media screen and (max-width: 445px) {
  #footer {
    flex-direction: column;
    margin-top: 0;
  }
}

#footer a,
#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
  display: block;
  padding: 2px;
  color: #000;
}

#company_link {
  margin-right: 24px;
}

@media screen and (max-width: 445px) {
  #company_link {
    margin-right: 0;
  }
}

#container #main #menu {
  max-width: 728px;
  width: 100%;
}

@media screen and (max-width: 445px) {
  #container #main #menu {
    max-width: 375px;
    margin: 0 auto;
  }
}

#container #main #menu ul {
  margin: 0;
  padding: 0;
  display: table;
  width: 100%;
  line-height: 40px;
}

#container #main #menu li {
  display: table-cell;
  padding: 0;
  margin: 0;
  width: 33.3%;
  border-right: 2px solid #444a33;
  border-bottom: 4px solid #444a33;
  background: url(../../images/menu_bg.png) center top;
  position: relative;
}

#container #main #menu li span {
  position: absolute;
  left: -15px;
  top: -45px;
}

#container #main #menu li:last-child {
  border-right: 0 none;
}

#container #main #menu li a {
  display: block;
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 4px 0 #444a33;
  padding-top: 4px;
  letter-spacing: 0.2em;
}


#container #main  #menu li.menu_active {
  border-bottom: 4px solid #ffe451;
}

#container #main #menu li.menu_active a {
  color: #ffe451;
}

#container #main #menu li a:hover {
  background: rgba(146, 135, 94, 0.3);
}

#container #main #menu li a:active {
  background: rgba(146, 135, 94, 0.5);
}

#container #main #menu li.menu_active a:hover {
  background: none;
}
