@charset "UTF-8";
body {
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.8;
	box-sizing: border-box;
	background: #7bd1f6 url(../images/kids_bg.png) ;
	margin:0;
	overflow-x: hidden;
}

@media screen and (max-width: 768px){
	body {
	}
}

body#himitu {
	background: #ffdf96 url(../images/kids_bg.png) ;
}

body#tukaikata {
	background: #ffc1e4 url(../images/kids_bg.png) ;
}

body#komatta {
	background: #d0f1ff url(../images/kids_bg.png) ;
}
body#quiz {
	background: #d0fbd7 url(../images/kids_bg.png) ;
}



img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

a:hover{
	opacity:.8;
}

.fadein {
  opacity : 0;
  transform: translateY(20px);
  transition: all 1s;
}

a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

.top_bg{
	width:100%;
	background:bottom url(../images/top_bg_bottom.png);
	background-size:cover;
	overflow:hidden;
}

@media print{
.top_bg{
	width:100%;
	background:#fff;
}	
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 0 0 0;
}
#tukaikata header, #komatta header, #himitu header, #quiz header{
	background: #7bd1f6 url(../images/kids_bg.png) ;
}

.block_himitu{
	background: #ffe251 ;
 background-size: contain;
 background-repeat: no-repeat;
 width:100%;
 padding-top:1vw;
 padding-bottom:2vw;
 border-radius:2em;
 margin:2% auto;
 
}


.yattemiyo{
	background: #fff url(../images/yattemiyo_bg.png) ;
	
}


.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
#home nav ul {
	display:table;
    list-style: none;
	margin: 0 auto;
width:80%;
}
#home nav li {
	display:table-cell;
/*	width:25%;*/
	padding-left:0em;
}

#home nav li img{
		max-height:20vw;
}


nav ul {
	display:table;
    list-style: none;
	margin: 0 auto;
width:100%;
padding:1em 0;
}
nav li {
	display:table-cell;
	width:25%;
	padding-left:0em;
}

nav li img{
		max-height:20vw;
}

nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
   /* background-color: #f7f7f7;  */  
}
nav a {
    padding: 0.2rem;
}

.head_img{
    margin-left: 1100px;
    position: absolute;
    width: 10vw;
    text-align: center;
    top: 30px;
	right:20px;
}
.himitu_img{
    position: absolute;
    width: 15vw;
    left: 70vw;
    float: right;
    top: 400px;
}

.tukaikata_img{
    position: absolute;
    width: 15%;
    float: left;
}


.image_block{
	width:100%;
	text-align:center;
	
}
@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
} */
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}

.header li {
	padding-top: 0;
}



/* スマホ時はMENUボタンを表示 
#open,#close  {
   display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}*/
/* スマホ時はメニューを非表示
#navi {
    display: none;
} */
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin:  0 0 0;
}
h1{
margin: .5em 0 -1em 0;
width: 70%;
}
h2 {
	text-align:center;
	color:#fff;
	letter-spacing: .1em;
	font-size:3vw;
  text-shadow: #000 2px 0, #000 -2px 0, #000 0 -2px, #000 0 2px, #000 2px 2px, #000 -2px 2px, #000 2px -2px, #000 -2px -2px, #000 1px 2px, #000 -1px 2px, #000 1px -2px, #000 -1px -2px, #000 2px 1px, #000 -2px 1px, #000 2px -1px, #000 -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
  margin:0;
  padding:.3em 0;
}
.clr{
	clear:both;
}

h2 {
background:#ddd;

}

#komatta h2 {
	text-shadow: #00568f 2px 0, #00568f -2px 0, #00568f 0 -2px, #00568f 0 2px, #00568f 2px 2px, #00568f -2px 2px, #00568f 2px -2px, #00568f -2px -2px, #00568f 1px 2px, #00568f -1px 2px, #00568f 1px -2px, #00568f -1px -2px, #00568f 2px 1px, #00568f -2px 1px, #00568f 2px -1px, #00568f -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
background:#29abe2;
}

#himitu h2 {
	text-shadow: #f6ab00 2px 0, #f6ab00 -2px 0, #f6ab00 0 -2px, #f6ab00 0 2px, #f6ab00 2px 2px, #f6ab00 -2px 2px, #f6ab00 2px -2px, #f6ab00 -2px -2px, #f6ab00 1px 2px, #f6ab00 -1px 2px, #f6ab00 1px -2px, #f6ab00 -1px -2px, #f6ab00 2px 1px, #f6ab00 -2px 1px, #f6ab00 2px -1px, #f6ab00 -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
