@charset "UTF-8";
/* CSS Document */

body {
  background-image: url('../img/background.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  min-width: 1000px;
  margin: 0 auto;
}

.bg_sp {
  background: url('../img/background.jpg');
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pc_disp {
  display: block;
}

.sp_disp {
  display: none !important;
}

header {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 40px;
  position: relative;
}

.header_logo {
  width: 200px;
  left: 0;
  position: absolute;
  top: 40px;
}

header h1 {
  margin-bottom: 20px;
}

main {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

section.intro {
  display: flex;
  margin-bottom: 50px;
  justify-content: space-between;
}

.intro_board {
  width: 50%;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.4);
}

.intro_quiz {
  width: 46%;
}

.intro_quiz_title {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  border: 3px solid #fff;
  padding: 20px;
  border-radius: 15px;
}

.intro_quiz_title img {
  width: 60px;
}

.intro_quiz_title span {
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 34px;
  margin-left: 13px;
}

p.intro_quiz_cap {
  color: #fff;
  margin-bottom: 30px;
  font-size: 1.8rem;
  line-height: 30px;
  font-weight: bold;
}

a.intro_quiz_link {
  display: block;
  color: #000;
  background: rgb(255, 234, 95);
  background: linear-gradient(
    180deg,
    rgba(255, 234, 95, 1) 0%,
    rgba(230, 208, 57, 1) 100%
  );
  padding: 25px 0;
  border-radius: 100px;
  margin-top: 30px;
  text-align: center;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
  font-size: 2rem;
  font-weight: bold;
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
}

a.intro_quiz_link:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 1);
}

section.present {
  margin-bottom: 80px;
}

.challenge h3 {
  margin: 40px auto;
  max-width: 840px;
}

p.challenge_cap {
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.8rem;
}

p.challenge_cap span {
  display: block;
  margin-top: 10px;
}

p.challenge_cap img {
  max-width: 220px;
  margin: 30px auto;
}

.challenge h2 {
  max-width: 600px;
  margin: 0 auto 30px;
}

.challenge_contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.challenge_board {
  width: 50%;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.4);
}

.challenge_quiz {
  width: 46%;
}

a.hint_btn {
  text-align: center;
  display: flex;
  color: #000;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  font-size: 1.8rem;
  font-weight: bold;
  align-items: center;
  padding: 16px 40px;
  justify-content: center;
  background: rgb(255, 234, 95);
  background: linear-gradient(
    180deg,
    rgba(255, 234, 95, 1) 0%,
    rgba(230, 208, 57, 1) 100%
  );
  border-radius: 100px;
  width: 100%;
  margin: 0 auto 30px;
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
}

a.hint_btn img {
  width: 24px;
  margin-right: 10px;
}

a.hint_btn:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 1);
}

.hint_title {
  font-size: 2rem;
  font-weight: bold;
  border: 3px solid;
  border-radius: 100px;
  line-height: 30px;
  width: max-content;
  margin: 0 auto 25px;
  padding: 2px 40px;
  letter-spacing: 2px;
}

.remodal p {
  line-height: 30px;
  font-size: 1.6rem;
  text-align: left;
}

