@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700;900&family=Noto+Serif+JP:wght@500;700&display=swap");
body {
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color: #000;
  -webkit-text-size-adjust: 100%;
}

button,
input {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

p {
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.65em;
  margin-bottom: 1em;
}

.hint-box-in-final p {
  font-size: 1.5em;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.3em;
}

.ans-box #endcount {
  font-size: 1em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

.close-btn {
  font-size: 1.5em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

#PassageArea {
  font-size: 3em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 4px;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
  }

  p {
    font-size: 14px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
  }
}
html,
body {
  overflow-x: hidden;
}

body {
  width: 100%;
}
body img {
  width: 100%;
  height: auto;
  display: block;
}

.bg {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: url(../images/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.inner-wrap {
  padding: 0 1em;
  width: calc(100% - 2em);
  max-width: 1240px;
  margin: 0 auto;
}

header .challenge-logo {
  width: 320px;
  margin: 0 auto;
  margin-top: 2.5em;
}
header .challenge-title {
  max-width: 500px;
  margin: 0 auto;
}

main #challenge .challenge-wrap {
  width: 100%;
  max-width: 720px;
  margin: 60px auto 0;
}
main #challenge .challenge-wrap .webnazo {
  margin-bottom: 1em;
}
main #challenge #PassageArea {
  max-width: 200px;
  width: calc(100% - 2em - 4px);
  margin: 30px auto 0;
  padding: 5px 1em;
  color: #fff;
  text-align: center;
  display: block;
  border: solid 2px #000;
  transition-duration: 0.3s;
  background: #000;
  border-radius: 4px;
}
main #challenge .quiz-box {
  display: flex;
  margin: 0 auto;
  margin-top: 100px;
}
main #challenge .quiz-box img {
  width: 30%;
  margin: 0 auto;
  filter: drop-shadow(0px 0px 10px #00baff);
}
main #hint {
  background-color: #00000038;
  margin-top: 80px;
}
main #hint .hint-box {
  max-width: 420px;
  margin: 0 auto;
}
main #hint .hint-box .hint-box-in {
  padding: 50px 0;
}
main #hint .hint-box .hint-box-in .hint-box-in-final {
  display: flex;
  align-items: center;
  justify-content: center;
}
main #hint .hint-box .hint-box-in .hint-box-in-final p {
  color: #fff;
  text-align: center;
  margin-right: 1em;
  margin-bottom: 0;
}
main #hint .hint-box .hint-box-in .hint-box-in-final p:last-child {
  margin-right: 0;
}
main #hint .hint-box .hint-box-in img {
  width: calc(100% - 8em);
}
main #hint .ans-box {
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
}
main #hint .ans-box input {
  width: calc(100% - 2em - 4px - 90px);
  background: #fff;
  display: block;
  padding: 1em;
  border: solid 2px #19004d;
}
main #hint .ans-box button {
  max-width: 90px;
  width: calc(100% - 1em - 4px);
  color: #000;
  text-align: center;
  display: block;
  border: solid 2px #000;
  transition-duration: 0.3s;
  cursor: pointer;
  background-color: #fcee21;
}
main #hint .ans-box-2 button {
  max-width: 240px;
  width: calc(100% - 1em - 4px);
  margin: 20px auto;
  padding: 1em;
  color: #000;
  text-align: center;
  display: block;
  border: solid 2px #000;
  transition-duration: 0.3s;
  cursor: pointer;
}

.ans-pop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: none;
}
.ans-pop:before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00000086;
  z-index: -1;
}
.ans-pop .ans-pop-in {
  border: solid #19004d 3px;
  overflow-y: auto;
  max-height: 80vh;
  max-height: 80dvh;
  border-radius: 8px;
  background: #fff;
  width: calc(90% - 2em);
  max-width: 800px;
  padding: 1em;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.ans-pop .ans-pop-in .inner-wrap {
  padding: 0;
  width: 100%;
}
.ans-pop .ans-pop-in .ans-head {
  width: 100%;
  margin: auto;
}
.ans-pop .ans-pop-in .share-flex {
  display: flex;
  align-items: center;
  max-width: 240px;
  margin: 1em auto;
}
.ans-pop .ans-pop-in .share-flex .webnazo-share {
  display: flex;
  align-items: center;
  margin: 0 auto;
  transition-duration: 0.3s;
}
.ans-pop .ans-pop-in .share-flex .webnazo-share img {
  width: 70px;
}
.ans-pop .ans-pop-in .share-flex .webnazo-share:hover {
  opacity: 0.8;
}
.ans-pop .pop-close-btn {
  max-width: 240px;
  width: calc(100% - 2em - 4px);
  margin: 1.5em auto 0;
  padding: 1em;
  color: #19004d;
  text-align: center;
  display: block;
  border: solid 2px #19004d;
  transition-duration: 0.3s;
  cursor: pointer;
}
.ans-pop .pop-close-btn:hover {
  background: #19004d;
  color: #fff;
  opacity: 1;
}

.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999;
}

.close-btn {
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  max-width: 280px;
  padding: 0.5em 1em;
  transform: translate(-50%, -50%);
  width: calc(100% - 2em);
  left: 50%;
  position: absolute;
  top: 50%;
  text-align: center;
  cursor: pointer;
  transition-duration: 0.3s;
  filter: drop-shadow(0px 0px 8px red);
}
.close-btn:hover {
  filter: drop-shadow(0px 0px 16px red);
}

.modal-bg {
  background: rgba(0, 0, 0, 0.75);
  height: 100vh;
  position: absolute;
  width: 100%;
  backdrop-filter: blur(6px);
}

@media screen and (max-width: 767px) {
  main #challenge .quiz-box {
    margin-top: 50px;
    display: block;
  }
  main #challenge .quiz-box img {
    width: 90%;
    margin-top: 1.5em;
    max-width: 340px;
  }
  main #hint {
    margin-top: 40px;
  }
}
.cookie.is-hide {
  display: none;
}

.cookie-consent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 1.2em;
  box-sizing: border-box;
  z-index: 100;
}

.cookie-consent a {
  color: #fff !important;
  text-decoration: underline;
}

.cookie-agree {
  color: #fff;
  background: dodgerblue;
  padding: 0.5em 1.5em;
}

.cookie-agree:hover {
  cursor: pointer;
}

/* パッと消える */
.cc-hide1 {
  display: none;
}

/* ゆっくり消える */
.cc-hide2 {
  animation: hide 1s linear 0s;
  animation-fill-mode: forwards;
}

@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* メディアクエリ */
@media screen and (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
  }

  .cookie-text {
    margin-bottom: 1em;
  }
}

/*# sourceMappingURL=style.css.map */
