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

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

 	ワンコイン　ハロウィン　20260825

----------------------------------------------------------*/
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
  }
html {
  scroll-behavior: smooth;
}
#onecoin_hw_02{
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
	width: 1024px;
	margin:0 auto;
	line-height: 1.4;
	font-size:16px;
}
#onecoin_hw_02 a:hover {
  opacity: 0.8;
}

/*----------------------------------------------------------
 fv
----------------------------------------------------------*/
#onecoin_hw_02 .fv{
  background: url(/school_article_img/kids_article/event/hw/img/fv_bg.png) no-repeat top center #000;
  position: relative;
  background-size: 172%;
  text-align: center;
  padding: 0 0 80px;
}
#onecoin_hw_02 .fv  h1 {
  text-align: center;
}
#onecoin_hw_02 .fv  h1 img{
  width: 100%;
}
#onecoin_hw_02 .fv .entry_area{
  margin-top:40px;
}
#onecoin_hw_02 .sp_menu{
    display: none;
}
/*----------------------------------------------------------
start
----------------------------------------------------------*/

#onecoin_hw_02 .start {
  background: url("/school_article_img/kids_article/event/hw/img/start_bg.png") repeat-x top center #000;
  width: 100%;
  padding: 110px 0 40px;
}
#onecoin_hw_02 .start h2{
  color: #920883;
  text-align: center;
  font-size:34px;
  font-weight: bold;
  margin:0 0 20px;
}
#onecoin_hw_02 .start h2 span{
  font-size: 42px;
}

#onecoin_hw_02 .start h2 img{
  margin:0 0 10px;
}
#onecoin_hw_02 .start .start_img {
  text-align: center;
  padding-bottom: 60px;
}
#onecoin_hw_02 .start .start_txt{
  text-align: center;
  font-size: 16px;
  margin:0 0 40px;
  line-height: 1.6;
}
#onecoin_hw_02 .entry_area {
  display: block;
}
#onecoin_hw_02 .entry_area p{
  font-weight: bold;
  font-size: 18px;
  margin: 0 !important;
}
.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_02 .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_02 .bg_purple{
  background: url("/school_article_img/kids_article/event/hw/img/bg_purple.jpg") no-repeat bottom;
  background-size: cover;
}

/*----------------------------------------------------------
quiz
----------------------------------------------------------*/
#onecoin_hw_02 .quiz {
  background: url("/school_article_img/kids_article/event/hw/img/quiz_bg.png") repeat-x top 30px center;
  width: 100%;
  padding: 115px 0;
  margin: -60px 0 0;
}
#onecoin_hw_02 .quiz h2 {
  text-align: center;
  position: relative;
  z-index: 9;
}
#onecoin_hw_02 .quiz .quiz_inner {
  background: url("/school_article_img/kids_article/event/hw/img/quiz_illust_bg.png") no-repeat;
  width: 973px;
  height: 591px;
  margin: -60px auto 0;
  position: relative;
  overflow: hidden;
}
/*----------------------------------------------------------
クイズ画像
----------------------------------------------------------*/
/* 初期状態：透明で20px下に配置 */
#onecoin_hw_02 .quiz .quiz_inner .q_werewolf, 
#onecoin_hw_02 .quiz .quiz_inner .q_pumpkin, 
#onecoin_hw_02 .quiz .quiz_inner .q_ghost, 
#onecoin_hw_02 .quiz .quiz_inner .q_witch {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* クラスが付いたとき：表示して元の位置へ */
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_werewolf, 
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_pumpkin, 
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_ghost, 
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_witch {
  opacity: 1;
  transform: translateY(0);
}

/* 個別位置 */
#onecoin_hw_02 .quiz .quiz_inner .q_werewolf {
  left: 4%;
  bottom: 9%;
}

#onecoin_hw_02 .quiz .quiz_inner .q_pumpkin {
  left: 33%;
  bottom: 45%;
  transition-delay: 0.15s;
}

#onecoin_hw_02 .quiz .quiz_inner .q_ghost {
  right: 16%;
  top: 58%;
  transition-delay: 0.3s;
}

#onecoin_hw_02 .quiz .quiz_inner .q_witch {
  right: 10%;
  top: 10%;
  transition-delay: 0.45s;
}