p.challenge_quiz_cap {
  color: #fff;
  font-weight: bold;
  line-height: 32px;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.challenge_quiz_formtitle {
  text-align: center;
  font-size: 1.8rem;
  display: flex;
  color: #fff;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  font-weight: bold;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.2);
}

p.validate_message {
  color: #fff;
  text-align: center;
  font-weight: bold;
  line-height: 32px;
  font-size: 1.8rem;
  margin-bottom: 30px;
  height: 30px;
}

ul.challenge_quiz_list {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

ul.challenge_quiz_list li {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 12px;
}

ul.challenge_quiz_list label {
  position: relative;
  cursor: pointer;
  font-size: 1.8rem;
  padding-left: 34px;
}

ul.challenge_quiz_list label::before,
ul.challenge_quiz_list label::after {
  content: '';
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

ul.challenge_quiz_list label::before {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  left: 5px;
}

ul.challenge_quiz_list label::after {
  background-color: #d80000;
  border-radius: 50%;
  opacity: 0;
  width: 16px;
  height: 16px;
  left: 8px;
}

ul.challenge_quiz_list input:checked + label::after {
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}

input.mail_area {
  padding: 16px;
  font-size: 1.8rem;
  width: 100%;
  border-radius: 6px;
}

::placeholder {
  color: #ccc;
}

span.required {
  background: #d50000;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 1.2rem;
  margin-left: 8px;
  border: 1px solid #fff;
  line-height: 20px;
}

.check_agree {
  display: flex;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  align-items: center;
  margin-bottom: 30px;
}

.check_agree input {
  margin-right: 18px;
  transform: scale(2);
}

.check_agree label {
  font-size: 1.8rem;
}

button.submit_btn {
  text-align: center;
  position: relative;
  display: block;
  color: #000;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  font-size: 2.5rem;
  font-weight: bold;
  padding: 20px 100px;
  background: rgb(255, 234, 95);
  background: linear-gradient(
    180deg,
    rgba(255, 234, 95, 1) 0%,
    rgba(230, 208, 57, 1) 100%
  );
  border-radius: 100px;
  width: max-content;
  margin: 0 auto;
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
}

button.submit_btn:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 1);
}

.privacypolicy {
  margin: 50px 0;
}

.pp_title {
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.6rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.pp_inner {
  background: #fff;
  border-radius: 8px;
  overflow-y: scroll;
  height: 190px;
  padding: 30px;
}

.pp_subtitle {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

p.pp_text {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

footer {
  background: #fff;
  padding: 20px 0;
}

.footer_inner {
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.footer_main {
  display: flex;
  align-items: center;
}

.footer_main a {
  display: block;
  width: 140px;
  margin-right: 20px;
}

.footer_main span {
  font-size: 1.2rem;
}

small {
  font-size: 1.1rem;
  color: #999;
}

/*---------------------------------------------------------------*\
	$480px
\*---------------------------------------------------------------*/
@media screen and (max-width: 480px) {
  body {
    min-width: inherit;
  }

  .pc_disp {
    display: none;
  }

  .sp_disp {
    display: block !important;
  }

  .header_logo {
    top: 20px;
    width: 120px;
    left: 4%;
  }

  header h1 {
    margin-bottom: 0;
  }

  header {
    padding: 30px 8% 10px;
    position: relative;
  }

  section.intro {
    display: block;
    margin-bottom: 35px;
    padding: 0 4%;
  }

  .intro_board {
    width: 100%;
  }

  .intro_quiz {
    width: 100%;
    margin: 20px 0 0;
  }

  .intro_quiz_title span {
    font-size: 1.8rem;
    line-height: 28px;
  }

  .intro_quiz_title img {
    width: 42px;
  }

  .intro_quiz_title {
    justify-content: center;
    margin-bottom: 15px;
    border: 3px solid #fff;
    padding: 12px;
    border-radius: 10px;
  }

  p.intro_quiz_cap {
    font-size: 1.35rem;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .intro_quiz_level {
    width: 70%;
    margin: 0 auto;
  }

  a.intro_quiz_link {
    font-size: 1.6rem;
    padding: 15px 0;
    width: 90%;
    margin: 20px auto 0;
  }

  section.present {
    width: 92%;
    margin: 0 auto 30px;
  }

  section#challenge_area {
    padding: 0 4% 0;
  }

  .challenge h2 {
    width: 90%;
    margin: 0 auto 20px;
  }

  p.challenge_cap {
    font-size: 1.35rem;
    text-align: left;
    line-height: 26px;
  }

  p.challenge_cap span {
    font-size: 1.15rem;
    font-weight: normal;
  }

  p.challenge_cap img {
    width: 40%;
    margin: 20px auto;
  }

  .challenge h3 {
    margin: 25px auto;
  }

  .challenge_contents {
    display: block;
    margin-bottom: 20px;
  }

  .challenge_board {
    width: 100%;
    margin-bottom: 20px;
  }

  .challenge_quiz {
    width: 100%;
  }

  p.challenge_quiz_cap {
    font-size: 1.35rem;
    line-height: 24px;
    margin-bottom: 20px;
  }

  a.hint_btn {
    width: 90%;
    font-size: 1.6rem;
  }

  a.hint_btn img {
    width: 20px;
  }

  .challenge_quiz_formtitle {
    font-size: 1.45rem;
  }

  p.validate_message {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  span.required {
    font-size: 1.1rem;
    padding: 1px 10px;
  }

  ul.challenge_quiz_list label {
    font-size: 1.5rem;
  }

  ul.challenge_quiz_list li {
    margin: 0 8px;
  }

  input.mail_area {
    font-size: 1.4rem;
    padding: 12px;
  }

  .check_agree label {
    font-size: 1.35rem;
  }

  .check_agree input {
    transform: scale(1.5);
    margin-right: 10px;
  }

  .check_agree {
    margin-bottom: 20px;
  }

  button.submit_btn {
    font-size: 1.85rem;
    width: 90%;
    padding: 18px;
  }

  .pp_title {
    font-size: 1.45rem;
    margin-bottom: 15px;
  }

  .pp_inner {
    padding: 12px;
    height: 100px;
    border-radius: 5px;
  }

  p.pp_text {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .pp_subtitle {
    font-size: 1.25rem;
  }

  .privacypolicy {
    margin: 30px 0;
  }

  footer {
    padding: 20px 4%;
    position: relative;
  }

  .footer_inner {
    display: block;
  }

  .footer_main {
    justify-content: center;
    margin-bottom: 10px;
  }

  .footer_main a {
    width: 100px;
    margin-right: 10px;
    margin-bottom: 0;
  }

  small {
    display: block;
    text-align: center;
    font-size: 1rem;
  }
}