background:#ffd400;
}

#tukaikata h2 {
	text-shadow: #d4145a 2px 0, #d4145a -2px 0, #d4145a 0 -2px, #d4145a 0 2px, #d4145a 2px 2px, #d4145a -2px 2px, #d4145a 2px -2px, #d4145a -2px -2px, #d4145a 1px 2px, #d4145a -1px 2px, #d4145a 1px -2px, #d4145a -1px -2px, #d4145a 2px 1px, #d4145a -2px 1px, #d4145a 2px -1px, #d4145a -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
background:#ffa4ce;
}
#quiz h2 {
	text-shadow: #3b984a 2px 0, #3b984a -2px 0, #3b984a 0 -2px, #3b984a 0 2px, #3b984a 2px 2px, #3b984a -2px 2px, #3b984a 2px -2px, #3b984a -2px -2px, #3b984a 1px 2px, #3b984a -1px 2px, #3b984a 1px -2px, #3b984a -1px -2px, #3b984a 2px 1px, #3b984a -2px 1px, #3b984a 2px -1px, #3b984a -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
background:#69ef7f;
}

#quiz h3{font-size: 1.5em;
padding-bottom:0em;
margin-bottom:0em;
}

.quizouter{
	
	width:80%;
	margin:0 auto;
}

#tukaikata h4{
	text-align:center;
	color:#fff;
	background:#d4145a;
	border-radius:1em;
	padding:.5em 0;
}


.contents{
	width:75vw;
	margin:0 auto;
	padding:0em;
	border:0px solid #000;
}
@media screen and (max-width: 1200px){
.contents{
	width:90vw;
	margin:0 auto;
	padding:0em;

}	
}

#home .contents{
	width:85vw;
	margin:0 auto;
	padding:0em;
	border:0px solid #000;
	
}

#tukaikata .block_2{
	width:44%;
	float:left;
	margin:0 1% 2em 0;
	padding:0em 1% 2em;
	border:5px solid #d4145a;
	border-radius:2em;
	background:#fff;
	font-size:1.3em;	
}

#tukaikata .block_2r{
	width:44%;
	float:left;
	margin:0 0em 2em 0;
	padding:0em 1em 2em;
	border:5px solid #d4145a;
	border-radius:2em;
	background:#fff;
	font-size:1.3em;	
}

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

#tukaikata .block_2{
	width:90%;
	float:unset;
	
}
#tukaikata .block_2r{
	width:90%;
	float:unset;

}
}

#tukaikata .caption{
	font-size:1.5em;
	font-weight:bold;
	width:75%;
margin-right: 0;
    margin-left: auto;
}

#tukaikata .desc{
min-height: 7em;
}

@media screen and (max-width: 900px){
#tukaikata .desc{
	height:auto;	
}
}

#tukaikata .caution{
	font-size:1.8em;
	font-weight:bold;
	color:#ed1c24;
	padding:.5em;
	text-align:center;
}
#tukaikata .text{
	font-size:1.5em;
}

.himitu_block{
	margin:0 0 2em;
	padding:0em 2em 2em;
	border:5px solid #ffb100;
	border-radius:2em;
	background:#fff;
	font-size:1.5em;
}

#komatta .block{
	margin:0 0 2em;
	padding:1em 4em 2em;
	border:5px solid #00568f;
	border-radius:2em;
	background:#fff;
	font-size:1.5em;
}
#komatta .block img{
max-width:50%;
height:auto;
float: right;
}
@media screen and (max-width: 900px){
#komatta .block{
	margin:0 0 2em;
	padding:1em 2em 2em;
	border:5px solid #00568f;
	border-radius:2em;
	background:#fff;
	font-size:1.5em;
}
#komatta .block h3{
display:block;
}


}
#komatta .block h3{
color: #00568f;
}

#komatta .menu{
	text-align:center;
	margin:1em 0;
}

#komatta .menu div.menu_btn{
	display:inline-block;
min-width: 45%;
}

#komatta .menu div.menu_btn a{
	background:#00568f;
	color:#fff;
	padding:.5em 2em;
	line-height:3.5em;
	height:3.5em;
	font-size:1.5em;
	font-weight:bold;
	border-radius:1em;
	border:5px solid #29abe2;
		margin:.5em;
}

#komatta .menu div.menu_btn a:hover{
	background:#29abe2;

}