/*----------------------------------------------------------
表示された状態
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_werewolf,
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_pumpkin,
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_ghost,
#onecoin_hw_02 .quiz .quiz_inner.is-visible .q_witch {
  opacity: 1;
  transform: translateY(0);
}


/*----------------------------------------------------------
クリックできるクイズ画像
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner .q_werewolf label,
#onecoin_hw_02 .quiz .quiz_inner .q_pumpkin label,
#onecoin_hw_02 .quiz .quiz_inner .q_ghost label,
#onecoin_hw_02 .quiz .quiz_inner .q_witch label {
  display: block;
  cursor: pointer;
}


/*----------------------------------------------------------
マウスオーバーで少し拡大
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner .q_werewolf img,
#onecoin_hw_02 .quiz .quiz_inner .q_pumpkin img,
#onecoin_hw_02 .quiz .quiz_inner .q_ghost img,
#onecoin_hw_02 .quiz .quiz_inner .q_witch img {
  transition: transform 0.3s ease;
}

#onecoin_hw_02 .quiz .quiz_inner .q_werewolf:hover img,
#onecoin_hw_02 .quiz .quiz_inner .q_pumpkin:hover img,
#onecoin_hw_02 .quiz .quiz_inner .q_ghost:hover img,
#onecoin_hw_02 .quiz .quiz_inner .q_witch:hover img {
  transform: scale(1.05);
}


/*----------------------------------------------------------
チェックボックス
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-check {
  display: none;
}

/*----------------------------------------------------------
クイズモーダル
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup {
  display: flex;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  z-index: 999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/*----------------------------------------------------------
チェックされたモーダルを表示
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner #quiz-werewolf-02:checked ~ .quiz-popup-werewolf,
#onecoin_hw_02 .quiz .quiz_inner #quiz-pumpkin-02:checked ~ .quiz-popup-pumpkin,
#onecoin_hw_02 .quiz .quiz_inner #quiz-ghost-02:checked ~ .quiz-popup-ghost,
#onecoin_hw_02 .quiz .quiz_inner #quiz-witch-02:checked ~ .quiz-popup-witch {
  visibility: visible;
  opacity: 1;
}


/*----------------------------------------------------------
モーダル背景
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /*background: rgba(0, 0, 0, 0.3);*/
  cursor: pointer;
}


/*----------------------------------------------------------
回答画像
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-content {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.4s ease;
  cursor: pointer;
}

#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* モーダルが開いたとき画像も少し拡大 */
#onecoin_hw_02 .quiz .quiz_inner #quiz-werewolf-02:checked ~ .quiz-popup-werewolf .quiz-popup-content,
#onecoin_hw_02 .quiz .quiz_inner #quiz-pumpkin-02:checked ~ .quiz-popup-pumpkin .quiz-popup-content,
#onecoin_hw_02 .quiz .quiz_inner #quiz-ghost-02:checked ~ .quiz-popup-ghost .quiz-popup-content,
#onecoin_hw_02 .quiz .quiz_inner #quiz-witch-02:checked ~ .quiz-popup-witch .quiz-popup-content {
  transform: scale(1);
}


/*----------------------------------------------------------
透明な閉じるボタン
----------------------------------------------------------*/
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-close {
  position: absolute;
  z-index: 3;
  display: block;
  width: 100px;
  height: 40px;
  top: 10px;
  right: 10px;
  font-size: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}


/*----------------------------------------------------------
モーダル個別位置調整
----------------------------------------------------------*/

/* 狼男 */
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-werewolf .quiz-popup-content {
  transform: translate(0, 0);
}
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-werewolf .quiz-popup-close {
  top: 76%;
  right: 43%;
}
/* かぼちゃ */
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-pumpkin .quiz-popup-content {
  transform: translate(0, 0);
}
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-pumpkin .quiz-popup-close{
  top: 34%;
  right: 75%;
}

/* ゴースト */
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-ghost .quiz-popup-content {
  transform: translate(0, 0);
}
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-ghost .quiz-popup-close{
  top: 42%;
  right: 54%;
}
/* 魔女 */
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-witch .quiz-popup-content {
  transform: translate(0, 0);
}
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-witch .quiz-popup-close {
  top: 36%;
  right: 49%;
}

