/* CSS Document */
@media screen and (max-width: 768px) {

/*-----------------------------------------------------
レスポンシブ画像
------------------------------------------------------*/

  img {
    max-width: 100%;
    height: auto;
  }

	.right{
		width: 90px !important;
		margin: 10px 5px;
	}	
/*-----------------------------------------------------
レスポンシブ画像
------------------------------------------------------*/

  html body #wrapper .headbg {
    width: 100%;
    height: 0;
    padding-top: 90%;
    background: url("../images/spbg.png") no-repeat center top;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
  }
  html body #wrapper #mask,
  html body #wrapper #mask_in,
  html body #wrapper #main,
  html body #wrapper #footer .content,
  html body #wrapper form.bottom,
  html body #wrapper form.bottom div .text,
  html body #wrapper iframe,
  html body #wrapper #tokuten {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
 html body #wrapper .footerbg {
    width: 100%;
    height: 0;
    padding-top: 23%;
    background: url("../images/footerbgsp.png") no-repeat center top;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
  }
/*-----------------------------------------------------
お問い合わせ
------------------------------------------------------*/

  html body #wrapper .button {
    width: 100% !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  html body #wrapper .input {
    width: 100% !important;
    font-size: 20px !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	font-size:18px !important;
	border-radius:8px;
	text-align:center; 
  }
	
  html body #wrapper form.bottom {
    position: relative;
    padding: 0 0 0 0;
    background: none;
	  box-shadow: none;

  }

  html body #wrapper form.bottom .input_wrap {
    width: 100% !important;
    padding:  0;
	border-top: 3px solid #e4ceab;
    border-left: 3px solid #e4ceab;
    border-right: 3px solid #e4ceab;
    border-bottom: 3px solid #e4ceab;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url("../images/sp_form_cnt.jpg") repeat center top;

	  
  }
  html body #wrapper form.bottom .input_wrap #btarea {
	margin: 4px auto;
    width: 90%;
    text-align: center;
  }
  html body #wrapper form.bottom .input_wrap:before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 14%;
    background: url("../images/sp_form_txt01.png") no-repeat left center;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
  }

  html body #wrapper form.bottom input[type="text"] {
    height: 50px !important;
	      margin: 8px auto 0;
  }
	
html body #wrapper .formtext{
	margin: 0 auto;
	text-align: left;
    width: 90%;
    font-size: 70%;
	padding-bottom: 8px;
	}

/*-----------------------------------------------------
youtube
------------------------------------------------------*/

  html body #wrapper .youtube {
    position: relative;
    width: 92%;
    height: 0;
    margin: 10px auto ;
    padding-top: 40%;
  }
  html body #wrapper .youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }

/*-----------------------------------------------------
main
------------------------------------------------------*/

   html body #wrapper .main01 {
    width: 100%;
    padding: 0 ;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	box-shadow: none !important;
  } 

  html body #wrapper .main01 .sp_wrap {
    width: 93.75%;
    margin: auto;
  }
	html body #wrapper #tokutenbg{
	    padding: 5px 0;
	}
  html body #wrapper .main01 #tokuten {
    width: 93.75%;
    margin: 8px auto;
  }
  html body #wrapper .main01 #tokuten .text {
    padding: 15px 3.125%;
	margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }
	
	html body #wrapper #shouhinbg{
	    padding: 5px 0;
	}
  html body #wrapper .main01 #shouhin {
    width: 93.75%;
    margin: 8px auto;
  }
  html body #wrapper .main01 #shouhin .text {
    padding: 15px 3.125%;
	margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }
  html body #wrapper #main .img2 {
    margin:  0;
  }
  html body #wrapper #main .sub {
    margin:  0;
  }	
	
  html body #wrapper #main p {
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.4;
    padding: 0 3.125%;
  }
  html body #wrapper #main .big {
    font-size: 16px;
  }
  html body #wrapper #main .spRight {
    width: 40%;
  }
	
html body #wrapper #main #jissen .voice{
	width: 46%;
	display: inline-block;
    margin: 1.4%;
	vertical-align: top;
}

html body #wrapper #main .voice-img{
    margin: 0 auto;
	box-shadow:0px 0px 6px 3px #eeeeee;
	width: auto;
}
	
html body #wrapper .voice-text {
    background: url(../images/voice_bgsp.jpg) no-repeat #f6f5f3;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-bottom: 20px;
}

html body #wrapper .voice-textimg{
	padding: 0 2%;
}
	
