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

@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
/*----------------------------------------------------------

 	ワンコイン　ハロウィン　20250822

----------------------------------------------------------*/
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
  }
#onecoin_hw{
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
	width:100%;
	margin:0 auto;
	line-height: 1.4;
	font-size:16px;
}
#onecoin_hw a:hover {
  opacity: 0.8;
}
/*----------------------------------------------------------
調整
----------------------------------------------------------*/
#sTop h1{
  font-size: initial;
  line-height: initial;
  position: initial;
  bottom: initial;
  left: initial;
  font-weight: initial;
}
h2 {
  font-size: initial;
  line-height: initial;
  padding: initial;
  margin-bottom: initial;
  border-bottom: initial;
}
#contents {
  min-width: 100%;
}
/*----------------------------------------------------------
 fv
----------------------------------------------------------*/
#onecoin_hw .fv h1 img{
  width: 100%;
}

#onecoin_hw .contents{
}
#onecoin_hw .sp_menu{
    display: none;
}
/*----------------------------------------------------------
start
----------------------------------------------------------*/
#onecoin_hw .bg_yellow{
  background: #FCCF00;
}

#onecoin_hw .start{
  position: relative;
  background: url("/school_article_img/kids_article/event/hw/img/start_bg.png") top 30px center no-repeat;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
#onecoin_hw .start h2{
  color: #920883;
  text-align: center;
  font-size:34px;
  font-weight: bold;
  margin:0 0 20px;
}
#onecoin_hw .start h2 span{
  font-size: 42px;
}

#onecoin_hw .start h2 img{
  margin:0 0 10px;
}
#onecoin_hw .start .start_img {
  text-align: center;
  padding-bottom: 60px;
}
#onecoin_hw .start p{
  text-align: center;
  font-size: 16px;
  margin:0 0 20px;
}
.fade-in-effect {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-effect.visible {
  opacity: 1;
  transform: translateY(0);
}

#onecoin_hw .start .pumpkin{
  position: absolute;
  top: 0;
  right: 100px;
}
#onecoin_hw .start .bat{
  position: absolute;
  top: 50px;
  left: 50px;
  transform-origin: center top;
}

/* アニメーション */
#onecoin_hw .swing-on {
  animation: swing 0.3s steps(1) 0s 4 alternate;
  transform-origin: center top;
}

/* カクカク左右に揺れるキーフレーム */
@keyframes swing {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(10deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}
#onecoin_hw .start .grim_reaper{
  position: absolute;
  top: 280px;
  right: 80px;
}
#onecoin_hw .start .ghost{
  position: absolute;
  top: 390px;
  right: 250px;
}
#onecoin_hw .start .pumpkin02{
  position: absolute;
  bottom: 50px;
  left: 50px;
}
#onecoin_hw .start .pumpkin03{
  position: absolute;
  bottom: 20px;
  right: 50px;
}

#onecoin_hw .bg_purple{
  background: url("/school_article_img/kids_article/event/hw/img/bg_purple.jpg") no-repeat bottom;
  background-size: cover;
}

/*----------------------------------------------------------
quiz
----------------------------------------------------------*/
#onecoin_hw .bg_purple ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 850px;
  width: 100%;
  margin:0 auto;
}
#onecoin_hw .quiz{
  padding: 100px 0 200px;
  position: relative;
}
#onecoin_hw .quiz h2 {
  text-align: center;
  position: relative;
  z-index: 0;
  width: 100%;
  margin:0 auto;
}
#onecoin_hw .quiz h2 img{
  width: 100%;
}
#onecoin_hw .quiz h2 .cat{
  position: absolute;
  top: -40px;
  left: 45%;
}
#onecoin_hw .quiz h2 .bat02{
  position: absolute;
  bottom: 10px;
  right: 100px;
  z-index: -1;
}
#onecoin_hw .quiz > p{
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}
#onecoin_hw .quiz_item {
  position: relative;
  width: 48%;
  max-width: 100%;
  margin-bottom: 40px;
  overflow: hidden;
  background: url("/school_article_img/kids_article/event/hw/img/quiz_bg.png") no-repeat;
  background-size: 100% 100%;
  height: 650px;
  padding:40px;
  text-align: center;
}

#onecoin_hw .quiz-effect {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  pointer-events: none;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 100%;
  transform: translate(-50%, -50%) translateY(20px);
}
.quiz-effect.transition-disable {
  transition: none !important;
}