/*----------------------------------------------------------
 event
----------------------------------------------------------*/
#onecoin_hw_02 .event{
  background: url("/school_article_img/kids_article/event/hw/img/event_bg.png") repeat-x top 30px center;
  width: 100%;
  padding: 110px 0 0;
  margin: -60px 0 0;
}

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

#onecoin_hw_02 .event .ghost{
  position: absolute;
  top: 350px;
  right: 200px;
}

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

}

#onecoin_hw_02 .pagetop img {
  width: auto;
}

/*----------------------------------------------------------
 スクールを探す
----------------------------------------------------------*/
#onecoin_hw_02 #school_index {
  padding: 60px 0 0;
}
#onecoin_hw_02 #school_index h2 {
  color: #920883;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 40px;
}
#onecoin_hw_02 #school_index h3 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color:#333;
}
#onecoin_hw_02 footer > p{
  color: #969696;
  font-size: 12px;
  text-align: center;
  padding: 20px 0;
}
#onecoin_hw_02 footer .logo{
  background: #000;
  text-align: center;
  padding: 30px 0;
}
#onecoin_hw_02 footer .logo p{
  font-size: 24px;
  font-weight: bold;
  color: #FCC800;
  margin-top: 10px;
}



  
/*----------------------------------------------------------
nittei
----------------------------------------------------------*/
#onecoin_hw_02 table.onecoin_hw2026 {
  margin: 40px auto 20px auto;
  padding: 30px 0 0 0;
  width: 100%;
  border-top: 5px dotted #920883;
  border-bottom: 5px dotted #920883;
  background: none;
}
#onecoin_hw_02 table.onecoin_hw2026 .tdL div{
	text-align: center;
	font-size: 20px;
	color: #FFF;
	font-weight: bold;
	background: #920883;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	width: 180px;
	padding: 55px 0;
	vertical-align: middle;
}

#onecoin_hw_02 table.onecoin_hw2026 .tdL{
	padding: 30px;
	width: 220px;
}

#onecoin_hw_02 table.onecoin_hw2026 .tdR{
	vertical-align:middle;
}


#onecoin_hw_02 table.onecoin_hw2026 .tdR p strong{
	color: #920883;
	font-size: 22px;
	line-height: 20pt;
}


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

#onecoin_hw_02 img {
    max-width: 100%;
  width: 100%;
}
#onecoin_hw_02{
	width:100%;
	margin:0 auto;
    line-height: 1.4;
}
  
#onecoin_hw_02 main h1 {
  padding-top: 50px;
}
#onecoin_hw_02 main h1 img {
  max-height:100%;
  height: auto;
  width: 100%;
}
/*main*/
#onecoin_hw_02 main .skill img {
  width: 90%;
  margin-top: -65px;
}

#onecoin_hw_02 main .trial {
  top: 10px;
  text-align: center;
}
#onecoin_hw_02 .main_ml_sp{
  background: #8C8841;
  padding-top: 40%;
}
  
    
#onecoin_hw_02 #contents .ml_area {
  margin: 0 auto 40px;
}
#onecoin_hw_02 #contents h1 {
    padding: 0;
    background: none;
}
#onecoin_hw_02 .contents h1 img {
  margin-left: 0;
}

#onecoin_hw_02 .btm_ml{
  width: 100%;
  z-index: 10;
  opacity: 0;
  position: fixed;
}
#onecoin_hw_02 .btm_ml img{
  width: 50%;
}
#onecoin_hw_02 .b_btn{
    position: fixed;
    bottom:0;
    width: 100%;
  z-index: 99999;
  }
#onecoin_hw_02 .pagetop {
  bottom: 13%;
}
#onecoin_hw_02 .pagetop img{
  width: auto;
}

#onecoin_hw_02 .fixed{
 position: fixed;
 bottom: 0;
 opacity: 1 !important;
}
/*----------------------------------------------------------
fv
----------------------------------------------------------*/
#onecoin_hw_02 .fv {
  background: #000;
  padding: 0 0 40px;
}

/*----------------------------------------------------------
start
----------------------------------------------------------*/
#onecoin_hw_02 .start{
    padding: 70px 0;
    background: url("/school_article_img/kids_article/event/hw/img/start_bg_sp.png") repeat-x top center #000;
    background-size: auto;
    background-size: 100%;
  }
 #onecoin_hw_02 .start h2{
  font-size:24px;
   padding: 0;
}
#onecoin_hw_02 .start h2 span{
  font-size: 32px;
}
#onecoin_hw_02 .start h2 span:nth-of-type(3){
  font-size:26px;
}
#onecoin_hw_02 .start h2 img {
  margin: 0;
}
#onecoin_hw_02 .start .start_tit {
  color: #920883;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px;
  padding: 0 20px;
}