html body #wrapper .jissen-bg{
	background: #fefcf2;
}

html body #wrapper #main #jissen h1{
	margin: 10px 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1em;
    color: #2189c4;
}

html body #wrapper #main #jissen h2{
	margin-bottom: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1em;
    color: #dc297d;
}

html body #wrapper #main #jissen .text{
    margin: 0;
    text-align: justify;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5em;
    color: #555555;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
  html body #wrapper #main .recommend {
    margin: 20px 1%;
	border: solid 3px #000;
	  font-size: 14px;
  }
  html body #wrapper #main .recommend .recommendtxt {
    padding: 15px  3.125%;
  }
  html body #wrapper #main .recommend .recommendtxt p {
 	padding: 0 !important;
	margin: 0 !important;
  }

.messagebg {
	background-color: #f3f3f3;
	padding: 8px 0;
}
.message {
  width:auto;
  margin:8px ;
  box-shadow:rgba(156, 156, 156, 0.65098) 0px 0px 3px 1px;
-webkit-box-shadow:rgba(156, 156, 156, 0.65098) 0px 0px 3px 1px;
-moz-box-shadow:rgba(156, 156, 156, 0.65098) 0px 0px 3px 1px;
border:solid 3px #033157;
background: url("../images/message_bg02.png") #fafafa;
background-size: contain;
background-repeat:no-repeat;
background-position:center bottom;

}	
	
.message p {

    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding: 0 3.125% 40px !important;
}	

.teacher .teachers li.t-box1 {
    background: url(../images/teacher-sp1bg.png) ;
	background-size: cover;
}

.teacher .teachers li.t-box2 {
    background: url(../images/teacher-sp2bg.png) ;
	background-size: cover;
}

.teacher .teachers li.t-box3 {
    background: url(../images/teacher-sp3bg.png) ;
	background-size: cover;
}

.teacher .teachers li.t-box4 {
    background: url(../images/teacher-sp4bg.png) ;
	background-size: cover;
}
	
.teacher .teachers li {
    height: auto;
}
.teacher .teachers li .flex {
    width: 100%;
    height: auto;
    margin-top: 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.teacher .teachers li .flex .photo {
    width: 100%;
    padding: 20px 0 0;
    position: relative;
    text-align: center;
	height: auto;
}
.teacher .teachers li .flex .photo img {
    width: 206px;
    position: static;
}

.teacher .teachers li .flex .texts {
    width: 100%;
    max-width: 530px;
    padding: 0 15px 40px;
    box-sizing: border-box;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
	
.teacher .teachers li .flex .texts .name {
    height: 18px;
    font-size: 18px;
    text-align: center;
}
	
.teacher .teachers li .flex .texts .kana {
    height: 14px;
    text-align: center;
}
.teacher .teachers li .flex .texts .kana2 {
    height: 14px;
    text-align: center;
}


.teacher .teachers li .flex .texts .detail {
    margin: 0;
    line-height: 1.7em;
}
	
.qa-box {
	font-size:14px;
	padding:20px;
	width:auto;
	margin:0 auto;
}

.qa-box ul {
	padding:15px 0 14px 50px;
	font-weight:bold;
	background-image: url("../images/q.png");
	background-repeat: no-repeat;
	background-position: left top;
	list-style:none;
	list-style-image:none;
}
.qa-box li {
	padding:13px 0 20px 50px;
	background-image: url("../images/a.png");
	background-repeat: no-repeat;
	background-position: left top;
	margin:0 0;	
	list-style:none;
	list-style-image:none;
	line-height:20px;
}	

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

  #footer{
    margin-bottom: -20px !important;
    padding-bottom: 20px;
  }

img.a-option72 {
    left: 3%;
}

#count{
	text-align: center;
	width: auto;
	padding: 4px;
	margin: 0 auto;
	display: grid;
}

#count .nin{
	margin: 0 4px;
}

#count .count-text{
	color: #fff;
	font-family: "ＭＳ Ｐ明朝", MS PMincho,"ヒラギノ明朝 Pro W3", Hiragino Mincho Pro, serif;
	font-size: 12px;
}

#count .count-text-end{
	color: #fff;
	font-family: "ＭＳ Ｐ明朝", MS PMincho,"ヒラギノ明朝 Pro W3", Hiragino Mincho Pro, serif;
	font-size: 12px;
	margin-right: 4px;
}

#count .count-text-end br{
  display:block;
}