#himitu .himitu_menu ul{
	    list-style: none;
}
#himitu .himitu_menu ul li span{
	    font-size:2em;
		line-height:3em;
		vertical-align:middle;
		font-weight:bold;
}

#himitu .himitu_menu ul li a{
	   color:#000;
}

#himitu .himitu_menu ul li a:hover{
	   color:#666;
}

#himitu .himitu_menu ul li img{
	width:12%;
	margin-right:10px;
	vertical-align: middle;
}


@media screen and (max-width: 900px){
.himitu_img {
    position: unset;
    width: 15vw;
    float: unset;
    margin: 0 auto;
}	
#himitu .himitu_menu ul li img{
		width:20%;
	    display:block;
}
#himitu .himitu_menu ul li span{
	    font-size:1.5em;
}
#komatta .menu div.menu_btn a{
	background:#00568f;
	color:#fff;
	padding:.5em 2em;
	line-height:1.5em;
	height:auto;
	font-size:1.5em;
	font-weight:bold;
	border-radius:1em;
	border:5px solid #29abe2;
		margin:.2em;
}

}



#himitu h3 span{
	    font-size:1.2em;
		line-height:3em;
		vertical-align:middle;
		font-weight:bold;
}
#himitu h3 img{
	width:20%;
	margin-right:10px;
	vertical-align: middle;
}

#himitu .himitu_block .desc{

}
#himitu .himitu_block .desc img{
margin:1em;
}

#home .main_menu .block_l{
	 float:left;width:67%;margin-right:3%;
}
#home .main_menu .block_r{
	 float:right;width:30%;
}


@media screen and (max-width: 900px){
h2 {
font-size: 2em;
}	
#himitu h3 span{
	    font-size:1.2em;
		line-height:2em;
		vertical-align:middle;
		font-weight:bold;
}
#home .main_menu .block_l{
	 float:unset;width:100%;margin-right:0%;
}
#home ul.himitu_menu li{
	width:95%;
	float:unset;
}
#home ul.himitu_menu li a{
	font-size:1.5em;
}
#home ul.himitu_menu li a img{
    width:20%!important;
}

#home .main_menu .block_r{
	 float:unset;width:100%;margin-right:0%;
}

#home .main_menu .block_r .komatta a img{
	 width:60%!important;margin:0 1em;text-align:center;
}
#home .main_menu .block_r .quiz a img{
	 width:60%!important;
}
}


section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    padding: 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}


nav {
}
#home nav {
  background: linear-gradient(180deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%);
  margin: -4vw 0;

}

ul.komaata_menu{
margin:0;
padding:0em;
list-style:none;
}
#home #navi{
  		height:20vw;
}

ul.komaata_menu li{
margin:1em;
padding:0;
}

ul.komaata_menu li a{
color:#000;
font-weight:bold;
background:#fff;
display:block;
border-radius:1em;
line-height:1.5em;
padding:1em;
font-size:1.3em;
border:3px solid #0071bc;
}

ul.himitu_menu{
margin:0;
padding:1%;
list-style:none;
}

ul.himitu_menu li{
float:left;
width:45%;
margin:2%;
}

ul.himitu_menu li a{
border-radius:1em;
border:3px solid #000;
font-size:1.5vw;
padding:1em;
color:#000;
font-weight:bold;
background:#fff;
}

.komatta_toptitle{
font-weight:bold;
font-size:1.5em;
padding-top:1em;
}

.fluffy {

  animation: fluffy1 5s ease infinite;
}
@keyframes fluffy1 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-15px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-15px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}

.fluffy_a {

  animation: fluffy2 6s ease infinite;
}
@keyframes fluffy2 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-15px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-15px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}

.keyframe3{
    animation-name: anim_s;
    transform: rotate(15deg);
    animation-duration: 5s;
animation-iteration-count: infinite;
}

@keyframes anim_s {
    50% {
        transform: rotate(-15deg);
    }
    100% {
        transform: rotate(15deg);
    }
}

.fade{

  animation: fadeIn 1s ease 0s 1 normal;

}

@keyframes fadeIn { /*animetion-nameで設定した値を書く*/

  0% {opacity: 0} /*アニメーション開始時は不透明度0%*/

  100% {opacity: 1} /*アニメーション終了時は不透明度100%*/

}


span.question{
font-size: 1.5em;
    margin-right: .2em;
    color: #218a32;
	font-weight:normal;
}