#onecoin_hw .quiz-effect.visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}
#onecoin_hw .quiz_item:nth-of-type(1) .quiz-effect{
  top: 30%;
  width: auto;
}
#onecoin_hw .quiz_item:nth-of-type(2) .quiz-effect{
  top: 48%;
  width: auto;
}
#onecoin_hw .quiz_item:nth-of-type(3) .quiz-effect{
  top: 48%;
  width: auto;
}
#onecoin_hw .quiz_item:nth-of-type(4) .quiz-effect{
  top: 46%;
  width: auto;
}
/* 切り替え後の位置 */
#onecoin_hw .quiz_item:nth-of-type(1) .quiz-effect.open {
  top: 12%;
  width: 80%;
}
#onecoin_hw .quiz_item:nth-of-type(2) .quiz-effect.open {
  top: 12%;
  width: 80%;
}
#onecoin_hw .quiz_item:nth-of-type(3) .quiz-effect.open {
  top: 11%;
  width: auto;
  left: 30%;
}
#onecoin_hw .quiz_item:nth-of-type(4) .quiz-effect.open{
  top: 12%;
  width: 80%;
}

#onecoin_hw .quiz-text {
  display: block;
  margin: 0 auto;
  z-index: 2;
  position: absolute;
  width: 80%;
  bottom: 25%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
/* 1問目の答え表示時（quiz01_a.png）の位置を変える */
#onecoin_hw .quiz_item:nth-of-type(1) .quiz-text.open {
  bottom: -60px;
  width: 90%;
}
#onecoin_hw .quiz_item:nth-of-type(2) .quiz-text.open{
  bottom: -60px;
  width: 90%;
}
#onecoin_hw .quiz_item:nth-of-type(3) .quiz-text.open{
  bottom: -60px;
  width: 90%;
}
#onecoin_hw .quiz_item:nth-of-type(4) .quiz-text.open{
  bottom: -60px;
  width: 90%;
}

#onecoin_hw .quiz-question{
  width: 100%;
  margin-top:10px;
}
#onecoin_hw .quiz_item button{
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: none;
  cursor: pointer;
  border: none;
}

/*----------------------------------------------------------
 event
----------------------------------------------------------*/
#onecoin_hw .event{
  position: relative;
  background: url("/school_article_img/kids_article/event/hw/img/event_bg_star.png") top 30px center no-repeat;
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 20px 0;
}

#onecoin_hw .event h2{
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin:0 0 20px;
}
#onecoin_hw .event h2 span{
  color: #920883;
  font-size: 33px;
}
#onecoin_hw .event h2 span span{
  font-size:55px;
}

#onecoin_hw .event h2 img{
  margin:0 auto 10px;
}
#onecoin_hw .event .ghost{
  position: absolute;
  top: 350px;
  right: 100px;
}

#onecoin_hw .event .pumpkin{
  position: absolute;
  bottom: 80px;
  left: 100px;
}
#onecoin_hw .event .start_img {
  text-align: center;
  padding-bottom: 30px;
}
#onecoin_hw .event .start_img p{
  margin-bottom: 40px;
}
/*----------------------------------------------------------
 pagetop
----------------------------------------------------------*/
#onecoin_hw .pagetop {
  position: fixed;
  bottom: 5%;
  right: 3%;
  width: 40px;
  z-index: 3;
}


/*----------------------------------------------------------
 footer
----------------------------------------------------------*/

#onecoin_hw .pagetop {
  bottom: 13%;
  opacity: 0;
}
#onecoin_hw .pagetop img{
  width: auto;
}

#onecoinEvent_hw .nittei {
    background: #fff;
    padding: 0 20px 20px;
    max-width: 1024px;
  width: 100%;
    border: 30px solid #fff;
    
}
#onecoinEvent_hw .kaikou {
    border-bottom: 4px solid #920883;
    text-align: left;
    padding-bottom: 0;
}

#onecoinEvent_hw .kaikou span {
    background: #920883;
    font-size: 20px;
    color: #fff;
    padding: 5px 20px;
    margin-left: 20px;
    font-weight: bold;
}
#onecoinEvent_hw .nittei ul{
  padding: 20px;
  width: 100%;
}
#onecoinEvent_hw .nittei ul li {
  margin: 0 0 20px;
  display: flex;
}
#onecoinEvent_hw .nittei ul li a{
  background: #920883;
  font-size: 16px;
  color: #FFF;
  padding: 5px 20px;
  border-radius: 50px;
  text-decoration: none;
  min-width: 230px;
  max-height: 40px;
  text-align: center;
}
#onecoinEvent_hw .nittei ul li p{
  font-size: 18px;
  font-weight: bold;
  color: #555;
  margin: 10px 20px 0 0;
  text-align: left;
  position: relative;
}


@media screen and (max-width: 720px) {
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

#onecoin_hw img {
    max-width: 100%;
}
#onecoin_hw{
	width:100%;
	margin:0 auto;
    line-height: 1.4;
}
  
#onecoin_hw .bg_purple{
  background: url("/school_article_img/kids_article/event/hw/img/bg_purple_sp.jpg") no-repeat bottom;
  background-size: cover;
}