#onecoin_hw_02 .start .start_img {
  text-align: center;
  padding: 0 20px;
}

#onecoin_hw_02 .entry_area{
    padding: 30px 20px 40px;
    display: block;
  }

#onecoin_hw_02 .start .start_txt{
    padding: 0 20px;
  margin: 0 0 20px;
  }
#onecoin_hw_02 .start a {
    padding: 0;
    display: block;
  }
/*----------------------------------------------------------
quiz
----------------------------------------------------------*/
#onecoin_hw_02 .quiz {
  background: url("/school_article_img/kids_article/event/hw/img/quiz_bg_sp.png") repeat-x top center;
  width: 100%;
  margin: -10% 0 0;
  background-size: 100%;
  padding: 60px 10px 100px;
}
#onecoin_hw_02 .quiz h2 {
  padding: 0 20px;
}
#onecoin_hw_02 .quiz .quiz_inner{
    background: url("/school_article_img/kids_article/event/hw/img/quiz_illust_bg_sp.png") no-repeat;
    width: 100%;
    margin: -55% auto 0;
    background-size: 100%;
    height: 100%;
    padding-top: 370%;
  }
#onecoin_hw_02 .quiz > p {
  margin-bottom: 40px;
  font-size: 16px;
}

#onecoin_hw_02 .quiz {
  padding: 60px 20px 100px;
}

#onecoin_hw_02 .quiz .quiz_inner .q_witch{
  width: 80%;
    top: 27%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) !important;
  }
#onecoin_hw_02 .quiz .quiz_inner .q_ghost {
  width: 80%;
  top: 48%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) !important;
}
#onecoin_hw_02 .quiz .quiz_inner .q_pumpkin {
  width: 80%;
  bottom: 25%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) !important;
}
#onecoin_hw_02 .quiz .quiz_inner .q_werewolf {
  width: 80%;
  bottom: -3%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) !important;
}
  /*----------------------------------------------------------
  スマホ：モーダルを画面全体にする
  ----------------------------------------------------------*/
  #onecoin_hw_02 .quiz .quiz_inner .quiz-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
  }

  /*----------------------------------------------------------
  スマホ：黒背景も画面全体
  ----------------------------------------------------------*/
  #onecoin_hw_02 .quiz .quiz_inner .quiz-popup-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
  }


  /*----------------------------------------------------------
  スマホ：回答画像
  ----------------------------------------------------------*/
  #onecoin_hw_02 .quiz .quiz_inner .quiz-popup-content {
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
  }

  #onecoin_hw_02 .quiz .quiz_inner .quiz-popup-content img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
  }

  /*----------------------------------------------------------
  スマホ：閉じるボタン
  ----------------------------------------------------------*/
  #onecoin_hw_02 .quiz .quiz_inner .quiz-popup-close {
    width: 150px;
    height: 50px;
    top: 10px;
    right: 10px;
  }

#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-witch .quiz-popup-close,
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-ghost .quiz-popup-close,
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-werewolf .quiz-popup-close{
  top: 93%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
#onecoin_hw_02 .quiz .quiz_inner .quiz-popup-pumpkin .quiz-popup-close{
  top: 89%;
 left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

/*----------------------------------------------------------
nittei
----------------------------------------------------------*/
#onecoin_hw_02 table.onecoin_hw2026 {
  margin: 40px auto 20px auto;
  padding: 30px 0 0 0;
  width: 100%;
  background: none;
}
#onecoin_hw_02 table.onecoin_hw2026 .tdL div{
  font-size: 20px;
  width: 100%;
  padding: 15px 0;
}

#onecoin_hw_02 table.onecoin_hw2026 .tdL{
  display: block;
	padding: 30px;
	width: 100%;
}

#onecoin_hw_02 table.onecoin_hw2026 .tdR{
  display: block;
  padding: 0 30px 30px;
}
#onecoin_hw_02 table.onecoin_hw2026 .tdR p strong {
  font-size: 16px;
}
}