.ECM_RadioInput {
  padding: 12px 8px;
  display: inline-block;
  align-items: center;
  cursor: pointer;
}
.ECM_RadioInput:hover {
  background: rgba(0,0,0,0.05);
}
.ECM_RadioInput-Input {
  opacity: 0;
  width: 0;
  margin: 0 2em;
}
.ECM_RadioInput-Input:focus + .ECM_RadioInput-DummyInput {
  border: solid 2px #333333;
  background: #EEEEEE;
}
.ECM_RadioInput-Input:checked + .ECM_RadioInput-DummyInput {
  border: solid 2px #333333;
}
.ECM_RadioInput-Input:checked + .ECM_RadioInput-DummyInput::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333333;
}
.ECM_RadioInput-DummyInput {
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: solid 2px #888;
}
.ECM_RadioInput-LabelText {
  margin-left: 1em;
  display: inline-block;
  font-size: 2em;
  font-weight: bold;
  vertical-align: bottom;
}
.quizouter{
margin-bottom:2em;
}
.radioarea{
text-align:center;
}
.catchcopy{font-size:2em;text-align:center;display:inline-block;}


/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="reset"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
   border-radius:.5em;
  background:#218a32;
  color:#fff;
  padding:1em 3em;
  font-size:1.5em;
  font-weight:bold;

}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}


.catchcopy {
  position: relative;
  padding: 1.5rem 2rem;
  border: 3px solid #218a32;
  border-radius: 10px;
  background: #fff;
  font-weight:bold;
  margin-top:1em;
  text-align:right;
}

.catchcopy:before {
  position: absolute;
  bottom: -14px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #218a32 transparent transparent transparent;
}

.catchcopy :after {
  position: absolute;
  bottom: -10px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #218a32 transparent transparent transparent;
}
.kaisetu {
  position: relative;
  padding: 1rem 2rem;
  text-align: center;
  border: 3px solid #000;
  border-radius: 0 10px 10px 10px;
}

.kaisetu:before {
  font-size: 15px;
  font-size: 1.5rem;
  position: absolute;
  top: -24px;
  left: -3px;
  height: 24px;
  padding: 0 1em;
  content: 'かいせつ';
  color: #fff;
  border-radius: 10px 10px 0 0;
  background: #000;
}
.quizouter_wrap{
background:#fff;
width:80%;
margin:0 auto 1em;
padding:2em 0;
}

.trydata {
text-align: right;
    font-size: 1rem;
    font-weight: bold;
}


.quizresultttl{
    text-align: center;
    font-size: 1.5em;
    margin: 1em;
    font-weight: bold;
}

.quizresult{
    background: #fff;
    padding: 1em;
    font-size: 1rem;
    text-align: center;
    border-radius: 1em;
    border: 3px double #218a32;
    font-weight: bold;
}

.score{
    font-size: 3em;
    background: #000;
    border-radius: .5em;
    display: inline-block;
    color: #fff;
    padding: .3em 1em;
}

.scorecom{
    margin-top: 2em;
    font-size: 1.5em;
}

.quiakaitou , .quizretry{
display:inline-block;
font-size:1rem;
}

.quiakaitou a{
display:block;
margin-right:2em;
    border-radius: .5em;
    background: #218a32;
    padding: 1em 3em;
    margin-top: 1em;
color:#fff;
}

.quizretry a{
display:block;
    border-radius: .5em;
    background: #218a32;
    padding: 1em 3em;
    margin-top: 1em;
color:#fff;
}


.highscore{
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fceabb+0,fccd4d+50,f8b500+51,fbdf93+100;Orange+3D+%235 */
background: #fceabb; /* Old browsers */
background: -moz-linear-gradient(45deg,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  display        : inline-block;
  color          : #ffffff;            /* 文字の色 */
  text-shadow    : 
       5px  5px 3px rgba(255, 0, 0, 0.70),
      -5px  5px 3px rgba(255, 0, 0, 0.70),
       5px -5px 3px rgba(255, 0, 0, 0.70),
      -5px -5px 3px rgba(255, 0, 0, 0.70),
       5px  0px 3px rgba(255, 0, 0, 0.70),
       0px  5px 3px rgba(255, 0, 0, 0.70),
      -5px  0px 3px rgba(255, 0, 0, 0.70),
       0px -5px 3px rgba(255, 0, 0, 0.70);        /* 文字の影 */

}

.middlescore{background: #10ad48;}
.lowmiddlescore{background: #243986;}
.lowscore{background: #ec0303;}
.noscore{color: #218a32; background: #fff; font-size:2rem;}


iframe{
width:100%;
height:100vh;
}