/*----------------------------------------------------------
start
----------------------------------------------------------*/
#onecoin_hw .start {
  background: url("/school_article_img/kids_article/event/hw/img/start_bg_sp.png") top 150px center no-repeat;
  padding: 0 0 40px;
}
 #onecoin_hw .start h2{
  font-size:20px;
   padding: 0 20px;
}
#onecoin_hw .start h2 span{
  font-size: 28px;
}
#onecoin_hw .start h2 img {
  margin: 0 0 50px;
}
#onecoin_hw .start .start_tit {
  color: #920883;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 20px;
  padding: 0 20px;
}
#onecoin_hw .start .bat {
  position: absolute;
  top: 140px;
  left: 10px;
  transform-origin: center top;
  width: 90px;
}
#onecoin_hw .start .grim_reaper {
  position: absolute;
  top: 300px;
  right: 20px;
  width: 70px;
}
#onecoin_hw .start .pumpkin02{
    position: absolute;
    bottom: 47%;
    left: 35px;
    width: 65px;
    transform: rotate(8deg);
  }
#onecoin_hw .start .start_img {
  text-align: center;
  padding-bottom: 0;
}
#onecoin_hw .start p {
  text-align: left;
  font-size: 16px;
  margin: 0 0 20px;
}
#onecoin_hw .start .start_txt,
#onecoin_hw .start .onecoin_sp{
  padding: 0 20px;
}
#onecoin_hw .start a {
    padding: 0 20px;
    display: block;
  }
/*----------------------------------------------------------
quiz
----------------------------------------------------------*/
  #onecoin_hw .quiz h2 .cat {
  position: absolute;
  top: -10px;
  left: 38%;
  z-index: 1;
  width: 75px;
}
#onecoin_hw .quiz > p {
  margin-bottom: 40px;
  font-size: 16px;
}
#onecoin_hw .bg_purple ul {
  display: block;
  width: 100%;
  margin:0 auto;
}
#onecoin_hw .quiz {
  padding: 60px 20px 100px;
}
#onecoin_hw .quiz_item:nth-of-type(1) .quiz-effect{
    width: 90%;
    top: 150px;
  }
#onecoin_hw .quiz_item:nth-of-type(2) .quiz-effect{
  top: 250px;
  width: 80%;
}
#onecoin_hw .quiz_item:nth-of-type(3) .quiz-effect{
  top: 250px;
  width: 80%;
}
#onecoin_hw .quiz_item:nth-of-type(4) .quiz-effect{
  top: 230px;
  width: 80%;
}

#onecoin_hw .quiz_item:nth-of-type(1) .quiz-effect.open {
  width: 90%;
    top: 150px;
}
#onecoin_hw .quiz_item:nth-of-type(2) .quiz-effect.open {
  top: 250px;
  width: 80%;
}
#onecoin_hw .quiz_item:nth-of-type(3) .quiz-effect.open{
  top: 250px;
  width: 80%;
  left: 50%;
}
#onecoin_hw .quiz_item:nth-of-type(4) .quiz-effect.open{
  top: 230px;
  width: 80%;
}

 #onecoin_hw .quiz .a img{
}
#onecoin_hw .quiz-text {
  display: block;
  position: initial;
  width: 100%;
  transform: initial;
}
#onecoin_hw .quiz_item {
    width: 100%;
    height: auto;
    padding: 20px 20px 40px 20px;
  }

#onecoin_hw .quiz-effect {
    width: 90%;
  }
#onecoin_hw .quiz-effect.transition-disable {
  transition: none !important;
}
#onecoin_hw .quiz_item button {
  position: initial;
  transform: initial;
}
#onecoin_hw .quiz_item p.q {
  margin-bottom: 150px;
}
#onecoin_hw .quiz_item:nth-of-type(1) .quiz-text.open {
  width: 100%;
}
#onecoin_hw .quiz_item:nth-of-type(2) .quiz-text.open {
  width: 100%;
}
#onecoin_hw .quiz_item:nth-of-type(3) .quiz-text.open {
  width: 100%;
}
#onecoin_hw .quiz_item:nth-of-type(4) .quiz-text.open {
  width: 100%;
}

/*----------------------------------------------------------
event
----------------------------------------------------------*/
#onecoin_hw .event h2 {
  font-size: 22px;
}
#onecoin_hw .event h2 span {
  font-size: 20px;
}
#onecoin_hw .event h2 span span {
  font-size: 40px;
}
#onecoin_hw .event .start_img {
  padding: 0 20px;
}
#onecoinEvent_hw .nittei {
  width: 100%;
  border: 10px solid #fff;
    padding: 20px 10px 0;
}
#onecoinEvent_hw .nittei ul{
  padding: 20px 0 0;
}
#onecoinEvent_hw .nittei ul li{
    text-align: center;
    display: block;
  margin: 0 0 30px;
  }

#onecoinEvent_hw .nittei ul li p {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    margin: 5px 0 10px;
    text-align: left;
    position: relative;
}
#onecoinEvent_hw .nittei ul li a {
  font-size: 12px;
}

}