#count .display {
  display: inline-block;
  box-sizing: border-box;
  position: relative;
  width: 15px;
  height: 25px;
  border: solid 1px #111;
  background-color: #111;
  overflow: hidden;
  margin-bottom: -1px;
}
#count .display::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -moz-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}
#count .display::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 3px;
  border-top: solid 7px #111;
  border-bottom: solid 7px #111;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#count .d0::before {
  background-color: #333;
  box-shadow: -7px -7px #ff0,
                0px -7px #ff0,
              -7px   0px #ff0,
                0px  7px #ff0,
               7px   0px #ff0,
               7px  7px #ff0;
}
#count .d1::before {
  background-color: #333;
  box-shadow: -7px -7px #333,
                0px -7px #ff0,
              -7px   0px #333,
                0px  7px #333,
               7px   0px #ff0,
               7px  7px #333;
}
#count .d2::before {
  background-color: #ff0;
  box-shadow: -7px -7px #ff0,
                0px -7px #ff0,
              -7px   0px #333,
                0px  7px #ff0,
               7px   0px #333,
               7px  7px #ff0;
}
#count .d3::before {
  background-color: #ff0;
  box-shadow: -7px -7px #ff0,
                0px -7px #ff0,
              -7px   0px #333,
                0px  7px #333,
               7px   0px #ff0,
               7px  7px #ff0;
}
#count .d4::before {
  background-color: #ff0;
  box-shadow: -7px -7px #333,
                0px -7px #ff0,
              -7px   0px #ff0,
                0px  7px #333,
               7px   0px #ff0,
               7px  7px #333;
}
#count .d5::before {
  background-color: #ff0;
  box-shadow: -7px -7px #ff0,
                0px -7px #333,
              -7px   0px #ff0,
                0px  7px #333,
               7px   0px #ff0,
               7px  7px #ff0;
}
#count .d6::before {
  background-color: #ff0;
  box-shadow: -7px -7px #ff0,
                0px -7px #333,
              -7px   0px #ff0,
                0px  7px #ff0,
               7px   0px #ff0,
               7px  7px #ff0;
}
#count .d7::before {
  background-color: #333;
  box-shadow: -7px -7px #ff0,
                0px -7px #ff0,
              -7px   0px #ff0,
                0px  7px #333,
               7px   0px #ff0,
               7px  7px #333;
}
#count .d8::before {
  background-color: #ff0;
  box-shadow: -7px -7px #ff0,
                0px -7px #ff0,
              -7px   0px #ff0,
                0px  7px #ff0,
               7px   0px #ff0,
               7px  7px #ff0;
}
#count .d9::before {
  background-color: #ff0;
  box-shadow: -7px -7px #ff0,
                0px -7px #ff0,
              -7px   0px #ff0,
                0px  7px #333,
               7px   0px #ff0,
               7px  7px #ff0;
}

#content_form {
    padding: 16px !important;
	box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);
}
.regist_form {
    margin: 0 3%;
    display: table;
}
	
#content_form .required {
    width: 80px;
	font-size: 10px;
}
.form_input_table, #content1 table.form_input_table {
    width: 100% !important;
}
#content_form h2 {
    text-align: center;
    padding: 8px 0;
    font-size: 16px;
    font-weight: bold;
}
.form_input_radio_label, #content1 .form_input_radio_label {
    font-size: 10px;
}
.form_input_table th, td {

    padding: 16px 0;

}
input[type="submit"] {
    width: 70%;
	margin: 20px auto 0;
	height: 50px;
    line-height: 50px;
	font-size: 14px;
	opacity: 1;
	-webkit-appearance: none;
	border: none;
}
	
.form_input_label{
	width: 200px !important;
}

div.right_block {
    width: 90% !important;
    text-align: left !important;
}
	
.form_input_label{
	margin: 4px 0;
	font-size: 80%;
	}
	
.button01{
     display:block;
	margin: 0 auto;
     width: 70%;
     height:50px;
     line-height: 50px;
     color: #FFF;
     text-decoration: none;
     text-align: center;
     background-color: #2fc335; /*ボタン色*/
     border-radius: 30px; /*角丸*/
     -webkit-transition: all 0.5s;
     transition: all 0.5s;
	font-size: 100%;
	-webkit-appearance: none;
}

.button01:hover{
     background-color: #43e749; /*ボタン色*/
}
}

@media screen and (max-width: 414px) {
#count .count-text-end br{
  display:block;
}
}
